.theme-dark{--ink:#e9f5ee;--muted:#a9c0b2;--green:#091c1b;--line:#2b4a42;--surface:#142b28;--canvas:#0b1b1b;background:var(--canvas);color:var(--ink);color-scheme:dark}
.theme-dark .main-column,.theme-dark .content-wrap{background:var(--canvas)}
.theme-dark .sidebar,.theme-dark .topbar,.theme-dark .bottom-nav{background:#102522;border-color:#2a4740}
.theme-dark .brand strong,.theme-dark .footer-brand strong,.theme-dark .brand-symbol span:not(:last-child){color:#e6f3e8;background-color:#e6f3e8}
.theme-dark .brand strong,.theme-dark .footer-brand strong{background:none}
.theme-dark .brand small,.theme-dark .side-section-label,.theme-dark .side-location small,.theme-dark .side-location em,.theme-dark .side-demo,.theme-dark .nav-link,.theme-dark .nav-link svg,.theme-dark .top-breadcrumb,.theme-dark .top-breadcrumb span{color:#9db7a8}
.theme-dark .side-location,.theme-dark .search-trigger,.theme-dark .search-trigger kbd,.theme-dark .select-wrap,.theme-dark .catalog-search,.theme-dark .record-search{background:#1a3430;border-color:#31534a;color:#c3d8ca}
.theme-dark .side-location:hover,.theme-dark .nav-link:hover,.theme-dark .nav-link.active{background:#244840;color:#e6f8df}
.theme-dark .location-orb,.theme-dark .top-avatar,.theme-dark .kpi-icon,.theme-dark .topic-icon,.theme-dark .catalog-icon,.theme-dark .open-icon,.theme-dark .trust-mark,.theme-dark .not-ready-icon{background:#2d5145;color:#c4eaa7}
.theme-dark .side-demo,.theme-dark .sidebar-bottom,.theme-dark .topbar,.theme-dark .bottom-nav{border-color:#2a4740}
.theme-dark .top-breadcrumb strong,.theme-dark .top-icon,.theme-dark .icon-button,.theme-dark .select-wrap select,.theme-dark .filter-panel select,.theme-dark .simple-select select,.theme-dark .record-search input,.theme-dark .catalog-search input{color:#e6f1e9}
.theme-dark input::placeholder{color:#9eb7a7}
.theme-dark .page-intro h1,.theme-dark .inner-top h1,.theme-dark .summary-heading h2,.theme-dark .section-head h2,.theme-dark .explore-chart-head h2,.theme-dark .records-head h2,.theme-dark .kpi-card strong,.theme-dark .donut strong,.theme-dark .topic-card strong,.theme-dark .catalog-card strong,.theme-dark .open-feature h2,.theme-dark .open-principles h3,.theme-dark .open-principles strong,.theme-dark .not-ready h2,.theme-dark .principle-grid h2,.theme-dark .help-steps h2,.theme-dark .access-box h2,.theme-dark .reference-panel h2,.theme-dark .detail-dialog h2,.theme-dark .detail-amount,.theme-dark .detail-dialog dd,.theme-dark .trust-strip strong{color:#e4f3e8}
.theme-dark .page-intro p,.theme-dark .inner-top p,.theme-dark .section-head p,.theme-dark .kpi-card p,.theme-dark .kpi-card small,.theme-dark .chart-legend,.theme-dark .chart-foot,.theme-dark .chart-caption,.theme-dark .distribution-list button,.theme-dark .topic-card small,.theme-dark .catalog-card p,.theme-dark .open-feature p,.theme-dark .open-principles p,.theme-dark .not-ready p,.theme-dark .principle-grid p,.theme-dark .help-steps p,.theme-dark .reference-panel p,.theme-dark .trust-strip p,.theme-dark .footer-note,.theme-dark .footer-links button{color:#a8c0b1}
.theme-dark .kpi-card,.theme-dark .panel,.theme-dark .topic-card,.theme-dark .catalog-card,.theme-dark .trust-strip,.theme-dark .filter-panel,.theme-dark .not-ready,.theme-dark .open-feature,.theme-dark .open-principles,.theme-dark .principle-grid article,.theme-dark .help-steps>div,.theme-dark .search-dialog,.theme-dark .detail-dialog{background:#142d29;border-color:#2d4c43;box-shadow:none}
.theme-dark .kpi-card>button,.theme-dark .row-open,.theme-dark .search-input-line button,.theme-dark .detail-close{background:#24483c;color:#c5ecaa}
.theme-dark .data-notice,.theme-dark .insight-panel,.theme-dark .ask-panel,.theme-dark .catalog-hero,.theme-dark .reference-panel,.theme-dark .access-box,.theme-dark .assistant-answer,.theme-dark .detail-foot{background:#1d3b33;border-color:#315347;color:#c9ddcb}
.theme-dark .data-notice strong,.theme-dark .insight-panel p strong,.theme-dark .catalog-hero strong,.theme-dark .assistant-answer strong{color:#d9f4d3}
.theme-dark .insight-panel p,.theme-dark .ask-panel p,.theme-dark .catalog-hero p,.theme-dark .assistant-answer p,.theme-dark .assistant-answer small{color:#b1cbba}
.theme-dark .button.outline,.theme-dark .export-button,.theme-dark .group-tabs button,.theme-dark .prompt-list button{background:#25443a;border-color:#3c6551;color:#d6f0d2}
.theme-dark .button.dark,.theme-dark .group-tabs button.selected{background:#b8e98f;color:#103725;border-color:#b8e98f}
.theme-dark .filter-panel label,.theme-dark .simple-select,.theme-dark .horizontal-row span,.theme-dark .horizontal-row strong,.theme-dark .record-table-wrap td,.theme-dark .record-table-wrap td strong,.theme-dark .detail-dialog>p,.theme-dark .detail-dialog dt{color:#b6d0be}
.theme-dark .filter-title,.theme-dark .reset-button,.theme-dark .text-link,.theme-dark .distribution-list strong,.theme-dark .trust-strip button,.theme-dark .reference-panel a,.theme-dark .access-box .button{color:#c3efa8}
.theme-dark .filter-panel select,.theme-dark .simple-select select{background:#1e3b33;border-color:#3a5d4b}
.theme-dark .filter-help,.theme-dark .open-principles>div,.theme-dark .record-table-wrap td,.theme-dark .detail-dialog dl div,.theme-dark .detail-amount,.theme-dark .search-input-line,.theme-dark .search-hint{border-color:#315046}
.theme-dark .horizontal-track,.theme-dark .record-table-wrap th,.theme-dark .table-pill,.theme-dark .records-head h2 span{background:#24453a;color:#d4e9d7}
.theme-dark .record-table-wrap td small,.theme-dark .table-note,.theme-dark .empty-state,.theme-dark .updated,.theme-dark .donut small{color:#a9bfad}
.theme-dark .donut>div{background:#142d29}
.theme-dark .search-input-line input{background:transparent;color:#e4f3e8}
.theme-dark .search-results>button,.theme-dark .search-results>button strong,.theme-dark .search-results>button small,.theme-dark .detail-dialog dd,.theme-dark .search-hint{color:#d0e2d2}
.theme-dark .search-results>button:hover,.theme-dark .search-results>button>span{background:#244a3e}
.theme-dark .footer{background:#0e211e;border-color:#29453c}
.theme-dark .high-contrast,.theme-dark.high-contrast{--canvas:#06110f;--surface:#0d201b}
.theme-dark.high-contrast .content-wrap{background:#06110f}
.theme-dark.high-contrast .panel,.theme-dark.high-contrast .kpi-card,.theme-dark.high-contrast .topic-card,.theme-dark.high-contrast .catalog-card{border-color:#86b89d}
.theme-dark.high-contrast .page-intro p,.theme-dark.high-contrast .inner-top p,.theme-dark.high-contrast .section-head p{color:#d5e7d9}
.theme-dark .timeline-grid line{stroke:#365147}
.theme-dark .timeline-month{color:#afc7b6}
.theme-toggle{border:1px solid #e0e9e1;border-radius:9px;background:#f5f9f3;width:36px;height:36px}
.theme-dark .theme-toggle{background:#24443a;border-color:#3a5a4c;color:#d6eec7}
.timeline{margin-top:18px;min-width:0}
.timeline-svg{display:block;width:100%;height:183px;overflow:visible}
.timeline-grid line{stroke:#e6eee7;stroke-width:1;vector-effect:non-scaling-stroke}
.timeline-area{stroke:none;opacity:.14}
.timeline-area.revenue{fill:#93d45d}
.timeline-area.expense{fill:#1c8b78}
.timeline-line{fill:none;stroke-width:3;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.timeline-line.revenue{stroke:#8acb4f}
.timeline-line.expense{stroke:#178474}
.timeline-point{stroke:#fff;stroke-width:2;vector-effect:non-scaling-stroke}
.timeline-point.revenue{fill:#8acb4f}
.timeline-point.expense{fill:#178474}
.theme-dark .timeline-line.revenue{stroke:#b8e884}
.theme-dark .timeline-line.expense{stroke:#50bca8}
.theme-dark .timeline-point.revenue{fill:#b8e884;stroke:#142d29}
.theme-dark .timeline-point.expense{fill:#50bca8;stroke:#142d29}
.timeline-line.previous{stroke:#c49e5c;stroke-dasharray:5 4;stroke-width:2}
.timeline-area.previous{fill:#e8cf9d;opacity:.05}
.timeline-point.previous{fill:#c49e5c}
.theme-dark .timeline-line.previous{stroke:#e1bb78}
.theme-dark .timeline-point.previous{fill:#e1bb78;stroke:#142d29}
.legend-previous{background:#c49e5c}
.chart-mode-tabs{display:inline-flex;gap:2px;background:#ecf3e9;padding:3px;border-radius:8px;margin-top:13px}
.chart-mode-tabs button{border:0;border-radius:6px;background:transparent;color:#54715e;padding:6px 9px;font-size:10px;font-weight:700}
.chart-mode-tabs button.selected{background:#fff;color:#205c43;box-shadow:0 1px 4px #19482922}
.theme-dark .chart-mode-tabs{background:#1d3b31}
.theme-dark .chart-mode-tabs button{color:#b3ceb9}
.theme-dark .chart-mode-tabs button.selected{background:#315a45;color:#e7f7e1}
.timeline-months{display:flex;gap:1px;margin-top:4px}
.timeline-month{flex:1;border:0;background:transparent;color:#829a88;font-size:9px;font-weight:700;text-align:center;min-width:0;padding:6px 0;border-radius:5px}
button.timeline-month:hover,.timeline-month.selected{background:#e5f3df;color:#225e42}
.theme-dark button.timeline-month:hover,.theme-dark .timeline-month.selected{background:#305347;color:#e3f8d8}
.export-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}
.records-head>div:first-child{min-width:0}
@media(max-width:680px){.top-icon.theme-toggle{display:grid}.top-actions{gap:2px}.theme-dark .top-avatar{display:none}.timeline-svg{height:150px}.timeline-month{font-size:8px}.export-actions .export-button{font-size:9px;padding:7px}.records-head h2{font-size:16px}}
