@charset "UTF-8";
:root{color-scheme:dark;--bg:#0b1520;--side:#101e2c;--panel:#142536;--panel-soft:#182c3e;--line:#2e4558;--line-soft:#253b4d;--ink:#ebf1f6;--muted:#a7bdce;--dim:#7f9bb1;--accent:#a5c7e2;--green:#9cd9c1;--gold:#e8c58e;--red:#f0aba5;--radius:9px;--sidebar:240px;font-family:"Inter","Segoe UI",Arial,sans-serif;font-size:16px;font-synthesis:none}
*{box-sizing:border-box}html{min-height:100%;scroll-behavior:smooth}body{margin:0;min-width:320px;background:var(--bg);color:var(--ink);font-size:1rem;line-height:1.6}h1,h2,h3,h4,p{margin:0}button,input,select,textarea{font:inherit}button,a,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:var(--accent);text-underline-offset:4px}button:disabled{cursor:not-allowed;opacity:.5}img{display:block;max-width:100%;height:auto}svg{vertical-align:middle}button,input,textarea,select,a,summary{touch-action:manipulation}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #b0d9f5;outline-offset:4px}input:focus,select:focus,textarea:focus{border-color:#9cc4e2}::selection{background:#a5c7e2;color:#0b1520}[hidden]{display:none!important}.skip-link{position:fixed;z-index:100;top:-100px;left:15px;background:#d7e5ef;color:#0c1e2c;padding:13px 20px;text-decoration:none}.skip-link:focus{top:15px}
.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);display:flex;flex-direction:column;padding:22px 15px;background:linear-gradient(180deg,#112131,#0e1b28);border-right:1px solid var(--line);overflow-y:auto;z-index:20}.corporate-link{font-size:.875rem;line-height:1.4;text-decoration:none;display:block;color:#acc4d7;padding:4px 9px 18px;border-bottom:1px solid var(--line-soft)}.corporate-link:hover{color:white}.brand-lockup{display:flex;gap:13px;align-items:center;padding:28px 9px 30px}.brand-name{font-size:1.35rem;font-weight:500;letter-spacing:.16em;line-height:1.15;display:block}.brand-subtitle{font:12px/1.6 Consolas,"SFMono-Regular",monospace;color:var(--muted);letter-spacing:.12em;display:block;margin-top:7px}.nav-label{font:12px/1.5 Consolas,"SFMono-Regular",monospace;color:#7f9db5;letter-spacing:.07em;padding:0 12px 12px}#nav{display:flex;flex-direction:column;gap:5px}#nav button{display:flex;align-items:center;gap:12px;min-height:47px;padding:11px 13px;border:1px solid transparent;border-radius:6px;line-height:1.45;text-align:left;background:transparent;color:#b3c7d7;font-size:.875rem;width:100%;position:relative}#nav button svg{width:19px;height:19px;flex:0 0 19px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round;opacity:.85}#nav button:hover{background:#1b3144;color:#edf4f9}#nav button.active,#nav button[aria-current="page"]{color:#f4f8fb;background:#263f54;border-color:#35556f;box-shadow:inset 3px 0 #b3d1e8}#nav button.active svg{opacity:1}.sidebar-footer{padding:22px 10px 0;margin-top:auto}.beta-stamp{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #2b4153;padding-top:18px;font:12px/1.5 Consolas,"SFMono-Regular",monospace;letter-spacing:.05em;color:#829eb4}.beta-stamp span:first-child{color:#bbd3e5}.save-status{font-size:.8125rem;color:#9fb9ce;margin:9px 0 4px;min-height:2.5em;line-height:1.55;overflow-wrap:anywhere}.save-status.success,.save-status.saved{color:var(--green)}.save-status.error,.save-status.conflict{color:var(--red)}.save-status.pending,.save-status.saving{color:var(--gold)}.help-link{padding:4px 0;color:#aac2d5;text-decoration:underline;text-underline-offset:4px;border:0;background:transparent;font-size:.8125rem;min-height:32px}
.app-main{margin-left:var(--sidebar);padding:26px 34px 18px;max-width:1910px;min-width:0}.workspace-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:21px}.workspace-label{font:12px/1.5 Consolas,"SFMono-Regular",monospace;letter-spacing:.09em;text-transform:uppercase;color:#95b2c9;overflow-wrap:anywhere}.topbar{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:26px;padding-bottom:24px;border-bottom:1px solid var(--line)}.page-heading{min-width:0}.page-heading h1{font-size:clamp(1.65rem,2.25vw,2.25rem);line-height:1.2;font-weight:550;letter-spacing:-.025em;margin-bottom:8px}.page-heading p{font-size:1rem;line-height:1.5;color:var(--muted);max-width:680px}.top-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end;flex-shrink:0}.workspace-footer{display:flex;justify-content:space-between;gap:20px;margin-top:40px;padding:18px 0 0;border-top:1px solid #253a4b;color:#7894a9;font-size:.75rem}.workspace-footer>span:first-child{font-family:Consolas,"SFMono-Regular",monospace;letter-spacing:.08em}#content{outline:none;min-width:0}#content:focus-visible{outline:0}.eyebrow{font:12px/1.5 Consolas,"SFMono-Regular",monospace;letter-spacing:.1em;text-transform:uppercase;color:#9fbbcf}.muted{color:var(--muted)}.dim{color:var(--dim)}.good,.success-text{color:var(--green)}.bad,.danger-text{color:var(--red)}.warn,.warning-text{color:var(--gold)}.num{font-variant-numeric:tabular-nums}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.grid{display:grid;gap:18px}.kpis{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:24px}.metric{min-width:0;background:linear-gradient(135deg,#182d40,#132536);border:1px solid var(--line);border-radius:var(--radius);padding:20px 20px 18px}.metric-label{display:block;font-size:.875rem;font-weight:500;letter-spacing:.08em;text-transform:uppercase;line-height:1.5;color:#a7c0d3}.metric-value{display:block;font-size:clamp(1.6rem,2.3vw,2.1rem);font-weight:550;line-height:1.2;letter-spacing:-.035em;font-variant-numeric:tabular-nums;color:#f0f5f9;margin:14px 0 10px;overflow-wrap:anywhere}.metric-note{display:block;font-size:.875rem;color:#9bb4c8;line-height:1.45;min-height:1.45em}.metric-value.danger,.metric.danger .metric-value{color:var(--red)}.metric-value.success,.metric.success .metric-value{color:var(--green)}.metric-value.warning,.metric.warning .metric-value{color:var(--gold)}.metric.accent{background:#1b3449;border-color:#53728b}.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:23px;min-width:0}.panel h2{font-size:1.125rem;font-weight:550;line-height:1.4;letter-spacing:-.015em}.panel h3{font-size:1rem;font-weight:550;line-height:1.4}.panel>h2{margin-bottom:16px}.panel-head,.split-header{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:20px}.panel-head h2,.split-header h2{margin:0}.panel-head p,.split-header p{font-size:.875rem;color:var(--muted);margin-top:4px;max-width:660px}.two-column{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr);gap:20px;margin-bottom:22px}.two-column.equal{grid-template-columns:repeat(2,minmax(0,1fr))}.stack{display:flex;flex-direction:column;gap:18px}.page-section{margin-top:24px}.panel+.panel{margin-top:22px}.grid>.panel+.panel,.two-column>.panel+.panel,.stack>.panel+.panel{margin-top:0}.panel>p+.toolbar,.panel>p+.form-grid{margin-top:18px}.panel>p{max-width:100%;line-height:1.7}.panel>p+p{margin-top:12px}.panel>p:not(.eyebrow){color:var(--muted)}
.button,.icon-button{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:10px 16px;background:#253e53;color:#e1edf6;border:1px solid #46647c;border-radius:5px;line-height:1.4;font-size:.875rem;font-weight:500;text-decoration:none;white-space:nowrap;transition:background .15s,border-color .15s}.button:hover,.icon-button:hover{background:#314f66;border-color:#718fa6}.button.primary{background:#b9d3e6;color:#102333;border-color:#b9d3e6;font-weight:600}.button.primary:hover{background:#d7e6f1;border-color:#d7e6f1}.button.secondary{background:#1a3043;border-color:#3f5a70}.button.danger{background:#382a32;color:#f1b4ad;border-color:#755057}.button.danger:hover{background:#4b303b;border-color:#ae6a6e}.button.small{min-height:35px;padding:7px 11px;font-size:.875rem}.button.ghost{background:transparent;border-color:#3e586f;color:#bad0e1}.button svg,.icon-button svg{height:17px;width:17px}.icon-button{min-width:40px;padding:8px}.button.full-width{width:100%}.toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:20px}.toolbar:last-child{margin-bottom:0}.toolbar .spacer{flex:1}.toolbar>label{margin:0}.toolbar input,.toolbar select{font-size:.875rem;min-height:43px}.toolbar .search-input{flex:1;min-width:210px;max-width:370px}.toolbar .button{margin:0}.row-actions{display:flex;align-items:center;gap:7px;flex-wrap:nowrap}.row-actions .button{min-height:33px;padding:6px 10px;font-size:.875rem}.badge{display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:.8125rem;font-weight:500;line-height:1.4;padding:5px 9px;border:1px solid #36566f;border-radius:4px;color:#bad1e3;background:#203a50;white-space:nowrap}.badge.success{color:#a3dfca;background:#1b3b34;border-color:#365b4e}.badge.warning{color:#edcd9e;background:#3b3427;border-color:#6a5b3e}.badge.danger{color:#f0b0a8;background:#422d34;border-color:#70464c}.badge.neutral{color:#afc7d9;background:#1a2f41;border-color:#3d566b}#mode-badge{font-family:Consolas,"SFMono-Regular",monospace;font-size:.75rem;letter-spacing:.05em;padding:4px 8px}
.table-wrap{overflow-x:auto;max-width:100%;overscroll-behavior-x:contain;border-radius:5px;scrollbar-color:#587990 #142435;scrollbar-width:thin}table{border-collapse:collapse;width:100%;font-size:.875rem;line-height:1.55}th,td{text-align:left;vertical-align:middle;padding:14px 13px;border-bottom:1px solid var(--line-soft)}th{font-size:.75rem;text-transform:uppercase;letter-spacing:.055em;color:#a7c0d2;font-weight:500;white-space:nowrap;background:#172b3d}thead th:first-child{border-radius:4px 0 0 4px}thead th:last-child{border-radius:0 4px 4px 0}tbody tr:last-child td{border-bottom:0}tbody tr:hover td{background:#1c3347a6}td.num,th.num{text-align:right;white-space:nowrap}td .muted{display:block;font-size:.8125rem;line-height:1.45;margin-top:4px}td strong{font-weight:550;color:#e8f1f7}td:first-child{min-width:140px}td:last-child:has(.row-actions){width:1%}.table-wrap:focus-visible{outline:2px solid #a3c8e3;outline-offset:4px}.empty-state{text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:13px;padding:48px 24px;color:var(--muted);min-height:200px}.empty-state h2,.empty-state h3{color:var(--ink);font-size:1.25rem;font-weight:500}.empty-state p{max-width:540px;line-height:1.7}.empty-state .button{margin-top:5px}.empty-state svg{width:42px;height:42px;color:#7496af}.loading-state{margin:38px auto;max-width:610px;border:1px solid #2d475b;background:linear-gradient(125deg,#162b3e,#10202f);border-radius:9px;padding:45px;text-align:center}.loading-mark{display:flex;justify-content:center;margin-bottom:20px}.loading-state h2{font-size:1.3rem;font-weight:500;letter-spacing:-.02em;margin-bottom:12px}.loading-state p{color:var(--muted);font-size:1rem;line-height:1.6}
.notice,.mode-notice{padding:15px 18px;margin:0 0 22px;background:#1c3448;border:1px solid #41627c;border-left:3px solid #9ec8e4;border-radius:5px;color:#bbd0df;font-size:.875rem;line-height:1.65}.notice strong,.mode-notice strong{color:#e4f0f8;font-weight:550}.notice .button,.mode-notice .button{margin:8px 8px 0 0}.notice>p+p,.mode-notice>p+p{margin-top:6px}.notice.info{background:#1b3246;border-color:#3f5f79;border-left-color:#97bdd9}.notice.warning{color:#ebce9f;background:#332d22;border-color:#65563b;border-left-color:#d8b67d}.notice.danger{color:#efbbb5;background:#35272f;border-color:#6b474e;border-left-color:#e7a39b}.notice.success{color:#b2dece;background:#1b332e;border-color:#3e6256;border-left-color:#9ecfb9}.notice:last-child{margin-bottom:0}.mode-notice{padding:0;border:0;background:none}.mode-notice>.notice{margin-bottom:0}.mode-notice:empty{display:none}.notice ul{padding-left:21px;margin:8px 0}.mode-notice p{display:block}.mode-notice p+p{display:block}.validation-list{color:#f0b2a9;background:#382b31;border:1px solid #6c4449;border-radius:5px;padding:14px 18px 14px 34px;line-height:1.7;font-size:.875rem;margin:0 0 20px}.validation-list:empty{display:none}.modal-message{font-size:.875rem;line-height:1.7;margin:0 0 20px;color:#f0b3ac;background:#382b32;border:1px solid #6a474e;border-radius:5px;padding:13px 16px}.modal-message:empty{display:none}
label{display:flex;flex-direction:column;gap:7px;color:#c6d8e5;font-size:.875rem;line-height:1.5;font-weight:450}input,select,textarea{width:100%;min-width:0;max-width:100%;border:1px solid #49657c;background:#0f2030;color:#edf4f9;border-radius:5px;padding:10px 12px;min-height:44px;font-size:1rem;line-height:1.4}textarea{resize:vertical;min-height:100px;line-height:1.6}input::placeholder,textarea::placeholder{color:#7896ad;opacity:1}input:disabled,select:disabled,textarea:disabled{opacity:.65;cursor:not-allowed}input[readonly]{color:#aac2d5;background:#142636}select{appearance:none;padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23bdd0e1' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center}option{background:#13283a;color:#ebf1f6}input[type="checkbox"],input[type="radio"]{appearance:auto;accent-color:#a7c9e4;width:19px;height:19px;min-height:19px;margin:0;flex-shrink:0}input[type="file"]{min-height:50px;padding:10px}input[type="file"]::file-selector-button{font:inherit;background:#29475e;color:#dfedf7;border:1px solid #597a94;border-radius:4px;padding:6px 10px;margin-right:14px}input[type="date"]::-webkit-calendar-picker-indicator{opacity:.65}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 21px}.form-grid .span-2,.form-grid>.notice,.form-grid>.form-section{grid-column:1/-1}.field-hint{font-size:.8125rem;line-height:1.55;color:#8eabc0;font-weight:400}.form-section{border-top:1px solid #314a60;padding-top:20px;margin-top:5px}.form-section h3{font-size:1rem;color:#dce9f2;margin-bottom:14px;font-weight:550}.check-row{display:flex;flex-direction:row;align-items:flex-start;gap:11px;font-size:.875rem;line-height:1.6;font-weight:400}.check-row input{margin-top:3px;flex-shrink:0}.check-row>span{display:block}.form-actions{display:flex;justify-content:flex-end;gap:10px;align-items:center;flex-wrap:wrap;margin-top:27px;padding-top:21px;border-top:1px solid #30495d}dialog{width:min(710px,calc(100vw - 32px));max-height:calc(100dvh - 42px);padding:0;border:1px solid #54738c;border-radius:11px;background:#142738;color:var(--ink);box-shadow:0 30px 90px #02080dc9;overflow:auto;overscroll-behavior:contain}dialog::backdrop{background:#030b13d9;backdrop-filter:blur(3px)}#editor-form{padding:28px}#editor-body{min-width:0}.dialog-heading{margin-bottom:24px}.dialog-heading .eyebrow{color:#8aabc3;margin-bottom:9px}.dialog-heading h2{font-size:1.6rem;font-weight:500;line-height:1.2;letter-spacing:-.025em}.dialog-actions{margin-top:26px;padding-top:20px}.dialog-actions .button{min-width:105px}#editor-body>p{font-size:1rem;line-height:1.75;color:var(--muted);margin-bottom:16px}.import-preview{max-height:310px;overflow:auto;border:1px solid #355068;border-radius:5px;margin-top:17px}.import-preview table{font-size:.8125rem}.import-preview th,.import-preview td{padding:9px 11px}.import-preview thead{position:sticky;top:0}.import-preview+small{display:block;color:#a8bfd1;margin-top:10px}
.chart-wrap{width:100%;max-width:100%;overflow-x:auto;scrollbar-color:#53738e #172b3d;scrollbar-width:thin}.chart{display:block;width:100%;height:auto;min-height:250px;max-height:350px;overflow:visible}.chart text{font-family:"Segoe UI",Arial,sans-serif}.chart-grid{stroke:#314c60;stroke-width:1}.legend{display:flex;align-items:center;gap:18px;flex-wrap:wrap;font-size:.8125rem;color:var(--muted);margin-top:14px}.legend>span{display:inline-flex;align-items:center;gap:7px}.legend i,.legend .swatch{display:inline-block;width:10px;height:10px;background:#8fb6d4;border-radius:2px;font-style:normal}.detail-list{display:flex;flex-direction:column;gap:0;margin:0}.detail-list dt{color:var(--muted)}.detail-list dd{margin:0;text-align:right;font-weight:550;font-variant-numeric:tabular-nums}.detail-list>div,.detail-list>li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid #2d4558;line-height:1.45}.detail-list>div:last-child,.detail-list>li:last-child{border-bottom:0}.detail-list p,.detail-list strong{color:#dce9f2;font-size:.9375rem;font-weight:500}.detail-list small{display:block;color:#8faac0;font-size:.8125rem;margin-top:5px}.detail-list .badge,.detail-list .button{flex-shrink:0}.detail-list .num{white-space:nowrap;font-weight:550}.progress-track{width:100%;height:7px;background:#2a4357;border-radius:4px;overflow:hidden;margin:8px 0}.bar-fill{display:block;height:100%;background:#91b8d6;border-radius:4px}.bar-fill.danger{background:#db9690}.bar-fill.warning{background:#dabb88}.stat-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid #2d465a;font-size:.875rem}.stat-row:last-child{border:0}.stat-row>span:first-child{color:#a8c0d2}.stat-row strong{font-weight:550;overflow-wrap:anywhere}.stat-row>div{min-width:0}.stat-row>div>.muted{display:block;font-size:.875rem;line-height:1.5;margin-top:4px}.stat-row>.badge{flex-shrink:0}.tabs{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:5px;background:#0e1f2e;border:1px solid #304d63;border-radius:6px;margin-bottom:22px}.tab-button{font-size:.875rem;border:1px solid transparent;border-radius:4px;background:transparent;color:#a9c1d3;min-height:40px;padding:9px 16px;line-height:1.4}.tab-button:hover{background:#20394d;color:#e8f1f8}.tab-button.active{background:#304d65;border-color:#4d6e89;color:#edf5fa}.scenario-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:23px}.scenario-card{display:block;background:#122638;border:1px solid #355369;border-radius:7px;padding:20px;text-align:left;color:var(--ink);min-width:0}.scenario-card.active{border-color:#a4c9e4;background:#1d3b52;box-shadow:inset 0 3px #a4c9e4}.scenario-card>h3,.scenario-card>strong{font-size:1rem;font-weight:550;display:block;margin-bottom:10px}.scenario-card p{color:#9eb9cf;font-size:.875rem;line-height:1.6;margin-bottom:16px}.scenario-card .metric-value{font-size:1.5rem;letter-spacing:-.03em;margin:13px 0 8px}.scenario-card .stat-row{padding:8px 0;font-size:.8125rem}.scenario-card .button{margin-top:16px}.scenario-card:focus-visible{outline:2px solid #b4dcf7;outline-offset:4px}
.report-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;border-bottom:1px solid #435e74;padding-bottom:24px;margin-bottom:26px}.report-header h2{font-size:1.8rem;font-weight:500;letter-spacing:-.025em;line-height:1.3;margin:7px 0 10px}.report-header p{color:#acc3d4;font-size:.875rem;line-height:1.6}.report-header img{max-width:35px;max-height:45px}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.report-grid>.panel+.panel{margin-top:0}.report-footer{border-top:1px solid #3e5970;margin-top:28px;padding-top:18px;color:#91adc2;font-size:.8125rem;line-height:1.7}.report-section{margin-top:27px}.report-section>h3{font-size:1.125rem;margin-bottom:16px;font-weight:550}.report-header .eyebrow{color:#9db9cf}.report-note{font-size:.875rem;color:#a7c0d3;margin-top:20px;line-height:1.7}.activity-item{display:flex;flex-direction:column;gap:3px;padding:12px 0;border-bottom:1px solid #2a4459}.activity-item:last-child{border:0}.activity-item span{font-size:.875rem;color:#c4d8e7}.activity-item time{font:12px/1.6 Consolas,monospace;color:#819fb5}#toast{display:none;position:fixed;right:25px;bottom:22px;z-index:100;max-width:min(530px,calc(100vw - 36px));padding:15px 20px;border:1px solid #6689a4;background:#27475f;color:#f0f6fa;border-radius:7px;box-shadow:0 12px 35px #0009;font-size:.9375rem;line-height:1.65}#toast:not([hidden]):not(:empty),#toast.show,#toast.visible{display:block}#toast:empty{display:none!important}.no-script{position:fixed;bottom:20px;left:calc(var(--sidebar) + 25px);right:25px;padding:20px;border:1px solid #91775b;background:#352d22;color:#f3d7b0;z-index:120}
body.preview .corporate-link,body.preview .sidebar-footer,body.preview .workspace-footer,body.preview .mode-notice,body.preview .top-actions,body.preview #mode-badge{display:none!important}body.preview .sidebar{padding-top:6px}body.preview .brand-lockup{padding-top:24px}body.preview .app-main{padding-top:25px}body.preview .workspace-bar{margin-bottom:14px}body.preview .topbar{margin-bottom:20px}body.preview .metric{padding:17px}body.preview .metric-value{font-size:1.85rem}body.preview{pointer-events:none}
@media(min-width:1700px){.app-main{padding-left:42px;padding-right:42px}.kpis{gap:22px}}

/* Shared application markup. */
.small-copy{font-size:.875rem;line-height:1.65}.text-danger{color:var(--red)}.text-success{color:var(--green)}.toolbar-spacer{flex:1}.cell-sub{display:block;margin-top:5px;color:var(--muted);font-size:.875rem;line-height:1.5}.save-status[data-state="saved"]{color:var(--green)}.save-status[data-state="saving"]{color:var(--gold)}.save-status[data-state="warning"]{color:var(--red)}
.executive-report{padding:30px}.executive-report>.report-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 28px}.executive-report>.report-header>div:last-child{text-align:right;flex:0 0 230px}.executive-report>h3{margin:28px 0 12px;font-size:1.0625rem}.executive-report>p{font-size:.9375rem;line-height:1.8}.executive-report .metric{padding:18px 15px}.executive-report .metric-value{font-size:1.75rem}.executive-report>.table-wrap{margin-bottom:24px}.notice>.toolbar{margin:10px 0 0}.notice>.toolbar>.button{margin:0}

@media(max-width:1250px){.app-main{padding:23px 25px 18px}.two-column{grid-template-columns:1fr}.topbar{align-items:flex-start;flex-wrap:wrap;gap:19px}.top-actions{justify-content:flex-start}.kpis{gap:13px}.metric{padding:17px 16px}.metric-value{font-size:1.75rem}.scenario-grid{gap:12px}.scenario-card{padding:17px}}
@media(max-width:1000px){.executive-report>.report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}:root{--sidebar:215px}.sidebar{padding:20px 12px}.brand-lockup{gap:10px;padding-left:8px}.brand-name{font-size:1.15rem}.brand-subtitle{font-size:12px}.brand-lockup img{width:30px}#nav button{gap:10px;padding:10px 12px}.app-main{padding:22px 21px 15px}.kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.metric{padding:19px}.metric-value{font-size:1.95rem}.scenario-grid{grid-template-columns:1fr}.scenario-card{padding:20px}.scenario-card .stat-row{font-size:.875rem}.panel{padding:20px}.report-grid,.two-column.equal{grid-template-columns:1fr}.form-grid{gap:17px}.workspace-label{font-size:.75rem}.topbar{margin-bottom:22px}.toolbar .search-input{max-width:none;min-width:220px}}
@media(max-width:720px){.executive-report{padding:20px 15px}.executive-report>.report-header>div:last-child{text-align:left;flex:auto}.executive-report>.report-grid{gap:12px}.executive-report .metric-value{font-size:1.5rem}.mode-notice{padding:0!important}.toolbar-spacer{display:none}:root{--sidebar:0px}html{scroll-behavior:auto}.sidebar{position:relative;width:auto;padding:14px 17px 12px;overflow:visible;border-right:0;border-bottom:1px solid #344d61;display:grid;grid-template-columns:1fr auto;gap:0 12px}.corporate-link{padding:0 0 8px;border:0;font-size:.8125rem;grid-column:1}.brand-lockup{grid-column:1;grid-row:2;padding:0;gap:10px;align-items:center}.brand-lockup img{width:23px;height:30px}.brand-name{font-size:1rem;letter-spacing:.14em}.brand-subtitle{display:none}.nav-label{display:none}.sidebar-footer{grid-column:2;grid-row:1/3;margin:0;padding:0;align-self:center;max-width:170px;text-align:right}.beta-stamp{border:0;padding:0;display:block;font-size:.75rem}.beta-stamp>span:last-child{display:none}.save-status{font-size:.75rem;min-height:0;line-height:1.4;margin:4px 0 0}.help-link{display:none}#nav{grid-column:1/-1;margin-top:15px;display:flex;flex-direction:row;overflow-x:auto;gap:7px;padding:0 0 6px;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#50738f #152d41}#nav button{min-height:40px;width:auto;flex:0 0 auto;white-space:nowrap;padding:9px 12px;font-size:.875rem;gap:8px}#nav button svg{width:17px;height:17px;flex-basis:17px}#nav button.active,#nav button[aria-current="page"]{box-shadow:inset 0 -2px #b3d1e8}.app-main{margin:0;padding:22px 17px 13px}.workspace-bar{margin-bottom:18px;gap:10px;align-items:flex-start}.workspace-label{font-size:.75rem;max-width:75%;line-height:1.6}.topbar{display:block;margin-bottom:20px;padding-bottom:20px}.page-heading h1{font-size:1.75rem;line-height:1.15;margin-bottom:9px}.page-heading p{font-size:.9375rem;line-height:1.6}.top-actions{margin-top:17px;gap:8px}.top-actions .button{font-size:.875rem;min-height:39px;padding:9px 12px}.kpis{gap:12px;margin-bottom:18px}.metric{padding:17px 14px}.metric-label{font-size:.875rem;letter-spacing:.035em;line-height:1.45}.metric-value{font-size:1.6rem;line-height:1.3;margin:11px 0 8px}.metric-note{font-size:.875rem;line-height:1.5}.panel{padding:18px 15px;border-radius:7px}.panel-head,.split-header{gap:12px;margin-bottom:17px}.panel h2{font-size:1.1rem}.panel-head p{font-size:.875rem}.two-column{gap:16px;margin-bottom:18px}.toolbar{gap:9px;margin-bottom:17px}.toolbar .search-input{max-width:none;flex-basis:100%;min-width:0}.toolbar>select{flex:1;min-width:130px;max-width:100%}.toolbar .spacer{display:none}.toolbar .button{flex:0 0 auto}.button{min-height:42px;padding:10px 13px}.row-actions{gap:6px}.row-actions .button{min-height:35px;font-size:.875rem}th,td{padding:12px 11px}.table-wrap{margin:0 -2px}.form-grid{grid-template-columns:1fr;gap:18px}.form-grid .span-2{grid-column:auto}.form-grid>.form-section,.form-grid>.notice{grid-column:1}.form-actions{justify-content:stretch}.form-actions>.button{flex:1}.notice,.mode-notice{padding:13px 14px;margin-bottom:19px;font-size:.875rem}.notice .button,.mode-notice .button{font-size:.875rem}.mode-notice .button{display:inline-flex}.scenario-grid{gap:12px}.scenario-card{padding:19px}.tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;max-width:100%}.tab-button{flex:0 0 auto;padding:9px 13px}.chart{min-width:620px;min-height:255px;max-height:none}.legend{gap:10px 16px;line-height:1.5}.detail-list>div,.detail-list>li{gap:12px}.detail-list .badge{font-size:.8125rem;padding:5px 7px}.stat-row{font-size:.875rem;gap:15px}.report-header{display:block}.report-header>div+div{margin-top:15px}.report-header h2{font-size:1.6rem}.report-grid{gap:16px}.report-footer{font-size:.8125rem}.workspace-footer{margin-top:28px;font-size:.75rem;gap:15px}dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:8px}#editor-form{padding:23px 18px}.dialog-heading h2{font-size:1.45rem}.dialog-actions{position:sticky;bottom:-23px;margin-left:-18px;margin-right:-18px;margin-bottom:-23px;padding:16px 18px;background:#142738ef;backdrop-filter:blur(6px);z-index:1}.loading-state{margin:20px 0;padding:35px 22px}.empty-state{padding:35px 16px;min-height:190px}#toast{right:17px;bottom:17px;font-size:.875rem;padding:13px 16px}.no-script{left:17px;right:17px;bottom:17px;font-size:.875rem}.preview .sidebar{display:none}.preview .app-main{margin:0}}
@media(max-width:380px){.metric{padding:14px 12px}.metric-value{font-size:1.4rem}.metric-label{font-size:.875rem}.metric-note{font-size:.875rem}.app-main{padding-left:13px;padding-right:13px}.top-actions{gap:7px}.top-actions .button{padding:8px 10px}.sidebar-footer{max-width:150px}.workspace-footer{flex-direction:column;gap:4px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
.kpis{display:grid}.toolbar>select{width:auto;min-width:170px;max-width:280px}.toolbar>label{min-width:0}.panel-head .muted{font-size:.875rem}.report-section .panel{break-inside:auto}
/* Billing is independent of planning data and follows the existing panel system. */
.billing-page{max-width:1400px}
.billing-page>section,.billing-page>.billing-grid{margin-bottom:24px}
.billing-page .panel p{font-size:1rem;line-height:1.7}
.billing-page .panel>.eyebrow{display:block;margin-bottom:10px}
.billing-page .panel>h2{margin-bottom:17px}
.billing-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:start;gap:24px}
.billing-grid>.panel{margin:0}
.billing-heading,.billing-support{display:flex;justify-content:space-between;align-items:center;gap:28px}
.billing-heading>div,.billing-support>div{min-width:0}
.billing-heading p,.billing-support p{margin:10px 0 0;color:var(--muted)}
.billing-heading>.button,.billing-support>.button{flex-shrink:0}
.billing-sandbox{border-color:#597d99}
.billing-page .billing-price{font-size:2.5rem;line-height:1.2;font-weight:550;letter-spacing:-.04em;margin:20px 0 22px;color:var(--ink)}
.billing-price span{font-size:1rem;font-weight:400;letter-spacing:0;color:var(--muted)}
.billing-plan .panel-head{align-items:flex-start;flex-wrap:wrap}
.billing-plan .badge{font-size:.875rem}
.billing-plan .detail-list{margin:18px 0}
.billing-consent{padding:17px;border:1px solid #48677f;border-radius:6px;background:#12293c;margin:22px 0 17px;font-size:1rem}
.billing-account .detail-list dd{max-width:65%;overflow-wrap:anywhere}
.billing-reference{font-family:Consolas,monospace;font-size:.875rem}
.billing-account form{margin:20px 0}
.billing-account form>label{font-size:1rem;margin-bottom:9px}
.billing-account .field-hint,.billing-page .field-hint{font-size:.875rem;line-height:1.65;margin:10px 0 17px;color:var(--muted)}
.billing-pilot-note{margin-top:25px;border-top:1px solid #3b556b;padding-top:22px}
.billing-pilot-note h3{font-size:1rem;margin-bottom:12px}
.billing-pilot-note p{color:var(--muted)}
.billing-invoice-link{font-weight:500;color:#c4e3fa;text-decoration:underline;text-underline-offset:4px;white-space:nowrap}
.billing-invoice-link:hover{color:#fff}
.billing-support{background:#102536}
.billing-support .button{overflow-wrap:anywhere;white-space:normal;text-align:center}
@media(max-width:1250px){.billing-grid{grid-template-columns:1fr}.billing-heading,.billing-support{flex-wrap:wrap;gap:18px}}
@media(max-width:720px){.billing-page>section,.billing-page>.billing-grid{margin-bottom:18px}.billing-grid{gap:18px}.billing-heading,.billing-support{align-items:flex-start}.billing-page .billing-price{font-size:2.25rem}.billing-consent{padding:14px}.billing-support>.button{max-width:100%;font-size:.875rem}.billing-page .detail-list>div{align-items:flex-start;flex-wrap:wrap}.billing-account .detail-list dd{max-width:100%;text-align:left}.billing-sandbox strong{display:block;margin-bottom:6px}}
@page{size:A4 portrait;margin:15mm}
@media print{.panel.executive-report{break-inside:auto!important;border:0!important;padding:0!important}.executive-report>.report-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;margin-bottom:18px!important}.executive-report>.report-header>div:last-child{flex-basis:170px}.executive-report>h3{margin:18px 0 8px!important;font-size:13px!important}.executive-report>p{font-size:11px!important;line-height:1.6!important}.executive-report .table-wrap{break-inside:auto!important}.cell-sub{font-size:9px!important;color:#496172!important}.detail-list dt,.detail-list dd{color:#172c3e!important}.text-danger{color:#9e3535!important}.text-success{color:#286b53!important}:root{color-scheme:light;font-size:11px;--bg:#fff;--ink:#172c3e;--muted:#496172;--dim:#60798a;--line:#bdcbd5;--panel:#fff;--panel-soft:#fff}html,body{min-width:0!important;background:#fff!important;color:#172c3e!important;font-size:11px!important;line-height:1.45}.sidebar,.workspace-bar,.topbar,.mode-notice,.workspace-footer,.skip-link,.button,.icon-button,.toolbar,.tabs,.row-actions,.notice,.help-link,#toast,dialog,.no-print{display:none!important}.app-main{margin:0!important;padding:0!important;max-width:none!important;width:auto!important}.panel,.metric,.scenario-card{background:#fff!important;box-shadow:none!important;border:1px solid #b9cbd8!important;color:#172c3e!important;border-radius:0!important;break-inside:avoid;padding:12px!important}.panel{margin-bottom:15px}.panel h2,.panel h3,.metric-value,.metric-label,.metric-note,.report-header p,.report-header h2,.report-note,.report-footer,.muted,.dim,.detail-list p,.detail-list strong,.detail-list small,.stat-row>span:first-child,.stat-row strong{color:#172c3e!important}.metric-value{font-size:23px!important;margin:7px 0!important}.metric-label,.metric-note{font-size:10px!important}.kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;margin-bottom:18px!important}.grid,.two-column,.report-grid{gap:13px!important}.two-column,.report-grid{display:block!important}.table-wrap,.import-preview,.chart-wrap{overflow:visible!important;max-width:none!important;max-height:none!important}table{width:100%!important;font-size:9px!important;table-layout:auto;white-space:normal!important}thead{display:table-header-group}th,td{padding:7px 5px!important;color:#172c3e!important;border-color:#b8c9d5!important;white-space:normal!important;overflow-wrap:anywhere}th{background:#e8eff4!important;font-size:9px!important}td.num,th.num{white-space:nowrap!important}tbody tr{break-inside:avoid}tbody tr:hover td{background:#fff!important}td:first-child{min-width:0!important}td .muted{font-size:9px!important}.badge{color:#172c3e!important;background:#fff!important;border-color:#adc1d0!important;font-size:9px!important;padding:2px 5px!important}.chart{min-width:0!important;width:100%!important;max-width:100%!important;max-height:240px!important;min-height:0!important}.chart text{fill:#274458!important}.chart line,.chart-grid{stroke:#b8cbd7!important}.legend{font-size:10px!important;color:#314d61!important}.report-header{display:flex!important;break-after:avoid;border-bottom:2px solid #637e92!important;padding-bottom:15px!important;margin-bottom:18px!important}.report-header h2{font-size:24px!important}.report-header .eyebrow{color:#4a6579!important;font-size:10px!important}.report-header img{filter:brightness(.45)}.report-section{break-inside:auto;margin-top:20px}.report-section>h3,.panel-head{break-after:avoid}.report-footer{font-size:9px!important;border-color:#b7c9d6!important;margin-top:20px!important}.progress-track{background:#e7eef2!important}.bar-fill{background:#587e9a!important}.bad,.danger-text,.metric-value.danger{color:#9e3535!important}.good,.success-text,.metric-value.success{color:#286b53!important}.warn,.warning-text,.metric-value.warning{color:#8e641a!important}a{color:#172c3e!important;text-decoration:none!important}h1,h2,h3,h4{break-after:avoid}p{orphans:3;widows:3}}
