/* BLUEFINA EXPORT OS — 디자인 시스템 v2 (2026-11-06)
   원칙: 색은 적게·정확하게, 위계는 크기·굵기·여백으로, 숫자는 등폭(tnum). 장식(금색 막대·그라데이션·이모지·의미 없는 둥근 카드) 없음.
   문서: docs\EXPORT_OS\09_디자인시스템.md — 이 파일의 토큰 이름과 1:1. 옛 판은 eos_v1_백업.css */
@font-face { font-family: 'Pretendard'; font-weight: 400; font-display: swap; src: local('Pretendard Regular'), local('Pretendard-Regular'), url('/fonts/Pretendard-Regular.subset.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 600; font-display: swap; src: local('Pretendard SemiBold'), local('Pretendard-SemiBold'), url('/fonts/Pretendard-SemiBold.subset.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 700; font-display: swap; src: local('Pretendard Bold'), local('Pretendard-Bold'), url('/fonts/Pretendard-Bold.subset.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 800; font-display: swap; src: local('Pretendard ExtraBold'), local('Pretendard-ExtraBold'), url('/fonts/Pretendard-ExtraBold.subset.woff2') format('woff2'); }

:root {
  --brand: #0B2545; --navy-900: #0B1F3A; --navy-800: #102A43; --navy-700: #1E3A5F;
  --accent: #2563EB; --accent-600: #1D4ED8; --accent-50: #EFF4FF;
  --bg: #F6F8FB; --surface: #FFFFFF; --subtle: #F2F5F9; --hover: #F5F7FA;
  --text: #172235; --text-2: #5B6475; --text-3: #7A8394;
  --border: #E5EAF0; --border-2: #CBD3DD;
  --ok: #067647; --ok-bg: #ECFDF3; --ok-line: #ABEFC6;
  --warn: #B54708; --warn-bg: #FFFAEB; --warn-line: #FEDF89;
  --err: #B42318; --err-bg: #FEF3F2; --err-line: #FECDCA;
  --info: #175CD3; --info-bg: #EFF8FF; --info-line: #B2DDFF;
  --navy: var(--brand); --blue: var(--accent); --blue-dark: var(--accent-600); --blue-soft: var(--accent-50); --line: var(--border); --line-2: var(--border-2);
  --ok-soft: var(--ok-bg); --warn-soft: var(--warn-bg); --err-soft: var(--err-bg);
  --font: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-xs: 12px; --fs-sm: 13px; --fs-md: 14px; --fs-base: 15px; --fs-lg: 17px; --fs-xl: 20px; --fs-2xl: 24px; --fs-3xl: 32px; --fs-4xl: 44px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s8: 32px; --s10: 40px;
  --r-sm: 6px; --r: 8px; --r-lg: 12px;
  --e1: 0 1px 2px rgba(16,24,40,.05); --e2: 0 1px 3px rgba(16,24,40,.08), 0 1px 2px rgba(16,24,40,.04); --e3: 0 12px 32px rgba(16,24,40,.14), 0 2px 6px rgba(16,24,40,.06);
  --tap: 44px; --ctl: 40px; --sidebar: 236px;
  --ease: cubic-bezier(.2,.7,.2,1); --t-fast: 120ms; --t: 180ms;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 var(--fs-base)/1.55 var(--font); font-feature-settings: 'tnum' 1; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { margin: 0 0 var(--s2); color: var(--text); letter-spacing: -.015em; line-height: 1.3; }
h1 { font-size: var(--fs-2xl); font-weight: 700; } h2 { font-size: var(--fs-xl); font-weight: 700; } h3 { font-size: var(--fs-base); font-weight: 700; }
p { margin: 0 0 var(--s2); } a { color: var(--accent-600); text-decoration: none; } a:hover { text-decoration: underline; }
.sub { color: var(--text-2); font-size: var(--fs-md); } .num { font-variant-numeric: tabular-nums; } [hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
code { font: 13px/1.4 ui-monospace, Consolas, monospace; background: var(--subtle); padding: 2px 6px; border-radius: 4px; word-break: break-all; }
s { color: var(--text-3); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* App shell */
.app { min-height: 100vh; }
.side { display: none; }
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: var(--s3); padding: calc(env(safe-area-inset-top) + 10px) var(--s4) 10px; background: var(--surface); border-bottom: 1px solid var(--border); }
.top img { height: 22px; display: block; }
.top .ttl { font-weight: 600; font-size: var(--fs-md); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.top .sp { flex: 1; }
.top button { min-height: 36px; padding: 0 var(--s3); border: 1px solid var(--border-2); background: var(--surface); color: var(--text); border-radius: var(--r-sm); font: 600 var(--fs-sm) var(--font); cursor: pointer; white-space: nowrap; transition: background var(--t-fast); }
.top button:hover { background: var(--hover); }
.top .nav-m { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; } .top .nav-m::-webkit-scrollbar { display: none; }
.net { font-size: var(--fs-sm); padding: 8px var(--s4); background: var(--warn-bg); color: var(--warn); font-weight: 600; border-bottom: 1px solid var(--warn-line); }
main { max-width: 1240px; margin: 0 auto; padding: var(--s5) var(--s4) calc(96px + env(safe-area-inset-bottom)); animation: enter var(--t) var(--ease); }
main.narrow { max-width: 600px; }
@keyframes enter { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.crumb { display: none; }
@media (min-width: 1024px) {
  .app.has-side { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); }
  .app.has-side .top { display: none; }
  .app.has-side .side { display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; background: var(--navy-900); color: #DDE5F0; padding: var(--s5) var(--s3) var(--s4); gap: 2px; }
  .side .logo { padding: 2px var(--s2) var(--s5); } .side .logo img { height: 24px; display: block; }
  .side .grp { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #8EA0B8; padding: var(--s4) var(--s3) var(--s2); }
  .side a { display: flex; align-items: center; gap: var(--s3); min-height: 38px; padding: 0 var(--s3); border-radius: var(--r-sm); color: #C9D4E3; font-weight: 600; font-size: var(--fs-md); text-decoration: none; transition: background var(--t-fast), color var(--t-fast); }
  .side a svg { width: 18px; height: 18px; flex: none; }
  .side a:hover { background: rgba(255,255,255,.06); color: #fff; text-decoration: none; }
  .side a.on { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 2px 0 0 #8DB4FF; }
  .side .me { margin-top: auto; border-top: 1px solid rgba(255,255,255,.1); padding: var(--s4) var(--s3) 0; display: grid; gap: 2px; }
  .side .me b { color: #fff; font-size: var(--fs-md); } .side .me span { font-size: var(--fs-xs); color: #A9B8CC; }
  .side .me button { margin-top: var(--s3); min-height: 36px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #DDE5F0; border-radius: var(--r-sm); font: 600 var(--fs-sm) var(--font); cursor: pointer; }
  .side .me button:hover { background: rgba(255,255,255,.06); }
  .app.has-side .crumb { display: flex; align-items: center; gap: var(--s3); height: 52px; padding: 0 var(--s8); border-bottom: 1px solid var(--border); background: var(--surface); position: sticky; top: 0; z-index: 20; font-size: var(--fs-md); color: var(--text-2); }
  .crumb b { color: var(--text); font-weight: 600; } .crumb .sp { flex: 1; }
  .app.has-side main { max-width: 1320px; padding: var(--s6) var(--s8) var(--s10); margin: 0; }
  .app.has-side main.narrow { max-width: 760px; }
}

/* 통역사 하단 내비 */
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom); }
.tabs a { min-height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--text-2); font-size: 12px; font-weight: 600; text-decoration: none; transition: color var(--t-fast); }
.tabs a svg { width: 24px; height: 24px; }
.tabs a.on { color: var(--brand); } .tabs a.on svg { stroke-width: 2.2; }
.tabs a:active { background: var(--hover); } .tabs a:hover { text-decoration: none; }
@media (min-width: 900px) { .tabs.interp { max-width: 600px; margin: 0 auto; border-left: 1px solid var(--border); border-right: 1px solid var(--border); } }

/* Surfaces */
.sec { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s5); margin: 0 0 var(--s4); box-shadow: var(--e1); }
.sec > h2:first-child, .sec > h3:first-child { margin-top: 0; }
.sec-h { display: flex; align-items: baseline; gap: var(--s2); margin-bottom: var(--s3); } .sec-h h3 { margin: 0; } .sec-h .sp { flex: 1; }
.row { display: flex; gap: var(--s3); align-items: center; flex-wrap: wrap; } .row .sp { flex: 1; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: var(--fs-md); } .kv dt { color: var(--text-2); } .kv dd { margin: 0; font-weight: 600; }
.big { font-size: var(--fs-4xl); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; color: var(--brand); }
.list { list-style: none; margin: 0; padding: 0; } .list > li { padding: var(--s3) 0; border-top: 1px solid var(--border); } .list > li:first-child { border-top: 0; }
.cols { display: grid; gap: var(--s4); } @media (min-width: 980px) { .cols.two { grid-template-columns: 1.3fr 1fr; } }
.page-h { display: flex; align-items: flex-end; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s4); } .page-h h1 { margin: 0; } .page-h .sp { flex: 1; }
.meta-line { display: flex; gap: var(--s2); align-items: center; flex-wrap: wrap; color: var(--text-2); font-size: var(--fs-md); margin-bottom: var(--s2); }

/* Status */
.chip { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: var(--r-sm); font-size: var(--fs-xs); font-weight: 600; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); white-space: nowrap; }
.chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .85; }
.chip.ok { background: var(--ok-bg); color: var(--ok); border-color: var(--ok-line); } .chip.warn { background: var(--warn-bg); color: var(--warn); border-color: var(--warn-line); }
.chip.err { background: var(--err-bg); color: var(--err); border-color: var(--err-line); } .chip.info { background: var(--info-bg); color: var(--info); border-color: var(--info-line); }
.chip.navy { background: var(--brand); color: #fff; border-color: var(--brand); } .chip.navy::before, .chip.plain::before { display: none; }
.notice { padding: var(--s3) var(--s4); border-radius: var(--r); background: var(--info-bg); color: var(--text); border: 1px solid var(--info-line); margin: 0 0 var(--s4); font-size: var(--fs-md); }
.notice.warn { background: var(--warn-bg); border-color: var(--warn-line); color: #7A2E0E; } .notice.err { background: var(--err-bg); border-color: var(--err-line); color: #912018; } .notice.ok { background: var(--ok-bg); border-color: var(--ok-line); color: #05603A; }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: var(--ctl); padding: 0 var(--s4); border-radius: var(--r); border: 1px solid var(--border-2); background: var(--surface); color: var(--text); font: 600 var(--fs-md) var(--font); cursor: pointer; text-decoration: none; box-shadow: var(--e1); transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast); }
.btn:hover { background: var(--hover); text-decoration: none; } .btn:active { transform: translateY(1px); box-shadow: none; }
.btn.primary, .btn.navy { background: var(--brand); border-color: var(--brand); color: #fff; } .btn.primary:hover, .btn.navy:hover { background: var(--navy-700); }
.btn.danger { color: var(--err); border-color: var(--err-line); } .btn.danger:hover { background: var(--err-bg); }
.btn.ghost { border-color: transparent; box-shadow: none; background: transparent; } .btn.ghost:hover { background: var(--hover); }
.btn.block { width: 100%; } .btn.sm { min-height: 34px; padding: 0 var(--s3); font-size: var(--fs-sm); } .btn.lg { min-height: 52px; font-size: var(--fs-lg); padding: 0 var(--s6); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn.busy { color: transparent !important; pointer-events: none; } .btn.busy::after { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.9); border-bottom-color: rgba(255,255,255,.25); border-left-color: rgba(255,255,255,.25); animation: spin .7s linear infinite; }
.btn.busy:not(.primary):not(.navy)::after { border-color: var(--brand); border-bottom-color: var(--border); border-left-color: var(--border); }
.btn.done { background: var(--ok); border-color: var(--ok); color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.btns { display: flex; gap: var(--s2); flex-wrap: wrap; }

/* Inputs */
label.f { display: block; margin: 0 0 var(--s4); font-weight: 600; font-size: var(--fs-md); color: var(--text); } label.f .sub { font-weight: 400; font-size: var(--fs-sm); }
input, select, textarea { width: 100%; min-height: var(--ctl); padding: 0 var(--s3); margin-top: 6px; border: 1px solid var(--border-2); border-radius: var(--r); background: var(--surface); color: var(--text); font: 400 var(--fs-base) var(--font); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
textarea { min-height: 120px; padding: var(--s3); resize: vertical; line-height: 1.55; }
input:hover, select:hover, textarea:hover { border-color: #A9B4C2; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,.18); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--err); box-shadow: 0 0 0 3px rgba(180,35,24,.12); }
input[type=checkbox] { width: 18px; height: 18px; min-height: 0; margin: 0; accent-color: var(--brand); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; margin-top: 6px; border: 1px solid var(--border-2); border-radius: var(--r); overflow: hidden; }
.seg button { min-height: var(--ctl); border: 0; border-left: 1px solid var(--border-2); background: var(--surface); color: var(--text); font: 600 var(--fs-base) var(--font); cursor: pointer; transition: background var(--t-fast); }
.seg button:first-child { border-left: 0; } .seg button:hover { background: var(--hover); } .seg button.on { background: var(--brand); color: #fff; }
.grid2 { display: grid; grid-template-columns: 1fr 112px; gap: var(--s2); }
.field-err { color: var(--err); font-size: var(--fs-sm); font-weight: 600; margin-top: 6px; }

/* Autocomplete */
.ac { position: relative; }
.ac .ok-mark { position: absolute; right: 10px; top: 50%; margin-top: 3px; transform: translateY(-50%); color: var(--ok); font-weight: 700; font-size: var(--fs-sm); background: var(--ok-bg); padding: 2px 8px; border-radius: var(--r-sm); pointer-events: none; }
.ac .ok-mark:empty { display: none; }
.ac ul { list-style: none; margin: 6px 0 0; padding: 4px; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); position: absolute; left: 0; right: 0; z-index: 25; box-shadow: var(--e3); max-height: 300px; overflow: auto; animation: enter var(--t-fast) var(--ease); }
.ac li button { width: 100%; text-align: left; min-height: 48px; padding: 6px 10px; border: 0; background: none; color: var(--text); font: 500 var(--fs-base) var(--font); cursor: pointer; border-radius: var(--r-sm); display: flex; gap: 10px; align-items: center; }
.ac li button:hover, .ac li button.hl { background: var(--accent-50); }
.ac li button.hl { box-shadow: inset 2px 0 0 var(--accent); }
.ac li .meta { margin-left: auto; color: var(--text-2); font-size: var(--fs-sm); font-weight: 600; }
.ac .star { color: var(--accent-600); font-size: var(--fs-xs); font-weight: 700; min-width: 34px; }
.ac mark { background: none; color: var(--accent-600); font-weight: 700; }

/* Modal·Toast */
.dlg { position: fixed; inset: 0; z-index: 50; background: rgba(11,31,58,.45); display: flex; align-items: flex-end; justify-content: center; animation: fade var(--t-fast) ease-out; }
.dlg .box { background: var(--surface); width: 100%; max-width: 520px; border-radius: 16px 16px 0 0; padding: var(--s6) var(--s5) calc(var(--s5) + env(safe-area-inset-bottom)); box-shadow: var(--e3); animation: sheet var(--t) var(--ease); max-height: 90vh; overflow: auto; }
.dlg .box h2 { font-size: var(--fs-xl); margin-bottom: 6px; }
@media (min-width: 700px) { .dlg { align-items: center; } .dlg .box { border-radius: var(--r-lg); } }
.dlg .opt { width: 100%; text-align: left; margin: 0 0 var(--s2); justify-content: flex-start; min-height: 48px; }
@keyframes fade { from { opacity: 0; } } @keyframes sheet { from { transform: translateY(16px); opacity: .6; } }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 60; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--r); font-size: var(--fs-md); font-weight: 500; max-width: calc(100% - 32px); box-shadow: var(--e3); pointer-events: none; }

/* Tables */
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs-md); }
.tbl th { background: var(--subtle); text-align: left; font-size: var(--fs-xs); font-weight: 700; color: var(--text-2); padding: 10px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; letter-spacing: .02em; }
.tbl td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr.click { cursor: pointer; transition: background var(--t-fast); } .tbl tr.click:hover td { background: var(--hover); }
.tbl .r { text-align: right; } .tbl th.sortable { cursor: pointer; user-select: none; } .tbl th.sortable:hover { color: var(--text); } .tbl th .ar { font-size: 10px; margin-left: 4px; }
.tbl.ev { table-layout: fixed; } .tbl.ev th, .tbl.ev td { overflow-wrap: anywhere; }
.scroll { overflow-x: auto; }
.tbar { display: flex; gap: var(--s2); align-items: center; flex-wrap: wrap; margin-bottom: var(--s3); }
.tbar input[type=search] { margin: 0; max-width: 300px; min-height: 36px; padding-left: 34px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235B6475' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 11px center; }
.tbar select { margin: 0; width: auto; min-height: 36px; font-size: var(--fs-md); }
.tbar .count { color: var(--text-2); font-size: var(--fs-sm); margin-left: auto; }
.pill-tabs { display: inline-flex; border: 1px solid var(--border-2); border-radius: var(--r); overflow: hidden; } .pill-tabs button { min-height: 34px; padding: 0 12px; border: 0; border-left: 1px solid var(--border-2); background: var(--surface); font: 600 var(--fs-sm) var(--font); color: var(--text-2); cursor: pointer; } .pill-tabs button:first-child { border-left: 0; } .pill-tabs button.on { background: var(--subtle); color: var(--text); box-shadow: inset 0 -2px 0 var(--brand); }
.bar { height: 6px; background: var(--subtle); border-radius: 3px; overflow: hidden; min-width: 80px; } .bar i { display: block; height: 100%; background: var(--brand); border-radius: 3px; }

/* Sub tabs */
.subtabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border); margin: 0 0 var(--s5); overflow-x: auto; scrollbar-width: none; }
.subtabs a { position: relative; padding: 0 var(--s3); min-height: 44px; display: inline-flex; align-items: center; color: var(--text-2); font-weight: 600; font-size: var(--fs-md); white-space: nowrap; text-decoration: none; transition: color var(--t-fast); }
.subtabs a:hover { color: var(--text); text-decoration: none; } .subtabs a.on { color: var(--text); } .subtabs a.on::after { content: ''; position: absolute; left: var(--s3); right: var(--s3); bottom: -1px; height: 2px; background: var(--brand); border-radius: 2px; }

/* Loading·Empty */
.skel { background: linear-gradient(90deg, var(--subtle) 25%, #EAEFF5 50%, var(--subtle) 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 6px; height: 16px; margin: 10px 0; }
@keyframes sk { to { background-position: -200% 0; } }
.empty { text-align: center; color: var(--text-2); padding: var(--s8) var(--s4); }
.empty-state { display: grid; justify-items: center; gap: 6px; text-align: center; padding: var(--s8) var(--s4); color: var(--text-2); }
.empty-state svg { width: 40px; height: 40px; color: #AAB4C3; margin-bottom: 4px; } .empty-state b { color: var(--text); font-size: var(--fs-base); } .empty-state .btn { margin-top: var(--s2); }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); color: var(--text-2); } .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 6px rgba(6,118,71,0); } 0% { box-shadow: 0 0 0 0 rgba(6,118,71,.5); } }

/* Login */
.login { min-height: 100vh; display: grid; align-content: center; justify-items: center; padding: var(--s6) var(--s4); background: var(--bg); }
.login .card { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s8) var(--s6); box-shadow: var(--e2); }
.login .logo { height: 26px; margin-bottom: var(--s5); display: block; } .login h1 { font-size: var(--fs-xl); margin-bottom: 4px; } .login .lead { color: var(--text-2); font-size: var(--fs-md); margin-bottom: var(--s5); }
.login .subtabs { margin-bottom: var(--s5); } .login .sec { box-shadow: none; border: 0; padding: 0; margin: 0; } .login .foot { color: var(--text-2); font-size: var(--fs-xs); margin-top: var(--s5); text-align: center; }
.login .alt { display: flex; justify-content: center; margin-top: var(--s3); } .login .alt a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.login-hero { background: var(--surface); border-bottom: 1px solid var(--border); padding: 28px; text-align: center; } .login-hero img { height: 26px; }

/* Dashboard */
.kgrid { display: grid; gap: var(--s4); grid-template-columns: repeat(12, minmax(0, 1fr)); margin-bottom: var(--s4); }
.k { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s5); box-shadow: var(--e1); min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.k .l { font-size: var(--fs-sm); color: var(--text-2); font-weight: 600; display: flex; gap: var(--s2); align-items: center; }
.k .v { font-weight: 700; letter-spacing: -.025em; line-height: 1.1; color: var(--text); white-space: nowrap; }
.k .v small { font-size: .5em; font-weight: 600; color: var(--text-2); letter-spacing: 0; margin-left: 2px; }
.k .d { font-size: var(--fs-sm); color: var(--text-2); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.delta { font-weight: 700; font-size: var(--fs-sm); } .delta.up { color: var(--ok); } .delta.down { color: var(--err); } .delta.flat { color: var(--text-2); }
.k.hero { grid-column: span 4; } .k.hero .v { font-size: var(--fs-4xl); }
.k.amt { grid-column: span 4; } .k.amt .v { font-size: var(--fs-3xl); }
.k.rate { grid-column: span 2; } .k.rate .v { font-size: var(--fs-2xl); }
.k.act { grid-column: span 2; } .k.act .v { font-size: var(--fs-2xl); }
.k .spark { height: 36px; width: 100%; color: var(--accent); margin-top: auto; }
.k.act .btn { margin-top: auto; align-self: flex-start; }
.ring { --p: 0; width: 56px; height: 56px; border-radius: 50%; background: conic-gradient(var(--brand) calc(var(--p) * 1%), var(--subtle) 0); display: grid; place-items: center; flex: none; }
.ring::after { content: ''; width: 42px; height: 42px; border-radius: 50%; background: var(--surface); grid-area: 1/1; }
.ring span { grid-area: 1/1; z-index: 1; font-size: var(--fs-sm); font-weight: 700; }
.mini { display: grid; grid-template-columns: repeat(3, 1fr); grid-column: span 12; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.mini > div { padding: var(--s3) var(--s5); border-left: 1px solid var(--border); display: flex; align-items: baseline; gap: var(--s3); } .mini > div:first-child { border-left: 0; }
.mini .l { font-size: var(--fs-sm); color: var(--text-2); font-weight: 600; } .mini .v { font-size: var(--fs-lg); font-weight: 700; } .mini .v small { font-size: var(--fs-sm); color: var(--text-2); font-weight: 600; }
@media (max-width: 1180px) { .k.hero, .k.amt { grid-column: span 6; } .k.rate, .k.act { grid-column: span 6; } }
@media (max-width: 699px) { .kgrid { gap: var(--s2); } .k { padding: var(--s3) var(--s4); } .k.hero, .k.amt, .k.rate, .k.act { grid-column: span 6; } .k.hero .v, .k.amt .v { font-size: var(--fs-2xl); } .k .spark { height: 22px; } .mini > div { padding: var(--s2) var(--s3); flex-direction: column; gap: 0; } }
.dash-row { display: grid; gap: var(--s4); margin-bottom: var(--s4); } .dash-row > .sec { margin: 0; min-width: 0; }
@media (min-width: 900px) { .dash-row.r2 { grid-template-columns: 1.25fr 1fr; } .dash-row.r3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .dash-row.r21 { grid-template-columns: 2fr 1fr; } }
.chart { width: 100%; height: auto; display: block; }
.chart .c-bar { fill: var(--brand); } .chart .c-y { fill: none; stroke: #9AA6B6; stroke-width: 1.5; stroke-dasharray: 3 3; }
.chart .c-t { stroke: var(--warn); stroke-width: 1.5; stroke-dasharray: 6 4; fill: none; } .chart .c-g { stroke: var(--border); stroke-width: 1; }
.chart .c-x, .chart .c-yl { font-size: 11px; fill: var(--text-2); font-family: var(--font); } .chart .c-x { text-anchor: middle; } .chart .c-yl { text-anchor: end; }
.chart .c-amt { fill: none; stroke: var(--accent); stroke-width: 2; }
.legend { display: flex; gap: var(--s4); flex-wrap: wrap; font-size: var(--fs-sm); color: var(--text-2); margin-top: var(--s2); }
.legend i { display: inline-block; width: 12px; height: 8px; margin-right: 6px; vertical-align: middle; border-radius: 2px; }
.lg-bar { background: var(--brand); } .lg-y { border-top: 2px dashed #9AA6B6; height: 0 !important; } .lg-t { border-top: 2px dashed var(--warn); height: 0 !important; } .lg-amt { border-top: 2px solid var(--accent); height: 0 !important; }
.hbars { list-style: none; margin: 0; padding: 0; } .hbars li { display: grid; grid-template-columns: minmax(80px, 40%) 1fr 48px; gap: var(--s3); align-items: center; padding: 7px 0; font-size: var(--fs-md); border-top: 1px solid var(--border); } .hbars li:first-child { border-top: 0; }
.hb-l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .hb-b { height: 8px; background: var(--subtle); border-radius: 4px; overflow: hidden; } .hb-b i { display: block; height: 100%; background: var(--brand); border-radius: 4px; }
.hbars b { text-align: right; font-size: var(--fs-md); }
.bmap { display: grid; gap: var(--s2); align-items: stretch; } .bm-r { align-self: center; font-weight: 700; color: var(--text-2); font-size: var(--fs-sm); }
.bm { border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); padding: 10px; text-align: left; font: inherit; cursor: pointer; display: grid; gap: 2px; color: var(--text); min-height: 76px; transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast); position: relative; }
.bm:hover { border-color: var(--border-2); box-shadow: var(--e2); } .bm:active { transform: scale(.98); }
.bm b { font-size: var(--fs-md); } .bm span { font-size: var(--fs-xl); font-weight: 700; line-height: 1.1; } .bm small { font-size: var(--fs-xs); color: var(--text-2); font-weight: 600; }
.bm::before { content: ''; position: absolute; top: 10px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.bm.nosubmit::before { background: var(--warn); } .bm.quiet::before { background: #DC6803; } .bm.absent::before { background: var(--err); } .bm.none::before { background: var(--border-2); }
.bm.nosubmit { background: var(--warn-bg); border-color: var(--warn-line); } .bm.absent { background: var(--err-bg); border-color: var(--err-line); } .bm.quiet { border-color: #FEC84B; }
.bm.empty { border: 1px dashed var(--border); background: transparent; cursor: default; } .bm.empty::before { display: none; }
.st { display: inline-block; width: 8px !important; height: 8px !important; border-radius: 50% !important; } .st.ok { background: var(--ok); } .st.nosubmit { background: var(--warn); } .st.quiet { background: #DC6803; } .st.absent { background: var(--err); }
.feed { list-style: none; margin: 0; padding: 0; } .feed li { display: grid; grid-template-columns: 76px 56px 1fr; gap: var(--s2); align-items: center; padding: 9px 0; border-top: 1px solid var(--border); font-size: var(--fs-md); } .feed li:first-child { border-top: 0; } .feed .num { white-space: nowrap; color: var(--text-2); font-size: var(--fs-sm); }
.att { list-style: none; margin: 0; padding: 0; } .att li { display: grid; grid-template-columns: 70px 1fr 96px; gap: var(--s3); align-items: center; padding: 8px 0; font-size: var(--fs-md); border-top: 1px solid var(--border); } .att li:first-child { border-top: 0; }
.att-t { position: relative; height: 10px; background: var(--subtle); border-radius: 5px; } .att-t i { position: absolute; top: 0; bottom: 0; background: var(--brand); border-radius: 5px; } .att-t em { position: absolute; left: 0; top: -5px; font-size: var(--fs-sm); color: var(--err); font-style: normal; font-weight: 600; }
.att .sub { font-size: var(--fs-sm); white-space: nowrap; }
.dash-det { padding: var(--s4); } .dash-det summary { cursor: pointer; list-style: none; display: flex; align-items: center; min-height: 44px; } .dash-det summary::-webkit-details-marker { display: none; } .dash-det summary h3 { margin: 0; flex: 1; } .dash-det summary::after { content: ''; width: 8px; height: 8px; border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: rotate(45deg); margin-right: 4px; transition: transform var(--t-fast); } .dash-det:not([open]) summary::after { transform: rotate(-45deg); } .dash-det[open] summary { margin-bottom: var(--s2); }
.alerts { border: 1px solid var(--err-line); background: var(--surface); border-radius: var(--r-lg); margin-bottom: var(--s4); overflow: hidden; box-shadow: var(--e1); }
.alerts .ah { display: flex; align-items: center; gap: var(--s2); padding: var(--s3) var(--s4); background: var(--err-bg); color: #912018; font-weight: 700; font-size: var(--fs-md); }
.alerts ul { list-style: none; margin: 0; padding: 0; } .alerts li { display: flex; gap: var(--s3); align-items: center; padding: var(--s3) var(--s4); border-top: 1px solid var(--border); font-size: var(--fs-md); flex-wrap: wrap; }
.alerts li .msg { flex: 1; min-width: 200px; } .alerts li .sub { font-size: var(--fs-xs); }

/* Booth cards */
.booths { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s2); }
.booth { border: 1px solid var(--border); border-radius: var(--r); padding: 10px 12px; background: var(--surface); min-height: 44px; }
.booth .b { font-weight: 700; color: var(--text); font-size: var(--fs-base); } .booth .c { font-size: var(--fs-sm); color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.booth.quiet, .booth.nosubmit { border-color: var(--warn-line); background: var(--warn-bg); } .booth.absent { border-color: var(--err-line); background: var(--err-bg); }
button.booth { text-align: left; font: inherit; color: inherit; cursor: pointer; width: 100%; } button.booth:active { transform: scale(.99); }

/* Interpreter (field-friendly) */
.app.interp { --ctl: 52px; --fs-base: 16px; }
.app.interp main { padding-top: var(--s4); }
.app.interp .sec { padding: var(--s4); }
.app.interp .btn { min-height: 48px; font-size: var(--fs-base); } .app.interp .btn.sm { min-height: 44px; font-size: var(--fs-md); } .app.interp .btn.lg { min-height: 56px; font-size: var(--fs-lg); }
.app.interp input, .app.interp select { min-height: 52px; font-size: 17px; } .app.interp textarea { font-size: 17px; }
.app.interp label.f { font-size: var(--fs-base); }
.app.interp .seg button { min-height: 52px; font-size: var(--fs-lg); }
.app.interp .top button { min-height: 44px; }
.hero-ev { background: var(--navy-900); color: #fff; border-radius: var(--r-lg); padding: var(--s5); margin-bottom: var(--s4); box-shadow: var(--e2); }
.hero-ev .ev { font-size: var(--fs-sm); color: #C3CFDF; display: flex; gap: var(--s2); flex-wrap: wrap; align-items: center; }
.hero-ev .lbl { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; color: #A9B8CC; margin-top: var(--s4); }
.hero-ev .booth-no { font-size: 56px; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 4px 0 6px; }
.hero-ev .co { font-size: var(--fs-lg); font-weight: 600; }
.hero-ev .att-row { display: flex; align-items: center; gap: var(--s2); margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid rgba(255,255,255,.14); font-size: var(--fs-md); color: #DDE5F0; }
.hero-ev .att-row .sp { flex: 1; }
.hero-ev .btn { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); box-shadow: none; min-height: 44px; } .hero-ev .btn:hover { background: rgba(255,255,255,.08); }
.hero-ev .btn.on { background: #fff; color: var(--navy-900); border-color: #fff; }
.next { display: flex; gap: var(--s4); align-items: center; padding: var(--s4); border: 1px solid var(--info-line); background: var(--info-bg); border-radius: var(--r-lg); margin-bottom: var(--s4); }
.next .t { font-size: var(--fs-2xl); font-weight: 800; color: var(--info); line-height: 1; } .next .t small { display: block; font-size: var(--fs-xs); font-weight: 700; color: var(--info); margin-top: 4px; }
.next .who { flex: 1; min-width: 0; } .next .who b { display: block; font-size: var(--fs-lg); } .next .who span { color: var(--text-2); font-size: var(--fs-sm); }
.qstats { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); margin-bottom: var(--s4); }
.qstats > div { padding: var(--s3) var(--s4); border-left: 1px solid var(--border); } .qstats > div:first-child { border-left: 0; }
.qstats .l { font-size: var(--fs-xs); color: var(--text-2); font-weight: 600; } .qstats .v { font-size: var(--fs-2xl); font-weight: 800; } .qstats .v.warn { color: var(--warn); }
.timeline { list-style: none; margin: 0; padding: 0; } .timeline li { display: grid; grid-template-columns: 56px 1fr auto; gap: var(--s3); align-items: center; min-height: 52px; border-top: 1px solid var(--border); } .timeline li:first-child { border-top: 0; }
.timeline .tm { font-weight: 700; font-size: var(--fs-base); } .timeline li.past { color: var(--text-2); } .timeline li.nowi .tm { color: var(--info); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: var(--s4); }
.steps span { height: 4px; border-radius: 2px; background: var(--border); transition: background var(--t); } .steps span.on { background: var(--brand); }
.step-h { display: flex; align-items: baseline; gap: var(--s2); margin-bottom: var(--s4); } .step-h b { font-size: var(--fs-xl); } .step-h span { color: var(--text-2); font-size: var(--fs-sm); font-weight: 600; }
.step { animation: enter var(--t) var(--ease); }
.actbar { position: sticky; bottom: calc(60px + env(safe-area-inset-bottom) + var(--kb, 0px)); z-index: 20; display: flex; gap: var(--s2); padding: var(--s3) 0; background: var(--bg); box-shadow: 0 -8px 12px -8px rgba(246,248,251,1); margin-top: var(--s4); }
.actbar .btn { flex: 1; min-height: 56px; font-size: var(--fs-lg); } .actbar .btn.back { flex: 0 0 96px; }
.kb-open .tabs { display: none; } .kb-open .actbar { bottom: var(--kb, 0px); }
.savehint { text-align: center; color: var(--text-2); font-size: var(--fs-sm); margin-top: var(--s2); } .savehint.ok { color: var(--ok); }
.review { list-style: none; margin: 0 0 var(--s4); padding: 0; } .review li { display: grid; grid-template-columns: 84px 1fr; gap: var(--s3); padding: 10px 0; border-top: 1px solid var(--border); font-size: var(--fs-base); } .review li:first-child { border-top: 0; } .review li span { color: var(--text-2); font-size: var(--fs-sm); font-weight: 600; }

/* Report(주최기관) */
.report-h { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); margin-bottom: var(--s4); }
.report-h > div { padding: var(--s5); border-left: 1px solid var(--border); } .report-h > div:first-child { border-left: 0; }
.report-h .l { font-size: var(--fs-sm); color: var(--text-2); font-weight: 600; } .report-h .v { font-size: var(--fs-3xl); font-weight: 700; letter-spacing: -.02em; }

@media print { .side, .top, .crumb, .tabs, .btns, .subtabs, .noprint, .tbar { display: none !important; } body { background: #fff; } .sec, .k, .report-h { box-shadow: none; } main { padding: 0 !important; } .app.has-side { display: block; } }

/* 호환: 보조 숫자 줄(.stats) — 계약·정산 등 */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); margin: 0 0 var(--s4); overflow: hidden; }
.stats > div { padding: var(--s3) var(--s4); border-left: 1px solid var(--border); } .stats > div:first-child { border-left: 0; }
.stats .l { font-size: var(--fs-xs); color: var(--text-2); font-weight: 600; } .stats .v { font-size: var(--fs-xl); font-weight: 700; } .stats .v.err { color: var(--err); } .stats .v.warn { color: var(--warn); }

/* v2 다듬기(캡처 검수 1회차) */
.btn svg { width: 20px; height: 20px; flex: none; }
@media (min-width: 1024px) {
  .app.has-side .side { display: block; position: static; height: auto; padding: 0; }
  .app.has-side .side-in { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 2px; padding: var(--s5) var(--s3) var(--s4); }
}
.bm span { white-space: nowrap; font-size: var(--fs-lg); }
.app.interp .top .ttl { display: none; }
/* v2 다듬기(접근성 자동 검사 1회차): 모바일 터치 44px, 최소 글자 12px, 취소선 대비 */
@media (max-width: 699px) {
  :root { --ctl: 44px; }
  .btn.sm, .top button, .tbar select, .tbar input[type=search], .pill-tabs button { min-height: 44px; }
  input, select { min-height: 44px; }
}
.side .grp { font-size: 12px !important; }
.tbl th .ar { font-size: 12px; }
s { color: var(--text-2); }
.tbl td.r { white-space: nowrap; }

/* v2.1 다듬기(01 검수) */
.next.done { background: var(--subtle); border-color: var(--border); } .next.done .who b { color: var(--text-2); font-size: var(--fs-base); }
.bm-r { white-space: nowrap; text-align: right; padding-right: 4px; }
.k .spark { display: block; width: calc(100% + 40px); height: 44px; margin: auto -20px -20px; border-radius: 0 0 var(--r-lg) var(--r-lg); }
@media (max-width: 699px) { .k .spark { width: calc(100% + 32px); margin: auto -16px -12px; height: 28px; } }
.bm { padding: 8px; min-width: 0; } .bm small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
