*{box-sizing:border-box}html,body{height:100%;margin:0}body{background:#f5f7f5;color:#172b25;font:15px system-ui;display:flex;flex-direction:column;max-width:1100px;margin:auto}header{display:flex;align-items:center;gap:10px;padding:12px 16px;background:#fff;border-bottom:1px solid #e5ebe7;flex-shrink:0}header img{width:30px;height:30px;border-radius:9px}header strong{font-size:19px}header small{color:#84958c;margin-left:auto}nav{display:flex;gap:5px;padding:7px 12px;background:#fff;flex-shrink:0}button{border:0;border-radius:10px;padding:12px 16px;background:#e9eeeb;color:#32483f;font:inherit;min-height:44px;cursor:pointer}nav button{flex:1;font-size:14px;min-height:38px;padding:8px}nav .selected{background:#1f5946;color:white}main{overflow-y:auto;flex:1;min-height:0;position:relative;scroll-padding-top:150px}main> .card,main>button,main>p{margin:12px}input,select{width:100%;background:#fff;color:#172b25;border:1px solid #d7e2dc;padding:12px;border-radius:10px;font:16px system-ui;min-height:44px}input:focus,select:focus{outline:2px solid #71a58f;outline-offset:-2px}.row{display:flex;gap:10px}.row>*{flex:1;min-width:0}h2{font-size:20px;margin:0 0 16px}.muted{color:#7c8e84;font-size:12px}.card{background:#fff;border:1px solid #dfe7e1;border-radius:16px;padding:18px;margin:16px}label{display:block;font-size:12px;color:#657a6f;margin:6px 0}.primary{background:#1f5946;color:#fff;width:100%;font-weight:650;margin:12px 0}.exercise-tools{position:sticky;top:0;z-index:5;background:#f5f7f5;padding:8px 12px;box-shadow:0 4px 8px #203d2510;display:grid;grid-template-columns:1fr 1fr;gap:7px}.exercise-tools input,.exercise-tools select{font-size:13px;padding:10px;min-width:0}.exercise-panel{background:#fff;padding:16px 0 12px;border-bottom:8px solid #f5f7f5;scroll-margin-top:0}.exercise-heading{display:flex;align-items:center;justify-content:space-between;padding:0 16px 12px}.exercise-heading h2{margin:0;font-size:19px}.exercise-heading span{font-size:12px;color:#6e8478}.grid-scroll{overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.workout-grid{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;table-layout:fixed}.workout-grid th,.workout-grid td{padding:0;text-align:left;vertical-align:top;border-bottom:1px solid #edf0ee}.workout-grid thead th{height:54px;padding:10px 12px;font-size:15px;background:#fafcfb;color:#8c9e94;min-width:160px}.workout-grid th small{display:block;font-size:11px;font-weight:400;margin-top:3px}.workout-grid .row-number{position:sticky;left:0;z-index:2;background:#fff!important;min-width:30px;width:30px;color:#9caaa2;text-align:center;padding:14px 3px;font-size:12px;border-right:1px solid #eef2ef}.workout-grid .now{background:#eef5f0;color:#173e2c;min-width:184px}.setcell{width:160px;min-height:160px;padding:14px 12px}.setcell.current{width:184px;background:#f0f6f1}.setcell.historical{color:#9facA3;background:#fafcfb}.historical strong{font-size:20px;display:block;font-weight:500;padding:9px 0 12px}.historical div{font-size:12px;line-height:1.8;color:#adbbb2}.historical small{font-size:11px}.setcell label{font-size:10px;margin:0 0 5px;color:#779382}.setcell input{padding:5px 2px;background:transparent;border:0;border-bottom:1px solid #b9cec0;border-radius:0;width:100%;min-height:38px;font-size:23px;font-weight:600;color:#193d2b}.setcell .number{display:flex;align-items:center;gap:2px}.number small{font-size:10px;color:#7a9384;white-space:nowrap}.setcell>small{display:block;font-size:10px;color:#83a08d;min-height:13px}.draft{border-top:1px dashed #aac6b4}.empty{color:#b6c4ba;padding-top:26px}.panel-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px 0}.panel-footer label{display:flex;align-items:center;white-space:nowrap;gap:6px;font-size:11px}.panel-footer input{width:55px;min-height:32px;padding:4px;font-size:14px;text-align:center}.panel-footer span{font-size:10px}.invalid{outline:2px solid #d55b46!important}svg{width:100%;height:150px}details{margin:14px 0}a{color:#2b765c}#status{padding:10px;color:#2b765c}body[data-view=account] main{padding:0 6px 24px}body[data-view=account] main input,body[data-view=account] main select{margin:6px 0}

/* Single-table header with one integrated editable exercise picker. */
.exercise-tools{display:block}.stopwatch-strip{display:flex;align-items:center;gap:6px;padding:3px 0 7px;font-size:12px;color:#526e60}.stopwatch-strip span{margin-right:auto}.stopwatch-strip strong{font-variant-numeric:tabular-nums;font-size:18px;margin-left:6px}.stopwatch-strip button{min-height:30px;padding:4px 10px;font-size:12px}.exercise-heading{padding:8px 8px 12px;gap:4px;touch-action:none}.exercise-arrow{flex:0 0 30px;background:transparent;font-size:28px;padding:0;min-width:30px;color:#658574}.exercise-combo{flex:1;min-width:0;position:relative}.exercise-combo>small{display:block;text-align:center;font-size:10px;color:#9aaba1;padding:5px 0}.namebox{display:flex;background:#fff;border:1px solid #d7e2dc;border-radius:10px}.namebox input{border:0;background:transparent;width:100%;min-width:0;font-size:17px;font-weight:650;padding:10px}.namebox .combo-toggle{background:transparent;border-radius:0;font-size:19px;min-width:34px;padding:5px}.exercise-combo [role=listbox]{position:absolute;z-index:10;top:46px;left:0;right:0;max-height:330px;overflow-y:auto;border:1px solid #d7e2dc;border-radius:10px;background:#fff;box-shadow:0 6px 18px #12382420}.exercise-combo [role=option]{display:block;text-align:left;border-radius:0;width:100%;background:#fff;padding:12px;font-size:14px;border-bottom:1px solid #eef1ef}.exercise-combo [role=option][aria-selected=true]{background:#e9f2eb}.exercise-combo [hidden]{display:none!important}.cell-error{display:block;color:#a44e3a;font-size:10px}.panel-footer{padding:7px 12px}.historical div{font-size:11px}

.header-viewport{height:46px;overflow:hidden;position:relative;border-radius:10px;touch-action:none}.header-track{height:46px;position:relative;will-change:transform}.header-track .namebox{height:46px}.header-neighbor{position:absolute;left:0;right:0;height:46px;display:flex;align-items:center;padding:10px;font-size:17px;font-weight:650;background:#fff;border:1px solid #d7e2dc;border-radius:10px;color:#658574;pointer-events:none}.header-neighbor.previous{top:-46px}.header-neighbor.next{top:46px}

.new-exercise-settings{display:flex;gap:10px;padding:8px 12px}.new-exercise-settings label{flex:1}.new-exercise-settings select{font-size:13px;padding:6px;min-height:36px}

/* NWR anatomy explorer */
body[data-view=body]{max-width:1400px;background:#edf2f1}body[data-view=body] main{padding:0 22px 30px}nav button{font-size:13px}.body-explorer{max-width:1200px;margin:auto}.body-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px 0 22px}.body-eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:#6d8a81}.body-intro h1{font-size:32px;letter-spacing:-1px;margin:8px 0;color:#18332c}.body-intro p{font-size:14px;color:#6b8179;margin:0;line-height:1.6}.body-badge{border:1px solid #c5d7cf;border-radius:20px;padding:9px 14px;font-size:10px;letter-spacing:1px;color:#567268;white-space:nowrap}.body-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:18px;align-items:start}.body-stage{position:relative;background:#101f26;border:1px solid #293d45;border-radius:22px;overflow:hidden;color:#dbe7e7}.body-scene-top{position:absolute;top:18px;left:20px;right:20px;z-index:1;display:flex;justify-content:space-between;align-items:center;gap:10px;pointer-events:none}.scene-label{font-size:9px;letter-spacing:2px;color:#8faab4}.body-layers{display:flex;background:#1b3039;border:1px solid #364e57;padding:3px;border-radius:20px;pointer-events:auto}.body-layers button{background:transparent;color:#a7bdc6;font-size:11px;padding:6px 10px;min-height:28px;border-radius:16px}.body-layers button[aria-pressed=true]{background:#ddc4a4;color:#263a40}#body-canvas{height:600px;display:flex;align-items:center;justify-content:center}#body-canvas canvas{width:100%;height:100%;display:block;touch-action:none}.body-camera-tools{position:absolute;bottom:86px;left:50%;transform:translateX(-50%);display:flex;gap:4px;background:#152b34e8;border:1px solid #3b5058;border-radius:14px;padding:4px;white-space:nowrap}.body-camera-tools button{background:transparent;color:#c3d4db;padding:6px 10px;min-height:30px;font-size:11px}.body-camera-tools button:hover{background:#354d56}.scene-hint{position:absolute;bottom:44px;width:100%;padding:0 16px;text-align:center;font-size:11px;color:#90aab5;pointer-events:none}.scene-legend{position:absolute;bottom:18px;left:0;right:0;display:flex;justify-content:center;gap:20px;font-size:10px;color:#9db1b9;pointer-events:none}.scene-legend span:before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px;background:#a95849}.scene-legend .legend-bone:before{background:#e8dcc2}.scene-legend .legend-selected:before{background:#f3ac64}.muscle-details{background:#fff;border:1px solid #dce6e1;border-radius:22px;padding:26px;min-height:600px}.muscle-details h2{font-size:34px;letter-spacing:-1px;margin:10px 0 4px}.muscle-anatomy{color:#8b9c94;margin:0 0 24px;font-size:13px}.muscle-details h3{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;color:#7e958b;margin:24px 0 10px}.muscle-exercise{position:relative;display:block;width:100%;background:#f1f5f2;border:1px solid #e4ebe5;text-align:left;border-radius:12px;margin:7px 0;padding:13px 38px 13px 14px}.muscle-exercise strong{display:block;font-size:14px;font-weight:600}.muscle-exercise small{display:block;font-size:10px;color:#80958a;margin-top:5px}.muscle-exercise>span{position:absolute;right:15px;top:18px;color:#678879}.muscle-exercise:hover{background:#e5eee6;border-color:#bdd2c3}.muscle-empty{font-size:11px;line-height:1.7;color:#8a9d93}.muscle-picker{padding:23px 0}.muscle-picker>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:10px}.muscle-picker h2{font-size:15px;margin:0}.muscle-picker span,.muscle-picker p{font-size:11px;color:#84998f}.muscle-chips{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0}.muscle-chips button{background:#fff;border:1px solid #d7e4dc;border-radius:20px;font-size:12px;min-height:34px;padding:7px 13px;color:#6b8478}.muscle-chips button[aria-pressed=true]{background:#244e3d;border-color:#244e3d;color:#fff}@media(max-width:700px){body[data-view=body] main{padding:0 12px 20px}.body-intro{padding:20px 4px 16px}.body-intro h1{font-size:25px}.body-intro p{font-size:12px}.body-badge{display:none}.body-layout{grid-template-columns:1fr;gap:12px}.body-stage{border-radius:17px}#body-canvas{height:510px}.body-scene-top{left:14px;right:14px;top:13px}.scene-label{font-size:8px;letter-spacing:1px}.muscle-details{padding:22px;min-height:0;border-radius:17px}.muscle-details h2{font-size:28px}.muscle-picker>div:first-child{align-items:start;flex-direction:column;gap:5px}nav button{padding:8px 4px;font-size:12px}}@media(prefers-reduced-motion:reduce){.header-track{transition:none!important}}

/* The entire application lives in the persistent NWR WebGL / CSS3D / HTML scene. */
body.nwr-environment{max-width:none;display:block;background:#101f26;overflow:hidden;color:#dae8e4}#environment{position:fixed;inset:0;overflow:hidden}#environment>canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none}.scene-css3d,.scene-html{position:absolute;inset:0;pointer-events:none}.scene-css3d{z-index:2}.scene-html{z-index:3}.scene-html>header{position:absolute;top:18px;left:24px;background:transparent;border:0;padding:0;pointer-events:auto;color:#e8f1ed;gap:9px}.scene-html>header img{width:28px;height:28px}.scene-html>header strong{font-size:17px}.scene-html>header small{display:none}.scene-html>nav{position:absolute;right:24px;top:16px;border:1px solid #3c5257;background:#1d3239d9;padding:4px;border-radius:16px;pointer-events:auto;gap:2px}.scene-html nav button{flex:none;color:#a3beb7;background:transparent;min-height:32px;border-radius:11px;padding:7px 15px;font-size:12px}.scene-html nav button.selected{background:#d7c6a8;color:#263930}.scene-window{pointer-events:auto;display:flex;flex-direction:column;border:1px solid #45605d;background:#eff4f0f5;border-radius:20px;box-shadow:0 20px 65px #0005;overflow:hidden;color:#19392c;backdrop-filter:blur(16px)}.scene-window[hidden]{display:none!important}.scene-window-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #d5e0d9;min-height:42px;padding:0 16px;background:#dfe8e0;flex-shrink:0}.scene-window-bar span{font-size:10px;text-transform:uppercase;letter-spacing:1.8px;font-weight:700;color:#638271}.scene-window-bar button{background:transparent;font-size:24px;padding:0 6px;min-height:32px;color:#658675}.scene-window #app{position:relative;min-height:0;overflow:auto;flex:1;padding:0!important;scrollbar-width:thin;overscroll-behavior:contain}.body-panel .muscle-details{border:0;background:transparent;min-height:0;border-radius:0;padding:22px}.body-panel .muscle-details h2{font-size:30px}.body-panel .muscle-picker{padding:12px 22px 20px;border-top:1px solid #dce6de}.body-panel .muscle-picker h2{font-size:12px}.body-panel .muscle-chips{gap:5px}.body-panel .muscle-chips button{font-size:11px;padding:6px 10px;min-height:30px}.body-panel .muscle-picker p{font-size:10px;line-height:1.6}.body-panel .muscle-exercise{background:#e5ece6;border-color:#d7e3d9}.environment-controls{position:absolute;left:24px;bottom:25px;pointer-events:auto}.environment-label{margin-bottom:12px}.environment-label>span{display:block;font-size:11px;letter-spacing:2px;color:#bbd0d0}.environment-label>small{display:block;font-size:11px;color:#6d8d95;margin-top:7px}.environment-controls .body-layers{display:inline-flex}.camera-buttons{display:flex;gap:3px;margin-top:8px}.camera-buttons button{min-height:32px;padding:6px 10px;background:#233c44b8;border:1px solid #3a545b;color:#a1bec4;font-size:11px}.environment-controls p{font-size:10px;color:#819ea7;margin:10px 0 0}.scene-window .card{background:#ffffffa8}.scene-window .exercise-panel{border-bottom:0}.scene-window .exercise-tools{background:#e3ece5}.scene-window .exercise-heading{background:#f8fbf8}.scene-window .workout-grid .now,.scene-window .setcell.current{background:#eaf3e9}.scene-window .workout-grid thead th{background:#f5f8f3}@media(max-width:700px){.scene-html>header{left:14px;top:13px}.scene-html>header strong{font-size:15px}.scene-html>header img{width:25px;height:25px}.scene-html>nav{top:auto;bottom:12px;left:10px;right:10px;border-radius:14px;justify-content:space-around}.scene-html nav button{flex:1;padding:8px 4px}.environment-controls{left:12px;top:56px;bottom:auto;max-width:200px}.environment-label{margin-bottom:7px}.environment-label>span{font-size:8px}.environment-label>small{font-size:9px;max-width:180px}.environment-controls p{display:none}.environment-controls .body-layers button{font-size:9px;padding:4px 7px;min-height:25px}.camera-buttons{gap:2px;margin-top:5px}.camera-buttons button{padding:3px 7px;min-height:27px;font-size:10px}.scene-window{border-radius:15px}.scene-window-bar{min-height:36px;padding:0 12px}.body-panel .muscle-details{padding:18px}.body-panel .muscle-details h2{font-size:25px}.body-panel .muscle-picker{padding:12px 18px}.muscle-exercise{padding:10px 35px 10px 12px}.muscle-details h3{margin-top:17px}.muscle-anatomy{margin-bottom:15px}}

.anatomy-credit{font-size:10px;color:#567c68}

.opacity-control{display:block;color:#aec5cc;font-size:11px;max-width:190px;margin-top:8px}.opacity-control output{float:right}.opacity-control input{display:block;width:100%;height:18px;margin:4px 0;accent-color:#f3ac64}.environment-controls [aria-label="Drag mode"]{display:flex;width:max-content;margin-top:6px}

.anatomy-radial-menu{position:absolute;z-index:20;pointer-events:none;opacity:0;transform:scale(.04) rotate(-270deg);transform-origin:center;transition:transform .42s cubic-bezier(.4,0,.6,1),opacity .32s ease;filter:drop-shadow(0 12px 20px #0007)}.anatomy-radial-menu[hidden]{display:none}.anatomy-radial-menu.is-open{opacity:1;transform:scale(1) rotate(0);transition-timing-function:cubic-bezier(.16,1,.3,1),ease;pointer-events:auto}.radial-action{position:absolute;inset:0;width:100%;height:100%;border:0;padding:0;background:transparent!important;color:#e4edf0;border-radius:50%;pointer-events:none}.radial-action svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.radial-action path{fill:#213a45ee;stroke:#66808c;stroke-width:1;pointer-events:visiblePainted;transition:fill .15s}.radial-action:hover path,.radial-action:focus-visible path{fill:#456674;stroke:#f3ac64;stroke-width:2}.radial-action span{position:absolute;top:48%;font-size:11px;pointer-events:none}.radial-left span{left:4%;width:25%}.radial-right span{right:4%;width:25%}.radial-name{position:absolute;left:29%;right:29%;top:32%;height:31%;display:flex;align-items:center;justify-content:center;text-align:center;font-size:11px;line-height:1.4;color:#e3eeef;overflow-wrap:anywhere;pointer-events:none}.radial-close{position:absolute;left:43%;top:64%;width:14%;height:14%;min-height:0;padding:0;border-radius:50%;font-size:24px;color:#b6cdd3;background:#29434e;border:1px solid #65808b}.radial-close:hover,.radial-close:focus-visible{background:#527382}.anatomy-radial-menu:not(.is-open) *{pointer-events:none!important}@media(prefers-reduced-motion:reduce){.anatomy-radial-menu{transition:none;transform:none}}

.radial-action span{width:72px;transform:translate(-50%,-50%);text-align:center;font-size:11px;line-height:1.25}.radial-group{position:absolute;inset:0;pointer-events:none}.radial-action[aria-checked=true] path{fill:#d7c6a8;stroke:#ebd7b7}.radial-action[aria-checked=true] span{color:#263930}.radial-name{top:35%;height:30%}.anatomy-radial-menu{pointer-events:none!important}.anatomy-radial-menu.is-open .radial-action path{pointer-events:visiblePainted}

.radial-group-frame{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}.radial-group-frame path{fill:none;stroke:#b7cbd1;stroke-width:2;pointer-events:none}

.radial-action path{stroke:none}.radial-action:hover path,.radial-action:focus-visible path{stroke:none}.radial-action[aria-checked=true] path{stroke:none}.radial-group-frame path{stroke:#8ca3aa;stroke-width:1.5}

.radial-group-frame path{fill:none;stroke:#354e59;stroke-width:48;stroke-linecap:round}

.radial-action path.radial-radio-surface{fill:none;stroke:#213a45;stroke-width:34;stroke-linecap:round;pointer-events:stroke}.radial-action:hover path.radial-radio-surface,.radial-action:focus-visible path.radial-radio-surface{fill:none;stroke:#456674}.radial-action[aria-checked=true] path.radial-radio-surface{fill:none;stroke:#d7c6a8}

.radial-action[role=menuitemcheckbox] span{width:54px;font-size:10px}.radial-action[aria-busy=true]{opacity:.5}

.scene-selection{position:absolute;left:24px;top:62px;width:min(300px,calc(100vw - 28px));max-height:calc(100vh - 150px);overflow:auto;pointer-events:auto;color:#e8f1ed}.scene-selection[hidden]{display:none}.scene-selection h2{font-size:18px;margin:0 0 16px;line-height:1.35}.scene-selection h3{font-size:10px;text-transform:uppercase;letter-spacing:1.5px;color:#a3beb7;margin:16px 0 8px}.scene-selection .muscle-exercise{background:#1d3239d9;border-color:#3c5257;color:#e8f1ed}.scene-selection .muscle-exercise small{color:#a3beb7}.scene-selection .muscle-empty{color:#a3beb7}@media(max-width:700px){.scene-selection{left:14px;top:53px;width:220px;max-height:calc(100vh - 140px)}.scene-selection h2{font-size:16px}.scene-selection .muscle-exercise{padding:9px 30px 9px 10px}}

.anatomy-radial-menu,.anatomy-radial-menu *{-webkit-tap-highlight-color:transparent}.radial-action{outline:none}.radial-action:focus-visible path{filter:brightness(1.15)}

:root{--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);--safe-right:env(safe-area-inset-right,0px)}.scene-html>header{top:calc(18px + var(--safe-top));left:calc(24px + var(--safe-left))}.scene-selection{top:calc(62px + var(--safe-top));left:calc(24px + var(--safe-left));max-height:calc(100vh - 150px - var(--safe-top) - var(--safe-bottom))}.scene-html>nav{top:calc(16px + var(--safe-top));right:calc(24px + var(--safe-right))}@media(max-width:700px){.scene-html>header{top:calc(13px + var(--safe-top));left:calc(14px + var(--safe-left))}.scene-selection{top:calc(53px + var(--safe-top));left:calc(14px + var(--safe-left));max-height:calc(100vh - 140px - var(--safe-top) - var(--safe-bottom))}.scene-html>nav{top:auto;bottom:calc(12px + var(--safe-bottom));left:calc(10px + var(--safe-left));right:calc(10px + var(--safe-right))}}

.scene-selection h2:has(+.muscle-chinese){margin-bottom:5px}.muscle-chinese{margin:0 0 16px;font-size:14px;color:#b7cbc5;line-height:1.5}.muscle-chinese:has(+.muscle-action){margin-bottom:6px}.muscle-action{margin:0 0 16px;font-size:12.5px;color:#9fb9b2;line-height:1.45}.scene-selection h2,.scene-selection>.muscle-chinese,.scene-selection>.muscle-action{text-shadow:0 1px 3px rgba(6,14,17,.95),0 0 10px rgba(6,14,17,.85)}

.radial-action path.radial-button-surface{fill:none;stroke:#213a45ee;stroke-width:58;stroke-linecap:round;pointer-events:stroke}.radial-action:hover path.radial-button-surface,.radial-action:focus-visible path.radial-button-surface{fill:none;stroke:#456674}.anatomy-radial-menu.is-open .radial-action path.radial-button-surface{pointer-events:stroke}

#environment{background:#101f26}#environment>.scene-selection{z-index:4;pointer-events:none}#environment>canvas{z-index:1}.scene-css3d{z-index:2}.scene-html{z-index:3}

.exercise-wheel{height:190px;overflow-y:auto;overscroll-behavior:contain;scroll-snap-type:y mandatory;scrollbar-width:none;border-radius:16px;padding:24px 0;mask-image:linear-gradient(transparent,#000 20%,#000 80%,transparent)}.exercise-wheel::-webkit-scrollbar{display:none}.exercise-wheel .muscle-exercise{scroll-snap-align:center;min-height:62px;margin:4px 0}.scene-html>header img{background:#101c20}

#environment>.scene-selection{bottom:18px;max-height:none;display:flex;flex-direction:column;overflow:hidden}.scene-selection>h2,.scene-selection>.muscle-chinese,.scene-selection>.muscle-action,.scene-selection>h3,.scene-selection>.muscle-empty{flex-shrink:0}.exercise-wheel{height:auto;min-height:0;flex:1;padding:0;mask-image:linear-gradient(transparent,#000 5%,#000 95%,transparent)}.exercise-wheel-band{display:flow-root}@media(max-width:700px){#environment>.scene-selection{bottom:calc(78px + var(--safe-bottom))}}

.exercise-wheel.is-single{flex:none;height:auto;overflow:visible;mask-image:none;scroll-snap-type:none}

.exercise-wheel{position:relative;perspective:700px}.exercise-wheel-band{position:relative}.exercise-wheel .muscle-exercise{transform-origin:center;backface-visibility:hidden;will-change:transform}.exercise-wheel.wheel-tick{animation:wheel-detent .07s ease-out}@keyframes wheel-detent{from{filter:brightness(1.1)}to{filter:brightness(1)}}@media(prefers-reduced-motion:reduce){.exercise-wheel .muscle-exercise{transform:none!important}.exercise-wheel.wheel-tick{animation:none}}

.exercise-wheel:not(.is-single){overflow:hidden;scroll-snap-type:none;position:relative}.exercise-wheel:not(.is-single)>.muscle-exercise{position:absolute;left:0;right:0;height:66px;min-height:66px;margin:0}
.action-chips{display:flex;flex-wrap:wrap;gap:5px}.action-chips .action-chip{background:#2b4a52;border:1px solid #4a6b73;border-radius:14px;color:#dcebe7;font-size:11.5px;line-height:1.25;padding:6px 9px;min-height:30px;text-align:left}.action-chips .action-chip:hover{background:#375c66}.action-chips .action-chip:active{background:#ddc4a4;color:#263a40}.action-chips .action-plain{font-size:12px;color:#8faab4;line-height:1.5;padding:3px 2px}
#environment>.rig-phase{position:fixed;z-index:5;transform:translate(-50%,-50%);padding:8px 13px;border-radius:12px;background:rgba(16,31,38,.62);color:#7f9aa6;font-size:12px;line-height:1.75;white-space:nowrap;pointer-events:none}#environment>.rig-phase[hidden]{display:none}#environment>.rig-phase .rig-action{display:block}#environment>.rig-phase .is-current{color:#f7dfae;font-weight:650}

.target-line{display:flex;flex-wrap:wrap;align-items:center;gap:5px;padding:2px 12px 10px}.target-line>small{font-size:9.5px;letter-spacing:1.6px;text-transform:uppercase;color:#7f9a8b}.target-chip{display:flex;align-items:baseline;gap:6px;min-height:30px;padding:5px 10px;border-radius:14px;border:1px solid #cddcd2;background:#f2f7f2;color:#324f42;font-size:11.5px;line-height:1.2;text-align:left}.target-chip strong{font-weight:650}.target-chip small{font-size:10px;color:#7f9a8b;font-variant-numeric:tabular-nums}.target-chip[data-age=fresh]{border-color:#e2b276;background:#fbf1e0;color:#7c4f13}.target-chip[data-age=fresh] small{color:#96690f}.target-chip[data-age=settled]{border-color:#a9cfc0;background:#eef6f0;color:#1f5c4b}.target-chip[data-age=stale]{border-color:#d5dfd8;background:#f4f6f3;color:#5f7168}.target-chip[data-age=never]{border-style:dashed;border-color:#c8d5cc;background:transparent;color:#7d8f86}

/* Target-muscle callouts: hairline leader from the muscle's own surface point to a pill beside the body. */.scene-callouts{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.callout-lead,.callout-ring,.callout-ticks{fill:none;stroke:#cfe3e0;stroke-opacity:.5;stroke-width:1}.callout-ring{stroke-opacity:.4}.callout-ticks{stroke-opacity:.7}.callout-dot{fill:#8fa6ae}.callout-bg{fill:#10222a;fill-opacity:.86;stroke:#4a6b73;stroke-width:1}.callout-name{font-size:9px;letter-spacing:.9px;text-transform:uppercase;fill:#a9c4bd}.callout-age{font:600 14px ui-monospace,SFMono-Regular,Menlo,monospace;fill:#8fa6ae}.callout[data-age=fresh] .callout-dot,.callout[data-age=fresh] .callout-age-dot,.callout[data-age=fresh] .callout-age{fill:#f3ac64}.callout[data-age=settled] .callout-dot,.callout[data-age=settled] .callout-age-dot,.callout[data-age=settled] .callout-age{fill:#7fd7c1}.callout[data-age=stale] .callout-dot,.callout[data-age=stale] .callout-age-dot,.callout[data-age=stale] .callout-age{fill:#8fa6ae}.callout[data-age=never] .callout-age{fill:#8faab4;font-size:11px}.callout[data-age=never] .callout-age-dot{fill:none;stroke:#6b8179;stroke-width:1}.callout[data-age=never] .callout-bg{stroke:#6b8179;stroke-dasharray:4 4;fill-opacity:.6}.callout.is-covered{opacity:.42}.callout.is-covered .callout-lead,.callout.is-covered .callout-ticks{stroke-dasharray:4 4}.callout.is-selected .callout-bg{stroke:#f3ac64;stroke-width:1.4}.callout-hit{fill:transparent;pointer-events:fill;cursor:pointer}@media(prefers-reduced-motion:reduce){.callout{transition:none}}
