/* D안 "업무용 콘솔": 검정 상단바(옹기 원래 색) · 회색 바탕 · 흰 패널 · 모서리 6px · 장식 없음. styles.css 다음에 읽는다. 기능 변경 없음. */
html:root:root {
  --bg: #F2F2F2; --surface: #FFFFFF; --sunk: #F7F7F7; --line: #DADADA;
  --ink: #111111; --muted: #5C5C5C;
  --accent: #111111; --accent-ink: #FFFFFF; --accent-soft: #EBEBEB;
  --umber: #111111; --gold: #4A4A4A; --gold-soft: #F2F2F2;
  --lacquer: #111111; --lacquer-ink: #FFFFFF;
  --ok: #16623D; --ok-soft: #E3F1EA; --warn: #7A4E00; --warn-soft: #FFF1D6; --bad: #B3261E; --bad-soft: #FBE4E2;
  --shadow: none;
  --f-display: "IBM Plex Sans KR", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --r: 6px; --logo-filter: none; --mark: #FFE08A;
  color-scheme: light;
}

/* 제목: 명조 대신 고딕 굵게 */
html h1, html h2, html h3, html .pane-head h2, html .dash-head h2, html .kpi b, html .d-big b, html .d-store > b, html .crumb-store b { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.01em; }
html .pane-head h2 { font-size: 24px; }

/* 상단바 */
html body::before { background: var(--lacquer); }
html header.top { background: var(--lacquer); box-shadow: none; }
html header.top img.logo, html .brand-card > img { filter: brightness(0) invert(1); }
html .crumb-store { border-left-color: rgba(255,255,255,.3); }
html .crumb-store b { color: #FFFFFF; }
html .langs { border-color: rgba(255,255,255,.35); border-radius: 6px; }
html .langs button { color: #CFCFCF; }
html .langs button[aria-pressed="true"] { background: #FFFFFF; color: var(--lacquer); }

/* 장식 선 제거, 섹션 제목은 회색 대문자 대신 짙은 회색 */
html .pane-head::after, html .dash-head::after, html .brand-card::before { display: none; }
html .group-title, html nav.tabs .sec, html .kpi small, html .home-hero .note { color: var(--muted); letter-spacing: .04em; }

/* 왼쪽 메뉴 */
html nav.tabs button { border-radius: 6px; border-left: 0; }
html nav.tabs button[aria-selected="true"] { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
html nav.tabs button[aria-selected="true"] .ix { color: var(--accent); }

/* 패널: 그림자 없이 얇은 테두리 */
html .sheet, html .kpi, html .toc, html .chk, html .tbl-wrap, html .brand-card, html .staff-card, html .idea, html .q-card, html .q-tile, html .q-daily, html .body, html .pdf, html .d-card, html .notes-card, html .hist {
  border: 1px solid var(--line); border-radius: 6px; box-shadow: none; background: var(--surface); }
html .chk { border-left: 1px solid var(--line); }
html .chk.chk-done { border-color: #9CCBB0; }
html .toc-row[aria-pressed="true"] { background: var(--accent-soft); }
html .drop { border: 1px dashed var(--gold); background: var(--gold-soft); }
html .bar .fill { background: var(--accent); }

/* 버튼·입력 */
html .btn { border-radius: 6px; font-weight: 600; }
html .btn.primary { background: var(--accent) !important; border-color: var(--accent) !important; color: #FFFFFF !important; box-shadow: none; }
html .btn.primary:hover:not(:disabled) { background: #000000 !important; }
html .search input, html label.f input, html label.f select, html label.f textarea, html .note-form textarea { border-radius: 6px; border-color: var(--line); background: var(--surface); }
html :focus-visible { outline: 2px solid var(--accent); }

/* 표 머리 */
html th { background: #F2F2F2; color: var(--muted); }

/* 홈: 남색 패널 위 흰 매장 버튼 */
html .brand-card { background: var(--lacquer); border: 0; }
html .store-btn { border-radius: 6px; }
html .store-btn::after { content: "›"; color: var(--accent); }
html .store-btn:hover { box-shadow: inset 0 0 0 2px #9A9A9A; }

/* Impeccable polish 2026-11-04: 콘솔 테마에 남아 있던 두꺼운 왼쪽 띠를 얇은 테두리로 통일(근무표 색 띠는 의미가 있어 유지) */
html .sec-pdf { border-left: 1px solid var(--line); }
html .q-daily { border-left: 1px solid var(--line); }
html ::selection { background: var(--mark); color: var(--ink); }
/* 메뉴: 선택 안 된 항목이 흐려서 비활성처럼 보이던 문제 — 글자는 진하게, 선택 표시는 배경+굵기로 */
html nav.tabs button { color: var(--ink); }
html nav.tabs button .ix { color: #8A8A8A; }
html nav.tabs button:hover:not([aria-selected="true"]) { background: #E9E9E9; }
