/* Focused workflow: one decision per page, generous readable controls. */
:root{--ink:#273c37;--muted:#6d7772;--green:#216e59;--green-deep:#185441;--pale:#edf5ee;--bg:#f7f8f4;--line:#e1e7df;--radius:16px}
body{background:var(--bg);font-size:15px}
.rail{position:sticky;top:0;width:100%;height:auto;min-height:88px;padding:16px 4vw;display:flex;flex-direction:row;align-items:center;gap:48px;background:#fbfcf9ee;backdrop-filter:blur(12px);border-right:0;border-bottom:1px solid var(--line);z-index:20}
.brand{margin:0;flex-shrink:0}.brand-mark{background:var(--green);border-radius:12px}
.rail>.workflow-nav{display:flex!important;align-items:center;gap:20px;flex:1;justify-content:center;margin-top:0;flex-wrap:nowrap}
.setup-parameters [hidden]{display:none!important}
.workflow-nav .nav{width:auto;display:flex;align-items:center;gap:12px;padding:10px 20px;margin:0;border-radius:30px;font-weight:600;white-space:nowrap;background:transparent}
.workflow-nav .nav span{display:grid;place-items:center;background:#e9ede7;color:#69776d;border-radius:50%;width:30px;height:30px;font-size:12px;letter-spacing:1px}
.workflow-nav .nav.active{color:var(--green);background:#e8f0e7}.workflow-nav .nav.active span{background:var(--green);color:#fff}
.utility-menu{position:relative}.utility-menu>summary{cursor:pointer;font-size:14px;padding:10px}.utility-menu nav{position:absolute;right:0;top:40px;width:185px;padding:12px;background:white;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 30px #253a3214}.utility-menu .nav{margin:0}
.shell{margin:0;width:100%;min-width:0}.topbar{display:none}main{max-width:1200px;margin:auto;padding:38px 34px 70px}.page-heading{margin-bottom:26px;align-items:center}.page-heading h1{font-size:30px;margin:6px 0 10px;letter-spacing:0}.page-heading p{font-size:15px;margin:0;color:var(--muted)}
.step-eyebrow{font-size:12px;letter-spacing:2px;color:var(--green);font-weight:700}.panel{border:1px solid var(--line);box-shadow:none;background:white;border-radius:16px}
.button{min-height:42px;border-radius:10px;padding:10px 18px}.button.primary{background:var(--green);border-color:var(--green)}.button.primary:hover:not(:disabled){background:var(--green-deep);border-color:var(--green-deep)}
.preset-fieldset{border:0;padding:0;margin:0 0 24px}.preset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.preset-card{position:relative;display:flex;flex-direction:column;gap:10px;border:1.5px solid var(--line);border-radius:16px;background:white;padding:22px;cursor:pointer;transition:border-color .18s,background .18s,transform .18s}.preset-card:hover{border-color:#91b59b;transform:translateY(-2px)}.preset-card:has(input:checked){border-color:var(--green);background:#f0f6ed;box-shadow:0 0 0 1px var(--green)}.preset-card input{position:absolute;right:20px;top:22px;accent-color:var(--green);width:18px;height:18px}.preset-number{font-size:12px;color:#718674;letter-spacing:2px}.preset-card strong{font-size:18px;line-height:1.5}.preset-card>span:last-child{color:var(--muted);font-size:13px;line-height:1.7}
.setup-parameters{padding:26px 28px}.setup-parameters .panel-heading h2{margin:0;font-size:18px}.setup-parameters .panel-heading>span{color:var(--muted)}
.setup-grades{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;border-bottom:1px solid var(--line);padding:14px 0 24px;margin-bottom:22px}.setup-grades>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}.setup-grades h3{grid-column:1/-1;font-size:15px;margin:0 0 3px}
.setup-common{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 24px}.setup-parameters label{display:flex;flex-direction:column;gap:8px;font-size:13px;color:#52665b;font-weight:600;min-width:0}.setup-parameters input,.setup-order select{width:100%;height:43px;background:#fafbf8;border:1px solid #dae3d7;border-radius:8px;padding:8px 12px;font-size:16px;color:var(--ink);min-width:0;font-variant-numeric:tabular-nums}.setup-order{margin-top:20px;font-size:13px}.setup-order summary{cursor:pointer}.setup-order select{margin-top:12px;max-width:300px;font-size:14px}
.workflow-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px}.example-label{font-size:13px;color:var(--muted)}.next-step{min-width:210px;display:flex;justify-content:space-between;align-items:center}.next-step span{font-size:21px}
#page-live .scenario-bar{padding:0 0 18px;background:none;border:0;margin-bottom:0}#page-live .scenario-links{display:none}#page-live .workspace-grid{display:block}#page-live .insights{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}#page-live .grade-panel{display:none}#page-live .assumptions,#page-live .metric-explanation{display:none}#page-live .inspector{grid-column:1/-1;padding:14px 20px}#page-live .scene-panel{overflow:hidden}#page-live .scene-explanation{display:none}.scene-3d{min-height:490px}.scene-toolbar{font-size:13px}.scene-toolbar button{font-size:13px}.scene-panel .panel-heading{padding-bottom:10px}
.result-overview{padding:22px 26px;margin:20px 0}.result-overview h2{font-size:17px;margin-bottom:12px}#result-summary{font-size:15px;margin-bottom:16px}#result-grades{overflow-x:auto}#result-grades table{width:100%;border-collapse:collapse;font-size:14px}#result-grades th,#result-grades td{padding:12px 14px;text-align:left;border-bottom:1px solid var(--line);white-space:nowrap}#result-grades thead{background:#f5f8f1}#result-grades tbody tr:last-child>*{border-bottom:0}#page-compare .chart-panel{margin-bottom:20px}.research-tools{padding:18px 22px;margin-top:20px}.research-tools>summary{cursor:pointer;font-weight:600}.research-tools[open]>summary{margin-bottom:20px}.legacy-export{display:none}#legacy-comparison{margin-top:16px}.kpi-grid{gap:16px}#kpis>div,#kpis>article{padding:24px}.study-setup{background:#fff}
@media(max-width:850px){.rail{gap:16px;padding:12px 20px;min-height:74px}.workflow-nav{gap:5px}.workflow-nav .nav{padding:8px 11px;gap:7px;font-size:13px}.workflow-nav .nav span{width:25px;height:25px;font-size:10px}main{padding:28px 22px 50px}.preset-card{padding:18px}.preset-card strong{font-size:16px}.setup-grades{gap:16px}.setup-common{gap:18px}.scene-3d{min-height:430px}}
@media(max-width:600px){.rail{flex-wrap:wrap;gap:8px;justify-content:space-between;padding:10px 16px}.brand{font-size:17px}.brand-mark{width:30px;height:30px}.workflow-nav{order:3;width:100%;flex-basis:100%;justify-content:space-between}.workflow-nav .nav{flex:1;justify-content:center;padding:8px 5px;font-size:12px}.utility-menu{font-size:13px}main{padding:24px 16px 40px}.page-heading h1{font-size:25px}.page-heading{gap:12px;flex-wrap:wrap}.page-heading .actions{width:100%;justify-content:flex-end}.preset-grid{grid-template-columns:1fr;gap:10px}.preset-card{padding:14px 20px;gap:4px}.preset-card .preset-number{display:none}.preset-card input{top:17px}.preset-card strong{font-size:16px}.preset-card>span:last-child{font-size:12px}.setup-parameters{padding:20px 16px}.setup-grades{grid-template-columns:1fr;gap:14px;padding-top:4px}.setup-grades>div{grid-template-columns:42px 1fr 1fr;align-items:end}.setup-grades h3{grid-column:auto;margin-bottom:11px}.setup-common{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.setup-parameters label{font-size:12px}.workflow-footer{align-items:stretch;flex-direction:column;gap:12px}.next-step{width:100%}.example-label{text-align:center;font-size:12px}.scene-3d{min-height:360px}.scene-toolbar{align-items:flex-start;gap:8px;flex-wrap:wrap}.scene-toolbar>div{display:flex;flex-wrap:wrap}.scene-panel .panel-heading{flex-wrap:wrap}.scene-toolbar .legend{font-size:12px}.result-overview{padding:20px 16px}.kpi-grid{gap:8px}#kpis>div,#kpis>article{padding:15px 10px}.research-tools{padding:16px 12px}#result-grades th,#result-grades td{padding:10px;font-size:12px}.file-menu .menu-content{right:0;left:auto}}
@media(prefers-reduced-motion:reduce){.preset-card{transition:none}.preset-card:hover{transform:none}}
.minimal-scene:not(.show-labels) .scene-station-label span{display:none!important}
.minimal-scene:not(.show-labels) .scene-station-label{min-width:28px!important;padding:3px 5px!important}
#status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.custom-arrangement{padding:14px 18px;border-radius:10px;background:#eaf2e8;color:var(--green);font-size:14px}
@media(max-width:600px){#kpis{display:grid;grid-template-columns:1fr 1fr}#kpis>.kpi:first-child{grid-column:1/-1;border-bottom:1px solid var(--line)}#kpis>.kpi:first-child .label{font-size:14px}#kpis>.kpi:first-child strong{font-size:34px}}
