:root{--navy:#153d5b;--navy-dark:#102d45;--teal:#127b79;--ink:#182d3d;--muted:#647582;--border:#dce4e9;--surface:#fff;--page:#f3f6f8;--red:#ae3f3f;--amber:#91621d;--radius:13px;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--page);font-size:14px;line-height:1.5}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.48}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #65b6ca;outline-offset:3px}a{color:var(--navy)}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:20px;top:-60px;background:white;z-index:20;padding:10px 15px}.skip-link:focus{top:10px}.site-header{height:72px;background:white;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 34px;gap:16px}.brand{display:flex;align-items:center;gap:14px;font-size:17px;color:var(--navy);font-weight:550;white-space:nowrap}.brand-mark{font-size:23px;font-weight:800;letter-spacing:-1px}.brand-divider{width:1px;height:25px;background:#d0dce4}.header-meta{display:flex;gap:18px;align-items:center}.beta-tag{font-size:10px;letter-spacing:1.3px;font-weight:750;color:var(--amber);background:#f9f1df;padding:5px 9px;border-radius:5px}.status-pill{font-size:12px;color:var(--muted);display:inline-flex;align-items:center;gap:7px}.status-dot{width:7px;height:7px;background:#b2bec7;border-radius:100%}.status-pill.ready .status-dot{background:#2a8a65}.status-pill.error .status-dot{background:var(--red)}main{max-width:1680px;margin:auto;padding:28px 32px 0}.page-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.5px;color:var(--muted)}h1{font-size:28px;letter-spacing:-.7px;line-height:1.2;margin:7px 0 9px;font-weight:650}h2{font-size:18px;margin:4px 0;font-weight:650;letter-spacing:-.25px}h3{font-size:15px;font-weight:650;margin:0}p{margin:0}.page-intro p{font-size:13px;color:var(--muted)}.intro-actions{display:flex;gap:8px;flex-shrink:0}.button{border:1px solid var(--border);border-radius:7px;padding:9px 13px;background:white;font-size:12px;font-weight:600;transition:background .15s}.button:hover:not(:disabled){background:#edf4f7}.button.quiet{border-color:transparent;background:transparent;color:var(--muted)}.button.primary{background:var(--navy);color:white;border-color:var(--navy);display:flex;align-items:center;justify-content:center;gap:18px;white-space:nowrap;padding:12px 18px;font-size:13px}.button.primary:hover:not(:disabled){background:var(--navy-dark)}.reference-note{display:flex;gap:11px;align-items:flex-start;padding:12px 16px;background:#edf3f7;border:1px solid #d6e3ec;border-radius:8px;margin-bottom:22px;font-size:12px;color:#496171}.reference-note strong{color:var(--navy)}.note-icon{border:1px solid #8ba6b8;border-radius:50%;width:17px;height:17px;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;margin-top:1px}.workspace{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:24px;align-items:start}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 2px 5px #17384903}.entry-panel{overflow:hidden}.panel-heading{padding:21px 22px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.count-label{font-size:11px;white-space:nowrap;background:#f0f4f6;padding:5px 8px;border-radius:20px;color:var(--muted)}.completion{padding:0 22px 14px}.completion progress{display:block;width:100%;height:5px;border:0;border-radius:5px;overflow:hidden;background:#e8eef1;accent-color:var(--teal)}progress::-moz-progress-bar{background:var(--teal)}progress::-webkit-progress-bar{background:#e8eef1}progress::-webkit-progress-value{background:var(--teal)}.completion span{display:block;margin-top:7px;font-size:10px;color:var(--muted)}.section-nav{display:flex;gap:6px;padding:11px 18px;border-top:1px solid #edf1f4;border-bottom:1px solid var(--border);overflow-x:auto;scrollbar-width:thin;background:#fbfcfd}.section-nav a{font-size:10px;color:#536a7c;text-decoration:none;white-space:nowrap;padding:4px 7px;border-radius:4px}.section-nav a:hover{background:#e6eef3;color:var(--navy)}.field-sections{max-height:calc(100vh - 400px);min-height:380px;overflow-y:auto;scrollbar-width:thin;scroll-behavior:smooth}.field-section{padding:18px 22px 20px;border-bottom:1px solid #e6edf1;scroll-margin-top:4px}.field-section:last-child{border-bottom:0}.section-title{display:flex;align-items:center;gap:9px;margin-bottom:16px;font-size:11px;letter-spacing:1px;font-weight:750;text-transform:uppercase;color:#4f6574}.section-number{font-size:9px;width:21px;height:21px;display:grid;place-items:center;border:1px solid #dbe5eb;border-radius:50%;letter-spacing:0;color:#648291;background:#f8fafb}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px}.field{min-width:0}.field.wide{grid-column:1/-1}.field-label{display:block;font-size:11px;font-weight:600;color:#3c5261;line-height:1.45;margin:0 0 6px;min-height:16px}.field-label .unit{font-size:10px;color:#728490;font-weight:400;margin-left:4px}.field select,.number-input{height:38px;background:#fff;border:1px solid #d4dfe6;border-radius:6px;color:var(--ink);width:100%;padding:7px 10px;font-size:12px;min-width:0}.field select:invalid{color:#85939d}.field select{padding-right:22px}.number-input::placeholder{color:#99a6ae;font-size:11px}.field input:hover,.field select:hover{border-color:#a1b8c6}.boolean-group{display:flex;border:1px solid #d4dfe6;border-radius:6px;height:38px;overflow:hidden}.boolean-option{flex:1;position:relative;display:flex;align-items:center;justify-content:center;font-size:12px;color:#758591;background:#fff;cursor:pointer}.boolean-option+.boolean-option{border-left:1px solid #e0e7ec}.boolean-option input{position:absolute;opacity:0;width:1px;height:1px}.boolean-option:has(input:checked){background:#e8f0f5;color:var(--navy);font-weight:650;box-shadow:inset 0 0 0 1px #a9c1d1}.boolean-option:focus-within{outline:2px solid #65b6ca;outline-offset:-2px}.multi-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 14px}.check-option{display:flex;gap:7px;align-items:flex-start;font-size:11px;color:#4b6272;cursor:pointer;line-height:1.4}.check-option input{accent-color:var(--navy);margin:2px 0 0;flex-shrink:0;width:14px;height:14px}.field-help{margin-top:5px;font-size:10px;color:#738692}.field-help summary{cursor:pointer;font-size:10px;color:#698397;list-style:none;display:inline-flex;align-items:center;gap:4px}.field-help summary::before{content:'ⓘ';font-size:11px}.field-help p{padding:6px 0 2px;line-height:1.6}.field-error{font-size:10px;color:var(--red);margin-top:5px}.field.has-error select,.field.has-error .number-input,.field.has-error .boolean-group{border-color:#c96c6c;background:#fffafa}.form-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 22px;border-top:1px solid var(--border);background:#fbfcfd}.form-footer strong{display:block;font-size:10px;color:#526878;font-weight:500}.form-footer span:not(.button span){display:block;font-size:10px;color:#80929d;margin-top:4px}.form-errors{padding:14px 20px;background:#fff4f2;border-bottom:1px solid #eed3d0;color:#8c3434;font-size:12px}.form-errors ul{padding-left:17px;margin:6px 0 0;font-size:11px}.form-errors a{color:#8c3434}.results-panel{position:sticky;top:20px}.results-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:3px 0 16px}.results-heading h2{font-size:19px}.result-status{font-size:10px;color:#788c99}.result-status.current{color:var(--teal);background:#e9f5ef;padding:4px 8px;border-radius:20px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}.metric{padding:16px 13px 14px;background:#fff;border:1px solid var(--border);border-radius:10px;min-width:0}.metric-horizon{font-size:9px;letter-spacing:1.2px;font-weight:700;color:#72828e}.metric-value{font-size:32px;letter-spacing:-1.4px;line-height:1.25;font-weight:600;color:var(--navy);font-variant-numeric:tabular-nums}.metric-unit{font-size:14px;margin-left:2px;color:#6c828f}.metric-caption{font-size:9px;color:#84949f;display:block;margin-top:4px;white-space:nowrap}.curve-panel{padding:20px 18px 0;overflow:hidden}.curve-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;padding:0 3px}.curve-heading p{font-size:10px;color:#80919c;margin-top:4px}.curve-legend{display:flex;gap:5px;align-items:center;font-size:9px;color:#6b7f8d;white-space:nowrap;padding-top:3px}.curve-legend span{width:17px;height:2px;background:var(--navy)}.chart-wrap{position:relative;min-height:290px;display:flex;align-items:center;justify-content:center;margin-top:12px}#survival-chart{width:100%;height:auto;display:block;overflow:visible}.chart-empty{text-align:center;max-width:260px;padding:30px 14px 40px}.empty-symbol{margin:0 auto 13px;width:43px;height:43px;border-radius:12px;background:#edf3f6;color:#8aa5b5;display:grid;place-items:center;font-size:28px}.chart-empty h4{font-size:13px;color:#526b7b;font-weight:550;margin:0 0 8px}.chart-empty p{font-size:11px;color:#8a9ba6;line-height:1.7}.chart-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #e6edf1;margin-top:9px;padding:12px 3px;font-size:9px;color:#8294a1}.chart-footer strong{font-weight:500}.text-button{font-size:10px;color:var(--navy);border:0;padding:4px 0;background:none;text-decoration:none}.text-button:hover:not(:disabled){text-decoration:underline}.summary-panel{margin-top:14px;padding:18px 21px}.summary-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.summary-panel p{font-size:12px;color:#586f7e;line-height:1.7}.summary-panel .summary-probabilities{font-size:11px;margin-top:8px;color:var(--navy)}.summary-panel p.small-note{font-size:10px;color:#927b47;margin-top:8px}.annual-details{margin-top:12px;padding:12px 19px;font-size:11px}.annual-details summary{cursor:pointer;color:#5a7282}.annual-details table{width:100%;border-collapse:collapse;margin-top:12px;font-variant-numeric:tabular-nums}.annual-details th{text-align:left;color:#718591;font-size:10px;font-weight:500;padding-bottom:7px}.annual-details td{padding:6px 0;border-top:1px solid #edf1f4}.annual-details th:last-child,.annual-details td:last-child{text-align:right}.results-footnote{color:#8798a3;font-size:10px;line-height:1.7;margin:15px 4px 0;max-width:550px}.page-footer{display:flex;justify-content:space-between;gap:10px;margin-top:26px;border-top:1px solid #dfe7ec;padding:17px 0;color:#91a0aa;font-size:10px}.preview-banner,.error-banner{border-radius:7px;padding:10px 14px;margin-bottom:14px;font-size:11px;line-height:1.6}.preview-banner{background:#fff5dd;color:#8b692e;border:1px solid #efdeb1}.error-banner{background:#fff0ed;color:#a13e33;border:1px solid #f2d2cd}.loading-text{padding:30px;color:var(--muted)}.chart-grid{stroke:#e5edf1;stroke-width:1;stroke-dasharray:3 4}.chart-axis{stroke:#bccdd6;stroke-width:1}.chart-label{fill:#79909d;font-size:11px;font-family:inherit}.chart-axis-title{fill:#6c8391;font-size:11px;font-family:inherit}.survival-line{fill:none;stroke:#153d5b;stroke-width:2.6;stroke-linejoin:round;stroke-linecap:round}.horizon-dot{fill:#fff;stroke:#153d5b;stroke-width:2}.horizon-dot:hover{fill:#153d5b}
@media(min-width:1500px){.field-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.metric-value{font-size:38px}.field-sections{max-height:calc(100vh - 410px)}}
@media(max-width:1150px){main{padding:22px 22px 0}.site-header{padding:0 24px}.workspace{gap:18px;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}.metric-grid{gap:7px}.metric{padding:13px 9px}.metric-value{font-size:27px}.metric-caption{font-size:8px}.form-footer{flex-direction:column;align-items:stretch}.form-footer .primary{width:100%}.field-section{padding:17px}.panel-heading{padding:18px 17px 12px}.completion{padding:0 17px 13px}.curve-legend{display:none}}
@media(max-width:900px){.workspace{grid-template-columns:1fr}.results-panel{position:static;scroll-margin-top:15px}.field-sections{max-height:none;min-height:0;overflow:visible}.form-footer{flex-direction:row;align-items:center}.form-footer .primary{width:auto}.metric-value{font-size:34px}.metric-caption{font-size:10px}.chart-wrap{min-height:270px}.curve-legend{display:flex}.intro-actions{gap:3px}.site-header{height:63px}.brand{font-size:15px}.header-meta{gap:8px}.status-pill{font-size:10px}.beta-tag{font-size:9px}.page-intro{align-items:flex-start}h1{font-size:25px}}
@media(max-width:560px){main{padding:20px 14px 0}.site-header{padding:0 16px;gap:8px}.brand{gap:8px;font-size:12px}.brand-mark{font-size:20px}.header-meta{flex-direction:column;align-items:flex-end;gap:3px}.beta-tag{font-size:8px;padding:3px 6px}.status-pill{font-size:9px}.page-intro{display:block;margin-bottom:15px}.page-intro h1{font-size:25px;max-width:330px}.page-intro p{font-size:12px}.intro-actions{margin-top:15px}.reference-note{font-size:11px;padding:11px;margin-bottom:17px}.field-grid{gap:14px 13px}.field-label{font-size:11px}.field select{font-size:11px}.field.wide{grid-column:1/-1}.field-section{padding:17px 15px}.panel-heading{padding:18px 15px 12px}.count-label{font-size:9px;padding:4px 6px}.entry-panel h2{font-size:16px}.completion{padding:0 15px 12px}.form-footer{display:block;padding:15px}.form-footer .primary{width:100%;margin-top:12px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.metric{padding:14px 15px}.metric-value{font-size:34px}.metric-caption{font-size:9px}.curve-panel{padding:18px 10px 0}.chart-wrap{min-height:225px}.chart-footer{font-size:9px;gap:8px}.text-button{font-size:9px}.results-heading{margin-top:5px}.result-status{font-size:9px}.curve-heading{padding:0 6px}.curve-heading h3{font-size:14px}.curve-heading p{font-size:9px}.curve-legend{font-size:8px}.multi-options{gap:9px}.summary-panel{padding:16px}.page-footer{font-size:9px}}

.form-errors ul{max-height:150px;overflow:auto}
@media(max-width:560px){.chart-label,.chart-axis-title{font-size:15px}}
@media(max-width:560px){.field select,.number-input{font-size:16px;height:44px}.boolean-group{height:44px}.boolean-option{font-size:14px}.field-label{font-size:12px}.check-option{font-size:12px;min-height:28px}.field-help summary{font-size:11px}.chart-label{font-size:18px}}

.text-button[aria-disabled="true"]{opacity:.48;cursor:default;pointer-events:none}

.eligibility-gate{padding:28px 23px;color:var(--muted);font-size:12px;background:#fafcfd;border-top:1px solid var(--border);min-height:190px}
.eligibility-gate strong{display:block;color:var(--navy);font-size:14px;font-weight:600;margin-bottom:7px}
.procedure-dialog{border:1px solid var(--border);border-radius:14px;padding:28px;width:min(460px,calc(100vw - 32px));color:var(--ink);box-shadow:0 24px 80px #102d4533}
.procedure-dialog::backdrop{background:#102d4566}
.procedure-dialog h2{font-size:22px;margin:10px 0 12px}
.procedure-dialog p{font-size:14px;color:#536b7a;line-height:1.7;margin-bottom:22px}
.procedure-dialog .primary{width:100%}
#numeric-dialog{width:min(620px,calc(100vw - 32px));max-height:85vh;overflow:auto}
#numeric-dialog-list{padding-left:20px;font-size:13px;line-height:1.6;margin:0 0 22px}
#numeric-dialog-list li+li{margin-top:12px}
#numeric-keep{display:block;margin:14px auto 0}
.shap-panel{margin-top:14px;padding:20px}.shap-panel h3{margin-bottom:10px}.shap-panel .small-note{line-height:1.65}.shap-chart-wrap{overflow-x:auto}.shap-panel svg{width:100%;min-width:600px;height:auto;display:block;margin:15px 0}.shap-positive{fill:#b45648}.shap-negative{fill:#367d9b}.shap-zero{stroke:#9baeb9;stroke-width:1}.shap-text{font-size:12px;fill:#536b7a;font-family:inherit}
.results-panel{min-width:0}.shap-chart-wrap{max-width:100%}
