/* 자동 생성 — scripts/build_dark_css.py. 직접 고치지 말고 원본 CSS를 고친 뒤 다시 생성한다. */
:where(html[data-theme="dark"]) .dashboard-page{--ops-surface:#131313;--ops-surface-2:#0f0f0f;--ops-surface-3:#0d0d0d;--ops-border:#2c2c2c;--ops-border-2:#384661;--ops-ink:#e2e2e2;--ops-ink-2:#cbcbcb;--ops-muted:#aeaeae;--ops-accent-soft:#0e0e0e;--ops-up-bg:#143c24;--ops-dn-bg:#3a1613;--ops-dn-line:#732b26;--ops-warn-bg:#3b2914;--ops-row-hover:#101010;--ops-line:#c2410c;--ops-card-shadow:0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .04);--ops-card-shadow-hover:0 2px 4px rgba(16, 24, 40, .06), 0 16px 32px -16px rgba(16, 24, 40, .16)}
:where(html[data-theme="dark"]) .dashboard-page .panel,:where(html[data-theme="dark"]) .dashboard-page .dashboard-metric,:where(html[data-theme="dark"]) .dashboard-page .dashboard-priority{border:1px solid var(--ops-border);border-radius:14px;background-color:var(--ops-surface);color:var(--ops-ink);box-shadow:var(--ops-card-shadow)}
:where(html[data-theme="dark"]) .dashboard-page .panel:hover,:where(html[data-theme="dark"]) .dashboard-page .dashboard-metric:hover{border-color:var(--ops-border-2);box-shadow:var(--ops-card-shadow-hover)}
:where(html[data-theme="dark"]) .dashboard-page.ops-glow .panel:hover,:where(html[data-theme="dark"]) .dashboard-page.ops-glow .dashboard-metric:hover{background-image:radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--ops-spot), transparent 55%)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-section-kicker{color:var(--ops-muted)}
:where(html[data-theme="dark"]) .dashboard-page .ops-hi{border-radius:9px;background:var(--ops-accent-soft);color:var(--ops-accent-2);box-shadow:inset 0 0 0 1px var(--ops-accent-ring)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-panel-head h2,:where(html[data-theme="dark"]) .dashboard-page .dashboard-pulse-head h2,:where(html[data-theme="dark"]) .dashboard-page .ops-calendar-head h2{color:var(--ops-ink)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-panel-head h2 + p,:where(html[data-theme="dark"]) .dashboard-page .dashboard-pulse-head h2 + p,:where(html[data-theme="dark"]) .dashboard-page .ops-calendar-head p{color:var(--ops-muted)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-panel-head > a,:where(html[data-theme="dark"]) .dashboard-page .dashboard-pulse-head > a{color:var(--ops-accent)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-pulse-main,:where(html[data-theme="dark"]) .dashboard-page .dashboard-pulse-card.is-inventory .dashboard-pulse-main{border:1px solid transparent;border-radius:12px;background:var(--ops-tile);color:var(--ops-ink)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-pulse-main:hover{border-color:transparent;background:var(--ops-tile-hover);box-shadow:none}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-pulse-main > span,:where(html[data-theme="dark"]) .dashboard-page .dashboard-pulse-main > small,:where(html[data-theme="dark"]) .dashboard-page .dashboard-pulse-stats dt,:where(html[data-theme="dark"]) .dashboard-page .dashboard-metric-label{color:var(--ops-muted)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-pulse-stats > div,:where(html[data-theme="dark"]) .dashboard-page .dashboard-mini-stats div{border:1px solid transparent;border-radius:10px;background:var(--ops-tile)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-pulse-risk{border:1px solid var(--ops-dn-line);border-radius:10px;background:var(--ops-dn-bg);color:var(--ops-ink)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-pulse-risk small{color:var(--ops-ink-2)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-metric-foot{color:var(--ops-muted)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-metric-arrow,:where(html[data-theme="dark"]) .dashboard-page .dashboard-metric::before{color:var(--ops-accent)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-metric::before{background:var(--ops-accent)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-metric.is-danger::before{background:var(--dashboard-danger)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-metric.is-safe::before{background:var(--dashboard-safe)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-priority > h2{color:var(--ops-ink)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-priority-grid a,:where(html[data-theme="dark"]) .dashboard-page .dashboard-approval-grid a,:where(html[data-theme="dark"]) .dashboard-page .dashboard-finance-block{border:1px solid transparent;border-radius:12px;background:var(--ops-tile);color:var(--ops-ink)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-priority-grid a:hover,:where(html[data-theme="dark"]) .dashboard-page .dashboard-approval-grid a:hover,:where(html[data-theme="dark"]) .dashboard-page .dashboard-finance-block:hover{border-color:transparent;background:var(--ops-tile-hover)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-priority-grid small,:where(html[data-theme="dark"]) .dashboard-page .dashboard-approval-grid span,:where(html[data-theme="dark"]) .dashboard-page .dashboard-approval-grid small,:where(html[data-theme="dark"]) .dashboard-page .dashboard-finance-block span,:where(html[data-theme="dark"]) .dashboard-page .dashboard-finance-block small{color:var(--ops-muted)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-priority-grid b{border-color:var(--ops-border);color:var(--ops-ink-2)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-action-list a,:where(html[data-theme="dark"]) .dashboard-page .dashboard-compact-list a{border-bottom-color:var(--ops-hair);border-radius:10px;color:var(--ops-ink)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-action-more > summary{border-top-color:var(--ops-hair);color:var(--ops-muted)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-action-list a:hover,:where(html[data-theme="dark"]) .dashboard-page .dashboard-compact-list a:hover{background:var(--ops-row-hover)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-action-list small,:where(html[data-theme="dark"]) .dashboard-page .dashboard-compact-list small{color:var(--ops-muted)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-action-list b{color:var(--ops-ink)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-action-signal,:where(html[data-theme="dark"]) .dashboard-page .dashboard-priority-dot{background:var(--dashboard-warning);box-shadow:0 0 0 3px var(--ops-warn-bg)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-action-signal.is-danger,:where(html[data-theme="dark"]) .dashboard-page .dashboard-priority-dot.is-danger{background:var(--dashboard-danger);box-shadow:0 0 0 3px var(--ops-dn-bg)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-priority-dot.is-safe{background:var(--dashboard-safe);box-shadow:0 0 0 3px var(--ops-up-bg)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-progress{border-radius:999px;background:var(--ops-track)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-progress::-webkit-progress-bar{border-radius:999px;background:var(--ops-track)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-progress::-webkit-progress-value{border-radius:999px;background:linear-gradient(90deg, var(--ops-bar), var(--ops-accent-2))}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-progress::-moz-progress-bar{border-radius:999px;background:linear-gradient(90deg, var(--ops-bar), var(--ops-accent-2))}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-bars li > div span{color:var(--ops-ink-2)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-risk-track{border-radius:999px;background:var(--ops-track)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-trend-track{border-radius:8px 8px 4px 4px;background:var(--ops-surface-3)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-trend-track rect{fill:var(--ops-bar)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-trend-track rect.is-negative{fill:var(--dashboard-danger)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-trend-value,:where(html[data-theme="dark"]) .dashboard-page .dashboard-trend-item time{color:var(--ops-ink-2)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-trend-line polyline{stroke:var(--ops-accent-2)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-trend-line circle{fill:var(--ops-accent-2)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-empty{border-color:var(--ops-border);border-radius:12px;color:var(--ops-muted)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-empty.is-safe{border-color:var(--ops-up-bg);background:var(--ops-up-bg);color:var(--ops-up)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-freshness ul{border:1px solid var(--ops-border);border-radius:12px;background:var(--ops-surface);color:var(--ops-ink-2)}
:where(html[data-theme="dark"]) .dashboard-page .ops-cal-day{border-color:var(--ops-hair);border-radius:10px;background:var(--ops-surface-2)}
:where(html[data-theme="dark"]) .dashboard-page .ops-cal-day.is-off{background:var(--ops-warn-bg)}
:where(html[data-theme="dark"]) .dashboard-page .ops-cal-day.is-today{border-color:var(--ops-accent);box-shadow:inset 0 0 0 1px var(--ops-accent)}
:where(html[data-theme="dark"]) .dashboard-page .ops-calendar-summary,:where(html[data-theme="dark"]) .dashboard-page .ops-calendar-legend,:where(html[data-theme="dark"]) .dashboard-page .ops-calendar-grid .ops-cal-head{color:var(--ops-muted)}
:where(html[data-theme="dark"]) .dashboard-page .ops-new{background:var(--ops-accent-soft);color:var(--ops-accent-2)}
:where(html[data-theme="dark"]) .dashboard-page .ops-rd-tile,:where(html[data-theme="dark"]) .dashboard-page .ops-todo-item,:where(html[data-theme="dark"]) .dashboard-page .ops-todo-verdicts a{border:1px solid transparent;border-radius:12px;background:var(--ops-tile);color:var(--ops-ink)}
:where(html[data-theme="dark"]) .dashboard-page a.ops-rd-tile:hover,:where(html[data-theme="dark"]) .dashboard-page a.ops-todo-item:hover,:where(html[data-theme="dark"]) .dashboard-page .ops-todo-verdicts a:hover{border-color:transparent;background:var(--ops-tile-hover)}
:where(html[data-theme="dark"]) .dashboard-page .ops-rd-tile > span,:where(html[data-theme="dark"]) .dashboard-page .ops-rd-tile small,:where(html[data-theme="dark"]) .dashboard-page .ops-rd-note,:where(html[data-theme="dark"]) .dashboard-page .ops-todo-item > small,:where(html[data-theme="dark"]) .dashboard-page .ops-todo-verdicts span,:where(html[data-theme="dark"]) .dashboard-page .ops-line small,:where(html[data-theme="dark"]) .dashboard-page .ops-arrival-name small,:where(html[data-theme="dark"]) .dashboard-page .ops-arrival-sum,:where(html[data-theme="dark"]) .dashboard-page .ops-state{color:var(--ops-muted)}
:where(html[data-theme="dark"]) .dashboard-page .ops-rd-note b,:where(html[data-theme="dark"]) .dashboard-page .ops-rd-tile small b,:where(html[data-theme="dark"]) .dashboard-page .ops-arrival-sum b,:where(html[data-theme="dark"]) .dashboard-page .ops-arrival-day,:where(html[data-theme="dark"]) .dashboard-page .ops-state b{color:var(--ops-ink)}
:where(html[data-theme="dark"]) .dashboard-page .ops-todo-item.is-zero > b{color:var(--ops-muted)}
:where(html[data-theme="dark"]) .dashboard-page .ops-todo-item.is-danger > b{color:var(--dashboard-danger)}
:where(html[data-theme="dark"]) .dashboard-page .ops-todo-item.is-warning > b{color:var(--ops-warn)}
:where(html[data-theme="dark"]) .dashboard-page .ops-todo-reorder,:where(html[data-theme="dark"]) .dashboard-page .ops-line{border:1px solid transparent;border-radius:12px;background:var(--ops-tile);color:var(--ops-ink)}
:where(html[data-theme="dark"]) .dashboard-page .ops-todo-side{border:0;border-left:1px solid var(--ops-hair);border-radius:0;background:transparent}
:where(html[data-theme="dark"]) .dashboard-page .ops-todo-reorder:hover,:where(html[data-theme="dark"]) .dashboard-page a.ops-line:hover{border-color:transparent;background:var(--ops-tile-hover)}
:where(html[data-theme="dark"]) .dashboard-page .ops-todo-reorder > strong,:where(html[data-theme="dark"]) .dashboard-page .ops-line > strong{color:var(--ops-accent)}
:where(html[data-theme="dark"]) .dashboard-page .ops-arrival-row{border-top-color:var(--ops-hair);border-radius:8px}
:where(html[data-theme="dark"]) .dashboard-page .ops-arrival-row:hover{background:var(--ops-row-hover)}
:where(html[data-theme="dark"]) .dashboard-page .ops-arrival-day b{background:var(--ops-accent-soft);color:var(--ops-accent-2)}
:where(html[data-theme="dark"]) .dashboard-page .ops-arrival-source{background:var(--ops-up-bg);color:var(--ops-up)}
:where(html[data-theme="dark"]) .dashboard-page .ops-arrival-source.is-reorder{background:var(--ops-accent-soft);color:var(--ops-accent-2)}
:where(html[data-theme="dark"]) .dashboard-page .ops-arrival-late{border-color:var(--ops-dn-line);border-radius:12px;background:var(--ops-dn-bg);color:var(--ops-ink)}
:where(html[data-theme="dark"]) .dashboard-page .ops-arrival-late small{color:var(--ops-ink-2)}
:where(html[data-theme="dark"]) .dashboard-page .ops-state{border-color:var(--ops-border)}
:where(html[data-theme="dark"]) .dashboard-page .ops-unit{color:var(--ops-muted)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-delta.is-up{background:var(--ops-up-bg);color:var(--ops-up)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-delta.is-down{background:var(--ops-dn-bg);color:var(--ops-dn)}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-delta.is-neutral{background:var(--ops-surface-3);color:var(--ops-muted)}
:where(html[data-theme="dark"]) .dashboard-page .ops-spark polyline{fill:none;stroke:var(--ops-bar);stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}
:where(html[data-theme="dark"]) .dashboard-page a:focus-visible,:where(html[data-theme="dark"]) .dashboard-page button:focus-visible,:where(html[data-theme="dark"]) .dashboard-page summary:focus-visible{outline:2px solid var(--ops-accent);outline-offset:2px}
@media (max-width: 1320px){
:where(html[data-theme="dark"]) .dashboard-page .ops-todo-side{border-top:1px solid var(--ops-hair);border-left:0}
}
:where(html[data-theme="dark"]) .dashboard-page .dashboard-pulse-stats small{color:var(--ops-muted)}
:where(html[data-theme="dark"]) .dashboard-page .ops-trend-legend{color:var(--ops-muted)}
:where(html[data-theme="dark"]) .dashboard-page .ops-trend-key.is-amount::before{border-radius:3px;background:var(--ops-bar)}
:where(html[data-theme="dark"]) .dashboard-page .ops-trend-key.is-orders::before{border-radius:2px;background:var(--ops-line)}
:where(html[data-theme="dark"]) .dashboard-page .ops-trend-svg:focus-visible{border-radius:8px;outline:2px solid var(--ops-accent);outline-offset:4px}
:where(html[data-theme="dark"]) .dashboard-page .ops-trend-grid{stroke:var(--ops-hair);stroke-width:1}
:where(html[data-theme="dark"]) .dashboard-page .ops-trend-base{stroke:var(--ops-border-2);stroke-width:1}
:where(html[data-theme="dark"]) .dashboard-page .ops-trend-guide{stroke:var(--ops-border-2);stroke-dasharray:3 3;stroke-width:1}
:where(html[data-theme="dark"]) .dashboard-page .ops-trend-bar{fill:var(--ops-bar)}
:where(html[data-theme="dark"]) .dashboard-page .ops-trend-bar.is-negative{fill:var(--dashboard-danger)}
:where(html[data-theme="dark"]) .dashboard-page .ops-trend-bar.on{fill:var(--ops-accent-2)}
:where(html[data-theme="dark"]) .dashboard-page .ops-trend-line{fill:none;stroke:var(--ops-line);stroke-linecap:round;stroke-linejoin:round;stroke-width:2}
:where(html[data-theme="dark"]) .dashboard-page .ops-trend-dot{fill:var(--ops-surface);stroke:var(--ops-line);stroke-width:2}
:where(html[data-theme="dark"]) .dashboard-page .ops-trend-dot.on{fill:var(--ops-line)}
:where(html[data-theme="dark"]) .dashboard-page .ops-trend-value{fill:var(--ops-ink-2)}
:where(html[data-theme="dark"]) .dashboard-page .ops-trend-value.is-last{fill:var(--ops-ink)}
:where(html[data-theme="dark"]) .dashboard-page .ops-trend-date{fill:var(--ops-ink-2)}
:where(html[data-theme="dark"]) .dashboard-page .ops-trend-count{fill:var(--ops-muted)}
:where(html[data-theme="dark"]) .dashboard-page .ops-trend-tip{border:1px solid var(--ops-border);border-radius:10px;background:var(--ops-surface);box-shadow:0 8px 24px rgba(16, 24, 40, .14);color:var(--ops-ink-2)}
:where(html[data-theme="dark"]) .dashboard-page .ops-trend-tip b,:where(html[data-theme="dark"]) .dashboard-page .ops-trend-tip strong{color:var(--ops-ink)}
:where(html[data-theme="dark"]) .dashboard-page .ops-wh-more{border:1px dashed var(--ops-border);border-radius:10px;background:transparent;color:var(--ops-muted)}
:where(html[data-theme="dark"]) .dashboard-page .ops-wh-more:hover{border-style:solid;color:var(--ops-ink)}
:where(html[data-theme="dark"]) .dashboard-page .ops-wh-more:focus-visible{outline:2px solid var(--ops-accent);outline-offset:2px}
