:root{color:#f4f7fb;font-synthesis:none;text-rendering:optimizelegibility;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--ink:#f4f7fb;--muted:#aab7c9;--faint:#78889f;--background:#0f172a;--surface:#111c2e;--surface-2:#18263b;--surface-3:#223552;--line:#2d3c53;--accent:#5eead4;--accent-strong:#2dd4bf;--aqua:#7dd3fc;--good:#72e0a2;--warning:#f7c873;--danger:#f18b8b;--shadow:0 18px 45px #00000042;background:#0f172a;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root[data-theme=light]{color:#182538;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--ink:#182538;--muted:#52657d;--faint:#7b8ba0;--background:#f4f7fb;--surface:#fff;--surface-2:#eef3f8;--surface-3:#e3ebf4;--line:#d6e0eb;--accent:#0f766e;--accent-strong:#115e59;--aqua:#0369a1;--good:#19734e;--warning:#926000;--danger:#a83232;--shadow:0 18px 45px #1d344e1f;background:#f4f7fb}*{box-sizing:border-box}html,body,#root{max-width:100%;overflow-x:hidden}*{scrollbar-width:none}::-webkit-scrollbar{width:0;height:0}html{scroll-behavior:smooth;min-width:320px}body{background:var(--background);min-width:320px;min-height:100vh;color:var(--ink);margin:0}body,button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}:focus-visible{outline:3px solid var(--accent);outline-offset:5px}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.025em;line-height:1.1}h1{margin-bottom:1rem;font-size:clamp(2.2rem,5vw,4.8rem)}h2{margin-bottom:.65rem;font-size:clamp(1.35rem,2.3vw,2.15rem)}h3{margin-bottom:.45rem;font-size:1.05rem}p{line-height:1.65}small,.small-note{font-size:.82rem}.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}.muted{color:var(--muted)}.eyebrow{color:var(--aqua);letter-spacing:.14em;text-transform:uppercase;margin-bottom:.7rem;font-size:.74rem;font-weight:800}.lede{color:var(--muted);max-width:70ch;font-size:1.08rem}.site-header{z-index:20;border-bottom:1px solid var(--line);background:var(--surface);position:relative}.app-header{z-index:25;width:100%;box-shadow:0 1px 0 var(--line), 0 8px 24px #00000014;position:fixed;top:0;left:0}.header-inner{justify-content:space-between;align-items:center;gap:1rem;width:min(1180px,100% - 2rem);min-height:4.4rem;margin:0 auto;display:flex}.brand{color:var(--ink);letter-spacing:-.04em;align-items:center;gap:.55rem;font-size:1.1rem;font-weight:850;text-decoration:none;display:inline-flex}.brand-mark{border:1px solid var(--accent);width:2rem;height:2rem;color:var(--accent);border-radius:50%;place-items:center;font-size:1.35rem;line-height:1;display:grid}.public-nav,.primary-nav{align-items:center;gap:1rem;display:flex}.public-nav a,.nav-link{color:var(--muted);font-size:.9rem;font-weight:700;text-decoration:none}.public-nav a:hover,.public-nav a.active,.nav-link:hover,.nav-link.active{color:var(--ink)}.public-nav a.active:not(.button){color:var(--accent)}.nav-link{border-bottom:2px solid #0000;padding:.55rem 0}.nav-link.active{color:var(--accent);border-color:var(--accent)}.nav-user{max-width:13rem;color:var(--faint);text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;overflow:hidden}.header-account{min-width:0;color:var(--muted);align-items:center;gap:.45rem;display:inline-flex}.header-account>.material-symbols-rounded{color:var(--aqua);font-size:1.3rem}.header-actions{align-items:center;gap:.45rem;min-width:0;display:inline-flex}.theme-toggle{border:1px solid var(--line);width:2.35rem;height:2.35rem;color:var(--ink);background:var(--surface-2);border-radius:50%;place-items:center;display:grid}.theme-toggle:hover{color:var(--accent);border-color:var(--accent)}.material-symbols-rounded{letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased;font-feature-settings:"liga";font-variation-settings:"FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;direction:ltr;font-family:Material Symbols Rounded;font-size:1.25rem;font-style:normal;font-weight:400;line-height:1;display:inline-block}.nav-island{z-index:15;border:1px solid var(--line);background:var(--surface);width:min(320px,100% - 1.5rem);box-shadow:var(--shadow);border-radius:2.5rem;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:.25rem;margin:.8rem auto 0;padding:.35rem;display:grid;position:sticky;top:5.15rem;overflow:hidden}.nav-island .nav-link{min-height:3.35rem;color:var(--muted);background:0 0;border:0;border-radius:1.25rem;justify-content:center;align-items:center;padding:.5rem .35rem;font-size:.72rem;font-weight:800;text-decoration:none;transition:color .15s,transform .15s;display:flex}.nav-island .nav-link:hover{z-index:1;color:var(--ink);background:var(--surface-2);transform:translateY(-1px)}.nav-island .nav-link.active{z-index:1;color:var(--accent);background:0 0;border-color:#0000}.nav-island .nav-link.active .nav-icon{font-variation-settings:"FILL" 1, "wght" 600, "GRAD" 0, "opsz" 24}.nav-island .nav-icon{font-size:1.35rem}.button{border:1px solid #0000;border-radius:.7rem;justify-content:center;align-items:center;gap:.45rem;min-height:2.7rem;padding:.65rem 1rem;font-size:.9rem;font-weight:800;line-height:1.1;text-decoration:none;transition:transform .15s,background .15s,border-color .15s;display:inline-flex}.button:hover:not(:disabled){transform:translateY(-1px)}.button-primary{color:#062a2a;background:var(--accent)}:root[data-theme=light] .button-primary{color:#fff}.button-primary:hover:not(:disabled){background:var(--accent-strong)}.button-secondary{color:var(--ink);border-color:var(--line);background:var(--surface-2)}.button-secondary:hover:not(:disabled){border-color:var(--aqua)}.button-quiet{min-height:2.2rem;color:var(--muted);background:0 0}.button-danger{color:#fff;background:#a63e43}.button-small{min-height:2.25rem;padding:.45rem .75rem;font-size:.8rem}.button-wide{width:100%}.button-row{flex-wrap:wrap;gap:.65rem;display:flex}.text-link,.text-button{color:var(--aqua);font-weight:800;text-decoration:none}.text-link:hover,.text-button:hover{text-decoration:underline}.text-button{background:0 0;border:0;padding:.2rem}.public-page{background:var(--background);min-height:100vh}.public-page main{width:min(1180px,100% - 2rem);margin:0 auto}.landing-main{overflow:clip}.landing-hero{grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);align-items:center;gap:4rem;min-height:min(720px,100vh - 4.4rem);padding:5rem 0;display:grid}.landing-hero-copy h1{max-width:11ch}.landing-hero-visual{border:1px solid var(--line);min-height:27rem;box-shadow:var(--shadow);background:linear-gradient(160deg,#17344c,#0b5360);border-radius:2.25rem;position:relative;overflow:hidden}.landing-meta{max-width:48ch;margin-top:1.4rem;font-size:.9rem}.landing-section{border-top:1px solid var(--line);padding:6rem 0;scroll-margin-top:5rem}.section-heading{max-width:720px;margin-bottom:2.2rem}.landing-feature-grid,.landing-resource-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;display:grid}.landing-feature{border:1px solid var(--line);background:var(--surface);border-radius:1.25rem;min-height:13rem;padding:1.5rem}.landing-feature>span{color:var(--accent);letter-spacing:.12em;margin-bottom:2.3rem;font-size:.78rem;font-weight:850;display:block}.landing-feature p,.org-person span,.org-person small,.resource-card p{color:var(--muted)}.landing-org-chart{border:1px solid var(--line);background:var(--surface);border-radius:1.5rem;padding:2rem}.org-lead{border:1px solid var(--accent);text-align:center;border-radius:1rem;width:min(100%,19rem);margin:0 auto;padding:1rem}.org-lead span,.org-person span,.org-person small{margin-top:.35rem;font-size:.8rem;display:block}.org-connector{background:var(--accent);width:1px;height:2rem;margin:0 auto}.landing-org-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;display:grid}.org-person{border:1px solid var(--line);background:var(--surface-2);border-radius:1rem;padding:1.2rem}.org-person .avatar{margin-bottom:1rem}.developer-profile{border:1px solid var(--line);background:var(--surface);border-radius:1.25rem;grid-template-columns:auto minmax(12rem,1fr) minmax(0,1.5fr);align-items:center;gap:1.2rem;padding:1.5rem;display:grid}.developer-avatar{color:#062a2a;background:var(--accent);border-radius:50%;place-items:center;width:4rem;height:4rem;font-size:1.2rem;font-weight:900;display:grid}.developer-profile h3,.developer-profile p{margin-bottom:.25rem}.developer-roles{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;display:grid}.developer-roles span{color:var(--muted);background:var(--surface-2);border-radius:.7rem;padding:.7rem .8rem;font-size:.86rem}.resource-card{border:1px solid var(--line);min-height:14rem;color:inherit;background:var(--surface);border-radius:1.15rem;flex-direction:column;padding:1.4rem;text-decoration:none;transition:border-color .15s,transform .15s;display:flex}.resource-card:hover{border-color:var(--accent);transform:translateY(-2px)}.resource-card .data-label{margin-bottom:1.4rem}.resource-card p{flex:1}.resource-arrow{color:var(--accent);font-size:.85rem;font-weight:800}.landing-cta{justify-content:space-between;align-items:center;gap:2rem;padding:4rem 0 6rem;display:flex}.landing-cta h2{max-width:24ch;margin-bottom:0}.hero-section{grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);align-items:center;gap:3rem;min-height:min(680px,100vh - 5rem);padding:5rem 0;display:grid}.hero-copy h1{max-width:11ch}.hero-lede{max-width:58ch;color:var(--muted);font-size:1.15rem}.hero-actions{flex-wrap:wrap;gap:.75rem;margin-top:2rem;display:flex}.hero-visual{border:1px solid var(--line);background:var(--surface-2);min-height:25rem;box-shadow:var(--shadow);border-radius:2rem;position:relative;overflow:hidden}.reef-sun{background:#ffb38a;border-radius:50%;width:5rem;height:5rem;position:absolute;top:12%;right:18%;box-shadow:0 0 4rem #ffb38a66}.reef-water{background:#0a5360;border-radius:50% 50% 0 0;position:absolute;inset:48% -10% -20%;transform:rotate(-5deg)}.reef-coral{background:#e67870;border-radius:50% 50% 0 0;position:absolute;bottom:3%;box-shadow:1.2rem -1.5rem 0 -.3rem #ff9b7f,-1.1rem -2.7rem 0 -.6rem #b95868}.coral-a{width:4rem;height:9rem;left:19%;transform:rotate(-11deg)}.coral-b{background:#ff9a75;width:5rem;height:12rem;left:48%;transform:rotate(8deg)}.coral-c{background:#c95e70;width:3.4rem;height:7rem;right:12%;transform:rotate(17deg)}.visual-label{color:#eaf7f5bf;letter-spacing:.12em;text-transform:uppercase;font-size:.7rem;position:absolute;bottom:1rem;right:1.2rem}.content-section{border-top:1px solid var(--line);padding:5rem 0}.section-intro{max-width:720px;margin-bottom:2rem}.section-intro p:not(.eyebrow){color:var(--muted)}.feature-grid,.org-grid,.data-grid{grid-template-columns:repeat(3,1fr);gap:1rem;display:grid}.feature-card,.org-card,.data-card{border:1px solid var(--line);background:var(--surface);border-radius:1rem;min-height:12rem;padding:1.4rem}.feature-card p,.org-card p,.data-card p{color:var(--muted)}.feature-number,.data-label{color:var(--accent);letter-spacing:.1em;text-transform:uppercase;margin-bottom:1.4rem;font-size:.75rem;font-weight:850;display:block}.org-card{min-height:15rem}.org-card h3{margin-top:1.2rem}.org-card span{color:var(--faint);font-size:.85rem}.avatar{color:#092f38;background:var(--aqua);border-radius:50%;place-items:center;width:3rem;height:3rem;font-weight:900;display:grid}.data-card strong{margin:.2rem 0 .5rem;font-size:2rem;display:block}.data-card p{margin-bottom:0;font-size:.9rem}.reference-section{padding-bottom:6rem}.two-chart-grid{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.chart-card{border:1px solid var(--line);background:var(--surface);border-radius:1rem;margin:0;padding:1rem}.chart-card figcaption{flex-direction:column;gap:.25rem;margin-bottom:.8rem;display:flex}.chart-card figcaption span{color:var(--muted);font-size:.8rem}.chart-scroll{overflow-x:auto}.chart-card,.chart-scroll,.table-alternative{min-width:0}.table-alternative table{max-width:100%;display:block;overflow-x:auto}.line-chart{width:100%;min-width:28rem;height:auto;display:block}.chart-axis{stroke:var(--line);stroke-width:1px}.chart-line{fill:none;stroke:var(--accent);stroke-width:4px;stroke-linecap:round;stroke-linejoin:round}.chart-dot{fill:var(--aqua);stroke:var(--surface);stroke-width:3px}.chart-label{fill:var(--muted);font-size:12px}.table-alternative{max-width:100%;color:var(--muted);margin-top:.8rem;font-size:.82rem;overflow:hidden}.table-alternative summary{cursor:pointer;font-weight:800}.table-wrap{border:1px solid var(--line);border-radius:.8rem;max-width:100%;margin-top:1rem;overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:42rem;font-size:.86rem}caption{color:var(--muted);text-align:left;padding:.9rem;font-weight:700}th,td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:.75rem .9rem}thead th{color:var(--aqua);letter-spacing:.07em;text-transform:uppercase;font-size:.72rem}tbody tr:last-child th,tbody tr:last-child td{border-bottom:0}tbody th{color:var(--ink);font-weight:750}.annual-output-table,.computation-breakdown-table{overflow-x:hidden}.annual-output-table table,.computation-breakdown-table table{table-layout:fixed;min-width:0}.annual-output-table tbody,.computation-breakdown-table tbody{gap:.65rem;padding:.65rem;display:grid}.annual-output-table tbody tr,.computation-breakdown-table tbody tr{border:1px solid var(--line);background:var(--surface);border-radius:.65rem;grid-template-columns:repeat(4,minmax(0,1fr));gap:.45rem;padding:.65rem;display:grid}.annual-output-table tbody tr:last-child th,.annual-output-table tbody tr:last-child td,.computation-breakdown-table tbody tr:last-child th,.computation-breakdown-table tbody tr:last-child td{border-bottom:0}.annual-output-table thead,.computation-breakdown-table thead{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.annual-output-table tbody th,.annual-output-table tbody td,.computation-breakdown-table tbody th,.computation-breakdown-table tbody td{overflow-wrap:anywhere;border:0;gap:.2rem;min-width:0;padding:.35rem .45rem;display:grid}.annual-output-table tbody th:before,.annual-output-table tbody td:before,.computation-breakdown-table tbody th:before,.computation-breakdown-table tbody td:before{content:attr(data-label);color:var(--muted);letter-spacing:.05em;text-transform:uppercase;font-size:.67rem;font-weight:800}.annual-output-table tbody th:before,.computation-breakdown-table tbody th:before{content:"Year"}.cta-section{justify-content:space-between;align-items:center;gap:2rem;padding:3rem 0 5rem;display:flex}.cta-section h2{max-width:25ch;margin-bottom:0}.public-footer,.app-footer{border-top:1px solid var(--line);width:min(1180px,100% - 2rem);color:var(--faint);justify-content:space-between;gap:1rem;margin:0 auto;padding:1.3rem 0;font-size:.78rem;display:flex}.public-footer a,.app-footer a{color:var(--muted)}.public-footer{grid-template-columns:1.4fr 1fr 1.35fr .7fr;gap:2rem 2.5rem;padding:3rem 0 1.4rem;display:grid}.footer-brand,.footer-column{flex-direction:column;gap:.45rem;display:flex}.footer-brand p{max-width:25ch;color:var(--muted);margin:.7rem 0 0;line-height:1.5}.footer-column strong{color:var(--ink);letter-spacing:.05em;text-transform:uppercase;margin-bottom:.35rem;font-size:.78rem}.footer-column span,.footer-column a{line-height:1.45;text-decoration:none}.footer-links a:hover{color:var(--accent)}.footer-bottom{border-top:1px solid var(--line);color:var(--faint);grid-column:1/-1;justify-content:space-between;gap:1rem;padding-top:1.2rem;font-size:.74rem;display:flex}.app-frame{background:var(--background);min-height:100vh;padding-top:4.4rem}.app-main{width:min(1180px,100% - 2rem);margin:0 auto;padding:2.5rem 0 4rem}.app-main,.page-container,.panel,details{min-width:0}.verification-banner{color:#432d0c;text-align:center;background:#ffd18a;padding:.7rem 1rem;font-size:.85rem}.system-announcement{border-bottom:1px solid var(--line);color:var(--ink);background:var(--surface-3);text-align:center;padding:.7rem 1rem;font-size:.85rem}.researcher-parameter{border-bottom:1px solid var(--line);grid-template-columns:4rem 1fr auto;gap:.5rem;padding:.4rem 0;font-size:.82rem;display:grid}.researcher-parameter small{color:var(--muted)}.verification-banner a{font-weight:800}.page-container{gap:1.25rem;display:grid}.narrow-page{max-width:850px}.page-header{justify-content:space-between;align-items:end;gap:1.5rem;margin-bottom:.6rem;display:flex}.page-header h1{margin-bottom:.55rem;font-size:clamp(2.1rem,4vw,3.7rem)}.page-header .lede{max-width:68ch}.panel{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:1rem;padding:1.3rem}.panel-heading{justify-content:space-between;align-items:start;gap:1rem;margin-bottom:1rem;display:flex}.panel-heading h2{margin-bottom:0}.panel-icon{color:var(--accent);font-size:2.2rem;line-height:1}.dashboard-grid,.content-grid,.prediction-layout,.ai-layout{grid-template-columns:1.1fr .9fr;gap:1.25rem;display:grid}.dashboard-quadrant{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:1.25rem;display:grid}.dashboard-quadrant-card{min-width:0;min-height:23rem}.dashboard-overview,.dashboard-latest,.dashboard-scope,.dashboard-history{flex-direction:column;display:flex}.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin-top:auto;display:grid}.dashboard-metrics .stat-card{min-height:7rem;padding:.9rem}.dashboard-metrics .metric-large{font-size:1.45rem}.dashboard-overview-metrics{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:0}.dashboard-history .record-list{max-height:18rem;overflow:auto}.dashboard-history .prediction-card{padding:.8rem}.prediction-layout{grid-template-columns:.9fr 1.1fr}.ai-layout{grid-template-columns:.85fr 1.15fr}.ai-builder{min-height:0}.ai-source-grid{grid-template-columns:minmax(12rem,.75fr) minmax(0,1.25fr);gap:1.25rem;display:grid}.upload-dropzone{border:1px dashed var(--aqua);min-height:16rem;color:var(--ink);background:var(--surface-2);text-align:center;cursor:pointer;border-radius:.9rem;align-content:center;justify-items:center;gap:.6rem;padding:1.25rem;transition:border-color .15s,background .15s;display:grid;position:relative}.upload-dropzone:hover,.upload-dropzone.is-dragging{border-color:var(--accent);background:var(--surface-3)}.upload-dropzone input{opacity:0;width:1px;height:1px;position:absolute;overflow:hidden}.upload-dropzone-icon{color:var(--accent);font-size:2.5rem}.upload-dropzone .button{pointer-events:none}.prediction-history-picker{min-width:0}.ai-step-heading{align-items:flex-start;gap:.75rem;margin-bottom:.85rem;display:flex}.ai-step-heading h2{margin-bottom:.25rem}.ai-step-heading p{margin-bottom:0}.ai-step-heading .button{flex:none;margin-left:auto}.ai-step-number{width:1.8rem;height:1.8rem;color:var(--background);background:var(--accent);border-radius:50%;flex:none;place-items:center;font-weight:900;display:grid}.prediction-history-picker .reference-list{max-height:16rem;overflow:auto}.prediction-table-heading{justify-content:space-between;align-items:end;gap:1rem;margin:1.25rem 0 .75rem;display:flex}.prediction-table-heading h3{margin-bottom:0}.result-summary{grid-template-columns:minmax(0,1.1fr) minmax(12rem,.9fr);align-items:stretch;gap:1rem;margin:.75rem 0 1rem;display:grid}.result-final-cover,.result-meta{border:1px solid var(--line);background:var(--surface-2);border-radius:.75rem;padding:.9rem}.result-final-cover{align-content:center;gap:.25rem;display:grid}.result-final-cover .prediction-number{margin:.15rem 0}.result-meta{gap:.5rem;margin:0;display:grid}.result-meta div{border-bottom:1px solid var(--line);justify-content:space-between;gap:.75rem;padding-bottom:.4rem;display:flex}.result-meta div:last-child{border-bottom:0;padding-bottom:0}.result-meta dt{color:var(--muted)}.result-meta dd{text-align:right;margin:0;font-weight:750}.result-panel>.table-wrap{margin-top:0}.location-panel,.weather-panel{min-height:22rem}.field-label,.stack-form label,.settings-grid label,.form-panel label:not(.checkbox-field){color:var(--muted);gap:.45rem;font-size:.82rem;font-weight:750;display:grid}.form-panel h2{font-size:clamp(1.55rem,3vw,2.15rem)}.checkbox-field{color:var(--muted);align-items:center;gap:.55rem;margin:.8rem 0 .35rem;font-size:.82rem;line-height:1.35;display:flex}.checkbox-field input{flex:none;width:auto;margin:0}input,select,textarea{border:1px solid var(--line);width:100%;color:var(--ink);background:var(--surface-2);border-radius:.65rem;padding:.72rem .8rem}input:focus,select:focus,textarea:focus{border-color:var(--good);box-shadow:none;outline:none}input:focus-visible,select:focus-visible,textarea:focus-visible{border-color:var(--good);box-shadow:0 0 0 1px var(--good);outline:none}.password-input-wrap{display:block;position:relative}.password-input-wrap input{padding-right:2.8rem}.password-visibility-toggle{width:2rem;height:2rem;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:.45rem;place-items:center;padding:0;display:inline-grid;position:absolute;top:50%;right:.45rem;transform:translateY(-50%)}.password-visibility-toggle:hover{color:var(--accent);background:var(--surface-3)}.password-visibility-toggle:focus-visible{outline:2px solid var(--good);outline-offset:1px}.password-visibility-toggle .material-symbols-rounded{font-size:1.2rem}select{cursor:pointer}input[type=number]{appearance:textfield}input[type=number]::-webkit-inner-spin-button{appearance:none;margin:0}input[type=number]::-webkit-outer-spin-button{appearance:none;margin:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:var(--faint)}.stack-form{gap:1rem;display:grid}.form-hint{color:var(--faint);margin:-.05rem 0 .45rem;font-size:.76rem;line-height:1.45}.form-hint-spaced{margin-top:.05rem;margin-bottom:.75rem}.field-error{color:var(--danger);margin:-.35rem 0 0;font-size:.78rem;font-weight:700}.assumption-group{border:1px solid var(--line);border-radius:.8rem;gap:.7rem;margin:0;padding:.9rem 1rem 1.1rem;display:grid}.assumption-group legend{color:var(--ink);padding:0 .4rem;font-size:.9rem;font-weight:800}.baseline-options{border:1px solid var(--line);border-radius:.8rem;gap:.55rem;margin:0;padding:.9rem 1rem 1rem;display:grid}.baseline-options legend{color:var(--ink);padding:0 .4rem;font-size:.9rem;font-weight:800}.radio-field{color:var(--muted);cursor:pointer;align-items:flex-start;gap:.55rem;font-size:.82rem;line-height:1.4;display:flex}.radio-field input{flex:none;width:auto;margin-top:.2rem}.radio-field>span{gap:.15rem;display:grid}.radio-label{color:var(--ink);font-weight:700}.conflict-tag{border:1px solid var(--warning);color:var(--warning);letter-spacing:.04em;text-transform:uppercase;border-radius:.4rem;justify-self:start;padding:.05rem .4rem;font-size:.68rem;font-weight:800}.input-locked{background:var(--surface-2);color:var(--muted);cursor:not-allowed}.text-button{color:var(--aqua);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:800;text-decoration:underline}.text-button:hover{color:var(--accent-strong)}.inline-status{color:var(--aqua);margin:.75rem 0;font-size:.82rem}.station-status{color:var(--muted);flex-wrap:wrap;align-items:center;gap:.6rem;margin:1rem 0;font-size:.8rem;display:flex}.metric-large{background:var(--surface-2);border-radius:.8rem;align-content:center;gap:.35rem;min-height:9rem;padding:1rem;display:grid}.metric-large strong{font-size:1.6rem}.metric-label{color:var(--faint);letter-spacing:.08em;text-transform:uppercase;font-size:.72rem;font-weight:800}.metric-row{grid-template-columns:1fr 1fr;gap:1rem;margin-top:1rem;display:grid}.metric-row>div{gap:.3rem;display:grid}.metric-row strong{font-size:1.6rem}.stats-grid{grid-template-columns:repeat(3,1fr);gap:1rem;display:grid}.stat-card{border:1px solid var(--line);background:var(--surface-2);border-radius:1rem;gap:.45rem;padding:1.2rem;display:grid}.stat-card>span:first-child{color:var(--muted);font-size:.8rem;font-weight:750}.stat-card strong{font-size:2rem}.stat-card a{color:var(--aqua);font-size:.82rem;font-weight:800;text-decoration:none}.record-list,.record-grid{align-content:start;gap:.8rem;display:grid}.record-grid{grid-template-columns:repeat(3,1fr)}.prediction-card{border:1px solid var(--line);background:var(--surface-2);border-radius:.8rem;padding:1rem}.prediction-card .button-row{align-items:center;gap:.6rem;margin-top:.7rem}.prediction-card .condition-badge{text-align:center;justify-content:center;min-width:4.5rem}.card-kicker,.card-meta{color:var(--faint);justify-content:space-between;align-items:center;gap:.5rem;font-size:.72rem;display:flex}.prediction-number,.result-number{color:var(--accent);letter-spacing:-.06em;margin:.7rem 0 .15rem;font-size:2.5rem;font-weight:900}.prediction-card p{margin-bottom:.75rem}.card-meta{border-top:1px solid var(--line);padding-top:.65rem}.reference-list{gap:.7rem;display:grid}.ai-prediction-list{gap:.65rem;max-height:18rem;padding-right:.2rem;display:grid;overflow-y:auto}.ai-prediction-card{border:1px solid var(--line);background:var(--surface-2);cursor:pointer;border-radius:.8rem;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:.7rem;padding:.75rem;display:grid}.ai-prediction-card:hover{border-color:var(--accent);background:var(--surface-3)}.ai-prediction-card:has(input:checked){border-color:var(--accent);background:var(--surface-3)}.ai-prediction-card input{accent-color:var(--accent);margin-top:.18rem}.ai-prediction-card-body{gap:.25rem;min-width:0;display:grid}.ai-prediction-value{color:var(--ink);font-size:1.05rem}.ai-library-card{border:1px solid var(--line);background:var(--surface-2);border-radius:.8rem;gap:.55rem;padding:.85rem;display:grid}.ai-library-card-meta{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.ai-library-card-body{gap:.35rem;min-width:0;display:grid}.ai-library-card-body h3{overflow-wrap:anywhere;margin:0}.ai-library-card-body p{margin:0}.reference-row{background:var(--surface-2);border-radius:.7rem;grid-template-columns:1fr auto auto;align-items:center;gap:.8rem;padding:.8rem;display:grid}.reference-row div{gap:.2rem;display:grid}.reference-row span{color:var(--muted);font-size:.8rem}.reference-row b{font-size:1.4rem}.condition-badge{border:1px solid var(--line);width:fit-content;color:var(--muted);letter-spacing:.03em;white-space:nowrap;border-radius:999px;align-items:center;padding:.28rem .55rem;font-size:.68rem;font-weight:850;display:inline-flex}.condition-good{color:var(--good);border-color:var(--good);background:var(--surface-2)}.condition-warning{color:var(--warning);border-color:var(--warning);background:var(--surface-2)}.condition-danger{color:var(--danger);border-color:var(--danger);background:var(--surface-2)}.condition-unavailable{color:var(--faint)}.notice{border:1px solid var(--line);border-left:4px solid var(--aqua);background:var(--surface-2);border-radius:.8rem;justify-content:space-between;gap:1rem;padding:1rem;display:flex}.notice strong{font-size:.88rem}.notice-body{color:var(--muted);margin-top:.3rem;font-size:.84rem}.notice-body p{margin:.25rem 0 0}.notice-action{flex-wrap:wrap;flex:none;align-items:center;gap:.65rem;display:flex}.notice-success{border-left-color:var(--good)}.notice-warning{border-left-color:var(--warning)}.notice-danger{border-left-color:var(--danger)}.notice-unavailable{border-left-color:var(--faint)}.notice+.notice,.prediction-card+.notice{margin-top:1rem}#prediction-detail>.notice+.notice,.dashboard-latest>.notice{margin-top:1.25rem}.state-panel{border:1px dashed var(--line);color:var(--muted);text-align:center;border-radius:1rem;justify-items:center;gap:.8rem;padding:2.3rem 1rem;display:grid}.state-panel h3,.state-panel p{margin-bottom:0}.state-icon{color:var(--accent);font-size:2.2rem}.spinner{border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;width:1.2rem;height:1.2rem;animation:.8s linear infinite spin}.loading-screen{min-height:100vh;color:var(--ink);place-items:center;display:grid}@keyframes spin{to{transform:rotate(360deg)}}.form-panel,.result-panel{border:1px solid var(--line);background:var(--surface);min-height:34rem;box-shadow:var(--shadow);border-radius:1rem;padding:1.3rem}.form-panel fieldset{border:0;min-width:0;margin:0;padding:0}.form-panel label:not(.checkbox-field){margin-bottom:.65rem}.form-panel input,.form-panel select,.form-panel textarea{min-height:3rem}.form-panel input:focus-visible,.form-panel select:focus-visible,.form-panel textarea:focus-visible{z-index:1;box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);position:relative}.calculation-rule{border:1px dashed var(--line);color:var(--muted);border-radius:.7rem;gap:.25rem;padding:.8rem;font-size:.78rem;display:grid}.calculation-rule strong{color:var(--ink)}.result-panel{flex-direction:column;display:flex}.result-status{color:var(--aqua);font-size:.8rem;font-weight:800}.result-empty{min-height:18rem;color:var(--muted);text-align:center;flex:1;align-content:center;justify-items:center;gap:.7rem;display:grid}.result-empty h3,.result-empty p{margin-bottom:0}.detail-list{gap:.6rem;margin:1.2rem 0;display:grid}.detail-list div{border-bottom:1px solid var(--line);justify-content:space-between;gap:1rem;padding-bottom:.55rem;display:flex}.detail-list dt{color:var(--muted);font-size:.8rem}.detail-list dd{text-align:right;margin:0;font-weight:800}.math-breakdown{gap:.8rem;margin:1rem 0 1.25rem;display:grid}.equation-card{border:1px solid var(--line);background:var(--surface-2);border-radius:.8rem;gap:.45rem;padding:.9rem;display:grid}.equation-card code,.calculation-detail code{color:var(--ink);white-space:pre-wrap;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.78rem;line-height:1.55}.equation-values{color:var(--muted);grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem .8rem;font-size:.8rem;display:grid}.calculation-list{gap:.5rem;display:grid}.calculation-item{border:1px solid var(--line);background:var(--surface);border-radius:.7rem}.calculation-item summary{cursor:pointer;justify-content:space-between;align-items:center;gap:.75rem;padding:.7rem .85rem;list-style-position:inside;display:flex}.calculation-detail{border-top:1px solid var(--line);background:var(--surface-2);gap:.35rem;padding:.8rem .85rem;display:grid}.report-panel{margin-top:1.25rem}.report-panel-collapsed .report-content,.report-panel-collapsed .reference-list{display:none}.report-content{background:var(--surface-2);border-radius:.7rem;max-height:34rem;padding:1rem;overflow:auto}.report-panel>.notice{margin-bottom:1rem}.report-panel>.report-content{margin-top:1rem}.report-content pre{color:var(--ink);font:inherit;white-space:pre-wrap;margin:0;line-height:1.6}.upload-box{border:1px dashed var(--line);border-radius:.8rem;gap:.6rem;margin-top:1.2rem;padding:1rem;display:grid}.upload-box h3,.upload-box p{margin-bottom:0}.upload-box p,.document-list p{color:var(--muted);font-size:.8rem}.upload-box form{gap:.65rem;display:grid}.document-list{margin-top:1.2rem}.document-list h3{margin-bottom:.5rem}.document-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:.7rem;padding:.6rem 0;font-size:.8rem;display:flex}.chat-panel{flex-direction:column;min-height:36rem;display:flex}.message-list{flex:1;gap:.8rem;max-height:25rem;margin-bottom:1rem;display:grid;overflow:auto}.chat-message{background:var(--surface-2);border-radius:.8rem;max-width:88%;padding:.75rem}.chat-message.user{background:var(--surface-3);justify-self:end}.chat-message span{color:var(--faint);text-transform:uppercase;font-size:.7rem;font-weight:850}.chat-message p{margin:.35rem 0 0;font-size:.86rem}.chat-form{gap:.6rem;display:grid}.chat-form .button{justify-self:end}.success-text{color:var(--good);margin-left:.7rem;font-size:.8rem}.settings-section{gap:1rem;display:grid}.settings-logout{justify-content:flex-end;padding:.5rem 0 1rem;display:flex}.researcher-disclosure>summary{cursor:pointer;color:var(--ink);font-size:1.1rem;font-weight:800}.researcher-disclosure[open]>summary{margin-bottom:1rem}.settings-grid{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.guide-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.guide-steps{color:var(--muted);gap:.65rem;padding-left:1.25rem;display:grid}.theme-setting{gap:.45rem;display:grid}.theme-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;display:grid}.theme-choice{border:1px solid var(--line);background:var(--surface-2);cursor:pointer;border-radius:.75rem;align-items:center;gap:.65rem;min-height:4.2rem;padding:.7rem;transition:border-color .15s,background .15s;position:relative;color:var(--muted)!important;display:flex!important}.theme-choice:hover,.theme-choice.selected{border-color:var(--accent);background:var(--surface-3)}.theme-choice input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.theme-choice>.material-symbols-rounded{color:var(--accent);font-size:1.45rem}.theme-choice>span:last-child{gap:.15rem;display:grid}.theme-choice strong{color:var(--ink);font-size:.84rem}.theme-choice small{color:var(--faint);font-size:.72rem}.system-links{gap:.6rem;display:grid}.system-link{border:1px solid var(--line);color:var(--ink);background:var(--surface-2);border-radius:.75rem;grid-template-columns:auto 1fr auto;align-items:center;gap:.75rem;padding:.85rem;text-decoration:none;transition:border-color .15s,background .15s;display:grid}.system-link:hover{border-color:var(--accent);background:var(--surface-3)}.system-link>.material-symbols-rounded{color:var(--accent)}.system-link span:nth-child(2){gap:.2rem;display:grid}.system-link small{color:var(--muted);font-size:.76rem}.system-link-arrow{color:var(--faint)!important}.history-table{margin-top:0}.detail-panel{margin-top:.5rem}.detail-actions{flex-wrap:wrap;gap:.65rem;margin-bottom:1rem;display:flex}.dialog-backdrop{z-index:50;background:#000f16b8;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.dialog{border:1px solid var(--line);background:var(--surface);width:min(30rem,100%);box-shadow:var(--shadow);border-radius:1rem;padding:1.3rem}.dialog h2{font-size:1.35rem}.dialog-body{color:var(--muted)}.dialog-actions{justify-content:flex-end;gap:.65rem;margin-top:1.2rem;display:flex}.auth-page{background:var(--background);place-items:center;min-height:100vh;padding:1.5rem;display:grid;position:relative;overflow:hidden}.auth-orbit{border:1px solid var(--line);opacity:.55;border-radius:50%;width:34rem;height:34rem;position:absolute}.auth-orbit:before,.auth-orbit:after,.auth-orbit span{border:1px solid var(--line);content:"";border-radius:50%;position:absolute;inset:12%}.auth-orbit:after{inset:25%}.auth-orbit span:first-child{background:var(--accent);opacity:.25;inset:38%}.auth-orbit span:nth-child(2){background:var(--aqua);width:2rem;height:2rem;inset:48% 4% auto auto}.auth-orbit span:nth-child(3){background:var(--accent);width:1rem;height:1rem;inset:auto auto 4% 48%}.auth-card{z-index:1;border:1px solid var(--line);background:var(--surface);width:min(30rem,100%);box-shadow:var(--shadow);border-radius:1.2rem;padding:2rem;position:relative}.auth-brand{margin-bottom:3rem}.auth-card h1{font-size:clamp(2rem,5vw,3rem)}.auth-footer{color:var(--muted);text-align:center;margin-top:1.5rem;font-size:.85rem}.auth-switch a{color:var(--accent);font-weight:800}.terms-consent{min-width:0;color:var(--muted);grid-template-columns:1rem minmax(0,1fr);align-items:start;gap:.55rem;font-size:.78rem;line-height:1.35;display:grid}.terms-consent input{width:1rem;min-width:1rem;height:1rem;min-height:1rem;accent-color:var(--accent);margin:.12rem 0 0;padding:0}.terms-consent>span{min-width:0}.inline-link{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:800;text-decoration:underline}.terms-dialog{max-height:min(38rem,100vh - 2rem);overflow:auto}.terms-body{line-height:1.55}.recaptcha-box{min-height:78px;margin:.2rem 0 .25rem}.otp-form{gap:1rem;display:grid}.otp-form h2{color:var(--ink);margin:0;font-size:1.45rem}.otp-boxes{grid-template-columns:repeat(6,minmax(0,1fr));gap:.45rem;display:grid}.otp-boxes input{min-width:0;color:var(--ink);text-align:center;padding:.7rem .2rem;font-size:1.35rem;font-weight:800}.paper-site-field{color:var(--muted);gap:.45rem;font-size:.82rem;font-weight:750;display:grid}.paper-site-dropdown{position:relative}.paper-site-trigger{border:1px solid var(--line);width:100%;min-height:3rem;color:var(--ink);background:var(--surface-2);font:inherit;text-align:left;cursor:pointer;border-radius:.65rem;justify-content:space-between;align-items:center;gap:.75rem;padding:.72rem .8rem;display:flex}.paper-site-trigger:hover,.paper-site-trigger[aria-expanded=true]{border-color:var(--good)}.paper-site-trigger .material-symbols-rounded{color:var(--accent);font-size:1.25rem}.paper-site-options{z-index:10;border:1px solid var(--good);background:var(--surface);max-height:12rem;box-shadow:var(--shadow);scrollbar-width:thin;scrollbar-color:var(--good) var(--surface-2);border-radius:.7rem;padding:.3rem;display:grid;position:absolute;top:calc(100% + .35rem);left:0;right:0;overflow-y:auto}.paper-site-option{width:100%;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:.45rem;padding:.62rem .7rem;display:block}.paper-site-option:hover,.paper-site-option.selected{color:var(--ink);background:var(--surface-3)}.paper-site-option.selected{font-weight:800}@media (width<=900px){.nav-island .nav-link[href=\/guide]{display:none}.hero-section{grid-template-columns:1fr;gap:2rem;padding-top:3rem}.hero-visual{min-height:18rem}.landing-hero{grid-template-columns:1fr;gap:2rem;min-height:auto;padding:4rem 0}.landing-hero-visual{min-height:20rem}.landing-feature-grid,.landing-resource-grid,.landing-org-grid{grid-template-columns:1fr}.developer-profile{grid-template-columns:auto 1fr}.developer-roles{grid-column:1/-1}.dashboard-grid,.content-grid,.prediction-layout,.ai-layout,.dashboard-quadrant,.ai-source-grid{grid-template-columns:1fr}.record-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=680px){.auth-page{place-items:start center;min-height:100svh;padding:.75rem;overflow-y:auto}.auth-card{border-radius:.95rem;width:min(100%,24rem);padding:1rem}.auth-brand{margin-bottom:1rem;font-size:1.05rem}.auth-card h1{margin-bottom:.45rem;font-size:clamp(1.65rem,8vw,2.15rem);line-height:1.05}.auth-card .lede{margin-bottom:1rem;font-size:.82rem;line-height:1.35}.stack-form{gap:.65rem}.stack-form label,.paper-site-field{gap:.28rem;font-size:.75rem}.stack-form input,.paper-site-trigger{min-height:2.55rem;padding:.55rem .65rem;font-size:.9rem}.form-hint{margin-top:-.1rem;margin-bottom:.15rem;font-size:.68rem;line-height:1.25}.recaptcha-box{transform-origin:0;min-height:70px;margin:0;transform:scale(.92)}.auth-card .button{min-height:2.45rem;padding:.55rem .8rem;font-size:.82rem}.auth-footer{margin-top:1rem;font-size:.78rem}.auth-switch{margin:.55rem 0 0}.otp-form{gap:.7rem}.otp-boxes{gap:.3rem}.otp-boxes input{padding:.55rem .1rem;font-size:1.1rem}h1{font-size:2.45rem}.header-inner{min-height:4rem}.app-frame{padding-top:4rem}.header-account .nav-user{display:none}.nav-island{top:auto;right:auto;bottom:calc(.6rem + env(safe-area-inset-bottom));z-index:30;border-radius:2.5rem;width:min(320px,100% - 1.5rem);height:4.35rem;margin:0;position:fixed;left:50%;transform:translate(-50%)}.nav-island .nav-link{height:100%;min-height:0;font-size:.66rem}.app-main{padding-bottom:6.2rem}.public-nav{scrollbar-width:none;justify-content:flex-start;gap:.65rem;max-width:calc(100vw - 7rem);overflow-x:auto}.public-nav::-webkit-scrollbar{display:none}.public-nav a{flex:none}.public-page main,.app-main,.header-inner,.public-footer,.app-footer{width:min(100% - 1.2rem,1180px)}.hero-section{min-height:auto;padding:3.2rem 0 4rem}.hero-copy h1{max-width:10ch}.landing-hero{padding:3.2rem 0 4rem}.landing-hero-copy h1{max-width:10ch}.landing-section{padding:4rem 0}.landing-org-chart{padding:1rem}.developer-profile{grid-template-columns:1fr}.developer-roles{grid-column:auto;grid-template-columns:1fr}.landing-cta{flex-direction:column;align-items:flex-start;padding:3rem 0 4rem}.feature-grid,.org-grid,.data-grid,.stats-grid,.two-chart-grid,.record-grid,.settings-grid,.guide-grid{grid-template-columns:1fr}.dashboard-quadrant-card{min-height:0}.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-overview-metrics{grid-column:1;grid-template-columns:repeat(2,minmax(0,1fr))}.prediction-table-heading{flex-direction:column;align-items:start;gap:.3rem}.content-section{padding:3.5rem 0}.cta-section,.page-header,.public-footer,.app-footer{align-items:start}.page-header{display:grid}.page-header h1{font-size:2.4rem}.panel{padding:1rem}.form-panel,.result-panel{border-radius:1rem;padding:1rem}.prediction-layout{gap:1rem}.metric-row{grid-template-columns:1fr}.reference-row{grid-template-columns:1fr auto}.reference-row .condition-badge{grid-column:1/-1}.notice{flex-direction:column}.notice-action,.notice-action .button{width:100%}.ai-step-heading{gap:.55rem}.ai-step-heading .button{margin-left:0}.ai-step-heading{flex-wrap:wrap}.equation-values{grid-template-columns:1fr}.public-footer{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem;padding-bottom:2rem}.public-footer .footer-brand{grid-column:1/-1}.footer-bottom{flex-direction:column}.app-footer{padding-bottom:5.75rem}}@media (width>=901px){.app-frame{padding-left:5.5rem}.app-header .header-inner{width:min(1560px,100% - 3rem)}.nav-island{z-index:30;border-radius:1.5rem;flex-direction:column;grid-template-columns:1fr;width:4.2rem;height:auto;margin:0;padding:.45rem;transition:width .2s;display:flex;position:fixed;top:5.25rem;left:.9rem}.nav-island:hover,.nav-island:focus-within{width:10.5rem}.nav-island .nav-link{border-radius:1rem;justify-content:flex-start;gap:.7rem;min-height:3.2rem;padding:.65rem .7rem}.nav-island .sr-only{display:none}.nav-island:hover .sr-only,.nav-island:focus-within .sr-only{clip:auto;white-space:nowrap;width:auto;height:auto;margin:0;font-size:.78rem;display:inline;position:static;overflow:visible}.app-main{width:min(1560px,100% - 2rem);margin:0 auto;padding-top:1.15rem;padding-bottom:1.5rem}.page-container{gap:.8rem}.app-frame:has(.predict-page){height:100vh;overflow:hidden}html:has(.predict-page){height:100vh;overflow:hidden}body:has(.predict-page){height:100vh;overflow:hidden}#root:has(.predict-page){height:100vh;overflow:hidden}.app-main:has(.predict-page){height:calc(100vh - 4.4rem);min-height:0;max-height:calc(100vh - 4.4rem);overflow:hidden}.predict-page{grid-template-rows:auto minmax(0,1fr);height:100%;min-height:0;overflow:hidden}.predict-page .prediction-layout{align-items:stretch;height:100%;min-height:0}.predict-page .form-panel,.predict-page .result-panel{height:100%;min-height:0;overflow:hidden}.predict-page .form-panel{flex-direction:column;display:flex}.predict-page .form-panel>fieldset{flex:auto;min-height:0;padding-right:.25rem;overflow:hidden auto}.prediction-result-scroll{flex:auto;height:0;min-height:0;padding-right:.25rem;overflow:hidden auto}.page-header{gap:1rem;margin-bottom:.15rem}.page-header h1{margin-bottom:.25rem;font-size:clamp(1.9rem,3vw,2.8rem)}.page-header .lede{font-size:.9rem;line-height:1.35}.panel,.form-panel,.result-panel{border-radius:.8rem;padding:.85rem}.panel-heading{margin-bottom:.65rem}.panel-heading h2,.form-panel h2{font-size:1.45rem}.dashboard-quadrant,.prediction-layout,.ai-layout,.dashboard-grid,.content-grid{gap:.8rem}.dashboard-quadrant{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.dashboard-quadrant-card{min-height:13.5rem}.dashboard-overview-metrics .stat-card{min-height:7rem}.dashboard-overview,.dashboard-latest,.dashboard-scope,.dashboard-history{min-width:0}.dashboard-overview .panel-heading h2,.dashboard-latest .panel-heading h2,.dashboard-scope .panel-heading h2,.dashboard-history .panel-heading h2{font-size:1.3rem}.dashboard-metrics{gap:.5rem}.dashboard-metrics .stat-card{min-height:4.8rem;padding:.6rem}.dashboard-metrics .metric-large{font-size:1.15rem}.dashboard-history .record-list{max-height:10rem}.location-panel,.weather-panel,.form-panel,.result-panel{min-height:0}.form-panel{font-size:.85rem}.form-panel label,.field-label,.stack-form label,.settings-grid label{gap:.25rem;font-size:.75rem}input,select,textarea{border-radius:.55rem;padding:.5rem .65rem}.form-hint{margin-bottom:.25rem;font-size:.68rem;line-height:1.3}.form-hint-spaced{margin-bottom:.4rem}.button{min-height:2.25rem;padding:.5rem .75rem;font-size:.78rem}.prediction-layout .result-panel{overflow:hidden}.result-panel>.notice{margin:.25rem 0 1rem}.result-panel>.notice+.muted{margin-top:.75rem}.prediction-window-fields{align-items:start}.prediction-table-heading{margin:.7rem 0 .45rem}.result-summary{gap:.6rem;margin:.6rem 0 .8rem}.ai-source-grid{gap:.8rem}.upload-dropzone{min-height:10rem;padding:.8rem}.settings-page{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;max-width:none}.settings-page>.page-header,.settings-page>.notice,.settings-page>.settings-logout{grid-column:1/-1}.settings-page .settings-section{gap:.55rem}.settings-page .settings-section p{margin-bottom:.35rem;font-size:.78rem;line-height:1.4}.settings-page .settings-section h2{font-size:1.25rem}.settings-page .settings-section{min-width:0}.ai-layout{grid-template-columns:minmax(20rem,.85fr) minmax(0,1.15fr);align-items:start}.ai-source-grid{grid-template-columns:1fr}.ai-source-grid .upload-dropzone{min-height:7rem}.prediction-history-picker .panel-heading h2{font-size:1.2rem}.prediction-history-picker .reference-list{max-height:9rem;overflow:auto}.ai-library{flex-direction:column;height:22rem;min-height:0;max-height:22rem;display:flex;overflow:hidden}.ai-library .panel-heading{flex:none}.ai-library-list{scrollbar-gutter:stable;flex:auto;align-content:start;gap:.65rem;min-height:0;padding-right:.2rem;display:grid;overflow:hidden auto}.report-panel{max-height:31rem;margin-top:0;overflow:auto}.dashboard-history{align-self:stretch;min-height:0}.dashboard-history .record-list{flex:auto;min-height:0;max-height:none;overflow:hidden auto}.dashboard-latest,.dashboard-history{height:28rem;min-height:28rem;max-height:28rem;overflow:hidden}.dashboard-history .record-list{scrollbar-gutter:stable}.history-page{grid-template-rows:minmax(0,auto) minmax(0,1fr);grid-template-columns:minmax(22rem,.8fr) minmax(0,1.4fr);align-items:stretch;height:calc(100vh - 6.1rem);min-height:0;overflow:hidden}html:has(.history-page){height:100vh;overflow:hidden}body:has(.history-page){height:100vh;overflow:hidden}#root:has(.history-page){height:100vh;overflow:hidden}.history-page{max-height:calc(100vh - 6.1rem)}.history-page>.page-header,.history-page>.notice,.history-page>.state-panel{grid-column:1/-1}.history-page>section.panel{min-width:0}.history-page>section.panel:first-of-type{grid-column:1}.history-page>#prediction-detail{grid-area:2/2;margin-top:0}.history-page>section.panel:first-of-type .record-list{max-height:31rem;padding-right:.2rem;overflow:auto}.history-page>section.panel{flex-direction:column;height:100%;min-height:0;max-height:none;display:flex;overflow:hidden}.history-page>section.panel:first-of-type .record-list{flex:auto;min-height:0;max-height:none;overflow-y:auto}.history-page>section.panel:first-of-type .record-list,.history-page>#prediction-detail .history-detail-scroll,.prediction-result-scroll{scrollbar-width:thin;scrollbar-color:var(--accent) var(--surface-2);scrollbar-gutter:stable}.history-page>section.panel:first-of-type .record-list::-webkit-scrollbar{width:.45rem;height:.45rem}.history-page>#prediction-detail .history-detail-scroll::-webkit-scrollbar{width:.45rem;height:.45rem}.prediction-result-scroll::-webkit-scrollbar{width:.45rem;height:.45rem}.history-page>section.panel:first-of-type .record-list::-webkit-scrollbar-track{background:var(--surface-2);border-radius:1rem}.history-page>#prediction-detail .history-detail-scroll::-webkit-scrollbar-track{background:var(--surface-2);border-radius:1rem}.prediction-result-scroll::-webkit-scrollbar-track{background:var(--surface-2);border-radius:1rem}.history-page>section.panel:first-of-type .record-list::-webkit-scrollbar-thumb{background:var(--accent);border-radius:1rem}.history-page>#prediction-detail .history-detail-scroll::-webkit-scrollbar-thumb{background:var(--accent);border-radius:1rem}.prediction-result-scroll::-webkit-scrollbar-thumb{background:var(--accent);border-radius:1rem}.history-page>#prediction-detail .history-detail-scroll{flex:auto;height:0;min-height:0;padding-right:.25rem;overflow:hidden auto}:is(.app-frame:has(.history-page),.app-frame:has(.ai-page)){height:100vh;overflow:hidden}:is(.app-main:has(.history-page),.app-main:has(.ai-page)){height:calc(100vh - 4.4rem);min-height:0;overflow:hidden}.result-panel .prediction-table-heading{margin-bottom:.85rem}.result-panel .prediction-table-heading+.table-wrap{margin-bottom:1.25rem}.result-panel .prediction-table-heading+.table-wrap+.button-row{padding-top:.15rem}.ai-page{grid-template-rows:auto minmax(0,1fr) minmax(11rem,16rem);height:calc(100vh - 7.1rem);min-height:0;overflow:hidden}.ai-page .page-header{min-height:0}.ai-page .ai-layout{align-items:stretch;height:100%;min-height:0}.ai-page .ai-builder{flex-direction:column;height:100%;min-height:0;display:flex;overflow:hidden}.ai-page .ai-builder fieldset{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}.ai-page .ai-source-grid{flex:auto;grid-template-rows:minmax(8.5rem,auto) minmax(0,1fr);grid-template-columns:1fr;min-height:0;overflow:hidden}.ai-page .ai-source-grid .upload-dropzone{min-height:0}.ai-page .upload-dropzone{gap:.4rem;padding:.7rem;overflow:hidden}.ai-page .upload-dropzone-icon{font-size:2rem}.ai-page .prediction-history-picker{flex-direction:column;height:100%;min-height:0;display:flex;overflow:hidden}.ai-page .prediction-history-picker .ai-prediction-list{flex:auto;min-height:0;max-height:none}.ai-page .report-panel{height:100%;min-height:0;max-height:none;overflow:auto}.ai-page .ai-library{height:auto;min-height:0;max-height:none}}@media (width<=680px){.computation-breakdown-table tbody tr{grid-template-columns:repeat(2,minmax(0,1fr))}.result-summary{grid-template-columns:1fr}.result-meta div{gap:.15rem;display:grid}.result-meta dd{text-align:left}.result-panel .panel-heading,.report-panel .panel-heading{align-items:flex-start}.result-panel .panel-heading h2,.report-panel .panel-heading h2{font-size:1.35rem;line-height:1.12}.result-panel .button-row,.report-panel .button-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;display:grid}.result-panel .button-row .button,.report-panel .button-row .button{width:100%}.report-panel .panel-heading .button{white-space:nowrap;flex:none}.report-content{overflow-wrap:anywhere}.ai-library{padding:.8rem}.ai-library-list{gap:1rem;padding:.15rem .25rem .5rem 0}.ai-library-card{gap:.8rem;padding:.95rem}.ai-library-card+.ai-library-card{margin-top:.15rem}.ai-library-card-meta{flex-wrap:wrap;align-items:flex-start}.ai-library-card-body{gap:.55rem}.ai-library-card-body .button{justify-self:start;margin-top:.2rem}.result-panel .prediction-table-heading+.table-wrap+.button-row{margin-top:1rem}.result-panel .button-row{row-gap:.7rem}.terms-dialog{width:min(100%,23rem);padding:1rem}.terms-consent{grid-template-columns:1.05rem minmax(0,1fr);gap:.45rem;font-size:.74rem;line-height:1.3}.terms-consent input{width:1.05rem;min-width:1.05rem;height:1.05rem;min-height:1.05rem;margin-top:.08rem;padding:0}.terms-dialog .dialog-actions{gap:.5rem;margin-top:.9rem}.terms-dialog .dialog-actions .button{flex:1}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}.brand-logo{object-fit:contain;border-radius:.55rem;width:2.4rem;height:2.4rem}.ai-page{grid-template-rows:auto auto auto;gap:1.1rem;height:auto;min-height:0;overflow:visible}.ai-page .page-header{border:1px solid var(--line);background:radial-gradient(ellipse at 90% 10%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 45%), var(--surface);border-radius:1.25rem;align-items:center;min-height:9rem;margin:0;padding:clamp(1.25rem,3vw,2.25rem)}.ai-page .page-header h1{max-width:16ch;margin-bottom:.45rem;font-size:clamp(2rem,4vw,3.15rem)}.ai-page .page-header .lede{max-width:56ch;margin-bottom:0}.ai-page-context{border:1px solid var(--line);max-width:17rem;color:var(--muted);background:var(--surface-2);border-radius:999px;align-items:center;gap:.45rem;padding:.65rem .8rem;font-size:.75rem;font-weight:750;display:inline-flex}.ai-page-context .material-symbols-rounded{color:var(--accent)}.ai-page .ai-layout{grid-template-columns:minmax(19rem,.9fr) minmax(0,1.1fr);align-items:start;gap:1rem;height:auto}.ai-page .ai-builder,.ai-page .report-panel,.ai-page .ai-library{border:1px solid var(--line);background:var(--surface);height:auto;min-height:0;max-height:none;box-shadow:var(--shadow);border-radius:1.1rem;margin:0;padding:clamp(1rem,2vw,1.4rem);overflow:visible}.ai-page .ai-builder fieldset{gap:1.1rem;display:grid;overflow:visible}.ai-page .ai-step-heading{align-items:flex-start;gap:.85rem;margin-bottom:1rem}.ai-page .ai-step-heading>div{min-width:0}.ai-page .ai-step-heading h2{margin:.12rem 0 .35rem;font-size:1.2rem}.ai-page .ai-step-heading p{margin:0}.ai-page .ai-step-number{width:2.15rem;height:2.15rem;color:var(--accent-strong);background:color-mix(in srgb, var(--accent) 18%, var(--surface));letter-spacing:.04em;font-size:.7rem}.ai-page .ai-source-grid{display:block;overflow:visible}.ai-page .prediction-history-picker{border:1px solid var(--line);background:var(--surface-2);border-radius:.9rem;height:auto;padding:1rem}.ai-page .prediction-history-picker .panel-heading{align-items:center;margin-bottom:.8rem}.ai-page .prediction-history-picker .panel-heading h2{margin:0;font-size:1.05rem}.ai-page .ai-prediction-list{gap:.55rem;max-height:26rem;padding-right:.2rem;display:grid;overflow:auto}.ai-page .ai-prediction-card{border-radius:.8rem;align-items:center;min-height:5.2rem;padding:.85rem;transition:border-color .15s,transform .15s,background .15s}.ai-page .ai-prediction-card:hover{transform:translateY(-1px)}.ai-page .ai-prediction-card:has(input:checked){border-color:var(--accent);background:var(--surface);box-shadow:inset 3px 0 var(--accent)}.ai-page .ai-prediction-card-body{gap:.35rem}.ai-page .ai-prediction-value{font-size:1.2rem}.ai-page .form-hint{margin:0}.ai-page .button-wide{min-height:3rem}.ai-page .report-panel{min-height:23rem}.ai-page .report-panel>.muted{border-bottom:1px solid var(--line);padding-bottom:.8rem;font-size:.78rem}.ai-report-empty{border:1px dashed var(--line);background:var(--surface-2);text-align:center;border-radius:.9rem;align-content:center;justify-items:center;gap:.6rem;min-height:15rem;padding:1.5rem;display:grid}.ai-report-empty .material-symbols-rounded{color:var(--accent);font-size:2.2rem}.ai-report-empty p{max-width:34ch;color:var(--muted);margin:0;font-size:.88rem}.ai-page .report-content{line-height:1.7}.ai-page .ai-library .ai-step-heading{margin-bottom:1rem}.ai-page .ai-library .ai-step-heading>.condition-badge{flex:none;margin-left:auto}.ai-page .ai-library-card{border:1px solid var(--line);background:var(--surface-2);border-radius:.85rem;min-width:0;padding:1rem}.ai-page .ai-library-card-body{gap:.55rem}@media (width<=900px){.ai-page .page-header{align-items:flex-start}.ai-page .ai-layout{grid-template-columns:1fr}.ai-page .report-panel{min-height:18rem}.ai-page .ai-prediction-list{max-height:20rem}}@media (width<=600px){.ai-page .page-header{gap:1rem;display:grid}.ai-page-context{justify-self:start;max-width:100%}.ai-page .ai-builder,.ai-page .report-panel,.ai-page .ai-library{padding:1rem}.ai-page .ai-step-heading{flex-wrap:wrap}.ai-page .ai-step-heading .button,.ai-page .ai-library .ai-step-heading>.condition-badge{margin-left:0}}.ai-page .ai-layout{grid-template-columns:minmax(16rem,.92fr) minmax(22rem,1.22fr) minmax(17rem,.96fr);align-items:stretch}.ai-page .ai-builder,.ai-page .report-panel,.ai-page .ai-library{min-width:0;height:auto}.ai-page .ai-library{align-self:stretch}.ai-page .ai-library-list{grid-template-columns:1fr}@media (width<=1250px){.ai-page .ai-layout{grid-template-columns:minmax(16rem,.9fr) minmax(0,1.1fr)}.ai-page .ai-library{grid-column:1/-1}.ai-page .ai-library-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr))}}@media (width<=900px){.ai-page .ai-layout{grid-template-columns:1fr}.ai-page .ai-library{grid-column:auto}.ai-page .ai-library-list{grid-template-columns:1fr}}.brand-logo{object-fit:contain;border-radius:.45rem;width:2.35rem;height:2.35rem;display:block}.ai-page .page-header{border:1px solid var(--line);background:linear-gradient(120deg,var(--surface),var(--surface-2));border-radius:1.15rem;padding:1.4rem 1.6rem}.ai-page .ai-builder,.ai-page .report-panel,.ai-page .ai-library{border:1px solid var(--line);background:var(--surface);min-height:0;box-shadow:var(--shadow);border-radius:1.1rem;padding:1.25rem}.ai-page .ai-step-heading{align-items:flex-start;gap:.85rem;display:flex}.ai-page .ai-step-heading h2{margin:.1rem 0 .35rem}.ai-page .ai-step-heading .muted,.ai-page .report-panel{margin:0}.ai-page .ai-source-grid{min-height:0}.ai-page .prediction-history-picker{background:var(--surface-2);border-radius:.9rem;padding:1rem}.ai-page .ai-prediction-list{max-height:28rem;overflow:auto}.ai-page .ai-prediction-card{transition:transform .16s,border-color .16s}.ai-page .ai-prediction-card:hover{border-color:var(--accent);transform:translateY(-2px)}.ai-page .ai-library{padding:1.25rem}.ai-page .ai-library-list{grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:.8rem;display:grid}.ai-page .ai-library-card{border-radius:.9rem;padding:1rem}@media (width<=900px){.ai-page .ai-layout{grid-template-columns:1fr}}@media (width>=901px){.app-sidebar{z-index:30;border:1px solid var(--line);background:var(--surface);width:4.25rem;height:max-content;max-height:calc(100vh - 6rem);box-shadow:var(--shadow);border-radius:1.2rem;flex-direction:column;gap:.5rem;padding:.45rem;transition:width .2s;display:flex;position:fixed;top:5.25rem;bottom:auto;left:.9rem;overflow-y:auto}.app-sidebar.app-sidebar-expanded{width:12rem}.sidebar-toggle,.sidebar-logout{min-height:2.8rem;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:.85rem;justify-content:flex-start;align-items:center;gap:.7rem;padding:.65rem .7rem;font-size:.8rem;font-weight:800;display:flex}.sidebar-toggle{color:var(--ink);background:var(--surface-2)}.sidebar-toggle:hover,.sidebar-logout:hover{color:var(--accent-strong);background:var(--surface-3)}.sidebar-toggle .material-symbols-rounded,.sidebar-logout .material-symbols-rounded{flex:none;font-size:1.25rem}.nav-island{width:100%;min-height:0;box-shadow:none;background:0 0;border:0;border-radius:0;flex-direction:column;flex:none;gap:.2rem;margin:0;padding:0;display:flex;position:static;overflow:visible}.app-sidebar .nav-island:hover,.app-sidebar .nav-island:focus-within{width:100%}.nav-island .nav-link{min-height:2.85rem;color:var(--muted);white-space:nowrap;border:0;border-radius:.85rem;justify-content:flex-start;gap:.7rem;padding:.65rem .7rem;font-size:.8rem}.nav-island .nav-link:hover{color:var(--ink);background:var(--surface-2);transform:none}.nav-island .nav-link.active{color:var(--accent-strong);background:color-mix(in srgb, var(--accent) 12%, var(--surface))}.nav-island .nav-icon{flex:none;font-size:1.25rem}.nav-label,.sidebar-label{display:none}.app-sidebar-expanded .nav-label,.app-sidebar-expanded .sidebar-label{display:inline}.sidebar-logout{border-top:1px solid var(--line);width:100%;color:var(--danger,#a63e43);border-radius:0 0 .85rem .85rem;margin-top:.25rem}.sidebar-logout:hover{color:#8f3035;background:color-mix(in srgb, #a63e43 10%, var(--surface))}.settings-logout{display:none}}.ai-page{gap:1rem}.ai-page .ai-layout{grid-template-columns:minmax(17rem,.95fr) minmax(24rem,1.3fr) minmax(19rem,1fr);align-items:stretch;gap:.9rem}.ai-page .ai-builder,.ai-page .report-panel,.ai-page .ai-library{align-self:stretch;min-width:0;height:auto;min-height:24rem}.ai-page .ai-builder fieldset{flex-direction:column;gap:1rem;display:flex}.ai-page .ai-library{flex-direction:column;display:flex}.ai-page .ai-library-list{grid-template-columns:minmax(0,1fr);gap:.7rem;max-height:min(62vh,38rem);padding-right:.2rem;display:grid;overflow:auto}.ai-page .ai-library-card{transition:transform .15s,border-color .15s,box-shadow .15s}.ai-page .ai-library-card:hover{border-color:var(--aqua);box-shadow:var(--shadow);transform:translateY(-2px)}.ai-page .ai-library-card .button:focus-visible,.ai-page .ai-prediction-card:focus-within{outline:2px solid var(--accent);outline-offset:2px}.ai-page .ai-step-heading{min-width:0}.ai-page .ai-step-heading h2,.ai-page .ai-library-card h3{overflow-wrap:anywhere}.ai-page .ai-report-empty{transition:border-color .15s,background .15s}.ai-page .ai-prediction-card:has(input:checked){transform:translateY(-1px)}.settings-logout{justify-content:center}@media (width<=1250px){.ai-page .ai-layout{grid-template-columns:minmax(16rem,.9fr) minmax(0,1.1fr)}.ai-page .ai-library{grid-column:1/-1;min-height:0}.ai-page .ai-library-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr))}}@media (width<=900px){.app-sidebar{display:contents}.sidebar-toggle,.sidebar-logout,.nav-island .nav-label{display:none}.ai-page .ai-layout{grid-template-columns:minmax(0,1fr)}.ai-page .ai-library{grid-column:auto}.ai-page .ai-library-list{grid-template-columns:1fr;max-height:none}.settings-logout{justify-content:center;display:flex}}@media (width>=901px){.app-frame{padding-left:14.5rem}.app-header .header-inner{width:min(1640px,100% - 4rem)}.app-sidebar,.app-sidebar.app-sidebar-expanded{width:12rem}.app-sidebar{border-radius:1.15rem;max-height:none;padding:.7rem;top:5.4rem;bottom:1.25rem}.sidebar-toggle{display:none}.nav-island{gap:.35rem}.nav-island .nav-link{border-radius:.8rem;min-height:3rem;padding:.7rem .75rem;font-size:.85rem}.nav-label,.sidebar-label{display:inline}.sidebar-logout{border-top:1px solid var(--line);margin-top:auto;padding-top:.85rem}.app-main{width:min(1640px,100% - 4rem);padding:2rem 0 3.5rem}.page-container{gap:1.3rem}.page-header{align-items:center;margin-bottom:.35rem}.page-header h1{font-size:clamp(2.25rem,2.8vw,3.2rem)}.page-header .lede{max-width:72ch;font-size:1rem}.panel,.form-panel,.result-panel{border-radius:1rem;padding:1.3rem}.panel-heading{margin-bottom:1rem}.dashboard-quadrant-card{min-height:17rem}.dashboard-grid,.content-grid,.prediction-layout,.dashboard-quadrant{gap:1.2rem}.prediction-layout{grid-template-columns:minmax(22rem,.85fr) minmax(0,1.15fr);align-items:start}.settings-page{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem;max-width:none}.settings-page>.page-header,.settings-page>.notice,.settings-page>.settings-logout{grid-column:1/-1}.history-page{grid-template-rows:auto auto;grid-template-columns:minmax(21rem,.8fr) minmax(0,1.35fr);align-items:start;height:auto;min-height:0;max-height:none;overflow:visible}.history-page>section.panel{height:auto;min-height:20rem;max-height:none;overflow:visible}.history-page>section.panel:first-of-type .record-list{max-height:65vh}.history-page>#prediction-detail .history-detail-scroll{height:auto;max-height:68vh}.dashboard-latest,.dashboard-history{height:auto;min-height:17rem;max-height:none;overflow:visible}.dashboard-history .record-list{max-height:24rem}:is(.app-frame:has(.history-page),.app-frame:has(.ai-page),.app-frame:has(.predict-page)){height:auto;overflow:visible}:is(.app-main:has(.history-page),.app-main:has(.ai-page),.app-main:has(.predict-page)),.predict-page,.history-page,.ai-page{height:auto;min-height:0;max-height:none;overflow:visible}.predict-page .prediction-layout,.ai-page .ai-layout{align-items:start;height:auto;min-height:0}.predict-page .form-panel,.predict-page .result-panel,.ai-page .ai-builder,.ai-page .report-panel,.ai-page .ai-library{height:auto;min-height:0;max-height:none;overflow:visible}.predict-page .form-panel{display:block}.predict-page .form-panel>fieldset,.prediction-result-scroll{height:auto;min-height:0;max-height:none;overflow:visible}.ai-page{gap:1.25rem}.ai-page .ai-layout{grid-template-columns:minmax(24rem,.9fr) minmax(0,1.1fr);align-items:start;gap:1.2rem}.ai-page .ai-builder fieldset{overflow:visible}.ai-page .ai-library{grid-column:1/-1}.ai-page .ai-library-list{grid-template-columns:repeat(auto-fit,minmax(17rem,1fr));max-height:none;overflow:visible}}@media (width<=680px){.auth-page{min-height:100svh;padding:max(.75rem, env(safe-area-inset-top)) .75rem max(.75rem, env(safe-area-inset-bottom));grid-template-rows:1fr;align-content:center;place-items:center;overflow-y:auto}.auth-card{width:min(100%,24rem);margin:auto 0}}@media (width>=901px){.history-page{grid-template-columns:minmax(18rem,.72fr) minmax(0,1.68fr);gap:1.15rem}.history-page:not(:has(#prediction-detail))>section.panel:first-of-type{grid-column:1/-1;max-width:58rem}.history-page>section.panel:first-of-type{align-self:start;max-height:calc(100vh - 7rem);padding:1.05rem;position:sticky;top:5.6rem;overflow:hidden}.history-page>section.panel:first-of-type .record-list{gap:.55rem;max-height:calc(100vh - 13rem);padding-right:.2rem}.history-page>#prediction-detail{padding:1.25rem}.history-page>#prediction-detail>.panel-heading{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:.8rem 1.25rem;padding-bottom:.95rem}.history-page>#prediction-detail>.panel-heading>div:first-child{min-width:15rem}.history-page>#prediction-detail .button-row{flex-wrap:wrap;justify-content:flex-end;gap:.45rem}.history-page>#prediction-detail .history-detail-scroll{max-height:calc(100vh - 14rem);padding:.25rem .35rem .25rem 0;overflow:auto}.history-detail-scroll>.muted{overflow-wrap:anywhere;background:var(--surface-2);border-radius:.65rem;margin:.85rem 0;padding:.7rem .85rem;font-size:.78rem}.history-detail-scroll>.detail-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;margin:.9rem 0 1.25rem}.history-detail-scroll>.detail-list div{border:1px solid var(--line);background:var(--surface-2);border-radius:.7rem;align-content:start;gap:.35rem;min-width:0;min-height:4.1rem;padding:.75rem;display:grid}.history-detail-scroll>.detail-list dt{letter-spacing:.06em;text-transform:uppercase;font-size:.7rem;font-weight:800}.history-detail-scroll>.detail-list dd{overflow-wrap:anywhere;text-align:left;font-size:.86rem;line-height:1.4}.history-detail-scroll h3{margin-top:1.35rem}.history-page .prediction-card{padding:.8rem}.history-page .prediction-number{margin:.35rem 0 .1rem;font-size:2rem}.history-page .prediction-card p{margin-bottom:.45rem;font-size:.83rem}.history-page .card-meta{padding-top:.45rem;font-size:.68rem}.predict-page .prediction-layout{grid-template-columns:minmax(25rem,.76fr) minmax(0,1.24fr);align-items:start;gap:1.2rem}.predict-page .form-panel,.predict-page .result-panel{min-height:0;padding:1.35rem}.predict-page .form-panel>fieldset{flex-direction:column;gap:.55rem;display:flex}.predict-page .form-panel>fieldset>.panel-heading{border-bottom:1px solid var(--line);margin-bottom:.25rem;padding-bottom:.8rem}.predict-page .form-panel label:not(.checkbox-field){margin-bottom:.25rem}.predict-page .form-panel .form-hint{max-width:72ch}.predict-page .prediction-window-fields{gap:.65rem .8rem}.predict-page .result-panel>.panel-heading{border-bottom:1px solid var(--line);padding-bottom:.8rem}.predict-page .result-summary{grid-template-columns:minmax(0,1.15fr) minmax(15rem,.85fr);gap:.75rem;margin:.65rem 0 1rem}.predict-page .result-final-cover,.predict-page .result-meta{border-radius:.8rem}.predict-page .result-final-cover{padding:1rem}.predict-page .result-final-cover .prediction-number{font-size:2.35rem}.predict-page .result-meta{padding:.85rem 1rem}.predict-page .prediction-table-heading{align-items:center;margin:1rem 0 .55rem}.predict-page .annual-output-table tbody tr{background:var(--surface-2);gap:.3rem;padding:.55rem}.predict-page .annual-output-table tbody th,.predict-page .annual-output-table tbody td{padding:.35rem;font-size:.82rem}}@media (width>=901px) and (width<=1250px){.history-page{grid-template-columns:minmax(16rem,.8fr) minmax(0,1.3fr)}.history-page>#prediction-detail>.panel-heading{align-items:flex-start}.history-page>#prediction-detail .button-row{justify-content:flex-start}.history-detail-scroll>.detail-list{grid-template-columns:1fr}.predict-page .prediction-layout{grid-template-columns:minmax(21rem,.8fr) minmax(0,1.2fr)}.predict-page .result-summary{grid-template-columns:1fr}}:root{--system-page-max:1640px;--system-card-radius:1.15rem;--system-control-radius:.7rem;--system-space:clamp(.85rem, 1.5vw, 1.35rem);--system-outline:color-mix(in srgb, var(--accent) 62%, white);--system-shadow:0 14px 36px color-mix(in srgb, var(--ink) 8%, transparent)}.app-frame{background:radial-gradient(ellipse at 88% 0%, color-mix(in srgb, var(--aqua) 5%, transparent), transparent 32rem), var(--background)}.app-main{width:min(var(--system-page-max), calc(100% - 4rem));min-width:0}.page-container{align-content:start;gap:var(--system-space);width:100%}.page-container>*{min-width:0}.page-header{isolation:isolate;border:1px solid var(--line);border-radius:calc(var(--system-card-radius) + .2rem);background:radial-gradient(ellipse at 92% 12%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 25rem), linear-gradient(120deg, var(--surface), color-mix(in srgb, var(--surface-2) 76%, var(--surface)));align-items:center;gap:clamp(1rem,2vw,2rem);min-width:0;margin:0;padding:clamp(1.15rem,2.1vw,2rem);position:relative;overflow:hidden}.page-header:after{z-index:0;aspect-ratio:1;border:1px solid color-mix(in srgb, var(--accent) 24%, transparent);width:18rem;box-shadow:0 0 0 1.2rem color-mix(in srgb, var(--accent) 3%, transparent), 0 0 0 2.4rem color-mix(in srgb, var(--aqua) 3%, transparent);content:"";pointer-events:none;border-radius:50%;position:absolute;top:-8.5rem;right:-3.5rem}.page-header>*{z-index:1;position:relative}.page-header>div:first-child{min-width:0}.page-header .eyebrow{margin-bottom:.55rem}.page-header h1{max-width:22ch;margin-bottom:.45rem;font-size:clamp(2rem,3.2vw,3.15rem)}.page-header .lede{max-width:72ch;margin-bottom:0;font-size:clamp(.92rem,1.1vw,1.05rem);line-height:1.55}.page-header>.button,.page-header>a.button{flex:none}.panel,.form-panel,.result-panel,.ai-page .ai-builder,.ai-page .report-panel,.ai-page .ai-library{border:1px solid var(--line);border-radius:var(--system-card-radius);background:linear-gradient(145deg, color-mix(in srgb, var(--surface) 94%, var(--aqua)), var(--surface) 58%);min-width:0;box-shadow:var(--system-shadow)}.panel-heading{align-items:center;gap:.8rem 1rem;min-width:0}.panel-heading>*{min-width:0}.panel-heading h2{line-height:1.2}.dashboard-quadrant,.dashboard-grid,.content-grid,.prediction-layout,.ai-layout,.settings-page,.guide-grid,.two-chart-grid{gap:var(--system-space);min-width:0}.stat-card,.metric-large,.prediction-card,.result-final-cover,.result-meta,.ai-prediction-card,.ai-library-card,.system-link,.reference-row,.theme-choice,.developer-roles span{border-radius:var(--system-control-radius)}.stat-card,.result-final-cover,.result-meta,.ai-prediction-card,.ai-library-card,.system-link,.reference-row{border-color:color-mix(in srgb, var(--line) 78%, var(--aqua))}.button,button,.nav-link,.system-link,.prediction-card,.ai-prediction-card,.ai-library-card,summary,input,select,textarea{transition-timing-function:cubic-bezier(.2,.7,.25,1)}.button:active:not(:disabled),.theme-toggle:active,.sidebar-toggle:active,.sidebar-logout:active{transform:translateY(1px)scale(.985)}.button:focus-visible,.nav-link:focus-visible,.system-link:focus-visible,.prediction-card:focus-within,.ai-prediction-card:focus-within,.ai-library-card:focus-within,.theme-choice:focus-within,summary:focus-visible{outline:3px solid var(--system-outline);outline-offset:3px}.app-main .button-primary{box-shadow:0 5px 14px color-mix(in srgb, var(--accent) 16%, transparent)}.app-main .button-primary:hover:not(:disabled){box-shadow:0 8px 22px color-mix(in srgb, var(--accent) 25%, transparent)}.prediction-card,.ai-prediction-card,.ai-library-card,.system-link,.theme-choice{transition:border-color .18s,background-color .18s,box-shadow .18s,transform .18s}.prediction-card:hover,.ai-prediction-card:hover,.ai-library-card:hover,.system-link:hover,.theme-choice:hover{border-color:var(--accent);box-shadow:0 8px 22px color-mix(in srgb, var(--ink) 8%, transparent)}.prediction-card:focus-within,.ai-prediction-card:focus-within,.ai-library-card:focus-within,.system-link:focus-visible{border-color:var(--accent)}.system-link{min-height:4rem}.system-link>.material-symbols-rounded:first-child{border:1px solid color-mix(in srgb, var(--accent) 22%, var(--line));background:color-mix(in srgb, var(--accent) 9%, var(--surface));border-radius:50%;place-items:center;width:2.3rem;height:2.3rem;display:grid}.nav-island .nav-link{min-width:0}.nav-island .nav-link.active{position:relative}.nav-island .nav-link.active:before{background:var(--accent);content:"";border-radius:99px;width:.2rem;height:1.35rem;position:absolute;top:50%;left:.22rem;transform:translateY(-50%)}.app-main input:focus-visible,.app-main select:focus-visible,.app-main textarea:focus-visible{outline:3px solid color-mix(in srgb, var(--accent) 25%, transparent);outline-offset:1px;border-color:var(--accent)}.table-wrap{border:1px solid var(--line);border-radius:var(--system-control-radius)}.table-wrap table{margin:0}.table-wrap th{z-index:1;position:sticky;top:0}.table-wrap tbody tr{transition:background-color .15s}.table-wrap tbody tr:hover{background:color-mix(in srgb, var(--accent) 5%, var(--surface))}.detail-list div{min-width:0}.detail-list dd{overflow-wrap:anywhere}.notice{border-radius:var(--system-control-radius)}@media (width>=901px){.app-main{width:min(var(--system-page-max), calc(100% - 4rem))}.dashboard-quadrant,.settings-page,.developer-page .dashboard-quadrant{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=901px) and (width<=1240px){.app-frame{padding-left:13rem}.app-sidebar,.app-sidebar.app-sidebar-expanded{width:10.75rem}.app-main{width:calc(100% - 2rem)}.history-page{grid-template-columns:minmax(16rem,.75fr) minmax(0,1.25fr)}.settings-page{grid-template-columns:1fr}.settings-page>.page-header,.settings-page>.notice,.settings-page>.settings-logout{grid-column:1}}@media (width<=900px){.app-main{width:min(100% - 1.5rem,760px);padding-top:1.35rem}.page-container{gap:1rem}.page-header{align-items:flex-start}.page-header>.button,.page-header>a.button{justify-self:start}.panel,.form-panel,.result-panel{border-radius:1rem}}@media (width<=680px){.app-main{width:calc(100% - 1.1rem);padding-top:.9rem}.page-container{gap:.85rem}.page-header{border-radius:1rem;padding:1rem}.page-header:after{width:15rem;top:-7rem;right:-8rem}.page-header h1{font-size:clamp(1.8rem,8vw,2.35rem)}.page-header .lede{font-size:.88rem}.page-header>.button,.page-header>a.button{width:100%}.panel,.form-panel,.result-panel{border-radius:.95rem;padding:.9rem}.panel-heading{align-items:flex-start}.dashboard-quadrant{grid-template-columns:1fr}.dashboard-overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.developer-page .dashboard-quadrant{grid-template-columns:1fr}.table-wrap{max-width:100%;overflow-x:auto}.table-wrap table{min-width:38rem}.table-wrap th{position:static}.nav-island .nav-link.active:before{width:1.15rem;height:.18rem;inset:auto 50% .2rem auto;transform:translate(50%)}}@media (prefers-reduced-motion:reduce){.button,button,.nav-link,.prediction-card,.ai-prediction-card,.ai-library-card,.system-link,.theme-choice,input,select,textarea{transition-duration:.01ms!important}}@media (width>=901px){:is(.app-frame:has(.history-page),.app-frame:has(.predict-page),.app-frame:has(.ai-page)){height:100dvh;min-height:0;overflow:hidden}:is(.app-main:has(.history-page),.app-main:has(.predict-page),.app-main:has(.ai-page)){flex-direction:column;height:calc(100dvh - 4.4rem);min-height:0;padding-top:.9rem;padding-bottom:.9rem;display:flex;overflow:hidden}:is(.app-frame:has(.system-announcement) .app-main:has(.history-page),.app-frame:has(.system-announcement) .app-main:has(.predict-page),.app-frame:has(.system-announcement) .app-main:has(.ai-page),.app-frame:has(.verification-banner) .app-main:has(.history-page),.app-frame:has(.verification-banner) .app-main:has(.predict-page),.app-frame:has(.verification-banner) .app-main:has(.ai-page)){height:calc(100dvh - 7.2rem)}:is(.app-frame:has(.system-announcement):has(.verification-banner) .app-main:has(.history-page),.app-frame:has(.system-announcement):has(.verification-banner) .app-main:has(.predict-page),.app-frame:has(.system-announcement):has(.verification-banner) .app-main:has(.ai-page)){height:calc(100dvh - 10rem)}.app-main>.history-page,.app-main>.predict-page,.app-main>.ai-page{flex:auto;width:100%;height:100%;min-height:0;overflow:hidden}.history-page{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(18rem,.72fr) minmax(0,1.68fr);align-items:stretch;gap:.9rem 1rem}.history-page>.page-header,.predict-page>.page-header{border-radius:1rem;min-height:0;padding:.8rem 1.2rem}.history-page>.page-header h1,.predict-page>.page-header h1{font-size:clamp(2rem,2.5vw,2.65rem)}.history-page>.page-header .lede,.predict-page>.page-header .lede{max-width:78ch;font-size:.9rem;line-height:1.4}.history-page>section.panel{flex-direction:column;height:100%;min-height:0;padding:.85rem;display:flex;overflow:hidden}.history-page>section.panel:first-of-type .record-list{overscroll-behavior:contain;flex:auto;min-height:0;max-height:none;overflow-y:auto}.history-page>#prediction-detail>.panel-heading{flex:none}.history-page>#prediction-detail .history-detail-scroll{overscroll-behavior:contain;flex:auto;height:auto;min-height:0;max-height:none;padding-right:.25rem;overflow:auto}.history-page:not(:has(#prediction-detail))>section.panel:first-of-type{grid-column:1/-1;justify-self:center;width:min(100%,64rem)}.predict-page{grid-template-rows:auto minmax(0,1fr);gap:.9rem}.predict-page .prediction-layout{grid-template-columns:minmax(19rem,.78fr) minmax(0,1.22fr);align-items:stretch;gap:1rem;height:100%;min-height:0}.predict-page .form-panel,.predict-page .result-panel{flex-direction:column;height:100%;min-height:0;padding:1rem;display:flex;overflow:hidden}.predict-page .form-panel>fieldset{overscroll-behavior:contain;flex-direction:column;flex:auto;min-height:0;padding-right:.25rem;display:flex;overflow:auto}.predict-page .result-panel>.panel-heading{flex:none}.predict-page .prediction-result-scroll{overscroll-behavior:contain;flex:auto;height:auto;min-height:0;padding-right:.25rem;overflow:auto}.ai-page{grid-template-rows:minmax(0,1fr);gap:0}.ai-page:has(>.notice){grid-template-rows:auto minmax(0,1fr);gap:.6rem}.ai-page>.notice{margin:0}.ai-page .ai-layout{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,.9fr) minmax(0,1.15fr) minmax(0,.9fr);align-items:stretch;gap:.9rem;width:100%;height:100%;min-height:0;display:grid;overflow:hidden}.ai-page .ai-builder{grid-area:1/1}.ai-page .report-panel{grid-area:1/2}.ai-page .ai-library{grid-area:1/3}.ai-page .ai-builder,.ai-page .report-panel,.ai-page .ai-library{flex-direction:column;height:100%;min-height:0;margin:0;padding:.9rem;display:flex;overflow:hidden}.ai-page .ai-builder fieldset{flex-direction:column;flex:auto;gap:.7rem;min-height:0;display:flex;overflow:hidden}.ai-page .ai-step-heading{flex:none;gap:.65rem;margin:0}.ai-page .ai-step-heading h2{font-size:1rem}.ai-page .ai-step-heading p{font-size:.78rem;line-height:1.35}.ai-page .ai-step-number{width:1.8rem;height:1.8rem}.ai-page .ai-source-grid{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}.ai-page .prediction-history-picker{flex-direction:column;height:100%;min-height:0;padding:.75rem;display:flex;overflow:hidden}.ai-page .prediction-history-picker .panel-heading{flex:none;margin-bottom:.55rem}.ai-page .ai-prediction-list{overscroll-behavior:contain;flex:auto;gap:.45rem;min-height:0;max-height:none;overflow:auto}.ai-page .ai-prediction-card{min-height:4.2rem;padding:.6rem}.ai-page .ai-prediction-value{font-size:1rem}.ai-page .form-hint{flex:none;font-size:.72rem}.ai-page .ai-builder .button-wide{flex:none;min-height:2.65rem}.ai-page .report-panel>.ai-step-heading{align-items:flex-start}.ai-page .report-panel .report-content{overscroll-behavior:contain;flex:auto;min-height:0;max-height:none;overflow:auto}.ai-page .report-panel>.ai-report-empty{flex:auto;min-height:0}.ai-page .ai-library .ai-step-heading{flex-wrap:wrap}.ai-page .ai-library-list{overscroll-behavior:contain;flex:auto;grid-template-columns:repeat(auto-fill,minmax(min(100%,13rem),1fr));align-content:start;min-height:0;max-height:none;padding-right:.2rem;overflow:auto}.ai-page .ai-library-card{cursor:pointer;text-align:left;align-content:start;min-height:8.5rem}.ai-page .ai-library-card.is-active{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 9%, var(--surface-2));box-shadow:inset 4px 0 var(--accent), var(--system-shadow)}.ai-page .ai-library-open{color:var(--accent);justify-content:space-between;align-items:center;gap:.5rem;margin-top:.2rem;font-size:.78rem;font-weight:850;display:flex}.ai-page .ai-library-open span{font-size:1.1rem}.history-record{border-radius:var(--system-control-radius);cursor:pointer}.history-record>.prediction-card{transition:border-color .18s,background-color .18s,box-shadow .18s}.history-record:hover>.prediction-card,.history-record.is-selected>.prediction-card{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 7%, var(--surface-2))}.history-record.is-selected>.prediction-card{box-shadow:inset 4px 0 var(--accent)}.history-record:focus-visible{outline:3px solid var(--system-outline);outline-offset:3px}.ai-page .ai-layout{grid-template-columns:minmax(18rem,.95fr) minmax(25rem,1.3fr) minmax(20rem,1fr)}.ai-page .ai-prediction-list{grid-auto-rows:min-content;align-content:start}.ai-page .ai-prediction-card{align-items:start}.ai-page .ai-prediction-card>input{margin-top:.35rem}.ai-page .ai-library-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,19rem),1fr));align-content:start}.ai-page .ai-library-card-meta{flex-wrap:wrap;align-items:flex-start;min-width:0}.ai-page .ai-library-card-meta>.muted{white-space:nowrap}.ai-page .ai-library-card-body>p{overflow-wrap:anywhere}}@media (width>=901px) and (width<=1499px){.ai-page .ai-layout{grid-template-rows:minmax(0,1.15fr) minmax(0,.85fr);grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)}.ai-page .ai-builder{grid-area:1/1/span 2}.ai-page .report-panel{grid-area:1/2}.ai-page .ai-library{grid-area:2/2}}@media (width>=901px) and (width<=1120px){.ai-page .ai-layout{grid-template-rows:repeat(3,minmax(0,1fr));grid-template-columns:minmax(0,1fr)}.ai-page .ai-builder{grid-area:1/1}.ai-page .report-panel{grid-area:2/1}.ai-page .ai-library{grid-area:3/1}}@media (width>=901px) and (height<=820px){.history-page>.page-header,.predict-page>.page-header{padding-block:.55rem}.history-page>.page-header h1,.predict-page>.page-header h1{font-size:2rem}.history-page>.page-header .lede,.predict-page>.page-header .lede{font-size:.82rem}.ai-page .ai-builder,.ai-page .report-panel,.ai-page .ai-library,.predict-page .form-panel,.predict-page .result-panel,.history-page>section.panel{padding:.7rem}.ai-page .ai-step-heading p{display:none}.ai-page .ai-prediction-card{min-height:3.6rem}}@media (width<=900px){.ai-page .ai-library-list{grid-template-columns:repeat(auto-fill,minmax(min(100%,14rem),1fr))}.ai-page .ai-library-card{cursor:pointer;text-align:left;min-height:8.5rem}.ai-page .ai-library-card.is-active{border-color:var(--accent);box-shadow:inset 4px 0 var(--accent)}}
