.detail-actions{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid #edf0f3;margin-top:17px;padding-top:13px}
.detail-modal{width:min(720px,calc(100vw - 48px));max-height:calc(100vh - 48px)}#detail-content{padding:22px 24px 0}.detail-head{gap:12px}.detail-meta{line-height:1.5;overflow-wrap:anywhere}
.empty-cell,.empty-state{padding:24px;text-align:center;color:#92a0ad;font-size:10px}
.row-more{border:0;background:transparent;color:#397b9b;font-size:9px;font-weight:700}
.official-ref{display:block;color:#33789a;font-size:10px;font-weight:700;cursor:pointer}.internal-ref{display:block;color:#9aa5af;font-size:8px;margin-top:3px}.field-help{font-size:8px;font-weight:400;color:#8a97a5;line-height:1.4}
.org-chain{max-width:850px;margin:8px auto 25px;text-align:center}.org-node{background:#fff;border:1px solid #e0e7ec;border-radius:9px;padding:12px 16px;box-shadow:0 5px 18px rgba(23,43,63,.035)}.org-node strong,.org-node small{display:block}.org-node strong{font-size:12px;color:#263f54}.org-node small{font-size:9px;color:#8190a0;margin-top:4px}.org-top{display:inline-block;min-width:230px;background:#173b57;border-color:#173b57;color:#fff}.org-top strong,.org-top small{color:#fff}.org-kind{display:block;font-size:8px;letter-spacing:1px;font-weight:700;color:#6e94a8;margin-bottom:6px}.org-top .org-kind{color:#a9c5d3}.org-branch{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;position:relative;margin-top:28px}.org-branch:before{content:'';position:absolute;width:1px;height:14px;top:-15px;left:50%;background:#ccd7de}.org-section-title{display:flex;justify-content:space-between;align-items:end;margin:2px 0 12px}.org-section-title h2{font:700 14px Arial;color:#233b51}.org-section-title p{font-size:10px;color:#8997a5;margin-top:4px}.org-count{font-size:9px;color:#678093;background:#eaf1f5;padding:5px 9px;border-radius:20px}.org-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.org-card{display:flex;align-items:center;gap:9px;padding:12px;background:#fff;border:1px solid #e6ebef;border-radius:9px;min-height:62px}.org-card.shared{border-style:dashed;background:#fffdf8}.org-card>div{min-width:0}.org-card strong,.org-card small{display:block}.org-card strong{font-size:10px;color:#344a5d}.org-card small{font-size:8px;color:#8996a4;margin-top:4px}.org-icon{width:29px;height:29px;flex:none;display:grid;place-items:center;border-radius:8px;font:700 9px Arial}.org-icon.blue{background:#e7f2f8;color:#337b9f}.org-icon.green{background:#e6f5ef;color:#278360}.org-icon.violet{background:#f0ebf9;color:#7356ad}.org-icon.amber{background:#fff3df;color:#a97824}.org-icon.cyan{background:#e6f5f6;color:#29868c}.org-icon.gray{background:#eef1f4;color:#738191}.org-bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:13px}.person-line{display:flex;align-items:center;gap:9px;border-top:1px solid #eef1f4;padding:10px 0}.person-line>div strong,.person-line>div small{display:block}.person-line>div strong{font-size:9px}.person-line>div small{font-size:8px;color:#8b98a6;margin-top:3px}.person-sector{margin-left:auto;font-size:8px;color:#66869a;background:#eef5f7;border-radius:12px;padding:4px 7px}.org-note{margin-top:0;align-self:stretch;align-items:center}
@media(max-width:560px){.flow-strip{margin-left:-3px;margin-right:-3px}.dispatch-row{grid-template-columns:1fr}.dispatch-actions{justify-content:flex-end}.file-row{grid-template-columns:32px 1fr auto}.file-row .small-button{grid-column:2/4;justify-self:end}}
@media(max-width:850px){.org-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.org-branch{gap:7px}.org-node{padding:10px 8px}}
@media(max-width:560px){.org-grid{grid-template-columns:1fr}.org-branch{grid-template-columns:1fr;margin-top:14px}.org-branch:before{display:none}.org-top{min-width:0;width:100%}.org-bottom-grid{grid-template-columns:1fr}.org-count{font-size:8px}}
@media(max-width:560px){.detail-modal{width:calc(100vw - 28px);max-height:calc(100vh - 28px)}#detail-content{padding:16px 14px 0}.detail-columns{grid-template-columns:1fr}.detail-actions{flex-wrap:wrap}.detail-actions .button{flex:1}}
.app-shell[hidden]{display:none!important}.auth-gate[hidden]{display:none}.auth-gate{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:22px;background:linear-gradient(145deg,#eaf1f5,#f6f8fa)}.auth-card{width:min(100%,400px);display:grid;gap:15px;padding:30px;background:#fff;border:1px solid #e1e8ed;border-radius:16px;box-shadow:0 22px 70px rgba(19,48,69,.14)}.auth-card .brand-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#173b57;color:#fff;font:700 13px Arial}.auth-card h1{margin:-7px 0 0;color:#213b51;font:700 25px Arial}.auth-card p{margin:-7px 0 3px;color:#758596;font:13px/1.5 Arial}.auth-card .field{display:grid;gap:7px;color:#536677;font:600 12px Arial}.auth-card input{width:100%;padding:12px;border:1px solid #d9e1e7;border-radius:8px;font:14px Arial}.auth-card .button{justify-content:center;padding:12px}.hidden-live-notice{display:none!important}
.admin-users-grid{grid-template-columns:minmax(270px,.85fr) minmax(380px,1.35fr)}.admin-user-form{display:grid;gap:12px;padding:0 16px 16px}.admin-user-form .field{font-size:10px}.admin-user-form input,.admin-user-form select{font-size:12px}.admin-user-form .button{justify-content:center}.admin-user-form .form-hint{margin:0;line-height:1.45}.admin-users-table{min-width:0}.new-user-result{display:grid;gap:5px;margin:0 16px 16px;padding:12px;border:1px solid #cde8da;background:#f1faf5;border-radius:8px;color:#376c51;font-size:11px}.new-user-result code{font-size:11px;color:#173b57}.new-user-result small{font-size:9px;color:#728b7c}.user-mini button{display:block;padding:0;margin-top:5px;border:0;background:transparent;color:#6b8da1;text-align:left;font:600 8px Arial;cursor:pointer}.user-mini button:hover{text-decoration:underline}@media(max-width:850px){.admin-users-grid{grid-template-columns:1fr}}

.live-dashboard-grid{margin-top:16px}.live-dashboard-grid .chart-panel{min-height:290px}.live-dashboard-grid .rank-list{max-height:220px;overflow:auto}.live-dashboard-grid .empty-state{padding:16px 8px;color:#8291a1;font-size:11px;text-align:center}

.admin-users-note{padding:10px 16px 14px;color:#7a8998;font-size:9px;line-height:1.5}.user-action{border:1px solid #e7bebe;border-radius:6px;background:#fff8f8;color:#a44444;padding:6px 8px;font-size:9px;font-weight:700;white-space:nowrap}.user-action.reactivate{border-color:#c7e5d5;background:#f4fbf7;color:#23714f}.user-action:disabled{opacity:.55}.user-state{display:inline-block;border-radius:20px;padding:4px 7px;font-size:8px;font-weight:700}.user-state.active{background:#e6f5ef;color:#188460}.user-state.inactive{background:#eef1f4;color:#7d8996}.user-inactive td{color:#8995a2}.protected-user{color:#8491a0;font-size:9px}@media(max-width:850px){.admin-users-table table{min-width:740px}}

/* Refresco visual v10 */
:root{--ink:#162f43;--muted:#708397;--line:#e5ebf0;--paper:#f3f6f8;--navy:#123a56;--blue:#267da6;--shadow:0 10px 28px rgba(24,53,74,.055)}
body{background:radial-gradient(ellipse at 82% -15%,#e7f0f4 0,transparent 37%),var(--paper);color:var(--ink)}
.sidebar{background:linear-gradient(180deg,#123650 0%,#173e5a 68%,#14364f 100%);border-right:0;color:#fff;box-shadow:7px 0 28px rgba(16,48,70,.08)}
.brand{padding-bottom:32px}.brand-mark{background:#fff;color:#173e5a;box-shadow:0 5px 14px rgba(0,0,0,.12)}.brand strong{color:#fff}.brand span{color:#b4c6d2}
.side-label{color:#a8bdca}.nav-item{color:#c6d5de}.nav-item:hover{background:rgba(255,255,255,.09);color:#fff}.nav-item.active{color:#fff;background:rgba(255,255,255,.15);box-shadow:inset 3px 0 #69c1b1}.nav-icon,.nav-item.active .nav-icon{color:#a9c6d4}.nav-count{background:rgba(255,255,255,.12);color:#d8e5eb}.nav-item.active .nav-count{background:#d7eee9;color:#1a665d}
.department-card{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.13)}.department-icon{background:#d9e9ef;color:#244d64}.department-card strong{color:#fff}.department-card span{color:#b9ccd6}.sidebar-bottom{border-color:rgba(255,255,255,.16)}.sidebar-bottom .avatar{background:#d8e9ef;color:#234b63}.user-mini strong{color:#fff}.user-mini span{color:#bdd0da}.user-mini button{color:#a8c6d3}.sidebar-bottom .icon-button{color:#c3d4dd}
.topbar{position:sticky;top:0;z-index:8;background:rgba(248,250,251,.88);backdrop-filter:blur(14px);border-bottom-color:#e1e8ed;box-shadow:0 4px 18px rgba(19,48,68,.025)}
h1{font-size:28px;letter-spacing:-1px}.welcome-row{margin-bottom:24px}.eyebrow{color:#56768a}.eyebrow-dot{width:7px;height:7px;box-shadow:0 0 0 4px #35a17b1c}
.kpi-card,.panel{border-color:#e3eaf0;border-radius:14px;box-shadow:0 8px 26px rgba(25,55,77,.045);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.kpi-card{position:relative;overflow:hidden;min-height:114px;padding:17px 18px}.kpi-card:after{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:linear-gradient(#56a2ba,#7ac9b5);opacity:.8}.kpi-card:hover,.panel:hover{transform:translateY(-2px);box-shadow:0 13px 32px rgba(25,55,77,.075);border-color:#d7e3ea}.kpi-value{font-size:27px}.kpi-icon{width:31px;height:31px;border-radius:10px}
.chart-panel{min-height:275px;padding:19px}.panel{padding:18px}.table-panel{padding:18px 0 0}.table-panel>.panel-heading{padding:0 19px}.panel-heading{margin-bottom:15px}.panel-heading h2{font-size:14px}.panel-heading p{font-size:11px}.chart-wrap{height:175px}.rank-list{gap:12px}.rank-row{grid-template-columns:minmax(115px,1fr) 1.2fr 30px}.rank-track{height:7px;background:#edf2f5}.rank-fill{background:linear-gradient(90deg,#2b789e,#69b6b0)}
.button{height:38px;border-radius:9px;font-size:11px;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.button-primary{background:linear-gradient(135deg,#173d59,#205a78);box-shadow:0 5px 14px rgba(23,59,87,.17)}.button-primary:hover{background:linear-gradient(135deg,#204f6e,#27718f);transform:translateY(-1px);box-shadow:0 8px 17px rgba(23,59,87,.2)}.button-outline{border-color:#dce5eb;border-radius:9px}.button-outline:hover{background:#f5f9fb;border-color:#b8cbd5}
.global-search,.table-search{border-radius:10px;border-color:#dfe7ec;transition:border-color .16s,box-shadow .16s}.global-search:focus-within,.table-search:focus-within{border-color:#7eafc2;box-shadow:0 0 0 3px #3e91b015}.filter-bar{gap:8px;flex-wrap:wrap}.filter-bar select,.field-filter input{height:38px;border-radius:9px;border-color:#dfe7ec;color:#4f6477;background:#fff}.table-search{height:38px}.field-filter{padding:0 2px;color:#6d8090}
table{white-space:normal}th{padding:12px 14px;background:#f7f9fa;color:#718294;font-size:9px;letter-spacing:.7px}td{padding:13px 14px;font-size:11px}tbody tr{transition:background .12s}tbody tr:hover{background:#f6fafb}.subject-cell{max-width:250px}.official-ref{font-size:11px}.internal-ref{font-size:9px}.status-pill{padding:5px 9px;font-size:9px}.empty-cell,.empty-state{padding:34px 20px;font-size:12px}
.date-chip{padding:10px 13px;border-radius:11px;box-shadow:0 5px 16px rgba(22,52,73,.04)}.prototype-note,.info-callout{border-radius:10px;padding:11px 13px}.detail-modal{border:1px solid #e2e9ee;border-radius:18px;box-shadow:0 24px 80px rgba(13,35,52,.22)}.modal{border-radius:16px;border:1px solid #e3e9ee;box-shadow:0 22px 70px rgba(18,43,61,.2)}.detail-card{border-radius:12px;padding:16px}.detail-card h3{font-size:11px}.detail-note{font-size:11px}.detail-meta{font-size:11px}.detail-files{margin-top:16px;padding-top:13px}.detail-file{font-size:10px}.timeline{gap:14px}.timeline-item strong{font-size:10px}.timeline-item small{font-size:9px}
.auth-gate{background:radial-gradient(ellipse at 80% 10%,#dceaf0 0,transparent 35%),linear-gradient(145deg,#eef3f6,#f7f9fa)}.auth-card{border-radius:20px;box-shadow:0 28px 90px rgba(19,48,69,.16);padding:34px}.auth-card input{border-radius:10px}.auth-card input:focus{outline:0;border-color:#78a9bd;box-shadow:0 0 0 3px #3e91b015}
@media(max-width:850px){.sidebar{background:linear-gradient(180deg,#123650,#173e5a);box-shadow:14px 0 36px rgba(13,35,52,.2)}.main-area{padding-left:22px;padding-right:22px}.topbar{margin-left:-22px;margin-right:-22px;padding:0 22px}.kpi-card:hover,.panel:hover{transform:none}}
@media(max-width:560px){h1{font-size:24px}.main-area{padding-left:13px;padding-right:13px}.topbar{margin-left:-13px;margin-right:-13px;padding:0 13px}.kpi-card{min-height:105px;padding:13px}.kpi-value{font-size:24px}.panel{padding:14px}.table-panel{padding:14px 0 0}.table-panel>.panel-heading{padding:0 14px}.filter-bar{gap:7px}.filter-bar select{min-width:calc(50% - 5px);font-size:10px}.field-filter{flex:1;justify-content:space-between}.field-filter input{min-width:0;width:calc(100% - 35px)}.table-search{min-width:100%}.detail-modal{border-radius:14px}.auth-card{padding:25px 21px}}

@media(max-width:850px){.table-actions .button-outline{display:inline-flex}}

.theme-toggle{height:36px;display:inline-flex;align-items:center;gap:8px;padding:0 11px;border:1px solid #dfe7ec;border-radius:10px;background:#fff;color:#476174;font-size:10px;font-weight:700;white-space:nowrap;transition:background .16s,border-color .16s,transform .16s}.theme-toggle:hover{background:#f4f8fa;border-color:#bfd0d9;transform:translateY(-1px)}.theme-toggle-icon{font-size:16px;line-height:1;color:#397a9c}.theme-toggle:focus-visible{outline:3px solid #4d98b833;outline-offset:2px}
:root[data-theme="dark"]{color-scheme:dark;--ink:#e4edf3;--muted:#a2b2c0;--line:#2c3d4b;--paper:#111d29;--white:#192735;--navy:#79b4cd;--blue:#73b8d4;--blue-soft:#203a4b;--green:#67c5a2;--green-soft:#1d3b35;--amber:#e2b868;--amber-soft:#403722;--violet:#b7a0e5;--violet-soft:#342c46;--shadow:0 10px 28px rgba(0,0,0,.18)}
:root[data-theme="dark"] body{background:radial-gradient(ellipse at 82% -15%,#1a3040 0,transparent 37%),#111d29;color:#e4edf3}
:root[data-theme="dark"] .main-area{color:#e4edf3}
:root[data-theme="dark"] .topbar{background:rgba(18,30,42,.9);border-bottom-color:#293a48;box-shadow:0 4px 18px rgba(0,0,0,.12)}
:root[data-theme="dark"] .breadcrumb{color:#91a3b2}:root[data-theme="dark"] .breadcrumb strong{color:#dce7ee}:root[data-theme="dark"] h1{color:#e6eef4}:root[data-theme="dark"] .page-lead{color:#9eafbd}:root[data-theme="dark"] .eyebrow{color:#91aebb}
:root[data-theme="dark"] .kpi-card,:root[data-theme="dark"] .panel,:root[data-theme="dark"] .date-chip,:root[data-theme="dark"] .org-node:not(.org-top),:root[data-theme="dark"] .org-card,:root[data-theme="dark"] .process-panel{background:#192735;border-color:#2b3c4a;color:#e0e9ef;box-shadow:0 8px 26px rgba(0,0,0,.16)}
:root[data-theme="dark"] .kpi-top,:root[data-theme="dark"] .panel-heading p,:root[data-theme="dark"] .date-chip small,:root[data-theme="dark"] .kpi-foot,:root[data-theme="dark"] .org-node small,:root[data-theme="dark"] .org-card small{color:#9caebb}
:root[data-theme="dark"] .panel-heading h2,:root[data-theme="dark"] .kpi-value,:root[data-theme="dark"] .date-chip strong,:root[data-theme="dark"] .org-node strong,:root[data-theme="dark"] .org-card strong{color:#e3edf3}
:root[data-theme="dark"] .global-search,:root[data-theme="dark"] .table-search,:root[data-theme="dark"] .filter-bar select,:root[data-theme="dark"] .field-filter input,:root[data-theme="dark"] .admin-user-form input,:root[data-theme="dark"] .admin-user-form select,:root[data-theme="dark"] .field input,:root[data-theme="dark"] .field select,:root[data-theme="dark"] .field textarea,:root[data-theme="dark"] .auth-card input{background:#14222f;border-color:#344756;color:#e3edf3}
:root[data-theme="dark"] .global-search input,:root[data-theme="dark"] .table-search input{color:#e3edf3}:root[data-theme="dark"] .global-search input::placeholder,:root[data-theme="dark"] .table-search input::placeholder{color:#7f93a3}:root[data-theme="dark"] kbd{background:#20303e;border-color:#3a4b59;color:#b6c4ce}
:root[data-theme="dark"] .theme-toggle{background:#1c2b39;border-color:#354957;color:#d5e1e9}:root[data-theme="dark"] .theme-toggle:hover{background:#263a49;border-color:#527184}:root[data-theme="dark"] .theme-toggle-icon{color:#f0c86f}
:root[data-theme="dark"] .button-outline,:root[data-theme="dark"] .small-button{background:#1b2a38;border-color:#394c5a;color:#c8d6df}:root[data-theme="dark"] .button-outline:hover,:root[data-theme="dark"] .small-button:hover{background:#253746;border-color:#526b7c}:root[data-theme="dark"] .button-primary{background:linear-gradient(135deg,#28627d,#347d94);color:#fff}
:root[data-theme="dark"] thead{background:#1d2c39}:root[data-theme="dark"] th{background:#1d2c39;border-color:#2c3d4b;color:#9aafbd}:root[data-theme="dark"] td{border-color:#293a48;color:#c4d0d8}:root[data-theme="dark"] tbody tr:hover{background:#1e303e}:root[data-theme="dark"] .subject-cell{color:#e1eaf0}:root[data-theme="dark"] .official-ref,:root[data-theme="dark"] .row-more{color:#83c5df}:root[data-theme="dark"] .internal-ref{color:#8498a7}
:root[data-theme="dark"] .status-pill.pill-blue{background:#203b4b;color:#86c7e1}:root[data-theme="dark"] .status-pill.pill-amber{background:#403722;color:#e8c779}:root[data-theme="dark"] .status-pill.pill-green{background:#1e3d35;color:#79d3ac}:root[data-theme="dark"] .status-pill.pill-violet{background:#352d46;color:#c3adeb}
:root[data-theme="dark"] .info-callout,:root[data-theme="dark"] .prototype-note{background:#1d2d3a;border-color:#2d414f;color:#aebdc7}:root[data-theme="dark"] .info-callout p,:root[data-theme="dark"] .prototype-note{color:#afbdc7}:root[data-theme="dark"] .info-callout>span:first-child{background:#2b4352;color:#9dc8d8}:root[data-theme="dark"] .prototype-note strong{color:#d1e2ea}
:root[data-theme="dark"] .department-card{background:rgba(255,255,255,.09)}:root[data-theme="dark"] .org-card.shared{background:#272a30;border-color:#574b35}:root[data-theme="dark"] .person-sector{background:#243b48;color:#b1d1df}:root[data-theme="dark"] .org-section-title h2{color:#e0e9ef}:root[data-theme="dark"] .org-section-title p{color:#9aaebb}
:root[data-theme="dark"] .detail-modal,:root[data-theme="dark"] .modal{background:#182634;border-color:#304350;color:#e2ebf0;box-shadow:0 24px 80px rgba(0,0,0,.48)}:root[data-theme="dark"] .detail-card{background:#1b2a38;border-color:#344755}:root[data-theme="dark"] .detail-title,:root[data-theme="dark"] .detail-card h3,:root[data-theme="dark"] .timeline-item strong{color:#e2ebf0}:root[data-theme="dark"] .detail-meta,:root[data-theme="dark"] .detail-note,:root[data-theme="dark"] .timeline-item small,:root[data-theme="dark"] .detail-file{color:#a5b6c3}:root[data-theme="dark"] .detail-close,:root[data-theme="dark"] .icon-button{color:#b2c1cb}:root[data-theme="dark"] .detail-files,:root[data-theme="dark"] .detail-actions{border-color:#30414e}:root[data-theme="dark"] .timeline-item:not(:last-child)::before{background:#3a4c5b}:root[data-theme="dark"] .timeline-marker{background:#192735;border-color:#4b7183}
:root[data-theme="dark"] .auth-gate{background:radial-gradient(ellipse at 80% 10%,#1e394b 0,transparent 35%),linear-gradient(145deg,#111d29,#172634)}:root[data-theme="dark"] .auth-card{background:#192735;border-color:#314553;color:#e3edf3}:root[data-theme="dark"] .auth-card h1{color:#e4edf3}:root[data-theme="dark"] .auth-card p,:root[data-theme="dark"] .auth-card .field{color:#b6c4ce}:root[data-theme="dark"] .auth-card input{background:#12202c}
:root[data-theme="dark"] .admin-user-form-panel .field,:root[data-theme="dark"] .admin-users-note,:root[data-theme="dark"] .person-line>div small{color:#a9b8c4}:root[data-theme="dark"] .admin-users-note,:root[data-theme="dark"] .person-line{border-color:#30414e}:root[data-theme="dark"] .user-state.active{background:#1e3d35;color:#79d3ac}:root[data-theme="dark"] .user-state.inactive{background:#2b3741;color:#b0bdc6}:root[data-theme="dark"] .new-user-result{background:#1c352e;border-color:#365d4b;color:#b1d9c4}:root[data-theme="dark"] .new-user-result code{color:#c5e6d4}
:root[data-theme="dark"] .rank-name,:root[data-theme="dark"] .rank-number,:root[data-theme="dark"] .water-breakdown>div,:root[data-theme="dark"] .water-total span{color:#b0bec9}:root[data-theme="dark"] .rank-track,:root[data-theme="dark"] .water-meter{background:#263743}:root[data-theme="dark"] .water-breakdown strong,:root[data-theme="dark"] .water-total strong{color:#e2ebf0}:root[data-theme="dark"] .nav-count{color:#d8e5eb}
:root[data-theme="dark"] .flow-strip{background:#192735;border-color:#2b3c4a}:root[data-theme="dark"] .flow-step strong,:root[data-theme="dark"] .flow-step>b,:root[data-theme="dark"] .process-item strong{color:#dce7ed}:root[data-theme="dark"] .flow-step small,:root[data-theme="dark"] .process-item p{color:#9eafbb}:root[data-theme="dark"] .flow-arrow{color:#78909f}:root[data-theme="dark"] .flow-number.gray-bg,:root[data-theme="dark"] .process-icon.gray{background:#2b3742;color:#b6c2ca}:root[data-theme="dark"] .process-item,:root[data-theme="dark"] .dispatch-row,:root[data-theme="dark"] .file-row,:root[data-theme="dark"] .person-line{border-color:#2d3d4a}:root[data-theme="dark"] .dispatch-copy strong,:root[data-theme="dark"] .file-info strong{color:#dce7ed}:root[data-theme="dark"] .dispatch-copy span,:root[data-theme="dark"] .file-info span,:root[data-theme="dark"] .file-size{color:#9cabb7}:root[data-theme="dark"] .file-icon{background:#432c32;color:#efaaaa}:root[data-theme="dark"] .detail-file a{color:#91cce1}
:root[data-theme="dark"] .form-hint{background:#20303d;color:#a8b8c3}:root[data-theme="dark"] .modal-header,:root[data-theme="dark"] .modal-footer{border-color:#30414e}:root[data-theme="dark"] .modal-header h2{color:#e4edf3}:root[data-theme="dark"] .year-label,:root[data-theme="dark"] .year-val,:root[data-theme="dark"] .y-axis{color:#9eafbc}:root[data-theme="dark"] .column-chart{border-color:#354653;background:repeating-linear-gradient(to bottom,transparent 0,transparent calc(33.33% - 1px),#2b3b48 calc(33.33% - 1px),#2b3b48 33.33%)}:root[data-theme="dark"] .chart-foot{color:#a4b2bd}:root[data-theme="dark"] .chart-note{color:#879aa8}:root[data-theme="dark"] .insight-stat p,:root[data-theme="dark"] .insight-stat b{color:#c3d0d9}
@media(prefers-reduced-motion:reduce){.theme-toggle,.button,.kpi-card,.panel{transition:none}}
@media(max-width:560px){.theme-toggle{width:36px;justify-content:center;padding:0}.theme-toggle-label{display:none}.top-actions{gap:6px}}
