/* The existing NOVA palette; receipt numbers anchor the operator's work queue. */
:root { --canvas:#212121; --base:#0d0d0d; --surface:#2b2b2b; --line:#414141; --text:#ececec; --dim:#b0b0b0; --brass:#bd9138; --warn:#e1b965; --error:#ff9992; --font:"Apple SD Gothic Neo","Noto Sans KR",-apple-system,sans-serif; --mono:ui-monospace,SFMono-Regular,Menlo,monospace; }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
html { background:var(--canvas); color:var(--text); font-family:var(--font); font-size:16px; line-height:1.55; -webkit-text-size-adjust:100%; }
body { margin:0; min-width:280px; }
button,input,select { font:inherit; color:inherit; }
button,a,input,select { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
button:disabled { opacity:.5; cursor:default; }
a { color:inherit; text-underline-offset:3px; }
:focus-visible { outline:2px solid var(--warn); outline-offset:4px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip { position:absolute; z-index:10; left:16px; top:-80px; background:var(--text); color:var(--base); padding:10px; }
.skip:focus { top:10px; }
.bar { display:flex; align-items:center; flex-wrap:wrap; gap:12px; min-height:62px; padding:12px 24px; background:var(--base); border-bottom:1px solid var(--line); }
.brand { font-weight:750; text-decoration:none; letter-spacing:.07em; }
.bar-title { color:var(--dim); font-size:14px; }
.operator-tag { color:var(--warn); border:1px solid var(--brass); border-radius:4px; padding:1px 6px; font-size:11px; white-space:nowrap; }
.bar-actions { display:flex; align-items:center; gap:16px; margin-left:auto; font-size:13px; }
.quiet,.primary { border:1px solid var(--line); border-radius:8px; padding:9px 13px; min-height:42px; background:transparent; }
.quiet:hover:not(:disabled) { background:var(--surface); border-color:var(--dim); }
.primary { background:var(--text); color:var(--base); border-color:var(--text); font-weight:650; }
.primary:hover:not(:disabled) { background:#fff; }
input,select { min-height:44px; min-width:0; border:1px solid var(--line); border-radius:8px; padding:10px 12px; background:var(--base); }
input::placeholder { color:var(--dim); opacity:.9; }
h1,h2,h3,p { margin-top:0; }
h1 { margin-bottom:6px; font-size:28px; line-height:1.25; letter-spacing:-.03em; }
h2 { font-size:17px; line-height:1.35; }
h3 { font-size:14px; margin:0 0 9px; font-weight:650; }
.eyebrow { font-size:12px; color:var(--warn); margin-bottom:8px; }
.muted { color:var(--dim); font-size:13px; }
.gate { max-width:480px; margin:12vh auto 0; padding:0 24px; }
.gate h1 { margin-bottom:16px; }
.gate label { display:block; margin:28px 0 8px; font-size:14px; }
.login-row { display:flex; gap:8px; }
.login-row input { flex:1; width:100%; }
.login-row button { flex-shrink:0; }
.error { color:var(--error); font-size:14px; margin-top:12px; }
.workspace { max-width:1540px; padding:32px 24px 64px; margin:auto; }
.heading { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:28px; }
.refresh-box { display:flex; align-items:center; gap:14px; }
.notice { padding:12px 14px; background:#352e20; border:1px solid var(--brass); border-radius:8px; font-size:14px; margin-bottom:18px; overflow-wrap:anywhere; }
.notice.is-error { background:#382623; border-color:#86534d; color:var(--error); }
.filters { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; margin-bottom:18px; }
.routes { display:flex; gap:4px; padding:4px; border:1px solid var(--line); border-radius:10px; }
.routes button { border:0; border-radius:6px; padding:9px 12px; background:transparent; color:var(--dim); font-size:14px; white-space:nowrap; }
.routes button[aria-pressed="true"] { color:var(--text); background:var(--surface); }
.routes span { display:inline-block; margin-left:6px; font-family:var(--mono); font-size:11px; color:var(--warn); }
.search-row { display:flex; gap:8px; flex:1; max-width:560px; }
.search-row input { flex:1; width:100%; font-size:14px; }
.search-row select { width:145px; flex-shrink:0; font-size:13px; }
.columns { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); gap:24px; align-items:start; }
.queue,.detail { min-width:0; border:1px solid var(--line); border-radius:12px; background:var(--base); overflow:hidden; }
.queue-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:16px 18px; border-bottom:1px solid var(--line); }
.queue-heading h2 { margin:0; }
.table-wrap { overflow:auto; max-height:calc(100vh - 325px); }
table { width:100%; table-layout:fixed; border-collapse:collapse; }
th,td { text-align:left; padding:13px 14px; vertical-align:top; border-bottom:1px solid #303030; }
th { position:sticky; top:0; z-index:1; background:#191919; color:var(--dim); font-size:11px; font-weight:500; }
th:first-child { width:54%; }
th:nth-child(2) { width:23%; }
th:last-child { width:23%; }
td { font-size:13px; overflow-wrap:anywhere; }
tr.is-selected td { background:#302b20; }
tr.is-selected td:first-child { box-shadow:inset 3px 0 0 var(--brass); }
.select-order { display:block; width:100%; padding:0; border:0; background:transparent; text-align:left; line-height:1.5; }
.receipt-number { display:block; color:var(--warn); font-family:var(--mono); font-size:11px; margin-bottom:5px; overflow-wrap:anywhere; }
.request-summary { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; font-size:14px; }
.row-time { display:block; margin-top:7px; color:var(--dim); font-size:11px; }
.contact-name { display:block; font-weight:600; }
.contact-email { display:block; color:var(--dim); margin-top:4px; font-size:11px; }
.badge { display:inline-block; padding:3px 7px; border:1px solid var(--line); border-radius:5px; font-size:11px; line-height:1.5; overflow-wrap:anywhere; }
.badge.warn { border-color:#766038; color:var(--warn); }
.badge.closed { color:var(--dim); }
.badge.demo { margin-top:5px; color:var(--warn); }
.list-foot { color:var(--dim); font-size:11px; margin:0; padding:12px 16px; }
.empty { padding:28px 20px; margin:0; color:var(--dim); font-size:14px; }
.detail { padding:24px; }
.detail-header { padding-bottom:20px; border-bottom:1px solid var(--line); }
.detail-header h2 { font-size:21px; margin:8px 0 12px; overflow-wrap:anywhere; }
.detail-header .receipt-number { font-size:12px; }
.detail-meta { display:flex; flex-wrap:wrap; gap:7px; }
.detail-block { margin-top:24px; }
.prose { white-space:pre-wrap; overflow-wrap:anywhere; margin:0; font-size:14px; line-height:1.75; }
.facts { display:grid; grid-template-columns:92px minmax(0,1fr); gap:8px 14px; margin:12px 0 0; font-size:13px; }
.facts dt { color:var(--dim); }
.facts dd { margin:0; min-width:0; overflow-wrap:anywhere; white-space:pre-wrap; }
.clarification { padding:12px 0; border-bottom:1px solid #303030; }
.clarification:last-child { border-bottom:0; padding-bottom:0; }
.clarification p:first-child { color:var(--dim); font-size:12px; margin-bottom:5px; }
.action-row { display:flex; flex-wrap:wrap; gap:8px; }
.action-row button { flex:1 1 auto; font-size:13px; }
.detail-block .muted { margin:10px 0 0; }
.attention { padding:14px; border:1px solid #766038; border-radius:8px; background:#302b20; }
.attention h3 { color:var(--warn); }
.timeline { list-style:none; padding:0; margin:0; }
.timeline li { position:relative; padding:0 0 17px 17px; border-left:1px solid var(--line); font-size:13px; overflow-wrap:anywhere; }
.timeline li::before { content:""; position:absolute; left:-3px; top:6px; width:5px; height:5px; border-radius:50%; background:var(--brass); }
.timeline time { display:block; color:var(--dim); font-size:11px; margin-bottom:3px; }
.timeline li:last-child { padding-bottom:0; }
@media (max-width:1050px) { .filters { align-items:stretch; } .search-row { max-width:none; } .columns { gap:16px; } th,td { padding:12px 10px; } .detail { padding:20px; } }
@media (max-width:780px) { .workspace { padding:24px 16px 48px; } .columns { grid-template-columns:minmax(0,1fr); } .table-wrap { max-height:350px; } .detail { scroll-margin-top:16px; } .heading { align-items:flex-start; } .refresh-box { flex-direction:column; align-items:flex-end; gap:6px; } .search-row { flex-basis:100%; } .bar { padding:12px 16px; } .bar-actions { gap:10px; } }
@media (max-width:440px) { .bar { gap:8px; } .bar-title { font-size:12px; } .operator-tag { font-size:10px; } .bar-actions { width:100%; justify-content:flex-end; } .routes { width:100%; } .routes button { flex:1; padding:9px 7px; font-size:12px; } .routes span { margin-left:3px; } .search-row { flex-wrap:wrap; } .search-row select { width:100%; } th:nth-child(2),td:nth-child(2) { display:none; } th:first-child { width:70%; } th:last-child { width:30%; } .facts { grid-template-columns:72px minmax(0,1fr); } .login-row { flex-direction:column; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto !important; } }
