/* Extends the established workshop palette. Scoped to the three new labs. */
.new-lab{--focus:#2855b8;--muted:#566375;background:#f6f3ed;font-size:1rem}
.new-lab .shell{max-width:1600px;padding:24px clamp(12px,2vw,28px) 40px}
.new-lab .hero{align-items:center;padding:8px 0 24px;gap:28px}
.new-lab .hero h1{font-size:clamp(30px,3.2vw,48px);line-height:1.08;letter-spacing:-.035em}
.new-lab .hero p{font-size:1rem;max-width:790px}.new-lab .eyebrow{font-size:0.75rem;color:#335b8d}
.new-lab .challenge{box-shadow:none;min-width:240px;max-width:300px;background:#263449}.new-lab .challenge span,.new-lab .challenge small{font-size:0.8125rem;line-height:1.5}.new-lab .challenge strong{font-size:1.25rem;line-height:1.35}
.workshop-grid{display:grid;grid-template-columns:270px minmax(0,1fr) 290px;gap:16px;align-items:start}
.new-lab .panel{background:#fff;border:1px solid #d8dfe4;border-radius:18px;box-shadow:0 5px 16px #26344908;min-width:0}
.new-lab .controls,.new-lab .results{position:static;padding:18px}.new-lab .panel-title h2{font-size:1.25rem}.new-lab .panel-title p{font-size:0.875rem}.new-lab .num{background:#355979;border-radius:10px}
.new-lab fieldset{border:0;padding:0;margin:0;min-width:0}.new-lab fieldset:disabled{opacity:.65}
.new-control{margin:21px 0}.new-control>div{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:8px}.new-control label{font-size:0.875rem;line-height:1.4;font-weight:650}.new-control output{font-size:0.875rem;font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:750;color:#355979}
.new-control input[type=range]{width:100%;min-height:30px;margin:0;accent-color:#355979;cursor:pointer;touch-action:pan-y}
.new-lab button:focus-visible,.new-lab input:focus-visible,.new-lab select:focus-visible,.new-lab summary:focus-visible{outline:3px solid #245bd7;outline-offset:3px}
.new-lab button:disabled{opacity:.5;cursor:default;transform:none}.new-lab .reset{font-size:0.875rem;min-height:44px;background:#f7f8f8}
.workbench{overflow:hidden}.new-lab .stage-top{padding:15px 18px;flex-wrap:wrap;background:#fff}.new-lab .stage-top strong{font-size:1rem}.new-lab .stage-top span{font-size:0.8125rem}
.new-stage{background:#f5f7f4;line-height:0}.new-stage svg{display:block;width:100%;height:auto;touch-action:pan-y;user-select:none;font-family:inherit}.new-stage svg [data-handle]{cursor:grab;touch-action:none}.new-stage svg.dragging{touch-action:none;cursor:grabbing}
.drag-hint{padding:12px 18px;margin:0;font-size:0.875rem;line-height:1.5;color:#566375;border-bottom:1px solid #d8dfe4}
.live-readout{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;padding:12px 18px;font-size:0.875rem;font-variant-numeric:tabular-nums;color:#355979;font-weight:700}
.run-toolbar{display:flex;gap:8px;align-items:center;padding:0 16px 16px}.new-lab .test{margin:0;flex:1;font-size:1rem;min-height:48px;padding:12px;border-radius:10px;background:#efbd58;box-shadow:none;color:#352908}.secondary{background:white;border:1px solid #cbd5dd;color:#263449;font-size:0.875rem;font-weight:700;min-height:48px;padding:10px;border-radius:10px;cursor:pointer}
.new-lab .status{display:block;font-size:0.875rem;line-height:1.5;padding:12px 18px;background:#f8faf9}
.predict{margin-bottom:18px}.predict label{display:block;font-size:0.875rem;font-weight:700;margin-bottom:9px}.guess-row{display:flex;gap:8px;align-items:center}.predict input,.predict select{width:100%;min-height:44px;font-size:1rem;padding:9px 12px;border:1px solid #bdc9d4;border-radius:9px;background:white;color:#263449}.guess-row input{max-width:130px}
.new-lab .result-hero{padding:15px;background:#f5f7f8;border-radius:12px}.new-lab .result-hero span{font-size:0.75rem}.new-lab .result-hero strong{font-size:1.4375rem}.new-lab .result-hero p{font-size:0.875rem;line-height:1.55;color:#566375}.new-lab .result-hero.good{background:#eff7f1;border-color:#b9d5bf}.new-lab .result-hero.warn{background:#fff7e6;border-color:#e4cb93}
.new-lab .metric{padding:10px;border-radius:10px}.new-lab .metric span,.new-lab .metric small{font-size:0.75rem;line-height:1.4}.new-lab .metric strong{font-size:1.3125rem;overflow-wrap:anywhere}.new-lab .coach{background:#f0f4f8;border-color:#d0dce5;box-shadow:none}.new-lab .coach .mini{font-size:0.75rem;color:#355979}.new-lab .coach p{font-size:0.875rem;line-height:1.55;margin:0;color:#425469}
.run-compare{font-size:0.875rem;line-height:1.6;border-top:1px solid #d8dfe4;padding-top:12px;margin-top:16px}.run-compare[hidden]{display:none}
.learn-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px}.learn-grid article{padding:22px}.learn-grid h2{font-size:1.3125rem;line-height:1.3;margin:8px 0}.learn-grid p,.model-details p{font-size:1rem;line-height:1.65;color:#4e5b6c}.learn-grid p{margin-bottom:0}
.model-details{padding:18px 22px;margin-top:16px}.model-details summary{cursor:pointer;font-size:1rem;font-weight:700}.model-details a{color:#2855b8}.new-lab .build-id{font-size:0.75rem;margin-top:20px}
.wing-picker legend{font-size:0.875rem;font-weight:700;margin:6px 0 10px}.shape-options{display:flex;gap:6px}.shape-options button{flex:1;min-width:0;background:white;border:1px solid #cbd5dd;border-radius:9px;padding:10px 5px;font-size:0.875rem;min-height:44px;color:#263449;cursor:pointer}.shape-options button[aria-pressed=true]{background:#eaf0f6;border:2px solid #355979;padding:9px 4px;font-weight:700}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1220px){.workshop-grid{grid-template-columns:255px minmax(0,1fr)}.new-lab .results{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:16px}.new-lab .results>.panel-title{grid-column:1/-1;margin:0}.new-lab .results .coach{margin:0}.new-lab .metrics{margin:0}}
@media(max-width:760px){.new-lab .hero{display:block;padding-bottom:18px}.new-lab .hero p{font-size:1rem}.new-lab .challenge{max-width:none;margin-top:16px;padding:12px 16px}.new-lab .challenge strong{font-size:1.125rem}.workshop-grid{display:flex;flex-direction:column}.workshop-grid>*{width:100%}.new-lab .workbench{order:0}.new-lab .controls{order:1}.new-lab .results{order:2;display:block}.new-lab .metrics{margin-top:12px}.new-lab .results .coach{margin-top:12px}.new-lab .results>.panel-title{margin-bottom:16px}.learn-grid{grid-template-columns:1fr}.new-lab .stage-top{padding:12px}.drag-hint{padding:10px 12px}.live-readout{padding:10px 12px;font-size:0.8125rem}.run-toolbar{padding:0 12px 12px;flex-wrap:wrap}.new-lab .test{font-size:0.9375rem;min-width:140px}.secondary{font-size:0.8125rem}.new-lab .hero h1{font-size:2rem}.new-lab .shell{padding-top:14px}}
@media(prefers-reduced-motion:reduce){.new-lab *{scroll-behavior:auto;transition:none!important}}
.workbench .predict{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 18px 16px;margin:0}.workbench .predict label{margin:0;max-width:60%;font-size:0.875rem}.workbench .predict select{max-width:230px;font-size:0.875rem}.workbench .guess-row{flex-shrink:0}.workbench .guess-row input{max-width:90px}
@media(max-width:760px){.workbench .predict{padding:8px 12px 14px;gap:10px}.workbench .predict select{max-width:175px}}
.predict-number{display:inline-grid;place-items:center;min-width:23px;height:23px;margin-right:5px;border-radius:7px;background:#355979;color:white;font-size:0.8125rem}
