@layer components{.cockpit{--shift-paper:#f4eddf;--shift-muted:#bdd0c9;--shift-ink:#173632;--shift-line:#46625a;--shift-amber:#f0a179;background:#142d2b;color:var(--shift-paper);margin:24px auto 64px;max-width:1400px;border-radius:14px;overflow:clip;box-shadow:0 24px 65px #15352f1c;font-size:15px}.cockpit *{box-sizing:border-box}.cockpit [hidden]{display:none!important}.cockpit p{color:inherit}.cockpit a{color:#c3dbbb}.cockpit button,.cockpit select,.cockpit input{font:inherit}.cockpit button,.cockpit select{min-height:44px;border:1px solid #6d8880;border-radius:6px;background:#213e39;color:var(--shift-paper);padding:9px 14px;cursor:pointer}.cockpit button:hover,.cockpit button:focus-visible{background:#34564c}.cockpit :focus-visible{outline:3px solid #f8b28b;outline-offset:4px}.cockpit button:disabled{opacity:.5;cursor:default}.cockpit input[type=range]{min-width:0;width:100%;height:44px;accent-color:#f0a179}.cockpit .eyebrow{font-size:12px;color:#c0d0bd;letter-spacing:.1em}.cockpit-heading{display:flex;justify-content:space-between;gap:24px;padding:40px 44px 24px}.cockpit-heading h1{font-size:clamp(36px,5vw,70px);letter-spacing:-.035em;color:var(--shift-paper);line-height:1.02;max-width:760px;margin:8px 0 20px}.cockpit-heading p:last-child{font-size:17px;max-width:640px;line-height:1.6;margin-bottom:0}.cockpit-utilities{display:flex;align-items:flex-start;gap:10px}.cockpit-glass{position:relative}.cockpit-glass>summary{list-style:none;cursor:pointer;display:grid;place-items:center;width:48px;min-height:44px;border:1px solid #6d8880;border-radius:6px;font-size:20px;background:#213e39}.cockpit-glass>summary::-webkit-details-marker{display:none}.cockpit-glass[open]>div{position:absolute;z-index:20;right:0;top:56px;width:min(580px,calc(100vw - 52px));max-height:72vh;overflow:auto;padding:24px;background:#f5f0e5;color:#213b34;border:1px solid #b5c0ae;box-shadow:0 18px 60px #0006;border-radius:8px}.cockpit-glass h2{font-size:26px;color:#213b34}.cockpit-glass p,.cockpit-glass a{color:#213b34}.cockpit-glass p{font-size:15px;line-height:1.6}.shift-stage-track{display:flex;gap:24px;border-bottom:1px solid var(--shift-line);padding:0 44px 16px;color:#9eb4ab;font-size:13px}.shift-stage-track [aria-current]{color:#ffc9aa}.cockpit-body{padding:28px 44px 36px}.shift-operator{max-width:860px;margin:0 auto 32px}.shift-clock{display:flex;justify-content:space-between;align-items:center;gap:20px;color:#adc6b9}.shift-clock>span{font-family:var(--font-mono,"IBM Plex Mono",monospace);font-size:16px}.shift-clock b{font-weight:500;font-size:14px}.cockpit[data-alert=true] .shift-clock b{color:#ffb5a2}.shift-scene canvas{display:block;width:100%;height:260px}.shift-scene>p{font-size:15px;text-align:center;margin:8px 0 25px;color:#d2dfd4}.shift-tactile{display:grid;grid-template-columns:1fr auto;gap:8px 20px;border:1px solid #536f62;padding:20px 24px;border-radius:10px;background:#1d3b33}.shift-tactile>span{font-size:18px}.shift-tactile output{font:20px var(--font-mono,"IBM Plex Mono",monospace);color:#ffc7a4}.shift-tactile input{grid-column:1/-1}.shift-playback{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:20px 0 12px}.shift-playback>[data-shift-play]{background:#e3b492;border-color:#e3b492;color:#23382e;min-width:150px}.shift-playback>[data-shift-bench]{margin-left:auto}.shift-help{font-size:13px;line-height:1.5;color:var(--text-secondary)!important}.shift-policies{border:1px solid #536f62;border-radius:10px;padding:20px;display:grid;grid-template-columns:1fr 1fr;gap:12px 24px;background:#1d3b33}.shift-policies legend{padding:0 8px;font-size:18px}.shift-policies label{display:flex;align-items:center;gap:12px;min-height:44px;cursor:pointer}.shift-policies input{width:22px;height:22px;accent-color:#f0a179;flex-shrink:0}.shift-policies p{grid-column:1/-1;margin:0;font:14px var(--font-mono,"IBM Plex Mono",monospace)}.shift-reveal{margin:32px 0;padding:30px;border:1px solid #a37d55;background:#273f32;border-radius:10px;scroll-margin-top:20px}.shift-reveal h2{font-size:clamp(28px,4vw,46px);line-height:1.1;color:#f8ebd5;margin:6px 0 16px}.shift-reveal>p{font-size:17px;line-height:1.65;max-width:900px}.shift-hidden-flows{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin:24px 0}.shift-hidden-flows>div{display:flex;flex-direction:column;gap:10px;min-width:120px}.shift-hidden-flows span{font-size:13px;color:#bed0b3}.shift-hidden-flows b{font-family:var(--font-mono,"IBM Plex Mono",monospace);font-size:24px;font-weight:500;color:#ffc69a}.shift-traces{border-top:1px solid var(--shift-line);padding-top:24px}.shift-trace-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:16px}.shift-trace-head h2{font-size:28px;color:#eee6d5;margin:6px 0}.shift-trace-head label,.shift-series-label{display:flex;align-items:center;gap:12px;font-size:13px;flex-wrap:wrap}.shift-trace-head select{max-width:220px}.shift-scale-copy{margin:24px 0;background:#213f37;border-left:3px solid #b2cba7;padding:18px 24px;max-width:850px}.shift-scale-copy>span{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#cfbd91}.shift-scale-copy h3{font-size:24px;color:#ede8d5;margin:8px 0}.shift-scale-copy p{line-height:1.6;margin:10px 0}.shift-scale-copy a{font-size:14px}.shift-series-label{margin:12px 0}.shift-chart-grid{display:grid;grid-template-columns:1fr;gap:26px}.cockpit[data-stage=reveal] .shift-chart-grid,.cockpit[data-stage=bench] .shift-chart-grid{grid-template-columns:1.15fr 1fr}.shift-chart-grid figure{margin:0;min-width:0}.shift-chart-grid canvas{display:block;width:100%;height:300px}.shift-chart-grid figcaption{font-size:13px;color:#bdd0c0;line-height:1.55;margin:10px 0}.shift-phase-wrap{position:relative;touch-action:pan-y}.cockpit .shift-state-dot{position:absolute;transform:translate(-50%,-50%);width:44px;height:44px;min-height:44px;border:0;border-radius:50%;background:radial-gradient(circle,#fff0cf 0 5px,#e5a275 6px 9px,transparent 10px);padding:0;touch-action:none;cursor:grab}.cockpit .shift-state-dot:hover,.cockpit .shift-state-dot:focus-visible{background:radial-gradient(circle,#fff0cf 0 6px,#e5a275 7px 11px,#f0a17930 12px 20px,transparent 21px)}.shift-inspection{display:flex;align-items:center;gap:22px;margin-top:14px}.shift-inspection label{display:flex;align-items:center;gap:18px;flex:1;font-size:13px}.shift-inspection output{font:13px var(--font-mono,"IBM Plex Mono",monospace);min-width:75px}.shift-inspection input{flex:1}.shift-traces>[data-shift-inspected]{font-size:14px;line-height:1.5;color:#d3d9c9}.shift-data{font-size:14px;margin:18px 0}.shift-data summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.shift-data table{width:100%;border-collapse:collapse;max-width:700px}.shift-data td,.shift-data th{padding:10px;border-bottom:1px solid #476052;text-align:left;font-size:14px;color:#e4e5d4}.shift-actions{display:flex;gap:10px;flex-wrap:wrap;border-top:1px solid #476052;padding-top:22px;margin-top:24px;align-items:center}.shift-actions a{padding:10px 0;margin-left:auto;min-height:44px}.shift-status{min-height:24px;font-size:14px;line-height:1.6;margin-top:16px}.shift-copy-fallback{display:flex;flex-direction:column;gap:8px;margin-top:20px}.shift-copy-fallback input{color:#1c332b;background:#f2ecdf;min-height:44px;padding:10px;min-width:0;width:100%}.cockpit[data-stage=bench] .shift-operator,.cockpit[data-stage=bench] .shift-reveal{display:none}.cockpit[data-stage=reveal] .shift-tactile,.cockpit[data-stage=reveal] .shift-policies{opacity:.75}.shift-notebook-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:20px;margin:24px 0}.shift-notebook-cards article{border:1px solid #a9b6a6;padding:22px;border-radius:8px}.shift-notebook-cards h3{font-size:24px}.shift-notebook-cards button{display:block;margin-top:20px;min-height:44px;padding:8px 12px}.shift-notebook-cards a{display:inline-block;min-height:44px;padding-top:10px}@media(max-width:800px){.cockpit{margin:16px 12px 40px}.cockpit-heading{padding:28px 24px 22px;gap:12px}.cockpit-heading h1{font-size:44px}.cockpit-utilities{flex-direction:column}.cockpit-body{padding:24px}.shift-stage-track{padding:0 24px 14px;gap:18px}.cockpit[data-stage=reveal] .shift-chart-grid,.cockpit[data-stage=bench] .shift-chart-grid{grid-template-columns:1fr}.shift-trace-head{flex-direction:column;gap:12px}.shift-reveal{padding:22px}.shift-actions a{margin-left:0}.shift-inspection label{display:block}.shift-inspection output{min-width:65px}.shift-policies{grid-template-columns:1fr}.shift-playback>[data-shift-bench]{margin-left:0}}@media(max-width:430px){.cockpit{margin:10px 8px 32px;border-radius:9px}.cockpit-heading{padding:22px 16px 18px}.cockpit-heading h1{font-size:36px}.cockpit-heading p:last-child{font-size:16px}.cockpit-utilities button{padding:8px;font-size:12px}.cockpit-glass>summary{width:44px}.cockpit-body{padding:20px 16px}.shift-stage-track{padding:0 16px 14px;gap:12px;font-size:12px;justify-content:space-between}.shift-clock{gap:12px}.shift-clock b{font-size:12px;text-align:right}.shift-tactile{padding:16px;grid-template-columns:1fr}.shift-tactile output{font-size:22px}.shift-playback button{flex:1 1 120px}.shift-actions button{flex:1 1 130px}.shift-scene canvas{height:260px}.shift-hidden-flows{gap:20px}.shift-hidden-flows>span{display:none}.shift-hidden-flows b{font-size:21px}.shift-trace-head select{max-width:180px}.shift-chart-grid canvas{height:300px}.shift-inspection{gap:10px}.shift-glass[open]>div{width:calc(100vw - 40px)}.shift-reveal{padding:18px}.shift-chart-grid{gap:20px}}@media(prefers-reduced-motion:reduce){.cockpit *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}.shift-import-label{display:inline-flex;flex-direction:column;gap:8px;min-height:44px;font-size:13px;max-width:280px;padding:8px 0}.shift-import-label input{font-size:12px;max-width:100%;min-height:44px}.shift-import-label input::file-selector-button{min-height:44px;font:inherit;padding:8px 12px;border:1px solid #819785;border-radius:5px;background:#e6e9da;color:#213b34}}
