/* 자동 생성 — scripts/build_dark_css.py. 직접 고치지 말고 원본 CSS를 고친 뒤 다시 생성한다. */
:where(html[data-theme="dark"]) .dashboard-page-summary{color:var(--muted)}
:where(html[data-theme="dark"]) .dashboard-range{border:1px solid var(--line);border-radius:12px;background:#1f1f1f}
:where(html[data-theme="dark"]) .dashboard-range a{border-radius:8px;color:#b2b2b2}
:where(html[data-theme="dark"]) .dashboard-range a[aria-current="page"]{background:#131313;color:#6d88e3;box-shadow:0 1px 4px #10182818}
:where(html[data-theme="dark"]) .dashboard-updated{color:var(--muted)}
:where(html[data-theme="dark"]) .dashboard-skeleton span{border:1px solid var(--line);border-radius:18px;background:linear-gradient(90deg, #131313 15%, #0d0d0d 45%, #131313 75%)}
:where(html[data-theme="dark"]) .dashboard-pulse-head h2 + p{color:var(--muted)}
:where(html[data-theme="dark"]) .dashboard-pulse-main{border:1px solid #273e72;border-radius:14px;background:#101010;color:var(--ink)}
:where(html[data-theme="dark"]) .dashboard-pulse-card.is-inventory .dashboard-pulse-main{border-color:#39604d;background:#0e0e0e}
:where(html[data-theme="dark"]) .dashboard-pulse-main > span,:where(html[data-theme="dark"]) .dashboard-pulse-main > small{color:#aeaeae}
:where(html[data-theme="dark"]) .dashboard-pulse-stats > div{border:1px solid #2b2b2b;border-radius:11px;background:#131313}
:where(html[data-theme="dark"]) .dashboard-pulse-stats dt{color:#aeaeae}
:where(html[data-theme="dark"]) .dashboard-pulse-risk{border:1px solid #732c26;border-radius:11px;background:#381713;color:var(--ink)}
:where(html[data-theme="dark"]) .dashboard-pulse-risk small{color:#b99b97}
:where(html[data-theme="dark"]) .dashboard-pulse-risk > strong{color:var(--dashboard-danger)}
:where(html[data-theme="dark"]) .dashboard-metric{border:1px solid var(--line);border-radius:18px;background:#131313ed;color:var(--ink);box-shadow:var(--surface-shadow, 0 8px 28px #1018280a)}
:where(html[data-theme="dark"]) .dashboard-metric::before{background:#6d8bff}
:where(html[data-theme="dark"]) .dashboard-metric.is-danger::before{background:var(--dashboard-danger)}
:where(html[data-theme="dark"]) .dashboard-metric.is-safe::before{background:var(--dashboard-safe)}
:where(html[data-theme="dark"]) .dashboard-metric:hover{border-color:#263973;color:var(--ink);box-shadow:0 14px 34px #10182812}
:where(html[data-theme="dark"]) .dashboard-metric-label{color:#aeaeae}
:where(html[data-theme="dark"]) .dashboard-metric-foot{color:var(--muted)}
:where(html[data-theme="dark"]) .dashboard-metric-arrow{color:#6383ed}
:where(html[data-theme="dark"]) .dashboard-delta.is-up{color:var(--dashboard-safe)}
:where(html[data-theme="dark"]) .dashboard-delta.is-down{color:var(--dashboard-danger)}
:where(html[data-theme="dark"]) .dashboard-delta.is-neutral{color:#aeaeae}
:where(html[data-theme="dark"]) .dashboard-panel-head h2 + p{color:var(--muted)}
:where(html[data-theme="dark"]) .dashboard-section-kicker{color:#728adf}
:where(html[data-theme="dark"]) .dashboard-trend-value{color:#adadad}
:where(html[data-theme="dark"]) .dashboard-trend-track{border-radius:8px 8px 3px 3px;background:#0d0d0d}
:where(html[data-theme="dark"]) .dashboard-trend-track rect{fill:#6785ea}
:where(html[data-theme="dark"]) .dashboard-trend-track rect.is-negative{fill:var(--dashboard-danger)}
:where(html[data-theme="dark"]) .dashboard-trend-item.is-unavailable .dashboard-trend-value,:where(html[data-theme="dark"]) .dashboard-trend-item.is-unavailable small{color:#98a2b3}
:where(html[data-theme="dark"]) .dashboard-trend-item.is-unavailable .dashboard-trend-track{background:repeating-linear-gradient(
    135deg,
    #0e0e0e 0,
    #0e0e0e 5px,
    #222222 5px,
    #222222 7px
  )}
:where(html[data-theme="dark"]) .dashboard-trend-item time{color:#9facbd}
:where(html[data-theme="dark"]) .dashboard-trend-item small{color:var(--muted)}
:where(html[data-theme="dark"]) .dashboard-bars li > div span{color:#9facbd}
:where(html[data-theme="dark"]) .dashboard-progress{border:0;border-radius:999px;background:#202020}
:where(html[data-theme="dark"]) .dashboard-progress::-webkit-progress-bar{border-radius:inherit;background:#202020}
:where(html[data-theme="dark"]) .dashboard-progress::-webkit-progress-value{border-radius:inherit;background:#6885ed}
:where(html[data-theme="dark"]) .dashboard-progress::-moz-progress-bar{border-radius:inherit;background:#6885ed}
:where(html[data-theme="dark"]) .dashboard-bars--amount small{color:var(--muted)}
:where(html[data-theme="dark"]) .dashboard-action-panel{background:linear-gradient(180deg, #131313, #111111)}
:where(html[data-theme="dark"]) .dashboard-action-list a{border-bottom:1px solid #282828;color:var(--ink)}
:where(html[data-theme="dark"]) .dashboard-action-more > summary{border-top:1px solid #282828;color:var(--muted)}
:where(html[data-theme="dark"]) .dashboard-action-list a:hover{border-radius:10px;background:#0f0f0f}
:where(html[data-theme="dark"]) .dashboard-action-list small{color:var(--muted)}
:where(html[data-theme="dark"]) .dashboard-action-list b{color:#cbcbcb}
:where(html[data-theme="dark"]) .dashboard-action-signal{border-radius:50%;background:var(--dashboard-warning);box-shadow:0 0 0 4px #735426}
:where(html[data-theme="dark"]) .dashboard-action-signal.is-danger{background:var(--dashboard-danger);box-shadow:0 0 0 4px #732d26}
:where(html[data-theme="dark"]) .dashboard-all-clear > span{border-radius:50%;background:#153e2c;color:var(--dashboard-safe)}
:where(html[data-theme="dark"]) .dashboard-all-clear p{color:var(--muted)}
:where(html[data-theme="dark"]) .dashboard-warehouse-list li > div span{color:var(--muted)}
:where(html[data-theme="dark"]) .dashboard-risk-track{border-radius:999px;background:#202020}
:where(html[data-theme="dark"]) .dashboard-risk-track .is-stockout{fill:var(--dashboard-danger)}
:where(html[data-theme="dark"]) .dashboard-risk-track .is-low{fill:#ecb865}
:where(html[data-theme="dark"]) .dashboard-legend{color:var(--muted)}
:where(html[data-theme="dark"]) .dashboard-legend .is-stockout::before{background:var(--dashboard-danger)}
:where(html[data-theme="dark"]) .dashboard-legend .is-low::before{background:#e49a25}
:where(html[data-theme="dark"]) .dashboard-mini-stats div{border:1px solid #2b2b2b;border-radius:11px;background:#0f0f0f}
:where(html[data-theme="dark"]) .dashboard-mini-stats dt{color:var(--muted)}
:where(html[data-theme="dark"]) .dashboard-compact-list a{border-top:1px solid #282828;color:var(--ink)}
:where(html[data-theme="dark"]) .dashboard-compact-list small{color:var(--muted)}
:where(html[data-theme="dark"]) .dashboard-compact-list b{color:#6383ed}
:where(html[data-theme="dark"]) .dashboard-approval-grid a,:where(html[data-theme="dark"]) .dashboard-finance-block{border:1px solid #2c2c2c;border-radius:13px;background:#0f0f0f;color:var(--ink)}
:where(html[data-theme="dark"]) .dashboard-approval-grid a:hover,:where(html[data-theme="dark"]) .dashboard-finance-block:hover{border-color:#263973;background:#131313}
:where(html[data-theme="dark"]) .dashboard-approval-grid span,:where(html[data-theme="dark"]) .dashboard-finance-block span{color:var(--muted)}
:where(html[data-theme="dark"]) .dashboard-approval-grid small,:where(html[data-theme="dark"]) .dashboard-finance-block small{color:var(--muted)}
:where(html[data-theme="dark"]) .dashboard-empty{border:1px dashed #384761;border-radius:12px;color:var(--muted)}
:where(html[data-theme="dark"]) .dashboard-empty.is-safe{border-color:#287153;background:#133a27;color:var(--dashboard-safe)}
:where(html[data-theme="dark"]) .dashboard-freshness{color:var(--muted)}
:where(html[data-theme="dark"]) .dashboard-freshness ul{border:1px solid var(--line);border-radius:12px;background:#131313}
:where(html[data-theme="dark"]) .dashboard-no-access p{color:var(--muted)}
@media (hover: hover) and (pointer: fine){
:where(html[data-theme="dark"]) .dashboard-pulse-main:hover,:where(html[data-theme="dark"]) .dashboard-pulse-risk:hover{border-color:#263973;box-shadow:0 8px 20px #1018280c}
}
@media (prefers-reduced-motion: reduce){
:where(html[data-theme="dark"]) .dashboard-skeleton span{background:#0d0d0d}
}
:where(html[data-theme="dark"]) .dashboard-priority{border:1px solid var(--line);border-radius:12px;background:var(--paper)}
:where(html[data-theme="dark"]) .dashboard-priority-grid a{border:1px solid #2d2d2d;border-radius:9px;background:#131313;color:var(--ink)}
:where(html[data-theme="dark"]) .dashboard-priority-grid a:hover{border-color:#263a73;background:#101010}
:where(html[data-theme="dark"]) .dashboard-priority-grid small{color:#9facbd}
:where(html[data-theme="dark"]) .dashboard-priority-grid strong{color:var(--dashboard-danger)}
:where(html[data-theme="dark"]) .dashboard-priority-grid b{border:1px solid var(--line);border-radius:7px;color:#cbcbcb}
:where(html[data-theme="dark"]) .dashboard-priority-dot{border-radius:50%;background:var(--dashboard-warning)}
:where(html[data-theme="dark"]) .dashboard-priority-dot.is-danger{background:var(--dashboard-danger)}
:where(html[data-theme="dark"]) .dashboard-priority.is-clear p{color:var(--muted)}
:where(html[data-theme="dark"]) .dashboard-trend-line polyline{fill:none;stroke:#173f9f;stroke-width:1}
:where(html[data-theme="dark"]) .dashboard-trend-line circle{fill:#6f93ea;stroke:#212121;stroke-width:.45}
:where(html[data-theme="dark"]) .ops-calendar-summary{color:var(--muted)}
:where(html[data-theme="dark"]) .ops-calendar-grid .ops-cal-head{color:var(--muted)}
:where(html[data-theme="dark"]) .ops-cal-day{border:1px solid var(--line);border-radius:10px;background:var(--panel)}
:where(html[data-theme="dark"]) .ops-cal-day.is-off{background:#3b2914}
:where(html[data-theme="dark"]) .ops-cal-day.is-today{border-color:#3157d5}
:where(html[data-theme="dark"]) .ops-chip-line.is-arrival{background:#0e0e0e;color:#6d88e3}
:where(html[data-theme="dark"]) .ops-chip-line.is-overdue{background:#3a1613;color:#eb6f66}
:where(html[data-theme="dark"]) .ops-chip-line.is-campaign{background:#143c24;color:#80f1c1}
:where(html[data-theme="dark"]) .ops-chip-line.is-lifecycle{background:#3a1328;color:#ea70a1}
:where(html[data-theme="dark"]) .ops-calendar-legend{color:var(--muted)}
:where(html[data-theme="dark"]) .ops-chip.is-arrival{background:#0e0e0e;border:1px solid #2447bd}
:where(html[data-theme="dark"]) .ops-chip.is-overdue{background:#3a1613;border:1px solid #b42318}
:where(html[data-theme="dark"]) .ops-chip.is-campaign{background:#143c24;border:1px solid #067647}
:where(html[data-theme="dark"]) .ops-chip.is-lifecycle{background:#3a1328;border:1px solid #9d174d}
:where(html[data-theme="dark"]) .ops-chip.is-off{background:#3b2914;border:1px solid #b54708}
:where(html[data-theme="dark"]) .ops-chip-line.is-ad{background:#0e0e0e;color:#7476dd}
:where(html[data-theme="dark"]) .ops-chip-line.is-ad-missing{background:#3a1613;color:#eb6f66;border:1px dashed #732e26}
:where(html[data-theme="dark"]) .ops-chip.is-ad{background:#0e0e0e;border:1px solid #3538cd}
:where(html[data-theme="dark"]) .ops-chip.is-ad-missing{background:#3a1613;border:1px dashed #b42318}
:where(html[data-theme="dark"]) .dashboard-headline-title{color:var(--muted)}
:where(html[data-theme="dark"]) .dashboard-headline-tile{border:1px solid var(--line);border-radius:18px;background:#131313ed;color:var(--ink);box-shadow:var(--surface-shadow, 0 8px 28px #1018280a);text-decoration:none}
:where(html[data-theme="dark"]) .dashboard-headline-tile::before{background:#6d8bff}
:where(html[data-theme="dark"]) .dashboard-headline-tile.is-warning::before{background:#f79009}
:where(html[data-theme="dark"]) .dashboard-headline-tile.is-muted::before{background:#4f4f4f}
:where(html[data-theme="dark"]) .dashboard-headline-tile:hover{border-color:#263973;color:var(--ink);box-shadow:0 14px 34px #10182812}
:where(html[data-theme="dark"]) .dashboard-headline-label{color:#aeaeae}
:where(html[data-theme="dark"]) .dashboard-headline-label em{color:#98a2b3}
:where(html[data-theme="dark"]) .dashboard-headline-tile small{color:#aeaeae}
:where(html[data-theme="dark"]) .dashboard-headline-tile small > span:not(.dashboard-delta){color:#cbcbcb}
:where(html[data-theme="dark"]) .dashboard-headline-alert{color:var(--dashboard-danger, #e97168)}
