/* 공고 레이더 — 밝은 화면 하나. 색은 WEEKFLOW(work.refit.kr) 토큰을 따르고, 사무실 모니터에서 표를 오래 읽는 데 맞춘다. */
:root {
  --canvas: #f4f6f9;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --surface-3: #eef2f7;
  --line: #e2e7ee;
  --line-strong: #cdd5e0;
  --ink: #111a2c;
  --ink-2: #3a4759;
  --ink-3: #5d6b80;
  --primary: #3157ce;
  --primary-ink: #2446ad;
  --primary-soft: #eaf0ff;
  --primary-line: #c3d2fb;
  --ok: #127a3a; --ok-soft: #e7f6ec;
  --warn: #a14b06; --warn-soft: #fff4e2;
  --danger: #c0281f; --danger-soft: #fdecea;
  --info: #1d5fd1; --info-soft: #e9f1fe;
  --violet: #6b35d9; --violet-soft: #f1ecfe;
  --teal: #0c6f68; --teal-soft: #e3f6f3;
  --star: #e2a300; --star-soft: #fff8df;
  --focus: #3157ce;
  --shadow-1: 0 1px 2px rgb(17 26 44 / 5%);
  --shadow-2: 0 4px 14px rgb(17 26 44 / 8%), 0 1px 3px rgb(17 26 44 / 6%);
  --r-sm: 6px; --r: 8px; --r-lg: 12px; --r-pill: 999px;
  --gutter: 28px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font-family: Pretendard, "Pretendard Variable", "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  font-size: 15px; line-height: 1.55; word-break: keep-all; overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
::selection { background: #cfdcff; color: var(--ink); }
a { color: var(--primary); text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--primary-ink); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.3; color: var(--ink); }
h1 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 15px; font-weight: 700; margin: 18px 0 8px; }
h2 small, h3 small, .tabs small { color: var(--ink-3); font-weight: 500; font-size: 13px; margin-left: 4px; }
p { margin: 0; }
.soft { color: var(--ink-2); }
.muted { color: var(--ink-3); }
.ink { color: var(--ink); }
.hint { color: var(--ink-3); font-size: 13px; margin-top: 8px; }
.mono { font-family: "Cascadia Mono", Consolas, "D2Coding", monospace; font-size: 0.92em; letter-spacing: 0; }
.nowrap { white-space: nowrap; }
.tone-danger { color: var(--danger); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: var(--r); z-index: 50; }
.skip:focus { top: 8px; color: #fff; }

/* ---------------------------------------------------------------- 위쪽 막대 */
.top { position: sticky; top: 0; z-index: 30; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-1); }
.top-in { max-width: 1680px; margin: 0 auto; padding: 0 var(--gutter); height: 60px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand-mark { width: 30px; height: 30px; fill: var(--primary); }
.brand-name { font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.menu { display: flex; align-self: stretch; gap: 4px; }
.menu a { display: flex; align-items: center; padding: 0 14px; color: var(--ink-2); font-weight: 600; font-size: 15px; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.menu a:hover { color: var(--ink); text-decoration: none; background: var(--surface-2); }
.menu a[aria-current="page"] { color: var(--primary); border-bottom-color: var(--primary); }
.top-search { margin-left: auto; position: relative; width: min(340px, 30vw); }
.top-search svg { position: absolute; left: 11px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.top-search input { width: 100%; padding-left: 34px; background: var(--surface-2); }
.who { display: flex; align-items: center; gap: 8px; flex: none; }
.who-name { font-weight: 600; font-size: 14px; line-height: 1.25; text-align: right; }
.who-name small { display: block; color: var(--ink-3); font-weight: 400; font-size: 12px; }

.main { max-width: 1680px; margin: 0 auto; padding: 20px var(--gutter) 56px; display: flex; flex-direction: column; gap: 16px; }

/* ---------------------------------------------------------------- 공통 부품 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 0 14px;
  border-radius: var(--r); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease-out, border-color .15s ease-out, box-shadow .15s ease-out;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:hover { background: var(--surface-2); border-color: #b8c2d1; text-decoration: none; color: var(--ink); }
.btn:active { background: var(--surface-3); }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-ink); border-color: var(--primary-ink); color: #fff; }
.btn-primary:active { background: #1d3a92; }
.btn-quiet { border-color: transparent; background: transparent; color: var(--ink-2); }
.btn-quiet:hover { background: var(--surface-3); border-color: transparent; }
.btn-danger-quiet { border-color: transparent; background: transparent; color: var(--danger); }
.btn-danger-quiet:hover { background: var(--danger-soft); border-color: transparent; color: var(--danger); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; cursor: progress; }
.btn-sm { min-height: 32px; padding: 0 10px; font-size: 13px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 2px 4px; color: var(--primary); font: inherit; font-size: 13px; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.icon-btn { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-sm); color: var(--ink-2); cursor: pointer; padding: 0; }
.icon-btn svg { width: 14px; height: 14px; }
.icon-btn:hover:not([disabled]) { background: var(--surface-3); }
.icon-btn[disabled] { opacity: .35; cursor: default; }

select, input, textarea {
  font: inherit; font-size: 14px; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--r); min-height: 38px; padding: 0 12px; max-width: 100%;
  transition: border-color .15s ease-out, box-shadow .15s ease-out;
}
textarea { padding: 10px 12px; line-height: 1.5; resize: vertical; width: 100%; }
input::placeholder, textarea::placeholder { color: #7a8699; }
select:hover, input:hover, textarea:hover { border-color: #b8c2d1; }
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgb(49 87 206 / 16%); }
input[type="checkbox"], input[type="radio"] { min-height: auto; width: 16px; height: 16px; accent-color: var(--primary); margin: 0; }
.check { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: var(--ink-2); cursor: pointer; }

.pill { display: inline-block; padding: 1px 9px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; white-space: nowrap; }
.pill-success { background: var(--ok-soft); color: var(--ok); }
.pill-warning { background: var(--warn-soft); color: var(--warn); }
.pill-danger { background: var(--danger-soft); color: var(--danger); }
.pill-info { background: var(--info-soft); color: var(--info); }
.pill-muted { background: var(--surface-3); color: var(--ink-3); }

.flash { padding: 11px 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.flash-ok { background: var(--ok-soft); border-color: #bfe5cb; color: #0d5c2c; }
.flash-warn { background: var(--warn-soft); border-color: #f3d4a6; color: #7a3a05; }
.flash-warn a { margin-left: 8px; }
.crumbs { font-size: 14px; }
.crumbs a { color: var(--ink-2); }
.crumbs a::before { content: "‹ "; }

/* 종류: 종류마다 한 색 */
.kind { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 4px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.kind-bid, .kind-private_bid { background: var(--primary-soft); color: var(--primary-ink); }
.kind-prespec, .kind-plan { background: var(--info-soft); color: var(--info); }
.kind-support, .kind-rnd { background: var(--ok-soft); color: var(--ok); }
.kind-event { background: var(--violet-soft); color: var(--violet); }
.kind-finance { background: var(--teal-soft); color: var(--teal); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.dot.kind-bid, .dot.kind-private_bid { background: var(--primary); }
.dot.kind-prespec, .dot.kind-plan { background: var(--info); }
.dot.kind-support, .dot.kind-rnd { background: var(--ok); }
.dot.kind-event { background: var(--violet); }
.dot.kind-finance { background: var(--teal); }
.flag { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 4px; font-size: 12px; font-weight: 600; color: var(--ink-2); background: var(--surface-3); white-space: nowrap; }
.flag-new { background: #ffe9e5; color: #b3261e; }
.flag-change { background: var(--warn-soft); color: var(--warn); }
.flag-cancel { background: var(--ink-3); color: #fff; }
.flag-status-open { background: var(--ok-soft); color: var(--ok); }
.flag-status-upcoming { background: var(--info-soft); color: var(--info); }
.cat { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 4px; font-size: 12px; color: var(--ink-2); border: 1px solid var(--line); background: var(--surface); white-space: nowrap; }
.due { font-weight: 800; }
.due-danger { color: var(--danger); }
.due-warning { color: var(--warn); }
.due-plain { color: var(--ink); }
.due-muted { color: var(--ink-3); font-weight: 600; }
.verdict { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; height: 22px; padding: 0 7px; border-radius: var(--r-sm); font-size: 12px; font-weight: 800; white-space: nowrap; }
.verdict-ok { background: var(--ok); color: #fff; }
.verdict-warn { background: var(--warn-soft); color: var(--warn); box-shadow: inset 0 0 0 1px #f0c98f; }
.verdict-check { background: var(--surface-3); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-strong); }
.verdict-no { background: var(--danger-soft); color: var(--danger); }

/* ---------------------------------------------------------------- 맞춤 조건 탭 */
.presetbar { display: flex; align-items: center; gap: 12px; }
.presets { display: flex; gap: 6px; overflow-x: auto; padding: 2px; scrollbar-width: thin; flex: 1; min-width: 0; }
.preset {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: var(--r);
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2); font-weight: 600; font-size: 14px; white-space: nowrap; flex: none;
}
.preset:hover { color: var(--ink); text-decoration: none; border-color: #aab6c7; }
.preset[aria-current="page"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.preset-n { font-weight: 700; color: var(--ink-3); font-size: 13px; }
.preset[aria-current="page"] .preset-n { color: #dbe5ff; }
.preset-new { font-size: 12px; font-weight: 800; color: #b3261e; }
.preset[aria-current="page"] .preset-new { color: #ffd9d4; }
.preset-sep { align-self: center; flex: none; font-size: 12px; font-weight: 700; color: var(--ink-3); margin: 0 2px 0 10px; }
.preset-co .preset-name::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--ok); margin-right: 7px; vertical-align: 1px; }
.preset-co[aria-current="page"] .preset-name::before { background: #fff; }
.verdict-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.verdict-tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 6px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 600; }
.verdict-tabs a:hover { text-decoration: none; border-color: var(--line-strong); color: var(--ink); }
.verdict-tabs a[aria-current="true"] { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); color: var(--ink); }
.verdict-tabs a:not(:has(.verdict)) { padding-left: 10px; }
.verdict-note { font-size: 12px; color: var(--ink-3); margin-left: 6px; }
.preset-add { border-style: dashed; color: var(--primary); background: transparent; }
.preset-add svg { width: 14px; height: 14px; }

.board-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; padding-top: 4px; }
.board-title { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.board-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cond-line { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; font-size: 14px; }
.cond-line div { display: flex; gap: 6px; }
.cond-line dt { color: var(--ink-3); }
.cond-line dd { margin: 0; color: var(--ink); font-weight: 600; }
.cond-line-sm { font-size: 13px; gap: 2px 12px; }
.collect { display: flex; align-items: center; gap: 10px; }
.collect-at { color: var(--ink-3); font-size: 13px; }
.collect-at b { color: var(--ink); font-weight: 600; }
.collect .btn[aria-busy="true"] svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.callout { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 22px; background: var(--primary-soft); border: 1px solid var(--primary-line); border-radius: var(--r-lg); }
.callout h2 { font-size: 16px; margin-bottom: 4px; }
.callout p { color: var(--ink-2); max-width: 72ch; }
.callout-quiet { background: var(--surface-2); border-color: var(--line); }

/* ---------------------------------------------------------------- 2주 마감 달력 */
.cal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px 14px 10px; box-shadow: var(--shadow-1); }
.cal-legend { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); margin-bottom: 8px; }
.cal-key { width: 10px; height: 10px; border-radius: 2px; display: inline-block; margin-left: 8px; }
.cal-key:first-child { margin-left: 0; }
.cal-key-end { background: var(--primary); }
.cal-key-open { background: var(--line-strong); }
.cal-days { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 4px; }
.cal-day {
  display: grid; grid-template-rows: auto 44px auto auto; gap: 3px; padding: 7px 6px 6px; border-radius: var(--r);
  color: var(--ink); text-align: center; border: 1px solid transparent;
  transition: background-color .15s ease-out, border-color .15s ease-out;
}
.cal-day:hover { background: var(--surface-2); border-color: var(--line); text-decoration: none; color: var(--ink); }
.cal-date { font-size: 13px; font-weight: 700; line-height: 1.2; }
.cal-date small { display: block; font-size: 11px; font-weight: 500; color: var(--ink-3); }
.cal-day.is-weekend .cal-date small, .cal-day.is-weekend .cal-date { color: #a2311f; }
.cal-day.is-today { background: var(--primary-soft); }
.cal-day.is-today .cal-date { color: var(--primary-ink); }
.cal-day.is-picked { border-color: var(--primary); background: var(--primary-soft); box-shadow: inset 0 0 0 1px var(--primary); }
.cal-bar { display: flex; align-items: flex-end; justify-content: center; height: 44px; border-bottom: 1px solid var(--line); }
.cal-bar i { display: block; width: 60%; max-width: 28px; border-radius: 3px 3px 0 0; background: var(--primary); }
.cal-bar .lv-0 { height: 0; } .cal-bar .lv-1 { height: 10%; } .cal-bar .lv-2 { height: 20%; } .cal-bar .lv-3 { height: 30%; }
.cal-bar .lv-4 { height: 40%; } .cal-bar .lv-5 { height: 50%; } .cal-bar .lv-6 { height: 60%; } .cal-bar .lv-7 { height: 70%; }
.cal-bar .lv-8 { height: 80%; } .cal-bar .lv-9 { height: 90%; } .cal-bar .lv-10 { height: 100%; }
.cal-n { font-size: 15px; font-weight: 800; min-height: 21px; }
.cal-o { font-size: 11px; color: var(--ink-3); min-height: 16px; white-space: nowrap; }
.cal-day.is-empty .cal-date { color: var(--ink-3); }

/* ---------------------------------------------------------------- 목록 막대 */
.listbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.scopes { display: flex; gap: 2px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.scopes a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; color: var(--ink-2); font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.scopes a b { font-weight: 800; color: var(--ink); }
.scopes a:hover { color: var(--ink); text-decoration: none; }
.scopes a[aria-current="true"] { color: var(--primary); border-bottom-color: var(--primary); }
.scopes a[aria-current="true"] b { color: var(--primary); }
.listbar-tools { display: flex; gap: 8px; align-items: center; padding-bottom: 6px; }
.listbar-tools select { min-height: 34px; font-size: 13px; }
.kinds { display: flex; flex-wrap: wrap; gap: 6px; }
.kinds a { display: inline-flex; align-items: center; gap: 2px; padding: 4px 11px; border-radius: var(--r-pill); color: var(--ink-2); font-size: 13px; font-weight: 600; background: var(--surface); border: 1px solid var(--line); }
.kinds a small { color: var(--ink-3); font-weight: 600; margin-left: 4px; }
.kinds a:hover { text-decoration: none; color: var(--ink); border-color: var(--line-strong); }
.kinds a[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.kinds a[aria-current="true"] small { color: #c9d2df; }
.kinds a[aria-current="true"] .dot { box-shadow: 0 0 0 2px #fff; }
.picked { font-size: 14px; color: var(--ink-2); }
.picked a { margin-left: 8px; }
.save-line { display: flex; justify-content: flex-end; align-items: center; gap: 10px; font-size: 14px; }

/* ---------------------------------------------------------------- 공고 표 */
.grid-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); overflow: clip; }
.grid-wrap:has(> .grid-plain) { overflow-x: auto; }
.grid { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.grid thead th {
  position: sticky; top: 60px; z-index: 2; background: var(--surface-2); color: var(--ink-2); font-size: 13px; font-weight: 700;
  text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-strong); white-space: nowrap; vertical-align: bottom;
}
.grid thead th small { display: block; font-weight: 500; color: var(--ink-3); font-size: 11px; }
.grid tbody td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.grid tbody tr:last-child td { border-bottom: 0; }
.grid tbody tr:hover td { background: #f7f9fd; }
.grid tbody tr.is-starred td { background: var(--star-soft); }
.grid tbody tr.is-starred:hover td { background: #fff3cc; }
.grid tbody tr.is-closed td { color: var(--ink-3); }
.grid tbody tr.is-closed .t-link { color: var(--ink-2); font-weight: 600; }
.grid td small { display: block; color: var(--ink-3); font-size: 12px; margin-top: 2px; }
.grid .num { text-align: right; }
.grid .none { color: #a9b3c1; }
.c-star { width: 44px; text-align: center; padding-left: 8px !important; padding-right: 0 !important; }
.c-verdict { width: 72px; }
.c-title { min-width: 360px; }
.c-org { width: 170px; }
.c-region { width: 92px; }
.c-amount { width: 118px; text-align: right !important; }
.c-method { width: 112px; }
.c-posted { width: 64px; white-space: nowrap; }
.c-due { width: 96px; text-align: right !important; white-space: nowrap; }
.c-open { width: 70px; white-space: nowrap; }
.c-due .due { font-size: 15px; }
.c-amount b { font-weight: 800; font-size: 14px; color: var(--ink); }
.t-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 5px; }
.t-link { color: var(--ink); font-weight: 700; font-size: 15px; line-height: 1.45; }
.t-link:hover { color: var(--primary); }
.t-link:visited { color: #4b3a8c; }
.t-link.is-cancel { text-decoration: line-through; text-decoration-color: var(--ink-3); color: var(--ink-3); }
.t-sub { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 4px; font-size: 12.5px; color: var(--ink-3); }
.memo-line { color: #7a5a00; font-weight: 600; }
.submit-line { color: var(--teal); font-weight: 600; }
.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.c-region .soft { color: var(--ink-3); }
.star { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 0; background: transparent; border-radius: var(--r-sm); cursor: pointer; padding: 0; color: #b4bdca; }
.star svg { width: 20px; height: 20px; fill: transparent; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; transition: transform .2s cubic-bezier(.16, 1, .3, 1), fill .15s ease-out; }
.star:hover { background: var(--surface-3); color: var(--star); }
.star[aria-pressed="true"] { color: var(--star); }
.star[aria-pressed="true"] svg { fill: var(--star); transform: scale(1.06); }
.star:active svg { transform: scale(.86); }
.list-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.pager { display: flex; gap: 4px; flex-wrap: wrap; }
.pg { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-weight: 600; font-size: 14px; }
.pg:hover { text-decoration: none; border-color: var(--line-strong); color: var(--ink); }
.pg[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pg-gap { align-self: center; color: var(--ink-3); padding: 0 2px; }
.empty { background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); padding: 36px 24px; text-align: center; }
.empty h2 { margin-bottom: 6px; }
.empty p { color: var(--ink-2); }
.empty p + p { margin-top: 14px; }

/* 관리 화면 등 단순 표 */
.grid-plain tbody td { vertical-align: middle; }
.grid-plain .note { color: var(--ink-2); font-size: 13px; max-width: 420px; }
.grid-plain .err { color: var(--danger); font-size: 13px; max-width: 320px; }
.block-sm { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.c-order { width: 76px; }
.order-btns { display: flex; gap: 4px; }
.c-actions { white-space: nowrap; text-align: right; }
.c-actions form { display: inline; }
.strong-link { font-weight: 700; font-size: 15px; color: var(--ink); }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); }
.tabs a { padding: 10px 16px; color: var(--ink-2); font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--ink); text-decoration: none; }
.tabs a[aria-current="page"] { color: var(--primary); border-bottom-color: var(--primary); }
.api-sum { display: flex; gap: 8px; flex-wrap: wrap; }
.log { margin: 0; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; font-size: 12px; line-height: 1.6; max-height: 420px; overflow: auto; white-space: pre-wrap; font-family: "Cascadia Mono", Consolas, monospace; color: var(--ink-2); }

/* ---------------------------------------------------------------- 공고 찾기 */
.searchbox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-1); }
.sb-q { display: flex; gap: 8px; }
.sb-q input { flex: 1; min-height: 46px; font-size: 16px; }
.sb-q .btn { min-height: 46px; padding: 0 22px; font-size: 15px; }
.sb-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.sb-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--ink-2); font-weight: 600; }
.sb-grid label small { display: inline; color: var(--ink-3); font-weight: 400; }

/* ---------------------------------------------------------------- 맞춤 조건 만들기 */
.cond-form { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.cond-main { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.fs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; padding: 20px 22px; border-top: 1px solid var(--line); }
.fs:first-child { border-top: 0; }
.fs-head label, .fs-label { font-weight: 700; font-size: 15px; display: block; }
.fs-head p { color: var(--ink-3); font-size: 13px; margin-top: 4px; }
.fs-body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.fs-body > input { width: 100%; }
.fs-tools { display: flex; gap: 4px; margin: -4px 0 -2px -8px; }
.sub-label { font-weight: 600; font-size: 14px; margin-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chips.fs-body { flex-direction: row; }
.chips-label { font-size: 12px; font-weight: 700; color: var(--ink-3); width: 100%; }
.chips-sub .chips-label { width: auto; margin-right: 4px; }
.chip-group { display: flex; flex-direction: column; gap: 6px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; height: 34px; padding: 0 13px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2); font-size: 14px; font-weight: 600; transition: background-color .15s ease-out, border-color .15s ease-out, color .15s ease-out; }
.chip-sm span { height: 30px; padding: 0 11px; font-size: 13px; }
.chip:hover span { border-color: #9fadc1; color: var(--ink); }
.chip input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip input:checked + span::before { content: ""; width: 10px; height: 6px; margin-right: 6px; border: solid currentColor; border-width: 0 0 2px 2px; transform: translateY(-2px) rotate(-45deg); }
.chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.chip i.dot { margin-right: 6px; }
.range { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.range input { width: 140px; text-align: right; }
.range span { color: var(--ink-2); font-size: 14px; }
.cond-side { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 12px; }
.preview { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px; box-shadow: var(--shadow-1); }
.preview-label { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.preview-n { font-size: 15px; color: var(--ink-2); margin-top: 2px; }
.preview-n b { font-size: 30px; font-weight: 800; color: var(--primary-ink); margin-right: 2px; }
.preview-new { font-size: 13px; color: var(--ink-3); }
.preview-new b { color: #b3261e; }
.preview-list { list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.preview-list li { display: flex; flex-direction: column; }
.preview-list a { color: var(--ink); font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.preview-list span { color: var(--ink-3); font-size: 12px; }
.preview.is-loading .preview-n b { color: var(--ink-3); }
.side-actions { display: flex; flex-direction: column; gap: 6px; }

/* ---------------------------------------------------------------- 공고 상세 */
.detail-head { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 24px; box-shadow: var(--shadow-1); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; }
.detail-head .t-tags { grid-column: 1 / -1; margin: 0; }
.detail-head h1 { font-size: 23px; line-height: 1.4; grid-column: 1; }
.detail-org { grid-column: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; color: var(--ink-2); font-size: 14px; }
.detail-org b { color: var(--ink); }
.detail-actions { grid-column: 2; grid-row: 2 / span 2; display: flex; gap: 8px; align-items: flex-start; }
.star-btn svg { width: 18px; height: 18px; fill: transparent; stroke: var(--star); stroke-width: 1.6; }
.star-btn[aria-pressed="true"] { background: var(--star-soft); border-color: #f0d27a; }
.star-btn[aria-pressed="true"] svg { fill: var(--star); }
.btn-primary svg { width: 14px; height: 14px; }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.detail-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 22px; box-shadow: var(--shadow-1); }
.block > h2 { margin-bottom: 14px; }
.block-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.co-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.co-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.co-head h2 { margin: 0; }
.co-facts { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--ink-2); margin-bottom: 12px; }
.co-list { list-style: none; margin: 0 0 12px; padding: 0; font-size: 13.5px; }
.co-list li { display: flex; gap: 8px; align-items: baseline; padding: 4px 0; border-top: 1px dashed var(--line); }
.co-list li:first-child { border-top: 0; }
.co-list .mono { color: var(--ink-3); min-width: 40px; }
.co-list .exp { margin-left: auto; white-space: nowrap; font-size: 12px; color: var(--ink-3); }
.co-list .exp.is-soon { color: var(--warn); font-weight: 700; }
.co-list .exp.is-over { color: var(--danger); font-weight: 700; }
.co-sub { font-size: 12px; font-weight: 700; color: var(--ink-3); margin: 10px 0 4px; }
.co-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.co-chips .cat.is-main { border-color: var(--primary-line); background: var(--primary-soft); color: var(--primary-ink); font-weight: 600; }
@media (max-width: 1100px) { .co-grid { grid-template-columns: minmax(0, 1fr); } }
.block-quiet { background: var(--surface-2); box-shadow: none; }
.block-quiet h2 { font-size: 15px; }
.kv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.kv-grid > div { display: grid; grid-template-columns: 128px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.kv-grid > div.wide { grid-column: 1 / -1; }
.kv-grid > div:nth-child(odd):not(.wide) { border-right: 1px solid var(--line); }
.kv-grid dt { background: var(--surface-2); color: var(--ink-2); font-size: 13px; font-weight: 600; padding: 9px 12px; }
.kv-grid dd { margin: 0; padding: 9px 12px; font-size: 14px; }
.kv-rows { margin: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.kv-rows > div { display: grid; grid-template-columns: 128px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.kv-rows dt { background: var(--surface-2); color: var(--ink-2); font-size: 13px; font-weight: 600; padding: 10px 12px; }
.kv-rows dd { margin: 0; padding: 10px 12px; font-size: 14px; }
.kv-rows .hint { margin-top: 0; margin-bottom: 6px; }
.limit-group { display: flex; gap: 8px; align-items: baseline; padding: 4px 0; }
.limit-group + .limit-group { border-top: 1px dashed var(--line); }
.lg-no { flex: none; font-size: 12px; font-weight: 700; color: var(--ink-3); background: var(--surface-3); border-radius: 4px; padding: 0 6px; }
.plus { font-style: normal; color: var(--ink-3); margin: 0 2px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; left: 8%; right: 8%; top: 7px; height: 2px; background: var(--line-strong); }
.timeline li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 0 4px; }
.tl-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--line-strong); position: relative; z-index: 1; margin-bottom: 6px; }
.timeline li.is-past .tl-dot { background: var(--line-strong); }
.timeline li.is-next .tl-dot { border-color: var(--primary); background: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.tl-label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.tl-at { font-size: 13px; color: var(--ink); }
.timeline li.is-past .tl-label, .timeline li.is-past .tl-at { color: var(--ink-3); }
.timeline li.is-next .tl-label { color: var(--primary-ink); }
.tl-left { font-size: 12px; font-weight: 800; color: var(--primary-ink); }
.doclist { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.source-note { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.quotes { margin-top: 8px; font-size: 13px; }
.quotes summary { cursor: pointer; color: var(--primary); }
.quotes blockquote { margin: 8px 0 0; padding: 8px 12px; background: var(--surface-2); border-radius: var(--r); color: var(--ink-2); }
.files { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.files li { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.files li:first-child { border-top: 0; }
.ext { flex: none; display: inline-grid; place-items: center; min-width: 44px; height: 22px; padding: 0 4px; border-radius: 4px; font-size: 11px; font-weight: 800; background: var(--surface-3); color: var(--ink-2); }
.ext-hwp, .ext-hwpx { background: #e6f0ff; color: #1f57c3; }
.ext-pdf { background: #fdecea; color: #b42318; }
.ext-xlsx, .ext-xls { background: #e7f6ec; color: #127a3a; }
.ext-zip { background: #f1ecfe; color: #6b35d9; }
.file-kind { flex: none; font-size: 12px; color: var(--ink-3); width: 64px; }
.prose { font-size: 14px; color: var(--ink-2); max-height: 480px; overflow: auto; line-height: 1.7; max-width: 80ch; }
.mini { width: 100%; border-collapse: collapse; font-size: 14px; }
.mini td { padding: 8px 6px; border-top: 1px solid var(--line); vertical-align: middle; }
.mini tr:first-child td { border-top: 0; }
.mini .num { text-align: right; white-space: nowrap; color: var(--ink-2); }
.mini-kind { width: 76px; }
.plain { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.detail-side { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 12px; }
.glance { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px; box-shadow: var(--shadow-1); }
.glance h2 { font-size: 15px; margin-bottom: 10px; }
.glance-due { display: flex; flex-direction: column; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.glance-due .due { font-size: 32px; line-height: 1.1; }
.glance-due span { color: var(--ink-2); font-size: 14px; }
.glance-rows { margin: 0; display: flex; flex-direction: column; }
.glance-rows > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.glance-rows > div:last-child { border-bottom: 0; padding-bottom: 0; }
.glance-rows dt { color: var(--ink-3); }
.glance-rows dd { margin: 0; font-weight: 600; }
.glance-rows dd small { display: block; font-weight: 400; color: var(--ink-3); font-size: 12px; }
.glance-rows dd b { font-size: 16px; }
.verdicts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.verdicts > li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.reasons { width: 100%; margin: 0; padding-left: 18px; font-size: 13px; color: var(--ink-2); }
.memo-form { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.glance h2 label { cursor: text; }

/* ---------------------------------------------------------------- 알림 */
.toast { position: fixed; right: 24px; bottom: 24px; max-width: min(420px, calc(100vw - 32px)); z-index: 60; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--r); box-shadow: var(--shadow-2); font-size: 14px; }
.toast-warn { background: #8a3b04; }

/* ---------------------------------------------------------------- 로그인 */
.bare { display: grid; place-items: center; min-height: 100vh; padding: 16px; }
.bare-main { width: 100%; max-width: 420px; }
.login-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 26px; box-shadow: var(--shadow-2); display: flex; flex-direction: column; gap: 16px; }
.login-card h1 { font-size: 20px; }
.brand-lg { padding: 0; color: var(--ink); }
.notice-box { background: var(--info-soft); border-radius: var(--r); padding: 14px; color: var(--ink-2); }
.notice-box b { color: var(--ink); display: block; margin-bottom: 4px; }

/* ---------------------------------------------------------------- 좁은 화면 */
@media (max-width: 1280px) {
  .c-posted, .grid thead .c-posted { display: none; }
  .sb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .top-search { display: none; }
  .detail { grid-template-columns: minmax(0, 1fr); }
  .detail-side { position: static; }
  .cond-form { grid-template-columns: minmax(0, 1fr); }
  .cond-side { position: static; }
  .fs { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cal-days { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --gutter: 16px; }
  .top-in { height: auto; flex-wrap: wrap; gap: 0 12px; padding-top: 10px; }
  .menu { order: 3; width: 100%; overflow-x: auto; height: 44px; }
  .menu a { padding: 0 12px; white-space: nowrap; }
  .who { margin-left: auto; }
  .who-name small { display: none; }
  .presetbar { flex-wrap: wrap; }
  .board-head { align-items: flex-start; }
  .detail-head { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .detail-actions { grid-column: 1; grid-row: auto; }
  .kv-grid { grid-template-columns: minmax(0, 1fr); }
  .kv-grid > div:nth-child(odd):not(.wide) { border-right: 0; }
  .kv-grid > div, .kv-rows > div { grid-template-columns: 104px minmax(0, 1fr); }
  .timeline { grid-auto-flow: row; gap: 10px; }
  .timeline::before { display: none; }
  .timeline li { flex-direction: row; text-align: left; gap: 10px; }
  .tl-dot { margin: 0; }
  .callout { flex-direction: column; align-items: flex-start; }
  .sb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* 표 → 카드 */
  .grid-wrap:has(> .grid:not(.grid-plain)) { background: transparent; border: 0; box-shadow: none; overflow: visible; }
  .grid:not(.grid-plain) thead { display: none; }
  .grid:not(.grid-plain), .grid:not(.grid-plain) tbody { display: block; }
  .grid:not(.grid-plain) tbody tr {
    display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; grid-template-areas: "star title title" "star org due" "star meta vd";
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 8px; padding: 10px 12px 10px 4px; gap: 4px 8px;
  }
  .grid:not(.grid-plain) tbody td { padding: 0; border: 0; background: transparent !important; width: auto; min-width: 0; text-align: left !important; }
  .grid:not(.grid-plain) .c-star { grid-area: star; padding: 0 !important; }
  .grid:not(.grid-plain) .c-title { grid-area: title; min-width: 0; }
  .grid:not(.grid-plain) .c-org { grid-area: org; font-size: 13px; color: var(--ink-2); }
  .grid:not(.grid-plain) .c-due { grid-area: due; text-align: right !important; }
  .grid:not(.grid-plain) .c-verdict { grid-area: vd; justify-self: end; }
  .grid:not(.grid-plain) .c-region, .grid:not(.grid-plain) .c-amount, .grid:not(.grid-plain) .c-method, .grid:not(.grid-plain) .c-open { display: inline; font-size: 13px; }
  .grid:not(.grid-plain) .c-region { grid-area: meta; }
  .grid:not(.grid-plain) .c-amount, .grid:not(.grid-plain) .c-method, .grid:not(.grid-plain) .c-open { display: none; }
  .grid:not(.grid-plain) tbody tr.is-starred { background: var(--star-soft); }
}
@media (max-width: 560px) {
  .cal-days { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
  .cal-o { display: none; }
  .sb-grid { grid-template-columns: minmax(0, 1fr); }
  .board-actions { width: 100%; }
  .collect { width: 100%; justify-content: space-between; }
  h1 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.small { font-size: 13px; }
.fold { margin-top: 6px; }
.fold > summary { cursor: pointer; list-style: none; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary h3::before { content: "▸ "; color: var(--ink-3); }
.fold[open] > summary h3::before { content: "▾ "; }

/* ---------------------------------------------------------------- 상세 맨 위 "한눈에 보기" */
.glance-top { background: var(--surface); border: 1px solid var(--primary-line); border-radius: var(--r-lg); padding: 18px 22px 16px; box-shadow: var(--shadow-1); }
.gt-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.gt-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.gt-actions .btn svg { width: 15px; height: 15px; }
.gt-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1fr 1.2fr; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.gt-cell { padding: 12px 14px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gt-cell:first-child { border-left: 0; }
.gt-label { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.gt-value { font-size: 17px; font-weight: 800; line-height: 1.35; color: var(--ink); }
.gt-value.gt-small { font-size: 14px; font-weight: 700; }
.gt-cell p { font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.gt-style.gt-price { background: #f6f8fb; }
.gt-style.gt-price .gt-value { color: var(--ink); }
.gt-style.gt-proposal { background: var(--violet-soft); }
.gt-style.gt-proposal .gt-value { color: var(--violet); }
.gt-style.gt-designated { background: var(--surface-3); }
.gt-style.gt-designated .gt-value { color: var(--danger); }
.gt-ch { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.gt-ch li { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-size: 14px; }
.gt-ch b { font-weight: 800; }
.gt-ch small { color: var(--ink-3); font-size: 12px; }
.mode { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 4px; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.mode-online { background: var(--info-soft); color: var(--info); }
.mode-offline { background: var(--warn-soft); color: var(--warn); }
.mode-both { background: var(--violet-soft); color: var(--violet); }
.gt-docs { margin-top: 14px; }
.gt-docs h3 { margin: 0 0 8px; }
.doclist-cols { columns: 2; column-gap: 36px; }
.doclist-cols li { break-inside: avoid; padding: 2px 0; }
.glance-top .source-note { margin-top: 10px; }
/* 목록 평가 방식 꼬리표 */
.style { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 4px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.style-price { background: var(--surface-3); color: var(--ink-2); }
.style-proposal { background: var(--violet-soft); color: var(--violet); }
/* 첨부 줄 */
.files li { flex-wrap: wrap; }
.file-name { flex: 1; min-width: 200px; }
.file-acts { display: flex; gap: 4px; margin-left: auto; }

/* ---------------------------------------------------------------- 첨부 미리 보기 */
.viewer { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 16px; align-items: start; }
.viewer-files { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; position: sticky; top: 76px; max-height: calc(100vh - 96px); overflow: auto; }
.viewer-notice { font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.viewer-files ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.viewer-files a, .viewer-nopreview { display: flex; gap: 8px; align-items: flex-start; padding: 8px; border-radius: var(--r); color: var(--ink-2); font-size: 13px; }
.viewer-files a:hover { background: var(--surface-2); text-decoration: none; color: var(--ink); }
.viewer-files a[aria-current="page"] { background: var(--primary-soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--primary-line); }
.viewer-files b { display: block; font-size: 12px; color: var(--ink-3); }
.viewer-nopreview { opacity: .75; }
.viewer-main { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.viewer-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.viewer-bar h1 { font-size: 15px; display: flex; gap: 6px; align-items: center; }
.viewer-bar h1 svg { width: 16px; height: 16px; flex: none; color: var(--ink-3); }
.viewer-actions { display: flex; gap: 6px; }
.viewer-actions .btn svg { width: 13px; height: 13px; }
.viewer-frame { display: block; width: 100%; height: calc(100vh - 170px); min-height: 560px; border: 0; background: #525659; }
.viewer-wait { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; height: 420px; color: var(--ink-2); text-align: center; padding: 20px; }
.viewer-wait.is-error { color: var(--danger); }
.viewer-wait.is-error .spinner { display: none; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--primary); animation: spin 0.9s linear infinite; }
@media (max-width: 1280px) { .gt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .gt-cell:nth-child(4) { border-left: 0; } .gt-cell:nth-child(n+4) { border-top: 1px solid var(--line); } }
@media (max-width: 900px) {
  .gt-grid { grid-template-columns: minmax(0, 1fr); }
  .gt-cell { border-left: 0; border-top: 1px solid var(--line); }
  .gt-cell:first-child { border-top: 0; }
  .doclist-cols { columns: 1; }
  .viewer { grid-template-columns: minmax(0, 1fr); }
  .viewer-files { position: static; max-height: none; }
}

.viewer-pages { background: #5d6470; padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; max-height: calc(100vh - 170px); min-height: 560px; overflow: auto; }
.viewer-pages img { display: block; width: 100%; max-width: 1000px; height: auto; background: #fff; box-shadow: 0 2px 10px rgb(0 0 0 / 35%); }
.viewer-more { color: #fff; font-size: 13px; }
.viewer-bar h1 small { font-weight: 500; font-size: 12px; margin-left: 4px; }

.mini.fin { font-size: 13px; margin-bottom: 8px; }
.mini.fin th { text-align: left; font-size: 12px; color: var(--ink-3); font-weight: 600; padding: 4px 6px; border-bottom: 1px solid var(--line); }
.mini.fin th.num { text-align: right; }
.mini.fin td { padding: 5px 6px; }

/* ---------------------------------------------------------------- 도움말 (계약 방법) */
.hp-toc { display: flex; flex-wrap: wrap; gap: 6px; }
.hp-toc a { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 600; }
.hp-toc a:hover { border-color: var(--primary-line); background: var(--primary-soft); color: var(--primary-ink); text-decoration: none; }
.hp-sec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 76px; }
.hp-sec .grid-wrap { box-shadow: none; }
.hp-lead { max-width: 820px; }
.hp-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hp-axis { position: relative; border-radius: var(--r); padding: 16px 18px 16px 58px; border: 1px solid; }
.hp-axis h3 { margin: 0 0 4px; font-size: 16px; }
.hp-axis p { color: var(--ink-2); font-size: 14px; }
.hp-axis .hp-list { margin-top: 8px; color: var(--ink); }
.hp-axis-1 { background: var(--primary-soft); border-color: var(--primary-line); }
.hp-axis-2 { background: var(--violet-soft); border-color: #dccffb; }
.hp-num { position: absolute; left: 18px; top: 14px; font-size: 26px; line-height: 1; font-weight: 800; }
.hp-axis-1 .hp-num { color: var(--primary); }
.hp-axis-2 .hp-num { color: var(--violet); }
.hp-where { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 20px; align-items: center; padding: 16px 18px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); }
.hp-where h3 { margin: 0 0 6px; }
.hp-where ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; color: var(--ink-2); font-size: 14px; }
.hp-where .style, .hp-where .flag, .hp-steps .style, .hp-steps .flag, .hp-faq .flag { vertical-align: 1px; }
.hp-mock { border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface); overflow: hidden; font-size: 14px; }
.hp-mock-head { padding: 8px 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink-2); }
.hp-mock-cell { padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.hp-mock-top, .hp-mock-bot { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.hp-mock-bot { color: var(--ink-3); font-size: 12px; }
.hp-mock i { font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 4px; white-space: nowrap; }
.hp-mock-top i { background: var(--primary-soft); color: var(--primary-ink); }
.hp-mock-bot i { background: var(--violet-soft); color: var(--violet); }
.hp-steps { list-style: none; margin: 0; padding: 0; counter-reset: hp; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hp-steps li { counter-increment: hp; position: relative; padding: 14px 16px 14px 50px; border: 1px solid var(--line); border-radius: var(--r); }
.hp-steps li::before { content: counter(hp); position: absolute; left: 14px; top: 13px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.hp-steps b { display: block; margin-bottom: 4px; }
.hp-steps p { color: var(--ink-2); font-size: 14px; }
.hp-table td { vertical-align: top !important; font-size: 14px; color: var(--ink-2); }
.hp-table td:first-child { color: var(--ink); white-space: nowrap; }
.hp-table td b { color: var(--ink); }
.hp-c-name { width: 150px; }
.hp-c-can { width: 120px; }
.hp-sub { margin: 6px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.hp-can { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; white-space: nowrap; }
.hp-can-ok { background: var(--ok-soft); color: var(--ok); }
.hp-can-warn { background: var(--warn-soft); color: var(--warn); }
.hp-can-no { background: var(--danger-soft); color: var(--danger); }
.hp-can-mix { background: var(--info-soft); color: var(--info); }
.hp-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 10px 0 0; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.hp-combos { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.hp-combo { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.hp-combo p { color: var(--ink-2); font-size: 14px; }
.hp-combo-pair { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.hp-combo-pair b { padding: 2px 8px; border-radius: 4px; font-size: 13px; }
.hp-combo-pair b:first-child { background: var(--primary-soft); color: var(--primary-ink); }
.hp-combo-pair b:last-child { background: var(--violet-soft); color: var(--violet); }
.hp-combo-pair span { color: var(--ink-3); font-weight: 700; }
.hp-combo-no { background: var(--surface-2); }
.hp-combo-no b:last-child { background: var(--ink-3); color: #fff; }
.hp-faq { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.hp-faq details + details { border-top: 1px solid var(--line); }
.hp-faq summary { cursor: pointer; padding: 12px 16px; font-weight: 600; list-style-position: inside; }
.hp-faq summary:hover { background: var(--surface-2); }
.hp-faq details[open] summary { background: var(--surface-2); }
.hp-faq details p { padding: 4px 16px 14px 34px; color: var(--ink-2); font-size: 14px; max-width: 900px; }
.hp-words { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.hp-words div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hp-words dt { font-weight: 700; }
.hp-words dd { margin: 0; color: var(--ink-2); font-size: 14px; }
.help-link { font-size: 12px; font-weight: 600; margin-left: 6px; }
.th-help { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: 4px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--ink-3); font-size: 11px; font-weight: 700; line-height: 1; vertical-align: 1px; }
.th-help:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
@media (max-width: 1100px) {
  .hp-steps { grid-template-columns: minmax(0, 1fr); }
  .hp-words { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .hp-sec { padding: 18px 16px; }
  .hp-two, .hp-where { grid-template-columns: minmax(0, 1fr); }
  .hp-table { min-width: 680px; }
  .hp-table td:first-child { white-space: normal; }
  .hp-words div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* ---------------------------------------------------------------- 구분·줄 펼침·주의할 점 */
.dot.kind-edu { background: #b45309; }
.flag-warn { background: #fff1e6; color: #b45309; }
.verdict-btn { border: 0; cursor: pointer; font: inherit; font-size: 12px; font-weight: 800; }
.verdict-btn:hover { filter: brightness(.95); box-shadow: 0 0 0 2px var(--primary-line); }
.verdict-btn[aria-expanded="true"] { box-shadow: 0 0 0 2px var(--primary); }
.more-btn { border: 0; background: none; padding: 0; color: var(--primary); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.more-btn::after { content: " ▾"; }
.more-btn[aria-expanded="true"]::after { content: " ▴"; }
.more-btn:hover { text-decoration: underline; }
.grid tbody tr.row-more td { background: #f7f9fd; padding: 12px 16px 14px 56px; border-bottom: 1px solid var(--line-strong); }
.grid tbody tr.row-more:hover td { background: #f7f9fd; }
.more-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 24px; }
.more-grid h4 { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); display: flex; gap: 8px; align-items: center; }
.more-grid p { font-size: 13px; color: var(--ink-2); margin-bottom: 4px; }
.more-grid p b { color: var(--ink); margin-right: 4px; }
.why { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
.why li { padding-left: 18px; position: relative; color: var(--ink-2); }
.why li::before { position: absolute; left: 0; font-weight: 800; }
.why li.is-ok::before { content: "✓"; color: var(--ok); }
.why li.is-no::before { content: "✕"; color: var(--danger); }
.why li.is-no { color: var(--danger); }
.why li.is-check::before { content: "?"; color: var(--warn); }
.more-warn ul { margin: 0; padding-left: 18px; font-size: 13px; color: #8a3b04; }
.more-links { margin-top: 8px; }
.gt-warn { margin-top: 12px; background: #fff7ed; border: 1px solid #fcd9b6; border-radius: var(--r); padding: 10px 14px; }
.gt-warn h3 { margin: 0 0 6px; color: #9a3412; }
.gt-warn ul { margin: 0; padding-left: 20px; font-size: 14px; color: #7c2d12; display: flex; flex-direction: column; gap: 3px; }
.quotes.inline { display: inline; margin-left: 4px; font-size: 12px; }
.quotes.inline summary { display: inline; }
@media (max-width: 900px) {
  .grid:not(.grid-plain) tbody tr.row-more { display: block; grid-template-columns: none; padding: 10px; background: #f7f9fd; }
  .grid tbody tr.row-more td { padding: 0; display: block; }
}

/* ---------------------------------------------------------------- 미리 보기 팝업 */
.popup { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; background: rgb(15 23 42 / 55%); }
.popup[hidden] { display: none; }
.popup-box { width: min(1400px, 100%); height: min(94vh, 1100px); background: var(--surface); border-radius: var(--r-lg); box-shadow: 0 24px 60px rgb(0 0 0 / 30%); display: flex; flex-direction: column; overflow: hidden; }
.popup-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 10px 8px 16px; border-bottom: 1px solid var(--line); }
.popup-bar b { font-size: 14px; }
.popup-bar .btn { min-height: 32px; }
.popup-frame { flex: 1; width: 100%; border: 0; background: var(--canvas); }
body.popup-open { overflow: hidden; }
.popup-body { background: var(--canvas); }
.popup-body .viewer { padding: 12px; gap: 12px; }
.popup-body .viewer-files { top: 12px; max-height: calc(100vh - 24px); }
.popup-body .viewer-pages, .popup-body .viewer-frame { max-height: calc(100vh - 80px); min-height: 0; height: calc(100vh - 80px); }
@media (max-width: 900px) { .popup { padding: 0; } .popup-box { height: 100vh; border-radius: 0; } }

/* ---------------------------------------------------------------- 입찰 결과 */
.entries { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.entries li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.entries li b { min-width: 64px; }
.entries form { display: inline; }
.rank-wrap { margin-top: 12px; }
.rank-wrap summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--ink-2); }
.mini.rank { margin-top: 8px; font-size: 13px; }
.mini.rank th { text-align: left; font-size: 12px; color: var(--ink-3); font-weight: 600; padding: 4px 6px; border-bottom: 1px solid var(--line); }
.mini.rank th.num { text-align: right; }
.mini.rank tr.is-ours td { background: var(--star-soft); font-weight: 700; }
.ours-tag { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 4px; background: var(--primary); color: #fff; font-size: 11px; }

/* ---------------------------------------------------------------- 사전규격·발주계획 단계 안내 */
.stage-note { background: var(--info-soft); border: 1px solid #bfd6fb; border-radius: var(--r); padding: 10px 14px; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.stage-note b { color: var(--info); margin-right: 4px; }
.stage-note-soft { background: var(--surface-2); border-color: var(--line); }
.stage-links { display: block; margin-top: 2px; }
.stage-links a { font-weight: 700; margin-right: 10px; }
.dot.kind-plan { background: var(--teal); }

/* ---------------------------------------------------------------- 분야 밖 · 업종 맞음 */
.flag-fit { background: var(--ok-soft); color: var(--ok); }
.preset-fit .preset-name::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--ok); vertical-align: 1px; }
.callout-fit { background: var(--ok-soft); border-color: #b7dfc6; }
.check-fit b { color: var(--ink); }
.chip-lic span { gap: 6px; }
.chip-lic small { color: var(--ink-3); font-weight: 500; }

/* ---------------------------------------------------------------- 맞춤 조건: 묶음 제목 · 긴 목록 찾기 · 회사 표시 */
.fs-group { font-size: 13px; font-weight: 800; color: var(--ink-2); letter-spacing: .02em; margin: 0; padding: 12px 22px; background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fs-group + .fs { border-top: 0; }
.chip[hidden] { display: none; }
.chip-n { color: var(--ink-3); font-weight: 500; margin-left: 5px; font-size: 12px; }
.chip input:checked + span .chip-n { color: rgba(255, 255, 255, .85); }
.chip-find { display: flex; align-items: center; gap: 10px; }
.chip-find input { flex: 1; max-width: 440px; }
.chip-find-n { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.chip-box { max-height: 252px; overflow-y: auto; padding: 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); align-content: flex-start; }
.chip.is-zero span { color: var(--ink-3); }
.chip.is-ours input:not(:checked) + span { border-color: #9cc7ab; }
.chip.is-co input:not(:checked) + span { border-color: var(--ok); }
.chip.is-co span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-left: 6px; flex: none; }
.chip.is-co input:checked + span::after { background: #fff; }
.co-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin: 0 2px; vertical-align: 1px; }
.co-legend { font-size: 13px; color: var(--ink-2); }
.select-inline { width: auto; min-width: 220px; }

/* ---------------------------------------------------------------- 달력: 여러 날 · 기간, 목록 막대 마감 기간 */
.cal-tip { margin-left: auto; font-size: 12px; color: var(--ink-3); }
.cal-tip kbd { font: 600 11px/1 ui-monospace, Consolas, monospace; padding: 2px 5px; border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 4px; background: var(--surface); color: var(--ink-2); }
.cal-scope { margin-left: 8px; font-size: 12px; color: var(--primary-ink); background: var(--primary-soft); padding: 2px 8px; border-radius: var(--r-pill); }
.cal-day { user-select: none; }
.lb-dates { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); margin-right: 6px; }
.lb-dates input[type=date] { height: 34px; padding: 0 8px; font-size: 13px; width: auto; }
.lb-clear { font-size: 12px; }

/* ---------------------------------------------------------------- 지난 과제 통계 (/history, 입찰 결과 탭)
   결과 색: 선정·수행 초록 · 진행 중 청록 · 결과 기다림 파랑 · 제출·미선정 주황 (dataviz 검증: 이웃 CVD ΔE 15.2 이상, 흰 바탕)
   미제출·검토만 · 모름은 '아무것도 안 됨'이라 회색 두 단. 글자는 색을 입히지 않고 옆의 색 네모로 구분한다. */
.hist { --hr-won: #008300; --hr-doing: #1baf7a; --hr-wait: #2a78d6; --hr-lost: #eb6834; --hr-skip: #b4bcc8; --hr-unk: #dde2e9;
  display: flex; flex-direction: column; gap: 14px; }
.hist-updated { color: var(--ink-3); font-size: 13px; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; flex: none; background: var(--hr-unk); }
.sw-won { background: var(--hr-won); } .sw-doing { background: var(--hr-doing); } .sw-wait { background: var(--hr-wait); }
.sw-lost { background: var(--hr-lost); } .sw-skip { background: var(--hr-skip); } .sw-unk { background: var(--hr-unk); box-shadow: inset 0 0 0 1px var(--line-strong); }
.hist-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 0; }
.hist-kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); padding: 11px 16px 12px; min-width: 0; }
.hist-kpi dt { font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hist-kpi dd { margin: 2px 0 0; font-size: 28px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; font-variant-numeric: proportional-nums; }
.hist-kpi small { display: block; font-size: 12px; color: var(--ink-3); }
.hist-kpi-main { border-color: var(--primary-line); background: var(--primary-soft); }
.hist-kpi-main dd { color: var(--primary-ink); }
.hist-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; font-size: 13px; color: var(--ink-2); font-weight: 600; }
.hist-legend li.muted { font-weight: 400; margin-left: auto; }
.hist-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.hist-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); padding: 12px 16px 10px; min-width: 0; }
.hist-card h2 { font-size: 15px; }
.hist-card .hint { margin-top: 2px; font-size: 12px; }
.hist-wide { grid-column: span 2; }
.hc { display: block; width: 100%; height: auto; margin-top: 6px; overflow: visible; }
.hc text { font-size: 12px; fill: var(--ink-2); }
.hc .hc-lab { fill: var(--ink); font-weight: 600; }
.hc .hc-axis { fill: var(--ink-3); font-size: 11px; }
.hc .hc-grid { stroke: var(--line); stroke-width: 1; }
.hc .hc-base { stroke: var(--line-strong); stroke-width: 1; }
.hc .hc-total { fill: var(--ink-2); font-weight: 600; }
.hc .hc-rate { fill: var(--ink); font-weight: 700; }
.hc .hc-track { fill: #e3f1e3; }
.hc .r-won { fill: var(--hr-won); } .hc .r-doing { fill: var(--hr-doing); } .hc .r-wait { fill: var(--hr-wait); }
.hc .r-lost { fill: var(--hr-lost); } .hc .r-skip { fill: var(--hr-skip); } .hc .r-unk { fill: var(--hr-unk); }
.hc .t-in { font-size: 11px; font-weight: 700; fill: #fff; pointer-events: none; }
.hc .t-in.t-dark { fill: var(--ink); }
.hc a { cursor: pointer; }
.hc a:hover .hc-seg { opacity: .8; }
.hc a:focus { outline: none; }
.hc a:focus-visible .hc-seg { stroke: var(--ink); stroke-width: 2; }
.hist-numbers { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 8px 14px; }
.hist-numbers summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--ink-2); }
.hist-numbers-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 10px 0 6px; }
.hist-num { font-size: 13px; border: 1px solid var(--line); border-radius: var(--r); }
.hist-num th, .hist-num td { padding: 5px 8px !important; }
.hist-num tbody th { text-align: left; font-weight: 600; }
.hist-num tr.is-sum td, .hist-num tr.is-sum th { background: var(--surface-2); font-weight: 700; }
.hist-list { display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 72px; }
.hist-list-head { display: flex; justify-content: space-between; align-items: center; gap: 10px 16px; flex-wrap: wrap; }
.hist-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.hist-filter select { min-height: 34px; font-size: 13px; width: auto; }
.hist-list .kinds a .sw { margin-right: 4px; }
.hist-table td small { display: block; }
.hist-table .hist-title { min-width: 300px; }
.hist-table .hist-title b { font-weight: 700; color: var(--ink); }
.hist-table .note { max-width: 360px; }
.hr-tag { display: inline-flex; align-items: center; white-space: nowrap; font-weight: 700; font-size: 13px; color: var(--ink); }
.hr-tag::before { content: ""; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; background: var(--hr-unk); }
.hr-won::before { background: var(--hr-won); } .hr-doing::before { background: var(--hr-doing); } .hr-wait::before { background: var(--hr-wait); }
.hr-lost::before { background: var(--hr-lost); } .hr-skip::before { background: var(--hr-skip); } .hr-unk::before { box-shadow: inset 0 0 0 1px var(--line-strong); }
@media (max-width: 1400px) { .hist-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .hist-grid, .hist-numbers-in { grid-template-columns: minmax(0, 1fr); } .hist-wide { grid-column: auto; } .hist-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- 지난 과제 통계 2: 나라장터 투찰 기록 위 · 드라이브 과제 아래 · 회사 탭 · 근거 표시 */
.hist-cos { border-bottom: 1px solid var(--line); }
.hist-cos a { flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 16px 9px; line-height: 1.3; }
.hist-cos a small { font-size: 12px; font-weight: 500; color: var(--ink-3); }
.hist-cos a[aria-current="true"] small { color: var(--primary-ink); }
.hist-sec { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.hist-sec + .hist-sec { border-top: 2px solid var(--line-strong); padding-top: 18px; margin-top: 6px; }
.hist-sec-head { display: flex; flex-direction: column; gap: 4px; }
.hist-sec-head h2 { font-size: 19px; }
.hist-cover { font-size: 13px; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 10px; align-self: flex-start; }
.hist-cover b { color: var(--ink); }
.hist-card h3 { font-size: 15px; margin: 0; }
.hist-list h3 { font-size: 16px; margin: 0; }
.co-name { color: var(--ink); font-weight: 800; }
.co-need { color: var(--warn); font-weight: 700; font-size: 13px; }
.src { display: inline-block; font-size: 11px; font-weight: 700; padding: 0 6px; border-radius: var(--r-sm); margin-top: 3px; white-space: nowrap; background: var(--surface-3); color: var(--ink-2); }
.src-g2b { background: var(--primary-soft); color: var(--primary-ink); }
.src-notice { background: var(--teal-soft); color: var(--teal); }
.src-manual { background: var(--violet-soft); color: var(--violet); }
.src-record { background: var(--ok-soft); color: var(--ok); }
.src-files { background: transparent; color: var(--ink-3); font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); }
.hist-table td small.src { display: inline-block; }
.hist-table .note.is-guess { color: var(--ink-3); }
.hist-table .hist-folder { color: var(--teal); }

/* ---------------------------------------------------------------- 조달 분류: 대분류 묶음 */
.chip-box-grouped { display: block; }
.chip-sub { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px dashed var(--line); }
.chip-sub:last-child { border-bottom: 0; margin-bottom: 0; }
.chip-sub[hidden] { display: none; }
.chip-head { width: 100%; display: flex; align-items: baseline; gap: 8px; font-size: 12.5px; color: var(--ink-2); }
.chip-head small { color: var(--ink-3); }
.link-btn { background: none; border: 0; padding: 0; color: var(--primary-ink); font-size: 12px; font-weight: 700; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- 목록 위 바로 거르기 */
.quickbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 10px 0 12px; padding: 8px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); font-size: 13px; }
.quickbar.is-on { border-color: var(--primary); box-shadow: inset 3px 0 0 var(--primary); }
.qb-title { font-weight: 800; color: var(--ink-2); }
.qb-group { display: flex; flex-wrap: wrap; gap: 4px; }
.chip-xs span { height: 28px; padding: 0 10px; font-size: 12.5px; }
.qb-field { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); }
.qb-field select, .qb-field input { height: 30px; font-size: 13px; padding: 0 8px; width: auto; }
.qb-amount input { width: 80px; }
.qb-more { position: relative; }
.qb-more summary { cursor: pointer; list-style: none; height: 30px; display: inline-flex; align-items: center; gap: 4px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); color: var(--ink-2); font-weight: 600; }
.qb-more summary::-webkit-details-marker { display: none; }
.qb-more[open] summary, .qb-more[data-on] summary { border-color: var(--primary); color: var(--primary-ink); }
.qb-pop { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; min-width: 330px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 10px 28px rgba(20, 30, 60, .14); display: grid; gap: 8px; }
.qb-pop .btn { justify-self: start; }
.qb-clear { font-size: 12.5px; }

/* ---------------------------------------------------------------- 지난 과제 통계 3: 사람 확인([확인] 폼) · 자료로 판단 · 확인 필요 */
.src-doc { background: var(--warn-soft); color: var(--warn); font-weight: 600; }
.src-manual { background: var(--violet-soft); color: var(--violet); }
.diff-tag { display: inline-block; margin: 3px 0 0 4px; padding: 0 6px; border-radius: var(--r-sm); font-size: 11px; font-weight: 700; background: var(--danger-soft); color: var(--danger); }
.hist-need { font-size: 13px; color: var(--ink-2); background: var(--warn-soft); border: 1px solid #f0c98f; border-radius: var(--r); padding: 6px 10px; align-self: flex-start; }
.hist-need b { color: var(--warn); }
.hist-need a { font-weight: 700; }
.kinds a.kind-need { border-style: dashed; border-color: #e0b878; color: var(--warn); }
.kinds a.kind-need[aria-current="true"] { background: var(--warn); border-color: var(--warn); color: #fff; }
.hist-table .cf-cell { width: 1%; white-space: nowrap; vertical-align: middle; }
.cf-btn { min-height: 28px; padding: 0 10px; font-size: 12px; }
.cf-btn.is-done { color: var(--violet); border-color: #d6c8fb; }
.cf-btn[aria-expanded="true"] { background: var(--primary-soft); border-color: var(--primary-line); color: var(--primary-ink); }
.grid tbody tr.cf-row td { background: var(--surface-2); padding: 10px 14px 12px; }
.grid tbody tr.cf-row:hover td { background: var(--surface-2); }
.cf-box { display: flex; flex-direction: column; gap: 8px; }
.cf-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; }
.cf-field { display: flex; flex-direction: column; gap: 3px; margin: 0; padding: 0; border: 0; font-size: 12px; color: var(--ink-3); font-weight: 600; }
.cf-field select, .cf-field input[type=text] { min-height: 32px; font-size: 13px; }
.cf-cos { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.cf-cos legend { padding: 0; margin-bottom: 3px; width: 100%; }
.cf-co { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--ink); font-weight: 600; }
.cf-memo { flex: 1; min-width: 260px; }
.cf-memo input { width: 100%; }
.cf-note { font-size: 12px; color: var(--ink-3); }
.cf-box form[data-confirm] { display: inline; }

/* ---------------------------------------------------------------- 지난 과제 통계 4: 수주 경로(파랑·청록·보라·분홍·노랑 — dataviz 검증, 노랑 위 글자는 검게) */
.hist { --rt-comp: #2a78d6; --rt-prvt: #1baf7a; --rt-own: #6250d6; --rt-sup: #e87ba4; --rt-rec: #eda100; }
.sw.rt-comp { background: var(--rt-comp); } .sw.rt-prvt { background: var(--rt-prvt); } .sw.rt-own { background: var(--rt-own); }
.sw.rt-sup { background: var(--rt-sup); } .sw.rt-rec { background: var(--rt-rec); }
.hc .r-rt-comp { fill: var(--rt-comp); } .hc .r-rt-prvt { fill: var(--rt-prvt); } .hc .r-rt-own { fill: var(--rt-own); }
.hc .r-rt-sup { fill: var(--rt-sup); } .hc .r-rt-rec { fill: var(--rt-rec); }
.rt-tag { display: flex; align-items: center; font-size: 12px; font-weight: 700; color: var(--ink-2); margin-top: 3px; white-space: nowrap; }
.rt-tag .sw { margin-right: 5px; }
.kpi-routes { display: flex; flex-direction: column; gap: 1px; font-size: 12px !important; font-weight: 500 !important; line-height: 1.45 !important; letter-spacing: 0 !important; }
.kpi-routes span { display: flex; align-items: center; color: var(--ink-2); }
.kpi-routes b { margin-left: auto; color: var(--ink); font-weight: 700; padding-left: 8px; }
.hist-subhead { font-size: 16px; margin: 10px 0 0; }
.hist-subhead small { font-weight: 500; }
.kinds .kinds-sep { width: 1px; align-self: stretch; background: var(--line-strong); margin: 2px 4px; }

/* ---------------------------------------------------------------- 구분 칩 여러 개 고르기 */
.kinds a.is-on small { color: inherit; opacity: .8; }
.kinds-note { align-self: center; font-size: 12.5px; color: var(--ink-3); margin-left: 4px; }

/* =============================================================== 디자인 개편 1: 아이콘·차트·구분 색 (2026-11-24)
   구분 색 = 검증된 범주 색 8칸, GROUPS 순서대로(색약 구분 검사 통과). 판정 = 상태 색 + 아이콘. 글자는 늘 글자 색. */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
.g-bid_proposal { --c: #2a78d6; } .g-bid_price { --c: #eb6834; } .g-prespec { --c: #1baf7a; } .g-plan { --c: #eda100; }
.g-support { --c: #e87ba4; } .g-edu { --c: #008300; } .g-event { --c: #6250d6; } .g-finance { --c: #e34948; }
.tone-ok { --c: #0ca30c; } .tone-serious { --c: #ec835a; } .tone-warn { --c: #fab219; } .tone-no { --c: #d03b3b; } .tone-muted { --c: #b8c0cc; }
.sw { display: inline-block; width: 9px; height: 9px; border-radius: 2px; background: var(--c, var(--primary)); flex: none; }
.sw-open { --c: #c9d1dc; }

/* 위 메뉴 */
.menu a { display: inline-flex; align-items: center; gap: 6px; }
.menu .ic { width: 17px; height: 17px; opacity: .8; }
.menu a[aria-current="page"] .ic { opacity: 1; }

/* 범위 칸 (접수 중 · 새로 · 3일 안 마감 · 마감) — 숫자를 크게, 아이콘으로 구분 */
.listbar { border-bottom: 0; padding-top: 4px; }
.scopes { gap: 8px; padding: 6px 0 8px; }
.scopes a { gap: 10px; padding: 7px 16px 7px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); margin: 0; box-shadow: var(--shadow-1); }
.scopes a .ic { width: 34px; height: 34px; padding: 7px; border-radius: 9px; background: var(--surface-3); color: var(--ink-2); }
.scopes .st { display: flex; flex-direction: column; line-height: 1.15; }
.scopes .st-label { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.scopes a b { font-size: 20px; letter-spacing: -.01em; }
.scopes a:hover { border-color: var(--line-strong); }
.scopes a[aria-current="true"] { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), var(--shadow-1); color: var(--ink); }
.scopes a[aria-current="true"] .ic { background: var(--primary); color: #fff; }
.scopes a[aria-current="true"] b { color: var(--ink); }
.scopes a.scope-new .ic { background: #e9f3ff; color: #1c5cab; }
.scopes a.is-hot .ic { background: var(--danger-soft); color: var(--danger); }
.scopes a.is-hot b { color: var(--danger); }

/* 구분 칩: 색 견본 + 아이콘 */
.kinds a { gap: 5px; }
.kinds a .ic { width: 14px; height: 14px; color: var(--ink-3); }
.kinds a[aria-current="true"] .ic { color: #fff; }

/* 2주 달력 + 구분 도넛 */
.board-viz { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; align-items: stretch; margin-top: 14px; }
.board-viz .cal { margin: 0; }
.viz-title { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--ink); margin: 0 10px 0 0; }
.viz-title .ic { color: var(--primary); }
.viz-title small { font-weight: 600; color: var(--ink-3); font-size: 12px; }
.cal-legend { flex-wrap: wrap; row-gap: 4px; }
.cal-legend .lg-item { display: inline-flex; align-items: center; gap: 4px; margin-right: 6px; color: var(--ink-2); }
.cal-legend .lg-item b { color: var(--ink); font-variant-numeric: tabular-nums; }
.cal-day { --day-bg: var(--surface); }
.cal-day:hover { --day-bg: var(--surface-2); }
.cal-day.is-today { --day-bg: var(--primary-soft); }
.cal-day.is-picked { --day-bg: #dfe8ff; background: #dfe8ff; border-color: transparent; box-shadow: inset 0 -3px 0 var(--primary); }
.cal-bar { height: 60px; }
.cal-bar .cal-stack { display: flex; flex-direction: column-reverse; width: 62%; max-width: 24px; }
.cal-bar .cal-stack i { display: block; width: 100%; max-width: none; box-sizing: border-box; background: var(--c); border-radius: 0; }
.cal-bar .cal-stack i:not(:last-child) { border-top: 2px solid var(--day-bg); }
.cal-bar .cal-stack i:last-child { border-radius: 4px 4px 0 0; }
.viz-side { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px 14px; box-shadow: var(--shadow-1); min-width: 0; }
.viz-side .viz-title { margin-bottom: 8px; flex-wrap: wrap; }
.viz-donut { display: flex; align-items: center; gap: 12px; }
.donut { flex: none; }
.donut-track { fill: none; stroke: var(--surface-3); stroke-width: 18; }
.donut-seg { fill: none; stroke: var(--c); stroke-width: 18; transition: stroke-width .15s ease-out; }
.donut a:hover .donut-seg, .donut a:focus .donut-seg { stroke-width: 23; }
.donut-value { font-size: 24px; font-weight: 800; fill: var(--ink); }
.donut-label { font-size: 11px; font-weight: 600; fill: var(--ink-3); }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: 12.5px; flex: 1; min-width: 0; }
.legend li, .legend li > a { display: flex; align-items: center; gap: 6px; color: var(--ink-2); min-width: 0; }
.legend li > a { flex: 1; padding: 1px 4px; margin: 0 -4px; border-radius: 5px; }
.legend li > a:hover { background: var(--surface-2); text-decoration: none; color: var(--ink); }
.legend .ic { width: 13px; height: 13px; color: var(--ink-3); }
.legend .lg-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.legend b { color: var(--ink); font-variant-numeric: tabular-nums; }
.legend small { width: 32px; text-align: right; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.legend .is-zero { opacity: .45; }

/* 가로 막대 · 비율 막대 */
.hbars { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hb-row { display: grid; grid-template-columns: minmax(96px, 36%) minmax(0, 1fr) auto; align-items: center; gap: 8px; color: var(--ink-2); font-size: 12.5px; }
a.hb-row:hover { text-decoration: none; color: var(--ink); }
a.hb-row:hover .hb-name { text-decoration: underline; }
.hb-label { display: flex; align-items: center; gap: 5px; min-width: 0; }
.hb-label .ic { width: 14px; height: 14px; color: var(--ink-3); }
.hb-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-track { display: block; height: 12px; }
.hb-fill { display: block; height: 12px; background: var(--c); border-radius: 0 4px 4px 0; }
.hb-val { min-width: 36px; text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.hb-val small { margin-left: 4px; font-weight: 500; color: var(--ink-3); }
.segbar { display: flex; gap: 2px; height: 28px; width: 100%; }
.seg { display: flex; align-items: center; padding-left: 8px; background: var(--c); border-radius: 4px; min-width: 3px; overflow: hidden; }
.seg b { font-size: 12px; font-weight: 700; color: #fff; white-space: nowrap; }
.seg.g-prespec b, .seg.g-plan b, .seg.g-support b, .seg.tone-warn b { color: #1d1d1b; }

/* 회사 판정 비율 */
.verdict-viz { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; margin: 12px 0 6px; }
.vv-title { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--ink); }
.vv-title .ic { color: var(--primary); }
.verdict-tabs a .sw { margin-right: 2px; }
.verdict .ic { width: 13px; height: 13px; margin-right: 3px; vertical-align: -2px; }

/* 공고 표: 구분 표시 · 아이콘 · 금액 막대 */
.gtag { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px 0 6px; border-radius: 6px; font-size: 12px; font-weight: 700; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line-strong); white-space: nowrap; }
.gtag .sw { width: 8px; height: 8px; }
.gtag .ic { width: 14px; height: 14px; color: var(--ink-3); }
.flag .ic { width: 13px; height: 13px; margin-right: 3px; }
.submit-line .ic { width: 14px; height: 14px; margin-right: 3px; vertical-align: -2px; }
.c-due .due .ic { width: 13px; height: 13px; margin-right: 2px; vertical-align: -2px; }
.amt-bar { display: block; width: 72px; max-width: 100%; height: 4px; margin: 5px 0 0 auto; background: var(--surface-3); border-radius: 2px; }
.amt-bar i { display: block; height: 4px; border-radius: 2px; background: #86b6ef; }

/* 길이·높이 (0~100%) — CSP 로 style 속성을 못 써서 클래스로 */
.w-0{width:0%}.h-0{height:0%}
.w-1{width:1%}.h-1{height:1%}
.w-2{width:2%}.h-2{height:2%}
.w-3{width:3%}.h-3{height:3%}
.w-4{width:4%}.h-4{height:4%}
.w-5{width:5%}.h-5{height:5%}
.w-6{width:6%}.h-6{height:6%}
.w-7{width:7%}.h-7{height:7%}
.w-8{width:8%}.h-8{height:8%}
.w-9{width:9%}.h-9{height:9%}
.w-10{width:10%}.h-10{height:10%}
.w-11{width:11%}.h-11{height:11%}
.w-12{width:12%}.h-12{height:12%}
.w-13{width:13%}.h-13{height:13%}
.w-14{width:14%}.h-14{height:14%}
.w-15{width:15%}.h-15{height:15%}
.w-16{width:16%}.h-16{height:16%}
.w-17{width:17%}.h-17{height:17%}
.w-18{width:18%}.h-18{height:18%}
.w-19{width:19%}.h-19{height:19%}
.w-20{width:20%}.h-20{height:20%}
.w-21{width:21%}.h-21{height:21%}
.w-22{width:22%}.h-22{height:22%}
.w-23{width:23%}.h-23{height:23%}
.w-24{width:24%}.h-24{height:24%}
.w-25{width:25%}.h-25{height:25%}
.w-26{width:26%}.h-26{height:26%}
.w-27{width:27%}.h-27{height:27%}
.w-28{width:28%}.h-28{height:28%}
.w-29{width:29%}.h-29{height:29%}
.w-30{width:30%}.h-30{height:30%}
.w-31{width:31%}.h-31{height:31%}
.w-32{width:32%}.h-32{height:32%}
.w-33{width:33%}.h-33{height:33%}
.w-34{width:34%}.h-34{height:34%}
.w-35{width:35%}.h-35{height:35%}
.w-36{width:36%}.h-36{height:36%}
.w-37{width:37%}.h-37{height:37%}
.w-38{width:38%}.h-38{height:38%}
.w-39{width:39%}.h-39{height:39%}
.w-40{width:40%}.h-40{height:40%}
.w-41{width:41%}.h-41{height:41%}
.w-42{width:42%}.h-42{height:42%}
.w-43{width:43%}.h-43{height:43%}
.w-44{width:44%}.h-44{height:44%}
.w-45{width:45%}.h-45{height:45%}
.w-46{width:46%}.h-46{height:46%}
.w-47{width:47%}.h-47{height:47%}
.w-48{width:48%}.h-48{height:48%}
.w-49{width:49%}.h-49{height:49%}
.w-50{width:50%}.h-50{height:50%}
.w-51{width:51%}.h-51{height:51%}
.w-52{width:52%}.h-52{height:52%}
.w-53{width:53%}.h-53{height:53%}
.w-54{width:54%}.h-54{height:54%}
.w-55{width:55%}.h-55{height:55%}
.w-56{width:56%}.h-56{height:56%}
.w-57{width:57%}.h-57{height:57%}
.w-58{width:58%}.h-58{height:58%}
.w-59{width:59%}.h-59{height:59%}
.w-60{width:60%}.h-60{height:60%}
.w-61{width:61%}.h-61{height:61%}
.w-62{width:62%}.h-62{height:62%}
.w-63{width:63%}.h-63{height:63%}
.w-64{width:64%}.h-64{height:64%}
.w-65{width:65%}.h-65{height:65%}
.w-66{width:66%}.h-66{height:66%}
.w-67{width:67%}.h-67{height:67%}
.w-68{width:68%}.h-68{height:68%}
.w-69{width:69%}.h-69{height:69%}
.w-70{width:70%}.h-70{height:70%}
.w-71{width:71%}.h-71{height:71%}
.w-72{width:72%}.h-72{height:72%}
.w-73{width:73%}.h-73{height:73%}
.w-74{width:74%}.h-74{height:74%}
.w-75{width:75%}.h-75{height:75%}
.w-76{width:76%}.h-76{height:76%}
.w-77{width:77%}.h-77{height:77%}
.w-78{width:78%}.h-78{height:78%}
.w-79{width:79%}.h-79{height:79%}
.w-80{width:80%}.h-80{height:80%}
.w-81{width:81%}.h-81{height:81%}
.w-82{width:82%}.h-82{height:82%}
.w-83{width:83%}.h-83{height:83%}
.w-84{width:84%}.h-84{height:84%}
.w-85{width:85%}.h-85{height:85%}
.w-86{width:86%}.h-86{height:86%}
.w-87{width:87%}.h-87{height:87%}
.w-88{width:88%}.h-88{height:88%}
.w-89{width:89%}.h-89{height:89%}
.w-90{width:90%}.h-90{height:90%}
.w-91{width:91%}.h-91{height:91%}
.w-92{width:92%}.h-92{height:92%}
.w-93{width:93%}.h-93{height:93%}
.w-94{width:94%}.h-94{height:94%}
.w-95{width:95%}.h-95{height:95%}
.w-96{width:96%}.h-96{height:96%}
.w-97{width:97%}.h-97{height:97%}
.w-98{width:98%}.h-98{height:98%}
.w-99{width:99%}.h-99{height:99%}
.w-100{width:100%}.h-100{height:100%}

/* 디자인 개편 1-보정: 달력 막대 칸 키움(쌓은 막대가 숫자 줄로 넘치지 않게), 도넛 옆 범례 넓힘 */
.cal-day { grid-template-rows: auto 76px auto auto; justify-items: stretch; }
.cal-bar { height: 76px; }
.cal-n { position: relative; z-index: 1; }
.board-viz { grid-template-columns: minmax(0, 1fr) 360px; }

/* 위쪽 메뉴: 좁은 화면에서도 한 줄 (아이콘을 붙인 뒤 1280px 에서 꺾이던 것) */
.menu a { white-space: nowrap; }
@media (max-width: 1440px) { .top-in { gap: 18px; } .menu a { padding: 0 10px; font-size: 14.5px; } .top-search { width: min(280px, 22vw); } }
@media (max-width: 1320px) { .menu .ic { display: none; } .who-name small { display: none; } }

/* ---------------------------------------------------------------- 그림 (public/assets/img/) */
img.brand-mark { display: block; flex: none; border-radius: 22%; }
.callout-pic { justify-content: flex-start; }
.callout-pic .callout-body { flex: 1; min-width: 0; }
.callout-illus { display: block; width: 200px; height: auto; flex: none; margin: -6px 0; }
@media (max-width: 900px) { .callout-illus { display: none; } }
