.experience-shell{--experience-width:1560px;--experience-border:#d5e0ef;--experience-teal:#087f8c}
.experience-titlebar{max-width:var(--experience-width);width:calc(100% - 40px);box-sizing:border-box;margin:12px auto 0;padding:13px 16px;background:var(--experience-teal);color:#fff;border-radius:10px 10px 0 0;font-size:14px;font-weight:600}
.experience-panel-head{padding:13px 16px;min-height:72px;box-sizing:border-box;background:#f7f9ff;border-bottom:1px solid var(--experience-border)}.experience-panel-head h2{font-size:17px;margin:0}.experience-panel-head p{font-size:11px;color:#627da8;margin:4px 0}.experience-program-toolbar{display:flex;flex-wrap:wrap;gap:6px;padding:10px 12px;background:#edf2fa;flex-shrink:0}.experience-program-toolbar button{font-size:11px;padding:7px 9px;min-height:32px;border-radius:5px;border:1px solid #d5e0ef;background:#e7eeff;color:#315b91}
.experience-run-dock[hidden]{display:none!important}.experience-run-dock{position:fixed;right:24px;bottom:20px;z-index:1450;background:var(--experience-teal);padding:10px 12px;border:1px solid #ffffff66;border-radius:12px;box-shadow:0 8px 30px #18345333;max-width:calc(100vw - 48px);box-sizing:border-box}.experience-run-dock .race-controls{display:flex!important;gap:7px;padding:0!important;border:0!important;background:transparent!important;flex-wrap:wrap}.experience-run-dock button{border:0;border-radius:6px;min-height:36px;padding:8px 12px;font-size:12px;background:white;color:#087346}.experience-run-dock button.halt{background:#ffe8e8;color:#a53f49}.experience-run-dock button.clear{background:#ffffff20;color:white}.experience-run-dock button:disabled{opacity:.5}
.challenge-shell .race-palette button{position:relative;border-radius:5px;box-shadow:inset 0 -2px #0002;min-height:42px;padding:9px 10px;font-size:12px}.challenge-shell .race-palette button:after{content:'';position:absolute;left:17px;bottom:-4px;width:24px;height:5px;border-radius:0 0 4px 4px;background:inherit}.challenge-shell .race-block{height:46px!important;min-height:46px!important;width:max-content!important;max-width:100%;box-sizing:border-box;padding:7px 12px 7px 34px!important;margin:0 0 -1px!important}.challenge-shell .race-block .fields{display:flex;flex-wrap:nowrap;align-items:center;gap:6px;min-height:30px;font-size:13px;white-space:nowrap}.challenge-shell .race-block input,.challenge-shell .race-block select{height:28px!important;font-size:13px!important;padding:2px 6px!important;max-width:100px}.challenge-shell .race-block .race-tools{display:none!important}.challenge-shell .race-start{height:44px;box-sizing:border-box;min-height:44px;padding:7px 16px;font-size:13px;line-height:28px;border-radius:21px 21px 4px 4px;margin:12px 16px 0;flex-shrink:0}.challenge-shell .block-edit-bar{flex-shrink:0}.challenge-shell .race-program{padding:8px 16px 30px!important;background-color:#fafbff;background-image:radial-gradient(#d4ddef 1px,transparent 1px);background-size:20px 20px}.challenge-shell .race-board>.mission-info{padding:16px 18px}.challenge-shell .race-board .mission-info h3{font-size:18px;margin:0 0 8px}.challenge-shell .race-board .mission-info p{font-size:13px;line-height:1.6}.challenge-shell.stage-dock-visible .resource-map-entry{visibility:hidden!important}
@media(min-width:851px){
 .challenge-shell .race-layout{display:grid!important;grid-template-columns:240px minmax(320px,1fr) minmax(380px,1.1fr)!important;gap:0!important;max-width:var(--experience-width)!important;width:calc(100% - 40px)!important;margin:0 auto 24px!important;padding:0!important;border:1px solid var(--experience-border);border-radius:0 0 10px 10px;overflow:hidden;box-sizing:border-box;align-items:stretch!important;min-height:650px}
 .challenge-shell .experience-palette{min-width:0;background:white;border-right:1px solid var(--experience-border)}
 .challenge-shell .race-palette{display:flex!important;flex-direction:column!important;gap:14px;padding:16px 12px!important;border:0!important}
 .challenge-shell .race-editor{display:flex!important;flex-direction:column!important;min-width:0!important;width:100%!important;padding:0!important;border:0!important;border-right:1px solid var(--experience-border)!important;border-radius:0!important;overflow:hidden!important}
 .challenge-shell .race-head{padding:13px 16px;min-height:72px;box-sizing:border-box;background:#f7f9ff}.challenge-shell .race-head h2{font-size:17px}.challenge-shell .race-head p{font-size:11px}
 .challenge-shell .race-program{display:flex!important;flex-direction:column;flex:1 1 auto;min-height:300px!important;max-height:65vh!important;overflow:auto!important}
 .challenge-shell .race-board{position:relative!important;top:auto!important;min-width:0;width:100%!important;border:0!important;border-radius:0!important;margin:0!important;padding-bottom:78px!important}
 .challenge-shell .race-editor>.race-guide{font-size:10px;padding:10px 16px;line-height:1.7;margin:0;background:#f2f6fc}
 .challenge-shell .race-intro,.challenge-shell .journey-path,.challenge-shell .race-footnote,.challenge-shell main>.experience-notes,.challenge-shell>footer{max-width:var(--experience-width);width:calc(100% - 40px);box-sizing:border-box;margin-left:auto;margin-right:auto}
}
@media(min-width:851px) and (max-width:1150px){.challenge-shell .race-layout{grid-template-columns:180px minmax(260px,1fr) minmax(310px,1fr)!important}}
@media(max-width:850px){
 .experience-titlebar{display:none}.challenge-shell .experience-palette{display:none}.challenge-shell.palette-open .experience-palette{display:block;position:fixed;left:10px;right:10px;bottom:calc(72px + env(safe-area-inset-bottom));max-height:65dvh;overflow:auto;z-index:1600;background:white;border:1px solid var(--experience-border);border-radius:14px;padding:8px}
 .challenge-shell .experience-palette .experience-panel-head{min-height:0;padding:8px}.challenge-shell .experience-palette .race-palette{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;padding:12px!important}
 .challenge-shell .race-editor{display:flex!important;flex-direction:column!important;overflow:hidden!important;min-height:320px!important}.challenge-shell .race-editor .race-start{margin:6px 9px 0!important}.challenge-shell .race-program{display:flex!important;flex-direction:column!important;min-height:140px!important;max-height:36dvh!important;overflow:auto!important;flex:1 1 auto!important}.challenge-shell .race-editor>.race-controls{display:none!important}
 .challenge-shell .block-edit-bar{min-height:68px!important}.challenge-shell .race-block .fields{font-size:12px!important}.challenge-shell .race-block input,.challenge-shell .race-block select{font-size:16px!important;max-width:90px!important}.experience-run-dock{display:none!important}
}
body.challenge-shell.mobile-lab .race-block:focus-within .race-tools,body.challenge-shell.mobile-lab .race-block .race-tools{display:none!important}
/* Canonical R4 workstation: category rail, equal headers, screen above stage. */
.experience-mission{box-sizing:border-box;width:calc(100% - 40px);max-width:1560px;margin:0 auto;background:#fff;border:1px solid #d5e0ef;border-bottom:0}.experience-mission>summary{padding:8px 16px;color:#315b91;font-size:12px;cursor:pointer}.experience-mission .mission-info{padding:12px 16px}.experience-mission h3{font-size:17px;margin:0 0 7px}.experience-mission p{font-size:13px;line-height:1.6;margin:5px 0}.experience-palette-body{display:grid;grid-template-columns:58px minmax(0,1fr);min-height:330px}.experience-categories{display:flex;flex-direction:column;gap:3px;padding:8px 4px;background:#f1f5fb;border-right:1px solid #e0e7f0}.experience-categories button{padding:9px 2px;min-height:44px;border:0;border-radius:6px;font-size:11px;color:#62748e;background:transparent;cursor:pointer}.experience-categories button[aria-pressed=true]{background:#deebf8;color:#254e7d;font-weight:700}.experience-categories i{display:block;width:15px;height:15px;margin:0 auto 4px;border-radius:50%}.challenge-shell .race-palette button[hidden]{display:none!important}.challenge-shell .experience-screen{margin:0!important;padding:9px 12px!important;background:#1d1d36!important;border-radius:0!important;border:0!important;box-sizing:border-box}.challenge-shell .experience-screen label{display:flex;align-items:center;justify-content:space-between;color:#a7b9d9;font-size:10px;letter-spacing:1px}.challenge-shell .experience-screen p{border:1px solid #68799b;background:#131925;color:#c3f4df;font-size:16px;min-height:35px;box-sizing:border-box;padding:8px 10px;line-height:1.4;margin:5px 0 0;border-radius:5px}.challenge-shell .experience-screen .color-dot{width:15px;height:15px;border-radius:50%}.challenge-shell .stage-note{display:none}.challenge-shell .board-bottom:has(>.race-status){display:block;padding:0}.challenge-shell .race-status{padding:10px 13px;font-size:12px}.challenge-shell .race-status span{font-size:11px}
@media(min-width:851px){
 .challenge-shell .race-layout{grid-template-columns:260px minmax(280px,1fr) minmax(350px,1.1fr)!important;height:calc(100dvh - 200px);min-height:590px!important;max-height:900px;overflow:hidden!important}
 .challenge-shell .race-editor,.challenge-shell .race-board,.challenge-shell .experience-palette{min-height:0;overflow:auto!important}
 .challenge-shell .race-editor{overflow:hidden!important}
 .challenge-shell .race-head,.challenge-shell .experience-panel-head{min-height:72px;height:72px;padding:13px 16px!important;flex-shrink:0;box-sizing:border-box}
 .challenge-shell .race-head h2,.challenge-shell .experience-panel-head h2{font-size:17px!important;margin:0}
 .challenge-shell .race-head p,.challenge-shell .experience-panel-head p{font-size:11px;line-height:1.5;margin:4px 0 0}
 .challenge-shell .race-program{min-height:0!important;flex:1 1 0!important;max-height:none!important}
 .challenge-shell .race-palette{padding:12px 9px!important;gap:14px!important}
 .challenge-shell .race-board>.stage-toolbar{min-height:48px;box-sizing:border-box;padding:7px 12px!important;justify-content:flex-end;background:#fff}
 .challenge-shell .race-board>.stage-toolbar strong{display:none}
 .challenge-shell .race-board{padding-bottom:78px!important}
}
@media(min-width:851px) and (max-width:1150px){.challenge-shell .race-layout{grid-template-columns:210px minmax(240px,1fr) minmax(310px,1.05fr)!important}}
@media(max-width:850px){.experience-mission{width:calc(100% - 20px);border-radius:7px;margin:4px 10px}.experience-mission summary{font-size:11px;padding:6px 9px}.experience-categories{display:none}.experience-palette-body{display:block}.challenge-shell .experience-screen{display:flex;align-items:center;gap:8px;padding:4px 8px!important}.challenge-shell .experience-screen label{font-size:0;flex:0 0 auto}.challenge-shell .experience-screen p{flex:1;font-size:13px;padding:3px 6px;min-height:24px;margin:0}.challenge-shell .experience-screen .color-dot{width:8px;height:8px}.challenge-shell .race-board>.experience-panel-head{display:none}}
.challenge-shell .race-layout>.experience-palette{margin:0!important;padding:0!important;max-width:none!important;align-self:stretch!important;border-radius:0!important;box-sizing:border-box}
/* Cancel the original two-column editor tracks after extracting the library. */
.challenge-shell .experience-palette-body>.experience-categories{grid-column:1!important;grid-row:1!important;min-width:0;align-self:stretch}
.challenge-shell .experience-palette-body>.race-palette{grid-column:2!important;grid-row:1!important;width:100%!important;min-width:0!important;max-width:none!important;box-sizing:border-box;align-self:start!important}
.challenge-shell .race-palette button{width:100%!important;min-width:0!important;max-width:100%;white-space:nowrap!important;word-break:normal!important;text-align:left;box-sizing:border-box;flex-shrink:0}
@media(min-width:851px){
 .challenge-shell .race-layout>.race-editor{height:100%!important;max-height:none!important;min-height:0!important;align-self:stretch!important;box-sizing:border-box;justify-content:flex-start!important}
 .challenge-shell .race-layout>.experience-palette,.challenge-shell .race-layout>.race-board{height:100%!important;align-self:stretch!important;box-sizing:border-box}
 .challenge-shell .race-editor>.race-program{min-height:0!important;height:auto!important;flex:1 1 0!important;align-self:stretch!important;overflow:auto!important}
 .challenge-shell .race-editor>.race-guide{flex:0 0 auto!important}
}
@media(max-width:850px){.challenge-shell .experience-palette-body>.race-palette{width:100%!important}.challenge-shell .race-layout>.race-editor{height:auto!important}}
/* Task copy stays visible beside its heading, rather than behind a disclosure. */
.experience-titlebar.experience-taskbar{padding:12px 16px;min-height:60px}
.experience-taskbar .mission-inline{display:flex;align-items:center;flex-wrap:wrap;gap:6px 18px;padding:0!important;margin:0!important;color:white}
.experience-taskbar .mission-inline h3{flex:0 0 auto;font-size:17px!important;line-height:1.5;margin:0!important;color:#fff}
.experience-taskbar .mission-inline>p{display:block!important;flex:1 1 300px;margin:0!important;font-size:13px!important;line-height:1.7;color:#fff}
.experience-taskbar .mission-inline>.eyebrow{display:none}
.experience-taskbar .mission-hint{margin:0!important;padding:0!important;font-size:12px;color:#fff}
.experience-taskbar .mission-hint summary{font-size:12px;color:#fff;padding:4px;cursor:pointer}
.experience-taskbar #deliveryList{display:flex;gap:5px;margin:0}.experience-taskbar .delivery-row{background:#ffffff24;color:white;margin:0;padding:4px 8px;font-size:11px}
.challenge-shell .map-pickup,.challenge-shell .map-destination{pointer-events:none;filter:drop-shadow(0 3px 4px #0008)}
@media(max-width:850px){.experience-titlebar.experience-taskbar{display:block!important;width:calc(100% - 20px);margin:5px 10px 0;padding:8px 10px;min-height:0;border-radius:7px}.experience-taskbar .mission-inline{gap:3px 8px}.experience-taskbar .mission-inline h3{font-size:13px!important}.experience-taskbar .mission-inline>p{font-size:11px!important;flex-basis:100%}.experience-taskbar .mission-hint summary{font-size:10px}.experience-taskbar #deliveryList{display:none}}
