/*
 * bidradar.css — 입찰레이더 디자인 파운데이션 단일 토큰·컴포넌트 CSS
 * 진실의 원천: docs/design/approved-canvas/*.dc.html (2026-10-13 대표 승인)
 * :root 토큰 정의는 이 파일 한 곳뿐 — base.html / tenant_base.html / ops_base.html 은
 * 여기서 정의한 토큰·클래스만 참조한다(별도 :root 금지, 직접 hex 금지).
 * 전체 토큰표·컴포넌트 사용법은 docs/design/DESIGN.md 참조.
 */

/* ===== 1. 폰트 ===== */
/* Pretendard Variable @font-face 는 pretendard.css(공식 동적 부분집합, 92조각)로 옮겼다 — 전체본 2,010KB 미사용 */
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/static/fonts/PlusJakartaSans-800-latin.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
}

/* ===== 2. 토큰 (단일 출처) ===== */
:root {
  /* 배경·표면 */
  --bg: #F6F7F9;
  --surface: #FFFFFF;
  /* 깊이 — 1단: 카드(가만히 있는 면) · 2단: 떠 있는 것(메뉴·툴팁) */
  --shadow-1: 0 1px 3px rgba(15, 23, 42, .08), 0 10px 28px -10px rgba(15, 23, 42, .20);
  --shadow-2: 0 10px 28px -6px rgba(15, 23, 42, .16), 0 2px 6px rgba(15, 23, 42, .06);
  --surface-2: #F6F7F9;
  --elev: #F1F3F6;
  --line: #E3E7ED;
  --line-2: #C9D0DA;
  --hairline: #EEF1F5;

  /* 글자 */
  --text: #0E1525;
  --text-2: #4A5568;
  --muted: #5B6676;
  --faint: #8592A6;

  /* 브랜드 */
  --accent: #1F5FD6;
  --accent-2: #14408F;
  --accent-ink: #FFFFFF;
  --accent-soft: #EEF3FF;
  --accent-line: rgba(31, 95, 214, .28);
  --gold: #C9A86A;       /* 홈 B안 월계수·테두리(남색 바탕 장식) */
  --gold-soft: #E9D9B5;  /* 남색 바탕 위 강조 글자 — 대비 약 10:1 */
  --logo-navy: #0F2A4A;
  --logo-navy-soft: #7FA6FF;

  /* 차트 보조선 */
  --chart-grid: #E8ECF1;
  --chart-axis: #AEB7C4;
  --chart-prior: #AEB7C4;
  --chart-bar-muted: #C5CCD6;
  --chart-bar-muted-hover: #8B95A3;
  --chart-track: #E6ECFB;
  --tooltip-bg: #0E1525;
  --tooltip-text: #FFFFFF;
  --tooltip-muted: #B7C0CC;

  /* 차트 순차 블루 램프 (옅은 → 진한) */
  --ramp-1: #93ADEE;
  --ramp-2: #6A8FE8;
  --ramp-3: #4277E0;
  --ramp-4: #1F5FD6;
  --ramp-5: #14408F;

  /* 상태색 — 검증 완료, 바꾸지 말 것 */
  --ok: #0B7A55;
  --ok-t: #047857;
  --ok-bg: #E7F6EF;
  --warn: #92400E;
  --warn-t: #92400E;
  --warn-bg: #FEF3E2;
  --warn-fill: #C98A00; /* 막대·면 전용(검증 통과) — 글자는 --warn-t */
  --warn-line: #FBD9A6;
  --crit: #C2410C;
  --crit-t: #9A3412;
  --crit-bg: #FFF4EC;
  --crit-bg-strong: #FCE3D6;
  --crit-line: #F6C9A8;
  --soon-t: #9A3412;

  /* 레거시 별칭(기존 템플릿 호환 — dday-soon/critical 등에서 참조) */
  --soon: #C2410C;
  --crit-soft: var(--crit-bg);
  --ok-soft: var(--ok-bg);
  --warn-soft: var(--warn-bg);

  /* 둥근 모서리 */
  --r-xs: 6px;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 16px;
  --r-pill: 999px;

  /* 그림자 */
  --sh-sm: 0 1px 2px rgba(14, 21, 37, .05);
  --sh: 0 6px 18px rgba(14, 21, 37, .18);

  /* 모션 */
  --tr: 180ms cubic-bezier(.4, 0, .2, 1);
  --tr-fast: 150ms ease-out;

  /* 타이포 스케일 */
  /* 글자 크기 체계(14단계) — 이 밖의 px 를 쓰지 않는다. 2026-10-13: 토큰 5개 밖에 13·16·17·19·21·22·23·26·27·30·34·38·44px 가
     흩어져 있던 것을 가장 가까운 단계로 모았다(19→18·21/23→22·26/27→28·30/34→32·38→40·44→48). 메일은 인라인 px 유지. */
  --fs-xs: 12px;      /* 캡션·보조 — 한글 하한 */
  --fs-meta: 13px;    /* 표 보조줄·메타 */
  --fs-sm: 14px;      /* 보조 본문·라벨 */
  --fs-body: 15px;    /* 앱 본문 */
  --fs-md: 16px;      /* 공개 화면 본문·버튼 */
  --fs-lead: 17px;    /* 리드 문단 */
  --fs-h2: 18px;      /* 카드 제목 */
  --fs-title: 20px;   /* 구획 제목 */
  --fs-title-lg: 22px;
  --fs-xl: 24px;
  --fs-h1: 28px;      /* 페이지 제목 */
  --fs-kpi: 32px;     /* 핵심 숫자 */
  --fs-d3: 40px;      /* 공개 화면 구획 제목 */
  --fs-d2: 48px;      /* 큰 숫자·디스플레이 */

  --maxw: 1240px;
  --sidebar-w: 232px;
}

@media (prefers-color-scheme: dark) {
  /* 사용자 시스템이 다크를 선호해도 제품 자체는 "밝은 정밀 계기판" 테마로 고정(브랜드 결정).
     예약 블록 — 추후 명시적 다크 모드 요청 시 :root[data-theme="dark"] 로 별도 구현. */
}

* { box-sizing: border-box; }
html, body { overflow-x: hidden; }
img { max-width: 100%; height: auto; } /* 폭·높이 속성을 함께 적은 이미지는 비율 유지 */

body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--text-2);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: -.005em;
  font-variant-numeric: tabular-nums; /* 숫자 열 고정폭 정렬 — 전역 적용(한글/영문 자모에는 영향 없음) */
}
a { color: var(--accent); text-decoration: none; transition: color var(--tr); }
a:hover { color: var(--accent-2); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 5px; }

svg.ic { width: 1em; height: 1em; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.14em; }

::selection { background: var(--accent-soft); color: var(--text); }

/* ===== 3. 레이아웃 셸 ===== */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 26px clamp(14px, 3vw, 32px) 64px; }
.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }

.appbar { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); }
.appbar-in { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; gap: 18px; padding: 12px clamp(14px, 3vw, 32px); min-height: 64px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 780; font-size: var(--fs-h2); color: var(--text); white-space: nowrap; letter-spacing: -.03em; }
.brand-mark { width: 29px; height: 29px; flex: none; display: block; }
.brand-word { height: 18px; display: block; }
.brand .logo { width: 32px; height: 32px; border-radius: 9px; margin-right: 2px; display: grid; place-items: center; background: var(--logo-navy); color: #fff; flex: none; }
.brand .logo svg { width: 18px; height: 18px; }
.brand-win { color: var(--accent); font-weight: 700; }

.nav { display: flex; gap: 1px; margin-left: 8px; flex-wrap: wrap; }
.nav a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--text-2); font-size: var(--fs-sm); font-weight: 600; padding: 0 13px; border-radius: 9px; transition: all var(--tr); white-space: nowrap; }
.nav a:hover { background: var(--elev); color: var(--text); }
.nav a.active { background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent-line); }
.nav a svg { opacity: .85; }
.spacer { flex: 1; }

.pagehead { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: flex-end; justify-content: space-between; margin: 10px 0 26px; }
.pagehead h1 { font-size: var(--fs-h1); font-weight: 700; margin: 0; color: var(--text); letter-spacing: -.03em; line-height: 1.25; }
.pagehead .sub { color: var(--muted); font-size: var(--fs-sm); margin-top: 6px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ===== 4. 버튼 ===== */
.btn { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; background: var(--surface); border: 1px solid var(--line-2); color: var(--text); padding: 0 16px; border-radius: var(--r-sm); cursor: pointer; font-size: var(--fs-body); font-family: inherit; font-weight: 600; transition: all var(--tr); white-space: nowrap; }
.btn:hover { border-color: var(--text-2); background: var(--elev); }
.btn:active { transform: translateY(1px); }
.btn svg { opacity: .8; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; font-weight: 700; }
.btn.primary:hover { background: var(--accent-2); color: var(--accent-ink); }
.btn.primary svg { opacity: 1; }
.btn.ghost { background: transparent; border-color: var(--line-2); }
.btn.ghost:hover { background: var(--elev); }

/* ===== 5. 섹션·카드 ===== */
.section { margin-top: 32px; }
.section > h2 { font-size: var(--fs-h2); font-weight: 700; margin: 0 0 15px; display: flex; align-items: center; gap: 8px; color: var(--text); letter-spacing: -.02em; }
.section > h2 svg { color: var(--muted); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; margin: 16px 0; box-shadow: var(--shadow-1); }
.card > h2 { font-size: var(--fs-h2); font-weight: 700; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; color: var(--text); letter-spacing: -.01em; }
.card > h2 svg { color: var(--muted); }
.card .h2note { font-size: var(--fs-xs); font-weight: 500; color: var(--muted); white-space: normal; }
/* 제목은 쪼개지 않고, 곁들인 설명이 다음 줄로 내려간다 */
.card > h2 { flex-wrap: wrap; row-gap: 2px; word-break: keep-all; }
/* 모바일 표(m-fit): 가로 스크롤 대신 우선순위 열만. 화면별 숨김 열은 app.css·ops.css */
.m-only { display: none; }
@media (max-width: 600px) {
  table.data.m-fit { min-width: 0; }
  table.data.m-fit th, table.data.m-fit td { padding-left: 12px; padding-right: 12px; }
  table.data.m-fit td, table.data.m-fit td * { white-space: normal; word-break: keep-all; }
  table.data.m-fit td .badge { white-space: nowrap; }
  .m-only { display: block; }
}
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 600px) { .grid-3 { grid-template-columns: 1fr; gap: 10px; } }

.subcard { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.subcard.hl { border-color: var(--accent-line); background: linear-gradient(160deg, var(--accent-soft), transparent); }

/* ===== 6. KPI ===== */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; margin: 0 0 26px; }
@media (max-width: 600px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.kpi { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 10px; transition: border-color var(--tr); }
.kpi:hover { border-color: var(--line-2); }
.kpi .k-label { color: var(--text-2); font-size: var(--fs-sm); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.kpi .k-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.kpi .k-spark { flex: none; opacity: .92; }
.kpi .k-num { font-size: var(--fs-kpi); font-weight: 600; letter-spacing: -.01em; line-height: 1; color: var(--text); }
.kpi .k-ctx { color: var(--text-2); font-size: var(--fs-sm); margin-top: 0; line-height: 1.45; }
.kpi.crit { background: var(--crit-bg); border-color: var(--crit-line); }
.kpi.crit .k-label, .kpi.crit .k-num, .kpi.crit .k-ctx { color: var(--crit-t); }
.kpi.ok .k-num { color: var(--ok); }
.kpi.accent .k-num { color: var(--accent); }

/* ===== 7. 칩·배지 ===== */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 7px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 6px 13px; font-size: var(--fs-sm); font-weight: 600; color: var(--text-2); transition: all var(--tr); }
.chip:hover { border-color: var(--line-2); color: var(--text); }

.badge { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; font-size: var(--fs-sm); padding: 3px 10px; border-radius: var(--r-xs); white-space: nowrap; line-height: 1.5; }
.badge.line { border: 1px solid; background: transparent; }
.b-ok { background: var(--ok-bg); color: var(--ok-t); }
.b-warn { background: var(--warn-bg); color: var(--warn-t); }
.b-soon { background: var(--crit-bg); color: var(--soon-t); }
.b-crit { background: var(--crit-bg-strong); color: var(--crit-t); font-weight: 700; }
.b-mute { background: var(--elev); color: var(--text-2); }

.badge.dday-critical, .badge.dday-soon { background: var(--crit-bg-strong); color: var(--crit-t); font-weight: 700; }
.badge.dday-week { background: var(--warn-bg); color: var(--warn-t); }
.badge.dday-normal, .badge.dday-none, .badge.dday-closed { background: var(--elev); color: var(--muted); }

.win { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-xs); font-weight: 700; color: var(--text-2); background: var(--elev); padding: 3px 9px; border-radius: var(--r-xs); cursor: help; }
.tag-new { display: inline-block; background: var(--ok); color: #fff; font-size: var(--fs-xs); font-weight: 700; padding: 1px 7px; border-radius: var(--r-xs); margin-right: 7px; vertical-align: middle; letter-spacing: .03em; }
.tag-sw { background: var(--accent-soft); color: var(--accent); border-radius: var(--r-xs); padding: 1px 8px; font-size: var(--fs-xs); font-weight: 700; }

/* ===== 8. 표 ===== */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; min-width: 640px; font-size: var(--fs-body); }
table.data thead th { position: sticky; top: 0; background: var(--surface); color: var(--text-2); text-align: left; font-size: var(--fs-sm); font-weight: 500; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data tbody td { padding: 14px 16px; border-top: 1px solid var(--hairline); vertical-align: top; }
table.data tbody tr { transition: background var(--tr); }
table.data tbody tr:hover { background: var(--elev); }
table.data tbody tr:first-child td { border-top: none; }

.cell-title { font-weight: 650; color: var(--text); max-width: 440px; font-size: var(--fs-body); line-height: 1.45; }
.cell-title a { color: var(--text); }
.cell-title a:hover { color: var(--accent); }
.meta { color: var(--text-2); font-size: var(--fs-sm); margin-top: 4px; line-height: 1.5; }
.meta a { color: var(--accent); }
.price { white-space: nowrap; color: var(--text); font-weight: 650; }
.rgn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; white-space: nowrap; color: var(--text-2); font-size: var(--fs-sm); }
.nm { font-weight: 650; max-width: 440px; color: var(--text); }

.empty { padding: 60px 24px; text-align: center; color: var(--muted); font-size: var(--fs-body); }
.list-foot { margin-top: 14px; padding: 16px 18px; border: 1px dashed var(--line-2); border-radius: var(--r); font-size: var(--fs-sm); color: var(--text-2); }
.tablewrap .list-foot { margin: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: var(--surface-2); }
.empty svg { color: var(--line-2); display: block; margin: 0 auto 14px; width: 38px; height: 38px; }

/* ===== 9. 폼 ===== */
.kv { display: flex; gap: 14px; flex-wrap: wrap; font-size: var(--fs-sm); color: var(--text-2); }
.kv b { color: var(--text); font-weight: 650; }
.list-row { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--hairline); font-size: var(--fs-body); }
.list-row:first-child { border-top: none; }
.list-row .rl-title { flex: 1; font-weight: 600; min-width: 0; color: var(--text); }
.list-row .rl-title a { color: var(--text); }
.list-row .rl-title a:hover { color: var(--accent); }

.field { margin-bottom: 20px; }
.field > label, label.fld { display: block; font-weight: 700; font-size: var(--fs-sm); margin-bottom: 7px; color: var(--text); }
.hint, .fhint { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 9px; line-height: 1.55; }

input[type=text], input[type=password], input[type=number], input[type=email], textarea, select, .form-control {
  width: 100%; min-height: 44px; background: var(--surface); border: 1px solid var(--line-2); color: var(--text);
  border-radius: var(--r-sm); padding: 11px 14px; font-size: var(--fs-body); font-family: inherit;
  transition: border-color var(--tr), box-shadow var(--tr);
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea { min-height: 92px; resize: vertical; line-height: 1.6; }
.form-row { display: flex; gap: 15px; flex-wrap: wrap; }
.form-row .field { flex: 1; min-width: 160px; }

.check-list { display: flex; flex-direction: column; gap: 9px; }
.check { display: flex; align-items: flex-start; gap: 11px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 12px 14px; cursor: pointer; font-weight: 600; color: var(--text-2); transition: border-color var(--tr); line-height: 1.5; word-break: keep-all; min-height: 44px; }
.check:hover { border-color: var(--text-2); }
.check input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; margin-top: 2px; }
.check .sub { color: var(--muted); font-weight: 400; font-size: var(--fs-xs); white-space: nowrap; }
.bar { display: flex; gap: 11px; margin-top: 12px; }

.notice { padding: 12px 15px; border-radius: var(--r-sm); font-size: var(--fs-sm); margin: 16px 0; border: 1px solid; line-height: 1.55; }
.notice.ok { background: var(--ok-bg); border-color: #BFE6D2; color: #065F46; }
.notice.warn { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn-t); }
.notice.err { background: var(--crit-bg); border-color: var(--crit-line); color: var(--crit-t); }

.seg, .tabs { display: flex; gap: 7px; flex-wrap: wrap; }
.seg-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; min-height: 44px; background: var(--surface); border: 1px solid var(--line-2); color: var(--text-2); padding: 0 16px; border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 600; cursor: pointer; transition: all var(--tr); font-family: inherit; }
.seg-btn:hover { border-color: var(--text-2); color: var(--text); }
.seg-btn.active { background: var(--text); color: #fff; border-color: var(--text); }

/* ===== 10. 보드(칸반) ===== */
.board { display: flex; gap: 14px; overflow-x: auto; padding: 4px 0 12px; align-items: flex-start; scroll-snap-type: x proximity; scrollbar-width: thin; }
.board:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.board { padding-right: 56px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
.kcol .kempty { padding: 18px 8px; text-align: center; font-size: var(--fs-sm); color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--r); }
.kcol { scroll-snap-align: start; flex: 0 0 268px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: 13px; }
.kcol > h2 { font-size: var(--fs-sm); margin: 2px 4px 13px; display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); }
.kcol .cnt { margin-left: auto; background: var(--surface); border-radius: var(--r-pill); padding: 2px 10px; font-size: var(--fs-xs); color: var(--muted); font-weight: 700; }
.kcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 13px; margin-bottom: 10px; transition: border-color var(--tr); }
.kcard:hover { border-color: var(--line-2); }
.kcard .kname { font-weight: 650; font-size: var(--fs-body); color: var(--text); display: block; line-height: 1.5; }
.kcard .kname:hover { color: var(--accent); }
.kmeta { color: var(--muted); font-size: var(--fs-sm); margin-top: 9px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ===== 11. 인증 화면(로그인/가입) ===== */
.auth-center { min-height: calc(100svh - 120px); display: flex; align-items: center; justify-content: center; padding: 20px 16px; }
.auth-box { width: 372px; max-width: 94vw; padding: 32px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.lead { color: var(--text-2); font-size: var(--fs-body); margin: 16px 0; line-height: 1.65; max-width: 820px; }
.lead2 { color: var(--muted); font-size: var(--fs-sm); line-height: 1.6; }

/* ===== 12. 신호 배너(히어로/수주카드) ===== */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--accent-soft), rgba(31, 95, 214, .03) 60%, transparent); border: 1px solid var(--accent-line); border-radius: 20px; padding: 26px 30px; margin: 4px 0 22px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.hero-radar { position: absolute; right: -30px; top: 50%; transform: translateY(-50%); width: 340px; height: 340px; pointer-events: none; opacity: .5; z-index: 0; }
.hero-radar circle { fill: none; stroke: rgba(31, 95, 214, .14); stroke-width: 1; }
.hero-l { position: relative; z-index: 1; min-width: 270px; flex: 1; }
.hero-l h1 { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -.025em; color: var(--text); margin: 0 0 8px; line-height: 1.25; }
.hero-l .fx { color: var(--text-2); font-size: var(--fs-body); line-height: 1.6; }
.hero-l .fx b { color: var(--accent); font-weight: 700; }
.hero-l .d { color: var(--muted); font-size: var(--fs-sm); margin-top: 7px; }
.hero-cta { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

.wincard { position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; display: flex; gap: 18px; align-items: center; min-width: 290px; }
.wincard .wc-label { color: var(--ok-t); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .02em; display: block; }
.wincard .wc-title { color: var(--text); font-weight: 650; font-size: var(--fs-md); margin: 2px 0 4px; line-height: 1.35; }
.wincard .wc-meta { color: var(--text-2); font-size: var(--fs-sm); }
.wincard .wc-note { color: var(--muted); font-size: var(--fs-xs); margin-top: 5px; }

/* ===== 13. 판정 근거 미니바 ===== */
.reasonbars { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 14px; }
.rb { display: flex; align-items: center; gap: 12px; font-size: var(--fs-sm); }
.rb .rb-k { color: var(--text-2); min-width: 104px; }
.rb .rb-track { flex: 1; height: 6px; background: var(--chart-track); border-radius: 99px; overflow: hidden; }
.rb .rb-fill { height: 100%; border-radius: 99px; background: var(--accent); }
.rb .rb-v { font-weight: 700; min-width: 70px; text-align: right; }

.honest { background: var(--surface-2); border-radius: 10px; padding: 12px 14px; color: var(--text-2); font-size: var(--fs-sm); line-height: 1.65; margin-top: 16px; }
.honest b { color: var(--text); font-weight: 650; }

.badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 11px; }
.grid-2x2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 26px; }
.grid-2x2 .g-k { color: var(--text-2); font-size: var(--fs-sm); margin-bottom: 4px; }
.grid-2x2 .g-v { color: var(--text); font-weight: 650; font-size: var(--fs-body); }

/* ===== 14. 마감 타임라인(선형) ===== */
.tlbar { margin-top: 22px; }
.tlbar .tl-track { position: relative; height: 6px; background: var(--chart-track); border-radius: 99px; margin: 0 0 9px; }
.tlbar .tl-fill { position: absolute; left: 0; top: 0; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--crit)); }
.tlbar .tl-dot { position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--crit); transform: translate(-50%, -50%); box-shadow: 0 0 0 4px var(--surface); }
.tlbar .tl-mid { position: absolute; top: -20px; transform: translateX(-50%); font-size: var(--fs-xs); font-weight: 700; color: var(--crit-t); white-space: nowrap; }
.tl-mid.at-start { transform: translateX(-6px); } .tl-mid.at-end { transform: translateX(calc(-100% + 6px)); } /* 양 끝에서 카드 밖으로 나가지 않게 */
.tlbar .tl-ends { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--muted); }

/* ===== 15. 가격 축(낙찰분석) ===== */
.priceaxis .pa-track { position: relative; height: 5px; background: var(--chart-track); border-radius: 99px; margin: 36px 10px 32px; }
.priceaxis .pa-band { position: absolute; top: 0; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--ramp-1), var(--accent)); }
.priceaxis .pa-mark { position: absolute; top: 50%; width: 2px; height: 16px; transform: translate(-50%, -50%); background: var(--text); }
.priceaxis .pa-cap { position: absolute; transform: translateX(-50%); font-size: var(--fs-xs); font-weight: 700; white-space: nowrap; top: -22px; color: var(--text); }
.priceaxis .pa-sub { position: absolute; transform: translateX(-50%); font-size: var(--fs-xs); color: var(--muted); top: 14px; white-space: nowrap; }

/* ===== 16. 계기형 미터(meter 매크로) ===== */
.meter { display: flex; flex-direction: column; gap: 10px; }
.meter .m-row { display: flex; justify-content: space-between; font-size: var(--fs-body); gap: 8px; align-items: baseline; }
.meter .m-track { height: 10px; border-radius: 5px; background: var(--elev); overflow: hidden; }
.meter .m-fill { height: 100%; border-radius: 5px; }
.meter.tone-ok .m-track { background: var(--ok-bg); }
.meter.tone-ok .m-fill { background: var(--ok); }
.meter.tone-warn .m-track { background: var(--warn-bg); }
.meter.tone-warn .m-fill { background: var(--warn); }
.meter.tone-crit .m-track { background: var(--crit-bg-strong); }
.meter.tone-crit .m-fill { background: var(--crit); }
.meter.tone-accent .m-track { background: var(--chart-track); }
.meter.tone-accent .m-fill { background: var(--accent); }

/* ===== 17. 히스토그램(exhibit_histogram 매크로) ===== */
.exhibit { display: flex; flex-direction: column; gap: 8px; }
.exhibit-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.exhibit-eyebrow { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.exhibit-title { font-size: var(--fs-h2); font-weight: 700; line-height: 1.4; letter-spacing: -.02em; color: var(--text); text-wrap: balance; }
.exhibit-sub { font-size: var(--fs-sm); color: var(--muted); }
.histo { position: relative; height: 196px; margin: 40px 0 0; }
.histo:has(.histo-bracket) { margin-top: 78px; } /* 구간 괄호·라벨이 도표 제목과 겹치지 않게 */
.histo-grid-line { position: absolute; left: 0; right: 0; border-top: 1px solid var(--chart-grid); }
.histo-grid-label { position: absolute; width: 26px; transform: translateY(50%); text-align: right; font-size: var(--fs-xs); color: var(--muted); }
.histo-bars { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 2px; }
.histo-col { flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; outline: none; cursor: default; }
.histo-col-label { font-size: var(--fs-xs); font-weight: 700; color: var(--text); margin-bottom: 4px; white-space: nowrap; }
.histo-bar { width: 22px; max-width: 70%; border-radius: 4px 4px 0 0; transition: background var(--tr-fast); }
.histo-baseline { position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid var(--chart-axis); }
.histo-bracket { position: absolute; height: 8px; border: 1.5px solid var(--accent); border-bottom: 0; box-sizing: border-box; pointer-events: none; }
.histo-bracket-label { position: absolute; font-size: var(--fs-sm); font-weight: 700; color: var(--text); white-space: nowrap; pointer-events: none; transform: translate(-50%, -14px); }
.histo-xticks { position: relative; height: 18px; font-size: var(--fs-xs); color: var(--muted); }
.histo-xticks span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.exhibit-foot { border-top: 1px solid var(--line); padding-top: 10px; display: flex; flex-direction: column; gap: 3px; font-size: var(--fs-xs); line-height: 1.55; color: var(--muted); }
.exhibit-foot strong { font-weight: 600; color: var(--text-2); }
.exhibit details { font-size: var(--fs-meta); color: var(--muted); }
.exhibit details summary { cursor: pointer; min-height: 32px; display: flex; align-items: center; }
.exhibit details table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.exhibit details th { text-align: left; padding: 4px 0; font-weight: 500; }
.exhibit details td { padding: 4px 0; color: var(--text); border-top: 1px solid var(--hairline); }
.exhibit details td:last-child, .exhibit details th:last-child { text-align: right; }

/* ===== 18. 추세선(trend_line 매크로) ===== */
.trend { position: relative; height: 150px; margin: 8px 76px 0 30px; } /* 오른쪽 76px = '오늘 N건' 끝 라벨 자리 */
.trend-gridline { position: absolute; left: 0; right: 0; border-top: 1px solid var(--chart-grid); }
.trend-ylabel { position: absolute; width: 22px; transform: translateY(50%); text-align: right; font-size: var(--fs-xs); color: var(--muted); }
.trend-baseline { position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid var(--chart-axis); }
.trend-end-dot { position: absolute; width: 8px; height: 8px; margin: 0 0 -4px -4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--surface); }
.trend-end-label { position: absolute; transform: translate(12px, 50%); font-size: var(--fs-sm); font-weight: 700; color: var(--text); white-space: nowrap; }
.trend-hit { position: absolute; inset: 0; display: flex; }
.trend-hit span { flex: 1 1 0; outline: none; }
.trend-xticks { position: relative; height: 18px; margin: 0 76px 0 30px; font-size: var(--fs-xs); color: var(--muted); }
.trend-xticks span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
/* 양 끝 눈금은 안쪽으로 붙인다 — 가운데 정렬이면 첫 눈금이 y축 0 과 겹치고 마지막 눈금이 영역 밖으로 나간다 */
.trend-xticks span:first-child, .histo-xticks span:first-child { transform: none; }
.trend-xticks span:last-child, .histo-xticks span:last-child { transform: translateX(-100%); }
.trend-legend { display: flex; gap: 12px; align-items: center; font-size: var(--fs-xs); color: var(--muted); }
.trend-legend-swatch { width: 16px; height: 2px; display: inline-block; }

/* 크로스헤어 툴팁(공용 — trend·histo·heat 공유) */
.chart-tip { position: absolute; background: var(--tooltip-bg); color: var(--tooltip-text); border-radius: 8px; padding: 7px 10px; font-size: var(--fs-sm); line-height: 1.4; white-space: nowrap; pointer-events: none; box-shadow: var(--sh); z-index: 5; }
.chart-tip strong { font-size: var(--fs-body); }
.chart-tip .tip-sub { color: var(--tooltip-muted); }

/* ===== 19. 히트맵(heat_cells 매크로) ===== */
.heat-row { display: grid; gap: 6px; text-align: center; font-size: var(--fs-sm); color: var(--muted); }
.heat-col { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.heat-cell { height: 52px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: var(--fs-md); font-weight: 700; outline: none; transition: box-shadow var(--tr-fast); }
.heat-cell:focus-visible { box-shadow: 0 0 0 2px var(--text); }
.heat-dday { font-size: var(--fs-sm); font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.heat-date { font-size: var(--fs-xs); color: var(--muted); white-space: nowrap; }
.heat-dday.urgent { font-weight: 700; color: var(--crit-t); }
.heat-legend { display: flex; gap: 12px; align-items: center; font-size: var(--fs-xs); color: var(--muted); flex-wrap: wrap; }
.heat-legend-ramp { display: flex; gap: 3px; align-items: center; }
.heat-legend-ramp span { width: 14px; height: 10px; border-radius: 2px; display: inline-block; }

/* ===== 20. 구성비(stacked_ratio 매크로) ===== */
.stacked { display: flex; flex-direction: column; gap: 8px; }
.stacked-track { display: flex; gap: 2px; height: 10px; }
.stacked-seg { border-radius: 4px; }
.stacked-seg:first-child { border-radius: 4px 0 0 4px; }
.stacked-seg:last-child { border-radius: 0 4px 4px 0; }
.stacked-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: var(--fs-sm); color: var(--text-2); }
.stacked-legend span.sw { width: 10px; height: 10px; border-radius: 2px; display: inline-block; margin-right: 6px; }

/* ===== 21. 운영 콘솔(ops_base) ===== */
.ops-side { position: fixed; left: 0; top: 0; bottom: 0; width: var(--sidebar-w); background: var(--surface); border-right: 1px solid var(--line); display: flex; flex-direction: column; z-index: 40; padding-bottom: env(safe-area-inset-bottom, 0px); }
.ops-brand { display: flex; align-items: center; gap: 10px; padding: 17px 18px 15px; border-bottom: 1px solid var(--hairline); }
.ops-brand .bt { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.ops-brand .bt img { display: block; }
.ops-brand .bt small { display: block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; color: var(--muted); margin-top: 2px; }
.ops-nav { padding: 12px; display: flex; flex-direction: column; gap: 2px; flex: 1; overflow-y: auto; }
.ops-nav a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--text-2); font-size: var(--fs-sm); font-weight: 600; transition: background var(--tr); white-space: nowrap; }
.ops-nav a:hover { background: var(--elev); color: var(--text); }
.ops-nav a.active { background: var(--accent-soft); color: var(--accent); }
.ops-nav a svg { opacity: .85; flex: none; }
.ops-foot { padding: 14px 16px; border-top: 1px solid var(--hairline); font-size: var(--fs-xs); color: var(--muted); }
.ops-status { display: inline-flex; align-items: center; gap: 7px; font-size: var(--fs-xs); font-weight: 700; color: var(--ok-t); background: var(--ok-bg); border-radius: var(--r-pill); padding: 6px 13px; }
.ops-status .d { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.mono { font-family: ui-monospace, 'SFMono-Regular', 'Consolas', 'D2Coding', monospace; }

body:has(.ops-side) main.wrap { margin-left: var(--sidebar-w); max-width: none; padding: 24px 30px 60px; }
@media (max-width: 820px) {
  .ops-side { position: static; width: 100%; flex-direction: row; align-items: center; }
  .ops-brand { border-bottom: none; border-right: 1px solid var(--hairline); }
  .ops-nav { flex-direction: row; overflow-x: auto; }
  .ops-foot { display: none; }
  body:has(.ops-side) main.wrap { margin-left: 0; padding: 16px; }
}

/* ===== 22. 테넌트 SaaS 앱(tenant_base — 사이드바 + 모바일 하단 탭바) =====
   사이드바·탭바는 position:fixed 로 흐름 밖(ops-side 와 동일 기법) — base.html 의
   <main class="wrap"> 를 그대로 content 컨테이너로 쓰고 margin-left 로만 비켜 준다
   (HTML 쪽에서 <main> 을 중첩하지 않는다 — 구조적 이중 wrap 금지). */
.t-side { position: fixed; left: 0; top: 0; bottom: 0; width: var(--sidebar-w); max-width: 260px; background: var(--surface); border-right: 1px solid var(--line); padding: 20px 14px max(20px, env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 24px; overflow-y: auto; z-index: 40; }
.t-side .brand { padding: 4px 8px; }
.t-nav { display: flex; flex-direction: column; gap: 2px; }
.t-nav a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--text); font-size: var(--fs-body); font-weight: 500; transition: background var(--tr); }
.t-nav a svg { opacity: .85; }
.t-nav a:hover { background: var(--elev); }
.t-nav a.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.t-nav a.active svg { color: var(--accent); opacity: 1; }
.t-trial { margin-top: auto; border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.t-trial .tt-label { font-size: var(--fs-sm); font-weight: 600; color: var(--text); }
.t-trial .tt-track { height: 6px; border-radius: 3px; background: var(--chart-track); }
.t-trial .tt-fill { height: 6px; border-radius: 3px; background: var(--accent); }
.t-trial a { font-size: var(--fs-sm); font-weight: 600; }
.t-topbar { display: none; }

.t-tabbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: calc(68px + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--surface); border-top: 1px solid var(--line); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.t-tabbar a { text-decoration: none; color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: var(--fs-xs); font-weight: 600; min-height: 44px; }
.t-tabbar a svg { width: 22px; height: 22px; }
.t-tabbar a.active { color: var(--accent); }

body:has(.t-side) main.wrap { margin-left: var(--sidebar-w); max-width: none; padding: 28px 32px 48px; }
body:has(.t-tabbar) { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }

@media (max-width: 960px) {
  .t-side { display: none; }
  body:has(.t-side) main.wrap { margin-left: 0; padding: 20px clamp(14px, 3vw, 32px) 90px; }
  .t-topbar { display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 clamp(14px, 3vw, 32px); background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; margin: -20px calc(-1 * clamp(14px, 3vw, 32px)) 16px; }
  .t-tabbar { display: grid; }
}

/* ===== 23. 반응형 공통 ===== */
@media (max-width: 680px) {
  :root { --fs-h1: 21px; }
  .wrap { padding: 20px 15px 48px; }
  .appbar-in { flex-wrap: wrap; gap: 10px; }
  .nav { margin-left: 0; width: 100%; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; -webkit-mask-image: linear-gradient(to right, #000 88%, transparent); mask-image: linear-gradient(to right, #000 88%, transparent); scrollbar-width: none; padding-right: 16px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }
  .kpi .k-num { font-size: var(--fs-h1); }
  .card { padding: 16px 17px; }
  .form-row { gap: 2px; }
}

/* ===== 보유 면허·업종 선택기(_license_picker.html) ===== */
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 10px; }
.lp-chips:empty { display: none; }
.lp-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px 0 14px; border-radius: var(--r-pill); border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent-2); font: inherit; font-size: var(--fs-sm); font-weight: 600; cursor: pointer; }
.lp-chip:hover { background: var(--surface); }
.lp-code { font-size: var(--fs-xs); font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-x { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.2; fill: none; flex: none; }
.lp-empty { margin: 0 0 10px; font-size: var(--fs-sm); color: var(--muted); }
.lp-results { list-style: none; margin: 6px 0 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r-sm); max-height: 280px; overflow-y: auto; background: var(--surface); }
.lp-results:empty { display: none; }
.lp-results li + li { border-top: 1px solid var(--hairline); }
.lp-opt { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 14px; border: 0; background: transparent; font: inherit; text-align: left; cursor: pointer; color: var(--text); }
.lp-opt:hover, .lp-opt:focus-visible { background: var(--elev); }
.lp-opt[aria-pressed="true"] { color: var(--accent-2); font-weight: 600; }
.lp-none { padding: 12px 14px; font-size: var(--fs-sm); color: var(--muted); }
.div-checks { display: flex; flex-wrap: wrap; gap: 10px; }

/* ===== 터치 타깃 44px(공용) — 2026-10-13 실측: 고객 앱 터치 미달 26종 중 다수가 아래 요소였다.
   인라인 요소에 패딩+음수 마진을 주면 행 높이는 그대로 두고 누르는 자리만 키운다. ===== */
.cell-title a { display: inline-block; padding: 13px 0; margin: -13px 0; }
table.data td > a { display: inline-block; padding: 13px 8px; margin: -13px -8px; }
.kcard .kname { padding: 11px 0; margin: -11px 0 1px; }
.brand { min-height: 44px; }
.h2note a, .more-link { display: inline-flex; align-items: center; min-height: 44px; }
/* KNOWN-LIMIT[touch]: 도표 막대(.histo-col)·히트맵 칸(.heat-cell)·추이 점(.trend-hit)은 키보드 초점용이라
   폭이 데이터 개수에 따라 17~43px 이다. 막대 도표는 '표로 보기'로 같은 값을 제공한다(시각화 예외로 둔다). */

/* 한글 단어 중간 줄바꿈 방지(예: '2/건입니다') — 긴 주소·메일은 넘치지 않게 어디서든 끊는다 */
body { word-break: keep-all; overflow-wrap: anywhere; }

/* 사이드바 묶음(시안 12) — 업무 / 분석 / 관리 */
.t-nav { gap: 16px; }
.t-nav-g { display: flex; flex-direction: column; gap: 2px; }
.t-nav-k { padding: 0 10px 4px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; color: var(--muted); }

/* 수주 보드 단계 바로가기 — 모바일에서 한 열만 보여 나머지 단계가 있는지 몰랐다(4차 평가단 P1-2) */
.board-nav { display: none; }
@media (max-width: 760px) {
  .board-nav { display: flex; gap: 6px; overflow-x: auto; margin: 0 0 12px; padding-bottom: 2px; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 40px; }
  .board-nav a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-2);
    border-radius: 999px; background: var(--surface); color: var(--text); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; white-space: nowrap; }
  .board-nav a b { font-variant-numeric: tabular-nums; color: var(--accent); }
  .kcol { scroll-margin-left: 16px; }
}

/* 6차 보완 — 계정 진입로(사이드바 하단 · 모바일 상단 메뉴). 예전엔 화면에서 로그아웃할 길이 없었다 */
.t-acct-side { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.t-acct-side .ta-name { font-size: var(--fs-sm); font-weight: 600; color: var(--text); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-acct-side .ta-out { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px; font-size: var(--fs-sm); color: var(--text-2); text-decoration: none; white-space: nowrap; }
.t-acct-side .ta-out:hover { color: var(--text); }
.t-acct { position: relative; }
.t-acct summary { list-style: none; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; cursor: pointer; }
.t-acct summary::-webkit-details-marker { display: none; }
.t-acct .ta-av { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-2); border: 1px solid var(--line-2); font-weight: 700; font-size: var(--fs-sm); color: var(--text); }
.t-acct .ta-menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 200px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow-2); padding: 6px; z-index: 50; }
.t-acct .ta-menu .ta-name { padding: 10px 12px 8px; font-size: var(--fs-sm); font-weight: 700; color: var(--text); border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.t-acct .ta-menu a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 6px; color: var(--text); text-decoration: none; font-size: var(--fs-sm); }
.t-acct .ta-menu a:hover { background: var(--surface-2); }
/* 인증 배너 — 한 줄, 닫기 */
.verify-bar { margin: 0 0 12px; display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; }
.verify-bar > span { flex: 1 1 240px; }
.verify-bar .vb-x { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--text-2); cursor: pointer; border-radius: 6px; }
.verify-bar .vb-x:hover { color: var(--text); background: rgba(0,0,0,.04); }
.verify-bar[hidden] { display: none; }

/* 수주 보드 넘김 안내 — 흐림만으로는 눈에 안 띄었다(11차) */
.board-hint { display: none; }
@media (max-width: 760px) { .board-hint { display: block; margin: -4px 0 10px; font-size: var(--fs-xs); color: var(--muted); } }
