:root{--pixel-font:ui-monospace,'Cascadia Mono',monospace}
.panel-heading>span,.calibration-grid label,.goal-control label{font-size:11px}.panel-heading>small,.signal-control>small,.manual-button,.slider-scale{font-size:12px}.goal-control output{font-size:16px}.calibration-grid{align-items:center}.dial-controls button{min-width:36px;min-height:44px}.exercise-control{padding-right:8px}.exercise-control>strong{font-size:17px}.rocker-switch{min-width:64px;min-height:72px}.signal-control>small{max-width:140px;margin:auto;line-height:1.5}.coach-line #coachCaption{font-size:14px}
.workout-console #hud{justify-content:center;text-align:center;padding:14px 8px;margin:0 0 16px;background:#1c1820!important;border:2px solid #211a26;border-radius:5px;box-shadow:inset 2px 3px 8px #0009,0 1px #aa899e}.counter-target{justify-content:center}.workout-console #primary{--tile-width:43px;--tile-height:60px;--digit-size:45px}.workout-console #status{font-size:13px}.workout-console .set-actions{flex-basis:auto}.set-actions .primary-action small{font-size:11px}.set-actions .primary-action span{font-size:10px}.workout-console #stop{font-size:13px}
.coach-dock{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px 12px max(17px,env(safe-area-inset-bottom));border-top:3px solid #a38e9a;background:repeating-linear-gradient(0deg,#d9c5d604 0 1px,transparent 1px 3px),linear-gradient(125deg,#564754,#322938 60%,#635163);box-shadow:inset 0 2px #d7bdcf66,0 -5px 14px #08060c66}
.coach-dock button{position:relative;flex-direction:column;gap:8px;display:flex;align-items:center;justify-content:center;min-height:75px;padding:10px 4px 9px;font:700 12px var(--pixel-font);letter-spacing:.3px;border:2px solid #a89e98;border-top-color:#e8dfc5;border-left-color:#d1c5b3;border-radius:6px;color:#2b303c;background:linear-gradient(135deg,#eee9d7,#c7c9ba 70%,#a5afa4);box-shadow:inset 0 2px #fff9,inset -2px -3px #72817a66,0 5px #475050,0 7px #13111a;transition:transform .08s,box-shadow .08s}
.coach-dock button:before{content:'';width:18px;height:6px;border:1px solid #27232d;background:#574a4b;border-radius:2px;box-shadow:inset 0 1px 2px #0008}
.coach-dock button[data-panel=meals]{background:linear-gradient(135deg,#e7bd7f,#bc8c55);border-color:#edc796;color:#32232a}.coach-dock button[data-panel=reminders]{background:linear-gradient(135deg,#85b5aa,#4f847e);border-color:#a9c7b7;color:#172f30}.coach-dock button[data-panel=install]{background:linear-gradient(135deg,#ae9bab,#74677f);border-color:#b7a6b8;color:#fff2d5}
.coach-dock button:active,.coach-dock button[aria-expanded=true]{transform:translateY(4px);box-shadow:inset 1px 3px 5px #39444366,0 1px #475050,0 3px #13111a}.coach-dock button[aria-expanded=true]:before{background:#eab56d;box-shadow:0 0 7px #ffc875aa}
.launch-panel{border:3px solid #9c8394;border-top-color:#c6aeba;border-bottom-color:#4d3c51;border-radius:9px;background:repeating-linear-gradient(0deg,#e9cfdf05 0 1px,transparent 1px 3px),linear-gradient(125deg,#574354,#33293d 56%,#46384b);box-shadow:inset 0 2px #e7cedb66,0 6px #1e1725,8px 15px 50px #000a;padding:24px}.launch-panel header{padding-bottom:16px;border-bottom:2px solid #231b2a;box-shadow:0 1px #a58b9866}.launch-panel h2{font:750 24px var(--pixel-font);color:#f6dfb7}.launch-panel h3{font:700 18px var(--pixel-font);color:#f6dfb7}.launch-panel label{color:#e6d2dd}
.launch-panel button,.launch-panel .action-link{border:2px solid #b297a8;border-top-color:#d1bccc;border-bottom-color:#71596f;border-radius:5px;background:linear-gradient(135deg,#93798d,#5f4c64);box-shadow:inset 0 2px #efd7e355,inset -2px -3px #34253566,0 4px #251b2d,0 6px #17111d;color:#fff0d7;font:650 14px var(--pixel-font);min-height:48px;transition:transform .08s,box-shadow .08s}
.launch-panel button:active:not(:disabled),.launch-panel .action-link:active{transform:translateY(3px);box-shadow:inset 1px 3px 6px #24182d88,0 1px #251b2d}.launch-panel .main-action{border-color:#e9c18c;background:linear-gradient(#e6bc7c,#ba814b);color:#2e222a;box-shadow:inset 0 2px #fff0c5,inset -2px -3px #76503166,0 4px #583c30,0 6px #1c1420}.launch-panel header button{min-height:44px;font-size:12px}
.launch-panel input,.launch-panel select{background:#201b27;border:2px solid #201728;border-bottom-color:#997d90;box-shadow:inset 2px 3px 5px #0007;border-radius:4px;color:#f7e8d0}.launch-panel input:focus-visible,.launch-panel select:focus-visible{outline:3px solid #f1c482;outline-offset:3px}.launch-panel input[type=file]{padding:8px}.launch-panel input::file-selector-button{margin-right:10px;border:2px solid #c1bba4;border-radius:4px;background:linear-gradient(#ede9d6,#b7bdad);box-shadow:0 3px #687467;color:#273b39;padding:10px;cursor:pointer}
.launch-panel .status{border:2px solid #23192a;border-bottom-color:#957788;background:#221c29;color:#e9d7ba;box-shadow:inset 1px 2px 4px #0006;border-radius:4px;font-size:14px}.launch-panel .hint{color:#d2bccb}.launch-panel .entry{border-color:#8d728466;align-items:center}.launch-panel .entry small{color:#cdb7ca}.launch-panel .nutrition{margin:14px 0}.launch-panel form>.main-action{margin-top:7px}
.switch-plate{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;border:2px solid #977c8a;border-radius:6px;background:linear-gradient(130deg,#71586b,#3d3045);box-shadow:inset 0 1px #d5b9c966,0 3px #201625;margin:15px 0}.switch-plate>div{flex:1}.switch-plate strong{display:block;font:700 14px var(--pixel-font);color:#f0dabb}.switch-plate small{display:block;font-size:12px;color:#ceb8cb;margin-top:5px}.switch-plate .actions{margin-top:12px}
.launch-panel .hardware-toggle{display:inline-flex;align-items:center;justify-content:space-between;gap:10px;min-width:102px;min-height:48px;padding:7px 10px 7px 7px;background:linear-gradient(#332738,#211927);border:2px solid #a48a99;box-shadow:inset 2px 3px 6px #000b,0 2px #b298a766;color:#d3bdcf;border-radius:6px;font-size:12px;flex-shrink:0}
.hardware-toggle:before{content:'';width:32px;height:30px;border:2px solid #c8b7ae;border-radius:4px;background:repeating-linear-gradient(90deg,#b4a4a6 0 4px,#8d7d88 4px 5px);box-shadow:inset 0 2px #e5d7ca,2px 3px 3px #0009;transition:transform .12s}.launch-panel .hardware-toggle[aria-checked=true]{flex-direction:row-reverse;color:#fee1a0;background:linear-gradient(#6e573d,#423126)}.hardware-toggle[aria-checked=true]:before{background:repeating-linear-gradient(90deg,#e2b775 0 4px,#b58d59 4px 5px);border-color:#f1cf94}
.launch-panel .switch-label{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 0;font:650 14px var(--pixel-font)}.launch-panel input[type=checkbox][role=switch]{appearance:none;position:relative;flex-shrink:0;width:76px;height:40px;margin:0;border:3px solid #211827;border-radius:5px;background:linear-gradient(#2e2536,#19151e);box-shadow:0 0 0 1px #a08796,inset 2px 2px 5px #0007;cursor:pointer;padding:0}.launch-panel input[type=checkbox][role=switch]:before{content:'';position:absolute;inset:3px auto 3px 3px;width:28px;background:repeating-linear-gradient(90deg,#b1a0a8 0 4px,#8e7f8c 4px 5px);border:1px solid #d4c5c4;box-shadow:1px 2px 3px #0009;border-radius:2px;transition:transform .12s}.launch-panel input[type=checkbox][role=switch]:checked{background:#6c4e30}.launch-panel input[type=checkbox][role=switch]:checked:before{transform:translateX(34px);background:repeating-linear-gradient(90deg,#e7bd7c 0 4px,#bf905f 4px 5px);border-color:#f6d899}
.nutrition-switch summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:50px;font-size:14px;cursor:pointer;list-style:none}.nutrition-switch summary:after{content:'OFF';display:flex;align-items:center;justify-content:center;width:65px;height:34px;background:linear-gradient(#8a7485,#58465d);border:3px solid #25192c;border-radius:4px;box-shadow:inset 0 2px #bca3b4,0 2px #ad93a755;font:700 12px var(--pixel-font);color:#eddae6}.nutrition-switch[open] summary:after{content:'ON';background:linear-gradient(#a98454,#705034);color:#ffe9b8;box-shadow:inset 0 -2px #dcb27b,0 2px #ad93a755}.reminder-entry{flex-wrap:wrap}.reminder-entry>.entry-copy{flex:1;min-width:160px}.reminder-controls{display:flex;gap:9px;align-items:center}.reminder-controls>button:last-child{min-width:44px;padding:8px;font-size:12px}.reminder-entry[data-enabled=false] .entry-copy{opacity:.65}
@media(min-width:900px) and (pointer:fine){body{max-width:940px}.pod-page{padding:0 38px 25px}.containment-bay .containment-pod{height:420px}.calibration-grid{padding:24px}.exercise-dial{width:112px;height:112px}.panel-heading>strong{font-size:25px}.exercise-control>strong{font-size:21px}.rocker-switch{width:78px;min-height:82px}.coach-line #coachCaption{font-size:18px}.coach-dock button{font-size:16px;min-height:90px}.workout-console #primary{--tile-width:50px;--tile-height:70px;--digit-size:53px}}
@media(max-width:420px){.coach-dock{gap:7px;padding-left:9px;padding-right:9px}.coach-dock button{font-size:10px;letter-spacing:0}.launch-panel{padding:18px 14px}.switch-plate{padding:11px;gap:8px}.switch-plate strong{font-size:13px}.launch-panel .hardware-toggle{min-width:91px;gap:7px}.launch-panel .entry{gap:10px}.panel-heading>strong{font-size:17px}.calibration-grid label{font-size:10px}.exercise-dial{width:76px;height:76px}.dial-controls{gap:6px}.dial-controls button{min-width:30px}}
