@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');
:root{--bg:#f4f5ee;--paper:#fdfef9;--ink:#263d35;--muted:#5e7064;--line:#dce3d8;--green:#315f4f;--soft:#e9eee1;--rust:#cf7250;font-family:'DM Sans',sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button,input,select{font:inherit}button,summary{cursor:pointer}a{color:inherit}button,a,input,select,summary{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #bc873c;outline-offset:3px}button:disabled{opacity:.5;cursor:wait}.site-header{height:81px;display:flex;align-items:center;padding:0 36px;border-bottom:1px solid var(--line);gap:30px}.brand{display:flex;align-items:center;font-size:25px;font-weight:700;letter-spacing:-1px;text-decoration:none}.brand>span:last-child{font-weight:400}.brand-mark{display:grid;grid-template-columns:repeat(2,8px);gap:3px;margin-right:12px;transform:rotate(-8deg)}.brand-mark i{height:8px;background:var(--green);border-radius:2px}.brand-mark i:last-child{background:var(--rust)}.header-tag{font-size:12px;letter-spacing:1.7px;padding-left:27px;border-left:1px solid var(--line);color:var(--muted)}.method-link{margin-left:auto;font-size:13px;text-decoration:none}.method-link span{margin-left:12px;color:var(--rust)}.app-layout{display:grid;grid-template-columns:365px minmax(0,1fr);max-width:1800px;margin:auto}.settings{background:#fafbf5;border-right:1px solid var(--line);padding:31px 25px 25px;min-width:0}.settings-heading{display:flex;align-items:center;justify-content:space-between}.eyebrow{font-size:12px;font-weight:600;letter-spacing:1.55px;color:var(--muted)}.settings-heading h2{font-family:'Instrument Serif',Georgia,serif;font-weight:400;font-size:34px;letter-spacing:-.5px;margin:9px 0 19px}.settings-icon{font-size:25px;align-self:flex-start;color:var(--green)}.preset-row{display:flex;flex-wrap:wrap;gap:5px;align-items:center;padding:3px 0 22px}.preset-row>span{font-size:11px;letter-spacing:1px;margin-right:1px;color:var(--muted)}.preset-row button{font-size:12px;color:var(--muted);background:transparent;border:1px solid var(--line);padding:6px 7px;border-radius:3px}.preset-row button:hover,.preset-row button.selected{background:var(--soft);color:var(--green);border-color:#a4b49f}.settings-section{padding:20px 0;border-top:1px solid var(--line)}h3{font-size:14px;margin:0 0 16px;font-weight:600}.settings-section h3{display:flex;justify-content:space-between;align-items:center;gap:10px}.settings-section h3>span{font-size:11px;font-weight:500;letter-spacing:.9px;color:var(--muted)}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px}.settings label{font-size:12px;color:var(--muted);display:block;position:relative}input[type=number],input[type=time],select{display:block;background:var(--paper);border:1px solid #d7dfd2;border-radius:3px;color:var(--ink);padding:10px 8px;width:100%;font-size:14px;min-width:0;margin-top:7px;font-variant-numeric:tabular-nums}input[type=time]{padding-inline:6px;font-size:14px}.field-note{color:var(--muted);font-size:12px;line-height:1.8;margin:10px 0 0}.mod-column-labels,.mod-input-row{display:grid;grid-template-columns:78px 1fr 1fr 1.12fr;gap:7px;align-items:center}.mod-column-labels{font-size:11px;letter-spacing:1px;color:var(--muted);margin:0 0 10px}.mod-column-labels span:not(:first-child){text-align:center}.mod-input-row{margin-top:9px}.mod-input-row input{padding:9px 5px;font-size:13px;margin-top:0;text-align:center;appearance:textfield}.mod-input-row input::-webkit-inner-spin-button{appearance:none}.mod-name{display:flex;align-items:center;gap:7px;font-size:13px;white-space:nowrap}.mod-dot{height:6px;width:6px;display:inline-block;border-radius:50%;flex-shrink:0}.mod-dot.xray{background:#447b87}.mod-dot.us{background:#ba8a32}.mod-dot.ct{background:#cf7250}.mod-dot.mr{background:#766ba0}.percent-input input{padding-right:13px}.percent-input>span:last-child{position:absolute;right:4px;top:10px;font-size:11px}.slider-label{display:flex!important;justify-content:space-between;color:var(--ink)!important;margin-top:4px}.slider-label output{font-weight:600}input[type=range]{accent-color:var(--green);width:100%;cursor:pointer;margin:13px 0 5px}.range-ends{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.settings-section>.two-fields{margin-top:19px}.input-unit{position:relative;display:block}.input-unit>span{position:absolute;right:9px;top:12px;font-size:12px;color:var(--muted)}.input-unit input{padding-right:32px}.inline-field{display:flex!important;justify-content:space-between;align-items:center;gap:10px;margin-top:14px}.inline-field>.input-unit,.inline-field>input{width:82px;flex-shrink:0}.inline-field input{margin-top:0}.inline-field .input-unit>span{top:11px}.run-settings .two-fields{margin-top:0}.shuffle{position:absolute;right:0;top:-5px;background:transparent;border:0;padding:2px 5px;font-size:17px;color:var(--green)}.run-actions{padding-top:1px}.primary-button,.secondary-button{display:flex;align-items:center;justify-content:space-between;width:100%;border-radius:4px;padding:14px;font-size:14px}.primary-button{background:var(--green);color:white;border:1px solid var(--green)}.primary-button:hover{background:#234a3d}.secondary-button{background:transparent;border:1px solid var(--line);color:var(--green);margin-top:9px;padding-block:11px}.secondary-button:hover{background:var(--soft)}#busy{font-size:13px;line-height:1.8;color:var(--green);margin-top:12px;min-height:18px}.htmx-indicator{opacity:0}.htmx-request .htmx-indicator,.htmx-request.htmx-indicator{opacity:1}#network-error{font-size:13px;line-height:1.7;color:#a0472e;margin:10px 0}.settings-bottom{border-top:1px solid var(--line);margin-top:12px;padding-top:19px;font-size:11px;letter-spacing:.8px;color:var(--muted)}.settings-bottom span{margin-inline:6px}main{min-width:0;padding:38px 40px 0}.hero{padding-bottom:33px}.hero>.eyebrow{color:var(--green)}h1{font-family:'Instrument Serif',Georgia,serif;font-size:clamp(42px,4.8vw,70px);font-weight:400;line-height:.99;letter-spacing:-1.5px;margin:18px 0 19px}h1 em{font-weight:400;color:#607c5f}.hero>p{font-size:15px;line-height:1.9;color:var(--muted);max-width:580px;margin:0}.hero-mods{display:flex;flex-wrap:wrap;gap:20px;margin-top:23px;font-size:12px;align-items:center}.hero-mods>span{display:flex;align-items:center;gap:7px}.hero-mods .hero-seven{font-size:12px;color:var(--muted);border-left:1px solid var(--line);padding-left:20px}.results-top{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:22px 0 16px;gap:15px}.result-state{font-size:12px;color:var(--green);display:flex;align-items:center;gap:7px;white-space:nowrap}.result-state i{width:5px;height:5px;border-radius:50%;background:var(--green)}.result-state.stale{color:#a56522}.capacity-strip{display:flex;gap:17px;align-items:center;font-size:12px;color:var(--muted);padding-bottom:17px;flex-wrap:wrap}.capacity-strip strong{color:var(--ink);font-weight:600}.capacity-detail{margin-left:auto;font-size:11px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);border-radius:5px;background:var(--paper);overflow:hidden}.metric-grid article{padding:20px 17px 0;border-right:1px solid var(--line);display:flex;flex-direction:column}.metric-grid article:last-child{border-right:0}.metric-label{font-size:11px;letter-spacing:.8px;color:var(--muted);min-height:16px}.metric-number{font-size:clamp(27px,3vw,42px);letter-spacing:-1.5px;font-weight:500;line-height:1.35;white-space:nowrap}.metric-number small{font-size:13px;letter-spacing:0;margin-left:5px;color:var(--muted);font-weight:400}.metric-grid p{font-size:12px;color:var(--muted);line-height:1.7;margin:4px 0 17px;min-height:27px}.metric-comparison{margin-top:auto;border-top:1px solid var(--line);padding:11px 0;font-size:11px;color:var(--muted);display:flex;justify-content:space-between;gap:6px}.metric-comparison b{color:var(--green);font-weight:500;white-space:nowrap}.panel{background:var(--paper);border:1px solid var(--line);border-radius:5px;padding:23px 22px 16px;margin-top:18px;min-width:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.panel-heading h2{font-family:'Instrument Serif',Georgia,serif;font-size:29px;letter-spacing:-.5px;font-weight:400;margin:7px 0 0}.panel-heading .eyebrow{font-size:11px;letter-spacing:1.2px}.timeline-controls{display:flex;align-items:center;gap:13px}.timeline-controls>span{font-size:15px;font-variant-numeric:tabular-nums}.timeline-controls button{background:var(--soft);border:1px solid #d5dece;border-radius:3px;color:var(--green);font-size:13px;padding:9px 12px;white-space:nowrap}.timeline-controls button>span{margin-left:5px}.day-svg{width:100%;display:block;margin-top:19px;overflow:visible}.day-svg text,.histogram-svg text,.convergence-svg text{font:9px 'DM Sans',sans-serif;fill:var(--muted)}.day-svg .mod-label{fill:var(--ink);font-size:14px;font-weight:500}.day-svg .mod-sub{font-size:11px}.day-svg .closing-label{font-size:11px;fill:#a06b48;letter-spacing:.7px}.exam{transition:opacity .15s,filter .15s}.exam:hover{opacity:.65}.exam.in-progress{stroke:#263d35;stroke-width:2;filter:brightness(1.15)}.timeline-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}.timeline-key,.chart-key{display:flex;flex-wrap:wrap;align-items:center;gap:15px;font-size:11px;color:var(--muted)}.timeline-key>span,.chart-key>span{display:flex;align-items:center;gap:5px}.timeline-key i{width:10px;height:6px;display:inline-block}.key-solid{background:#758a79;border-radius:1px}.key-dashed{border:1px dashed #758a79;border-radius:1px}.key-wait{border-bottom:2px solid #758a79;height:2px!important}.example-outcome{font-size:12px;color:#9c6545}.timeline-panel input[type=range]{margin-top:15px}.chart-note{color:var(--muted);font-size:12px;line-height:1.8;margin:8px 0 0}.chart-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.chart-grid>.panel{padding-inline:18px}.chart-grid .panel-heading h2{font-size:26px}.chart-key{margin-top:17px;gap:12px;font-size:11px}.chart-key i{width:7px;height:7px;border-radius:1px}.current-key{background:var(--rust)}.buffer-key{background:#3e7a69}.histogram-svg,.convergence-svg{display:block;width:100%;margin-top:12px}.histogram-svg text,.convergence-svg text{font-size:13px}.histogram-svg text:last-child,.histogram-svg text:nth-last-child(2),.convergence-svg text:last-child,.convergence-svg text:nth-last-child(2){font-size:12px;letter-spacing:.5px}.buffer-pill{background:var(--soft);padding:8px 10px;border-radius:3px;font-size:12px;white-space:nowrap;color:var(--green)}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px;margin-top:22px;white-space:nowrap}thead{border-bottom:1px solid var(--line)}th,td{padding:12px 10px;border-bottom:1px solid #e9ece4;font-weight:400}th:first-child{padding-left:0}thead th{color:var(--muted);font-size:12px;font-weight:400}thead th:not(:first-child),tbody td{text-align:right}tbody th{color:var(--muted)}.comparison-panel tbody td:last-child{color:var(--green)}.comparison-panel thead th:last-child{color:var(--green)}tbody tr:last-child th,tbody tr:last-child td{border-bottom:0}.tradeoff{display:flex;gap:20px;background:var(--soft);padding:14px 16px;margin-top:17px;align-items:flex-start}.tradeoff>span{font-size:11px;letter-spacing:.7px;white-space:nowrap;color:var(--green);margin-top:4px}.tradeoff p{font-size:13px;line-height:1.8;color:var(--muted);margin:0}.tradeoff strong{color:var(--green);font-weight:500}.modality-panel tbody th{color:var(--ink)}.modality-panel .mod-dot{margin-right:8px}.result-footnote{font-size:12px;line-height:1.8;color:var(--muted);margin:15px 0}.learn-section{display:grid;grid-template-columns:1fr 1.2fr;gap:40px;padding:42px 0 32px;scroll-margin-top:20px}.learn-intro h2{font:40px/.99 'Instrument Serif',Georgia,serif;letter-spacing:-.6px;margin:15px 0 18px}.learn-intro h2 em{color:#607c5f}.learn-intro p{color:var(--muted);font-size:14px;line-height:1.9;max-width:300px}.lessons{padding-top:3px}.lessons article{display:flex;gap:17px;border-top:1px solid var(--line);padding:17px 0 8px}.lessons article>span{font:24px 'Instrument Serif',Georgia,serif;color:#9ba78d}.lessons h3{font-size:14px;margin:3px 0 8px}.lessons p{font-size:13px;line-height:1.9;color:var(--muted);margin:0 0 11px}.model-notes{border-block:1px solid var(--line);padding:19px 0}.model-notes summary{list-style:none;font-size:13px;display:flex;justify-content:space-between}.model-notes summary::-webkit-details-marker{display:none}.model-notes[open] summary>span{transform:rotate(45deg)}.notes-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding-top:27px}.notes-grid h3{font-size:14px;margin-bottom:10px}.notes-grid p{font-size:13px;color:var(--muted);line-height:1.9;margin-bottom:25px}footer{display:flex;justify-content:space-between;gap:15px;padding:23px 0 28px;font-size:12px;color:var(--muted)}footer i{font-style:normal;color:var(--rust);margin:0 7px}.error-panel{background:#fbede4;border:1px solid #dcaa8f;border-radius:5px;padding:25px;color:#984728;font-size:15px;line-height:1.8}.error-panel p:last-child{font-size:13px}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:1600px){main{padding-inline:60px}.hero{padding-top:12px;padding-bottom:40px}.hero h1{font-size:78px}.metric-grid article{padding-top:25px}.metric-number{font-size:48px}.metric-label{font-size:12px}.metric-grid p,.metric-comparison{font-size:12px}}@media(max-width:1150px){.app-layout{grid-template-columns:335px minmax(0,1fr)}.settings{padding-inline:18px}main{padding:32px 25px 0}.metric-grid{grid-template-columns:1fr 1fr}.metric-grid article:nth-child(2){border-right:0}.metric-grid article:nth-child(-n+2){border-bottom:1px solid var(--line)}.metric-number{font-size:37px}.metric-grid p{min-height:0}.metric-label{font-size:11px}.chart-grid{grid-template-columns:1fr;gap:0}.panel-heading h2{font-size:27px}.capacity-detail{margin-left:0}.learn-section{grid-template-columns:1fr;gap:15px}.learn-intro h2 br{display:none}.learn-intro p{max-width:100%}.mod-column-labels,.mod-input-row{grid-template-columns:74px 1fr 1fr 1.1fr;gap:5px}.site-header{padding-inline:25px}.panel{padding-inline:18px}.timeline-controls{gap:8px}.timeline-controls button{padding-inline:8px}.timeline-bottom{align-items:flex-start;gap:15px}.example-outcome{max-width:105px;text-align:right;line-height:1.6}.timeline-key{gap:8px}.tradeoff{gap:12px}.buffer-pill{font-size:11px}.notes-grid{grid-template-columns:1fr;gap:0}}@media(max-width:760px){.site-header{height:70px;padding:0 22px}.header-tag{display:none}.brand{font-size:23px}.method-link{font-size:12px}.app-layout{display:flex;flex-direction:column}.settings{border-right:0;border-bottom:1px solid var(--line);padding:25px 22px 20px}.settings-heading h2{font-size:32px}.settings-icon{display:none}#settings-form{display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.preset-row{grid-column:1/-1;padding-bottom:20px}.settings-section{padding:19px 0}.settings-section.modalities{grid-row:2/4;grid-column:2}.settings-section.modalities .field-note{margin-top:16px}.run-settings{grid-column:1}.run-actions{grid-column:2;grid-row:4/6;align-self:center}.settings-bottom{font-size:11px}.mod-column-labels,.mod-input-row{grid-template-columns:69px 1fr 1fr 1.1fr}.mod-input-row{margin-top:14px}.mod-input-row input{padding-block:12px}.field-note{font-size:12px}main{padding:30px 22px 0}.hero h1{font-size:58px}.hero>p{max-width:530px}.metric-grid{grid-template-columns:repeat(4,1fr)}.metric-grid article:nth-child(2){border-right:1px solid var(--line)}.metric-grid article:nth-child(-n+2){border-bottom:0}.metric-grid article{padding-inline:12px}.metric-number{font-size:31px}.metric-number small{font-size:12px}.metric-comparison{font-size:11px}.metric-label{font-size:11px}.metric-grid p{min-height:28px}.chart-grid{grid-template-columns:1fr 1fr;gap:14px}.chart-grid .panel-heading h2{font-size:24px}.learn-section{grid-template-columns:1fr 1.2fr;gap:30px}.learn-intro h2{font-size:35px}.learn-intro h2 br{display:block}.day-svg .mod-label{font-size:16px}.day-svg .mod-sub{font-size:12px}.day-svg text{font-size:14px}.day-svg .closing-label{font-size:12px}}@media(max-width:560px){.site-header{padding-inline:18px;gap:10px}.brand{font-size:22px}.method-link{font-size:11px}.method-link span{margin-left:4px}.settings{padding:23px 18px 15px}.settings-heading h2{margin-bottom:14px}.settings-heading{position:relative}.settings-heading:after{content:'EDIT SETTINGS ↓';font-size:11px;letter-spacing:1px;color:var(--muted)}#settings-form{display:block}.preset-row{padding-bottom:16px;gap:7px}.preset-row button{font-size:12px}.settings-section h3{font-size:15px}.settings label{font-size:13px}.two-fields{gap:16px}input[type=number],input[type=time],select{font-size:16px;padding:11px 10px}.settings-section{padding:17px 0}.mod-column-labels,.mod-input-row{grid-template-columns:85px 1fr 1fr 1.15fr;gap:10px}.mod-name{font-size:14px}.mod-input-row{margin-top:10px}.mod-input-row input{font-size:15px;padding-block:10px}.mod-column-labels{font-size:11px}.field-note{font-size:12px;line-height:1.7}.settings-section>.two-fields{margin-top:17px}.settings-section .range-ends{font-size:12px}.percent-input>span:last-child{font-size:12px;top:12px;right:8px}.run-settings .two-fields{margin-top:0}.settings-bottom{font-size:11px;margin-top:4px}.settings .primary-button{font-size:15px;padding:15px}.secondary-button{font-size:14px}.run-actions{padding-top:0}.hero h1{font-size:49px;line-height:1.02}.hero .eyebrow{font-size:11px;letter-spacing:1.2px}.hero>p{font-size:15px}.hero-mods{gap:14px;font-size:12px}.hero-mods .hero-seven{font-size:11px;padding-left:12px}.hero{padding-bottom:23px}main{padding:28px 18px 0}.results-top{align-items:flex-start;gap:9px;flex-direction:column}.results-top .eyebrow{font-size:11px}.result-state{font-size:12px}.capacity-strip{gap:12px;font-size:12px}.capacity-detail{font-size:11px;width:100%;line-height:1.8}.metric-grid{grid-template-columns:1fr 1fr}.metric-grid article{padding:17px 13px 0}.metric-grid article:nth-child(2){border-right:0}.metric-grid article:nth-child(-n+2){border-bottom:1px solid var(--line)}.metric-label{font-size:11px;letter-spacing:.6px}.metric-number{font-size:37px}.metric-number small{font-size:12px}.metric-grid p{font-size:12px;min-height:27px}.metric-comparison{font-size:11px}.panel{padding:18px 14px 14px}.panel-heading{gap:12px;align-items:flex-start}.panel-heading .eyebrow{font-size:11px;letter-spacing:.9px}.panel-heading h2{font-size:26px}.timeline-controls{flex-direction:column;align-items:flex-end;gap:7px}.timeline-controls>span{font-size:14px}.timeline-controls button{font-size:12px;padding:7px 8px}.day-svg{min-width:600px;width:600px;margin-top:16px}.timeline-panel{overflow-x:auto}.timeline-panel .panel-heading{position:sticky;left:0}.timeline-bottom{min-width:350px;gap:15px}.timeline-key{font-size:11px;gap:10px}.example-outcome{font-size:11px;max-width:95px}.timeline-panel .chart-note{max-width:310px;font-size:12px}.timeline-panel input[type=range]{min-width:280px}.chart-grid{grid-template-columns:1fr;gap:0}.chart-grid>.panel{padding-inline:14px}.chart-grid .panel-heading h2{font-size:27px}.chart-key{font-size:11px}.buffer-pill{font-size:11px;padding:7px;white-space:normal;max-width:92px;line-height:1.7;text-align:center}.comparison-panel .panel-heading h2{font-size:25px;max-width:190px}.table-wrap table{font-size:12px}.table-wrap th,.table-wrap td{padding:11px 7px}.table-wrap th:first-child{padding-left:0}thead th{font-size:11px}.tradeoff{flex-direction:column;gap:8px;padding:13px}.tradeoff p{font-size:12px}.tradeoff>span{font-size:11px;margin-top:0}.modality-panel table{min-width:500px}.result-footnote{font-size:12px}.learn-section{grid-template-columns:1fr;gap:12px;padding:32px 0 20px}.learn-intro h2{font-size:39px}.learn-intro h2 br{display:none}.learn-intro p{font-size:14px;max-width:100%}.lessons h3{font-size:14px}.model-notes summary{font-size:12px;line-height:1.7;gap:15px}.notes-grid h3{font-size:14px}.notes-grid p{font-size:13px}footer{font-size:11px;flex-direction:column;gap:10px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.exam{transition:none}}@media(prefers-reduced-motion:no-preference){#results{animation:appear .3s ease}@keyframes appear{from{opacity:.5;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}}
.settings-toggle{display:none}@media(max-width:760px){.settings-toggle{display:flex;align-items:center;gap:12px;background:var(--soft);border:1px solid var(--line);border-radius:3px;padding:10px 12px;font-size:13px;color:var(--green)}.settings-heading:after{display:none}.settings:not(.is-open) #settings-form,.settings:not(.is-open) .settings-bottom{display:none}.settings:not(.is-open) .settings-heading h2{margin-bottom:0}.settings:not(.is-open){padding-bottom:24px}.settings-toggle[aria-expanded=true] span{transform:rotate(45deg)}}
.timeline-panel{overflow-x:auto}.day-svg{min-width:650px}@media(max-width:760px){.chart-grid{grid-template-columns:1fr;gap:0}.metric-grid{grid-template-columns:1fr 1fr}.metric-grid article:nth-child(2){border-right:0}.metric-grid article:nth-child(-n+2){border-bottom:1px solid var(--line)}}@media(max-width:560px){.day-svg{min-width:600px}}

/* Readable supporting type at every breakpoint. */
.settings-section h3{line-height:1.5;flex-wrap:wrap}.settings label{line-height:1.5}.settings input,.settings select{line-height:1.4}.mod-column-labels,.mod-input-row{grid-template-columns:96px 1fr 1fr 1.12fr}.mod-column-labels{letter-spacing:.4px}.mod-input-row input{font-size:16px}.mod-name{font-size:13px}.percent-input>span:last-child{top:12px}.metric-label{line-height:1.5;min-height:35px}.metric-grid p{line-height:1.65}.metric-comparison{flex-wrap:wrap;line-height:1.6}.results-top{flex-wrap:wrap}.result-state{white-space:normal;line-height:1.6}.capacity-strip{line-height:1.7}.timeline-bottom{flex-wrap:wrap}.example-outcome{max-width:none;text-align:left}.panel-heading{flex-wrap:wrap}.buffer-pill{line-height:1.6}.table-wrap table{font-size:14px}.table-wrap thead th{font-size:12px;white-space:normal;line-height:1.5}.comparison-panel tbody th{white-space:normal;min-width:160px;line-height:1.5}.tradeoff{flex-wrap:wrap}.day-svg{min-width:900px}.day-svg text{font-size:16px}.day-svg .mod-label{font-size:17px}.day-svg .mod-sub{font-size:14px}.day-svg .closing-label{font-size:13px}.histogram-svg text,.convergence-svg text{font-size:22px}.histogram-svg text:last-child,.histogram-svg text:nth-last-child(2),.convergence-svg text:last-child,.convergence-svg text:nth-last-child(2){font-size:22px;letter-spacing:0}.hero-mods{line-height:1.7}.timeline-controls{flex-wrap:wrap}footer{flex-wrap:wrap;line-height:1.7}
@media(max-width:1150px){.chart-grid{grid-template-columns:1fr}.mod-column-labels,.mod-input-row{grid-template-columns:91px 1fr 1fr 1.12fr}}
@media(max-width:760px){#settings-form{display:block}.settings-toggle{font-size:13px}.settings-section h3>span{font-size:11px}.mod-column-labels,.mod-input-row{grid-template-columns:96px 1fr 1fr 1.12fr}.settings input,.settings select{font-size:16px}.hero-mods .hero-seven{border-left:0;padding-left:0}.metric-comparison{font-size:12px}.metric-label{font-size:11px}.metric-grid p{font-size:12px}.metric-number small{font-size:13px}.timeline-key,.chart-key{font-size:12px}.timeline-panel .chart-note{font-size:12px;max-width:none}.timeline-bottom{min-width:0}.timeline-controls button{font-size:13px}.buffer-pill{font-size:12px;max-width:none;white-space:normal}.method-link{font-size:12px;max-width:130px;line-height:1.5}.comparison-panel .panel-heading h2{max-width:none}.hero .eyebrow,.results-top .eyebrow,.panel-heading .eyebrow{font-size:11px}.header-tag{display:none}}

/* Slot search: the same readable type scale as the practice simulator. */
[hidden]{display:none!important}.view-tabs{display:flex;border-bottom:1px solid var(--line);gap:25px;margin-bottom:4px}.view-tabs button{border:0;border-bottom:3px solid transparent;background:transparent;color:var(--muted);font-size:15px;padding:14px 0;display:flex;align-items:center;gap:16px}.view-tabs button[aria-selected=true]{border-bottom-color:var(--green);color:var(--green);font-weight:600}.view-tabs button>span{font-size:11px;font-weight:400;letter-spacing:1px}.optimizer-intro{background:#eaf0e3;padding:28px}.optimizer-intro h2{font:42px 'Instrument Serif',Georgia,serif;font-weight:400;margin:12px 0}.optimizer-intro>p{font-size:15px;line-height:1.8;color:var(--muted);max-width:740px}.optimizer-intro strong{font-weight:500;color:var(--green)}.optimizer-steps{display:flex;flex-wrap:wrap;gap:25px;font-size:12px;color:var(--green);margin-top:22px}.optimizer-form>.chart-note{margin-top:18px}.optimizer-ranges{max-width:670px;margin:25px 0 15px}.optimizer-range-row,.optimizer-range-head{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:17px;align-items:center}.optimizer-range-head{font-size:11px;color:var(--muted);letter-spacing:.5px}.optimizer-range-row{margin-top:12px}.optimizer-range-row>span{font-size:14px;display:flex;align-items:center;gap:10px}.optimizer-range-row input{font-size:16px;margin-top:0}.optimizer-limits{display:grid;grid-template-columns:1fr 1fr;gap:25px;max-width:670px;margin-top:25px;padding-top:23px;border-top:1px solid var(--line)}.optimizer-limits>label{font-size:13px;color:var(--muted);line-height:1.7}.optimizer-limits .input-unit>span{top:12px;font-size:12px}.optimizer-limits input{font-size:16px;padding-right:95px}.optimizer-submit{display:flex;gap:25px;align-items:center;margin-top:28px}.optimizer-submit .primary-button{max-width:285px;flex-shrink:0}.optimizer-submit>span{font-size:13px;line-height:1.7;color:var(--green)}.optimizer-empty{display:flex;align-items:flex-start;gap:20px;padding:28px 0;color:var(--muted)}.optimizer-empty>span{font-size:40px;color:#8d9d7b}.optimizer-empty h3{font-size:16px;color:var(--ink);margin:5px 0 10px}.optimizer-empty p{font-size:14px;line-height:1.8;margin:0;max-width:650px}.optimizer-outcome{background:#e5eddd;border-left:3px solid var(--green);padding:24px}.optimizer-outcome>span{font-size:11px;letter-spacing:1px;color:var(--green)}.optimizer-outcome h2{font:36px 'Instrument Serif',Georgia,serif;margin:12px 0}.optimizer-outcome p{font-size:14px;color:var(--muted);line-height:1.8;margin-bottom:0}.optimizer-outcome.no-match{background:#f5eddd;border-left-color:#b58b40}.optimizer-outcome.no-match>span{color:#94681e}.optimizer-table{min-width:850px}.optimizer-table td,.optimizer-table th{vertical-align:middle}.optimizer-table th:first-child{color:var(--ink)}.optimizer-table small{display:block;font-size:11px;color:var(--muted);line-height:1.7;margin-top:5px}.optimizer-table tbody td{font-variant-numeric:tabular-nums}.slot-values{font-size:15px;letter-spacing:.1px}.limit-status{display:inline-block;border-radius:3px;font-size:11px;line-height:1.6;padding:5px 7px}.limit-status.pass{background:#e4eddd;color:var(--green)}.limit-status.fail{background:#f6eadc;color:#91602b}.load-candidate,.download-csv{font-size:13px;padding:9px 12px;border:1px solid var(--line);border-radius:3px;background:transparent;color:var(--green);white-space:nowrap}.load-candidate:hover,.download-csv:hover{background:var(--soft)}.optimizer-baseline{padding:24px 0;border-bottom:1px solid var(--line)}.optimizer-baseline h3{font-size:18px;font-weight:500;margin:12px 0}.optimizer-baseline p{font-size:14px;line-height:1.9;color:var(--muted);margin-bottom:0}.optimizer-method{margin-top:0}.optimizer-form #grid-count{white-space:normal}.over-limit{background:#f9e4d5;color:#9d4328}.fixed-demand-fields{margin-top:17px}.fixed-demand-fields input{font-size:16px}.fixed-demand-fields label{font-size:13px}#optimizer-network-error{font-size:13px;color:#984728;line-height:1.8}
@media(max-width:1150px){.optimizer-limits{grid-template-columns:1fr;gap:16px}.optimizer-submit{flex-wrap:wrap;gap:15px}.optimizer-range-row,.optimizer-range-head{gap:10px}.optimizer-range-head{font-size:12px;letter-spacing:0}.optimizer-intro{padding:22px}.optimizer-steps{gap:15px}}
@media(max-width:760px){.view-tabs{gap:22px}.view-tabs button{font-size:14px;gap:8px}.optimizer-intro h2{font-size:36px}.optimizer-intro>p{font-size:14px}.optimizer-range-row,.optimizer-range-head{grid-template-columns:1.4fr 1fr 1fr 1fr;gap:8px}.optimizer-range-row>span{font-size:13px;gap:6px}.optimizer-range-row input{padding:11px 5px;text-align:center}.optimizer-range-head{font-size:10px}.optimizer-form .panel-heading{gap:15px}.optimizer-form .buffer-pill{font-size:12px}.optimizer-submit .primary-button{max-width:none}.optimizer-outcome{padding:20px}.optimizer-outcome h2{font-size:32px}.optimizer-outcome>span{line-height:1.8;display:block}.optimizer-intro,.optimizer-form{padding-inline:17px}.optimizer-steps{font-size:12px;gap:12px}.optimizer-submit>span{min-height:44px}.optimizer-table small{font-size:12px}}

.exam-mix-intro{padding:26px;background:#eaf0e3}.exam-mix-intro h2{font:42px 'Instrument Serif',Georgia,serif;margin:14px 0}.exam-mix-intro>p{font-size:15px;line-height:1.8;color:var(--muted);max-width:790px}.mix-switch{display:flex;align-items:center;gap:12px;font-size:15px;line-height:1.6;color:var(--green);margin:23px 0 12px;cursor:pointer}.mix-switch input{width:20px;height:20px;accent-color:var(--green);flex-shrink:0}.mix-teaching-note{border-top:1px solid #cbd8bf;padding-top:19px;margin-top:20px}.mix-teaching-note>strong{font-size:11px;letter-spacing:.6px;font-weight:500}.mix-teaching-note p{font-size:13px;line-height:1.9;color:var(--muted);margin-bottom:0}.mix-toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:27px 0 0}.mix-toolbar>span{font-size:11px;letter-spacing:.8px;color:var(--muted)}.mix-toolbar button{background:transparent;border:1px solid var(--line);color:var(--green);font-size:13px;padding:9px 12px;border-radius:3px}.exam-mix-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.exam-mix-card .panel-heading h2{font-size:28px;display:flex;align-items:center;gap:10px;margin-top:0}.mix-total{font-size:12px;line-height:1.6;color:var(--green);background:var(--soft);padding:5px 8px;border-radius:3px}.mix-total.invalid-mix{background:#f6dfd2;color:#983b21}.exam-type-head,.exam-type-row{display:grid;grid-template-columns:minmax(110px,1fr) 65px 72px;gap:10px;align-items:center}.exam-type-head{font-size:11px;color:var(--muted);margin:24px 0 10px;line-height:1.6}.exam-type-row{margin-top:10px}.exam-type-row input{font-size:14px;margin:0;width:100%;padding:11px 8px;color:var(--ink);background:var(--paper);border:1px solid #d7dfd2;border-radius:3px}.exam-type-row input[type=number]{text-align:center;padding-inline:4px}.exam-type-row input:disabled{color:var(--muted);background:#f0f2e9;opacity:1}.mix-derived{border-top:1px solid var(--line);padding-top:17px;margin-top:20px;display:flex;flex-wrap:wrap;gap:13px;justify-content:space-between}.mix-derived>span{font-size:12px;color:var(--muted);line-height:1.8}.mix-derived strong{display:block;font-size:17px;color:var(--green);font-weight:500}.exam-type-sources>p{font-size:14px;line-height:1.9;color:var(--muted)}.exam-type-sources strong{font-weight:500;color:var(--ink)}.exam-type-sources .primary-button{max-width:240px}.exam-type-sources a{text-underline-offset:3px}.type-mod-name{display:block;font-size:11px;line-height:1.8;color:var(--muted);margin-bottom:4px}.type-mod-name .mod-dot{margin-right:7px}.exam-breakdown table{min-width:650px}.exam-breakdown tbody th{color:var(--ink)}.settings input[readonly]{background:#eaf0e3;color:var(--green);border-style:dashed}.view-tabs{overflow-x:auto;white-space:nowrap}.view-tabs button{flex-shrink:0}
@media(max-width:1250px){.exam-mix-grid{grid-template-columns:1fr}.exam-type-head,.exam-type-row{grid-template-columns:minmax(120px,1fr) 85px 90px}.exam-type-row input{font-size:16px}}
@media(max-width:760px){.exam-mix-intro{padding:22px 17px}.exam-mix-intro h2{font-size:36px}.exam-mix-intro>p{font-size:14px}.mix-switch{font-size:14px}.mix-toolbar{flex-wrap:wrap}.mix-toolbar>span{font-size:11px}.exam-type-head,.exam-type-row{grid-template-columns:minmax(110px,1fr) 60px 68px;gap:8px}.exam-type-row input{padding:12px 6px}.exam-type-head{font-size:11px}.exam-mix-card .panel-heading h2{font-size:28px}.view-tabs{gap:18px}.view-tabs button{font-size:13px;gap:7px}.view-tabs button>span{font-size:11px}.mix-derived{gap:12px}}

.timeline-mode{font-size:13px;line-height:1.8;color:var(--muted);margin:18px 0 0;max-width:800px}.exam-block{cursor:pointer;outline:none}.exam-block:focus-visible{stroke:#1a352a;stroke-width:3}.exam-tooltip{position:fixed;z-index:1000;width:300px;max-width:calc(100vw - 24px);padding:17px;background:#203f34;color:#f5f7ee;border-radius:6px;box-shadow:0 8px 30px #18322230;font-size:13px;line-height:1.6;max-height:calc(100vh - 24px);overflow:auto}.exam-tooltip-top{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:12px;color:#c4d5c1}.exam-tooltip-top button{border:0;color:#f5f7ee;background:transparent;font-size:25px;padding:0 4px;line-height:1}.exam-tooltip>strong{display:block;font-size:18px;margin:10px 0 7px;font-weight:500;overflow-wrap:anywhere}.exam-tooltip>p{font-size:12px;color:#c4d5c1;margin:0 0 14px}.exam-tooltip dl{display:grid;grid-template-columns:1fr 1.5fr;gap:7px 15px;padding-top:12px;border-top:1px solid #587362;margin:0}.exam-tooltip dt{color:#c4d5c1}.exam-tooltip dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}.exam-tooltip>small{display:block;color:#c4d5c1;font-size:11px;margin-top:14px}.live-dashboard{border-top:1px solid var(--line);margin-top:23px;padding-top:23px}.live-dashboard-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.live-dashboard-heading h3{font:32px 'Instrument Serif',Georgia,serif;margin:8px 0 0}.live-dashboard-heading>div:last-child{text-align:right}.live-dashboard-clock{display:block;font-size:24px;font-variant-numeric:tabular-nums}.live-dashboard-hint{display:block;font-size:12px;color:var(--muted);margin-top:5px}.live-mod-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:20px}.live-mod-card{border:1px solid var(--line);border-radius:4px;padding:17px;background:#f5f7ef;min-width:0}.live-mod-card.machine-active{background:#ecf2e5;border-color:#abc09d}.live-mod-card.machine-overtime{background:#f8ecdf;border-color:#d5b28b}.live-mod-card header{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:13px;line-height:1.7;flex-wrap:wrap}.live-mod-card header>span:first-child{display:flex;align-items:center;gap:7px}.live-machine-state{font-size:11px;padding:3px 6px;background:#e3e8da;color:var(--green);border-radius:3px}.machine-overtime .live-machine-state{background:#ecd5bd;color:#875625}.live-exam-name{font-size:19px;font-weight:500;line-height:1.5;margin:17px 0 7px;overflow-wrap:anywhere}.live-exam-detail,.live-exam-timing{font-size:12px;line-height:1.8;color:var(--muted);margin:7px 0}.exam-progress{height:5px;background:#d9e2d0;border-radius:5px;overflow:hidden;margin:15px 0 12px}.exam-progress>span{display:block;height:100%;background:var(--green);border-radius:5px}.live-queue-stats{border-top:1px solid var(--line);padding-top:13px;margin-top:16px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.live-dashboard>.chart-note{margin-top:17px}
@media(max-width:760px){.live-dashboard-heading{flex-wrap:wrap;gap:15px}.live-dashboard-heading>div:last-child{text-align:left}.live-mod-grid{grid-template-columns:1fr}.live-dashboard-heading h3{font-size:30px}.live-exam-name{font-size:20px}.live-exam-detail,.live-exam-timing,.live-queue-stats{font-size:13px}.timeline-mode{font-size:13px}.live-dashboard .eyebrow{font-size:11px}}
.timeline-panel{overflow:visible}.timeline-scroller{overflow-x:auto;max-width:100%;margin-top:6px}.timeline-scroller .day-svg{margin-top:13px}
/* Keep the current exam names visible beside the playback controls. */
.live-dashboard{border-top:0;padding-top:13px;margin-top:7px;margin-bottom:24px}.live-mod-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.live-mod-card{padding:13px}.live-exam-name{font-size:17px}.live-dashboard-heading h3{font-size:27px}.live-dashboard-heading .eyebrow{font-size:11px}.live-machine-state{font-size:11px}.enable-types-button{border:1px solid var(--line);background:var(--soft);color:var(--green);padding:8px 11px;border-radius:3px;font:inherit;margin:7px 0}.live-dashboard>.chart-note{font-size:12px}
@media(max-width:1250px){.live-mod-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.live-mod-grid{grid-template-columns:1fr}.live-exam-name{font-size:20px}}

/* Themes share layout and typography; chart colors follow the selected surface. */
:root{color-scheme:light}.theme-toggle{width:42px;height:42px;display:grid;place-items:center;flex-shrink:0;border:1px solid var(--line);border-radius:50%;background:var(--paper);color:var(--ink);padding:10px}.theme-toggle:hover{background:var(--soft)}.theme-toggle svg{width:21px;height:21px}.theme-toggle .sun-icon{display:none}:root[data-theme=dark] .theme-toggle .sun-icon{display:block}:root[data-theme=dark] .theme-toggle .moon-icon{display:none}
/* Dark palette: slate surfaces, blue actions, violet learning, teal/coral comparisons. */
:root{--mod-xray:#447b87;--mod-us:#ba8a32;--mod-ct:#cf7250;--mod-mr:#766ba0}
:root[data-theme=dark]{color-scheme:dark;--bg:#101720;--paper:#18232f;--ink:#eaf1fa;--muted:#afbed0;--line:#354657;--green:#68d8c3;--soft:#223548;--rust:#ff9c84;--learn:#c2a9ff;--learn-soft:#302942;--simulate:#83c2ff;--simulate-soft:#20354a;--warning:#f4cb7b;--warning-soft:#392f20;--error-soft:#402b30;--input:#111c28;--control-line:#647c94;--mod-xray:#68cde0;--mod-us:#f0c469;--mod-ct:#ff9e84;--mod-mr:#ba9cf5;--action:#83c2ff;--action-ink:#102337}
[data-theme=dark] .settings{background:#141e29}
[data-theme=dark] .brand-mark i:nth-child(1){background:var(--mod-xray)}[data-theme=dark] .brand-mark i:nth-child(2){background:var(--mod-us)}[data-theme=dark] .brand-mark i:nth-child(3){background:var(--mod-ct)}[data-theme=dark] .brand-mark i:nth-child(4){background:var(--mod-mr)}
[data-theme=dark] h1 em,[data-theme=dark] .learn-intro h2 em{color:var(--learn)}
[data-theme=dark] input[type=number],[data-theme=dark] input[type=time],[data-theme=dark] select,[data-theme=dark] .exam-type-row input{background:var(--input);color:var(--ink);border-color:var(--control-line)}
[data-theme=dark] .settings input[readonly],[data-theme=dark] .exam-type-row input:disabled{background:#223142;color:var(--muted);border-color:var(--line)}
[data-theme=dark] .primary-button{background:var(--action);color:var(--action-ink);border-color:var(--action);font-weight:600}
[data-theme=dark] .primary-button:hover{background:#a5d3ff;border-color:#a5d3ff}
[data-theme=dark] .secondary-button,[data-theme=dark] .load-candidate,[data-theme=dark] .download-csv{color:var(--simulate)}
[data-theme=dark] button:focus-visible,[data-theme=dark] a:focus-visible,[data-theme=dark] input:focus-visible,[data-theme=dark] select:focus-visible,[data-theme=dark] summary:focus-visible{outline-color:var(--warning)}
[data-theme=dark] .preset-row button:hover,[data-theme=dark] .preset-row button.selected,[data-theme=dark] .timeline-controls button{background:var(--simulate-soft);color:var(--simulate);border-color:var(--control-line)}
[data-theme=dark] .metric-grid article,[data-theme=dark] .metric-grid article:nth-child(-n+2),[data-theme=dark] th,[data-theme=dark] td{border-color:var(--line)}
[data-theme=dark] .formula,[data-theme=dark] .tradeoff{background:var(--simulate-soft)}
[data-theme=dark] .optimizer-intro,[data-theme=dark] .exam-mix-intro{background:#203047}
[data-theme=dark] .mix-teaching-note{border-color:#4c617c}
[data-theme=dark] .optimizer-outcome{background:#203b37;border-left-color:var(--green)}
[data-theme=dark] .optimizer-outcome.no-match{background:var(--warning-soft);border-left-color:var(--warning)}
[data-theme=dark] .optimizer-outcome.no-match>span{color:var(--warning)}
[data-theme=dark] .limit-status.pass{background:#203b37;color:#a1e7d8}
[data-theme=dark] .limit-status.fail,[data-theme=dark] .over-limit{background:var(--warning-soft);color:var(--warning)}
[data-theme=dark] .mix-total.invalid-mix,[data-theme=dark] .error-panel{background:var(--error-soft);color:#ffc6bb;border-color:var(--rust)}
[data-theme=dark] #network-error,[data-theme=dark] #optimizer-network-error{color:#ffc6bb}
[data-theme=dark] .result-state.stale,[data-theme=dark] .example-outcome{color:var(--warning)}
[data-theme=dark] .live-mod-card{background:#1b2b3b}
[data-theme=dark] .live-mod-card.machine-active{background:#1c3735;border-color:#4b978b}
[data-theme=dark] .live-mod-card.machine-overtime{background:var(--warning-soft);border-color:#b59457}
[data-theme=dark] .live-machine-state{background:#294741;color:#a1e7d8}
[data-theme=dark] .machine-overtime .live-machine-state{background:#554322;color:#ffe0a1}
[data-theme=dark] .exam-progress{background:#35505e}[data-theme=dark] .exam-progress>span{background:var(--green)}
[data-theme=dark] .exam-tooltip{background:#1d2c3d;color:var(--ink);border:1px solid var(--control-line);box-shadow:0 8px 30px #0006}
[data-theme=dark] .exam-tooltip-top,[data-theme=dark] .exam-tooltip>p,[data-theme=dark] .exam-tooltip dt,[data-theme=dark] .exam-tooltip>small{color:var(--muted)}
[data-theme=dark] .exam-tooltip dl{border-color:var(--control-line)}
[data-theme=dark] .key-solid{background:var(--simulate)}[data-theme=dark] .key-dashed,[data-theme=dark] .key-wait{border-color:#9aafc7}
[data-theme=dark] svg line[stroke="#e1e6e1"],[data-theme=dark] svg line[stroke="#e9ece6"]{stroke:var(--line)}
[data-theme=dark] svg rect[fill="#f8eee5"]{fill:#342b27}
[data-theme=dark] .day-svg .closing-label{fill:var(--warning)}[data-theme=dark] #time-cursor{stroke:var(--ink)}
[data-theme=dark] .exam.in-progress,[data-theme=dark] .exam-block:focus-visible{stroke:var(--ink)}
[data-theme=dark] .booked-outline{stroke:#839ab0}
[data-theme=dark] .mod-dot.xray{background:var(--mod-xray)}[data-theme=dark] .mod-dot.us{background:var(--mod-us)}[data-theme=dark] .mod-dot.ct{background:var(--mod-ct)}[data-theme=dark] .mod-dot.mr{background:var(--mod-mr)}
[data-theme=dark] .day-svg rect[fill="#447b87"]{fill:var(--mod-xray)}[data-theme=dark] .day-svg rect[fill="#ba8a32"]{fill:var(--mod-us)}[data-theme=dark] .day-svg rect[fill="#cf7250"]{fill:var(--mod-ct)}[data-theme=dark] .day-svg rect[fill="#766ba0"]{fill:var(--mod-mr)}
[data-theme=dark] .histogram-svg rect[fill="#cf7250"]{fill:var(--rust)}[data-theme=dark] .histogram-svg rect[fill="#3e7a69"]{fill:var(--green)}
[data-theme=dark] .convergence-svg polyline[stroke="#cf7250"]{stroke:var(--rust)}[data-theme=dark] .convergence-svg polyline[stroke="#3e7a69"]{stroke:var(--green)}
[data-theme=dark] .convergence-svg circle[fill="#cf7250"]{fill:var(--rust)}[data-theme=dark] .convergence-svg circle[fill="#3e7a69"]{fill:var(--green)}
[data-theme=dark] .current-key{background:var(--rust)}[data-theme=dark] .buffer-key{background:var(--green)}
@media(max-width:560px){.site-header{gap:10px}.method-link{max-width:95px;font-size:11px}.theme-toggle{width:40px;height:40px;padding:9px}.brand{font-size:21px}.header-tag{display:none}}

/* Actual room time and reserved booking time are separate controls. */
.exam-type-head,.exam-type-row{grid-template-columns:minmax(120px,1fr) 58px 65px 78px;gap:8px}.exam-type-head{font-size:11px}.exam-type-row select{font-size:14px;padding:11px 4px;margin:0;width:100%;min-width:0}.exam-type-row label{min-width:0}.booked-outline{pointer-events:none}.slot-values{white-space:normal;min-width:240px;line-height:1.9}.search-mode-label{display:block;font-size:14px;color:var(--muted);margin-top:23px;max-width:670px}.search-mode-label select{font-size:15px}.mod-column-labels{line-height:1.5}.optimizer-range-row input{font-size:16px}.exam-type-sources .primary-button{max-width:260px}
@media(max-width:760px){.exam-type-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:18px 0}.exam-type-row label:first-child{grid-column:1/-1}.exam-type-head{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.exam-type-head span:first-child{display:none}.exam-type-row select{font-size:16px;padding:12px 6px}.exam-type-row input{font-size:16px}.search-mode-label select{font-size:16px}}

/* Browser-saved experiments and paired policy comparisons. */
.scenarios-intro h2,.scenario-detail h2{font:38px/1.15 'Instrument Serif',Georgia,serif;margin:14px 0}.scenarios-intro p,.scenario-detail p{font-size:16px;line-height:1.8;color:var(--muted);max-width:760px}.scenario-storage-note{border-top:1px solid var(--line);margin-top:20px;padding-top:15px;font-size:14px;color:var(--muted)}.scenario-save-fields,.scenario-compare-controls{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:16px;align-items:end;margin-top:25px}.scenario-save-fields label,.scenario-compare-controls label{font-size:14px;color:var(--muted);min-width:0}.scenario-save-fields input,.scenario-title{width:100%;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:4px;padding:12px;margin-top:7px;font-size:16px;min-width:0}.scenario-save-fields .primary-button,.scenario-compare-controls .primary-button{min-height:48px;font-size:15px;gap:12px}.scenario-library-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:34px}.scenario-library-heading h3{font:30px 'Instrument Serif',Georgia,serif;margin:8px 0}.scenario-file-actions{display:flex;gap:10px;flex-wrap:wrap}.scenario-file-actions button,.scenario-card-actions button{background:transparent;border:1px solid var(--line);border-radius:4px;padding:11px 13px;color:var(--ink);font-size:14px}.scenario-file-actions button:hover,.scenario-card-actions button:hover{background:var(--soft)}.scenario-status{font-size:15px;line-height:1.7;color:var(--green);overflow-wrap:anywhere}.scenario-status.is-error{color:var(--rust)}.scenario-library{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.scenario-empty{grid-column:1/-1;padding:30px;border:1px dashed var(--line);display:flex;align-items:center;gap:20px;color:var(--muted);line-height:1.8}.scenario-empty>span{font-size:36px;color:var(--green)}.scenario-card{background:var(--paper);border:1px solid var(--line);border-radius:5px;padding:20px;min-width:0;display:flex;flex-direction:column}.scenario-card.baseline-card{border-color:var(--green)}.scenario-card-top{display:flex;justify-content:space-between;gap:12px;margin-bottom:13px}.scenario-card-top label{display:flex;align-items:center;gap:7px;font-size:14px;color:var(--muted)}.scenario-card-top input{width:18px;height:18px;accent-color:var(--green);margin:0}.scenario-title{font-size:20px;font-weight:500;margin:0}.scenario-card-summary{font-size:14px;line-height:1.7;color:var(--muted);margin:14px 0}.scenario-diff{border-top:1px solid var(--line);padding:14px 0;font-size:14px;color:var(--muted)}.scenario-diff summary{color:var(--ink);line-height:1.6}.scenario-diff ul,.scenario-detail ul{padding-left:20px;font-size:14px;line-height:1.9;overflow-wrap:anywhere}.scenario-card-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;margin-top:auto;padding-top:8px}.scenario-card-actions .scenario-remove{border-color:transparent;color:var(--muted)}.scenario-wait-legend{display:flex;flex-direction:column;gap:7px;font-size:13px;color:var(--muted);min-width:145px}.scenario-wait-legend i{height:9px;border-radius:8px;background:linear-gradient(90deg,#9ac28d,#e59b7c)}.scenario-plot-scroll{overflow-x:auto;margin-top:22px}.scenario-plot-scroll svg{display:block;width:100%;min-width:650px}.scenario-plot-scroll text{fill:var(--muted);font:15px 'DM Sans',sans-serif}.scenario-grid-line{stroke:var(--line);stroke-dasharray:4 5}.scenario-plot-scroll .scenario-axis-title{fill:var(--ink);font-size:16px}.scenario-point{cursor:pointer;outline:none}.scenario-point circle{stroke:var(--paper);stroke-width:2}.scenario-point .baseline-point{stroke:var(--ink);stroke-width:3}.scenario-point:hover circle,.scenario-point:focus-visible circle{stroke:var(--rust);stroke-width:5}.scenario-point .scenario-point-number{fill:#20332c;font-weight:700;font-size:14px;pointer-events:none}.scenario-results-table small{display:block;font-size:13px;line-height:1.7;color:var(--muted)}.scenario-results-table th:first-child{white-space:normal;min-width:160px;color:var(--ink)}.scenario-detail h3{font-size:17px;margin-top:26px}.scenario-detail .primary-button{max-width:390px;margin:22px 0}.scenario-inspection-note{padding:14px 17px;border:1px solid var(--green);background:var(--soft);font-size:15px;line-height:1.7;color:var(--ink);border-radius:4px}.scenario-compare-panel strong{color:var(--ink)}
@media(max-width:1150px){.scenario-save-fields,.scenario-compare-controls{grid-template-columns:1fr 1fr}.scenario-save-fields button,.scenario-compare-controls button{grid-column:1/-1}.scenario-library{grid-template-columns:1fr}.scenario-library-heading{align-items:flex-start;flex-direction:column}.scenario-chart-panel .panel-heading{flex-wrap:wrap}.scenario-wait-legend{min-width:180px}.scenario-comparison-caption{white-space:normal}}
@media(max-width:560px){.scenario-save-fields,.scenario-compare-controls{grid-template-columns:1fr}.scenario-save-fields input,.scenario-save-fields select,.scenario-compare-controls input,.scenario-compare-controls select{font-size:16px}.scenario-card{padding:17px}.scenarios-intro h2{font-size:33px}#scenario-comparison-caption{white-space:normal;line-height:1.7}.scenario-chart-panel .panel-heading{flex-direction:column}}

/* The field guide: spacious pages, schematic schedules, actual simulated days. */
.lesson-invitation{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 0 23px;border-top:1px solid var(--line)}.lesson-invitation p{font-size:17px;margin:8px 0 0;color:var(--ink)}.lesson-invitation button{background:var(--soft);color:var(--green);border:1px solid var(--line);border-radius:4px;padding:13px 16px;font-size:15px;white-space:nowrap}.lesson-invitation button span{margin-left:15px}.learning-header{display:flex;align-items:center;justify-content:space-between;gap:35px;padding:40px 0 28px}.learning-header h2{font:clamp(38px,4vw,58px)/1.05 'Instrument Serif',Georgia,serif;font-weight:400;letter-spacing:-1px;margin:18px 0}.learning-header h2 em{color:var(--green)}.learning-header p{font-size:16px;line-height:1.8;color:var(--muted);max-width:530px;margin:0}.learning-stamp{border:1px solid var(--line);border-radius:50%;width:170px;height:170px;flex-shrink:0;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(7deg)}.learning-stamp>span{font:65px/1 'Instrument Serif',Georgia,serif;color:var(--green)}.learning-stamp p{font-size:13px;text-align:center;line-height:1.6;margin-top:8px}.lesson-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);border-radius:5px;overflow:hidden}.lesson-picker button{display:flex;flex-direction:column;align-items:flex-start;gap:10px;text-align:left;padding:20px 18px;background:var(--paper);color:var(--muted);border:0;border-right:1px solid var(--line);position:relative}.lesson-picker button:last-child{border-right:0}.lesson-picker button[aria-pressed=true]{background:var(--soft);color:var(--ink)}.lesson-picker button[aria-pressed=true]:after{content:'';height:3px;position:absolute;bottom:0;left:0;right:0;background:var(--green)}.lesson-picker button>span{font:28px 'Instrument Serif',Georgia,serif;color:var(--green)}.lesson-picker strong{font-weight:500;font-size:17px;line-height:1.4}.lesson-picker small{font-size:13px;line-height:1.6}.lesson-picker .lesson-complete>span{font-family:inherit;font-size:24px}.lesson-progress-note{font-size:14px;line-height:1.7;color:var(--muted);margin:17px 0 25px}.lesson-workbench{background:var(--paper);border:1px solid var(--line);border-radius:5px;padding:28px 30px 22px}.lesson-topline{display:flex;gap:20px;justify-content:space-between;align-items:flex-start}.lesson-preset-note{font-size:13px;line-height:1.6;color:var(--muted);text-align:right;max-width:260px}.lesson-steps{display:flex;list-style:none;padding:0;margin:25px 0 33px;border-block:1px solid var(--line);counter-reset:lesson-step;overflow:auto;gap:18px}.lesson-steps li{counter-increment:lesson-step;flex:1;font-size:13px;white-space:nowrap;padding:15px 0;color:var(--muted);border-bottom:2px solid transparent}.lesson-steps li:before{content:counter(lesson-step);display:inline-grid;place-items:center;border:1px solid var(--line);width:23px;height:23px;border-radius:50%;margin-right:7px;font-size:12px}.lesson-steps li.active{color:var(--green);border-color:var(--green)}.lesson-steps li.active:before,.lesson-steps li.done:before{background:var(--green);color:var(--paper);border-color:var(--green)}#lesson-content{outline:none;animation:lesson-page-in .3s ease both}.lesson-section-title{font:clamp(30px,3vw,41px)/1.15 'Instrument Serif',Georgia,serif;letter-spacing:-.4px;margin:14px 0 18px;max-width:740px}.lesson-lead{font-size:17px;line-height:1.9;color:var(--muted);max-width:780px;margin:0 0 24px}.lesson-illustration{margin:24px 0;background:var(--bg);border-radius:5px;border:1px solid var(--line);overflow:hidden}.lesson-illustration svg{display:block;width:100%;max-height:300px}.lesson-illustration svg text{font:12px 'DM Sans',sans-serif;fill:var(--muted)}.lesson-illustration svg text:last-child{font-size:14px;fill:var(--ink)}.illustration-rule{stroke:var(--muted);opacity:.5;stroke-width:1}.buffer-illustration{fill:var(--soft);stroke:var(--green);stroke-dasharray:5 4}.illustrated-exam{transform-box:fill-box;transform-origin:left;animation:lesson-block-arrive .7s ease both;animation-delay:var(--delay)}.lesson-illustration figcaption{font-size:13px;line-height:1.7;color:var(--muted);border-top:1px solid var(--line);padding:12px 18px}.lesson-primer{display:flex;align-items:center;gap:25px;border-block:1px solid var(--line);padding:23px 0;margin:24px 0}.lesson-primer-number{white-space:nowrap;font:29px 'Instrument Serif',Georgia,serif;color:var(--green)}.lesson-primer>div{font-size:16px;line-height:1.85;color:var(--muted)}.lesson-setup h4,.lesson-reading-notes h4,.lesson-takeaway h4{font-size:16px;margin:23px 0 9px;font-weight:600}.lesson-setup p,.lesson-reading-notes li,.lesson-takeaway p{font-size:16px;line-height:1.9;color:var(--muted);margin:0 0 16px}.lesson-navigation{display:flex;align-items:center;gap:20px;border-top:1px solid var(--line);margin-top:30px;padding-top:20px}.lesson-navigation>button:first-child{background:transparent;border:1px solid var(--line);color:var(--ink);padding:13px 18px;border-radius:4px;white-space:nowrap}.lesson-navigation>span{font-size:14px;color:var(--muted);white-space:nowrap}.lesson-navigation .primary-button{width:auto;margin-left:auto;justify-content:center;gap:12px;font-size:15px;min-height:48px}.lesson-navigation button:disabled{cursor:default}.lesson-status{color:var(--green);font-size:15px;line-height:1.8;margin:20px 0 0}.lesson-choices{border:0;padding:0;margin:25px 0;display:grid;gap:12px}.lesson-choice{border:1px solid var(--line);border-radius:4px;padding:18px;display:flex;align-items:center;gap:15px;font-size:17px;line-height:1.7;color:var(--ink);cursor:pointer;transition:background .15s,border-color .15s}.lesson-choice:has(input:checked){background:var(--soft);border-color:var(--green)}.lesson-choice input{width:20px;height:20px;accent-color:var(--green);flex-shrink:0;margin:0}.lesson-callout{font-size:15px;line-height:1.85;border-left:3px solid var(--green);padding:8px 0 8px 18px;color:var(--muted);margin:25px 0 0}.lesson-run-controls{display:flex;align-items:end;gap:20px;flex-wrap:wrap;margin:25px 0}.lesson-run-controls label{font-size:14px;color:var(--muted);width:180px}.lesson-run-controls input{font-size:16px}.lesson-run-controls .primary-button{width:auto;font-size:16px;min-height:46px;padding:12px 20px}.lesson-run-empty{display:grid;place-items:center;text-align:center;background:var(--bg);border:1px dashed var(--line);border-radius:5px;min-height:220px;padding:28px;color:var(--muted);font-size:16px;line-height:1.8}.lesson-run-empty>span{font:55px 'Instrument Serif',Georgia,serif;letter-spacing:7px;color:var(--green)}.lesson-reveal-controls{display:flex;gap:9px;flex-wrap:wrap;border-block:1px solid var(--line);padding:16px 0;margin:20px 0}.lesson-reveal-controls button{background:var(--bg);border:1px solid var(--line);border-radius:4px;padding:10px 13px;font-size:15px;color:var(--ink);min-height:44px}.lesson-reveal-controls button[aria-pressed=true]{background:var(--soft);border-color:var(--green);color:var(--green)}#lesson-replay{margin-left:auto}.lesson-day-panels{display:grid;grid-template-columns:1fr 1fr;gap:25px}.lesson-day-panel{min-width:0}.lesson-policy-label{font-size:12px;letter-spacing:1.3px;color:var(--green)}.lesson-day-panel:nth-child(2) .lesson-policy-label{color:var(--rust)}.lesson-day-panel h4{font-size:17px;font-weight:500;margin:10px 0;line-height:1.6;min-height:54px}.lesson-risk-number{font:52px/1.2 'Instrument Serif',Georgia,serif;color:var(--green);font-variant-numeric:tabular-nums}.lesson-day-panel:nth-child(2) .lesson-risk-number{color:var(--rust)}.lesson-day-panel p{font-size:14px;color:var(--muted);line-height:1.7}.lesson-day-dots{display:grid;grid-template-columns:repeat(10,1fr);gap:5px;align-content:start;min-height:145px;margin:20px 0 13px}.lesson-day-dots i{aspect-ratio:1;max-height:16px;width:100%;border-radius:50%;background:var(--green);opacity:.65}.lesson-day-dots .late-day{background:var(--rust);opacity:1}.lesson-day-panel small{font-size:13px;line-height:1.7;color:var(--muted)}.lesson-convergence{border-top:1px solid var(--line);margin-top:25px;padding-top:20px}.lesson-convergence h4{font-size:16px;font-weight:500;margin:0 0 10px}.lesson-convergence svg{display:block;width:100%}.lesson-convergence svg text{font:13px 'DM Sans',sans-serif;fill:var(--muted)}.lesson-convergence svg line{stroke:var(--line);stroke-dasharray:4 5}.lesson-line-0{stroke:var(--green)}.lesson-line-1{stroke:var(--rust)}.lesson-chart-dot-0{fill:var(--green)}.lesson-chart-dot-1{fill:var(--rust)}.lesson-chart-key{display:flex;gap:18px;flex-wrap:wrap;font-size:13px;line-height:1.7}.lesson-chart-key span:first-child{color:var(--green)}.lesson-chart-key span:last-child{color:var(--rust)}.lesson-reveal-caption{font-size:16px;line-height:1.85;background:var(--soft);padding:17px;border-radius:4px;color:var(--ink);margin-top:24px}.lesson-evidence-table{font-size:16px;white-space:normal}.lesson-evidence-table th,.lesson-evidence-table td{padding:15px 12px;line-height:1.65;border-color:var(--line)}.lesson-evidence-table thead th{font-size:14px}.lesson-evidence-table td{min-width:145px}.lesson-observation{margin-top:26px;padding:23px;background:var(--soft);border-radius:4px}.lesson-observation p{font-size:17px;line-height:1.9;color:var(--ink);margin:15px 0 0}.lesson-reading-notes ol{padding-left:24px}.lesson-reading-notes li{padding-left:5px;margin-bottom:16px}.lesson-reading-notes strong{color:var(--ink);font-weight:500}.lesson-open-policy{display:block;text-align:left;font-size:16px;color:var(--green);line-height:1.7;padding:12px 0;background:none;border:0;border-bottom:1px solid var(--line);width:100%}.lesson-quiz-feedback{padding:16px 0;color:var(--muted);font-size:16px;line-height:1.85}.lesson-quiz-feedback:empty{display:none}.lesson-quiz-feedback.correct{color:var(--green)}.lesson-takeaway{padding:23px;background:var(--soft);border-radius:4px;margin:20px 0}.lesson-takeaway>p{margin-top:14px}.lesson-smallprint{font-size:14px;line-height:1.9;color:var(--muted);margin:24px 0 0}.lesson-glossary{padding:24px 0;border-bottom:1px solid var(--line);margin-top:12px}.lesson-glossary summary{font-size:16px;line-height:1.8;cursor:pointer}.lesson-glossary summary span{float:right}.lesson-glossary dl{display:grid;grid-template-columns:1fr 1fr;gap:23px;margin:25px 0 0}.lesson-glossary dt{font-size:16px;margin-bottom:7px}.lesson-glossary dd{font-size:15px;line-height:1.85;color:var(--muted);margin:0}@keyframes lesson-block-arrive{from{opacity:0;transform:scaleX(.2)}to{opacity:1;transform:scaleX(1)}}@keyframes lesson-page-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1150px){.learning-stamp{width:130px;height:130px}.learning-stamp>span{font-size:48px}.learning-stamp p{font-size:11px}.lesson-workbench{padding:25px 20px}.lesson-topline{flex-direction:column;gap:8px}.lesson-preset-note{text-align:left;max-width:none}.lesson-picker button{padding:17px 12px}.lesson-picker strong{font-size:15px}.lesson-picker small{font-size:12px}.lesson-invitation{align-items:flex-start;flex-direction:column}.lesson-navigation{gap:13px}.lesson-navigation .primary-button{font-size:14px}}
@media(max-width:560px){.learning-header{padding-top:30px}.learning-stamp{display:none}.learning-header h2{font-size:40px}.lesson-picker{grid-template-columns:1fr}.lesson-picker button{display:grid;grid-template-columns:29px 1fr;gap:4px 14px;padding:17px;border-right:0;border-bottom:1px solid var(--line)}.lesson-picker button:last-child{border-bottom:0}.lesson-picker button>span{grid-row:1/3}.lesson-picker small{font-size:14px}.lesson-picker strong{font-size:17px}.lesson-picker button[aria-pressed=true]:after{width:3px;height:auto;top:0;right:auto}.lesson-workbench{padding:21px 15px}.lesson-topline .eyebrow{font-size:11px;line-height:1.7}.lesson-steps{gap:15px;margin-top:18px;margin-bottom:25px}.lesson-section-title{font-size:32px}.lesson-lead{font-size:17px}.lesson-primer{flex-direction:column;align-items:flex-start;gap:12px}.lesson-illustration figcaption{font-size:12px}.lesson-navigation{flex-wrap:wrap;justify-content:space-between}.lesson-navigation .primary-button{width:100%;order:3;font-size:16px;margin:0}.lesson-run-controls{gap:15px}.lesson-run-controls label,.lesson-run-controls .primary-button{width:100%}.lesson-choice{padding:15px;font-size:16px}.lesson-reveal-controls{gap:7px}.lesson-reveal-controls button{font-size:14px;padding:10px 11px}#lesson-replay{width:100%;margin:4px 0 0}.lesson-day-panels{gap:14px}.lesson-day-panel h4{font-size:15px;min-height:72px}.lesson-risk-number{font-size:41px}.lesson-day-panel p{font-size:13px}.lesson-day-dots{gap:3px;min-height:110px}.lesson-day-panel small{font-size:12px}.lesson-chart-key{font-size:12px;gap:7px}.lesson-convergence svg text{font-size:15px}.lesson-observation,.lesson-takeaway{padding:18px}.lesson-evidence-table{font-size:14px}.lesson-evidence-table th,.lesson-evidence-table td{padding:13px 8px}.lesson-evidence-table td{min-width:125px}.lesson-glossary dl{grid-template-columns:1fr}.lesson-invitation button{white-space:normal;width:100%;text-align:left}}
@media(prefers-reduced-motion:reduce){.illustrated-exam,#lesson-content{animation:none}.lesson-choice{transition:none}}
#lesson-content{scroll-margin-top:24px}.lesson-dot-key{font-size:14px;line-height:1.85;color:var(--muted);margin:15px 0 23px}.lesson-day-dots .late-day{border-radius:2px;transform:rotate(12deg)}
@media(max-width:560px){.lesson-illustration svg text{font-size:18px}.lesson-illustration svg text:last-child{font-size:18px}.lesson-dot-key{font-size:13px}.lesson-convergence svg text{font-size:13px}}
.lesson-day-dots i{max-width:16px;justify-self:center}.lesson-day-dots .late-day{transform:rotate(45deg) scale(.8)}
#browser-simulation-progress{width:100%;height:8px;accent-color:var(--green);display:block;margin:10px 0}#cancel-browser-simulation{font-size:15px}.lesson-cancel{background:transparent;border:1px solid var(--line);border-radius:4px;padding:13px 16px;font-size:15px;color:var(--ink)}
#results[data-pending=true]>:not(.initial-simulation-notice){display:none}.initial-simulation-notice{padding:28px;border:1px solid var(--line);color:var(--muted);font-size:17px;line-height:1.8;background:var(--paper);border-radius:5px}
/* A scheduling desk and experiment notebook, within the field-guide palette. */
.challenge-hero{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:35px 0 25px}.challenge-hero h2{font:clamp(48px,5vw,72px)/.95 'Instrument Serif',Georgia,serif;letter-spacing:-1px;margin:20px 0}.challenge-hero h2 em{color:var(--green)}.challenge-hero p{font-size:17px;color:var(--muted);line-height:1.9;max-width:570px}.challenge-scanner{width:260px;flex-shrink:0;text-align:center}.challenge-scanner svg{width:100%;display:block}.challenge-scanner>span{font-size:11px;letter-spacing:1px;color:var(--muted)}.challenge-patient{animation:challenge-arrive 1.2s ease both}.challenge-brief>p,.challenge-explainer{font-size:16px;line-height:1.9;color:var(--muted)}.challenge-brief strong{color:var(--ink)}.challenge-flow{list-style:none;padding:23px 0;display:grid;grid-template-columns:repeat(3,1fr);gap:20px;border-block:1px solid var(--line);margin:25px 0}.challenge-flow li{font-size:16px;line-height:1.7}.challenge-flow b{font:26px 'Instrument Serif',Georgia,serif;color:var(--green);display:block;margin-bottom:9px}.challenge-flow span{display:block;color:var(--muted);font-size:14px;margin-top:7px}.challenge-goals{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:28px 0}.challenge-goals article{border-left:2px solid var(--green);padding-left:14px}.challenge-goals strong{display:block;font:33px 'Instrument Serif',Georgia,serif}.challenge-goals span{display:block;color:var(--muted);font-size:14px;line-height:1.7;margin-top:8px}.challenge-brief .primary-button{max-width:300px;margin:25px 0 5px}.challenge-round-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:30px}.challenge-round-heading button,#challenge-cancel{border:1px solid var(--line);background:transparent;color:var(--ink);padding:11px 15px;border-radius:4px;font-size:14px}.challenge-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px;margin:25px 0}.challenge-controls label,.challenge-prediction{font-size:16px;color:var(--ink);display:block}.challenge-controls select{font-size:17px}.challenge-controls small{display:block;font-size:14px;line-height:1.7;color:var(--muted);margin-top:9px}.challenge-prediction select{font-size:16px;margin-top:12px}.challenge-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:25px 0 10px}.challenge-actions .primary-button,.challenge-actions .secondary-button{width:auto;flex:1;margin:0;font-size:15px;justify-content:center;min-height:48px}.challenge-actions button:disabled{cursor:default}.challenge-actions #challenge-cancel{width:100%;flex:none}#challenge-progress{width:100%;height:8px;accent-color:var(--green);margin:15px 0}#challenge-report{scroll-margin-top:20px;outline:none}#challenge-report>h2,#challenge-best h2{font:36px/1.15 'Instrument Serif',Georgia,serif;font-weight:400;margin:15px 0}.challenge-report-policy{font-size:15px;color:var(--muted);line-height:1.8}.challenge-score{display:flex;align-items:center;gap:20px;padding:23px 0;margin:20px 0;border-block:1px solid var(--line)}.challenge-score strong{font:46px 'Instrument Serif',Georgia,serif;color:var(--green);white-space:nowrap}.challenge-score span{font-size:16px;line-height:1.7;color:var(--muted)}.challenge-goal-results{display:grid;grid-template-columns:1fr 1fr;gap:17px}.challenge-goal-results article{border:1px solid var(--line);padding:18px;border-radius:4px}.challenge-goal-results article>span{font-size:14px;color:var(--muted)}.challenge-goal-results .goal-pass>span{color:var(--green)}.challenge-goal-results .goal-miss>span{color:var(--rust)}.challenge-goal-results h3{font-size:16px;line-height:1.6;margin:12px 0}.challenge-goal-results strong{display:block;font:32px 'Instrument Serif',Georgia,serif}.challenge-goal-results small{display:block;font-size:14px;color:var(--muted);line-height:1.8;margin-top:7px}.challenge-debrief{padding:23px;background:var(--soft);border-radius:4px;margin:25px 0}.challenge-debrief h3,.challenge-day-reveal h3{font-size:18px;line-height:1.6}.challenge-debrief p,#challenge-best p{font-size:16px;line-height:1.9;color:var(--muted)}.challenge-days{display:grid;grid-template-columns:repeat(20,minmax(0,1fr));gap:9px;min-height:115px;margin:25px 0}.challenge-days i{width:100%;max-width:16px;aspect-ratio:1;border-radius:50%;background:var(--green);justify-self:center}.challenge-days i.late{background:var(--rust);border-radius:2px;transform:rotate(45deg) scale(.8)}#challenge-history button{font-size:14px}@keyframes challenge-arrive{from{opacity:0;transform:translateX(-20px)}to{opacity:1;transform:translateX(0)}}@media(max-width:1150px){.challenge-scanner{width:180px}.challenge-goals{grid-template-columns:1fr 1fr}.challenge-hero{gap:15px}.challenge-days{gap:6px}.challenge-brief>.panel-heading{flex-wrap:wrap}}@media(max-width:560px){.challenge-hero{align-items:flex-start}.challenge-hero h2{font-size:51px}.challenge-hero p{font-size:16px}.challenge-scanner{width:105px;position:absolute;right:25px;pointer-events:none}.challenge-scanner>span{display:none}.challenge-hero>div:first-child{width:100%}.challenge-hero h2{padding-right:100px}.challenge-hero .eyebrow{font-size:11px}.challenge-hero svg{margin-top:40px}.challenge-flow{grid-template-columns:1fr;gap:18px}.challenge-flow li{display:grid;grid-template-columns:35px 1fr}.challenge-flow b{grid-row:1/3}.challenge-flow span{grid-column:2}.challenge-controls{grid-template-columns:1fr;gap:22px}.challenge-prediction select{white-space:normal}.challenge-actions{flex-direction:column}.challenge-actions .primary-button,.challenge-actions .secondary-button{width:100%;font-size:16px}.challenge-round-heading{align-items:flex-start;flex-direction:column}.challenge-goals{gap:20px 10px}.challenge-goals strong{font-size:29px}.challenge-goals span{font-size:13px}.challenge-goal-results{grid-template-columns:1fr}.challenge-score{gap:15px}.challenge-score strong{font-size:40px}.challenge-debrief{padding:18px}.challenge-days{grid-template-columns:repeat(10,1fr);gap:7px;min-height:200px}.challenge-brief .buffer-pill{white-space:normal;line-height:1.7}}@media(prefers-reduced-motion:reduce){.challenge-patient{animation:none}}
.challenge-hero{position:relative}@media(max-width:560px){.challenge-scanner{top:25px;right:0}}
/* Resource pools and arrival experiments. */
.operations-process{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 0;font-size:18px;line-height:1.7}.operations-process>span{padding:15px;background:var(--soft);border-radius:4px}.operations-process em{display:block;color:var(--green);font-size:15px;font-style:normal}.operations-process>b{color:var(--rust);font-weight:400}.operations-top-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:25px 0}.operations-top-fields label,.operations-service label{font-size:15px;color:var(--muted)}.operations-skills{border:1px solid var(--line);padding:17px;display:flex;gap:20px;flex-wrap:wrap;border-radius:4px}.operations-skills legend{font-size:16px;padding:0 7px}.operations-skills label{font-size:16px;color:var(--ink);display:flex;align-items:center;gap:8px}.operations-skills input{width:18px;height:18px;accent-color:var(--green)}.operations-services{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:25px 0}.operations-service{border:1px solid var(--line);border-radius:4px;padding:19px;min-width:0}.operations-service legend{font-size:20px;padding:0 8px}.operations-service .two-fields{gap:20px 15px}.operations-service input{font-size:17px}#operations-progress{width:100%;height:8px;accent-color:var(--green)}#operations-results{outline:none;scroll-margin-top:20px}.operations-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:22px 0}.operations-metrics article{padding:20px;border:1px solid var(--line);background:var(--paper);border-radius:4px}.operations-metrics article>strong{display:block;font:38px 'Instrument Serif',Georgia,serif;margin:16px 0}.operations-metrics p{font-size:14px;line-height:1.8;color:var(--muted)}.operations-metrics .eyebrow{font-size:11px;line-height:1.8;letter-spacing:1px}.operations-experiments{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0 15px}.operations-experiments button{border:1px solid var(--line);background:var(--soft);color:var(--ink);padding:12px 15px;border-radius:4px;font-size:15px;line-height:1.6}#operations-comparison{border-top:1px solid var(--line);margin-top:22px;padding-top:20px}#operations-comparison h3{font-size:19px;line-height:1.6}.operations-clock-row{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:25px 0;font-size:15px;color:var(--muted)}.operations-clock-row strong{font-size:25px;font-variant-numeric:tabular-nums;color:var(--ink)}.operations-live{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.operations-live article{background:var(--soft);border:1px solid var(--line);border-radius:4px;padding:15px;min-width:0}.operations-live h3{font-size:16px;margin:0 0 12px}.operations-live strong{font-size:17px;font-weight:500}.operations-live p,.operations-live small{font-size:13px;line-height:1.8;color:var(--muted);display:block}.operations-timeline{overflow-x:auto;margin-top:25px}.operations-timeline svg{display:block;width:100%;min-width:780px}.operations-timeline text{font:12px 'DM Sans',sans-serif;fill:var(--muted)}.operations-timeline .ops-room-label{font-size:14px;fill:var(--ink)}.operations-timeline rect[role=button]{cursor:pointer}.operations-timeline rect[role=button]:focus-visible{outline:3px solid var(--rust);outline-offset:2px}.operations-timeline rect[role=button]:hover{opacity:.7}#operations-inspector{border-left:3px solid var(--green);padding-left:17px}@media(max-width:1150px){.operations-top-fields{grid-template-columns:1fr 1fr}.operations-metrics,.operations-live{grid-template-columns:1fr 1fr}.operations-services{grid-template-columns:1fr}.operations-process{font-size:16px;gap:9px}.operations-process>span{padding:11px}.operations-process em{font-size:13px}}@media(max-width:560px){.operations-top-fields{grid-template-columns:1fr}.operations-top-fields input,.operations-top-fields select{font-size:16px}.operations-service{padding:15px}.operations-service label{font-size:14px}.operations-service .two-fields{gap:16px 13px}.operations-process{flex-direction:column;align-items:stretch;text-align:center}.operations-process>b{transform:rotate(90deg);line-height:1}.operations-skills{gap:18px}.operations-metrics{gap:10px}.operations-metrics article{padding:15px}.operations-metrics article>strong{font-size:31px}.operations-metrics p{font-size:13px}.operations-clock-row{flex-direction:column;align-items:flex-start;gap:10px}.operations-experiments button{width:100%;text-align:left}.operations-live{gap:10px}.operations-live article{padding:12px}.operations-live small{font-size:12px}}
/* Practice scale is an explicit capacity decision, separate from workload. */
.operations-preset-setup{border-bottom:1px solid var(--line);padding-bottom:28px;margin-bottom:30px}.operations-preset-picker{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:23px 0}.operations-preset-picker button{background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:4px;padding:17px 12px;text-align:left;min-width:0}.operations-preset-picker button[aria-pressed=true]{background:var(--soft);border-color:var(--green)}.operations-preset-picker strong{font-family:'Instrument Serif',Georgia,serif;font-size:24px;line-height:1.25;font-weight:400;display:block}.operations-preset-picker span{font-size:13px;color:var(--muted);line-height:1.7;display:block;margin-top:9px}.operations-preset-demand{border:1px solid var(--line);border-radius:4px;padding:18px;display:grid;gap:17px;margin:22px 0}.operations-preset-demand legend{font-size:16px;padding:0 7px;line-height:1.6}.operations-preset-demand label{display:flex;gap:13px;align-items:flex-start;font-size:16px;line-height:1.7;cursor:pointer}.operations-preset-demand input{width:19px;height:19px;accent-color:var(--green);margin-top:4px;flex-shrink:0}.operations-preset-demand strong{font-size:16px;font-weight:500}.operations-preset-demand small{display:block;font-size:14px;line-height:1.8;color:var(--muted)}.operations-preset-preview{padding:20px;border:1px solid var(--line);background:var(--bg);border-radius:4px;margin:20px 0}.operations-preset-preview>p:not(.eyebrow){font-size:15px;line-height:1.85;color:var(--muted)}.operations-preset-preview table{margin-top:15px;font-size:14px}.operations-preset-preview th,.operations-preset-preview td{border-color:var(--line)}.operations-preset-impact{border-left:3px solid var(--green);padding:8px 0 8px 15px;color:var(--ink)!important}#operations-apply-preset{width:auto;min-width:230px;font-size:16px;gap:30px}#operations-configured-size{white-space:normal;line-height:1.7}@media(max-width:1150px){.operations-preset-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.operations-preset-setup .panel-heading{align-items:flex-start;flex-wrap:wrap}}@media(max-width:560px){.operations-preset-picker{grid-template-columns:1fr 1fr}.operations-preset-picker button{padding:16px 13px}.operations-preset-picker strong{font-size:25px}.operations-preset-picker button:last-child{grid-column:1/-1}.operations-preset-demand{padding:15px}.operations-preset-demand legend{font-size:15px}.operations-preset-preview{padding:15px}.operations-preset-preview table{font-size:14px}#operations-apply-preset{width:100%;justify-content:center}}
/* Availability editor and fixed-hours coverage challenge. */
.operations-roster{border-block:1px solid var(--line);margin:30px 0;padding:27px 0}.operations-schedule-mode{display:block;font-size:16px;color:var(--ink);margin:22px 0;max-width:560px}.operations-schedule-mode select{font-size:16px}.operations-roster-table{font-size:15px;white-space:normal}.operations-roster-table th,.operations-roster-table td{border-color:var(--line);padding:13px 9px}.operations-roster-table thead th{font-size:13px}.operations-roster-table input[type=time]{font-size:16px;padding:11px 7px;min-width:115px;margin:0}.operations-roster-table input[type=number]{font-size:16px;min-width:78px;margin:0}.operations-roster-table input[type=checkbox]{height:20px;width:20px;accent-color:var(--green)}.operations-roster-table tbody th{min-width:140px;font-weight:500;color:var(--ink)}.operations-roster-summary{background:var(--soft);border-left:3px solid var(--green);padding:16px;font-size:16px;line-height:1.8;color:var(--ink);margin:23px 0}.operations-shift-game{padding:24px;background:var(--soft);border:1px solid var(--line);border-radius:5px;margin:28px 0}.operations-shift-game>h2{font:35px 'Instrument Serif',Georgia,serif;font-weight:400;margin:12px 0}.operations-shift-game>p{font-size:16px;line-height:1.85;color:var(--muted)}.operations-shift-game>.chart-note{font-size:14px}.operations-shift-game button{background:var(--paper)}#operations-shift-game-goals{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}#operations-shift-game-goals h3{font-size:21px;line-height:1.5}#operations-shift-game-goals p,#operations-shift-game-goals li{font-size:15px;line-height:1.9}#operations-shift-game-goals ul{list-style:none;padding:0;display:grid;gap:12px}#operations-shift-game-goals .goal-pass{color:var(--green)}#operations-shift-game-goals .goal-miss{color:var(--rust)}.operations-staff-timeline-title{font-size:18px;line-height:1.7;margin:27px 0 10px}.operations-staff-timeline-note{font-size:14px;line-height:1.8;color:var(--muted)}@media(max-width:560px){.operations-shift-game{padding:18px}.operations-roster-table th,.operations-roster-table td{padding:12px 8px}.operations-roster-summary{padding:14px;font-size:15px}.operations-shift-game>h2{font-size:31px}}
.operations-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.operations-roster-table input[readonly]{background:var(--soft);border-style:dashed}@media(max-width:1150px){.operations-metrics{grid-template-columns:1fr 1fr}}
.operations-roster>.table-wrap,.operations-roster #operations-roster-editor>.table-wrap{max-height:560px;overflow:auto}.operations-roster-table thead th{position:sticky;top:0;background:var(--paper);z-index:2}.operations-roster-table tbody th{position:sticky;left:0;background:var(--paper);z-index:1}.operations-roster-table thead th:first-child{left:0;z-index:3}

/* Two connected workspaces: guided learning and editable simulation. */
[hidden]{display:none!important}
.workspace-modes{max-width:1800px;margin:auto;padding:20px 36px;display:flex;align-items:center;gap:28px;border-bottom:1px solid var(--line)}
.workspace-mode-buttons{display:flex;gap:8px;flex-shrink:0}
.workspace-mode-buttons button{display:flex;flex-direction:column;gap:5px;align-items:flex-start;min-width:230px;padding:13px 18px;border:1px solid var(--line);border-radius:6px;background:transparent;color:var(--muted);text-align:left}
.workspace-mode-buttons button[aria-pressed=true]{background:var(--soft);border-color:var(--green);color:var(--ink)}
.workspace-mode-buttons strong{font-size:19px;font-weight:600}.workspace-mode-buttons span{font-size:14px;line-height:1.5}
.workspace-modes>p{font-size:15px;line-height:1.7;color:var(--muted);max-width:42ch;margin:0}
.app-layout[data-workspace=learn]{grid-template-columns:minmax(0,1fr);max-width:1160px}
.workspace-heading{padding:0 0 20px}.workspace-heading h1{font-size:clamp(34px,3.5vw,48px);line-height:1.1;letter-spacing:-.8px;margin:0 0 12px;text-wrap:balance}
.workspace-heading>p{font-size:17px;line-height:1.75;color:var(--muted);max-width:72ch;margin:0}
.lesson-invitation{padding:14px 0;margin:0 0 16px;border-block:1px solid var(--line);background:transparent;gap:18px}
.lesson-invitation>p{font-size:15px;line-height:1.7;color:var(--muted);margin:0;max-width:54ch}
.lesson-invitation button{font-size:15px;min-height:44px;padding:9px 12px;white-space:nowrap}
.view-tabs{display:flex;flex-wrap:wrap;overflow:visible;white-space:normal;gap:4px 20px;margin:0 0 25px}
.view-tabs button{min-height:48px;font-size:15px;padding:12px 0;gap:0;text-align:left}
.settings-scope{font-size:15px;color:var(--muted);line-height:1.75;margin:0 0 16px}
.settings-exam-link,.return-to-lesson{min-height:44px;background:transparent;border:0;text-align:left;color:var(--green);font-size:15px;padding:8px 0;text-decoration:underline;text-underline-offset:4px}
.settings-exam-link{margin:0 0 14px}.app-layout[data-tool=operations] .appointment-inputs,.app-layout[data-tool=operations] .preset-row,.app-layout[data-tool=operations] .run-actions{display:none}
.learning-orientation{font-size:16px;line-height:1.8;color:var(--muted);margin:0 0 24px;max-width:75ch}
.workspace-next{display:flex;align-items:center;gap:28px;justify-content:space-between;margin:36px 0;padding:28px 0;border-block:1px solid var(--line)}
.workspace-next h2{font:30px/1.2 'Instrument Serif',Georgia,serif;letter-spacing:-.4px;margin:0 0 10px}
.workspace-next p{font-size:16px;line-height:1.75;color:var(--muted);max-width:60ch;margin:0}
.workspace-next button{min-height:48px;flex-shrink:0;background:var(--soft);color:var(--green);border:1px solid var(--line);border-radius:4px;padding:12px 16px;font-size:15px;max-width:280px;text-align:left}
.method-link{min-height:44px;display:flex;align-items:center}.operations-quick-run{display:flex;gap:18px;align-items:center;margin:20px 0}.operations-quick-run .primary-button{width:auto;min-width:200px;gap:20px}.operations-quick-run p{color:var(--muted);font-size:15px;line-height:1.7;margin:0}
@media(max-width:1150px){.workspace-modes{padding-inline:24px}.workspace-mode-buttons button{min-width:205px}.workspace-modes>p{font-size:14px}.workspace-next{align-items:flex-start;flex-direction:column;gap:18px}.view-tabs{gap:0 18px}.view-tabs button{font-size:14px}}
@media(max-width:760px){.workspace-modes{padding:16px 20px;display:block}.workspace-mode-buttons{display:grid;grid-template-columns:1fr 1fr}.workspace-mode-buttons button{min-width:0;padding:12px;gap:4px}.workspace-mode-buttons strong{font-size:18px}.workspace-mode-buttons span{font-size:13px}.workspace-modes>p{margin:12px 0 0;font-size:14px;max-width:none}.workspace-heading{padding-bottom:18px}.workspace-heading h1{font-size:36px}.workspace-heading>p{font-size:16px}.lesson-invitation{gap:10px}.lesson-invitation button{width:auto}.view-tabs{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.view-tabs button{white-space:normal;font-size:15px}.app-layout[data-workspace=learn] main{padding-top:25px}.settings-scope{font-size:14px}.workspace-next{margin:28px 0;padding:24px 0}.workspace-next button{max-width:none;width:100%}.operations-quick-run{align-items:stretch;flex-direction:column;gap:10px}.operations-quick-run .primary-button{width:100%}}
.workspace-toolbar{max-width:1800px;margin:auto;padding:26px 36px 0}.workspace-toolbar[data-workspace=learn]{max-width:1160px;padding-inline:40px}.workspace-toolbar .view-tabs{margin-bottom:0}.app-layout main{padding-top:26px}.app-layout[data-workspace=learn] main{padding-top:22px}.workspace-toolbar .lesson-invitation{padding:10px 0;margin:0 0 10px}.coverage-learning-label{font-size:15px;line-height:1.7;color:var(--green)}
@media(max-width:760px){.workspace-toolbar,.workspace-toolbar[data-workspace=learn]{padding:22px 20px 0}.workspace-modes>p{display:none}.workspace-toolbar .lesson-invitation{display:none}.workspace-toolbar .view-tabs{margin-bottom:14px}.settings:not(.is-open) .settings-scope,.settings:not(.is-open) .settings-exam-link{display:none}.settings{padding-block:16px}.settings-heading h2{margin-bottom:8px;font-size:29px}.app-layout main{padding-top:22px}.workspace-heading h1{font-size:32px}.workspace-mode-buttons button{padding:10px 12px}.workspace-next{flex-wrap:wrap}.workspace-mode-buttons span{font-size:13px}}

/* Disclose staffing configuration by task while keeping each live setup visible. */
.operations-config-heading{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px;margin:0 0 20px}
.operations-config-heading h2{font:32px/1.2 'Instrument Serif',Georgia,serif;margin:0;letter-spacing:-.4px}
.operations-config-heading p{width:100%;font-size:16px;line-height:1.75;color:var(--muted);margin:0;order:3;max-width:72ch}
#operations-expand-config{margin-left:auto;min-height:44px;padding:10px 12px;background:transparent;color:var(--green);border:1px solid var(--line);border-radius:4px;font-size:15px}
.operations-config-section{border-top:1px solid var(--line)}
.operations-config-section>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;list-style:none;min-height:92px;padding:20px 4px;color:var(--ink)}
.operations-config-section>summary::-webkit-details-marker{display:none}
.operations-config-section>summary:hover{background:var(--soft)}
.operations-section-copy{display:flex;flex-direction:column;gap:7px;min-width:0}
.operations-section-copy>strong{font-size:19px;font-weight:500;line-height:1.4}
.operations-section-copy>span{font-size:15px;line-height:1.7;color:var(--muted)}
.operations-config-section>summary>svg{flex-shrink:0;transition:transform .18s ease}
.operations-config-section[open]>summary>svg{transform:rotate(180deg)}
.operations-section-content{padding:4px 4px 26px}
.operations-section-help{font-size:16px;line-height:1.8;color:var(--muted);max-width:72ch;margin:0 0 18px}
.operations-section-content .operations-preset-setup{margin:0;padding:0;border:0}
.operations-section-content .operations-preset-setup>.panel-heading{display:none}
.operations-section-content .operations-roster{border:0;margin:0;padding:0}
.operations-section-content .operations-roster>.panel-heading{display:none}
.operations-section-content .operations-schedule-mode{margin-top:0}
.operations-config-section .operations-top-fields{grid-template-columns:repeat(2,minmax(0,1fr));margin:20px 0}
.operations-config-section .operations-services{margin-bottom:15px}
.operations-config-section .operations-service{border:0;border-radius:0;padding:15px 0;border-top:1px solid var(--line)}
.operations-config-section .operations-service legend{font-size:18px;padding:0 10px 0 0}
.operations-config-section .operations-shift-game{background:transparent;border:0;margin:0;padding:0}
#operations-challenge-section{margin-top:22px}
@media(max-width:760px){.operations-config-section>summary{padding-block:17px;gap:14px;min-height:90px}.operations-section-copy>strong{font-size:18px}.operations-section-copy>span{font-size:14px}.operations-section-content{padding-inline:0}.operations-config-heading{gap:12px}.operations-config-heading h2{font-size:30px}#operations-expand-config{margin-left:0}.operations-config-heading p{font-size:15px}.operations-config-section .operations-top-fields{grid-template-columns:1fr}.operations-config-section .operations-services{gap:12px}.operations-config-section .operations-service .two-fields{gap:12px}}
@media(prefers-reduced-motion:reduce){.operations-config-section>summary>svg{transition:none}}

/* Color makes the learning and simulation paths recognizable at a glance. */
[data-theme=dark] .workspace-mode-buttons [data-mode=learn]{color:var(--learn);border-color:#64577d}
[data-theme=dark] .workspace-mode-buttons [data-mode=simulate]{color:var(--simulate);border-color:#4e7195}
[data-theme=dark] .workspace-mode-buttons [data-mode=learn][aria-pressed=true]{background:var(--learn-soft);border-color:var(--learn)}
[data-theme=dark] .workspace-mode-buttons [data-mode=simulate][aria-pressed=true]{background:var(--simulate-soft);border-color:var(--simulate)}
[data-theme=dark] .workspace-mode-buttons span{color:var(--muted)}
[data-theme=dark] .workspace-toolbar[data-workspace=learn] .workspace-heading h1{color:#d7c5ff}
[data-theme=dark] .workspace-toolbar[data-workspace=simulate] .workspace-heading h1{color:#a7d4ff}
[data-theme=dark] .workspace-toolbar[data-workspace=learn] .view-tabs button[aria-selected=true]{color:var(--learn);border-color:var(--learn)}
[data-theme=dark] .workspace-toolbar[data-workspace=simulate] .view-tabs button[aria-selected=true]{color:var(--simulate);border-color:var(--simulate)}
[data-theme=dark] .app-layout[data-workspace=learn]{--action:var(--learn);--action-ink:#241936}
[data-theme=dark] .app-layout[data-workspace=learn] .primary-button:hover{background:#d7c5ff;border-color:#d7c5ff}
[data-theme=dark] .lesson-invitation button{background:var(--learn-soft);color:var(--learn);border-color:#64577d}
[data-theme=dark] .lesson-picker button[aria-pressed=true]{background:var(--learn-soft)}
[data-theme=dark] .lesson-picker button>span,[data-theme=dark] .lesson-section-title,[data-theme=dark] .lesson-counter{color:var(--learn)}
[data-theme=dark] .lesson-picker button[aria-pressed=true]:after{background:var(--learn)}
[data-theme=dark] .lesson-steps li.active{color:var(--learn);border-color:var(--learn)}
[data-theme=dark] .lesson-steps li.active:before,[data-theme=dark] .lesson-steps li.done:before{background:var(--learn);border-color:var(--learn);color:#241936}
[data-theme=dark] .lesson-observation,[data-theme=dark] .lesson-takeaway{background:var(--learn-soft)}
[data-theme=dark] .lesson-choice:has(input:checked){background:var(--learn-soft);border-color:var(--learn)}
[data-theme=dark] .lesson-choice input{accent-color:var(--learn)}
[data-theme=dark] .metric-grid article:nth-child(1) .metric-number{color:var(--rust)}
[data-theme=dark] .metric-grid article:nth-child(2) .metric-number{color:var(--warning)}
[data-theme=dark] .metric-grid article:nth-child(3) .metric-number{color:var(--green)}
[data-theme=dark] .metric-grid article:nth-child(4) .metric-number{color:var(--simulate)}
[data-theme=dark] .operations-metrics article:nth-child(1)>strong{color:var(--green)}
[data-theme=dark] .operations-metrics article:nth-child(2)>strong,[data-theme=dark] .operations-metrics article:nth-child(5)>strong{color:var(--warning)}
[data-theme=dark] .operations-metrics article:nth-child(3)>strong,[data-theme=dark] .operations-metrics article:nth-child(6)>strong{color:var(--rust)}
[data-theme=dark] .operations-metrics article:nth-child(4)>strong{color:var(--simulate)}
[data-theme=dark] #operations-setup-section>summary strong,[data-theme=dark] #operations-setup-section>summary>svg{color:var(--warning)}
[data-theme=dark] #operations-demand-section>summary strong,[data-theme=dark] #operations-demand-section>summary>svg{color:var(--mod-xray)}
[data-theme=dark] #operations-resources-section>summary strong,[data-theme=dark] #operations-resources-section>summary>svg{color:var(--simulate)}
[data-theme=dark] #operations-availability-section>summary strong,[data-theme=dark] #operations-availability-section>summary>svg{color:var(--learn)}
[data-theme=dark] #operations-challenge-section>summary strong,[data-theme=dark] .coverage-learning-label{color:var(--learn)}
[data-theme=dark] .operations-process>span:first-child{background:#203c45;color:#a9e5ed}
[data-theme=dark] .operations-process>span:nth-of-type(2){background:#302942;color:#d9c8ff}
[data-theme=dark] .operations-process>span:last-child{background:#203b37;color:#a1e7d8}
[data-theme=dark] .operations-process em{color:#c2a9ff}
[data-theme=dark] .operations-roster-summary{background:#203b37;border-color:var(--green)}
[data-theme=dark] .operations-preset-picker button[aria-pressed=true]{background:var(--simulate-soft);color:var(--simulate);border-color:var(--simulate)}
[data-theme=dark] .workspace-next{border-color:#4e5c78}
[data-theme=dark] .workspace-next button{background:var(--simulate-soft);color:var(--simulate);border-color:#4e7195}
[data-theme=dark] .app-layout[data-workspace=learn] .workspace-next button{background:var(--learn-soft);color:var(--learn);border-color:#64577d}

/* Light palette: warm paper, clear blue simulation and violet learning paths. */
:root:not([data-theme=dark]){--muted:#58695e;--learn:#6943a5;--learn-soft:#eee7f8;--simulate:#205d99;--simulate-soft:#e5eff9;--warning:#89600f;--warning-soft:#faf0d9;--rust:#a7442d;--green:#226c5c;--mod-xray:#24788b;--mod-us:#987017;--mod-ct:#b85b3d;--mod-mr:#7861ac;--control-line:#86918a;--action:var(--simulate);--action-ink:#fff}
:root:not([data-theme=dark]) .workspace-mode-buttons [data-mode=learn]{color:var(--learn);border-color:#9c86be}
:root:not([data-theme=dark]) .workspace-mode-buttons [data-mode=simulate]{color:var(--simulate);border-color:#7b9cbd}
:root:not([data-theme=dark]) .workspace-mode-buttons [data-mode=learn][aria-pressed=true]{background:var(--learn-soft);border-color:var(--learn)}
:root:not([data-theme=dark]) .workspace-mode-buttons [data-mode=simulate][aria-pressed=true]{background:var(--simulate-soft);border-color:var(--simulate)}
:root:not([data-theme=dark]) .workspace-mode-buttons span{color:var(--muted)}
:root:not([data-theme=dark]) .workspace-toolbar[data-workspace=learn] .workspace-heading h1{color:var(--learn)}
:root:not([data-theme=dark]) .workspace-toolbar[data-workspace=simulate] .workspace-heading h1{color:var(--simulate)}
:root:not([data-theme=dark]) .workspace-toolbar[data-workspace=learn] .view-tabs button[aria-selected=true]{color:var(--learn);border-color:var(--learn)}
:root:not([data-theme=dark]) .workspace-toolbar[data-workspace=simulate] .view-tabs button[aria-selected=true]{color:var(--simulate);border-color:var(--simulate)}
:root:not([data-theme=dark]) .app-layout[data-workspace=learn]{--action:var(--learn)}
:root:not([data-theme=dark]) .primary-button{background:var(--action);color:var(--action-ink);border-color:var(--action);font-weight:600}
:root:not([data-theme=dark]) .primary-button:hover{background:#174a7d;border-color:#174a7d}
:root:not([data-theme=dark]) .app-layout[data-workspace=learn] .primary-button:hover{background:#553288;border-color:#553288}
:root:not([data-theme=dark]) .secondary-button,:root:not([data-theme=dark]) .load-candidate,:root:not([data-theme=dark]) .download-csv{color:var(--simulate)}
:root:not([data-theme=dark]) input[type=number],:root:not([data-theme=dark]) input[type=time],:root:not([data-theme=dark]) select,:root:not([data-theme=dark]) .exam-type-row input{border-color:var(--control-line)}
:root:not([data-theme=dark]) button:focus-visible,:root:not([data-theme=dark]) a:focus-visible,:root:not([data-theme=dark]) input:focus-visible,:root:not([data-theme=dark]) select:focus-visible,:root:not([data-theme=dark]) summary:focus-visible{outline-color:var(--simulate)}
:root:not([data-theme=dark]) .preset-row button:hover,:root:not([data-theme=dark]) .preset-row button.selected,:root:not([data-theme=dark]) .timeline-controls button{background:var(--simulate-soft);color:var(--simulate);border-color:#7b9cbd}
:root:not([data-theme=dark]) .lesson-invitation button{background:var(--learn-soft);color:var(--learn);border-color:#9c86be}
:root:not([data-theme=dark]) .learn-intro h2 em{color:var(--learn)}
:root:not([data-theme=dark]) .lesson-picker button[aria-pressed=true],:root:not([data-theme=dark]) .lesson-observation,:root:not([data-theme=dark]) .lesson-takeaway{background:var(--learn-soft)}
:root:not([data-theme=dark]) .lesson-picker button>span,:root:not([data-theme=dark]) .lesson-section-title,:root:not([data-theme=dark]) .lesson-counter{color:var(--learn)}
:root:not([data-theme=dark]) .lesson-picker button[aria-pressed=true]:after{background:var(--learn)}
:root:not([data-theme=dark]) .lesson-steps li.active{color:var(--learn);border-color:var(--learn)}
:root:not([data-theme=dark]) .lesson-steps li.active:before,:root:not([data-theme=dark]) .lesson-steps li.done:before{background:var(--learn);border-color:var(--learn);color:#fff}
:root:not([data-theme=dark]) .lesson-choice:has(input:checked){background:var(--learn-soft);border-color:var(--learn)}
:root:not([data-theme=dark]) .lesson-choice input{accent-color:var(--learn)}
:root:not([data-theme=dark]) .metric-grid article:nth-child(1) .metric-number{color:var(--rust)}
:root:not([data-theme=dark]) .metric-grid article:nth-child(2) .metric-number{color:var(--warning)}
:root:not([data-theme=dark]) .metric-grid article:nth-child(3) .metric-number{color:var(--green)}
:root:not([data-theme=dark]) .metric-grid article:nth-child(4) .metric-number{color:var(--simulate)}
:root:not([data-theme=dark]) .operations-metrics article:nth-child(1)>strong{color:var(--green)}
:root:not([data-theme=dark]) .operations-metrics article:nth-child(2)>strong,:root:not([data-theme=dark]) .operations-metrics article:nth-child(5)>strong{color:var(--warning)}
:root:not([data-theme=dark]) .operations-metrics article:nth-child(3)>strong,:root:not([data-theme=dark]) .operations-metrics article:nth-child(6)>strong{color:var(--rust)}
:root:not([data-theme=dark]) .operations-metrics article:nth-child(4)>strong{color:var(--simulate)}
:root:not([data-theme=dark]) #operations-setup-section>summary strong,:root:not([data-theme=dark]) #operations-setup-section>summary>svg{color:var(--warning)}
:root:not([data-theme=dark]) #operations-demand-section>summary strong,:root:not([data-theme=dark]) #operations-demand-section>summary>svg{color:var(--mod-xray)}
:root:not([data-theme=dark]) #operations-resources-section>summary strong,:root:not([data-theme=dark]) #operations-resources-section>summary>svg{color:var(--simulate)}
:root:not([data-theme=dark]) #operations-availability-section>summary strong,:root:not([data-theme=dark]) #operations-availability-section>summary>svg{color:var(--learn)}
:root:not([data-theme=dark]) #operations-challenge-section>summary strong,:root:not([data-theme=dark]) .coverage-learning-label{color:var(--learn)}
:root:not([data-theme=dark]) .operations-process>span:first-child{background:#e3f0f2;color:#246674}
:root:not([data-theme=dark]) .operations-process>span:nth-of-type(2){background:var(--learn-soft);color:var(--learn)}
:root:not([data-theme=dark]) .operations-process>span:last-child{background:#e0efe9;color:var(--green)}
:root:not([data-theme=dark]) .operations-process em{color:var(--learn)}
:root:not([data-theme=dark]) .operations-roster-summary{background:#e0efe9;border-color:var(--green)}
:root:not([data-theme=dark]) .operations-preset-picker button[aria-pressed=true]{background:var(--simulate-soft);color:var(--simulate);border-color:var(--simulate)}
:root:not([data-theme=dark]) .workspace-next button{background:var(--simulate-soft);color:var(--simulate);border-color:#7b9cbd}
:root:not([data-theme=dark]) .app-layout[data-workspace=learn] .workspace-next button{background:var(--learn-soft);color:var(--learn);border-color:#9c86be}
:root:not([data-theme=dark]) .formula,:root:not([data-theme=dark]) .tradeoff,:root:not([data-theme=dark]) .optimizer-intro,:root:not([data-theme=dark]) .exam-mix-intro{background:var(--simulate-soft)}
:root:not([data-theme=dark]) .brand-mark i:nth-child(1),:root:not([data-theme=dark]) .mod-dot.xray{background:var(--mod-xray)}
:root:not([data-theme=dark]) .brand-mark i:nth-child(2),:root:not([data-theme=dark]) .mod-dot.us{background:var(--mod-us)}
:root:not([data-theme=dark]) .brand-mark i:nth-child(3),:root:not([data-theme=dark]) .mod-dot.ct{background:var(--mod-ct)}
:root:not([data-theme=dark]) .brand-mark i:nth-child(4),:root:not([data-theme=dark]) .mod-dot.mr{background:var(--mod-mr)}
:root:not([data-theme=dark]) .day-svg rect[fill="#447b87"]{fill:var(--mod-xray)}
:root:not([data-theme=dark]) .day-svg rect[fill="#ba8a32"]{fill:var(--mod-us)}
:root:not([data-theme=dark]) .day-svg rect[fill="#cf7250"]{fill:var(--mod-ct)}
:root:not([data-theme=dark]) .day-svg rect[fill="#766ba0"]{fill:var(--mod-mr)}
:root:not([data-theme=dark]) .histogram-svg rect[fill="#cf7250"],:root:not([data-theme=dark]) .convergence-svg circle[fill="#cf7250"]{fill:var(--rust)}
:root:not([data-theme=dark]) .histogram-svg rect[fill="#3e7a69"],:root:not([data-theme=dark]) .convergence-svg circle[fill="#3e7a69"]{fill:var(--green)}
:root:not([data-theme=dark]) .convergence-svg polyline[stroke="#cf7250"]{stroke:var(--rust)}
:root:not([data-theme=dark]) .convergence-svg polyline[stroke="#3e7a69"]{stroke:var(--green)}
:root:not([data-theme=dark]) .current-key{background:var(--rust)}
:root:not([data-theme=dark]) .buffer-key{background:var(--green)}

/* A small, optional first step before the editable practice. */
.workspace-toolbar .home-introduction{display:flex;align-items:flex-start;gap:24px;padding:16px 0;margin:0 0 10px}
.home-introduction .intro-video{flex:1;min-width:0;max-width:1100px}
.intro-video>summary{display:flex;align-items:center;gap:20px;list-style:none;min-height:99px;padding:0 8px 0 0;border-radius:6px}
.intro-video>summary::-webkit-details-marker{display:none}
.intro-video-thumbnail{position:relative;display:block;flex:0 0 176px;aspect-ratio:16/9;overflow:hidden;border-radius:6px;background:#101720}
.intro-video-thumbnail img{display:block;width:100%;height:100%;object-fit:cover}
.intro-video-play{display:grid;place-items:center;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:44px;height:44px;border-radius:50%;background:#c8b3f5;color:#241936}
.intro-video-play svg{width:23px;height:23px}
.intro-video-copy{display:flex;flex-direction:column;gap:6px;max-width:66ch}
.intro-video-copy strong{font-size:18px;line-height:1.4;font-weight:600;color:var(--learn)}
.intro-video-copy>span{font-size:15px;line-height:1.6;color:var(--muted)}
.intro-video-copy small{font-size:13px;line-height:1.5;color:var(--muted)}
.intro-video-chevron{width:24px;height:24px;flex-shrink:0;margin-left:auto;color:var(--learn)}
.intro-video[open] .intro-video-chevron{transform:rotate(180deg)}
.intro-video>summary:hover .intro-video-copy strong{text-decoration:underline;text-underline-offset:4px}
.home-introduction>button{margin-top:26px;flex-shrink:0}
.intro-video-player{padding-top:18px;max-width:960px}
.intro-video-player video{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#101720;border-radius:6px}
.intro-video-player>p{display:flex;flex-wrap:wrap;gap:8px 24px;justify-content:space-between;margin:12px 0 0;font-size:14px;line-height:1.7;color:var(--muted)}
.intro-video-player a{color:var(--learn);text-underline-offset:3px}
@media(max-width:760px){.workspace-toolbar .home-introduction{display:flex;flex-direction:column;gap:14px;padding:16px 0}.home-introduction>button{margin-top:0}.intro-video>summary{gap:12px;align-items:flex-start;padding:0;min-height:0}.intro-video-thumbnail{flex-basis:104px;margin-top:3px}.intro-video-play{width:34px;height:34px}.intro-video-play svg{width:20px;height:20px}.intro-video-copy{gap:5px}.intro-video-copy strong{font-size:16px}.intro-video-copy>span{font-size:14px}.intro-video-copy small{font-size:12px}.intro-video-chevron{width:18px;height:18px;margin-top:4px}.intro-video-player>p{font-size:13px}}

/* A generous closing signature, with the same four-tile identity as the intro. */
.site-footer{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:40px 0 30px;line-height:1.6}
.site-footer .footer-brand{font-size:36px;letter-spacing:-1px;min-height:48px;width:fit-content;color:var(--ink)}
.footer-brand .brand-mark{grid-template-columns:repeat(2,13px);gap:4px;margin-right:16px}
.footer-brand .brand-mark i{height:13px;border-radius:3px;margin:0}
.site-footer .footer-identity p,.site-footer .footer-note{margin:10px 0 0;font-size:15px;color:var(--muted);font-style:normal}
.site-footer .footer-note{margin:0;text-align:right}
.footer-note span{display:block}
@media(max-width:640px){.site-footer{align-items:flex-start;flex-direction:column;gap:22px;padding:32px 0 26px}.site-footer .footer-brand{font-size:32px}.site-footer .footer-note{text-align:left}}

/* Keep the opening and closing signatures at the same scale. */
.site-header .brand{font-size:36px;min-height:48px;flex-shrink:0}
.site-header .brand-mark{grid-template-columns:repeat(2,13px);gap:4px;margin-right:16px}
.site-header .brand-mark i{height:13px;border-radius:3px}
@media(max-width:1000px){.site-header .header-tag{display:none}}
@media(max-width:640px){.site-header{height:auto;min-height:94px;display:grid;grid-template-columns:1fr 40px;gap:0 12px;padding-block:10px}.site-header .brand{font-size:32px;grid-column:1;grid-row:1}.site-header .theme-toggle{grid-column:2;grid-row:1}.site-header .method-link{grid-column:1 / -1;grid-row:2;max-width:none;justify-self:start;margin:0;font-size:12px;line-height:1.7}}

/* An independent experiment that bridges the field guide and free simulation. */
.waiting-workbench{max-width:1100px}
#waiting-content{outline:none;font-size:17px;line-height:1.8}
#waiting-content>p,#waiting-content>ul{max-width:75ch}
#waiting-content .lesson-section-title{margin-top:0}
.waiting-subtitle{font-size:20px;line-height:1.5;margin:30px 0 12px;font-weight:600}
.waiting-assumptions{padding-left:24px;color:var(--muted)}
.waiting-assumptions li{padding-left:4px;margin-bottom:10px}
.waiting-note,.waiting-test-summary,.waiting-run-primer{background:var(--learn-soft);color:var(--ink);padding:22px 24px;border-radius:8px;margin:24px 0;line-height:1.85}
.waiting-note p:last-child,.waiting-test-summary p:last-child,.waiting-run-primer p:last-child{margin-bottom:0}
.waiting-policy-label{display:block;font-weight:600;margin-bottom:10px}
#waiting-policy{font-size:17px;max-width:540px;width:100%;min-height:50px}
#waiting-run{width:auto;min-height:50px;padding:14px 24px;font-size:17px}
#waiting-progress{display:block;width:100%;height:12px;margin-top:22px;accent-color:var(--learn)}
.waiting-schedule{padding:24px 0;border-block:1px solid var(--line);margin:28px 0}
.waiting-schedule>div{display:grid;grid-template-columns:140px 1fr;align-items:center;gap:18px;margin-bottom:20px}
.waiting-schedule strong{font-weight:500;font-size:16px}
.waiting-track{display:flex;gap:6px;height:32px;max-width:600px}
.waiting-track i{display:block;width:calc(100% / 6);background:var(--simulate);border-radius:4px}
.waiting-track.spaced{justify-content:space-between}
.waiting-track.spaced i{background:var(--learn)}
.waiting-schedule>p{font-size:14px;color:var(--muted);margin:0}
.waiting-bars{margin:28px 0}
.waiting-bars figcaption{font-size:15px;color:var(--muted);margin-bottom:20px}
.waiting-bar-row{display:grid;grid-template-columns:125px minmax(0,1fr) 65px;gap:18px;align-items:center;margin:15px 0;font-size:16px}
.waiting-bar-row strong{text-align:right;font-variant-numeric:tabular-nums}
.waiting-bar-track{height:26px;background:var(--bg);border-radius:4px;overflow:hidden}
.waiting-bar-track i{display:block;height:100%;border-radius:4px;background:var(--simulate)}
.waiting-bar-track .candidate{background:var(--learn)}
.waiting-table-wrap{overflow-x:auto;margin:28px 0;border-block:1px solid var(--line)}
.waiting-table{width:100%;font-size:16px;border-collapse:collapse}
.waiting-table caption{text-align:left;padding:16px 10px;font-size:15px;color:var(--muted)}
.waiting-table th,.waiting-table td{padding:15px 10px;line-height:1.7;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.waiting-table th:first-child{text-align:left;white-space:normal;min-width:190px}
.waiting-table tbody th{font-weight:500;color:var(--ink)}
.waiting-table thead th{font-size:14px;color:var(--muted)}
.waiting-uncertainty{margin:24px 0;border-bottom:1px solid var(--line);padding:16px 0}
.waiting-uncertainty summary{cursor:pointer;font-size:17px;color:var(--learn)}
.waiting-uncertainty p{font-size:16px;line-height:1.85;color:var(--muted);max-width:75ch}
.waiting-day-key{display:flex;gap:20px;flex-wrap:wrap;font-size:14px;color:var(--muted);margin-bottom:18px}
.waiting-days{display:grid;grid-template-columns:repeat(20,minmax(0,1fr));gap:9px;max-width:680px;padding:4px}
.waiting-days i{display:block;aspect-ratio:1;border-radius:50%;background:var(--simulate);max-width:19px}
.waiting-days i.late{border-radius:2px;transform:rotate(45deg) scale(.78);background:var(--rust)}
#waiting-practice-tools{display:flex;gap:18px;flex-wrap:wrap;margin-bottom:16px}
@media(max-width:640px){.waiting-note,.waiting-test-summary,.waiting-run-primer{padding:18px}.waiting-schedule>div{grid-template-columns:1fr;gap:10px}.waiting-bar-row{grid-template-columns:90px minmax(0,1fr) 45px;gap:10px;font-size:14px}.waiting-table{font-size:15px}.waiting-days{grid-template-columns:repeat(10,minmax(0,1fr));gap:12px}.waiting-days i{max-width:18px}#waiting-run{width:100%}.waiting-workbench .lesson-steps{font-size:14px}.waiting-workbench .lesson-navigation{gap:12px}}

.waiting-table-hint{display:none}
@media(max-width:640px){.waiting-table-hint{display:block;font-size:14px;color:var(--muted);margin:20px 0 0}.waiting-table-wrap{margin-top:10px}.waiting-table th:first-child{min-width:145px}}

.site-footer .footer-note{font-size:13px;font-weight:600;letter-spacing:1.2px}
.site-footer .footer-note [data-current-year]{display:inline}

/* The notebook keeps the learner's reasoning alongside fixed run evidence. */
.notebook-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:16px}
.notebook-intro>p{font-size:18px;line-height:1.85;max-width:65ch;margin:0}
.notebook-intro button{white-space:nowrap;min-height:46px}
.notebook-storage{font-size:14px;color:var(--muted);line-height:1.8;margin:0 0 28px;max-width:75ch}
.notebook-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:30px;align-items:start}
.notebook-index{border-top:1px solid var(--line);min-width:0}
.notebook-index>h2{font-size:17px;font-weight:600;margin:19px 0 16px;display:flex;gap:12px;justify-content:space-between}
#notebook-count{color:var(--muted);font-weight:400}
#notebook-list{max-height:650px;overflow:auto}
#notebook-list>p{font-size:15px;color:var(--muted);line-height:1.8}
#notebook-list>button{display:block;width:100%;text-align:left;color:var(--ink);background:transparent;border:0;border-bottom:1px solid var(--line);padding:18px 14px;line-height:1.6;border-radius:0;overflow-wrap:anywhere}
#notebook-list>button[aria-current=true]{background:var(--learn-soft);border-radius:6px;color:var(--ink)}
#notebook-list strong{display:block;font-size:16px;font-weight:600}
#notebook-list span,#notebook-list small{display:block;font-size:13px;color:var(--muted);margin-top:8px}
.notebook-editor{background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:28px;min-width:0}
.notebook-editor:focus{outline:none}.notebook-editor:focus-visible{outline:3px solid var(--learn);outline-offset:4px}
.notebook-empty h2{font:38px/1.15 'Instrument Serif',Georgia,serif;letter-spacing:-.4px;margin:0 0 18px;color:var(--learn)}
.notebook-empty p,.notebook-empty li{font-size:17px;line-height:1.9;color:var(--muted)}
.notebook-empty ol{padding-left:24px;margin:24px 0 30px}.notebook-empty li{padding-left:5px;margin:12px 0}.notebook-empty strong{color:var(--ink)}
.notebook-empty .primary-button{width:auto;padding:14px 18px;font-size:16px;min-height:48px}
.notebook-entry-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:24px}
.notebook-entry-heading p{font-size:14px;line-height:1.7;color:var(--muted);margin:0}
.notebook-entry-heading button{font-size:14px;min-height:44px;white-space:nowrap}
.notebook-field{display:flex;flex-direction:column;gap:10px;margin:26px 0;font-size:17px;line-height:1.7}
.notebook-field strong{font-size:18px;font-weight:600}.notebook-field>span{font-size:14px;line-height:1.7;color:var(--muted)}
.notebook-field textarea,.notebook-field input{display:block;width:100%;box-sizing:border-box;font:16px/1.8 'DM Sans',sans-serif;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:5px;padding:13px 15px;resize:vertical}
.notebook-field textarea[readonly]{background:var(--learn-soft)}
#notebook-title{font-size:21px;line-height:1.5;font-weight:500}
.notebook-evidence{border-block:1px solid var(--line);padding:26px 0;margin:30px 0;min-width:0}
.notebook-evidence h3{font:32px/1.2 'Instrument Serif',Georgia,serif;color:var(--learn);margin:0 0 16px}
.notebook-evidence>p{font-size:16px;line-height:1.8}.notebook-evidence .notebook-run-meta{font-size:14px;color:var(--muted)}
.notebook-table-scroll{overflow:auto;max-width:100%;margin:18px 0}
.notebook-evidence .waiting-table th:first-child{min-width:160px}
.notebook-evidence .notebook-definition,.notebook-definition{font-size:14px;color:var(--muted);line-height:1.85}
.notebook-assumptions{padding:18px 0 0;margin-top:22px;border-top:1px solid var(--line)}
.notebook-assumptions summary{font-size:16px;line-height:1.8;cursor:pointer;color:var(--learn)}
.notebook-assumptions p{font-size:15px;color:var(--muted);line-height:1.85}
.notebook-notice{background:var(--learn-soft);padding:16px;border-radius:5px}
.notebook-entry-actions{display:flex;align-items:center;gap:22px;margin-top:26px}
.notebook-entry-actions .primary-button{font-size:16px;width:auto;min-height:48px;padding:13px 22px}
.notebook-delete{background:none;color:var(--muted);border:0;border-bottom:1px solid var(--line);font-size:15px;padding:12px 0}
.notebook-delete:hover{color:var(--rust)}
.notebook-status-row{display:flex;align-items:center;gap:18px;flex-wrap:wrap;font-size:15px;line-height:1.8;margin-top:18px;color:var(--learn)}
.notebook-mobile-hint{display:none}
.notebook-capture{border-block:1px solid var(--line);margin-bottom:24px;padding:18px 0}
.notebook-capture summary{font-size:17px;line-height:1.7;cursor:pointer}
.notebook-capture summary>span{display:inline-block;font-size:13px;color:var(--learn);margin-left:12px}
.notebook-capture>div{padding:18px 0 0;max-width:760px}
.notebook-capture label{display:block;font-size:16px;line-height:1.8}.notebook-capture label span{display:block;font-size:13px;color:var(--muted)}
.notebook-capture textarea{box-sizing:border-box;width:100%;margin-top:12px;min-height:90px;padding:12px 14px;font:16px/1.8 'DM Sans',sans-serif;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:5px;resize:vertical}
.notebook-capture p{font-size:15px;line-height:1.8;color:var(--muted)}
#notebook-last-run{display:block;font-size:14px;line-height:1.8;color:var(--muted);margin-top:12px}
.notebook-capture .secondary-button{min-height:46px;font-size:15px}
@media(max-width:900px){.notebook-layout{grid-template-columns:1fr;gap:24px}#notebook-list{display:flex;gap:12px;max-height:none;overflow-x:auto;padding-bottom:6px}#notebook-list>button{min-width:210px;max-width:260px;flex-shrink:0;border:1px solid var(--line);border-radius:6px}#notebook-list>button:focus-visible{outline-offset:-3px}.notebook-index>h2{margin-top:16px}.notebook-intro{align-items:flex-start;flex-direction:column;gap:16px}}
@media(max-width:640px){.notebook-editor{padding:20px 16px}.notebook-entry-heading{align-items:flex-start;flex-direction:column}.notebook-empty h2{font-size:33px}.notebook-mobile-hint{display:block;font-size:14px!important;color:var(--muted)}.notebook-entry-actions{gap:16px;flex-wrap:wrap}.notebook-evidence .waiting-table th:first-child{min-width:140px}.notebook-capture summary>span{display:block;margin:6px 0 0}.notebook-storage{margin-bottom:22px}}
@media print{
  @page{margin:17mm}
  body>*:not(#notebook-print){display:none!important}
  #notebook-print{display:block!important;font:11pt/1.6 'DM Sans',sans-serif;color:#17232d;background:white;--ink:#17232d;--muted:#374552;--line:#ccd3d9;--paper:#fff;--bg:#eef1f4;--learn:#59388e;--simulate:#205d99}
  #notebook-print h1{font-size:25pt;margin:8pt 0}#notebook-print h2{font-size:21pt;line-height:1.3;overflow-wrap:anywhere}#notebook-print h3{font-size:15pt;color:#17232d}
  .notebook-print-entry{break-before:page}.notebook-print-entry:first-of-type{break-before:auto}
  .notebook-print-note{white-space:pre-wrap;overflow-wrap:anywhere}
  #notebook-print .notebook-evidence{margin:20pt 0;padding:16pt 0}#notebook-print .notebook-table-scroll{overflow:visible}
  #notebook-print .waiting-table{font-size:9pt;table-layout:fixed}#notebook-print .waiting-table td,#notebook-print .waiting-table th{white-space:normal;min-width:0;padding:7pt 5pt;overflow-wrap:anywhere}
  #notebook-print .waiting-table th:first-child{min-width:0;width:35%}#notebook-print tr{break-inside:avoid}
  #notebook-print .waiting-bars{break-inside:avoid}#notebook-print .waiting-bar-track{print-color-adjust:exact;-webkit-print-color-adjust:exact;border:1px solid #ccd3d9}
  #notebook-print .waiting-bar-track i{print-color-adjust:exact;-webkit-print-color-adjust:exact}
  #notebook-print .notebook-mobile-hint{display:none}#notebook-print summary{list-style:none;color:#17232d;font-weight:600}
}

.notebook-intro .secondary-button,.notebook-entry-heading .secondary-button{width:auto;flex-shrink:0}
.notebook-field textarea:focus-visible,.notebook-capture textarea:focus-visible{outline:3px solid var(--learn);outline-offset:3px}
@media print{html,body{background:#fff!important;color:#17232d!important}}

/* Explain the evidence before asking the learner to recommend a policy. */
.experiment-debrief{margin:30px 0;padding:28px 0;border-block:1px solid var(--line);font-size:17px;line-height:1.85;min-width:0}
.experiment-debrief>h3{font:36px/1.15 'Instrument Serif',Georgia,serif;letter-spacing:-.4px;margin:0 0 12px;color:var(--learn)}
.experiment-debrief h4{font-size:18px;line-height:1.6;font-weight:600;margin:26px 0 10px}
.experiment-debrief p{max-width:75ch;margin:10px 0 18px}
.experiment-debrief .debrief-meta{font-size:14px;color:var(--muted)}
.debrief-outcomes{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.debrief-outcomes ul{padding-left:22px;margin:10px 0 0}.debrief-outcomes li{padding-left:3px;margin-bottom:12px}
.debrief-outcomes>div:first-child h4{color:var(--simulate)}.debrief-outcomes>div:last-child h4{color:var(--rust)}
.debrief-illustration{max-width:650px;margin:24px 0;background:var(--bg);border-radius:6px;padding:12px 16px}
.debrief-illustration svg{width:100%;display:block}.debrief-illustration text{font:15px 'DM Sans',sans-serif;fill:var(--ink)}
.debrief-illustration figcaption{font-size:14px;line-height:1.8;color:var(--muted);padding:4px 0 10px}
.experiment-debrief .debrief-caution{font-size:15px;color:var(--muted);line-height:1.85}
.debrief-next{background:var(--learn-soft);border-radius:6px;padding:20px 24px;margin-top:24px}.debrief-next h4{margin-top:0}
.debrief-next .debrief-reflection{font-size:15px;color:var(--muted)}
.notebook-evidence .experiment-debrief{margin-bottom:0;border-bottom:0;padding-bottom:0}.notebook-evidence .experiment-debrief>h3{font-size:30px}
@media(max-width:640px){.debrief-outcomes{grid-template-columns:1fr;gap:0}.experiment-debrief{font-size:16px}.experiment-debrief>h3{font-size:32px}.debrief-next{padding:18px}.debrief-illustration{padding:8px}.debrief-illustration figcaption{font-size:13px}}
@media print{#notebook-print .experiment-debrief{font-size:10pt}#notebook-print .debrief-outcomes{display:block}#notebook-print .debrief-illustration{break-inside:avoid}#notebook-print .debrief-next{background:white;padding:0}#notebook-print .experiment-debrief h4{font-size:12pt;color:#17232d}#notebook-print .debrief-illustration{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

.debrief-diaries{padding:12px 0}.debrief-diaries>div{display:grid;grid-template-columns:65px minmax(0,1fr);align-items:center;gap:12px;margin:8px 0}.debrief-diaries span{font-size:15px;color:var(--ink)}

/* Isolate equipment resilience from changes to the appointment diary. */
.app-layout[data-tool=downtime] .run-actions,.app-layout[data-tool=downtime] .settings-section:has([name=runs]){display:none}
.downtime-scope{font-size:17px;line-height:1.85;max-width:75ch;color:var(--muted);margin-bottom:26px}
.downtime-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;padding:26px;background:var(--paper);border:1px solid var(--line);border-radius:8px}
.downtime-controls>label{font-size:16px;line-height:1.7;color:var(--ink);min-width:0}.downtime-controls input,.downtime-controls select{font-size:17px;min-height:46px;width:100%;box-sizing:border-box}
.downtime-controls>p{grid-column:1 / -1;font-size:15px;line-height:1.85;color:var(--muted);margin:0;max-width:75ch}
.downtime-prediction,.downtime-run-actions,#downtime-progress{grid-column:1 / -1}.downtime-prediction>span{display:block;font-size:14px;color:var(--muted)}
.downtime-prediction textarea{width:100%;box-sizing:border-box;margin-top:10px;padding:12px 14px;font:16px/1.8 'DM Sans',sans-serif;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:5px;resize:vertical}
.downtime-run-actions{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.downtime-run-actions .primary-button{width:auto;font-size:16px;padding:14px 20px;min-height:48px}
.downtime-report{margin-top:32px;font-size:17px;line-height:1.85}.downtime-report h2{font:38px/1.2 'Instrument Serif',Georgia,serif;margin:0 0 18px}.downtime-report h3{font-size:23px;line-height:1.5}
.downtime-run-meta{font-size:15px;color:var(--muted)}.downtime-observed{padding:20px 24px;background:var(--simulate-soft);border-radius:6px;margin:24px 0}.downtime-observed strong{font-size:21px}.downtime-observed p{max-width:70ch;margin-bottom:0;font-size:16px;color:var(--ink)}
.downtime-sample{margin-top:30px;padding-top:24px;border-top:1px solid var(--line)}.downtime-sample>p{font-size:15px;line-height:1.85;color:var(--muted)}
.downtime-timeline{overflow:auto;padding:16px 0}.downtime-timeline svg{display:block;width:100%;min-width:850px}.downtime-timeline text{font:15px 'DM Sans',sans-serif;fill:var(--ink)}
.debrief-availability{padding:18px 0}.debrief-availability>div{display:grid;grid-template-columns:70px minmax(0,1fr);align-items:center;gap:12px;margin-bottom:20px;font-size:15px}.debrief-availability i{display:block;height:24px;background:var(--simulate);border-radius:3px}.debrief-availability i.interrupted{background:linear-gradient(to right,var(--learn) 0 40%,transparent 40% 60%,var(--learn) 60% 100%)}
@media(max-width:800px){.downtime-controls{grid-template-columns:1fr 1fr;padding:20px;gap:18px}.downtime-run-actions .primary-button{width:100%}}
@media(max-width:480px){.downtime-controls{grid-template-columns:1fr}.downtime-observed{padding:18px}.downtime-observed strong{font-size:19px}}

.downtime-report .experiment-debrief>h3{font:36px/1.15 'Instrument Serif',Georgia,serif}
@media(max-width:640px){.downtime-report .experiment-debrief>h3{font-size:32px}}

#optimizer-progress,#scenario-progress{display:block;width:100%;height:12px;accent-color:var(--simulate);margin:14px 0}#optimizer-cancel,#scenario-cancel{width:auto;min-height:44px}#optimizer-busy{line-height:1.8}
