:root{--color-brand-500: #029D91;--color-brand-600: #00776D;--color-brand-700: #005F58;--color-brand-bright: #00AC9F;--color-brand-tint: #E7F4F1;--color-neutral-0: #FFFFFF;--color-neutral-25: #FAFAFA;--color-neutral-50: #F1F5F4;--color-neutral-200: #DEDFE3;--color-neutral-500: #74747D;--color-neutral-600: #62616B;--color-neutral-950: #1D1B20;--color-tone-success: #146B4A;--color-tone-successTint: #E9F5ED;--color-tone-caution: #8A5700;--color-tone-cautionTint: #FFF3DB;--color-tone-error: #B42318;--color-tone-errorTint: #FFF0ED;--color-tone-info: #315B9C;--color-tone-infoTint: #ECF2FB;--color-surface-canvas: var(--color-neutral-25);--color-surface-base: var(--color-neutral-0);--color-surface-soft: var(--color-neutral-50);--color-surface-brand: var(--color-brand-700);--color-text-primary: var(--color-neutral-950);--color-text-muted: var(--color-neutral-600);--color-text-inverse: var(--color-neutral-0);--color-text-link: var(--color-brand-600);--color-action-primary: var(--color-brand-600);--color-action-hover: var(--color-brand-700);--color-action-pressed: #004F49;--color-action-foreground: var(--color-neutral-0);--color-action-disabled: var(--color-neutral-200);--color-action-disabledText: var(--color-neutral-600);--color-border-subtle: var(--color-neutral-200);--color-border-control: var(--color-neutral-500);--color-border-focus: var(--color-brand-600);--color-status-success: var(--color-tone-success);--color-status-caution: var(--color-tone-caution);--color-status-error: var(--color-tone-error);--color-status-info: var(--color-tone-info);--color-chart-baseline: var(--color-neutral-950);--color-chart-alternative: var(--color-brand-600);--color-chart-third: var(--color-tone-info);--color-chart-grid: var(--color-neutral-200);--space-0: 0px;--space-4: 4px;--space-8: 8px;--space-12: 12px;--space-16: 16px;--space-20: 20px;--space-24: 24px;--space-32: 32px;--space-40: 40px;--space-48: 48px;--space-64: 64px;--space-80: 80px;--radius-control: 12px;--radius-card: 16px;--radius-feature: 24px;--radius-pill: 100px;--font-family: Manrope;--font-body: 1rem;--font-line: 1.5rem;--button-height: 52px;--button-compact: 44px;--button-radius: var(--radius-pill);--button-paddingX: var(--space-24);--input-height: 52px;--input-radius: var(--radius-control);--card-padding: var(--space-24);--card-radius: var(--radius-card);--motion-quick: .12s;--motion-standard: .18s;--motion-panel: .24s}@font-face{font-family:Manrope;src:url(/assets/Manrope-Variable-DIRNzeTG.ttf) format("truetype");font-weight:200 800;font-display:swap}*,*:before,*:after{box-sizing:border-box}html{height:100%}body{margin:0;min-height:100%;font:400 var(--font-body)/var(--font-line) Manrope,Arial,sans-serif;background:var(--color-surface-canvas);color:var(--color-text-primary);-webkit-font-smoothing:antialiased}[data-theme=dark] body{background:transparent}#root{min-height:100vh}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:var(--color-text-link);text-underline-offset:4px}:is(button,a,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--color-border-focus);outline-offset:3px}h1,h2,h3,h4,p{margin:0}h1,h2.page-title{font-size:2rem;line-height:2.5rem;font-weight:800;letter-spacing:-.8px}h2.h3{font-size:1.125rem;line-height:1.75rem;font-weight:700;letter-spacing:0}h2{font-size:1.5rem;line-height:2rem;font-weight:700;letter-spacing:-.4px}h3{font-size:1.125rem;line-height:1.75rem;font-weight:700}h4{font-size:1rem;line-height:1.5rem;font-weight:700}.small{font-size:.875rem;line-height:1.25rem}.muted{color:var(--color-text-muted)}.numeric{font-variant-numeric:tabular-nums}.eyebrow{font-size:.75rem;line-height:1.25rem;letter-spacing:1.4px;text-transform:uppercase;font-weight:800;color:var(--color-text-muted)}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip{position:fixed;left:16px;top:-80px;background:var(--color-surface-base);padding:12px 16px;border-radius:12px;z-index:99}.skip:focus{top:16px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}.shell{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100vh}.shell.collapsed{grid-template-columns:72px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;overflow:auto;background:var(--color-surface-base);border-right:1px solid var(--color-border-subtle);padding:20px 12px;display:flex;flex-direction:column;gap:8px}.sidebar .brand{display:flex;align-items:center;gap:10px;padding:4px 8px 16px}.sidebar .brand img{width:32px;height:32px}.sidebar .brand strong{font-size:.9375rem;letter-spacing:-.2px}.rail-title{font-size:.6875rem;text-transform:uppercase;letter-spacing:1.2px;margin:16px 12px 6px;color:var(--color-text-muted);font-weight:800}.rail-item{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;font-size:.875rem;font-weight:600;color:var(--color-text-primary);text-decoration:none;min-height:44px;border:0;background:transparent;width:100%;text-align:left}.rail-item:hover{background:var(--color-surface-soft)}.rail-item.active{background:var(--color-brand-tint);color:var(--color-text-link);font-weight:700}.rail-item .glyph{width:22px;height:22px;display:inline-grid;place-items:center;font-size:.9375rem;flex:none}.collapsed .rail-item span:not(.glyph),.collapsed .rail-title,.collapsed .brand strong{display:none}.collapsed .rail-item{justify-content:center;padding:10px}.sidebar .spacer{flex:1}.main{min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 32px;border-bottom:1px solid var(--color-border-subtle);background:color-mix(in srgb,var(--color-surface-base) 88%,transparent);position:sticky;top:0;z-index:5;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);min-height:60px}.topbar .crumbs{font-size:.875rem;color:var(--color-text-muted);display:flex;gap:8px;align-items:center;min-width:0}.topbar .crumbs strong{color:var(--color-text-primary)}.page{padding:28px 32px 64px;max-width:1440px}.page>*+*{margin-top:24px}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;min-width:0}.page-head>*{min-width:0;max-width:100%}.page-head .badge{white-space:normal;text-align:left;line-height:1.35}.page-head p{margin-top:6px;max-width:68ch}.stack{display:flex;flex-direction:column;gap:12px}.stack.tight{gap:8px}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.row.between{justify-content:space-between}.grid{display:grid;gap:20px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.grid.cards{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.button{min-height:var(--button-compact);border-radius:var(--button-radius);border:1px solid transparent;padding:9px 18px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;font-size:.875rem;line-height:1.5rem;color:var(--color-action-foreground);background:var(--color-action-primary);text-decoration:none;transition:background var(--motion-quick),border-color var(--motion-quick);white-space:nowrap}.button:hover{background:var(--color-action-hover);color:var(--color-action-foreground)}.button:active{background:var(--color-action-pressed)}.button.large{min-height:var(--button-height);padding:13px var(--button-paddingX);font-size:1rem}.button.secondary{background:var(--color-surface-base);border-color:var(--color-border-control);color:var(--color-text-primary)}.button.secondary:hover{background:var(--color-surface-soft);color:var(--color-text-primary)}.button.quiet{background:transparent;color:var(--color-text-link)}.auth-card .button,.auth-card .row{white-space:normal;text-align:center}.auth-card .row{flex-wrap:wrap}.auth-card .button{max-width:100%}.button.quiet:hover{background:var(--color-brand-tint);color:var(--color-text-link)}.button.danger{background:var(--color-status-error);color:var(--color-text-inverse)}.button.danger:hover{background:var(--color-tone-error);filter:brightness(.9)}.button:disabled,.button:disabled:hover{background:var(--color-action-disabled);color:var(--color-action-disabledText);border-color:transparent}.button.icon{width:44px;padding:10px}.button.busy{position:relative;color:transparent}.button.busy:after{content:"";position:absolute;width:18px;height:18px;border:2px solid var(--color-action-foreground);border-right-color:transparent;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field>label,.field>.label{font-size:.875rem;font-weight:700}.field .help{font-size:.8125rem;line-height:1.125rem;color:var(--color-text-muted)}.field input,.field select,.field textarea{width:100%;min-height:48px;border:1px solid var(--color-border-control);border-radius:var(--input-radius);padding:10px 14px;background:var(--color-surface-base);color:var(--color-text-primary)}.field textarea{min-height:96px;resize:vertical}.field input:disabled,.field select:disabled{background:var(--color-surface-soft);color:var(--color-text-muted)}.field input[aria-invalid=true],.field select[aria-invalid=true]{border:2px solid var(--color-status-error)}.field .error{color:var(--color-status-error);font-size:.875rem;font-weight:600}.input-wrap{display:flex;align-items:center;border:1px solid var(--color-border-control);border-radius:var(--input-radius);background:var(--color-surface-base);min-height:48px}.input-wrap:focus-within{outline:3px solid var(--color-border-focus);outline-offset:3px}.input-wrap input{border:0!important;min-width:0;width:100%;background:transparent;min-height:46px!important}.input-wrap input:focus-visible{outline:none}.input-wrap .prefix{padding-left:14px;color:var(--color-text-muted)}.input-wrap .suffix{padding-right:14px;color:var(--color-text-muted);font-size:.8125rem;white-space:nowrap}.input-wrap.invalid{border:2px solid var(--color-status-error)}.field-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.check{display:flex;align-items:center;gap:10px;min-height:44px;font-size:.875rem;font-weight:600}.check input{width:20px;height:20px;accent-color:var(--color-action-primary)}.segments{display:inline-flex;flex-wrap:wrap;gap:4px;padding:4px;border:1px solid var(--color-border-subtle);background:var(--color-surface-soft);border-radius:24px;max-width:100%;min-width:0}.segments label,.segments button{position:relative;display:flex;align-items:center;justify-content:center;min-height:36px;padding:5px 14px;border-radius:100px;cursor:pointer;font-size:.8125rem;font-weight:700;border:0;background:transparent;white-space:nowrap}.segments input{position:absolute;opacity:0;width:1px;height:1px}.segments label:has(input:checked),.segments button[aria-pressed=true]{background:var(--color-surface-base);color:var(--color-text-link);box-shadow:0 1px 4px #1d1b2014}[data-theme=dark] .segments{background:#e8f5f10a;border-color:var(--ds-glass-edge)}[data-theme=dark] .segments label:has(input:checked),[data-theme=dark] .segments button[aria-pressed=true]{background:var(--ds-aqua-wash);color:var(--ds-aqua-soft);box-shadow:inset 0 0 0 1px #7ee7da47}.segments label:has(input:focus-visible){outline:3px solid var(--color-border-focus);outline-offset:2px}.card{background:var(--color-surface-base);border:1px solid var(--color-border-subtle);border-radius:var(--card-radius);padding:20px;min-width:0}.card.selected{border:2px solid var(--color-action-primary);padding:19px}.card.soft{background:var(--color-surface-soft);border-color:transparent}.card>*+*{margin-top:12px}.badge{display:inline-flex;align-items:center;gap:6px;font-size:.75rem;line-height:1.125rem;font-weight:700;border-radius:100px;padding:3px 10px;background:var(--color-surface-soft);color:var(--color-text-muted);white-space:nowrap}.badge.success{background:var(--color-tone-successTint);color:var(--color-status-success)}.badge.caution{background:var(--color-tone-cautionTint);color:var(--color-status-caution)}.badge.info{background:var(--color-tone-infoTint);color:var(--color-status-info)}.badge.error{background:var(--color-tone-errorTint);color:var(--color-status-error)}.badge.brand{background:var(--color-brand-tint);color:var(--color-text-link)}.alert{padding:14px 18px;border-radius:12px;background:var(--color-tone-infoTint);color:var(--color-status-info);border-left:3px solid currentColor}.alert strong{display:block;margin-bottom:2px}.alert p{font-size:.875rem;line-height:1.375rem;color:inherit}.alert.caution{background:var(--color-tone-cautionTint);color:var(--color-status-caution)}.alert.error{background:var(--color-tone-errorTint);color:var(--color-status-error)}.alert.success{background:var(--color-tone-successTint);color:var(--color-status-success)}.alert .row{margin-top:8px}.status-line{display:inline-flex;align-items:center;gap:8px;font-size:.8125rem;font-weight:600;color:var(--color-text-muted);min-height:24px}.status-line .dot{width:8px;height:8px;border-radius:50%;background:var(--color-neutral-500)}.status-line.saved .dot{background:var(--color-status-success)}.status-line.saving .dot,.status-line.calculating .dot{background:var(--color-status-info);animation:pulse 1s ease-in-out infinite}.status-line.failed .dot,.status-line.conflict .dot{background:var(--color-status-error)}.status-line.stale .dot{background:var(--color-status-caution)}@keyframes pulse{50%{opacity:.3}}.metric{display:flex;flex-direction:column;gap:2px;min-width:0}.metric .label{font-size:.8125rem;font-weight:700;color:var(--color-text-muted)}.metric .value{font-size:1.5rem;line-height:2rem;font-weight:700;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.metric .value.large{font-size:2rem;line-height:2.5rem}.metric .sub{font-size:.8125rem;color:var(--color-text-muted)}.delta{font-size:.8125rem;font-weight:700}.delta.up{color:var(--color-status-success)}.delta.down{color:var(--color-status-error)}.delta.flat{color:var(--color-text-muted)}.table-wrap{overflow:auto;max-width:100%;border-radius:12px;border:1px solid var(--color-border-subtle)}table.data{width:100%;border-collapse:collapse;font-size:.875rem}table.data caption{text-align:left;padding:12px 16px;font-weight:700}table.data th,table.data td{padding:10px 14px;border-top:1px solid var(--color-border-subtle);text-align:left;vertical-align:top}table.data th{font-size:.75rem;text-transform:uppercase;letter-spacing:.8px;color:var(--color-text-muted);background:var(--color-surface-soft)}table.data td.num,table.data th.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}table.data tr.total td{font-weight:700;border-top:2px solid var(--color-border-control)}table.data tr[aria-selected=true] td{background:var(--color-brand-tint)}table.data tr.clickable{cursor:pointer}.plan-head{display:flex;flex-direction:column;gap:12px;padding:20px 32px 0}.plan-head .identity{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.plan-head .identity h1{font-size:1.625rem;line-height:2rem}.plan-head .identity input{font-size:1.625rem;font-weight:800;letter-spacing:-.6px;border:1px solid var(--color-border-control);border-radius:10px;padding:4px 10px;min-width:240px}.plan-icon{width:40px;height:40px;border-radius:12px;background:var(--color-brand-tint);color:var(--color-text-link);display:inline-grid;place-items:center;font-size:1.25rem;flex:none}.plan-nav{display:flex;gap:4px;overflow:auto;border-bottom:1px solid var(--color-border-subtle);padding:0 32px}.plan-nav>a,.plan-nav>span{display:inline-flex;align-items:center;gap:6px;padding:12px 14px;font-size:.875rem;font-weight:700;color:var(--color-text-muted);text-decoration:none;border-bottom:3px solid transparent;white-space:nowrap;min-height:48px}.plan-nav a:hover{color:var(--color-text-primary)}.plan-nav a.active{color:var(--color-text-link);border-bottom-color:var(--color-action-primary)}.plan-nav>span{opacity:.7}.plan-nav .badge{font-size:.6875rem;line-height:1rem;padding:2px 8px;color:var(--color-text-primary);background:var(--color-surface-soft)}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;padding:24px 32px 64px;align-items:start}.workspace .main-col{min-width:0;display:flex;flex-direction:column;gap:20px}.workspace .side-col{display:flex;flex-direction:column;gap:16px;position:sticky;top:76px}.chart-card{background:var(--color-surface-base);border:1px solid var(--color-border-subtle);border-radius:16px;padding:20px}.chart-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;margin-bottom:8px}.chart-head h3,.chart-head h2.h3{margin-bottom:2px}.chart svg{width:100%;height:auto;display:block}.chart text{font:12px Manrope,Arial,sans-serif;fill:var(--color-text-muted)}.chart .gridline{stroke:var(--color-chart-grid);stroke-width:1}.chart .zero{stroke:var(--color-neutral-500);stroke-width:1}.chart .baseline{stroke:var(--color-chart-baseline);stroke-width:2.5;fill:none;stroke-linejoin:round}.chart .alternative{stroke:var(--color-chart-alternative);stroke-width:2.5;stroke-dasharray:7 5;fill:none;stroke-linejoin:round}.chart .marker{stroke:var(--color-chart-alternative);stroke-width:1.5;stroke-dasharray:3 3}.chart .selected{stroke:var(--color-action-primary);stroke-width:2}.chart .fail{fill:var(--color-tone-errorTint)}.legend{display:flex;gap:16px;flex-wrap:wrap;font-size:.8125rem;margin:8px 0}.legend span{display:inline-flex;align-items:center;gap:8px}.legend i{display:inline-block;width:22px;height:0;border-top:3px solid var(--color-chart-baseline)}.legend i.alt{border-top-style:dashed;border-top-color:var(--color-chart-alternative)}.legend i.box{width:12px;height:12px;border:0;border-radius:3px}.period-slider{display:flex;flex-direction:column;gap:6px;margin-top:8px}.period-slider input[type=range]{width:100%;accent-color:var(--color-action-primary);min-height:32px}.period-readout{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;background:var(--color-surface-soft);border-radius:12px;padding:10px 14px;font-size:.875rem}.sections{display:flex;flex-direction:column;gap:12px}.section{background:var(--color-surface-base);border:1px solid var(--color-border-subtle);border-radius:16px}.section>.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 12px 6px 6px;min-height:52px}.section-toggle{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:8px;padding:8px 12px;min-height:40px;border-radius:10px;font-weight:700;color:var(--color-text-primary)}.section-toggle:hover{background:var(--color-surface-soft)}.section-toggle:focus-visible{outline:3px solid var(--color-border-focus);outline-offset:2px}.section-toggle .section-caret{color:var(--color-text-muted);font-size:.75rem;width:12px}.section-toggle .count{font-weight:600;color:var(--color-text-muted);font-size:.8125rem}.section .body[hidden]{display:none}.section .body{padding:0 12px 12px;display:flex;flex-direction:column;gap:8px}.entity-card{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 10px 10px 12px;border:1px solid var(--color-border-subtle);border-radius:12px;background:var(--color-surface-base)}.entity-card.disabled{opacity:.6;background:var(--color-surface-soft)}.entity-card .glyph{width:36px;height:36px;border-radius:10px;background:var(--color-surface-soft);display:grid;place-items:center;font-size:1.0625rem}.entity-card .title{font-weight:700;font-size:.875rem;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.entity-card .meta{font-size:.8125rem;color:var(--color-text-muted)}.entity-card .actions{display:flex;gap:2px}.entity-card .actions .button{min-height:36px;width:36px;padding:6px}.metric-list{display:flex;flex-direction:column}.metric-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:8px 0;border-top:1px solid var(--color-border-subtle);font-size:.875rem;flex-wrap:wrap}.metric-row>*{min-width:0;overflow-wrap:anywhere}.metric-row:first-child{border-top:0}.metric-row .name{font-weight:600}.metric-row .val{font-variant-numeric:tabular-nums;font-weight:700;white-space:nowrap}.metric-row .val.null{color:var(--color-text-muted);font-weight:500}.metric-row .cmp{font-size:.75rem;color:var(--color-text-muted);font-weight:500}.compare-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 32px;background:var(--color-brand-tint);border-bottom:1px solid var(--color-border-subtle)}.compare-bar strong{color:var(--color-text-link)}.changes li{font-size:.875rem;padding:6px 0;border-top:1px solid var(--color-border-subtle)}.changes li:first-child{border-top:0}.changes code{font-size:.75rem;background:var(--color-surface-soft);padding:1px 5px;border-radius:4px}.scrim{position:fixed;inset:0;background:#050d0c8c;z-index:20}.drawer{position:fixed;top:0;right:0;bottom:0;width:min(560px,100%);background:var(--color-surface-base);z-index:21;display:flex;flex-direction:column;box-shadow:-8px 0 32px #030a0959}.drawer .drawer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--color-border-subtle)}.drawer .drawer-body{flex:1;overflow:auto;padding:20px;display:flex;flex-direction:column;gap:18px}.drawer .drawer-foot{display:flex;justify-content:space-between;gap:12px;padding:14px 20px;border-top:1px solid var(--color-border-subtle);flex-wrap:wrap}.dialog{position:fixed;inset:0;z-index:30;display:grid;place-items:center;padding:16px}.dialog>.scrim{z-index:0}.dialog .panel{position:relative;z-index:1;background:var(--color-surface-base);border:1px solid var(--color-border-subtle);border-radius:16px;padding:24px;width:min(520px,100%);box-shadow:var(--ds-shadow-panel);display:flex;flex-direction:column;gap:16px}.dialog .panel .row{justify-content:flex-end}.error-summary{border:2px solid var(--color-status-error);border-radius:12px;padding:12px 16px;background:var(--color-tone-errorTint)}.error-summary ul{margin:6px 0 0;padding-left:18px;font-size:.875rem}.fieldset{border:1px solid var(--color-border-subtle);border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:12px}.fieldset legend{font-weight:700;font-size:.875rem;padding:0 6px}details.more>summary{cursor:pointer;font-weight:700;font-size:.875rem;color:var(--color-text-link);list-style:none;min-height:44px;display:flex;align-items:center}details.more>summary::-webkit-details-marker{display:none}.template-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}.template-grid button{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:12px;border:1px solid var(--color-border-subtle);border-radius:12px;background:var(--color-surface-base);color:inherit;text-align:left;min-height:64px}.template-grid button:hover{border-color:var(--color-border-control);background:var(--color-surface-soft)}.template-grid button:disabled{opacity:.55}.template-grid .name{font-weight:700;font-size:.875rem}.template-grid .note{font-size:.75rem;color:var(--color-text-muted)}.icon-grid{display:flex;flex-wrap:wrap;gap:6px}.icon-grid button{width:40px;height:40px;border-radius:10px;border:1px solid var(--color-border-subtle);background:var(--color-surface-base);font-size:1.125rem}.icon-grid button[aria-pressed=true]{border:2px solid var(--color-action-primary)}.menu{position:relative}.menu .menu-caret{margin-left:6px;font-size:.6875rem;opacity:.8}.menu .menu-list{position:absolute;right:0;top:calc(100% + 4px);background:var(--color-surface-base);border:1px solid var(--color-border-control);border-radius:12px;box-shadow:var(--ds-shadow-panel);min-width:220px;padding:6px;z-index:10;display:flex;flex-direction:column}.menu .menu-list button,.menu .menu-list a{text-align:left;border:0;background:transparent;padding:10px 12px;border-radius:8px;font-size:.875rem;font-weight:600;min-height:40px;text-decoration:none;color:var(--color-text-primary)}.menu .menu-list button:hover,.menu .menu-list a:hover{background:var(--color-surface-soft)}.menu .menu-list button.danger{color:var(--color-status-error)}.menu .menu-list hr{border:0;border-top:1px solid var(--color-border-subtle);margin:4px 0}.sparkline{width:100%;height:64px;display:block}.sparkline path{fill:none;stroke:var(--color-chart-baseline);stroke-width:2}.sparkline .area{fill:var(--color-brand-tint);stroke:none}.plan-card{display:flex;flex-direction:column;gap:10px}.plan-card .head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.plan-card .name{font-weight:700;font-size:1rem;display:flex;gap:10px;align-items:center}.plan-card .name .plan-icon{width:32px;height:32px;font-size:1rem}.add-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:2px dashed var(--color-border-control);border-radius:16px;min-height:180px;background:transparent;color:var(--color-text-link);font-weight:700;text-decoration:none}.add-card:hover{background:var(--color-brand-tint)}.tabs{display:flex;gap:4px;border-bottom:1px solid var(--color-border-subtle);overflow:auto}.tabs a{padding:12px 14px;font-size:.875rem;font-weight:700;color:var(--color-text-muted);text-decoration:none;border-bottom:3px solid transparent;white-space:nowrap;min-height:48px;display:inline-flex;align-items:center}.tabs a.active{color:var(--color-text-link);border-bottom-color:var(--color-action-primary)}.steps{display:flex;gap:6px;flex-wrap:wrap;font-size:.8125rem}.steps span{padding:6px 12px;border-radius:100px;background:var(--color-surface-soft);color:var(--color-text-muted);font-weight:700}.steps span.current{background:var(--color-brand-tint);color:var(--color-text-link)}.steps span.done{background:var(--color-tone-successTint);color:var(--color-status-success)}.bars{display:flex;flex-direction:column;gap:6px}.bar-row{display:grid;grid-template-columns:minmax(120px,1.2fr) minmax(0,2fr) auto;gap:10px;align-items:center;font-size:.8125rem}.bar-row .track{height:14px;background:var(--color-surface-soft);border-radius:7px;overflow:hidden}.bar-row .fill{height:100%;background:var(--color-chart-alternative);border-radius:7px}.bar-row.use .fill{background:var(--color-chart-baseline)}.bar-row.unfunded .fill{background:var(--color-status-error)}.bar-row .amt{font-variant-numeric:tabular-nums;font-weight:700;white-space:nowrap}.toast{position:fixed;left:50%;bottom:20px;transform:translate(-50%);background:var(--color-neutral-950);color:var(--color-neutral-0);padding:10px 16px;border-radius:100px;font-size:.875rem;font-weight:600;display:flex;gap:12px;align-items:center;z-index:40;box-shadow:0 8px 24px #1d1b2044}.toast button{color:var(--color-brand-bright, #8fe3d8);background:transparent;border:0;font-weight:700}.demo-banner{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;background:var(--color-tone-cautionTint);color:var(--color-status-caution);padding:8px 32px;font-size:.8125rem;font-weight:600}@media(max-width:1279px){.workspace{grid-template-columns:minmax(0,1fr)}.workspace .side-col{position:static}}@media(max-width:959px){.shell,.shell.collapsed{grid-template-columns:minmax(0,1fr)}.sidebar{position:fixed;z-index:15;left:0;top:0;bottom:0;width:264px;transform:translate(-100%);transition:transform var(--motion-panel)}.shell.nav-open .sidebar{transform:none;box-shadow:8px 0 32px #030a0973}.collapsed .rail-item span:not(.glyph),.collapsed .rail-title,.collapsed .brand strong{display:initial}.collapsed .rail-item{justify-content:flex-start;padding:10px 12px}.grid.two,.grid.three,.grid.four{grid-template-columns:1fr}}@media(max-width:599px){.page,.plan-head,.workspace,.topbar,.plan-nav,.compare-bar,.demo-banner{padding-left:16px;padding-right:16px}.page{padding-top:20px}.demo-banner{padding-top:6px;padding-bottom:6px;font-size:.75rem;line-height:1rem;gap:6px}.demo-banner .banner-long,.demo-banner .banner-build{display:none}.crumbs{min-width:0;flex:1}.crumbs strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:46vw}.stress-grid{grid-template-columns:minmax(0,1fr)!important}h1,h2.page-title{font-size:1.75rem;line-height:2.25rem}.metric .value{font-size:1.25rem;line-height:1.75rem}.entity-card{grid-template-columns:32px minmax(0,1fr)}.entity-card .actions{grid-column:1 / -1;justify-content:flex-end}.drawer{width:100%}.bar-row{grid-template-columns:minmax(0,1fr) auto}.bar-row .track{grid-column:1 / -1}}.draft-conflict ul{margin:6px 0 0 18px}.draft-conflict details{margin-top:6px}.auth-page{min-height:100vh;display:grid;place-items:center;padding:24px 16px}.auth-card{width:min(520px,100%);border-radius:16px;padding:28px;display:flex;flex-direction:column;gap:12px}.auth-card .brand{display:flex;align-items:center;gap:10px;color:var(--color-text-muted)}.auth-card .brand .mark{width:14px;height:14px;border-radius:50%;background:var(--color-action-primary);display:inline-block;box-shadow:var(--ds-glow-aqua)}.auth-card h1{font-size:1.4rem;margin:4px 0 0}.auth-card .stack>.button{text-align:center}.session-overlay{position:fixed;inset:0;z-index:40;display:grid;place-items:center;background:#050d0c99;padding:16px}.session-overlay .panel{background:var(--color-surface-base);border:1px solid var(--color-border-subtle);border-radius:16px;padding:24px;width:min(480px,100%);box-shadow:var(--ds-shadow-panel);display:flex;flex-direction:column;gap:12px}button.link{all:unset;cursor:pointer;color:var(--color-text-link);text-decoration:underline;text-underline-offset:3px}[data-theme=dark] .card,[data-theme=dark] .chart-card,[data-theme=dark] .section,[data-theme=dark] .auth-card,[data-theme=dark] .dialog .panel,[data-theme=dark] .session-overlay .panel{position:relative;background:var(--ds-glass);border:1px solid var(--ds-glass-edge);box-shadow:var(--ds-shadow-panel);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}[data-theme=dark] :is(.card,.chart-card,.section,.auth-card):before{content:"";position:absolute;inset:0 0 auto;height:1px;border-radius:inherit;pointer-events:none;background:linear-gradient(90deg,transparent 4%,rgba(126,231,218,.45) 50%,transparent 96%)}[data-theme=dark] .card.soft{background:#e8f5f10a;border-color:var(--ds-glass-edge);box-shadow:none;backdrop-filter:none}[data-theme=dark] .card.soft:before{display:none}[data-theme=dark] .card.selected{border:1px solid var(--ds-gold-edge);box-shadow:var(--ds-shadow-panel),var(--ds-glow-gold);padding:20px}[data-theme=dark] .entity-card{background:#e8f5f10a;border-color:var(--ds-glass-edge);transition:border-color var(--motion-quick),box-shadow var(--motion-quick)}[data-theme=dark] .entity-card:hover{border-color:var(--ds-glass-edge-hi);box-shadow:var(--ds-glow-aqua)}[data-theme=dark] .entity-card.highlight{border-color:var(--ds-gold-edge);box-shadow:var(--ds-glow-gold)}[data-theme=dark] .entity-card .glyph{background:#e8f5f10f}[data-theme=dark] .sidebar{background:#081413b8;border-right-color:var(--ds-glass-edge);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}[data-theme=dark] .rail-item:hover{background:#e8f5f10d}[data-theme=dark] .rail-item.active{background:#e7c77f1a;color:var(--ds-gold);box-shadow:inset 0 0 0 1px var(--ds-gold-edge),var(--ds-glow-gold)}[data-theme=dark] .topbar{background:#08141399;border-bottom-color:var(--ds-glass-edge)}[data-theme=dark] .plan-nav,[data-theme=dark] .tabs{border-bottom-color:var(--ds-glass-edge)}[data-theme=dark] .plan-nav a.active,[data-theme=dark] .tabs a.active{border-bottom-color:var(--ds-aqua)}[data-theme=dark] .plan-icon{background:var(--ds-aqua-wash);color:var(--ds-aqua-soft);box-shadow:inset 0 0 0 1px #7ee7da47}[data-theme=dark] .compare-bar{background:#e7c77f14;border-bottom-color:var(--ds-gold-edge)}[data-theme=dark] .compare-bar strong{color:var(--ds-gold)}[data-theme=dark] .demo-banner{background:#f2be6a1a;border-bottom:1px solid rgba(242,190,106,.25)}[data-theme=dark] .period-readout{background:#e8f5f10a;border:1px solid var(--ds-glass-edge)}[data-theme=dark] .steps span{background:#e8f5f10d}[data-theme=dark] .steps span.current{background:var(--ds-aqua-wash);color:var(--ds-aqua-soft)}[data-theme=dark] table.data tr[aria-selected=true] td{background:#e7c77f1a}[data-theme=dark] .metric-row,[data-theme=dark] .changes li{border-top-color:var(--ds-glass-edge)}[data-theme=dark] .changes code{background:#e8f5f10f}[data-theme=dark] .field input,[data-theme=dark] .field select,[data-theme=dark] .field textarea,[data-theme=dark] .input-wrap{background:#e8f5f10a;border-color:var(--ds-glass-edge-hi)}[data-theme=dark] .field select option{background:var(--color-surface-base)}[data-theme=dark] .template-grid button,[data-theme=dark] .icon-grid button{background:#e8f5f10a;border-color:var(--ds-glass-edge)}[data-theme=dark] .template-grid button:hover{border-color:var(--ds-glass-edge-hi);background:#e8f5f112}[data-theme=dark] .icon-grid button[aria-pressed=true]{border:1px solid var(--ds-gold-edge);box-shadow:var(--ds-glow-gold)}[data-theme=dark] .menu .menu-list{background:var(--color-surface-base)}[data-theme=dark] .drawer{background:var(--color-surface-base);border-left:1px solid var(--ds-glass-edge)}[data-theme=dark] .drawer .drawer-head,[data-theme=dark] .drawer .drawer-foot,[data-theme=dark] .fieldset{border-color:var(--ds-glass-edge)}[data-theme=dark] .add-card{border-color:var(--ds-glass-edge-hi);color:var(--ds-aqua-soft)}[data-theme=dark] .add-card:hover{background:var(--ds-aqua-wash);box-shadow:var(--ds-glow-aqua)}[data-theme=dark] .sparkline path{stroke:var(--ds-aqua)}[data-theme=dark] .sparkline .area{fill:var(--ds-aqua-wash)}[data-theme=dark] .bar-row .track{background:#e8f5f10f}[data-theme=dark] .bar-row .fill{background:var(--ds-aqua)}[data-theme=dark] .bar-row.use .fill{background:var(--ds-chart-2)}[data-theme=dark] .alert{border-left-color:currentColor}[data-theme=dark] .toast{background:var(--color-surface-base);color:var(--color-text-primary);border:1px solid var(--ds-glass-edge-hi);box-shadow:var(--ds-shadow-panel)}[data-theme=dark] .toast button{color:var(--ds-aqua-soft)}[data-theme=dark] .scrim{background:#050d0ca8}[data-theme=dark] .chart text{fill:var(--ds-text-faint)}[data-theme=dark] .chart .baseline{stroke:var(--color-chart-baseline)}[data-theme=dark] .chart .alternative{stroke:var(--ds-aqua)}[data-theme=dark] .chart .selected{stroke:var(--ds-gold)}[data-theme=dark] .chart .fail{fill:#ff7e9e1a}[data-theme=dark] .error-summary{background:var(--color-tone-errorTint)}[data-theme=dark] .glass-head h3{margin:0}[data-theme=dark] .auth-page{min-height:100vh}.plan-plot-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:20px;align-items:start}.plot-picker{display:flex;gap:6px;flex-wrap:wrap;align-items:center;min-width:0}.plot-picker select.pill{max-width:100%;min-width:0}.plot-picker .pill{cursor:pointer;border:1px solid transparent}.plot-picker .pill.outline:hover{border-color:var(--ds-glass-edge-hi);color:var(--color-text-primary)}.plot-picker select{min-height:32px;border-radius:100px;padding:4px 30px 4px 12px;font-size:.75rem;font-weight:700}.chart-legend{display:flex;gap:14px;flex-wrap:wrap;font-size:.75rem;color:var(--color-text-muted);margin-top:6px}.chart-legend span{display:inline-flex;align-items:center;gap:6px}.chart-legend i{display:inline-block;width:18px;height:0;border-top:3px solid;border-radius:2px}.chart-legend i.dashed{border-top-style:dashed}.chart-legend i.box{width:12px;height:12px;border:0;border-radius:3px}.rail-metric.family-networth .rm-label{color:var(--ds-violet)}.rail-metric.family-income .rm-label{color:var(--ds-aqua)}.rail-metric.family-spending .rm-label{color:var(--ds-rose)}.rail-metric.family-growth .rm-label{color:var(--ds-gold)}.rail-metric .rm-value.null{color:var(--ds-text-faint);font-weight:500}.rail-metric .rm-delta.up{color:var(--color-status-success)}.rail-metric .rm-delta.down{color:var(--color-status-error)}.rail-components{margin-top:6px}.rail-components summary{cursor:pointer;font-size:.75rem;font-weight:700;color:var(--color-text-link);min-height:32px;display:flex;align-items:center;list-style:none}.rail-components summary::-webkit-details-marker{display:none}.sankey-note{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:.75rem;color:var(--color-text-muted);margin-top:6px}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.stat .stat-value.money{font-size:1.875rem;line-height:2.25rem}.format-note{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:var(--radius-control);border:1px dashed var(--ds-glass-edge-hi);font-size:.8125rem;color:var(--color-text-muted)}@media(max-width:1279px){.plan-plot-grid{grid-template-columns:minmax(0,1fr)}}.rail-metric>details{grid-column:1 / -1}.scenario-strip{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:8px}.scenario-strip .pill{white-space:normal}.scenario-strip .pill button.link{font-size:.75rem}.demo-banner .banner-short{display:none}@media(max-width:959px){.demo-banner .banner-short{display:inline}}.stress-grid{display:grid;gap:16px;grid-template-columns:minmax(0,1fr) 320px;align-items:start}@media(max-width:1100px){.stress-grid{grid-template-columns:minmax(0,1fr)}}button.link{min-height:28px;padding:2px 0}[data-theme=dark] .input-wrap input{background:transparent}.report-page dl{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:4px 16px}.report-page dl dt{font-weight:700}.report-page dl dd{margin:0;overflow-wrap:anywhere}@media print{.sidebar,.topbar,.demo-banner,.plan-nav,.compare-bar,.scenario-strip,.no-print,.scrim,.drawer{display:none!important}.shell,.shell.collapsed{grid-template-columns:minmax(0,1fr)}body,.main{background:#fff!important;color:#111!important}.card,.glass{border:1px solid #ccc!important;box-shadow:none!important;background:#fff!important;break-inside:avoid}.report-page details.technical summary{display:none}.reveal{opacity:1!important;transform:none!important}a{color:#111;text-decoration:none}}.dashboard .page-head p{max-width:68ch}.hero-plan{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.hero-plan .hero-plan-main{min-width:0;flex:1;display:flex;flex-direction:column;gap:6px}.hero-plan .eyebrow{margin:0}.hero-plan .hero-title{display:flex;align-items:center;gap:12px;font-size:1.5rem;line-height:2rem;letter-spacing:-.4px}.hero-plan .hero-title .plan-icon{width:36px;height:36px;font-size:1.125rem}.hero-plan .hero-question{font-size:1.0625rem;line-height:1.625rem;max-width:64ch}.hero-plan .hero-status{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;margin-top:4px}.hero-plan .hero-plan-actions{display:flex;flex-direction:column;gap:8px;align-items:stretch;flex:none}.plan-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.plan-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto auto;gap:14px;align-items:center;padding:12px 14px;border-radius:14px;background:var(--color-surface-base);border:1px solid var(--color-border-subtle)}.plan-row.current{border-color:var(--color-border-control)}.plan-row .plan-icon{width:36px;height:36px}.plan-row .plan-row-main{min-width:0;display:flex;flex-direction:column;gap:3px}.plan-row .plan-row-title{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:baseline}.plan-row .plan-name{font-weight:700;font-size:1rem;color:var(--color-text-primary);text-decoration:none}.plan-row .plan-name:hover{text-decoration:underline;text-underline-offset:3px}.plan-row .plan-row-question{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plan-row .plan-row-status{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center}.plan-row .plan-row-preview{display:flex;flex-direction:column;align-items:flex-end;gap:2px;min-width:120px}.plan-row .plan-row-preview svg{width:120px;height:32px}.plan-row .plan-row-actions{display:flex;gap:6px;align-items:center}.decision-row{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.position-strip{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 20px;align-items:center}.position-strip .position-main{display:flex;flex-direction:column;gap:2px}.position-strip .position-detail{grid-column:1 / -1}@media(max-width:720px){.hero-plan{flex-direction:column}.hero-plan .hero-plan-actions{flex-direction:row;flex-wrap:wrap}.plan-row{grid-template-columns:36px minmax(0,1fr)}.plan-row .plan-row-preview{grid-column:2;align-items:flex-start;flex-direction:row;gap:10px}.plan-row .plan-row-actions{grid-column:2}.position-strip{grid-template-columns:1fr}}.plan-context{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}.plan-context .plan-role{font-size:.6875rem;padding:2px 8px}.scenario-family>summary{min-height:32px;font-size:.8125rem}.rail-more{margin-top:8px}.rail-more>summary{min-height:36px;font-size:.8125rem}.display-options{margin-bottom:10px}.display-options>summary{min-height:36px;font-size:.8125rem;color:var(--color-text-muted)}.timeline-strip{margin-top:10px;border-top:1px solid var(--color-border-subtle);padding-top:8px}.ts-lanes{position:relative;height:40px}.ts-lane{position:absolute;left:0;right:0;height:18px}.ts-funding{top:0;border-bottom:1px dashed var(--color-border-subtle)}.ts-events{top:20px}.ts-fund{position:absolute;top:4px;width:10px;height:10px;border-radius:3px;transform:translate(-50%)}.ts-fund.unfunded{background:var(--color-status-error)}.ts-fund.reserve{background:var(--color-status-caution)}.ts-fund.static{position:static;display:inline-block;transform:none;vertical-align:middle}.ts-year{position:absolute;top:0;transform:translate(-50%);display:inline-flex;gap:1px;align-items:center}.ts-year.selected{outline:2px solid var(--ds-gold);outline-offset:2px;border-radius:4px}.ts-glyph{font-style:normal;font-size:.75rem;line-height:1rem;color:var(--color-text-muted)}.ts-glyph.milestone{color:var(--ds-aqua)}.ts-glyph.purchase,.ts-glyph.sale,.ts-glyph.loanDrawn{color:var(--ds-gold)}.ts-glyph.static{display:inline-block;margin-right:4px}.ts-more{font-style:normal;font-size:.625rem;color:var(--color-text-muted)}.ts-buttons{position:relative;height:14px}.ts-btn{position:absolute;top:0;width:14px;height:14px;border-radius:50%;border:1px solid var(--color-border-control);background:var(--color-surface-base);transform:translate(-50%);cursor:pointer;padding:0}.ts-btn.unfunded{border-color:var(--color-status-error)}.ts-btn.reserve{border-color:var(--color-status-caution)}.ts-btn.selected{background:var(--ds-gold);border-color:var(--ds-gold)}.ts-btn:focus-visible{outline:3px solid var(--color-border-focus);outline-offset:2px}.ts-legend{display:flex;flex-wrap:wrap;gap:4px 16px;margin-top:8px}.ts-detail{margin-top:10px}.ts-list{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:4px}.diff-list{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}.diff-row{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(120px,1fr) auto;gap:10px;align-items:center;font-size:.8125rem}.diff-row.total{border-top:1px solid var(--color-border-subtle);padding-top:6px;font-weight:700}.diff-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diff-track{position:relative;height:14px;background:var(--color-surface-soft);border-radius:4px}.diff-track:before{content:"";position:absolute;left:50%;top:0;bottom:0;width:1px;background:var(--color-border-control)}.diff-bar{position:absolute;top:2px;height:10px;border-radius:3px;background:var(--color-text-muted)}.diff-bar.good{background:var(--color-status-success)}.diff-bar.bad{background:var(--color-status-error)}.diff-bar.flat{background:var(--color-text-muted)}.diff-value{font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}@media(max-width:640px){.diff-row{grid-template-columns:1fr;gap:2px}.diff-value{text-align:left}}.position-strip .stat-value{font-size:1.75rem;line-height:2.125rem;font-weight:800;letter-spacing:-.6px;font-variant-numeric:tabular-nums}.position-strip .stat-label{font-size:.8125rem;font-weight:700;color:var(--color-text-muted)}.position-strip>.button{grid-column:2;grid-row:1;justify-self:end}@media(max-width:720px){.position-strip>.button{grid-column:1;grid-row:auto;justify-self:start}}.lottie{display:inline-flex;align-items:center;justify-content:center;color:var(--ds-aqua);flex:none}.lottie .lottie-fallback{display:inline-flex}.lottie-host svg path[stroke],.lottie-host svg ellipse[stroke],.lottie-host svg circle[stroke]{stroke:currentColor}.lottie-host svg path[fill]:not([fill=none]){fill:currentColor}.hero-empty-art{margin-bottom:4px}@keyframes drawer-in{0%{transform:translate(24px);opacity:0}to{transform:none;opacity:1}}@keyframes pop-in{0%{transform:translateY(-4px) scale(.98);opacity:0}to{transform:none;opacity:1}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes result-crossfade{0%{opacity:.55}to{opacity:1}}.drawer{animation:drawer-in var(--motion-panel) cubic-bezier(.2,0,0,1)}.scrim{animation:fade-in var(--motion-standard) ease-out}.menu .menu-list{animation:pop-in var(--motion-quick) ease-out;transform-origin:top right}.dialog .panel{animation:pop-in var(--motion-standard) cubic-bezier(.2,0,0,1)}.chart-card.result-fresh .chart{animation:result-crossfade var(--motion-panel) ease-out}:root{--ds-canvas-deep: var(--color-neutral-25);--ds-glass: var(--color-surface-base);--ds-glass-edge: var(--color-border-subtle);--ds-glass-edge-hi: var(--color-border-control);--ds-gold: #765a17;--ds-gold-dim: #a8873f;--ds-gold-edge: #cfa54a;--ds-gold-wash: #f7ecd4;--ds-aqua: var(--color-brand-600);--ds-aqua-soft: var(--color-brand-500);--ds-aqua-ink: var(--color-neutral-0);--ds-aqua-wash: var(--color-brand-tint);--ds-violet: #6d5bd0;--ds-rose: #c2325f;--ds-text-faint: var(--color-text-muted);--ds-chart-1: var(--color-brand-600);--ds-chart-2: #8a6a1f;--ds-chart-3: #6d5bd0;--ds-chart-4: #c2325f;--ds-chart-grid: var(--color-chart-grid);--ds-glow-aqua: 0 4px 16px rgba(2, 157, 145, .14);--ds-glow-gold: 0 4px 16px rgba(138, 106, 31, .14);--ds-shadow-panel: 0 8px 24px rgba(29, 27, 32, .1)}[data-theme=dark]{color:var(--color-text-primary);background:radial-gradient(1100px 500px at 85% -10%,rgba(43,217,200,.07),transparent 60%),radial-gradient(900px 600px at -10% 110%,rgba(180,160,255,.05),transparent 55%),linear-gradient(160deg,var(--color-surface-canvas),var(--ds-canvas-deep))}[data-theme=dark] .constellation{background-image:radial-gradient(1.5px 1.5px at 12% 28%,rgba(232,245,241,.14),transparent 100%),radial-gradient(1px 1px at 38% 72%,rgba(126,231,218,.18),transparent 100%),radial-gradient(1.5px 1.5px at 64% 18%,rgba(232,245,241,.1),transparent 100%),radial-gradient(1px 1px at 82% 58%,rgba(231,199,127,.16),transparent 100%),radial-gradient(1px 1px at 50% 92%,rgba(232,245,241,.12),transparent 100%)}.glass{position:relative;background:var(--ds-glass);border:1px solid var(--ds-glass-edge);border-radius:var(--radius-card);padding:var(--card-padding);min-width:0;box-shadow:var(--ds-shadow-panel);transition:border-color var(--motion-standard),box-shadow var(--motion-standard),transform var(--motion-standard)}[data-theme=dark] .glass{backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}[data-theme=dark] .glass:before{content:"";position:absolute;inset:0 0 auto;height:1px;border-radius:inherit;background:linear-gradient(90deg,transparent 4%,rgba(126,231,218,.45) 50%,transparent 96%);pointer-events:none}.glass.interactive:hover{border-color:var(--ds-glass-edge-hi);box-shadow:var(--ds-shadow-panel),var(--ds-glow-aqua);transform:translateY(-2px)}.glass.selected{border-color:var(--ds-gold-edge);box-shadow:var(--ds-shadow-panel),var(--ds-glow-gold)}[data-theme=dark] .glass.selected:before{background:linear-gradient(90deg,transparent 4%,rgba(231,199,127,.6) 50%,transparent 96%)}.glass>*+*{margin-top:12px}.glass .glass-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.section-chip{display:inline-flex;align-items:center;gap:10px;font-size:.875rem;font-weight:700;letter-spacing:.2px}.section-chip .num{width:24px;height:24px;border-radius:50%;flex:none;display:inline-grid;place-items:center;font-size:.75rem;font-weight:800;background:var(--ds-gold-wash);color:var(--ds-gold);border:1px solid var(--ds-gold-edge)}.pill{display:inline-flex;align-items:center;gap:6px;font-size:.75rem;line-height:1.125rem;font-weight:700;border-radius:var(--radius-pill);padding:3px 12px;white-space:nowrap;background:var(--ds-aqua-wash);color:var(--ds-aqua);border:1px solid transparent}[data-theme=dark] .pill{color:var(--ds-aqua-soft);border-color:#7ee7da47}.pill.gold{background:var(--ds-gold-wash);color:var(--ds-gold)}[data-theme=dark] .pill.gold{color:var(--ds-gold);border-color:var(--ds-gold-edge)}.pill.outline{background:transparent;color:var(--color-text-muted);border-color:var(--ds-glass-edge-hi)}.delta-chip{display:inline-flex;align-items:center;gap:4px;font-size:.75rem;font-weight:800;border-radius:6px;padding:2px 7px;font-variant-numeric:tabular-nums;background:var(--color-tone-successTint);color:var(--color-status-success)}.delta-chip.down{background:var(--color-tone-errorTint);color:var(--color-status-error)}.delta-chip.flat{background:var(--color-surface-soft);color:var(--color-text-muted)}.stat{display:flex;flex-direction:column;gap:6px;min-width:0}.stat .stat-label{font-size:.8125rem;font-weight:700;color:var(--color-text-muted);display:flex;justify-content:space-between;align-items:center;gap:8px}.stat .stat-value{font-size:2.125rem;line-height:2.5rem;font-weight:800;letter-spacing:-.8px;font-variant-numeric:tabular-nums;display:flex;align-items:baseline;gap:8px}.stat .stat-value .unit{font-size:1rem;font-weight:700;color:var(--color-text-muted);letter-spacing:0}.stat .stat-sub{font-size:.8125rem;color:var(--ds-text-faint);display:flex;align-items:center;gap:8px}.tick-spark{display:flex;align-items:flex-end;gap:2px;height:36px}.tick-spark i{width:3px;border-radius:2px;background:var(--ds-glass-edge-hi);transform-origin:bottom;animation:ds-bar-grow var(--motion-entrance) var(--ease-out) both;animation-delay:calc(var(--i, 0) * 24ms)}.tick-spark i.hot{background:var(--ds-chart-2);box-shadow:var(--ds-glow-gold)}.tick-spark i.lead{background:var(--ds-chart-1)}.comb{display:flex;gap:3px;align-items:stretch;height:22px;border-radius:6px}.comb i{flex:1;border-radius:2px;background:var(--color-surface-soft);transform-origin:bottom;animation:ds-bar-grow var(--motion-entrance) var(--ease-out) both;animation-delay:calc(var(--i, 0) * 14ms)}.comb i.on{background:linear-gradient(180deg,var(--ds-aqua-soft),var(--ds-aqua))}[data-theme=dark] .comb i.on{box-shadow:0 0 8px #2bd9c859}.comb i.on.gold{background:linear-gradient(180deg,var(--ds-gold),var(--ds-gold-dim))}[data-theme=dark] .comb i.on.gold{box-shadow:0 0 8px #e7c77f59}.gauge{position:relative;display:grid;place-items:center}.gauge svg{display:block}.gauge .gauge-track{stroke:var(--color-surface-soft)}[data-theme=dark] .gauge .gauge-track{stroke:#e8f5f114}.gauge .gauge-arc{animation:ds-draw var(--motion-draw) var(--ease-glide) both;animation-delay:calc(var(--i, 0) * var(--motion-stagger))}.gauge .gauge-center{position:absolute;text-align:center}.gauge .gauge-center .big{font-size:1.875rem;font-weight:800;letter-spacing:-.6px;font-variant-numeric:tabular-nums}.gauge .gauge-center .cap{font-size:.75rem;font-weight:700;color:var(--color-text-muted);margin-top:2px}.glow-list{display:flex;flex-direction:column;gap:8px}.glow-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:var(--radius-control);background:var(--color-surface-soft);border:1px solid transparent;font-size:.875rem;font-weight:600;color:var(--color-text-primary);text-decoration:none;text-align:left;width:100%;cursor:pointer;transition:border-color var(--motion-quick),box-shadow var(--motion-quick),background var(--motion-quick)}[data-theme=dark] .glow-row{background:#e8f5f10a;border-color:var(--ds-glass-edge)}.glow-row:hover{border-color:var(--ds-glass-edge-hi);box-shadow:var(--ds-glow-aqua)}.glow-row[aria-current=true],.glow-row.selected{border-color:var(--ds-gold-edge);box-shadow:var(--ds-glow-gold);background:var(--ds-gold-wash)}[data-theme=dark] .glow-row[aria-current=true],[data-theme=dark] .glow-row.selected{background:#e7c77f14}.glow-row .glow-meta{font-size:.75rem;color:var(--ds-text-faint);font-weight:600}.glow-row .arrow{color:var(--ds-text-faint);transition:transform var(--motion-quick),color var(--motion-quick);flex:none}.glow-row:hover .arrow{transform:translate(2px,-2px);color:var(--ds-aqua-soft)}.ask-bar{display:flex;align-items:center;gap:8px;border-radius:var(--radius-pill);padding:6px 6px 6px 18px;background:var(--color-surface-base);border:1px solid var(--ds-glass-edge-hi);transition:box-shadow var(--motion-standard),border-color var(--motion-standard)}[data-theme=dark] .ask-bar{background:#e8f5f10f}.ask-bar:focus-within{border-color:var(--ds-aqua-soft);box-shadow:var(--ds-glow-aqua)}.ask-bar input{flex:1;border:0;background:transparent;min-width:0;font-size:.875rem;font-weight:600;color:inherit}.ask-bar input:focus-visible{outline:none}.ask-bar input::placeholder{color:var(--ds-text-faint)}.ask-bar .send{width:40px;height:40px;flex:none;border-radius:50%;border:0;display:grid;place-items:center;font-size:1rem;background:var(--color-action-primary);color:var(--color-action-foreground);transition:transform var(--motion-quick) var(--ease-flare),box-shadow var(--motion-quick)}.ask-bar .send:hover{transform:scale(1.06);box-shadow:var(--ds-glow-aqua)}.ds-chart text{font:11px Manrope,Arial,sans-serif;font-size:calc(11px * var(--axis-scale, 1));fill:var(--ds-text-faint)}.ds-chart .grid-line{stroke:var(--ds-chart-grid)}.ds-bars rect{transform-origin:bottom;transform-box:fill-box;animation:ds-bar-grow var(--motion-entrance) var(--ease-out) both;animation-delay:calc(var(--i, 0) * 18ms)}.ds-line{fill:none;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round;animation:ds-draw var(--motion-draw) var(--ease-glide) both}.ds-line.no-draw{animation:none}.ds-area{animation:ds-fade var(--motion-entrance) var(--ease-out) both;animation-delay:.4s}.comet-edge{fill:none;stroke-width:1.5;stroke-linecap:round;animation:ds-draw var(--motion-draw) var(--ease-glide) both;animation-delay:calc(var(--i, 0) * .14s)}.comet-dot{animation:ds-pop var(--motion-entrance) var(--ease-flare) both;animation-delay:calc(var(--i, 0) * .14s + .5s)}[data-theme=dark] .comet-dot{filter:drop-shadow(0 0 6px currentColor)}.node-core{animation:ds-breathe 4s ease-in-out infinite;transform-origin:center;transform-box:fill-box}.comet-label{animation:ds-rise var(--motion-entrance) var(--ease-out) both;animation-delay:calc(var(--i, 0) * .14s + .55s)}.tip-card{position:absolute;z-index:6;min-width:190px;pointer-events:none;background:var(--ds-glass);border:1px solid var(--ds-glass-edge-hi);border-radius:var(--radius-control);padding:10px 12px;box-shadow:var(--ds-shadow-panel);font-size:.75rem;animation:ds-fade var(--motion-quick) var(--ease-out) both}[data-theme=dark] .tip-card{backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.tip-card .tip-head{font-size:.8125rem;margin-bottom:6px}.tip-card .tip-row{display:flex;align-items:center;gap:8px;padding:2px 0}.tip-card .tip-row i{width:10px;height:10px;border-radius:3px;flex:none}.tip-card .tip-row.dot i{width:7px;height:7px;border-radius:50%;margin:0 1.5px}.tip-card .tip-row span{color:var(--color-text-muted)}.tip-card .tip-row b{margin-left:auto;font-variant-numeric:tabular-nums}.tip-card .tip-row.total{border-top:1px solid var(--ds-glass-edge);margin-top:4px;padding-top:6px}.tip-card .tip-row.total i{background:var(--color-text-primary);width:6px;height:6px;border-radius:50%}.rail-metrics{display:flex;flex-direction:column}.rail-metric{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;column-gap:12px;padding:7px 0;border-top:1px solid var(--ds-glass-edge)}.rail-metric:first-child{border-top:0}.rail-metric .rm-label{font-size:.8125rem;font-weight:700;color:var(--color-text-muted)}.rail-metric .rm-value{font-size:.875rem;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}.rail-metric .rm-delta{grid-column:2;font-size:.6875rem;color:var(--ds-text-faint);font-variant-numeric:tabular-nums;text-align:right}.metric-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.metric-card{padding:14px 16px}.metric-card .mc-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:4px}.metric-card .mc-value{font-size:1.5rem;font-weight:800;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.mini-viz{width:108px;height:auto;flex:none}.columns-layout{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:16px;align-items:start}.legend-panel{display:flex;flex-direction:column;font-size:.8125rem}.legend-panel .lp-row{display:flex;align-items:center;gap:8px;padding:6px 0;border-top:1px solid var(--ds-glass-edge);cursor:pointer}.legend-panel .lp-row.head{border-top:0;cursor:default;font-weight:700}.legend-panel .lp-row input{width:15px;height:15px;accent-color:var(--ds-aqua);flex:none}.legend-panel .lp-row i{width:11px;height:11px;border-radius:3px;flex:none}.legend-panel .lp-row span{color:var(--color-text-muted);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.legend-panel .lp-row b{margin-left:auto;font-variant-numeric:tabular-nums}.legend-panel .lp-row.sum{cursor:default;font-weight:800;border-top:1px solid var(--ds-glass-edge-hi)}.legend-panel .lp-row.sum b{background:var(--ds-aqua-wash);border-radius:6px;padding:1px 8px}.subtabs{display:flex;gap:2px;border-bottom:1px solid var(--ds-glass-edge);overflow-x:auto;max-width:100%;scrollbar-width:thin}.subtabs button{border:0;background:transparent;padding:10px 14px;font-size:.875rem;font-weight:700;color:var(--color-text-muted);border-bottom:3px solid transparent;white-space:nowrap;min-height:44px}.subtabs button:hover{color:var(--color-text-primary)}.subtabs button.active{color:var(--color-text-link);border-bottom-color:var(--ds-aqua)}.run-ring{position:relative;display:grid;place-items:center;border:0;background:transparent;border-radius:50%;padding:0}.run-ring svg{grid-area:1 / 1}.run-ring .rr-arc{transition:stroke-dashoffset 1.6s var(--ease-glide)}.run-ring.done .rr-arc{filter:drop-shadow(0 0 8px rgba(43,217,200,.5))}.run-ring .rr-label{grid-area:1 / 1;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:1rem;font-weight:800;color:var(--color-text-primary)}.run-ring .rr-label b{font-size:1.875rem;letter-spacing:-.6px;font-variant-numeric:tabular-nums}.run-ring .rr-label i{font-style:normal;font-size:.6875rem;font-weight:600;color:var(--ds-text-faint)}.run-ring:hover svg circle:first-child{stroke:var(--ds-glass-edge-hi)}.split-handle{display:flex;align-items:center;justify-content:center;height:22px;margin:2px 0 8px;border-radius:8px;color:var(--ds-text-faint);font-size:.75rem;cursor:row-resize;touch-action:none;user-select:none;border:1px dashed var(--ds-glass-edge)}.split-handle:hover{border-color:var(--ds-glass-edge-hi);color:var(--ds-aqua-soft)}.th-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:6px;background:var(--ds-glass-edge-hi);vertical-align:baseline}[data-theme=dark] .table-wrap{border-color:var(--ds-glass-edge)}[data-theme=dark] table.data th{background:#e8f5f10a}[data-theme=dark] table.data th,[data-theme=dark] table.data td{border-color:var(--ds-glass-edge)}.ring-stat{flex-direction:row;align-items:center;justify-content:space-between;gap:14px}.ring-stat>div:first-child{display:flex;flex-direction:column;gap:6px;min-width:0}.insight{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:var(--radius-control);background:var(--ds-glass);border:1px solid var(--ds-glass-edge);font-size:.875rem}.insight .insight-icon{width:34px;height:34px;flex:none;display:grid;place-items:center;border-radius:10px;background:var(--ds-gold-wash);border:1px solid var(--ds-gold-edge);font-size:1rem}.insight strong{color:var(--ds-gold)}.insight strong.ok{color:var(--ds-aqua-soft)}@media(max-width:959px){.columns-layout{grid-template-columns:minmax(0,1fr)}.plan-format{grid-template-columns:minmax(0,1fr)!important}}.reveal{animation:ds-rise var(--motion-entrance) var(--ease-out) both;animation-delay:calc(var(--i, 0) * var(--motion-stagger))}.reveal-scale{animation:ds-pop var(--motion-entrance) var(--ease-flare) both;animation-delay:calc(var(--i, 0) * var(--motion-stagger))}@keyframes ds-rise{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}@keyframes ds-fade{0%{opacity:0}to{opacity:1}}@keyframes ds-pop{0%{opacity:0;transform:scale(.6)}to{opacity:1;transform:none}}@keyframes ds-bar-grow{0%{transform:scaleY(0)}to{transform:scaleY(1)}}@keyframes ds-draw{0%{stroke-dashoffset:var(--draw-len, 1000)}to{stroke-dashoffset:0}}@keyframes ds-breathe{0%,to{transform:scale(1);opacity:.9}50%{transform:scale(1.06);opacity:1}}:root{--motion-entrance: .6s;--motion-draw: 1.4s;--motion-count: .9s;--motion-stagger: 70ms;--ease-out: cubic-bezier(.16, 1, .3, 1);--ease-glide: cubic-bezier(.22, 1, .36, 1);--ease-flare: cubic-bezier(.34, 1.56, .64, 1)}[data-theme=dark]{--color-surface-canvas: #081413;--color-surface-base: #0E201E;--color-surface-soft: #15302B;--color-surface-brand: #050D0C;--color-text-primary: #E8F5F1;--color-text-muted: #A3BFB8;--color-text-inverse: #050D0C;--color-text-link: #7EE7DA;--color-action-primary: #2BD9C8;--color-action-hover: #7EE7DA;--color-action-pressed: #1FBFAF;--color-action-foreground: #052420;--color-action-disabled: #1D3A35;--color-action-disabledText: #7C9891;--color-border-subtle: rgba(126, 231, 218, .16);--color-border-control: rgba(126, 231, 218, .42);--color-border-focus: #7EE7DA;--color-status-success: #63D9A6;--color-status-caution: #F2BE6A;--color-status-error: #FF9086;--color-status-info: #8AB8FF;--color-tone-success: #63D9A6;--color-tone-successTint: rgba(99, 217, 166, .14);--color-tone-caution: #F2BE6A;--color-tone-cautionTint: rgba(242, 190, 106, .16);--color-tone-error: #FF9086;--color-tone-errorTint: rgba(255, 144, 134, .16);--color-tone-info: #8AB8FF;--color-tone-infoTint: rgba(138, 184, 255, .16);--color-brand-tint: rgba(43, 217, 200, .14);--color-chart-baseline: #E8F5F1;--color-chart-alternative: #2BD9C8;--color-chart-third: #B4A0FF;--color-chart-grid: rgba(232, 245, 241, .08);--ds-canvas-deep: #050D0C;--ds-glass: rgba(14, 32, 30, .66);--ds-glass-edge: rgba(126, 231, 218, .16);--ds-glass-edge-hi: rgba(126, 231, 218, .42);--ds-gold: #E7C77F;--ds-gold-dim: #B9975B;--ds-gold-edge: rgba(231, 199, 127, .55);--ds-gold-wash: rgba(231, 199, 127, .14);--ds-aqua: #2BD9C8;--ds-aqua-soft: #7EE7DA;--ds-aqua-ink: #052420;--ds-aqua-wash: rgba(43, 217, 200, .14);--ds-violet: #B4A0FF;--ds-rose: #FF7E9E;--ds-text-faint: #7C9891;--ds-chart-1: #2BD9C8;--ds-chart-2: #E7C77F;--ds-chart-3: #B4A0FF;--ds-chart-4: #FF7E9E;--ds-chart-grid: rgba(232, 245, 241, .08);--ds-glow-aqua: 0 0 22px rgba(43, 217, 200, .25);--ds-glow-gold: 0 0 26px rgba(231, 199, 127, .3);--ds-shadow-panel: 0 16px 40px rgba(3, 10, 9, .55)}
