:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--theme-surface:#fff;--theme-surface-soft:#f3f6f8;--theme-hover:#edf4f3;--theme-shadow:0 12px 40px #102f4520}.theme-control{flex-shrink:0;align-items:center;display:flex;position:relative}.theme-trigger{border:1px solid var(--line);background:var(--theme-surface);color:#637888;white-space:nowrap;border-radius:6px;align-items:center;gap:7px;min-height:31px;padding:5px 9px;font-size:10px;display:inline-flex}.theme-trigger:hover,.theme-trigger[aria-expanded=true]{background:var(--theme-hover);color:var(--teal)}.theme-menu{z-index:110;background:var(--theme-surface);border:1px solid var(--line);min-width:166px;box-shadow:var(--theme-shadow);color:var(--text);border-radius:10px;padding:7px;position:absolute;top:calc(100% + 10px);right:0}.theme-menu-label{color:var(--muted);letter-spacing:.7px;padding:6px 9px 8px;font-size:9px;display:block}.theme-menu button{text-align:left;border-radius:5px;align-items:center;gap:10px;width:100%;padding:9px;font-size:11px;display:flex}.theme-menu button:hover,.theme-menu button:focus-visible{background:var(--theme-hover);outline-offset:-2px}.theme-menu button[aria-checked=true]{color:var(--teal);background:var(--theme-surface-soft)}.theme-check{margin-left:auto}@media (prefers-reduced-motion:no-preference){body,.topbar,.sidebar,.panel,.metric-card,.context-bar,.detail-card,.modal,.btn,.number-input,.theme-trigger,.theme-menu,.theme-menu button{transition-property:background-color,border-color,color,box-shadow;transition-duration:.16s;transition-timing-function:ease}.theme-menu{animation:.14s ease-out theme-menu-in}@keyframes theme-menu-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}}@media screen{:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--navy:#0b1b28;--navy-dark:#071521;--teal:#79d5bf;--teal-soft:#173a36;--bg:#0e1722;--line:#2b3c4d;--text:#e7eef5;--muted:#a1b2c1;--white:#172431;--amber:#e2bd79;--theme-surface:#172431;--theme-surface-soft:#203342;--theme-hover:#24443f;--theme-shadow:0 15px 45px #0007}:root[data-theme=dark] body{background:var(--bg);color:var(--text)}:root[data-theme=dark] .workspace{background:var(--bg)}:root[data-theme=dark] .topbar,:root[data-theme=dark] .context-bar,:root[data-theme=dark] .metric-card,:root[data-theme=dark] .panel,:root[data-theme=dark] .detail-card,:root[data-theme=dark] .empty-state,:root[data-theme=dark] .modal,:root[data-theme=dark] .toast{background:var(--theme-surface);border-color:var(--line);box-shadow:0 2px 6px #00000010}:root[data-theme=dark] .sidebar{color:#b9cad7;border-right:1px solid #233544}:root[data-theme=dark] .sidebar nav button:hover{color:#f5fbff;background:#1b3445}:root[data-theme=dark] .sidebar nav button.active{color:#effbf8;background:#244654}:root[data-theme=dark] .sidebar-tip{background:#102a38;border-color:#2d4757}:root[data-theme=dark] .sidebar-caption,:root[data-theme=dark] .sidebar-tip p,:root[data-theme=dark] .account-avatar small,:root[data-theme=dark] .auth-link{color:#9fb4c5}:root[data-theme=dark] .account-avatar{border-color:#2c4354}:root[data-theme=dark] .account-avatar>span{background:#2b4c60}:root[data-theme=dark] .breadcrumb,:root[data-theme=dark] .year-pill,:root[data-theme=dark] .page-heading p,:root[data-theme=dark] .record-status,:root[data-theme=dark] .scenario-control label,:root[data-theme=dark] .footnote,:root[data-theme=dark] .input-guidance,:root[data-theme=dark] .settings-grid>label,:root[data-theme=dark] .business-card p,:root[data-theme=dark] .business-card .business-notes,:root[data-theme=dark] .empty-state p,:root[data-theme=dark] .methodology>p,:root[data-theme=dark] .method-list,:root[data-theme=dark] .rule-list>div,:root[data-theme=dark] .case-open small,:root[data-theme=dark] .history-row p,:root[data-theme=dark] .history-row small{color:#a4b6c5}:root[data-theme=dark] .breadcrumb strong,:root[data-theme=dark] .allocation-legend strong,:root[data-theme=dark] .rule-list strong{color:#d8e6ef}:root[data-theme=dark] .slash,:root[data-theme=dark] .footer-divider{color:#6f8496}:root[data-theme=dark] .language-switch{background:#13202c;border-color:#344959}:root[data-theme=dark] .language-switch button{color:#a9bdcc}:root[data-theme=dark] .language-switch .selected{color:#a1e6d4;background:#25443f}:root[data-theme=dark] .theme-trigger{color:#bed0de}:root[data-theme=dark] .help-btn,:root[data-theme=dark] .icon-btn,:root[data-theme=dark] .text-button,:root[data-theme=dark] .panel-heading>svg{color:#a9bdcd}:root[data-theme=dark] .text-button:hover,:root[data-theme=dark] .text-button.selected{color:var(--teal)}:root[data-theme=dark] .btn{color:#deebf4;box-shadow:none;background:#203342;border-color:#3a4f60}:root[data-theme=dark] .btn:hover{background:#2b4355;border-color:#567084}:root[data-theme=dark] .btn.primary{color:#082c28;background:#5cc5aa;border-color:#5cc5aa;box-shadow:0 2px 5px #0002}:root[data-theme=dark] .btn.primary:hover{background:#81ddc6;border-color:#81ddc6}:root[data-theme=dark] .icon-btn:hover{color:#99e0cc;background:#25443f}:root[data-theme=dark] .icon-btn.danger:hover{color:#ffb4ad;background:#4b2c33}:root[data-theme=dark] .business-icon,:root[data-theme=dark] .business-large-icon,:root[data-theme=dark] .empty-icon,:root[data-theme=dark] .report-file-icon{color:#89d4bf;background:#203f3a}:root[data-theme=dark] .context-bar label,:root[data-theme=dark] .metric-label,:root[data-theme=dark] .metric-label svg,:root[data-theme=dark] .metric-foot,:root[data-theme=dark] .allocation-total small,:root[data-theme=dark] .allocation-legend>div,:root[data-theme=dark] .mini-bar-label,:root[data-theme=dark] .mini-bar-label strong,:root[data-theme=dark] .detail-card div>span,:root[data-theme=dark] .detail-card>svg,:root[data-theme=dark] .comparison-difference,:root[data-theme=dark] .business-card-footer small,:root[data-theme=dark] .app-footer{color:#a4b8c8}:root[data-theme=dark] .subtle-pill{color:#b7c9d7;background:#1e3040;border-color:#304555}:root[data-theme=dark] .metric-delta{color:#a0dfc7;background:#234139}:root[data-theme=dark] .metric-card.accent{background:#163c35;border-color:#2f6b59}:root[data-theme=dark] .metric-card.accent .metric-label,:root[data-theme=dark] .metric-card.accent>strong,:root[data-theme=dark] .metric-card.accent svg{color:#91e4c7}:root[data-theme=dark] .metric-card.accent .metric-delta{color:#b4efd7;background:#245444}:root[data-theme=dark] .allocation-track{background:#314b60}:root[data-theme=dark] .allocation-track span,:root[data-theme=dark] .legend-dot.teal{background:#65c8ad}:root[data-theme=dark] .legend-dot.navy{background:#55758e}:root[data-theme=dark] .mini-bars{border-color:var(--line)}:root[data-theme=dark] .mini-bar-track{background:#2b4052}:root[data-theme=dark] .mini-bar-track span{background:#75c4b3}:root[data-theme=dark] .mini-bars>div+div .mini-bar-track span{background:#5e8c87}:root[data-theme=dark] .data-table th{border-color:var(--line);color:#b0c4d3;background:#1b2c3b}:root[data-theme=dark] .data-table td{color:#b8cad7;border-color:#2a3b4a}:root[data-theme=dark] .data-table td.numeric{color:#e0ecf5}:root[data-theme=dark] .data-table tfoot td{border-color:#3a5266;color:#d8ebe9!important}:root[data-theme=dark] .tax-table tfoot td.numeric{color:#87dec6!important}:root[data-theme=dark] .detail-icon{color:#a5c9dc;background:#243949}:root[data-theme=dark] .inline-alert{color:#e2c78f;background:#3a3020;border-color:#615039}:root[data-theme=dark] .inline-alert.error{color:#ffc2be;background:#3b242c;border-color:#70414d}:root[data-theme=dark] .tabs button{color:#b0c0ce}:root[data-theme=dark] .tabs button.selected{color:#9ce2cc;background:#203e38;border-color:#396d5f}:root[data-theme=dark] .input-table th small,:root[data-theme=dark] .input-table td>small{color:#9fb4c4}:root[data-theme=dark] .number-input,:root[data-theme=dark] .settings-grid .number-input,:root[data-theme=dark] .modal form input,:root[data-theme=dark] .modal form textarea{color:#edf5fb;background:#101f2d;border-color:#3a5266}:root[data-theme=dark] .number-input:hover{border-color:#66899c}:root[data-theme=dark] input:focus,:root[data-theme=dark] select:focus,:root[data-theme=dark] textarea:focus{border-color:#69cbb0;outline-color:#69cbb0}:root[data-theme=dark] input::placeholder,:root[data-theme=dark] textarea::placeholder{color:#8ca3b5}:root[data-theme=dark] select option{color:#e7eef5;background:#172b3a}:root[data-theme=dark] .special-input td{background:#1c2e3e}:root[data-theme=dark] .compare-columns article{background:#223748}:root[data-theme=dark] .compare-columns article+article{background:#1d4036}:root[data-theme=dark] .compare-columns span,:root[data-theme=dark] .compare-columns small{color:#acc4cf}:root[data-theme=dark] .compare-columns article+article strong,:root[data-theme=dark] .comparison-difference strong{color:#94e2c9}:root[data-theme=dark] .business-card.selected-business{border-color:#4b9b81}:root[data-theme=dark] .business-card-footer,:root[data-theme=dark] .case-row,:root[data-theme=dark] .history-row,:root[data-theme=dark] .rule-list,:root[data-theme=dark] .rule-list>div{border-color:var(--line)}:root[data-theme=dark] .source-link{color:#92d4be}:root[data-theme=dark] .sample-banner{color:#b0ddcb;background:#193c34;border-color:#2d6351}:root[data-theme=dark] .toast{border-color:#427365;box-shadow:0 15px 50px #0006}:root[data-theme=dark] .toast>span{color:#92dbc4}:root[data-theme=dark] .toast.error{border-color:#97626a}:root[data-theme=dark] .toast.error>span{color:#ffb8af}:root[data-theme=dark] .modal-backdrop{background:#020b15aa}:root[data-theme=dark] .modal{box-shadow:0 25px 90px #0009}:root[data-theme=dark] .modal form>label{color:#b3c8d7}}@media (max-width:560px){.theme-trigger{gap:5px;padding:5px 7px}.theme-trigger>span{display:none}.theme-menu{min-width:156px;right:-40px}.top-actions{gap:8px}}@media print{:root{--lightningcss-light:initial!important;--lightningcss-dark: !important;color-scheme:light!important}.theme-control{display:none!important}}
.ambient-banner{isolation:isolate;background:linear-gradient(112deg,#f4fbf8 6%,#edf7f5 48%,#e3f0f1);border:1px solid #d7e8e3;border-radius:11px;align-items:center;min-height:132px;margin-bottom:23px;padding:23px 27px;display:flex;position:relative;overflow:hidden}.ambient-copy{z-index:2;pointer-events:none;max-width:48%;position:relative}.ambient-kicker{color:#5f8c82;letter-spacing:1.9px;margin-bottom:8px;font-size:9px;font-weight:700;display:block}.ambient-copy h2{color:#1c4e4a;letter-spacing:-.35px;font-size:18px;font-weight:600}.ambient-copy p{color:#6c8987;margin-top:7px;font-size:10px;line-height:1.7}.ambient-art{z-index:0;pointer-events:none;position:absolute;inset:0}.ambient-canvas{opacity:0;transition:opacity .7s;position:absolute;inset:0}.ambient-canvas canvas{pointer-events:none;width:100%;height:100%;display:block}.ambient-art.is-rendering .ambient-canvas{opacity:1}.ambient-fallback{opacity:.7;transition:opacity .7s;position:absolute;inset:0;overflow:hidden}.ambient-art.is-rendering .ambient-fallback{opacity:0}.ambient-fallback i{border:1px solid #529f9290;border-radius:50%;width:34%;height:230%;position:absolute;top:-66%;right:8%;transform:rotate(-35deg)rotateX(52deg)}.ambient-fallback i:nth-child(2){border-color:#649da070;top:-58%;right:6%}.ambient-fallback i:nth-child(3){border-color:#76b3a960;top:-50%;right:4%}.ambient-fallback i:nth-child(4){border-color:#469c9660;top:-42%;right:2%}.ambient-fallback i:nth-child(5){border-color:#89b9b250;top:-34%;right:0}.ambient-edge{z-index:3;background:#54b69b;border-radius:0 3px 3px 0;width:3px;position:absolute;top:26px;bottom:26px;left:0}[data-theme=dark] .ambient-banner{background:linear-gradient(112deg,#152c34 3%,#152e35 48%,#183b43);border-color:#274a4d}[data-theme=dark] .ambient-kicker{color:#80b5ab}[data-theme=dark] .ambient-copy h2{color:#c4eee3}[data-theme=dark] .ambient-copy p{color:#8fb0b0}[data-theme=dark] .ambient-fallback{opacity:.6}[data-theme=dark] .ambient-fallback i{border-color:#68d5b755}[data-theme=dark] .ambient-edge{background:#74d7ba}.ambient-motion-control{z-index:4;color:#3f756c;cursor:pointer;background:#f0f8f5e8;border:1px solid #b9d7cf;border-radius:5px;align-items:center;gap:5px;min-height:27px;padding:4px 8px;font-size:9px;line-height:1.4;display:inline-flex;position:absolute;bottom:11px;right:13px}.ambient-motion-control:hover:not(:disabled){background:#e0f1eb;border-color:#84b9aa}.ambient-motion-control:disabled{cursor:default;opacity:1;color:#61847b}.ambient-motion-control:focus-visible{outline-offset:3px;outline:2px solid #1b8d7a}[data-theme=dark] .ambient-motion-control{color:#aad8ca;background:#16353bea;border-color:#3b6864}[data-theme=dark] .ambient-motion-control:hover:not(:disabled){background:#21494b;border-color:#5f9b8b}[data-theme=dark] .ambient-motion-control:disabled{color:#91b8b0}.metric-card,.detail-card,.business-card,.compare-columns article{transition:transform .2s,box-shadow .2s,border-color .2s}.metric-card:hover,.detail-card:hover,.business-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #153d5e08}.btn,.icon-btn,.tabs button,.language-switch button,.theme-trigger{transition:background-color .18s,border-color .18s,color .18s,transform .18s}.btn:active:not(:disabled),.icon-btn:active:not(:disabled){transform:translateY(1px)}.allocation-track span,.mini-bar-track span{transition:width .65s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion:no-preference){.metric-card{animation:.48s cubic-bezier(.2,.7,.2,1) both ledger-enter}.metric-card:nth-child(2){animation-delay:35ms}.metric-card:nth-child(3){animation-delay:70ms}.metric-card:nth-child(4){animation-delay:.105s}.ambient-banner{animation:.42s both ledger-enter}.modal{animation:.18s both ledger-dialog}.toast{animation:.25s both ledger-enter}.dashboard-grid>.panel{animation:.5s cubic-bezier(.2,.7,.2,1) both ledger-enter}.dashboard-grid>.panel:nth-child(2){animation-delay:65ms}}@keyframes ledger-enter{0%{transform:translateY(8px)}to{transform:translateY(0)}}@keyframes ledger-dialog{0%{transform:translateY(6px)scale(.99)}to{transform:translateY(0)scale(1)}}@media (max-width:1050px){.ambient-banner{min-height:126px;padding:21px 23px}.ambient-copy h2{font-size:17px}.ambient-copy{max-width:57%}}@media (max-width:560px){.ambient-banner{min-height:146px;margin-bottom:17px;padding:18px 21px 42px}.ambient-copy{max-width:80%}.ambient-copy h2{font-size:16px}.ambient-copy p{max-width:230px;font-size:9px}.ambient-kicker{margin-bottom:6px;font-size:8px}.ambient-art{opacity:.65}.ambient-fallback i{width:60%;right:-12%}.ambient-fallback i:nth-child(2){right:-10%}.ambient-fallback i:nth-child(3){right:-8%}.ambient-fallback i:nth-child(4){right:-6%}.ambient-fallback i:nth-child(5){right:-4%}.ambient-motion-control{bottom:9px;right:11px}}@media (prefers-reduced-motion:reduce){.ambient-canvas{display:none}.ambient-fallback{opacity:.65!important}.ambient-canvas,.ambient-fallback,.metric-card,.detail-card,.business-card,.compare-columns article,.btn,.icon-btn,.tabs button,.language-switch button,.theme-trigger,.allocation-track span,.mini-bar-track span{transition:none!important}.metric-card,.ambient-banner,.modal,.toast,.dashboard-grid>.panel{animation:none!important}.metric-card:hover,.detail-card:hover,.business-card:hover{transform:none}}@media print{.ambient-banner{display:none!important}.metric-card,.detail-card,.business-card{box-shadow:none!important;transform:none!important}*{transition:none!important;animation:none!important}}
