.assistant-launcher{z-index:40;background:var(--brand);color:#fff;min-height:44px;box-shadow:var(--shadow);cursor:pointer;border:0;border-radius:999px;align-items:center;gap:8px;padding:0 16px;font-weight:600;display:inline-flex;position:fixed;bottom:20px;right:20px}.assistant-panel{z-index:40;border:1px solid var(--line);background:var(--surface);width:min(420px,100vw - 24px);height:min(640px,100vh - 40px);color:var(--ink);box-shadow:var(--shadow);border-radius:12px;flex-direction:column;display:flex;position:fixed;bottom:20px;right:20px}.assistant-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;display:flex}.assistant-header-actions{align-items:center;gap:4px;display:flex}.assistant-header-button{border:1px solid var(--line);background:var(--surface-2);min-height:30px;color:var(--ink);cursor:pointer;border-radius:8px;align-items:center;gap:4px;padding:0 8px;font-size:.78rem;display:inline-flex}.assistant-header-button[aria-pressed=true]{border-color:var(--brand);color:var(--brand)}.assistant-header-button:disabled{opacity:.5;cursor:not-allowed}.assistant-messages{flex-direction:column;flex:1;gap:10px;padding:12px 14px;display:flex;overflow-y:auto}.assistant-empty{flex-direction:column;gap:8px;display:flex}.assistant-empty p{margin:0 0 4px;line-height:1.5}.assistant-example{border:1px solid var(--line);background:var(--surface-2);color:var(--ink);text-align:left;cursor:pointer;border-radius:8px;padding:9px 12px}.assistant-example:hover:not(:disabled){border-color:var(--brand)}.assistant-turn{flex-direction:column;gap:6px;display:flex}.assistant-turn.user{align-items:flex-end}.assistant-turn.assistant{align-items:flex-start}.assistant-bubble{white-space:pre-wrap;overflow-wrap:anywhere;border-radius:12px;max-width:90%;padding:8px 12px;line-height:1.45}.assistant-bubble p{margin:0}.assistant-bubble.user{background:var(--brand);color:#fff}.assistant-bubble.user.failed{opacity:.7}.assistant-bubble.assistant{background:var(--surface-2)}.assistant-result{border:1px solid var(--line);border-left:4px solid var(--brand);background:var(--surface);border-radius:8px;width:100%;padding:10px 12px}.assistant-result.error{border-left-color:var(--red)}.assistant-result.pending{border-left-color:var(--line-strong);color:var(--muted)}.assistant-result pre{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0 0;font-size:.85rem}.assistant-actions{flex-wrap:wrap;gap:6px;display:flex}.assistant-action{border:1px solid var(--brand);color:var(--brand);cursor:pointer;background:0 0;border-radius:999px;padding:7px 12px;font-weight:600}.assistant-action:hover{background:var(--brand-soft)}.assistant-error{background:var(--red-soft);color:var(--red);border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 12px;font-size:.85rem;display:flex}.assistant-retry{border:1px solid var(--red);color:var(--red);cursor:pointer;background:0 0;border-radius:999px;align-items:center;gap:4px;padding:4px 10px;font-weight:600;display:inline-flex}.assistant-retry:disabled{opacity:.5;cursor:not-allowed}.assistant-muted{color:var(--muted);font-size:.82rem}.assistant-history{flex-direction:column;flex:1;gap:10px;padding:12px 14px;display:flex;overflow-y:auto}.assistant-history ul{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.assistant-history li{border:1px solid var(--line);border-radius:8px;align-items:center;gap:4px;display:flex}.assistant-history li.current{border-color:var(--brand)}.assistant-history-open{color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;align-items:flex-start;gap:2px;padding:8px 10px;display:flex}.assistant-history-open small{color:var(--muted)}.assistant-confirm{flex-wrap:wrap;align-items:center;gap:8px;font-size:.85rem;display:flex}.assistant-link{color:var(--red);cursor:pointer;background:0 0;border:0;align-self:flex-start;text-decoration:underline}.assistant-form{border-top:1px solid var(--line);align-items:flex-end;gap:8px;padding:10px 14px;display:flex}.assistant-form textarea{resize:none;border:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;border-radius:8px;flex:1;padding:8px 10px}.assistant-footnote{color:var(--muted);padding:0 14px 10px}@media print{.assistant-launcher,.assistant-panel{display:none}}:root{color:#17343c;font-synthesis:none;text-rendering:optimizelegibility;--color-background:#f3f5f1;--color-surface:#fff;--color-surface-elevated:#fff;--color-surface-subtle:#f7f8f5;--color-surface-muted:#eef2ee;--color-sidebar-background:#102f38;--color-sidebar-foreground:#dceae7;--color-sidebar-muted:#91aaa6;--color-sidebar-hover:#ffffff12;--color-sidebar-active:#64c6ab29;--color-operation-primary:#0e5149;--color-operation-primary-hover:#0b443d;--color-operation-primary-active:#083832;--color-operation-soft:#e4f1ec;--color-text-primary:#17343c;--color-text-secondary:#53686c;--color-text-muted:#687c80;--color-border:#dce4df;--color-divider:#c9d5cf;--color-focus-ring:#16816d;--color-success:#0e5149;--color-success-soft:#e4f1ec;--color-warning:#7a4a00;--color-warning-accent:#d49332;--color-warning-soft:#fff4dc;--color-danger:#b83e39;--color-danger-soft:#fceceb;--color-information:#315d76;--color-information-soft:#e9f0f5;--color-disabled:#a8b4b1;--shadow-sm:0 1px 3px #18363714;--shadow-md:0 8px 24px #18363714;--shadow-lg:0 18px 42px #102f3829;--radius-xs:4px;--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;--space-10:40px;--font-size-caption:.68rem;--font-size-helper:.74rem;--font-size-body-sm:.82rem;--font-size-body:.92rem;--font-size-section:1.12rem;--font-size-page:clamp(1.75rem, 2.5vw, 2.35rem);--line-height-tight:1.18;--line-height-body:1.55;--control-height:40px;--control-height-sm:34px;--table-row-height:44px;--sidebar-width:256px;--topbar-height:64px;--content-max-width:1530px;--page-gutter:32px;--bg:var(--color-background);--surface:var(--color-surface);--surface-2:var(--color-surface-subtle);--surface-3:var(--color-surface-muted);--ink:var(--color-text-primary);--muted:var(--color-text-muted);--line:var(--color-border);--line-strong:var(--color-divider);--brand:var(--color-operation-primary);--brand-2:#147d68;--brand-soft:var(--color-operation-soft);--nav:var(--color-sidebar-background);--nav-text:var(--color-sidebar-foreground);--gold:var(--color-warning-accent);--gold-soft:var(--color-warning-soft);--red:var(--color-danger);--red-soft:var(--color-danger-soft);--blue:var(--color-information);--blue-soft:var(--color-information-soft);--shadow:var(--shadow-md);--radius:var(--radius-md);background:#f3f5f1;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root[data-theme=dark]{color:#e6efec;--color-background:#0c1d22;--color-surface:#12272d;--color-surface-elevated:#173138;--color-surface-subtle:#173138;--color-surface-muted:#1e3940;--color-sidebar-background:#07171b;--color-sidebar-foreground:#dceae7;--color-sidebar-muted:#91aaa6;--color-operation-primary:#6fc5ae;--color-operation-primary-hover:#85d0bc;--color-operation-primary-active:#9edbc9;--color-operation-soft:#193f38;--color-text-primary:#e6efec;--color-text-secondary:#bfd0cd;--color-text-muted:#9db0b0;--color-border:#29444a;--color-divider:#3b5860;--color-focus-ring:#8dd5c2;--color-success:#6fc5ae;--color-success-soft:#193f38;--color-warning:#f0c276;--color-warning-accent:#e5ad53;--color-warning-soft:#46391f;--color-danger:#ef7c72;--color-danger-soft:#422725;--color-information:#7fb0cf;--color-information-soft:#213846;--color-disabled:#617477;--shadow-sm:0 1px 3px #0003;--shadow-md:0 10px 30px #00000038;--shadow-lg:0 20px 50px #00000052;--brand-2:#4dae93;background:#0c1d22}*{box-sizing:border-box}html{background:var(--bg);scroll-behavior:smooth;min-width:320px}body{min-width:320px;min-height:100vh;color:var(--color-text-primary);background:var(--bg);font-size:var(--font-size-body);line-height:var(--line-height-body);margin:0}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit}button:disabled,input:disabled,select:disabled,textarea:disabled{cursor:not-allowed}a{color:inherit;text-decoration:none}:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid var(--color-focus-ring);outline-offset:2px}h1,h2,h3,p{margin-top:0}h1{font-size:var(--font-size-page);line-height:var(--line-height-tight);letter-spacing:-.035em;margin-bottom:9px}h2{font-size:var(--font-size-section);letter-spacing:-.02em;margin-bottom:7px}h3{margin-bottom:6px}p{color:var(--muted);line-height:var(--line-height-body)}small{color:var(--muted)}.numeric,.money,input[type=number],table{font-variant-numeric:tabular-nums lining-nums}.app-shell{min-height:100dvh}.auth-shell,.auth-loading,.access-screen{min-height:100dvh;padding:var(--space-6);background:radial-gradient(circle at top left, color-mix(in srgb, var(--brand) 13%, transparent), transparent 42%), var(--bg);place-items:center;display:grid}.auth-card{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);width:min(460px,100%);box-shadow:var(--shadow-lg);padding:clamp(25px,5vw,40px)}.auth-logo{width:180px;height:45px;margin-bottom:var(--space-4);object-fit:contain;object-position:left center;display:block}.auth-card>.environment-badge{margin-bottom:var(--space-6);display:inline-flex}.auth-heading h1{font-size:clamp(1.7rem,5vw,2.15rem)}.auth-heading p{margin-bottom:var(--space-6)}.auth-form{gap:var(--space-4);display:grid}.auth-email-input{position:relative}.auth-email-input>svg{z-index:1;color:var(--muted);pointer-events:none;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.field .auth-email-input input{padding-left:39px}.auth-message{margin:var(--space-4) 0 0;border-radius:var(--radius-sm);font-size:var(--font-size-body-sm);padding:12px 14px}.auth-message.success{color:var(--color-success);background:var(--color-success-soft)}.auth-message.error{color:var(--color-danger);background:var(--color-danger-soft)}.auth-message strong{color:inherit}.auth-security-note{margin:var(--space-5) 0 0;padding-top:var(--space-4);border-top:1px solid var(--line);font-size:var(--font-size-helper)}.auth-loading{align-content:center;gap:var(--space-3);color:var(--ink)}.access-screen{align-content:center}.access-screen[role=status]{gap:var(--space-3);color:var(--ink)}.access-card{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);width:min(520px,100%);box-shadow:var(--shadow-lg);text-align:center;padding:clamp(25px,5vw,40px)}.access-card>svg{width:38px;height:38px;margin-bottom:var(--space-3);color:var(--color-warning)}.access-card h1{margin-bottom:var(--space-3);font-size:clamp(1.55rem,4vw,2rem)}.access-card p{color:var(--muted);margin:0}.access-actions{justify-content:center;gap:var(--space-3);margin-top:var(--space-6);flex-wrap:wrap;display:flex}.admin-access-shell{min-height:100dvh;padding:var(--space-6);background:radial-gradient(circle at top right, color-mix(in srgb, var(--brand) 14%, transparent), transparent 44%), var(--bg);place-items:center;display:grid}.admin-access-card{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);width:min(620px,100%);box-shadow:var(--shadow-lg);padding:clamp(25px,5vw,42px)}.admin-back-link{align-items:center;gap:var(--space-2);margin-bottom:var(--space-6);color:var(--muted);font-size:var(--font-size-body-sm);font-weight:700;display:inline-flex}.admin-access-heading{align-items:flex-start;gap:var(--space-4);margin-bottom:var(--space-6);display:flex}.admin-access-heading>svg{width:34px;height:34px;color:var(--color-operation-primary);flex:none}.admin-access-heading h1{margin-bottom:var(--space-2);font-size:clamp(1.65rem,5vw,2.15rem)}.admin-access-heading p,.admin-access-current{margin:0}.admin-access-form{gap:var(--space-4);display:grid}.admin-access-actions{gap:var(--space-3);flex-wrap:wrap;display:flex}.admin-access-status{align-items:center;gap:var(--space-3);min-height:90px;color:var(--ink);display:flex}.admin-access-error{margin:var(--space-4) 0 0;border-radius:var(--radius-sm);color:var(--color-danger);background:var(--color-danger-soft);padding:12px 14px}.admin-access-note{margin:var(--space-6) 0 0;padding-top:var(--space-4);border-top:1px solid var(--line);font-size:var(--font-size-helper)}.spinner{border:3px solid var(--line-strong);border-top-color:var(--color-operation-primary);border-radius:50%;width:28px;height:28px;animation:.75s linear infinite auth-spin}@keyframes auth-spin{to{transform:rotate(360deg)}}.skip-link{top:var(--space-3);left:var(--space-4);z-index:100;border-radius:var(--radius-sm);color:#fff;background:var(--color-operation-primary);box-shadow:var(--shadow-lg);font-size:var(--font-size-body-sm);transform:translateY(calc(-100% - var(--space-6)));padding:9px 13px;font-weight:750;transition:transform .16s;position:fixed}.skip-link:focus{transform:translateY(0)}.sidebar-overlay{z-index:35;opacity:0;visibility:hidden;pointer-events:none;background:#07171b8f;border:0;width:100%;height:100%;padding:0;transition:opacity .18s,visibility .18s;position:fixed;inset:0}.sidebar-overlay.visible{opacity:1;visibility:visible;pointer-events:auto}.sidebar{width:var(--sidebar-width);min-height:100dvh;color:var(--nav-text);background:var(--nav);z-index:40;border-right:1px solid #64c6ab1a;flex-direction:column;transition:transform .2s;display:flex;position:fixed;inset:0 auto 0 0;overflow:hidden}.brand-logo-surface{background:#fff;border-bottom:1px solid #e5e8e4;place-items:center;min-height:72px;padding:12px 16px;display:grid}.brand-logo{object-fit:contain;width:180px;max-width:100%;height:45px;display:block}.product-identity{border-bottom:1px solid #ffffff17;flex-direction:column;align-items:flex-start;gap:9px;padding:14px 16px 13px;display:flex;position:relative}.product-identity>div{flex-direction:column;gap:2px;min-width:0;display:flex}.product-identity strong{color:#f1f7f5;letter-spacing:-.01em;font-size:.94rem;font-weight:700}.product-identity div span{color:var(--color-sidebar-muted);font-size:.65rem;line-height:1.35}.environment-badge{color:#f1c986;letter-spacing:.045em;text-transform:uppercase;background:#e5ad5317;border:1px solid #e5ad5359;border-radius:999px;align-items:center;min-height:23px;padding:0 8px;font-size:.6rem;font-weight:800;display:inline-flex}.sidebar nav{scrollbar-width:thin;scrollbar-color:#91aaa673 transparent;flex-direction:column;flex:1;gap:13px;padding:12px 10px;display:flex;overflow:hidden auto}.nav-group{min-width:0}.nav-group-label{color:#dceae77a;letter-spacing:.11em;text-transform:uppercase;margin:0 9px 4px;font-size:.58rem;font-weight:800;line-height:1.5;display:block}.nav-group-items{flex-direction:column;gap:2px;display:flex}.sidebar nav a{border-radius:var(--radius-sm);color:#b7cbc8;white-space:nowrap;border:1px solid #0000;align-items:center;gap:10px;min-height:38px;padding:0 10px;font-size:.79rem;font-weight:560;transition:color .14s,background .14s,border-color .14s;display:flex;position:relative;overflow:hidden}.sidebar nav a:hover{color:#fff;background:var(--color-sidebar-hover)}.sidebar nav a.active{color:#fff;background:var(--color-sidebar-active);border-color:#64c6ab2e;font-weight:700}.sidebar nav a.active:before{content:"";background:#64c6ab;border-radius:0 4px 4px 0;width:3px;height:20px;position:absolute;left:0}.sidebar nav a:focus-visible{outline-offset:-1px;outline-color:#8dd5c2}.sidebar nav a svg{flex:none}.sidebar-foot{border-top:1px solid #ffffff17;align-items:center;gap:9px;min-height:50px;margin-top:auto;padding:9px 14px;display:flex}.sidebar-foot span{color:#a9d8ca;border:1px solid #ffffff26;border-radius:6px;padding:3px 7px;font-size:.72rem;font-weight:800}.sidebar-foot small{color:var(--color-sidebar-muted);white-space:nowrap;font-size:.64rem}.app-main{min-height:100dvh;margin-left:var(--sidebar-width)}.topbar{z-index:20;height:var(--topbar-height);padding:0 var(--page-gutter);border-bottom:1px solid var(--line);background:var(--surface);justify-content:space-between;align-items:center;display:flex;position:sticky;top:0}.topbar-left{align-items:center;gap:16px;min-width:0;display:flex}.topbar-actions{align-items:center;gap:9px;display:flex}.auth-account{align-items:center;gap:8px;min-width:0;display:flex;position:relative}.auth-account-email{max-width:210px;color:var(--muted);font-size:var(--font-size-helper);text-overflow:ellipsis;white-space:nowrap;font-weight:680;overflow:hidden}.auth-account-identity{flex-direction:column;align-items:flex-end;gap:1px;min-width:0;display:flex}.auth-account-access{max-width:260px;color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:.62rem;font-weight:720;overflow:hidden}.auth-logout{min-height:34px;padding-inline:11px}.auth-toolbar-error{border:1px solid color-mix(in srgb, var(--color-danger) 35%, var(--line));border-radius:var(--radius-sm);width:min(330px,100vw - 28px);color:var(--color-danger);background:var(--color-danger-soft);box-shadow:var(--shadow-md);font-size:var(--font-size-helper);padding:10px 12px;line-height:1.4;position:absolute;top:calc(100% + 12px);right:0}.topbar-context{flex-direction:column;gap:1px;min-width:0;display:flex}.topbar-context span{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:.59rem;font-weight:750;line-height:1.2}.topbar-context strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;font-weight:700;line-height:1.35;overflow:hidden}.pilot-badge{border:1px solid color-mix(in srgb, var(--gold) 70%, var(--line));min-height:34px;color:var(--ink);background:color-mix(in srgb, var(--gold) 18%, var(--surface));cursor:pointer;letter-spacing:.05em;text-transform:uppercase;border-radius:999px;padding:0 12px;font-size:.68rem;font-weight:850}.pilot-badge:hover,.pilot-badge:focus-visible{border-color:var(--gold);background:color-mix(in srgb, var(--gold) 28%, var(--surface))}.content{width:min(var(--content-max-width), 100%);padding:var(--space-8) var(--page-gutter) 70px;margin:0 auto}.data-load-panel{justify-items:center;gap:var(--space-3);min-height:320px;padding:var(--space-6);color:var(--ink);text-align:center;align-content:center;display:grid}.data-load-panel h1,.data-load-panel p{margin:0}.data-load-panel p{max-width:620px;color:var(--muted)}.data-load-panel .button{margin-top:var(--space-2)}.mobile-menu,.mobile-close{display:none!important}.icon-button{width:var(--control-height-sm);height:var(--control-height-sm);border-radius:var(--radius-sm);color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;flex:none;place-items:center;padding:0;display:inline-grid}.icon-button:hover{color:var(--ink);background:var(--surface-3)}.icon-button.danger:hover{color:var(--red);background:var(--red-soft)}.button{min-height:var(--control-height);border-radius:var(--radius-sm);cursor:pointer;white-space:nowrap;border:1px solid #0000;justify-content:center;align-items:center;gap:8px;padding:0 15px;font-size:.83rem;font-weight:750;transition:all .16s;display:inline-flex}.button:hover:not(:disabled){box-shadow:var(--shadow-sm)}.button:disabled{color:var(--color-disabled);opacity:.62}.button.primary{color:#fff;background:var(--color-operation-primary)}.button.primary:hover:not(:disabled){background:var(--color-operation-primary-hover)}.button.primary:active:not(:disabled){background:var(--color-operation-primary-active)}.button.secondary{color:var(--color-operation-primary);border-color:color-mix(in srgb, var(--color-operation-primary) 35%, var(--line));background:var(--surface)}.button.ghost{color:var(--ink);border-color:var(--line);background:var(--surface-2)}.button.wide{width:100%}.button.danger{color:#fff;background:var(--color-danger)}.button.danger:hover:not(:disabled){background:color-mix(in srgb, var(--color-danger) 82%, black)}.dialog-backdrop{z-index:100;background:#08181ca6;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.confirmation-dialog{border:1px solid var(--line-strong);width:min(560px,100%);max-height:calc(100dvh - 36px);color:var(--ink);background:var(--surface);box-shadow:var(--shadow-lg);border-radius:16px;padding:22px;overflow:auto}.purge-dialog-icon{width:42px;height:42px;color:var(--color-danger);background:var(--color-danger-soft);border-radius:999px;place-items:center;margin-bottom:12px;display:grid}.confirmation-dialog h2{margin:6px 0 8px}.confirmation-dialog p{color:var(--muted);line-height:1.55}.purge-counts{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0;display:grid}.purge-counts div{border:1px solid var(--line);background:var(--surface-2);border-radius:9px;padding:10px}.purge-counts dt{color:var(--muted);font-size:var(--font-size-helper)}.purge-counts dd{margin:4px 0 0;font-weight:850}.help-menu{position:relative}.help-button{border:1px solid var(--line);min-height:34px;color:var(--muted);background:var(--surface-2);cursor:pointer;font-size:var(--font-size-helper);border-radius:999px;align-items:center;gap:7px;padding:0 11px;font-weight:750;display:inline-flex}.help-button:hover,.help-button:focus-visible{color:var(--ink);border-color:var(--line-strong)}.help-popover{z-index:45;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);width:210px;box-shadow:var(--shadow-md);padding:6px;display:grid;position:absolute;top:calc(100% + 10px);right:0}.help-popover button{color:var(--ink);cursor:pointer;text-align:left;font-size:var(--font-size-helper);background:0 0;border:0;border-radius:7px;padding:10px 11px;font-weight:700}.help-popover button:hover:not(:disabled){background:var(--surface-3)}.tour-layer{z-index:90;pointer-events:none;position:fixed;inset:0}.tour-highlight{border:2px solid var(--brand-2);box-shadow:0 0 0 9999px #0a1b1f85, 0 0 0 5px color-mix(in srgb, var(--brand-2) 18%, transparent);border-radius:12px;transition:all .2s;position:fixed}.tour-card{border:1px solid var(--line-strong);max-height:min(320px,100dvh - 24px);color:var(--ink);background:var(--surface);box-shadow:var(--shadow-lg);pointer-events:auto;border-radius:14px;padding:16px;position:fixed;overflow:auto}.tour-card-head,.tour-actions{justify-content:space-between;align-items:center;gap:10px;display:flex}.tour-card-head>span{color:var(--brand-2);font-size:var(--font-size-helper);font-weight:850}.tour-card h2{margin:8px 0 6px;font-size:1rem}.tour-card p{color:var(--muted);margin:0 0 15px;font-size:.78rem;line-height:1.5}.button-spinner{animation:.8s linear infinite async-button-spin}@keyframes async-button-spin{to{transform:rotate(360deg)}}.text-link,.back-link{color:var(--brand-2);align-items:center;gap:6px;font-size:.81rem;font-weight:760;display:inline-flex}.back-link{color:var(--muted);margin-bottom:18px}.theme-toggle{border:1px solid var(--line);min-height:36px;color:var(--muted);background:var(--surface);cursor:pointer;border-radius:9px;align-items:center;gap:8px;padding:0 11px;font-size:.76rem;font-weight:680;display:inline-flex}.save-status{color:var(--muted);align-items:center;gap:6px;font-size:.73rem;font-weight:650;display:inline-flex}.save-status.dirty{color:#a36e1e}.save-status.saved{color:var(--brand-2)}.save-status.error{color:var(--red)}.calculation-status{border:1px solid var(--line);min-height:32px;color:var(--brand);background:var(--brand-soft);border-radius:999px;align-items:center;gap:8px;margin:0 0 14px;padding:6px 11px;font-size:.78rem;font-weight:700;display:inline-flex}.route-loading{min-height:240px;color:var(--muted);border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);align-content:center;place-items:center;gap:12px;display:grid}.route-loading>span{border:3px solid var(--line);border-top-color:var(--brand);border-radius:50%;width:24px;height:24px;animation:.75s linear infinite calculation-spin}.calculation-status>span{border:2px solid color-mix(in srgb, var(--brand) 25%, transparent);border-top-color:var(--brand);border-radius:50%;width:12px;height:12px;animation:.75s linear infinite calculation-spin}@keyframes calculation-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.calculation-status>span,.route-loading>span{animation:none}}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.page-header{margin-bottom:var(--space-6);justify-content:space-between;align-items:flex-end;gap:24px;display:flex}.page-header>div:first-child{max-width:780px}.page-header p{font-size:var(--font-size-body);margin-bottom:0}.eyebrow{color:var(--brand-2);letter-spacing:.14em;margin-bottom:8px;font-size:.67rem;font-weight:850;display:block}.page-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.panel,.wizard-surface,.customer-card,.metric-card,.concept-card,.decision-card{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow)}.panel{margin-bottom:var(--space-5);padding:var(--space-6);border-radius:var(--radius)}.panel-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:19px;display:flex}.panel-heading h2,.panel-heading h3{margin-bottom:0}.metric-grid{gap:14px;margin-bottom:22px;display:grid}.metric-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.metric-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.metric-card{border-radius:14px;min-width:0;min-height:142px;padding:20px;position:relative;overflow:hidden}.metric-card:after{content:"";background:color-mix(in srgb, var(--line) 45%, transparent);border-radius:50%;width:72px;height:72px;position:absolute;top:-35px;right:-30px}.metric-label{color:var(--muted);align-items:center;gap:7px;margin-bottom:22px;font-size:.74rem;font-weight:700;display:flex}.metric-card>strong{text-overflow:ellipsis;letter-spacing:-.035em;white-space:nowrap;font-size:clamp(1.15rem,2vw,1.55rem);display:block;overflow:hidden}.metric-card>small{text-overflow:ellipsis;white-space:nowrap;margin-top:8px;font-size:.71rem;display:block;overflow:hidden}.metric-card.tone-positive{border-color:color-mix(in srgb, var(--brand-2) 35%, var(--line));background:linear-gradient(135deg, var(--surface), var(--brand-soft))}.metric-card.tone-negative{border-color:color-mix(in srgb, var(--red) 30%, var(--line));background:linear-gradient(135deg, var(--surface), var(--red-soft))}.metric-card.tone-accent{color:#f3faf8;background:linear-gradient(135deg,#103f3b,#166c5d);border-color:#1a665b}.metric-card.tone-accent .metric-label,.metric-card.tone-accent small{color:#b9d8d0}.dashboard-grid{grid-template-columns:minmax(0,2fr) minmax(300px,.8fr);gap:20px;display:grid}.action-panel{background:linear-gradient(155deg, var(--surface) 60%, var(--gold-soft));flex-direction:column;display:flex}.action-panel p{font-size:.86rem}.action-panel ol{color:var(--muted);margin:2px 0 22px;padding-left:20px;font-size:.82rem;line-height:2}.spark-icon{color:#945f10;background:var(--gold-soft);border-radius:11px;place-items:center;width:40px;height:40px;margin-bottom:22px;display:grid}.action-panel .button{margin-top:auto}.chart-container{width:100%;height:290px}.chart-container.large{height:350px}.chart-container.xl{height:460px}.chart-container.sensitivity{height:320px}.recharts-text{fill:var(--muted);font-size:11px}.compact-list{flex-direction:column;display:flex}.compact-row{border-top:1px solid var(--line);grid-template-columns:1fr auto 20px;align-items:center;gap:18px;padding:14px 3px;display:grid}.compact-row:first-child{border-top:0}.compact-row div{flex-direction:column;gap:4px;display:flex}.compact-row div:nth-child(2){text-align:right}.compact-row strong{font-size:.85rem}.compact-row small{font-size:.69rem}.form-grid{gap:18px;display:grid}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.form-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.form-grid.five{grid-template-columns:repeat(5,minmax(0,1fr))}.form-grid.dense{gap:15px}.span-2{grid-column:span 2}.span-3{grid-column:span 3}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.field{gap:var(--space-2);min-width:0;color:var(--ink);font-size:var(--font-size-helper);flex-direction:column;font-weight:690;display:flex}.field>span{display:block}.field input,.field select,.field textarea,.search-box input{width:100%;min-width:0;min-height:var(--control-height);border:1px solid var(--line-strong);border-radius:var(--radius-sm);color:var(--ink);background:var(--surface);outline:none;padding:0 11px;transition:border .15s,box-shadow .15s}.field input:focus,.field select:focus,.field textarea:focus,.search-box input:focus{border-color:var(--color-focus-ring);box-shadow:0 0 0 3px color-mix(in srgb, var(--color-focus-ring) 16%, transparent)}.field input:disabled,.field select:disabled,.field textarea:disabled{color:var(--color-disabled);opacity:.72;background:var(--surface-3)}.field small{min-height:1em;font-size:.67rem;font-weight:450;line-height:1.4}.field-error{color:var(--red)!important}.field input[aria-invalid=true],.field select[aria-invalid=true],.field textarea[aria-invalid=true]{border-color:var(--color-danger)}.input-with-unit{align-items:stretch;display:flex}.input-with-unit input{border-radius:var(--radius-sm) 0 0 var(--radius-sm)}.input-with-unit em{border:1px solid var(--line-strong);border-radius:0 var(--radius-sm) var(--radius-sm) 0;min-width:54px;color:var(--muted);background:var(--surface-3);white-space:nowrap;border-left:0;place-items:center;padding:0 9px;font-size:.66rem;font-style:normal;font-weight:750;display:grid}.form-actions{justify-content:flex-end;gap:9px;margin-top:20px;display:flex}.inline-form{align-items:flex-start;gap:14px;display:flex}.inline-form .field{flex:1}.align-end{align-self:end;margin-bottom:1px}.toolbar{justify-content:space-between;align-items:center;gap:14px;margin:0 0 20px;display:flex}.search-box{border:1px solid var(--line);width:min(390px,100%);color:var(--muted);background:var(--surface);border-radius:10px;align-items:center;gap:8px;padding-left:11px;display:flex}.search-box input{background:0 0;border:0;padding-left:0;box-shadow:none!important}.segmented{border:1px solid var(--line);background:var(--surface-3);border-radius:10px;align-items:center;gap:3px;padding:3px;display:inline-flex}.segmented button{min-height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:center;gap:6px;padding:0 10px;font-size:.71rem;font-weight:730;display:inline-flex}.segmented button.active{color:var(--ink);background:var(--surface);box-shadow:0 2px 7px #14323214}.empty-state{border:1px dashed var(--line-strong);border-radius:var(--radius);text-align:center;background:color-mix(in srgb, var(--surface) 62%, transparent);place-items:center;min-height:310px;padding:40px 20px;display:grid}.empty-state h3{margin:13px 0 7px}.empty-state p{max-width:470px;margin-bottom:18px;font-size:.86rem}.empty-icon{width:52px;height:52px;color:var(--brand-2);background:var(--brand-soft);border-radius:15px;place-items:center;display:grid}.card-grid{gap:16px;display:grid}.card-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-card{border-radius:14px;min-width:0;padding:21px}.customer-card-top{justify-content:space-between;align-items:center;margin-bottom:19px;display:flex}.avatar{color:#0e5149;background:#dcefe8;border-radius:12px;place-items:center;width:42px;height:42px;font-size:.76rem;font-weight:850;display:grid}.customer-card h2{text-overflow:ellipsis;white-space:nowrap;margin-bottom:7px;overflow:hidden}.customer-card p{-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:42px;margin-bottom:14px;font-size:.78rem;display:-webkit-box;overflow:hidden}.tag-row,.card-actions{justify-content:space-between;align-items:center;gap:8px;display:flex}.tag{color:var(--blue);background:var(--blue-soft);border-radius:99px;padding:4px 8px;font-size:.65rem;font-weight:750}.card-actions{border-top:1px solid var(--line);margin-top:17px;padding-top:14px}.status-badge{width:max-content;color:var(--muted);background:var(--surface-3);white-space:nowrap;border-radius:99px;align-items:center;padding:4px 8px;font-size:.63rem;font-weight:800;display:inline-flex}.status-positive{color:var(--color-success);background:var(--color-success-soft)}.status-warning{color:var(--color-warning);background:var(--color-warning-soft)}.status-negative{color:var(--color-danger);background:var(--color-danger-soft)}.status-info{color:var(--color-information);background:var(--color-information-soft)}.positive-text{color:var(--brand-2)!important}.negative-text{color:var(--red)!important}.table-panel{padding:0;overflow:hidden}.table-wrap{overscroll-behavior-inline:contain;scrollbar-gutter:stable;width:100%;overflow-x:auto}.wide-table{max-width:100%}table{border-collapse:collapse;width:100%;font-size:var(--font-size-helper)}th{z-index:2;height:var(--table-row-height);border-bottom:1px solid var(--line-strong);color:var(--muted);background:var(--surface-2);text-align:left;letter-spacing:.045em;text-transform:uppercase;white-space:nowrap;padding:10px 13px;font-size:.64rem;font-weight:820;position:sticky;top:0}td{height:var(--table-row-height);border-bottom:1px solid var(--line);vertical-align:middle;white-space:nowrap;padding:11px 13px}tbody tr:last-child td{border-bottom:0}td strong,td small,td a{display:block}td small{margin-top:3px;font-size:.65rem}.clickable-row{cursor:pointer}.clickable-row:hover,.clickable-row:focus-within,tbody tr:focus-within{background:var(--surface-2)}.row-actions{gap:2px;display:flex}.stepper{grid-template-columns:repeat(5,minmax(0,1fr));margin:0 0 17px;padding:0;list-style:none;display:grid}.stepper li{position:relative}.stepper li:not(:last-child):after{content:"";background:var(--line-strong);height:1px;position:absolute;top:17px;left:calc(50% + 31px);right:calc(31px - 50%)}.stepper li.complete:after{background:var(--brand-2)}.stepper button{z-index:1;width:100%;color:var(--muted);cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:10px;padding:0 5px;display:flex;position:relative}.stepper button>span{border:1px solid var(--line-strong);background:var(--bg);border-radius:50%;flex:0 0 34px;place-items:center;width:34px;height:34px;font-size:.71rem;font-weight:800;display:grid}.stepper button div{flex-direction:column;gap:2px;display:flex}.stepper strong{color:var(--muted);font-size:.72rem}.stepper small{font-size:.61rem}.stepper .active button>span,.stepper .complete button>span{color:#fff;border-color:var(--brand-2);background:var(--brand-2)}.stepper .active strong{color:var(--ink)}.wizard-surface{border-radius:18px;min-height:560px;padding:30px}.section-intro{border-bottom:1px solid var(--line);align-items:flex-start;gap:17px;margin-bottom:27px;padding-bottom:21px;display:flex}.section-number{width:42px;height:42px;color:var(--brand-2);background:var(--brand-soft);border-radius:12px;flex:0 0 42px;place-items:center;font-size:.73rem;font-weight:850;display:grid}.section-intro h2{margin-bottom:5px;font-size:1.4rem}.section-intro p{margin-bottom:0;font-size:.83rem}.subsection{border-top:1px solid var(--line);margin-top:28px;padding-top:25px}.subsection-head{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px;display:flex}.subsection-head p{margin-bottom:0;font-size:.8rem}.formula-callout{border:1px solid var(--line);min-height:79px;color:var(--brand-2);background:var(--surface-2);border-radius:10px;align-items:center;gap:11px;padding:13px;display:flex}.formula-callout div{flex-direction:column;gap:4px;display:flex}.formula-callout strong{color:var(--ink);font-size:.75rem}.formula-callout span{color:var(--muted);font-size:.66rem}.notice{border:1px solid;border-radius:10px;margin:0 0 20px;padding:13px 15px;font-size:.76rem;line-height:1.55}.notice strong{margin-right:5px}.notice.warning{color:#825718;background:var(--gold-soft);border-color:#e9c987}.notice.error{color:var(--red);border-color:color-mix(in srgb, var(--red) 35%, var(--line));background:var(--red-soft)}.wizard-nav{z-index:10;border:1px solid var(--line);background:color-mix(in srgb, var(--surface) 92%, transparent);width:min(540px,100% - 20px);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:13px;justify-content:space-between;align-items:center;margin:17px auto 0;padding:8px;display:flex;position:sticky;bottom:15px}.wizard-nav>span{color:var(--muted);font-size:.7rem;font-weight:750}.payment-editor-top{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:23px;display:flex}.payment-editor-top p{margin-bottom:0;font-size:.82rem}.template-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;display:grid}.template-card{border:1px solid var(--line);min-height:137px;color:var(--ink);background:var(--surface-2);cursor:pointer;text-align:left;border-radius:12px;flex-direction:column;padding:17px;display:flex;position:relative}.template-card:hover,.template-card.selected{border-color:var(--brand-2);background:var(--brand-soft)}.template-card strong{margin:23px 0 7px;font-size:.79rem}.template-card small{font-size:.66rem;line-height:1.45}.template-radio{border:1px solid var(--line-strong);background:var(--surface);border-radius:50%;width:15px;height:15px;position:absolute;top:13px;right:13px}.template-card.selected .template-radio{border:4px solid var(--brand-2)}.advanced-plan{flex-direction:column;gap:18px;display:flex}.payment-rows{flex-direction:column;gap:10px;display:flex}.payment-row{border:1px solid var(--line);background:var(--surface-2);border-radius:11px}.payment-row.disabled{opacity:.65}.payment-row summary{cursor:pointer;align-items:center;gap:10px;min-height:57px;padding:8px 12px;list-style:none;display:flex}.payment-row summary::-webkit-details-marker{display:none}.payment-row summary>div{flex-direction:column;gap:2px;display:flex}.payment-row summary strong{font-size:.77rem}.payment-row summary small{font-size:.63rem}.row-index{width:28px;height:28px;color:var(--brand-2);background:var(--brand-soft);border-radius:8px;place-items:center;font-size:.68rem;font-weight:850;display:grid}.summary-spacer{flex:1}.payment-row>.form-grid{border-top:1px solid var(--line);background:var(--surface);padding:18px}.switch{width:40px;height:23px;display:inline-flex}.switch input{opacity:0;width:1px;height:1px;position:absolute}.switch i{background:var(--line-strong);cursor:pointer;border-radius:99px;width:100%;position:relative}.switch i:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:transform .15s;position:absolute;top:3px;left:3px}.switch input:checked+i{background:var(--brand-2)}.switch input:checked+i:after{transform:translate(17px)}.checkbox-field{justify-content:space-between}.reconciliation-panel{border:1px solid var(--line);background:var(--blue-soft);border-radius:12px;grid-template-columns:1.4fr auto 1fr 1fr;align-items:center;gap:18px;padding:19px;display:grid}.reconciliation-panel h3{margin-bottom:4px;font-size:.92rem}.reconciliation-panel p{margin-bottom:0;font-size:.7rem}.switch-label{align-items:center;gap:8px;font-size:.72rem;font-weight:700;display:flex}.timeline-preview{border:1px solid var(--line);background:var(--surface-2);border-radius:12px;margin-top:25px;padding:19px}.timeline-track{gap:7px;padding:10px 2px 4px;display:flex;overflow-x:auto}.timeline-event{border-top:2px solid var(--brand-2);background:var(--surface);min-width:158px;padding:16px 12px 12px;position:relative}.timeline-event i{border:2px solid var(--surface);background:var(--brand-2);border-radius:50%;width:10px;height:10px;position:absolute;top:-6px;left:12px}.timeline-event span,.timeline-event strong,.timeline-event small{display:block}.timeline-event span{color:var(--muted);font-size:.62rem}.timeline-event strong{color:var(--brand-2);margin:6px 0;font-size:.77rem}.timeline-event small{white-space:normal;font-size:.62rem}.cost-waterfall{align-items:stretch;gap:10px;margin:25px 0;display:flex;overflow-x:auto}.cost-waterfall>div{border:1px solid var(--line);background:var(--surface-2);border-radius:11px;min-width:160px;padding:15px}.cost-waterfall>span{color:var(--muted);align-self:center;font-weight:800}.cost-waterfall div span,.cost-waterfall div strong{display:block}.cost-waterfall div span{color:var(--muted);margin-bottom:7px;font-size:.67rem}.cost-waterfall .total{color:#fff;border-color:var(--brand-2);background:var(--brand-2)}.cost-waterfall .total span{color:#c7e6dd}.draft-save-card,.final-save-bar{border:1px solid var(--line);background:var(--surface-2);border-radius:12px;justify-content:space-between;align-items:center;gap:20px;padding:17px;display:flex}.draft-save-card>div{align-items:center;gap:12px;display:flex}.draft-save-card>div>div,.final-save-bar>div{flex-direction:column;gap:4px;display:flex}.draft-save-card strong,.final-save-bar strong{font-size:.78rem}.draft-save-card span,.final-save-bar span{color:var(--muted);font-size:.68rem}.offer-control{border:1px solid var(--line);background:var(--surface-2);border-radius:13px;grid-template-columns:1.3fr 1fr;gap:20px;margin-bottom:22px;padding:21px;display:grid}.rate-slider{width:100%;accent-color:var(--brand-2);margin:13px 0 10px}.quick-rates{flex-wrap:wrap;gap:6px;display:flex}.quick-rates button{border:1px solid var(--line);color:var(--muted);background:var(--surface);cursor:pointer;border-radius:7px;padding:5px 9px;font-size:.68rem;font-weight:700}.quick-rates button.accent{color:#855a18;background:var(--gold-soft);border-color:#e6c27d}.live-profit{border-left:1px solid var(--line);flex-direction:column;justify-content:center;padding:17px;display:flex}.live-profit span{color:var(--muted);font-size:.7rem}.live-profit strong{letter-spacing:-.04em;margin:7px 0 3px;font-size:1.8rem}.live-profit small{font-size:.69rem}.inline-chart{margin-top:6px}.legend-dot{color:var(--muted);align-items:center;gap:6px;font-size:.67rem;display:inline-flex}.legend-dot i{background:var(--gold);border-radius:50%;width:8px;height:8px}.offer-status-row{color:var(--muted);align-items:center;gap:10px;margin:-13px 0 20px;font-size:.7rem;display:flex}.split-grid{grid-template-columns:minmax(0,2fr) minmax(270px,.7fr);gap:20px;display:grid}.formula-panel dl,.settings-facts{margin:0}.formula-panel dl div,.settings-facts div{border-bottom:1px solid var(--line);justify-content:space-between;gap:10px;padding:11px 0;display:flex}.formula-panel dt,.settings-facts dt{color:var(--muted);font-size:.69rem}.formula-panel dd,.settings-facts dd{text-align:right;margin:0;font-size:.7rem;font-weight:750}.export-actions{flex-wrap:wrap;gap:8px;display:flex}.scenario-create,.scenario-controls{margin-bottom:23px}.bulk-actions{justify-content:flex-end;gap:8px;margin-top:14px;display:flex}.payment-chips{flex-wrap:wrap;gap:8px;margin-top:17px;display:flex}.payment-chip{border:1px solid var(--line);background:var(--surface-2);border-radius:9px;align-items:center;gap:9px;min-width:185px;padding:10px;display:flex}.payment-chip>div{flex-direction:column;flex:1;gap:3px;display:flex}.payment-chip strong{font-size:.73rem}.payment-chip small{font-size:.62rem}.concept-grid{grid-template-columns:1fr 1fr;gap:15px;margin-bottom:20px;display:grid}.concept-card{border-radius:14px;padding:23px;position:relative}.concept-card>svg{color:var(--brand-2);position:absolute;top:20px;right:20px}.concept-card h2{max-width:600px;font-size:1.04rem}.concept-card p{max-width:650px;margin-bottom:0;font-size:.76rem}.concept-card.accrual{background:linear-gradient(135deg, var(--surface), var(--brand-soft))}.concept-card.cash{background:linear-gradient(135deg, var(--surface), var(--blue-soft))}.chart-tabs{gap:5px;margin-bottom:14px;display:flex;overflow-x:auto}.chart-tabs button{border:1px solid var(--line);min-height:38px;color:var(--muted);background:var(--surface);cursor:pointer;white-space:nowrap;border-radius:9px;padding:0 13px;font-size:.72rem;font-weight:720}.chart-tabs button.active{color:#fff;border-color:var(--brand-2);background:var(--brand-2)}.checkbox-list{border:1px solid var(--line-strong);background:var(--surface);border-radius:9px;flex-wrap:wrap;align-items:center;gap:7px;min-height:42px;padding:7px;display:flex}.checkbox-list label{background:var(--surface-3);cursor:pointer;border-radius:7px;align-items:center;gap:6px;padding:5px 8px;font-size:.67rem;display:inline-flex}.checkbox-list input{width:auto;height:auto;accent-color:var(--brand-2)}.decision-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:20px;display:grid}.decision-card{border-radius:14px;padding:22px}.decision-card.balanced{border-left:4px solid var(--brand-2)}.decision-card.risk{border-left:4px solid var(--red)}.decision-card.caution{border-left:4px solid var(--gold)}.decision-head{justify-content:space-between;gap:15px;display:flex}.decision-head h2{max-width:430px;font-size:.95rem}.decision-metrics{border-top:1px solid var(--line);grid-template-columns:1fr 1fr;margin-top:17px;display:grid}.decision-metrics>div{padding:13px 10px 7px 0}.decision-metrics span,.decision-metrics strong{display:block}.decision-metrics span{color:var(--muted);margin-bottom:5px;font-size:.64rem}.decision-metrics strong{font-size:.8rem}.decision-metrics small{font-size:.62rem;display:inline}.report-paper{border:1px solid var(--line);background:var(--surface);max-width:1120px;box-shadow:var(--shadow);margin:0 auto;padding:42px}.report-paper>header{border-bottom:2px solid var(--nav);justify-content:space-between;align-items:flex-start;padding-bottom:26px;display:flex}.report-paper>header>div:last-child{text-align:right;flex-direction:column;gap:4px;display:flex}.report-paper>header span{color:var(--muted);letter-spacing:.13em;font-size:.65rem}.report-brand{letter-spacing:-.06em;font-size:1.45rem;font-weight:900}.report-brand span{margin-left:8px;color:var(--brand-2)!important;letter-spacing:.12em!important;font-size:.76rem!important}.report-meta,.report-summary{background:var(--line);border:1px solid var(--line);grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:24px 0;display:grid}.report-meta>div,.report-summary>div{background:var(--surface-2);flex-direction:column;gap:5px;min-height:72px;padding:13px;display:flex}.report-meta span,.report-summary span{color:var(--muted);font-size:.62rem}.report-meta strong,.report-summary strong{font-size:.75rem}.report-paper h2{margin-top:27px}.report-paper footer{border-top:1px solid var(--line);color:var(--muted);margin-top:28px;padding-top:17px;font-size:.65rem}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;min-width:0;display:grid}.settings-grid>*{min-width:0}.settings-grid .panel{margin:0}.settings-grid .span-2{grid-column:span 2}.market-price-table table,.payment-calendar-table table{min-width:1500px}.market-price-table input{border:1px solid var(--line-strong);width:150px;height:38px;color:var(--ink);background:var(--surface);border-radius:8px;padding:0 9px}.bulk-market-panel,.holiday-range-panel{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-2);margin:18px 0;padding:16px}.bulk-market-panel h3,.holiday-range-panel h3{margin:0}.bulk-market-preview{border:1px solid color-mix(in srgb, var(--brand-2) 30%, var(--line));border-radius:var(--radius-sm);background:var(--surface);grid-template-columns:repeat(4,minmax(0,1fr)) auto;align-items:center;gap:10px;margin-top:14px;padding:12px;display:grid}.bulk-market-preview>div{gap:3px;display:grid}.bulk-market-preview span{color:var(--muted);font-size:var(--font-size-helper)}.bulk-market-preview strong{font-size:1.05rem}.calendar-source-actions{flex-wrap:wrap;gap:7px;display:flex}.calendar-source-summary{flex-wrap:wrap;align-items:baseline;gap:8px 18px;display:flex}.financial-preview{border:1px solid var(--line);background:var(--surface-2);border-radius:12px;justify-content:flex-end;min-height:72px;padding:.75rem}.financial-preview strong{font-size:1.05rem}.reconciliation-status{flex-wrap:wrap;gap:1rem 2rem;display:flex}.reconciliation-status>div{gap:.4rem;display:grid}.calendar-source-summary small{width:100%;color:var(--muted)}.calendar-column-filters{margin-top:18px}.payment-calendar-table td{font-variant-numeric:tabular-nums}.theme-cards{grid-template-columns:repeat(3,1fr);gap:9px;display:grid}.theme-cards button{border:1px solid var(--line);color:var(--muted);background:var(--surface-2);cursor:pointer;text-align:left;border-radius:10px;flex-direction:column;gap:7px;padding:15px;display:flex}.theme-cards button.selected{color:var(--brand-2);border-color:var(--brand-2);background:var(--brand-soft)}.theme-cards strong{color:var(--ink);font-size:.75rem}.theme-cards small{font-size:.62rem}.settings-facts{grid-template-columns:1fr 1fr;margin:14px 0;display:grid}.settings-facts div{padding-right:12px}.holiday-list{flex-wrap:wrap;gap:7px;margin-top:16px;display:flex}.holiday-list button{border:1px solid var(--line);color:var(--muted);background:var(--surface-2);cursor:pointer;border-radius:8px;padding:6px 9px;font-size:.67rem}.holiday-list span{color:var(--red);margin-left:5px}.file-button{position:relative;overflow:hidden}.file-button input{opacity:0;cursor:pointer;position:absolute;inset:0}.migration-preview{border:1px solid var(--line);background:var(--surface-2);border-radius:11px;margin-top:19px;padding:17px}.migration-preview .metric-grid>div{border:1px solid var(--line);background:var(--surface);border-radius:8px;flex-direction:column;gap:5px;padding:11px;display:flex}.migration-preview .metric-grid span{color:var(--muted);font-size:.63rem}.migration-preview .metric-grid strong{font-size:1.25rem}.policy-card{color:#e5f3ef;background:linear-gradient(125deg,#103f3b,#1b655a);border:0;justify-content:space-between;align-items:center;display:flex}.policy-card .eyebrow{color:#8dd5c2}.pilot-notice{border-bottom:1px solid color-mix(in srgb, var(--gold) 35%, var(--line));color:var(--ink);background:color-mix(in srgb, var(--gold) 10%, var(--surface));justify-content:space-between;align-items:flex-start;gap:24px;padding:20px 34px;display:flex}.pilot-notice-copy{max-width:920px}.pilot-notice-release{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin-bottom:5px;font-size:.65rem;font-weight:750;display:block}.pilot-notice h2{margin:0 0 8px;font-size:1rem}.pilot-notice p{color:var(--muted);margin:3px 0 0;font-size:.72rem;line-height:1.5}.pilot-notice>.button{flex:none}.data-safety-note{margin:14px 0 18px}.data-safety-note ul{margin:8px 0 0;padding-left:20px}.data-safety-note li{margin-top:5px}.demo-limits{columns:2;margin:0;padding-left:20px}.demo-limits li{break-inside:avoid;margin-bottom:8px}.policy-card p{color:#bfdad3;margin-bottom:0;font-size:.74rem}.policy-card svg{color:#8dd5c2}.muted{color:var(--muted);font-size:.74rem}.toast-region{z-index:90;flex-direction:column;gap:8px;width:min(390px,100vw - 40px);display:flex;position:fixed;bottom:20px;right:20px}.toast{border:1px solid var(--line);background:var(--surface);border-left-width:3px;border-radius:12px;grid-template-columns:22px 1fr 34px;align-items:start;gap:10px;padding:14px;animation:.22s ease-out toast-in;display:grid;box-shadow:0 14px 45px #0a23242e}.toast-success{border-left-color:var(--brand-2)}.toast-error{border-left-color:var(--red)}.toast-warning{border-left-color:var(--gold)}.toast-info{border-left-color:var(--blue)}.toast-success>svg{color:var(--brand-2)}.toast-error>svg{color:var(--red)}.toast-warning>svg{color:var(--gold)}.toast-info>svg{color:var(--blue)}.toast strong{font-size:.76rem;display:block}.toast p{margin:4px 0 0;font-size:.67rem;line-height:1.45}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}}@media (width<=1180px){.bulk-market-preview{grid-template-columns:repeat(2,minmax(0,1fr))}.bulk-market-preview .button{grid-column:span 2}.metric-grid.four,.form-grid.four,.form-grid.five{grid-template-columns:repeat(2,minmax(0,1fr))}.span-3{grid-column:span 2}.template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.reconciliation-panel{grid-template-columns:1fr 1fr}.card-grid.three,.report-meta,.report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=900px){.sidebar-overlay{display:none!important}}@media (width<=899.98px){.sidebar{width:min(320px,100vw - 32px);box-shadow:var(--shadow-lg);visibility:hidden;pointer-events:none;transform:translate(-100%)}.sidebar.mobile-open{visibility:visible;pointer-events:auto;transform:translate(0)}.product-identity{padding-right:52px}.mobile-close{color:#cde1dd;position:absolute;top:13px;right:12px;display:inline-grid!important}.app-main{margin-left:0}.mobile-menu{display:inline-grid!important}.topbar{padding-inline:21px}.auth-account-email{display:none}.content{padding:28px 21px 60px}.dashboard-grid,.split-grid{grid-template-columns:1fr}.stepper button div{display:none}.stepper button{justify-content:center}.stepper li:not(:last-child):after{left:calc(50% + 20px);right:calc(20px - 50%)}.offer-control{grid-template-columns:1fr}.live-profit{border-left:0;border-top:1px solid var(--line)}.settings-grid{grid-template-columns:1fr}.settings-grid .span-2{grid-column:auto}}@media (width<=680px){:root{--topbar-height:58px;--page-gutter:14px}.topbar{padding-inline:var(--page-gutter)}.topbar-left{gap:10px}.topbar-context{max-width:150px}.topbar-context span,.theme-toggle span,.help-button span{display:none}.help-button{justify-content:center;width:36px;padding:0}.auth-logout{width:36px;min-height:36px;padding:0;font-size:0}.pilot-notice{flex-direction:column;align-items:stretch;gap:14px;padding:17px 14px}.pilot-notice>.button{width:100%}.content{padding:23px var(--page-gutter) 54px}.page-header{flex-direction:column;align-items:flex-start;margin-bottom:22px}.page-actions{width:100%}.page-actions .button{flex:1}h1{font-size:1.8rem}.panel,.wizard-surface{border-radius:13px;padding:18px}.metric-grid.four,.metric-grid.three,.form-grid.two,.form-grid.three,.form-grid.four,.form-grid.five,.concept-grid,.decision-grid,.card-grid.three{grid-template-columns:1fr}.metric-card{min-height:122px}.span-2,.span-3{grid-column:auto}.toolbar,.subsection-head,.payment-editor-top,.draft-save-card,.final-save-bar{flex-direction:column;align-items:stretch}.toolbar .segmented{align-self:flex-start}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reconciliation-panel{grid-template-columns:1fr}.inline-form{flex-direction:column}.inline-form .field,.inline-form .button{width:100%}.payment-row summary .icon-button:first-of-type,.payment-row summary .icon-button:nth-of-type(2){display:none}.cost-waterfall{flex-direction:column;align-items:stretch}.cost-waterfall>span{transform:rotate(90deg)}.cost-waterfall>div{min-width:0}.report-paper{padding:20px}.report-paper>header{gap:14px}.report-meta,.report-summary,.theme-cards,.bulk-market-preview{grid-template-columns:1fr}.bulk-market-preview .button{grid-column:auto}.purge-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.chart-container.xl{height:380px}}@media (width<=560px){.save-status{display:none}.topbar-context{max-width:min(128px,34vw)}}@media print{@page{size:A4;margin:12mm}:root,:root[data-theme=dark]{--surface:#fff;--surface-2:#f5f6f4;--ink:#142e34;--muted:#66777a;--line:#d6dfda;color:#142e34;background:#fff}body{background:#fff}.sidebar,.sidebar-overlay,.skip-link,.topbar,.pilot-notice,.no-print,.toast-region,.wizard-nav{display:none!important}.app-main{margin:0!important}.content{width:100%;max-width:none;padding:0}.page-header{margin-bottom:16px}.panel,.metric-card{break-inside:avoid;box-shadow:none}.report-paper{break-inside:auto;border:0;max-width:none;padding:0;font-size:11px}.report-paper>header,.report-paper h2{break-after:avoid-page}thead{display:table-header-group}tr{break-inside:avoid}table{font-size:10px}th,td{padding:6px}th{position:static}}.validation-summary{border:1px solid var(--color-danger);border-radius:var(--radius-sm);color:var(--ink);background:color-mix(in srgb, var(--color-danger) 8%, var(--surface));margin:0 0 14px;padding:12px 14px}.validation-summary strong{color:var(--red)}.validation-summary ul{gap:4px;margin:8px 0 0;padding:0;list-style:none;display:grid}.validation-summary button{color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;padding:2px 0;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.validation-summary button span{color:#fff;background:var(--color-danger);border-radius:999px;margin-right:6px;padding:1px 7px;font-size:.65rem;text-decoration:none}.stepper li.has-issue strong{color:var(--red)}tr.row-missing td{background:color-mix(in srgb, var(--color-danger) 8%, transparent)}.field.checkbox-field input[aria-invalid=true]{outline:2px solid var(--color-danger);outline-offset:2px}.tabs{border-bottom:1px solid var(--border,#d0d7de);flex-wrap:wrap;gap:4px;margin:16px 0;display:flex}.tabs .tab{appearance:none;font:inherit;color:inherit;opacity:.7;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;padding:10px 14px;font-weight:600}.tabs .tab:hover{opacity:1}.tabs .tab.active{opacity:1;border-bottom-color:var(--primary,#2563eb)}.meter-pending{gap:12px;margin-top:12px;display:grid}.meter-detail{margin-top:8px}.meter-detail summary{cursor:pointer;padding:6px 0;font-weight:600}.checkbox-grid{flex-wrap:wrap;gap:8px 20px;margin-top:6px;display:flex}.checkbox-row{cursor:pointer;align-items:center;gap:6px;display:inline-flex}.offer-workspace{grid-template-columns:minmax(0,1fr) 330px;align-items:start;gap:18px;display:grid}.offer-workspace>.wizard-surface{min-width:0}.live-summary{border:1px solid var(--line);background:var(--surface);max-height:calc(100vh - 92px);box-shadow:var(--shadow-sm);border-radius:16px;gap:6px;padding:12px 14px;display:grid;position:sticky;top:76px;overflow-y:auto}.live-summary-head{color:var(--ink);align-items:center;gap:8px;display:flex}.live-summary-period{color:var(--muted);margin:0;font-size:.78rem}.live-summary-list{gap:0;margin:0;display:grid}.live-summary-list>div{border-bottom:1px solid var(--line);justify-content:space-between;align-items:baseline;gap:10px;padding:5px 0;display:flex}.live-summary-list>div:last-of-type{border-bottom:0}.live-summary-list dt{color:var(--muted);align-items:center;gap:4px;font-size:.72rem;font-weight:650;display:flex}.live-summary-list dd{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;margin:0;font-size:.86rem;font-weight:750}.live-summary-list dd small{color:var(--muted);font-size:.72rem;font-weight:600;display:block}.live-summary-highlight dd{font-size:1.05rem}.live-summary-note{color:var(--muted);margin:0;font-size:.74rem}.live-summary-warning{background:var(--color-warning-soft);color:var(--color-warning);border-radius:10px;gap:6px;padding:10px;font-size:.8rem;display:grid}.link-button{appearance:none;color:var(--color-information);font:inherit;cursor:pointer;text-align:left;background:0 0;border:0;padding:0;font-weight:700;text-decoration:underline}.sticky-action-bar{gap:10px;width:min(760px,100% - 20px)}.sticky-action-bar-right{align-items:center;gap:8px;display:flex}@media (width<=1180px){.offer-workspace{grid-template-columns:minmax(0,1fr)}.live-summary{max-height:none;position:static;overflow:visible}}.info-tip{vertical-align:middle;margin-left:4px;display:inline-flex;position:relative}.info-tip-button{width:18px;height:18px;color:var(--muted);cursor:help;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:inline-grid}.info-tip-button:hover,.info-tip-button:focus-visible{color:var(--color-information);background:var(--color-information-soft)}.info-tip-bubble{z-index:60;background:var(--color-text-primary);color:#fff;text-transform:none;letter-spacing:0;width:260px;box-shadow:var(--shadow-lg);visibility:hidden;opacity:0;pointer-events:none;border-radius:10px;padding:10px 12px;font-size:.74rem;font-weight:500;line-height:1.45;transition:opacity .12s;position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%)}.info-tip:hover .info-tip-bubble,.info-tip-button:focus-visible+.info-tip-bubble{visibility:visible;opacity:1}.global-search-button{border:1px solid var(--line);background:var(--surface);min-height:36px;color:var(--muted);font:inherit;cursor:pointer;border-radius:10px;align-items:center;gap:8px;padding:0 10px;font-size:.8rem;display:inline-flex}.global-search-button:hover{color:var(--ink);border-color:var(--color-divider)}.global-search-button kbd,.palette kbd{border:1px solid var(--line);background:var(--color-surface-subtle);color:var(--muted);border-bottom-width:2px;border-radius:6px;padding:1px 6px;font:600 .7rem ui-monospace,monospace}.palette-overlay{z-index:200;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#102f3859;place-items:start center;padding:12vh 16px 16px;display:grid;position:fixed;inset:0}.palette{border:1px solid var(--line);background:var(--surface);width:min(640px,100%);box-shadow:var(--shadow-lg);border-radius:16px;overflow:hidden}.palette-input{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:12px 14px;display:flex}.palette-input input{min-width:0;color:var(--ink);font:inherit;background:0 0;border:0;outline:0;flex:1;font-size:1rem}.palette-results{max-height:50vh;margin:0;padding:6px;list-style:none;overflow:auto}.palette-results li{cursor:pointer;color:var(--ink);border-radius:10px;align-items:center;gap:10px;padding:9px 10px;display:flex}.palette-results li span{display:grid}.palette-results li small{color:var(--muted);font-size:.74rem}.palette-results li.active{background:var(--color-operation-soft)}.palette-empty{color:var(--muted);cursor:default!important}.palette-foot{border-top:1px solid var(--line);color:var(--muted);padding:8px 14px;font-size:.74rem}.shortcut-list{gap:0;margin:0;padding:8px 14px 14px;display:grid}.shortcut-list>div{border-bottom:1px solid var(--line);justify-content:space-between;gap:16px;padding:9px 0;display:flex}.shortcut-list dd{color:var(--ink);margin:0}@media (width<=720px){.global-search-button span,.global-search-button kbd{display:none}}.status-badge{align-items:center;gap:4px;display:inline-flex}.status-badge-icon{flex:none}.row-menu{display:inline-flex;position:relative}.row-menu-popover{z-index:150;border:1px solid var(--line);background:var(--surface);min-width:220px;box-shadow:var(--shadow-lg);border-radius:12px;padding:6px;display:grid;position:fixed}.row-menu-popover button{color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;padding:8px 10px;font-size:.84rem;display:flex}.row-menu-popover button:hover:not(:disabled){background:var(--color-surface-muted)}.row-menu-popover button:disabled{color:var(--color-disabled);cursor:not-allowed}.row-menu-popover button.danger{color:var(--color-danger)}.row-menu-popover button.danger:hover{background:var(--color-danger-soft)}.row-menu-popover button.separated{border-top:1px solid var(--line);border-radius:0 0 8px 8px;margin-top:4px;padding-top:10px}.toast-action{color:inherit;font:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid;border-radius:8px;align-self:center;padding:6px 12px;font-weight:750}.danger-text{color:var(--color-danger)!important}.muted-text{color:var(--muted);padding:0 4px 12px}.offer-print-toolbar{border:1px solid var(--line);background:var(--surface);border-radius:16px;gap:14px;margin-bottom:18px;padding:16px;display:grid}.offer-print-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.offer-print-options .span-2{grid-column:span 2}.offer-print-toolbar>.button{justify-self:end}.offer-letter{color:#17343c;max-width:900px;box-shadow:var(--shadow-md);background:#fff;border-radius:6px;margin:0 auto;padding:44px 48px;font-size:13px;line-height:1.5}.offer-letter h1,.offer-letter h2{color:#0e5149}.offer-letter-head{border-bottom:3px solid #0e5149;justify-content:space-between;align-items:flex-start;padding-bottom:18px;display:flex}.offer-letter-head img{width:auto;height:50px}.offer-letter-ref{color:#53686c;justify-items:end;gap:2px;font-size:12px;display:grid}.offer-letter-ref strong{color:#17343c;letter-spacing:.04em;font-size:15px}.offer-letter-title{margin:28px 0 22px}.offer-letter-title>span{color:#16816d;letter-spacing:.14em;font-size:11px;font-weight:800}.offer-letter-title h1{margin:6px 0 8px;font-size:26px;line-height:1.2}.offer-letter-title p{color:#53686c;margin:0}.offer-letter-highlights{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin-bottom:26px;display:grid}.offer-letter-highlights>div{background:#f7f8f5;border:1px solid #dce4df;border-radius:12px;gap:3px;padding:14px 16px;display:grid}.offer-letter-highlights>div.accent{background:#e4f1ec;border-color:#0e5149}.offer-letter-highlights span{color:#53686c;font-size:11px;font-weight:700}.offer-letter-highlights strong{font-variant-numeric:tabular-nums;font-size:20px}.offer-letter-highlights small{color:#687c80;font-size:10.5px}.offer-letter-section{margin-bottom:22px}.offer-letter-section h2,.offer-letter-grid h2{letter-spacing:.02em;margin:0 0 8px;font-size:14px}.offer-letter-section p{margin:0}.offer-letter table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:11.5px}.offer-letter th{color:#0e5149;text-align:right;border-bottom:2px solid #0e5149;padding:7px 6px;font-size:10.5px}.offer-letter td{text-align:right;border-bottom:1px solid #e4ebe7;padding:6px}.offer-letter th:first-child,.offer-letter td:first-child{text-align:left}.offer-letter tfoot td{border-top:2px solid #0e5149;border-bottom:0;font-weight:800}.offer-letter-grid{grid-template-columns:1fr 1fr;gap:20px;margin-bottom:22px;display:grid}.offer-letter-grid p{margin:0 0 4px}.offer-letter-terms ul{color:#53686c;margin:0;padding-left:18px}.offer-letter-signatures{grid-template-columns:1fr 1fr;gap:40px;margin:34px 0 26px;display:grid}.offer-letter-signatures>div{border-top:1px solid #c9d5cf;gap:3px;padding-top:10px;display:grid}.offer-letter-signatures span{color:#687c80;font-size:11px}.offer-letter-signatures i{color:#a8b4b1;margin-top:46px;font-size:11px}.offer-letter-foot{color:#687c80;text-align:center;border-top:1px solid #dce4df;padding-top:10px;font-size:10px}@media (width<=760px){.offer-print-options{grid-template-columns:1fr 1fr}.offer-letter{padding:24px 18px}.offer-letter-grid,.offer-letter-signatures{grid-template-columns:1fr}}@media print{.offer-print-toolbar,.back-link,.sticky-action-bar,.live-summary,.palette-overlay{display:none!important}.offer-letter{max-width:none;box-shadow:none;border-radius:0;padding:0}.offer-letter-highlights>div,.offer-letter table,.offer-letter-signatures{break-inside:avoid}.offer-letter-head,.offer-letter-highlights>div{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.version-chips{flex-wrap:wrap;gap:8px;margin-bottom:14px;display:flex}.version-chip{border:1px solid var(--line);color:var(--ink);border-radius:10px;padding:6px 12px;font-weight:750;text-decoration:none;display:grid}.version-chip small{color:var(--muted);font-size:.7rem;font-weight:600}.version-chip.active{border-color:var(--color-operation-primary);background:var(--color-operation-soft)}.version-diff td small{color:var(--muted);font-size:.7rem;display:block}.version-diff tr.changed td{background:var(--color-warning-soft)}.version-diff tr.changed td:first-child{box-shadow:inset 3px 0 0 var(--color-warning-accent)}.align-end{align-self:end;padding-bottom:10px}.import-preview{border:1px solid var(--line);background:var(--color-surface-subtle);border-radius:12px;gap:10px;padding:14px;display:grid}.import-preview-counts{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.import-preview-note{color:var(--muted);margin:0;font-size:.8rem}.import-preview>.button{justify-self:start}.offer-workspace .metric-grid.four{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.nav-group-toggle{width:calc(100% - 18px);font:inherit;letter-spacing:.11em;text-transform:uppercase;color:#dceae799;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;padding:4px 0;font-size:.58rem;font-weight:800;display:flex}.nav-group-toggle:hover{color:var(--color-sidebar-foreground)}.nav-group-toggle:focus-visible{outline:2px solid var(--color-focus-ring);outline-offset:2px;border-radius:4px}.nav-group-chevron{transition:transform .15s}.nav-group-toggle[aria-expanded=false] .nav-group-chevron{transform:rotate(-90deg)}.nav-group-items[hidden]{display:none}.table-wrap.sticky-head{max-height:calc(100vh - var(--topbar-height,64px) - 24px);overflow:auto}.table-wrap.sticky-head th{z-index:3;box-shadow:0 1px 0 var(--line-strong);position:sticky;top:0}:root{--series-1:#1a8f78;--series-2:#eb6834;--series-3:#2a78d6;--color-background:#f4f6f3;--shadow-sm:0 1px 2px #17343c0f;--shadow-md:0 1px 2px #17343c0d, 0 6px 20px #17343c0f;--radius-md:14px;--radius-lg:18px}:root[data-theme=dark]{--series-1:#2fa88e;--series-2:#d95926;--series-3:#3987e5}body{background:var(--color-background)}h1{letter-spacing:-.02em}.page-header{margin-bottom:var(--space-8)}.page-header h1{font-weight:800}.page-header p{color:var(--color-text-secondary)}.eyebrow{letter-spacing:.16em;font-size:.66rem;font-weight:800}.panel,.metric-card,.wizard-surface,.customer-card{border-color:color-mix(in srgb, var(--line) 80%, transparent);border-radius:var(--radius-lg);box-shadow:var(--shadow-md)}.button{letter-spacing:-.005em;border-radius:10px;font-weight:700;transition:background-color .12s,box-shadow .12s,transform .12s}.button.primary:hover:not(:disabled){transform:translateY(-1px)}.button.primary:active:not(:disabled){transform:translateY(0)}table{border-collapse:separate;border-spacing:0}tbody tr{transition:background-color .1s}th{letter-spacing:.06em;text-transform:uppercase;font-size:.62rem}.topbar{-webkit-backdrop-filter:saturate(1.4)blur(10px);backdrop-filter:saturate(1.4)blur(10px);background:color-mix(in srgb, var(--surface) 88%, transparent)}.dashboard{gap:0;display:grid}.kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px;display:grid}.kpi-tile{border:1px solid color-mix(in srgb, var(--line) 80%, transparent);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-md);gap:6px;padding:18px 20px;display:grid}.kpi-head{align-items:center;gap:10px;display:flex}.kpi-icon{background:var(--color-operation-soft);width:34px;height:34px;color:var(--color-operation-primary);border-radius:10px;flex:none;place-items:center;display:grid}.kpi-label{min-width:0;color:var(--color-text-secondary);flex:1;font-size:.8rem;font-weight:650}.kpi-chip{white-space:nowrap;background:var(--color-surface-muted);color:var(--color-text-secondary);border-radius:999px;padding:3px 9px;font-size:.7rem;font-weight:750}.kpi-chip.positive{background:var(--color-success-soft);color:var(--color-success)}.kpi-chip.negative{background:var(--color-danger-soft);color:var(--color-danger)}.kpi-value{letter-spacing:-.025em;font-variant-numeric:tabular-nums;margin-top:4px;font-size:clamp(1.5rem,2vw,2rem);font-weight:800;line-height:1.1}.kpi-detail{color:var(--color-text-muted);font-size:.74rem}.dash-row{gap:16px;margin-bottom:4px;display:grid}.dash-row>*{min-width:0;margin-bottom:16px}.dash-row-main{grid-template-columns:minmax(0,1.9fr) minmax(300px,1fr)}.dash-row-even{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-chart-card{flex-direction:column;display:flex}.dash-chart{height:280px;margin-top:4px}.dash-chart-tools{align-items:center;gap:10px;display:flex}.dash-legend{color:var(--color-text-secondary);gap:18px;margin:0 0 6px;padding:0;font-size:.78rem;list-style:none;display:flex}.dash-legend li{align-items:center;gap:7px;display:inline-flex}.swatch{border-radius:3px;width:10px;height:10px;display:inline-block}.swatch.series-1{background:var(--series-1)}.swatch.series-2{background:var(--series-2)}.dash-tooltip{border:1px solid var(--line);background:var(--surface);min-width:170px;box-shadow:var(--shadow-lg);color:var(--ink);border-radius:10px;gap:6px;padding:10px 12px;font-size:.78rem;display:grid}.dash-tooltip>div{align-items:center;gap:8px;display:flex}.dash-tooltip i{border-radius:3px;flex:none;width:9px;height:9px}.dash-tooltip b{font-variant-numeric:tabular-nums;margin-left:auto}.dash-rank{gap:16px;margin:0;padding:0;list-style:none;display:grid}.dash-rank-head{justify-content:space-between;gap:12px;font-size:.84rem;display:flex}.dash-rank-head span{text-overflow:ellipsis;white-space:nowrap;font-weight:650;overflow:hidden}.dash-rank-head b{font-variant-numeric:tabular-nums;white-space:nowrap}.dash-rank-track{background:var(--color-surface-muted);border-radius:999px;height:8px;margin:6px 0 4px;overflow:hidden}.dash-rank-track .fill{background:var(--series-1);border-radius:999px;height:100%;display:block}.dash-rank-track .fill.loss{background:var(--series-2)}.dash-rank small{color:var(--color-text-muted);font-size:.72rem}.attention-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.attention-item{border:1px solid var(--line);color:var(--ink);background:var(--surface);border-radius:12px;grid-template-columns:auto 1fr auto;align-items:start;gap:12px;padding:12px 14px;text-decoration:none;transition:border-color .12s,background-color .12s;display:grid}.attention-item:hover{border-color:var(--color-divider);background:var(--color-surface-subtle)}.attention-item span{gap:2px;min-width:0;display:grid}.attention-item strong{font-size:.84rem}.attention-item small{color:var(--color-text-muted);font-size:.74rem;line-height:1.4}.attention-item.negative>svg:first-child{color:var(--color-danger)}.attention-item.warning>svg:first-child{color:var(--color-warning-accent)}.attention-item.info>svg:first-child{color:var(--color-information)}.attention-empty{text-align:center;color:var(--color-success);justify-items:center;gap:6px;padding:28px 12px;display:grid}.attention-empty small{color:var(--color-text-muted)}.quick-actions{gap:10px;display:grid}.quick-action{border:1px solid var(--line);color:var(--ink);border-radius:12px;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:12px 14px;text-decoration:none;transition:border-color .12s,background-color .12s;display:grid}.quick-action:hover{border-color:var(--color-operation-primary);background:var(--color-operation-soft)}.quick-action-icon{background:var(--color-operation-soft);width:38px;height:38px;color:var(--color-operation-primary);border-radius:10px;place-items:center;display:grid}.quick-action span:nth-child(2){gap:1px;display:grid}.quick-action small{color:var(--color-text-muted);font-size:.74rem}.quick-action-arrow{color:var(--color-text-muted)}@media (width<=1180px){.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-row-main,.dash-row-even{grid-template-columns:minmax(0,1fr)}}@media (width<=640px){.kpi-grid{grid-template-columns:minmax(0,1fr)}.panel{padding:20px 18px}.dash-chart{height:240px}}.dash-row-main>.dash-chart-card .dash-chart{flex:1;height:auto;min-height:280px}.page-header h1{font-size:clamp(1.6rem,2.1vw,2.05rem);line-height:1.15}.page-header{align-items:flex-end}.metric-card{border-radius:var(--radius-lg);align-content:start;gap:4px;min-height:0;padding:18px 20px;display:grid}.metric-card:after{display:none}.metric-label{color:var(--color-text-secondary);margin-bottom:10px;font-size:.78rem;font-weight:650}.metric-card>strong{letter-spacing:-.03em;font-variant-numeric:tabular-nums;font-size:clamp(1.25rem,1.7vw,1.7rem);font-weight:800}.metric-card>small{color:var(--color-text-muted);margin-top:2px;font-size:.74rem}.metric-card.tone-positive{background:var(--surface);border-color:color-mix(in srgb, var(--line) 80%, transparent);box-shadow:inset 3px 0 0 var(--color-success), var(--shadow-md)}.metric-card.tone-negative{background:var(--surface);border-color:color-mix(in srgb, var(--line) 80%, transparent);box-shadow:inset 3px 0 0 var(--color-danger), var(--shadow-md)}.metric-card.tone-negative>strong{color:var(--color-danger)}.metric-card.tone-positive>strong{color:var(--color-success)}.metric-card.tone-accent{background:linear-gradient(135deg,#0f3f3b,#167262);border-color:#0000;box-shadow:0 6px 20px #0e514938}.recharts-cartesian-grid line{stroke:var(--color-border)}.recharts-cartesian-axis-tick-value,.recharts-text{fill:var(--color-text-muted);font-size:11px}.recharts-legend-item-text{font-size:.78rem;color:var(--color-text-secondary)!important}.recharts-default-tooltip{box-shadow:var(--shadow-lg);border:1px solid var(--line)!important;background:var(--surface)!important;border-radius:10px!important}.recharts-tooltip-label{color:var(--ink);font-weight:700}input:not([type=checkbox]):not([type=radio]):focus-visible,select:focus-visible,textarea:focus-visible{border-color:var(--color-focus-ring);box-shadow:0 0 0 3px color-mix(in srgb, var(--color-focus-ring) 22%, transparent);outline:none}.tabs{gap:2px}.tabs .tab{border-radius:8px 8px 0 0;font-weight:650}.tabs .tab:hover{background:var(--color-surface-muted)}.empty-state,.empty-start-panel{border-radius:var(--radius-lg)}@media (width<=640px){.page-header{flex-direction:column;align-items:stretch;gap:14px}.page-header .page-actions{width:100%}.page-header .page-actions>*{flex:140px;justify-content:center}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kpi-tile{padding:14px}.kpi-value{font-size:1.2rem}.kpi-chip{display:none}.kpi-detail{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.metric-grid.four,.metric-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}.wizard-nav.sticky-action-bar{gap:6px;width:calc(100% - 16px);padding:6px}.wizard-nav.sticky-action-bar>span{white-space:nowrap;font-size:.68rem}.wizard-nav.sticky-action-bar>span small{display:none}.sticky-action-bar-right{gap:6px}.wizard-nav .button{padding-inline:12px}.offer-workspace{padding-bottom:72px}}:root[data-theme=dark] .notice.warning,:root[data-theme=dark] .notice.warning strong{color:var(--color-warning)}:root[data-theme=dark] .notice.info,:root[data-theme=dark] .notice.info strong{color:var(--color-information)}:root[data-theme=dark] .notice.error,:root[data-theme=dark] .notice.error strong{color:var(--color-danger)}.sayax-import{gap:14px;display:grid}.import-warning{color:var(--color-warning);display:block}.import-pager{color:var(--muted);justify-content:center;align-items:center;gap:12px;display:flex}.info-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px 24px;margin:0 0 18px;display:grid}.info-grid>div{gap:2px;display:grid}.info-grid .wide{grid-column:1/-1}.info-grid dt{color:var(--muted);font-size:.74rem;font-weight:650}.info-grid dd{overflow-wrap:anywhere;margin:0;font-weight:600}:root{--font-heading:"Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;--color-background:#f6f4f0;--color-surface:#fff;--color-surface-elevated:#fff;--color-surface-subtle:#faf9f6;--color-surface-muted:#efede8;--color-sidebar-background:#17191c;--color-sidebar-foreground:#e8e6e1;--color-sidebar-muted:#9a9a94;--color-sidebar-hover:#ffffff0f;--color-sidebar-active:#ffffff1a;--color-sidebar-active-bar:#d9a441;--color-operation-primary:#1c2b2a;--color-operation-primary-hover:#101a19;--color-operation-primary-active:#0a1110;--color-operation-soft:#ebeee9;--color-text-primary:#1a1c1e;--color-text-secondary:#4d5256;--color-text-muted:#6b7075;--color-border:#dfdcd5;--color-divider:#cdc9bf;--color-focus-ring:#0f7a66;--color-success:#1a6b4f;--color-success-soft:#e6f0ea;--color-danger:#b3332e;--color-danger-soft:#f9e9e7;--color-information:#2f5b78;--color-information-soft:#e8eff4;--accent:#0f7a66;--shadow-sm:none;--shadow-md:none;--radius-xs:3px;--radius-sm:5px;--radius-md:6px;--radius-lg:8px;color:#1a1c1e;background:#f6f4f0}:root[data-theme=dark]{--color-background:#121416;--color-surface:#1a1d20;--color-surface-elevated:#1f2326;--color-surface-subtle:#1f2326;--color-surface-muted:#262b2f;--color-sidebar-background:#0c0e10;--color-border:#2c3135;--color-divider:#3d4348;--color-sidebar-active-bar:#e0b252;--shadow-sm:none;--shadow-md:none;--accent:#6fc5ae;color:#e6e8e7;background:#121416}h1{font-family:var(--font-heading);letter-spacing:-.01em;font-weight:500}.page-header h1{font-size:clamp(1.7rem,2.2vw,2.15rem);font-weight:500}.page-header{border-bottom:1px solid var(--line);margin-bottom:var(--space-6);align-items:flex-end;padding-bottom:18px}.page-header p{max-width:62ch;margin-bottom:0}.eyebrow{letter-spacing:0;text-transform:none;color:var(--color-text-muted);margin-bottom:4px;font-size:.78rem;font-weight:500;display:block}.panel,.metric-card,.wizard-surface,.customer-card,.kpi-tile{border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:none}.panel{padding:22px 24px}.panel-heading h2,.panel-heading h3{letter-spacing:-.005em;font-size:1rem;font-weight:650}.button{border-radius:var(--radius-md);letter-spacing:0;font-weight:600;transform:none!important}.button.primary{box-shadow:none}.button.secondary{background:var(--surface);border-color:var(--line-strong)}.text-link{color:var(--accent);font-weight:600}th{letter-spacing:0;text-transform:none;color:var(--color-text-muted);border-bottom:1px solid var(--line-strong);font-size:.74rem;font-weight:600}tbody tr:hover td{background:var(--color-surface-subtle)}td{border-bottom:1px solid var(--line)}.status-badge,.kpi-chip{border-radius:var(--radius-xs)}.empty-state{border:1px dashed var(--line-strong);background:0 0;padding:36px 20px}.empty-icon{display:none}.empty-state h3{margin-bottom:4px;font-size:1rem;font-weight:650}.empty-state p{max-width:46ch;margin-inline:auto}.sidebar nav a{border-radius:var(--radius-md)}.nav-group-label,.nav-group-toggle{letter-spacing:.02em;text-transform:none;font-size:.72rem;font-weight:600}.sidebar nav a.active{box-shadow:inset 3px 0 0 var(--color-sidebar-active-bar)}.topbar{-webkit-backdrop-filter:none;backdrop-filter:none;background:var(--surface);border-bottom:1px solid var(--line)}.metric-card{padding:16px 18px}.metric-card.tone-positive,.metric-card.tone-negative{box-shadow:none}.metric-card.tone-accent{background:var(--color-operation-primary);border-color:var(--color-operation-primary);box-shadow:none;color:#fff}.metric-card>strong{font-weight:600}.kpi-grid{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);gap:0;margin-bottom:20px;overflow:hidden}.kpi-grid .kpi-tile{background:0 0;border:0;border-radius:0;padding:18px 22px}.kpi-grid .kpi-tile+.kpi-tile{border-left:1px solid var(--line)}.kpi-icon{display:none}.kpi-head{gap:8px}.kpi-label{color:var(--color-text-muted);font-size:.8rem;font-weight:500}.kpi-value{letter-spacing:-.02em;font-size:clamp(1.6rem,2.1vw,2.1rem);font-weight:600}.attention-item,.quick-action,.dash-tooltip{border-radius:var(--radius-md)}.attention-item{padding:11px 12px}.quick-actions{border:1px solid var(--line);border-radius:var(--radius-md);gap:0;overflow:hidden}.quick-action{border:0;border-radius:0;padding:12px 14px}.quick-action+.quick-action{border-top:1px solid var(--line)}.quick-action:hover{background:var(--color-surface-subtle);border-color:#0000}.quick-action-icon{display:none}.quick-action{grid-template-columns:1fr auto}.dash-rank-track{border-radius:2px;height:6px}.dash-rank-track .fill,.swatch{border-radius:2px}@media (width<=1180px){.kpi-grid .kpi-tile:nth-child(3){border-left:0}.kpi-grid .kpi-tile:nth-child(n+3){border-top:1px solid var(--line)}}@media (width<=640px){.kpi-grid .kpi-tile{padding:14px}.kpi-grid .kpi-tile:nth-child(odd){border-left:0}.kpi-grid .kpi-tile:nth-child(2n){border-left:1px solid var(--line)}.kpi-grid .kpi-tile:nth-child(n+3){border-top:1px solid var(--line)}.page-header{padding-bottom:14px}}.quick-action>span{gap:1px;min-width:0;display:grid}.help-drawer-backdrop{z-index:120;background:#08181c6b;justify-content:flex-end;display:flex;position:fixed;inset:0}.help-drawer{background:var(--surface);width:min(520px,100%);height:100dvh;color:var(--ink);border-left:1px solid var(--line);box-shadow:var(--shadow-lg);flex-direction:column;display:flex}.help-drawer-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;display:flex}.help-drawer-body{flex:1;align-content:start;gap:16px;padding:18px 22px 32px;display:grid;overflow:auto}.help-drawer-body h2{margin:0}.help-drawer-body h3{margin:4px 0 8px;font-size:.95rem}.help-drawer-body p{color:var(--color-text-secondary);margin:0}.help-steps{color:var(--color-text-secondary);gap:8px;margin:0;padding-left:20px;display:grid}.help-faq{border-top:1px solid var(--line);padding:10px 0}.help-faq summary{cursor:pointer;font-weight:650}.help-faq p{margin-top:6px}.help-terms{gap:12px;margin:0;display:grid}.help-terms dt{font-weight:700}.help-terms dd{color:var(--color-text-secondary);margin:2px 0 0;font-size:.86rem;line-height:1.5}.offer-options-embedded{gap:14px;margin-top:24px;display:grid}.option-rate-edit{align-items:center;gap:4px;margin-top:4px;display:flex}.option-rate-edit input{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);width:96px;min-height:30px;color:var(--ink);padding:4px 8px}.compare-offer-list small{color:var(--color-text-muted);margin-left:4px}.compare-table th small,.compare-table td small{color:var(--color-text-muted);font-weight:400;display:block}.compare-table td.compare-best{color:var(--color-success);background:var(--color-success-soft);font-weight:700}.bank-terms-table input[type=number]{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);width:96px;min-height:30px;color:var(--ink);text-align:right;padding:4px 8px}.bank-terms-table td{vertical-align:middle}.calendar-column-picker{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);margin:12px 0;padding:8px 12px}.calendar-column-picker summary{cursor:pointer;font-weight:650}.calendar-column-groups{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px 20px;margin-top:12px;display:grid}.calendar-column-groups fieldset{border:0;gap:4px;margin:0;padding:0;display:grid}.calendar-column-groups legend{margin-bottom:4px;padding:0;font-weight:650}.calendar-column-groups label{align-items:center;gap:6px;font-size:.86rem;display:flex}.calendar-column-picker small{color:var(--color-text-muted);margin-top:6px;display:block}.offer-draft-chip{z-index:40;background:var(--color-surface-elevated);border:1px solid var(--color-border);border-left:4px solid var(--color-warning-accent);border-radius:var(--radius-md);max-width:min(360px,100vw - 32px);box-shadow:var(--shadow-lg);align-items:stretch;display:flex;position:fixed;bottom:76px;right:20px}body:has(.assistant-panel) .offer-draft-chip{bottom:20px;right:min(452px,100vw - 392px)}.offer-draft-chip button{font:inherit;color:var(--color-text-primary);cursor:pointer;background:0 0;border:0}.offer-draft-chip-main{text-align:left;align-items:center;gap:10px;min-width:0;padding:10px 12px;display:flex}.offer-draft-chip-main span{min-width:0;display:grid}.offer-draft-chip-main strong,.offer-draft-chip-main small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.offer-draft-chip-main small{color:var(--color-text-muted);font-size:var(--font-size-helper)}.offer-draft-chip-main em{font-style:normal;font-size:var(--font-size-helper);color:var(--color-operation-primary);white-space:nowrap;font-weight:700}.offer-draft-chip-close{color:var(--color-text-muted);border-left:1px solid var(--color-border);padding:0 10px}.offer-draft-chip button:hover{background:var(--color-surface-muted)}.offer-draft-chip button:focus-visible{outline:2px solid var(--color-focus-ring);outline-offset:-2px}.offer-view-toggle{border:1px solid var(--border,#d0d5dd);border-radius:10px;gap:2px;margin:0 0 12px;padding:3px;display:inline-flex}.offer-view-toggle button{cursor:pointer;font:inherit;color:inherit;background:0 0;border:0;border-radius:8px;padding:6px 14px}.offer-view-toggle button.selected{background:var(--accent,#0f766e);color:#fff}.offer-section-locked{margin-top:16px}.wizard-surface>section+section{margin-top:32px}.slow-operation-backdrop{z-index:100;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#1018288c;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.slow-operation{text-align:center;background:var(--surface,#fff);width:min(92vw,460px);color:var(--text,#101828);border:1px solid var(--border,#d0d5dd);border-radius:16px;flex-direction:column;align-items:center;gap:14px;padding:40px 32px;display:flex;box-shadow:0 16px 48px #10182859}.slow-operation strong{font-size:1.35rem}.slow-operation p{opacity:.8;margin:0}.calendar-preview-dialog{background:var(--color-surface-elevated,#fff);border-radius:var(--radius-md);width:min(1280px,100vw - 32px);max-height:calc(100vh - 48px);box-shadow:var(--shadow-lg);padding:16px;overflow:auto}.calendar-preview-dialog>header{align-items:center;gap:12px;margin-bottom:12px;display:flex}.calendar-preview-dialog>header small{color:var(--color-text-muted);flex:1}.auth-links{flex-wrap:wrap;gap:8px 16px;margin-top:12px;display:flex}.auth-links a{color:var(--color-information);font-weight:700}.tool-grid{border:0;gap:4px;min-width:220px;margin:0;padding:0;font-size:.85rem;display:grid}.pill{background:var(--color-surface-muted,#eef1f5);border-radius:999px;margin-left:6px;padding:1px 8px;font-size:.75rem;font-weight:700;display:inline-block}.table-scroll{overflow-x:auto}.data-table{border-collapse:collapse;width:100%}.data-table th,.data-table td{border-bottom:1px solid var(--color-border,#dde2ea);text-align:left;vertical-align:top;padding:8px 10px}.home-page{background:radial-gradient(circle at top left, color-mix(in srgb, var(--brand) 13%, transparent), transparent 45%), var(--bg);min-height:100dvh}.home-nav,.home-hero,.home-section,.home-access,.home-footer{width:min(1080px, 100% - 2 * var(--space-6));margin-inline:auto}.home-nav{justify-content:space-between;align-items:center;gap:var(--space-4);padding-block:var(--space-5);display:flex}.home-brand{align-items:center;gap:var(--space-2);color:inherit;font-size:1.05rem;font-weight:800;text-decoration:none;display:inline-flex}.home-brand-mark{border-radius:var(--radius-sm);color:#fff;background:var(--brand);place-items:center;width:28px;height:28px;display:inline-grid}.home-nav-actions{align-items:center;gap:var(--space-5);font-weight:600;display:flex}.home-nav-actions a:not(.button){color:inherit;text-decoration:none}.home-nav-actions a:not(.button):hover{text-decoration:underline}.home-hero{padding-block:clamp(40px,9vw,96px) clamp(32px,6vw,64px)}.home-hero>*{max-width:760px}.home-hero h1{margin:var(--space-3) 0 var(--space-5);font-size:clamp(2rem,6vw,3.4rem);line-height:1.1}.home-hero h1 em{color:var(--brand);font-style:normal}.home-hero p{color:var(--color-text-secondary);font-size:1.1rem;line-height:1.65}.home-hero-actions{gap:var(--space-3);margin-block:var(--space-6) var(--space-4);flex-wrap:wrap;display:flex}.home-hero-actions .button{align-items:center;gap:var(--space-2);text-decoration:none;display:inline-flex}.home-hero p.home-hero-note{align-items:center;gap:var(--space-2);color:var(--color-text-muted);font-size:.9rem;display:flex}.home-section{padding-block:clamp(28px,5vw,56px)}.home-section h2,.home-access h2{margin:var(--space-2) 0 var(--space-6);font-size:clamp(1.5rem,4vw,2rem)}.home-grid{gap:var(--space-4);grid-template-columns:repeat(auto-fit,minmax(260px,1fr));display:grid}.home-card{padding:var(--space-6);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-sm)}.home-card h3,.home-step-list h3{margin:var(--space-3) 0 var(--space-2);font-size:1.05rem}.home-card p,.home-step-list p{color:var(--color-text-secondary);margin:0;line-height:1.6}.home-card-icon{border-radius:var(--radius-md);width:40px;height:40px;color:var(--brand);background:color-mix(in srgb, var(--brand) 12%, transparent);place-items:center;display:inline-grid}.home-step-list{gap:var(--space-5);grid-template-columns:repeat(auto-fit,minmax(240px,1fr));margin:0;padding:0;list-style:none;display:grid}.home-step-list li{gap:var(--space-4);align-items:flex-start;display:flex}.home-step-list h3{margin-top:0}.home-step-number{color:#fff;background:var(--brand);border-radius:50%;flex:none;place-items:center;width:34px;height:34px;font-weight:800;display:inline-grid}.home-access{align-items:center;gap:var(--space-5);margin-block:var(--space-6) var(--space-10);padding:var(--space-6);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-md);flex-wrap:wrap;display:flex}.home-access>div{flex:320px}.home-access h2{margin:0 0 var(--space-2);font-size:1.25rem}.home-access p{color:var(--color-text-secondary);margin:0;line-height:1.6}.home-access .button{text-decoration:none}.home-footer{justify-content:space-between;gap:var(--space-3);padding-block:var(--space-6);border-top:1px solid var(--line);color:var(--color-text-muted);flex-wrap:wrap;font-size:.85rem;display:flex}@media (width<=640px){.home-nav-actions a:not(.button){display:none}}.auth-privacy-note{color:var(--color-text-muted);margin:0;font-size:.82rem;line-height:1.5}.auth-form textarea{width:100%;padding:var(--space-3);font:inherit;color:inherit;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);resize:vertical}.admin-profile{margin-top:var(--space-2);color:var(--color-text-secondary);font-size:.85rem;line-height:1.5}.admin-profile p{margin:var(--space-1) 0 0;white-space:pre-wrap}.home-showcase{width:min(1080px, 100% - 2 * var(--space-6));margin:0 auto var(--space-6)}.home-browser{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-lg);margin:0;overflow:hidden}.home-browser-bar{border-bottom:1px solid var(--line);background:var(--color-surface-muted);gap:6px;padding:10px 14px;display:flex}.home-browser-bar i{background:var(--color-divider);border-radius:50%;width:10px;height:10px}.home-browser img,.home-screen-frame img{width:100%;height:auto;display:block}.home-caption{margin:var(--space-3) 0 0;text-align:center;color:var(--color-text-muted);font-size:.85rem}.home-screens{gap:var(--space-6);grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));display:grid}.home-screen{margin:0}.home-screen-frame{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-md);overflow:hidden}.home-screen figcaption{gap:var(--space-1);margin-top:var(--space-3);line-height:1.5;display:grid}.home-screen figcaption span{color:var(--color-text-secondary)}.home-faq{gap:var(--space-3);max-width:760px;display:grid}.home-faq details{padding:var(--space-4) var(--space-5);border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface)}.home-faq summary{cursor:pointer;font-weight:700}.home-faq p{margin:var(--space-3) 0 0;color:var(--color-text-secondary);line-height:1.6}.home-access-actions{gap:var(--space-3);flex-wrap:wrap;display:flex}.admin-muted{color:var(--color-text-muted);font-size:.9rem}.admin-summary{gap:var(--space-3);margin:var(--space-5) 0;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.admin-stat{gap:var(--space-1);padding:var(--space-4);border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);display:grid}.admin-stat strong{font-size:1.7rem;line-height:1}.admin-stat span{color:var(--color-text-secondary);font-size:.85rem}.admin-stat.attention{border-color:var(--color-warning-accent);background:var(--color-warning-soft)}.admin-toolbar{justify-content:space-between;align-items:center;gap:var(--space-3);margin-bottom:var(--space-4);flex-wrap:wrap;display:flex}.admin-filters{gap:var(--space-2);flex-wrap:wrap;display:flex}.admin-search{align-items:center;gap:var(--space-2);min-width:min(100%,320px);padding:0 var(--space-3);border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);display:flex}.admin-search input{min-width:0;padding:var(--space-2) 0;font:inherit;color:inherit;background:0 0;border:0;outline:none;flex:1}.admin-users{gap:var(--space-3);margin:0;padding:0;list-style:none;display:grid}.admin-user{gap:var(--space-4);padding:var(--space-5);border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);border-left-width:4px;display:grid}.admin-user-pending{border-left-color:var(--color-warning-accent)}.admin-user-active{border-left-color:var(--color-success)}.admin-user-suspended{border-left-color:var(--color-danger)}.admin-user-head{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.admin-user-email{color:var(--color-text-secondary);font-size:.92rem}.admin-user-meta{gap:var(--space-2) var(--space-6);margin:var(--space-3) 0;flex-wrap:wrap;display:flex}.admin-user-meta div{display:grid}.admin-user-meta dt{color:var(--color-text-muted);font-size:.75rem}.admin-user-meta dd{margin:0;font-size:.9rem}.admin-user-pages{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.admin-user-actions{align-items:flex-end;gap:var(--space-3);flex-wrap:wrap;display:flex}.admin-preset{gap:var(--space-1);color:var(--color-text-muted);font-size:.8rem;display:grid}.admin-permissions{gap:var(--space-3);padding:var(--space-4);border:1px dashed var(--color-divider);border-radius:var(--radius-sm);background:var(--color-surface-subtle);display:grid}.admin-permission-presets,.admin-permission-actions{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.admin-dirty{color:var(--color-warning);font-size:.85rem}.profile-page{max-width:760px}.profile-card{gap:var(--space-4);margin-bottom:var(--space-5);padding:var(--space-6);border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);display:grid}.profile-card h2{margin:0;font-size:1.15rem}.profile-facts{gap:var(--space-3);grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin:0;display:grid}.profile-facts div{display:grid}.profile-facts dt{color:var(--color-text-muted);font-size:.75rem}.profile-facts dd{overflow-wrap:anywhere;margin:0}.profile-pages{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.legal-page{width:min(760px, 100% - 2 * var(--space-6));margin:var(--space-6) auto var(--space-10);line-height:1.7}.legal-page h1{margin-bottom:var(--space-2)}.legal-page h2{margin:var(--space-6) 0 var(--space-2);font-size:1.15rem}.legal-page li{margin-bottom:var(--space-1)}.admin-user .pill,.profile-card .pill{color:var(--color-text-secondary);background:var(--color-surface-muted);border-radius:999px;align-items:center;padding:2px 9px;font-size:.78rem;font-weight:600;display:inline-flex}.admin-user .pill-pending{color:var(--color-warning);background:var(--color-warning-soft)}.admin-user .pill-active{color:var(--color-success);background:var(--color-success-soft)}.admin-user .pill-suspended{color:var(--color-danger);background:var(--color-danger-soft)}.admin-permissions .tool-grid{gap:var(--space-2) var(--space-5);grid-template-columns:repeat(auto-fit,minmax(240px,1fr));display:grid}
