:root{color-scheme:dark;--text:#f6f2ec;--muted:#dbd2c8;--accent:#f0d9bd;--green:#c8d8ad;--line:rgba(255,246,234,.17);--panel:rgba(255,247,237,.075);--panel2:rgba(255,247,237,.09);font-family:"Aptos","Segoe UI",-apple-system,BlinkMacSystemFont,Arial,sans-serif;font-synthesis:none;font-size:16px;line-height:1.45;letter-spacing:-.018em}
*{box-sizing:border-box}html{min-height:100%;background:#4b453f}body{margin:0;min-height:100vh;color:var(--text);background:radial-gradient(ellipse at 0% 5%,#b7a18b 0,transparent 43%),radial-gradient(ellipse at 11% 55%,#94816e 0,transparent 48%),radial-gradient(ellipse at 89% 5%,#292724 0,transparent 53%),linear-gradient(130deg,#8c7c6c 0%,#504a43 49%,#302e2b 100%);background-attachment:fixed;isolation:isolate}body:before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(130deg,transparent 5%,rgba(250,225,195,.15) 9%,rgba(252,232,208,.18) 15%,transparent 20%,transparent 35%,rgba(24,21,19,.16) 37%,transparent 45%);filter:blur(24px)}
button,select,a,input{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button,select{font:inherit;color:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button:disabled{cursor:default}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin:0}h1{font-size:clamp(29px,4vw,44px);font-weight:520;line-height:1.15}h2{font-size:23px;font-weight:520}h3{font-size:19px;font-weight:550}main:focus{outline:none}
.shell{width:min(1500px,calc(100% - 72px));margin:clamp(28px,7vh,70px) auto 24px;border:1px solid rgba(255,247,236,.22);border-radius:29px;background:linear-gradient(125deg,rgba(220,203,184,.12),rgba(36,32,29,.16));box-shadow:0 24px 95px #1c181523,inset 0 1px 0 #ffffff12;backdrop-filter:blur(28px);-webkit-backdrop-filter:blur(28px);overflow:hidden}.header{min-height:91px;display:flex;align-items:center;justify-content:space-between;gap:28px;padding:20px 30px;border-bottom:1px solid #fff2;}.brand{display:flex;align-items:center;gap:13px;flex:none}.brand img{width:clamp(142px,12vw,185px);height:auto;display:block}.brand-divider{height:28px;width:1px;background:#fff3}.subbrand{font-size:16px;font-weight:430;letter-spacing:.02em}.header-right{display:flex;align-items:center;gap:18px;flex:none}.nav{display:flex;align-items:center;gap:5px}.nav a{display:flex;align-items:center;gap:9px;padding:12px 15px;border-radius:16px;color:#eee8e1;font-weight:450;white-space:nowrap;font-size:16px;transition:background .18s}.nav a svg{width:22px;height:22px}.nav a[aria-current=page]{background:#fff2;box-shadow:inset 0 1px 0 #fff1}.nav a:hover,.profile:hover{background:#fff2}.languages{display:flex;gap:2px;align-items:center}.languages button{border:0;background:transparent;border-radius:30px;padding:8px 12px;color:var(--muted);font-size:15px}.languages button[aria-pressed=true]{background:#fff2;color:var(--text)}.profile{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#fff1;color:#f6f0e9}.profile svg{width:24px;height:24px}main{padding:34px 28px 22px;min-height:320px}footer{text-align:center;font-size:10px;letter-spacing:.17em;color:#dfd5ca9c;padding:0 20px 17px}
.panel,.board{border:1px solid var(--line);border-radius:24px;background:linear-gradient(135deg,rgba(255,245,233,.093),rgba(255,245,233,.035));box-shadow:inset 0 1px 0 #ffffff09;padding:24px;min-width:0}.dashboard{display:grid;gap:24px}.top-grid{display:grid;grid-template-columns:1.58fr 1fr;gap:24px}.equipment-panel,.progress-panel{min-height:345px;display:flex;flex-direction:column;padding:30px 35px}.eyebrow{font-size:13px;letter-spacing:.22em;text-transform:uppercase;color:#eee4d9;font-weight:480;margin:0 0 9px}.board-select{position:relative;display:flex;align-items:center;align-self:flex-start;max-width:100%}.board-select select{appearance:none;-webkit-appearance:none;border:0;background:transparent;padding:2px 35px 4px 0;color:var(--text);font-size:clamp(24px,2.8vw,35px);font-weight:480;letter-spacing:-.035em;max-width:100%;cursor:pointer}.board-select option{background:#514940;color:#fff}.select-arrow{position:absolute;right:6px;top:50%;transform:translateY(-56%);font-size:24px;pointer-events:none;color:var(--muted)}.board-art{display:flex;align-items:center;justify-content:center;width:100%;min-height:0;margin:auto 0 0;padding:18px 0 10px}.board-art img,.board-art svg{width:100%;height:auto;max-height:240px;object-fit:contain;filter:drop-shadow(0 20px 15px #1b130f55);display:block}.board-art.schematic svg{stroke:none;max-height:210px}.board-note{font-size:11px;color:#eee3d1a6;text-align:right;margin-top:8px}.progress-panel .row{align-items:flex-start}.progress-link svg{width:20px;height:20px}.stats{display:grid;grid-template-columns:.85fr 1.25fr 1fr;gap:12px;margin:22px 0 20px;align-items:start}.stats>div{min-width:0}.stats>div+div{border-left:1px solid #fff3;padding-left:16px}.stats strong{display:block;font-size:clamp(24px,3vw,37px);font-weight:500;letter-spacing:-.045em;line-height:1.1;font-variant-numeric:tabular-nums}.stats span{display:block;font-size:13px;color:var(--muted);margin-top:8px;line-height:1.35}.accent{color:var(--green)}.chart{position:relative;margin:auto 0 0;min-height:110px}.chart svg{width:100%;height:auto;stroke:none;display:block;overflow:visible}.day-bar{fill:rgba(233,219,203,.24)}.today-bar{fill:#e9d2b6}.chart-line{stroke:#fff2;stroke-width:1;fill:none}.chart text{fill:#ddd2c5;font-family:inherit;font-size:10px;stroke:none}.chart-empty{position:absolute;inset:25% 0 auto;text-align:center;font-size:13px;color:var(--muted)}.quick-grid{display:grid;grid-template-columns:1.08fr 1fr .93fr;gap:24px}.action-card{display:flex;align-items:center;gap:19px;min-height:135px;padding:24px 25px;transition:background .2s,transform .2s}.action-card:hover{background:#fff2;transform:translateY(-2px)}.action-icon{display:grid;place-items:center;width:49px;height:49px;flex:0 0 49px;color:var(--accent)}.action-icon svg{width:42px;height:42px;stroke-width:1.8}.play-icon{background:var(--accent);color:#75685b;border-radius:50%}.play-icon svg{width:29px;height:29px}.action-copy{display:grid;gap:5px;flex:1;min-width:0}.action-copy strong{font-size:clamp(17px,1.85vw,25px);font-weight:500;line-height:1.2;letter-spacing:-.045em}.action-copy>span{font-size:14px;color:var(--muted);line-height:1.35}.arrow{flex:none;display:grid;place-items:center;color:var(--muted)}.arrow svg{width:17px;height:17px}
/* Shared secondary pages and timer. */
.intro{color:var(--muted);margin-top:9px;max-width:70ch}.section{margin-top:26px}.section>h2,.section>.row{margin-bottom:12px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.stack{display:grid;gap:15px}.row{display:flex;align-items:center;justify-content:space-between;gap:12px}.board{text-align:left;cursor:pointer;color:inherit;display:grid;gap:8px;transition:background .2s}.board[aria-pressed=true]{border-color:#e9d2b6a0;background:rgba(240,217,189,.12)}.board .board-art{padding:5px 0 12px;min-height:105px}.board .board-art img,.board .board-art svg{max-height:145px}.small,.meta{font-size:14px;color:var(--muted)}.pill{border-radius:999px;background:#f0d9bd16;border:1px solid #f0d9bd38;padding:4px 10px;font-size:11px;white-space:nowrap;color:var(--accent)}.btn{display:inline-flex;justify-content:center;align-items:center;background:var(--accent);color:#40362b;border:1px solid transparent;border-radius:14px;padding:13px 20px;min-height:48px;font-weight:600;transition:filter .2s}.btn:hover{filter:brightness(1.08)}.btn.secondary{background:#fff1;color:var(--text);border-color:var(--line)}.full{width:100%}.timer{text-align:center;display:grid;gap:18px;justify-items:center;max-width:600px;margin:auto}.dial{width:min(256px,70vw);aspect-ratio:1;position:relative;display:grid;place-items:center}.dial svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}.dial circle{fill:none;stroke-width:5}.dial .track{stroke:#fff2}.dial .progress{stroke:var(--accent);stroke-linecap:round;stroke-dasharray:301.593}.dial-inner{z-index:1}.digits{font-size:76px;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-.07em;font-weight:500}.phase{letter-spacing:.14em;color:var(--accent);font-size:12px;font-weight:600;text-transform:uppercase}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}.metric{padding:14px;background:var(--panel2);border:1px solid var(--line);border-radius:14px}.metric strong{display:block;font-size:21px;font-variant-numeric:tabular-nums;font-weight:500}.actions{display:flex;width:100%;gap:10px}.actions>*{flex:1}.notice{padding:13px 16px;border-left:2px solid var(--accent);background:#fff1;border-radius:7px;color:var(--muted);font-size:13px}.history-item,.setting{display:flex;justify-content:space-between;gap:12px;align-items:center}.setting input{accent-color:var(--accent);width:22px;height:22px}.spaced{margin-top:16px}.back{color:var(--muted);font-size:14px;display:inline-block;margin-bottom:18px}.back:hover{color:var(--accent)}
@media(max-width:1250px){.header{gap:15px;padding:18px 23px}.brand-divider,.subbrand{display:none}.nav a{padding:11px 12px;font-size:15px}.header-right{gap:9px}.shell{width:calc(100% - 48px)}.equipment-panel,.progress-panel{padding:25px;min-height:300px}.quick-grid,.top-grid,.dashboard{gap:18px}.action-card{padding:20px;gap:12px}.action-icon{width:40px;height:40px;flex-basis:40px}.action-icon svg{width:33px;height:33px}.play-icon svg{width:24px;height:24px}}
@media(max-width:900px){.shell{width:calc(100% - 32px);margin:24px auto 16px}.header{flex-wrap:wrap;gap:15px}.header-right{margin-left:auto}.nav{order:3;width:100%;justify-content:space-between}.nav a{justify-content:center;flex:1}.top-grid{grid-template-columns:1fr}.equipment-panel{min-height:0}.board-art{padding:24px 0 8px}.progress-panel{min-height:0}.chart{max-width:560px;width:100%;align-self:center}.quick-grid{grid-template-columns:1fr;gap:12px}.action-card{min-height:94px}.action-copy strong{font-size:21px}.stats strong{font-size:34px}main{padding:20px}}
@media(max-width:540px){.shell{width:calc(100% - 20px);margin:10px auto 14px;border-radius:20px;overflow:visible}.header{padding:15px 13px;border-radius:20px 20px 0 0;gap:9px}.brand img{width:136px}.header-right{gap:6px}.languages button{padding:7px 9px;font-size:13px}.profile{width:34px;height:34px}.profile svg{width:19px;height:19px}.nav{gap:3px}.nav a{flex-direction:column;font-size:11px;gap:4px;padding:8px 4px;border-radius:12px}.nav a svg{width:20px;height:20px}main{padding:13px 12px 18px}.dashboard,.top-grid{gap:12px}.panel,.board{border-radius:18px;padding:17px}.equipment-panel,.progress-panel{padding:20px 17px}.eyebrow{font-size:11px}.board-select select{font-size:25px}.board-art{padding:23px 0 5px}.stats{gap:6px;margin:14px 0}.stats>div+div{padding-left:10px}.stats strong{font-size:28px}.stats span{font-size:11px}.chart-empty{font-size:12px}.action-card{padding:17px;min-height:89px}.action-copy strong{font-size:19px}.action-copy>span{font-size:13px}.grid{gap:8px}.board{padding:12px}.board h3{font-size:15px}.board .row{flex-wrap:wrap}.board .board-art{min-height:65px}.digits{font-size:66px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}

/* 0.1.2.0: compact equipment selector and direct workout selection. */
.equipment-panel{gap:22px;min-height:345px}.equipment-picker{display:flex;align-items:center;gap:20px;min-width:0}.equipment-preview{flex:0 0 116px;height:89px;display:grid;place-items:center;background:#fff1;border:1px solid var(--line);border-radius:15px;padding:9px}.equipment-preview .board-art{margin:0;padding:0;height:100%;width:100%;min-height:0}.equipment-preview img{width:100%;max-height:71px;filter:drop-shadow(0 6px 5px #1b130f55)}.equipment-copy{min-width:0;flex:1}.equipment-copy .eyebrow{font-size:11px;margin-bottom:3px}.equipment-copy .board-select select{font-size:clamp(19px,2.1vw,29px);padding-right:28px}.equipment-copy .small{margin-top:2px}.workout-list{display:grid;gap:9px;border-top:1px solid var(--line);padding-top:16px}.workout-list-heading{margin-bottom:3px}.workout-list-heading h2{font-size:20px}.workout-row{display:flex;align-items:center;text-align:left;gap:13px;width:100%;padding:12px 13px;background:#fff1;border:1px solid var(--line);border-radius:15px;min-width:0;transition:background .2s;color:var(--text)}.workout-row:hover{background:#fff2}.workout-play{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:#f0d9bd21;color:var(--accent)}.workout-play svg{width:21px;height:21px}.workout-copy{flex:1;min-width:0;display:grid;gap:3px}.workout-copy strong{font-size:17px;font-weight:520;line-height:1.2}.workout-copy>span,.workout-duration{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}.workout-duration{white-space:nowrap}.library-panel{max-width:850px;min-height:0}.library-panel .workout-list{margin:0}.equipment-panel .board-select{max-width:100%}
@media(max-width:540px){.equipment-panel{min-height:0;gap:17px}.equipment-preview{flex-basis:76px;height:70px;padding:5px}.equipment-preview img{max-height:58px}.equipment-picker{gap:12px}.equipment-copy .board-select select{font-size:20px}.equipment-copy .small{font-size:11px}.workout-list-heading h2{font-size:17px}.workout-list-heading .pill{font-size:10px;padding:3px 7px}.workout-row{gap:9px;padding:10px 9px}.workout-copy strong{font-size:15px}.workout-copy>span,.workout-duration{font-size:12px}.workout-play{width:28px;height:28px;flex-basis:28px}.workout-play svg{width:17px;height:17px}}

/* 0.1.3.0: custom picker + board overlays + training visualization */
:root{--highlight:#6f9481;--highlightSoft:rgba(111,148,129,.2);--boardStroke:#c8bbac;--cream:#f7f1e8}
button{border:0;background:none}
.picker-wrap{position:relative;max-width:min(100%,360px)}
.picker-trigger{display:flex;align-items:center;justify-content:space-between;gap:14px;width:min(100%,360px);padding:12px 15px;border:1px solid rgba(240,217,189,.45);border-radius:18px;background:rgba(255,249,242,.06);box-shadow:inset 0 1px 0 rgba(255,255,255,.08);color:var(--text);font-size:clamp(20px,2.4vw,34px);line-height:1.1;letter-spacing:-.04em;text-align:left}
.picker-value{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.picker-arrow{display:grid;place-items:center;color:var(--muted)}
.picker-arrow svg{width:18px;height:18px}
.picker-menu{position:absolute;left:0;right:0;top:calc(100% + 10px);display:none;padding:8px;border:1px solid rgba(240,217,189,.34);border-radius:18px;background:rgba(61,54,48,.92);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 20px 45px rgba(13,10,8,.32);z-index:30}
.picker-menu.open{display:grid;gap:4px}
.picker-option{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:12px 14px;border-radius:14px;color:var(--text);font-size:18px;letter-spacing:-.02em;text-align:left}
.picker-option:hover,.picker-option.active{background:rgba(255,255,255,.09)}
.picker-option svg{width:18px;height:18px;color:var(--accent)}
.equipment-picker{align-items:flex-start}
.equipment-preview.art-mini{width:116px;height:90px;padding:8px;overflow:hidden}
.equipment-preview.art-mini .board-svg{width:100%;height:100%;filter:drop-shadow(0 8px 10px rgba(24,20,15,.3))}
.equipment-copy .small{margin-top:8px}
.workout-row{justify-content:space-between;align-items:center}
.workout-row.selected{border-color:rgba(240,217,189,.52);background:rgba(255,250,244,.1)}
.workout-row .workout-copy{padding-right:10px}
.workout-row .workout-copy>span{font-size:12px}
.workout-meta{display:grid;justify-items:end;gap:6px;color:var(--muted);min-width:122px}
.workout-grip{font-size:12px;color:var(--accent)}
.workout-meta .arrow svg{width:15px;height:15px}
.timer-layout{display:grid;grid-template-columns:1.18fr .82fr;gap:18px;align-items:start}
.grip-card{display:grid;gap:18px}
.grip-header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.grip-header h3{font-size:28px;font-weight:520;letter-spacing:-.04em}
.mini-pill{display:inline-flex;align-items:center;min-height:30px;padding:6px 12px;border:1px solid rgba(240,217,189,.3);border-radius:999px;background:rgba(255,245,233,.06);font-size:12px;color:var(--muted);white-space:nowrap}
.training-board{padding:18px;border-radius:20px;background:rgba(255,251,246,.05);border:1px solid rgba(255,246,234,.12)}
.board-svg{display:block;width:100%;height:auto;max-height:250px;overflow:visible}
.board-svg.pocket{max-height:250px}
.hands-row{display:grid;grid-template-columns:1fr auto 1fr;gap:18px;align-items:end}
.hand{display:grid;justify-items:center;gap:8px;color:#f4ede4}
.hand svg{width:88px;height:88px;opacity:.92}
.hand-top{display:flex;gap:6px}
.finger-dot{display:grid;place-items:center;width:28px;height:28px;border-radius:999px;border:1px solid rgba(255,245,233,.2);background:rgba(255,255,255,.05);color:var(--muted);font-size:12px;font-weight:600}
.finger-dot.on{background:var(--highlight);color:#eef8f3;border-color:#d9ebe2;box-shadow:0 8px 22px rgba(111,148,129,.3)}
.hand-label,.grip-caption{font-size:12px;color:var(--muted);text-align:center}
.grip-caption{align-self:center;max-width:90px}
.timer{max-width:none;min-height:100%;align-content:start}
.library-panel .equipment-preview.art-mini{width:96px;height:76px}
@media(max-width:980px){.timer-layout{grid-template-columns:1fr}.timer{max-width:640px;width:100%;margin:0 auto}.grip-card{order:-1}}
@media(max-width:540px){
  .picker-trigger{font-size:24px;padding:10px 12px;border-radius:15px}
  .picker-option{font-size:16px;padding:11px 12px}
  .equipment-preview.art-mini{width:84px;height:68px;padding:6px}
  .workout-meta{min-width:94px}
  .grip-header{display:grid;gap:8px}
  .grip-header h3{font-size:22px}
  .training-board{padding:10px}
  .hands-row{grid-template-columns:1fr 1fr;gap:10px}
  .grip-caption{grid-column:1 / -1;order:3;max-width:none}
  .hand svg{width:72px;height:72px}
  .finger-dot{width:24px;height:24px;font-size:11px}
}

/* 0.1.4.0: equipment list, product thumbs, better grip overlay */
.equipment-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px}
.equipment-card{display:flex;align-items:center;gap:14px;width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:18px;background:rgba(255,250,244,.04);text-align:left;color:var(--text)}
.equipment-card:hover{background:rgba(255,250,244,.08)}
.equipment-card.selected{background:rgba(255,250,244,.11);border-color:rgba(240,217,189,.52)}
.equipment-thumb{flex:0 0 92px;height:62px;border-radius:14px;background:rgba(255,255,255,.05);display:grid;place-items:center;overflow:hidden}
.equipment-thumb img{width:100%;height:100%;object-fit:contain;display:block}
.equipment-info{display:grid;gap:4px;min-width:0}.equipment-info strong{font-size:17px;font-weight:520;letter-spacing:-.03em}.equipment-info span{font-size:13px;color:var(--muted)}
.workout-meta{min-width:144px}
.timer-layout{display:grid;grid-template-columns:1.12fr .88fr;gap:18px;align-items:start}
.training-board{padding:20px;border-radius:24px;background:rgba(255,251,246,.04);border:1px solid rgba(255,246,234,.12)}
.board-svg{display:block;width:100%;height:auto;max-height:340px;overflow:visible}.board-svg.pocket{max-height:330px}
.hands-row{display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:end}
.hand{display:grid;justify-items:center;gap:8px;color:#f4ede4}.hand svg{width:90px;height:88px;opacity:.95}.hand.left svg{transform:scaleX(-1)}.hand.inactive{opacity:.55}
.hand-top{display:flex;gap:6px}.finger-dot{display:grid;place-items:center;width:28px;height:28px;border-radius:999px;border:1px solid rgba(255,245,233,.2);background:rgba(255,255,255,.05);color:var(--muted);font-size:12px;font-weight:600}.finger-dot.on{background:#78a18e;color:#eef8f3;border-color:#d9ebe2;box-shadow:0 8px 22px rgba(111,148,129,.3)}
.hand-label,.grip-caption,.hand-count{font-size:12px;color:var(--muted);text-align:center}.hand-count{font-size:11px}.grip-caption{align-self:center;max-width:90px}
.grip-header h3{font-size:28px;font-weight:520;letter-spacing:-.04em}.mini-pill{display:inline-flex;align-items:center;min-height:30px;padding:6px 12px;border:1px solid rgba(240,217,189,.3);border-radius:999px;background:rgba(255,245,233,.06);font-size:12px;color:var(--muted);white-space:nowrap}
@media(max-width:980px){.timer-layout{grid-template-columns:1fr}.grip-card{order:-1}.timer{max-width:640px;width:100%;margin:0 auto}}
@media(max-width:720px){.equipment-cards{grid-template-columns:1fr}.equipment-thumb{flex-basis:82px;height:56px}.workout-meta{min-width:104px}}
@media(max-width:540px){.equipment-card{padding:9px 10px;border-radius:16px}.equipment-thumb{flex-basis:74px;height:50px}.equipment-info strong{font-size:15px}.equipment-info span{font-size:12px}.training-board{padding:12px;border-radius:18px}.board-svg{max-height:280px}.hands-row{grid-template-columns:1fr 1fr;gap:12px}.grip-caption{grid-column:1/-1;order:3;max-width:none}.hand svg{width:76px;height:74px}.finger-dot{width:24px;height:24px;font-size:11px}.grip-header{display:grid;gap:8px}.grip-header h3{font-size:23px}}

/* 0.1.5.0 – independent immutable board artwork, CSP-safe overlays. */
.training-board{background:transparent;border:0;padding:10px 4px 0;}
.training-board .board-svg{display:block;width:100%;height:auto;max-height:300px;stroke:none;overflow:visible;filter:drop-shadow(0 9px 11px #2d211740)}
.training-board .board-svg.pocket{max-height:300px}
.training-board .grip-highlight{fill:#8bd9a8;fill-opacity:.78;stroke:#c4f4d2;stroke-width:1.8;filter:drop-shadow(0 0 4px #8bd9a899)}
.hand .hand-diagram{width:88px;height:98px;stroke:none;opacity:1;transform:none}
.hand.left .hand-diagram{transform:scaleX(-1)}
.hand-diagram .hand-finger{fill:transparent;stroke:none}
.hand-diagram .hand-finger.is-on{fill:#8bd9a8;fill-opacity:.88;stroke:#c4f4d2;stroke-width:.8}
.hand.inactive{opacity:.42}
.hands-row{align-items:center}
@media(max-width:540px){.hand .hand-diagram{width:65px;height:74px}.training-board{padding:5px 0 0}}

/* 0.1.6.0 — focused training screen and stage navigation. */
.session-top{display:flex;align-items:center;gap:12px;margin-bottom:14px;min-height:44px}
.session-top .back{margin:0;flex:none;display:flex;align-items:center;min-height:44px}
.session-title{flex:1;text-align:center;font-size:15px;font-weight:550;min-width:0;line-height:1.25}
.session-title span{color:var(--muted);font-weight:400}
.session-reset{display:grid;place-items:center;width:44px;height:44px;flex:none;border:1px solid var(--line);background:#fff1;border-radius:13px;color:var(--text)}
.session-reset svg{width:20px;height:20px}
.session-timer{align-self:stretch;align-content:center;gap:16px}
.session-state{min-height:1.25em;font-size:12px;color:var(--muted);margin-top:3px}
.session-timer[data-phase=rest] .phase,.session-timer[data-phase=rest] .progress{color:var(--green);stroke:var(--green)}
.session-controls{display:grid;grid-template-columns:1fr 1.65fr 1fr;gap:8px}
.session-controls .btn{min-width:0;padding:10px 8px;min-height:52px}
.session-controls .step-btn{display:flex;flex-direction:column;gap:3px;font-size:11px;line-height:1.15}
.step-btn svg{width:21px;height:21px;flex:none}
.step-btn:disabled{opacity:.3;filter:none}
.session-complete{max-width:580px;min-height:0}
@media(max-width:980px) and (orientation:portrait){
 .session-view{background-attachment:scroll}
 .session-view .shell{width:100%;max-width:560px;margin:0 auto;border:0;border-radius:0;overflow:visible;box-shadow:none;background:none;backdrop-filter:none;min-height:100vh;min-height:100dvh}
 .session-view .header,.session-view footer{display:none}
 .session-view main{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;padding:calc(6px + env(safe-area-inset-top,0px)) max(10px,env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) max(10px,env(safe-area-inset-left,0px));gap:5px}
 .session-view .session-top{margin:0;gap:6px;min-height:44px;flex:none}
 .session-view .session-top .back{font-size:12px;max-width:115px;line-height:1.22}
 .session-view .session-title{font-size:14px}
 .session-view .session-title span{display:block;font-size:11px;margin-top:2px}
 .session-view .session-reset{width:44px;height:44px}
 .session-view .timer-layout{display:flex;flex-direction:column;gap:7px;flex:1 0 auto;min-height:0;justify-content:center}
 .session-view .grip-card{padding:10px 12px 8px;gap:3px;border-radius:18px}
 .session-view .grip-header{display:block;text-align:center}
 .session-view .grip-header .eyebrow,.session-view .grip-header .mini-pill{display:none}
 .session-view .grip-header h3{font-size:clamp(17px,4.6vw,22px);line-height:1.2}
 .session-view .training-board{padding:0;display:grid;place-items:center;min-height:0}
 .session-view .training-board .board-svg{width:100%;height:clamp(68px,15vh,120px);height:clamp(68px,15dvh,120px);max-height:none;overflow:visible}
 .session-view .training-board .board-svg.pocket{height:clamp(82px,20vh,150px);height:clamp(82px,20dvh,150px)}
 .session-view .hands-row{grid-template-columns:1fr 1fr;gap:5px;align-items:center}
 .session-view .grip-caption{display:none}
 .session-view .hand{gap:0;grid-template-columns:auto auto;justify-content:center;align-items:center;column-gap:6px}
 .session-view .hand .hand-diagram{grid-row:1/3;width:clamp(36px,7vh,56px);height:clamp(42px,8vh,64px);width:clamp(36px,7dvh,56px);height:clamp(42px,8dvh,64px)}
 .session-view .hand-label,.session-view .hand-count{font-size:11px;text-align:left;justify-self:start;line-height:1.2;white-space:nowrap}
 .session-view .hand-label{align-self:end}.session-view .hand-count{align-self:start}
 .session-view .session-timer{padding:7px 12px 10px;gap:5px;min-height:0;border-radius:18px;width:100%;margin:0;align-content:center;flex:1 0 auto}
 .session-view .dial{width:clamp(125px,32vh,250px);width:clamp(125px,32dvh,250px)}
 .session-view .digits{font-size:clamp(49px,11vh,88px);font-size:clamp(49px,11dvh,88px);line-height:1}
 .session-view .phase{font-size:11px;line-height:1.15}
 .session-view .session-state{font-size:10px;margin-top:2px;line-height:1.1}
 .session-view .metrics{gap:6px}
 .session-view .metric{padding:4px 6px;border-radius:11px;display:flex;flex-direction:column;justify-content:center;min-height:43px}
 .session-view .metric strong{font-size:19px;line-height:1.05}
 .session-view .metric .small{font-size:10px;line-height:1.2;margin-top:2px}
 .session-view .session-controls{gap:6px}
 .session-view .session-controls .btn{min-height:48px;border-radius:13px;padding:5px 4px}
 .session-view .session-controls .step-btn{gap:1px}
 .session-view .session-notice{font-size:10px;line-height:1.25;margin:0;padding:4px 7px;background:transparent;border-left:0;text-align:center;flex:none}
 .session-view .session-complete{margin:auto 0;max-width:none}
}
@media(max-width:980px) and (orientation:portrait) and (max-height:620px){
 .session-view main{gap:3px;padding-top:calc(3px + env(safe-area-inset-top,0px));padding-bottom:calc(4px + env(safe-area-inset-bottom,0px))}
 .session-view .timer-layout{gap:5px}
 .session-view .grip-card{padding:6px 9px 5px;gap:1px}
 .session-view .training-board .board-svg{height:clamp(60px,13vh,84px);height:clamp(60px,13dvh,84px)}
 .session-view .training-board .board-svg.pocket{height:clamp(68px,17vh,100px);height:clamp(68px,17dvh,100px)}
 .session-view .hand .hand-diagram{height:40px;width:36px}
 .session-view .session-timer{padding:5px 8px 7px;gap:4px}
 .session-view .dial{width:clamp(113px,24vh,148px);width:clamp(113px,24dvh,148px)}
 .session-view .digits{font-size:48px}
 .session-view .session-notice{font-size:9px}
}
/* Rotated phones: use the available width; maintain touch targets. */
@media(max-height:540px) and (orientation:landscape) and (max-width:1100px){
 .session-view .header,.session-view footer{display:none}
 .session-view .shell{width:100%;margin:0;border:0;border-radius:0;overflow:visible;box-shadow:none;background:none;backdrop-filter:none}
 .session-view main{padding:4px max(12px,env(safe-area-inset-right,0px)) 6px max(12px,env(safe-area-inset-left,0px));min-height:0}
 .session-view .session-top{margin-bottom:4px}
 .session-view .timer-layout{grid-template-columns:1fr 1fr;gap:8px}
 .session-view .grip-card,.session-view .session-timer{padding:9px;gap:5px;min-height:0;max-width:none}
 .session-view .grip-header .eyebrow,.session-view .grip-header .mini-pill,.session-view .grip-caption{display:none}
 .session-view .grip-header h3{font-size:19px}
 .session-view .training-board .board-svg{height:clamp(65px,25vh,118px);max-height:none}
 .session-view .hands-row{grid-template-columns:1fr 1fr;gap:4px}
 .session-view .hand{gap:1px}.session-view .hand .hand-diagram{width:42px;height:47px}
 .session-view .hand-label,.session-view .hand-count{font-size:10px}
 .session-view .dial{width:clamp(105px,33vh,155px)}.session-view .digits{font-size:47px}
 .session-view .metric{padding:3px}.session-view .metric strong{font-size:18px}.session-view .metric .small{font-size:11px}
 .session-view .session-controls .btn{min-height:44px;padding:4px}
 .session-view .session-notice{font-size:10px;padding:3px;margin:4px 0 0}
}
@media(max-width:980px) and (orientation:portrait) and (min-height:621px) and (max-height:740px){
 .session-view .dial{width:clamp(125px,29vh,218px);width:clamp(125px,29dvh,218px)}
 .session-view .digits{font-size:clamp(49px,10vh,79px);font-size:clamp(49px,10dvh,79px)}
}
