:root{
  --bg:#08090c;--panel:#12151b;--line:rgba(255,255,255,.08);--text:#fff;--muted:#9ca3af;--accent:#ff5a36;--ink:#08090c;
  --raised:#1c2027;--stroke:#353a43;--radius:20px;--gutter:20px;--nav:calc(72px + env(safe-area-inset-bottom));--spring:cubic-bezier(.2,.85,.2,1.08);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;font-variant-numeric:tabular-nums;
}
*,*::before,*::after{box-sizing:border-box}body{background:var(--bg);color:var(--text)}
.wrap{max-width:780px;padding-inline:var(--gutter)}.brand{height:64px;letter-spacing:-.05em;gap:10px}.brand img{display:none}.brand:before{content:'';width:24px;height:24px;background:repeating-linear-gradient(90deg,#fff 0 4px,transparent 4px 8px);transform:skew(-17deg);border-radius:4px}.brand small:before{display:none}.brand small{color:var(--muted)}
.top,.bottom{background:var(--bg);border-color:var(--line)}.bottom .wrap{padding:4px 12px;min-height:72px}.bottom button,.bottom button[aria-current=page]{border:0;background:transparent;color:var(--muted);border-radius:12px}.bottom button[aria-current=page]{color:white;background:var(--panel)}
main{padding-top:24px;padding-bottom:calc(var(--nav) + 32px)}.top #home-entry,.home-track,.home-track[aria-pressed=true],button,select,input,details,.panel,dialog,.edit-item,.set-variation select,.timer-panel,.lift-goal,.bonus-counts span,.digits button,.target{background:var(--panel);border-color:var(--stroke);color:var(--text)}
#home-entry{border-radius:24px;padding-inline:16px}button:active{transform:scale(.97)}button{transition:transform .18s var(--spring),background .18s}button,select,input{font-variant-numeric:tabular-nums;max-width:100%}
h1,h2,h3,.stat-number,.receipt dd{letter-spacing:-.03em}h1{font-size:clamp(2.3rem,7vw,4rem)}.kicker,.eyebrow,.lift-date,.saved-grips,.home-clock,.lift-goal p:not(.eyebrow),.brand small{color:var(--muted)}.kicker,.eyebrow{text-transform:none;letter-spacing:0}
.panel,dialog{border-radius:var(--radius);border-color:var(--line)}.panel{padding:20px}.primary,.hero .primary{background:var(--accent);color:#180700;border-color:transparent;font-weight:750}.target,.range button[aria-pressed=true],.split-picker button[aria-pressed=true],.home-track[aria-pressed=true],.pad-fields [aria-pressed=true]{background:var(--raised);color:white;border-color:#797f88}.target{border-radius:22px}.chart .series,.chart circle{stroke:#e4e6ea}.chart circle{fill:#fff}progress{accent-color:#bfc4cc}progress::-webkit-progress-value{background:#c3c7cf}
.board-head,.section-line,.passport-title,.dock-inner,.receipt-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.board-head{margin-bottom:16px}.board-head h1{font-size:clamp(2.3rem,6vw,3.3rem);margin:0}.board-head time{font-size:.9rem;color:var(--muted)}
.training-hero{position:relative;overflow:hidden;border-radius:20px;background:#12151b;color:white;border:1px solid var(--line)}.training-photo{background:#0e1013 url('./training.webp') center center/cover no-repeat;min-height:208px;padding:24px;display:flex;align-items:flex-start;flex-direction:column;justify-content:end;isolation:isolate;position:relative}.training-photo:before{content:'';position:absolute;inset:0;background:#07090a5e;z-index:-1}.session-state{align-self:flex-start;display:inline-flex;align-items:center;gap:7px;background:#08090cdb;border:1px solid #ffffff29;border-radius:20px;padding:5px 10px;font-size:.82rem}.session-state i{width:7px;height:7px;border-radius:50%;background:var(--accent)}.training-photo h2{max-width:90%;font-size:clamp(2.2rem,7vw,3.75rem);line-height:1.02;margin:16px 0 6px;text-shadow:0 1px 10px #08090c}.training-photo p{color:#f1f1f1;font-weight:550;text-shadow:0 1px 6px #000}.path-area{padding:16px 20px 12px}.section-line h3,.bento h3{font-size:1rem}.section-line small{color:var(--muted)}.training-path{display:block;width:100%;height:68px;margin:8px 0 0}.path-days{display:grid;grid-template-columns:repeat(10,1fr);text-align:center;color:var(--muted);font-size:.78rem}.path-days b{color:var(--accent)}
.bento{display:grid;grid-template-columns:1.2fr 1fr 1fr;border-top:1px solid var(--stroke);border-bottom:1px solid var(--stroke);margin:20px 0}.bento>section{min-width:0;padding:16px 12px;border-left:1px solid var(--line)}.bento>section:first-child{padding-left:0;border:0}.bento h3{font-weight:500;color:var(--muted);margin-bottom:8px}.stat-number{font-size:clamp(1.35rem,3.5vw,2rem);font-weight:760;line-height:1}.stat-number small{font-weight:550;font-size:.8rem}.bento p,.bento small{font-size:.85rem}.spark{height:24px;width:100%;max-width:130px;display:block;margin-top:6px}.focus-brief{font-size:1.05rem;font-weight:680}.passport-mark{font-size:1.4rem;color:#eee}.launchbar,.set-dock{position:fixed;z-index:2;bottom:var(--nav);left:0;right:0;border-block:1px solid var(--line);background:#12151bf5}.launchbar .wrap,.dock-inner{padding-block:8px}.launchbar button{width:100%;min-height:48px}.set-dock{background:#12151bd9;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}body[data-view=today] main,body:has(.set-dock) main{padding-bottom:calc(var(--nav) + 110px)}.dock-inner>button{min-height:48px}.rest-pill{background:transparent;border:1px solid var(--stroke);border-radius:30px;white-space:nowrap}.dock-inner .primary{flex:1;max-width:400px}.rest-rail{height:3px;background:var(--raised)}.rest-rail i{display:block;height:100%;background:#ccd1d9;transition:width .3s}.timer-panel{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}.timer-panel .actions{margin:0}.timer-panel small{flex:1}.timer-panel .home-clock{margin:0}.logger{padding:16px}.quick-set{background:var(--raised);border:1px solid var(--stroke);border-left:3px solid var(--accent);border-radius:16px;padding:16px;margin:12px 0}.quick-set h3{margin-bottom:8px}.steppers{display:grid;grid-template-columns:1fr 1fr;gap:12px}.step-field{min-width:0}.step-field label{display:block;color:var(--muted);font-size:.88rem;margin-bottom:4px}.step-control{display:grid;grid-template-columns:44px 1fr 44px;align-items:center}.step-control button{padding:0;background:var(--panel);font-size:1.25rem}.step-control output{text-align:center;font-size:1.1rem;font-weight:750}.step-control .suggested{color:#b3bbc6}.logbook{margin:12px 0}.set-row.record{outline:1px solid #e4bc8b;border-radius:8px}.pr-badge{display:inline-block;background:linear-gradient(105deg,#ffbda5,#f0d1ff);color:#241220;font-weight:800;border-radius:12px;padding:3px 8px;font-size:.77rem}.receipt{border:1px solid var(--stroke);border-radius:20px;padding:24px;background:linear-gradient(145deg,#302429 0%,#191b24 45%,#12151b 80%)}.receipt h1{margin:24px 0 8px}.receipt dl{display:grid;grid-template-columns:1fr 1fr;gap:24px 12px;padding:20px 0;border-block:1px dashed #ffffff36}.receipt dt{color:#bbc0c9}.receipt dd{font-size:1.65rem;font-weight:750;margin:4px 0}.receipt p{margin:8px 0}.receipt-head{font-weight:700}.receipt-head time{color:#bec0c8}.session-pr{margin:.5rem 0;padding-left:1.1rem}.view-arrive{animation:arrive .29s var(--spring)}@keyframes arrive{from{opacity:.4;transform:translateY(7px)}to{opacity:1;transform:none}}details[open]>:not(summary){animation:arrive .2s var(--spring)}.quick-set.just-completed{animation:arrive .28s var(--spring)}
@media(max-width:540px){.brand #today-date{display:none}.bento{grid-template-columns:1fr 1fr}.bento>section:last-child{grid-column:1/-1;display:flex;align-items:baseline;gap:8px;border-left:0;border-top:1px solid var(--line);padding:10px 0}.bento>section:last-child h3{margin:0 auto 0 0}.training-photo{min-height:192px}.step-control{grid-template-columns:44px minmax(20px,1fr) 44px}.steppers{gap:8px}.quick-set{padding:12px}.timer-panel small{min-width:130px}}
@media(max-width:360px){.steppers{grid-template-columns:1fr}.wrap{padding-inline:16px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.split-picker,.range,thead,.move button:last-child,#home-entry[aria-pressed=true]{background:var(--raised)}.pad-actions{background:var(--panel)}.skip-label,#pictures a,.set-variation,.lift-goal .eyebrow{color:var(--muted)}button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid white}.primary:active,button.primary:active{background:#ff795c}#notice{border-color:var(--stroke);background:#252a32;color:white;pointer-events:none;bottom:calc(var(--nav) + 64px)}.digits button,.home-track[aria-pressed=true]{background:var(--raised)}.block-checks input{accent-color:white}.step-control .quick-value{border:0;background:transparent;font-size:1.1rem;text-align:center;padding:0;font-weight:750}.training-photo h2,.training-photo p{line-height:1.1}.rest-pill{font-variant-numeric:tabular-nums}.receipt+.actions button:first-child{min-width:160px}.bottom button svg{width:22px;height:22px}
body[data-view=today] #today-date{visibility:hidden}.view-arrive{animation-name:view-fade}@keyframes view-fade{from{opacity:.7}to{opacity:1}}
:root[data-ambient=morning]{--panel:#15171b;--raised:#232528}:root[data-ambient=evening]{--panel:#11141b;--raised:#1d212b}:root[data-text=large]{font-size:120%}:root[data-text=larger]{font-size:145%}
:root[data-contrast=high]{--bg:#000;--text:#fff;--panel:#101010;--muted:#e2e4e8;--line:#737982;--stroke:#a3aab3}
@media(prefers-contrast:more){:root{--muted:#e2e4e8;--line:#737982;--stroke:#a3aab3}}
.display-btn{min-width:44px;padding:4px 8px}.brand{height:auto;min-height:64px;flex-wrap:wrap;padding-block:6px}.load-outlook{position:relative;margin:16px 0;border-block:1px solid var(--line);padding:16px 0}.load-outlook strong{display:block;margin:7px 0;font-size:1.2rem}.load-outlook p{color:var(--muted)}.load-outlook details{background:transparent;padding:8px 0;border:0}.load-outlook details p{margin-top:8px;font-size:.92rem}.load-outlook details label{display:block}.local-note{color:var(--muted);padding:0;background:transparent;border:0;min-height:44px}.load-scale{height:10px;background:var(--raised);border-radius:6px;position:relative;margin:18px 0 10px}.load-scale span{position:absolute;height:100%;border:1px solid var(--muted);background:repeating-linear-gradient(120deg,transparent 0 3px,#90949a 3px 4px)}.load-scale b{position:absolute;line-height:10px;transform:translateX(-50%);color:white;text-shadow:0 0 2px black}.band-key,.chart-controls,.point-value{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.band-key{font-size:.875rem;margin-bottom:8px;color:var(--muted)}.check-line{display:flex;align-items:center;gap:10px;min-height:48px}.check-line input{width:22px;height:22px;min-height:0}#display-options h3{margin-top:16px}#display-options button{margin-top:12px}.sr-only{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.expand-chart{display:block;margin:12px auto 0}
#chart-explorer{inset:0;margin:0;width:100%;height:100dvh;max-width:none;max-height:none;border:0;border-radius:0;background:var(--bg);padding: max(16px,env(safe-area-inset-top)) 20px max(20px,env(safe-area-inset-bottom));overflow:auto}#chart-explorer[open]{display:flex;flex-direction:column;gap:20px}.edge-plot{margin-inline:-20px;flex:1;min-height:180px;display:grid;align-items:center;background:var(--panel)}.edge-plot svg{width:100%;max-height:56dvh}.edge-plot .selected-point{stroke:white;stroke-width:3;fill:#17191c}.point-value strong{font-size:2rem}.point-value span{color:var(--muted)}.chart-controls label{flex:1;min-width:130px}.chart-controls select{width:100%}
:root[data-text=larger] .steppers{grid-template-columns:1fr}:root[data-text=larger] .bottom button{font-size:.75rem}:root[data-text=larger]{--nav:calc(88px + env(safe-area-inset-bottom))}.load-outlook .section-line{flex-wrap:wrap}

@media (max-width: 420px) {
  .routine-top, .overview-heading, .variant-picker, .line { flex-wrap: wrap; }
  .variant-picker label { min-width: min(100%, 9rem); }
  .line > *, .overview-heading > * { max-width: 100%; }
}

#cardio-entry {border-radius:24px;padding-inline:14px}
#cardio-entry[aria-current=page] {border-color:var(--text)}
#cardio-dialog {width:min(94vw,34rem);max-height:86dvh;overflow:auto}
#cardio-dialog form {display:grid;gap:14px}
.cardio-numbers {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr));gap:12px}
#cardio-dialog input,#cardio-dialog select {width:100%;min-width:0}
#cardio-import-status {margin-block:12px}
#cardio-dialog .cardio-pick {display:flex;gap:12px;align-items:center;padding:12px 0;border-top:1px solid var(--line)}
#cardio-dialog .cardio-pick input {width:22px;min-height:22px;height:22px}
.cardio-pick small {display:block;color:var(--muted)}
#cardio-preview .primary {position:sticky;bottom:0;width:100%;margin-block:8px}
@media(max-width:460px){.brand #today-date{display:none}.brand{gap:6px}.brand #home-entry,.brand #cardio-entry{padding-inline:10px}}

.coach-mode,.coach-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.coach-mode{margin:12px 0 16px}.coach-mode button[aria-pressed=true]{background:#fff;color:#101217}
.coach-pair input,.coach-pair select{width:100%;min-width:0}
.coach-setup label,#timed-coach label,#coach-edit label{display:block;margin:12px 0}
.coach-setup small,#timed-coach small{display:block;margin:8px 0;color:var(--muted,#adb4bf)}
.coach-setup details,#timed-coach details{margin-top:16px}
.coach-plan{padding:16px 0 8px;border-top:1px solid #ffffff20}
.coach-setup input[type=range],#timed-coach input[type=range]{width:100%;min-height:44px}
#timed-coach .section-line{display:flex;align-items:center;justify-content:space-between;gap:12px}
[data-coach-clock]{font-size:clamp(1.8rem,8vw,3rem);font-variant-numeric:tabular-nums;white-space:nowrap}
[data-coach-caption]{min-height:2.6em;font-size:1.12em}
#coach-voices{width:min(94vw,31rem);max-height:86dvh;overflow:auto}
.voice-heading,.coach-voice-row{display:flex;align-items:center;gap:8px}
.voice-heading{justify-content:space-between}
.voice-heading h2{margin:0}
.coach-voice-row{padding:12px 0;border-top:1px solid var(--line);flex-wrap:wrap}
.coach-voice-row>div{flex:1 1 5.75rem}
.coach-voice-row strong,.coach-voice-row small{display:block}
.coach-voice-row small{color:var(--muted);font-size:.875rem}
.coach-voice-row button{min-height:44px}
.coach-voice-row button[aria-pressed=true]{background:var(--raised);border-color:var(--muted)}

.gym-path{display:flex;gap:.35rem;flex-wrap:wrap;margin:1rem 0}
.gym-path span{padding:.25rem .55rem;border:1px solid currentColor;border-radius:.5rem;color:var(--muted,#9ca3af);font-size:.875rem;font-variant-numeric:tabular-nums}
.gym-path .current{color:var(--ink,#fff);font-weight:750;border-width:2px}
.gym-path .complete{color:var(--ink,#fff)}
.gym-guide details{margin-top:1rem}
.gym-guide button{min-height:44px}
.gym-loads{list-style:none;padding:0}.gym-loads li{display:flex;justify-content:space-between;gap:1rem;padding:.4rem 0;border-bottom:1px solid rgba(255,255,255,.08)}
.gym-loads li{align-items:center;gap:.5rem}.gym-loads li>span{flex:1}.gym-loads small{display:block;font-size:.8rem;color:#abb1bd}.gym-loads li>button{min-height:44px;padding:.25rem .65rem}

/* A shared reading order: title, value, label, then supporting actions. */
:root {
  --caption: .875rem;
  --control: .9375rem;
  --section: 1.125rem;
  --rule: var(--line);
}
body { font-weight: 400; }
h2 { font-size: var(--section); font-weight: 650; line-height: 1.24; }
h3 { font-weight: 600; line-height: 1.3; }
label, .eyebrow, .kicker { font-weight: 500; }
button, summary, .edit-item summary, details summary { font-weight: 550; }
button { font-size: var(--control); }
input, select { font-size: 1rem; font-weight: 450; }
.primary, .hero .primary { font-weight: 650; }
.brand { min-height: 56px; }
.brand button { font-weight: 500; letter-spacing: 0; }
.bottom button, .bottom button[aria-current=page] { font-size: .8125rem; font-weight: 550; }
.bottom button[aria-current=page] { background: transparent; }
.board-head h1, .routine-top h1, main > h1 { font-size: clamp(1.75rem, 4vw, 2.4rem); }
.panel h2 + .actions, .recent-set { font-size: var(--control); }
#timed-coach .section-line h2 { font-size: 1.4rem; }
[data-coach-caption] { font-size: 1rem; }

.session-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.session-head h1 { margin: 0; font-size: 1.125rem; font-weight: 600; letter-spacing: -.018em; }
.exercise-jump { position: relative; display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 4px; color: var(--muted); font-size: var(--caption); }
.exercise-jump::after, .workout-option > summary::after { content: ''; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); margin: -3px 2px 0 0; flex: none; }
.exercise-jump select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.exercise-jump:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
progress.session-progress { display: block; width: 100%; height: 3px; margin: 2px 0 0; }
.panel.logger { background: transparent; border: 0; border-radius: 0; margin: 0; padding: 0 0 16px; }
.logger .lift-title { display: flex; align-items: center; gap: 14px; margin: 24px 0 18px; }
.lift-title > div { min-width: 0; }
.lift-title h2 { font-size: clamp(1.45rem, 4.5vw, 1.9rem); line-height: 1.13; font-weight: 670; overflow-wrap: anywhere; }
.lift-title .eyebrow { color: var(--muted); font-size: var(--caption); margin: 0 0 4px; font-weight: 500; }
.logger .quick-set { margin: 0 0 8px; padding: 16px; border: 1px solid var(--rule); border-radius: 16px; background: var(--panel); }
.quick-set .section-line { margin-bottom: 12px; }
.quick-set h3 { margin: 0; font-size: var(--section); font-weight: 650; }
.quick-set small, .step-field label { color: var(--muted); font-size: var(--caption); font-weight: 450; }
.steppers { column-gap: 16px; }
.step-control { border-radius: 10px; background: var(--raised); grid-template-columns: 44px minmax(0,1fr) 44px; }
.step-control button { min-height: 48px; border: 0; background: transparent; font-weight: 450; }
.step-control .quick-value { font-size: 1.15rem; color: var(--text); font-weight: 650; }
.step-control .quick-value.suggested { color: var(--muted); }
.logger .lift-goal, .logger .recent-lifts { background: transparent; border: 0; border-radius: 0; margin: 0; padding: 16px 0; }
.logger .goal-brief { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2px 12px; align-items: center; }
.goal-brief > .eyebrow { grid-area: 1 / 1; font-size: var(--caption); margin: 0; }
.goal-brief > h3 { grid-area: 2 / 1; margin: 0; font-size: 1.15rem; font-weight: 630; }
.logger .goal-brief details { grid-area: 1 / 2 / 3 / 3; margin: 0; }
.logger .goal-brief details[open] { grid-area: 3 / 1 / 4 / 3; }
.logger .goal-brief details, .logger .workout-option { border: 0; background: transparent; border-radius: 0; padding: 0; }
.goal-brief summary { color: var(--muted); font-size: var(--caption); }
.logger .workout-option { margin: 0; border-top: 1px solid var(--rule); }
.workout-option > summary { display: flex; align-items: center; gap: 12px; min-height: 52px; font-size: var(--control); list-style: none; }
.workout-option > summary::-webkit-details-marker { display: none; }
.workout-option > summary span { margin-left: auto; font-size: var(--caption); color: var(--muted); font-weight: 450; overflow-wrap: anywhere; }
.workout-option[open] > summary::after { transform: rotate(225deg); }
.workout-option[open] { padding-bottom: 14px; }
.workout-option .actions, .workout-option .variant-picker { margin: 8px 0 0; }
.logger .recent-lifts { border-top: 1px solid var(--rule); margin-top: 16px; }
.recent-lifts h3 { font-size: 1rem; }
.gym-path .current { background: var(--raised); color: var(--text); }
.gym-path .complete { color: var(--muted); }
.dock-inner .primary { font-size: 1rem; }
.dock-inner .rest-pill { color: var(--muted); border-color: transparent; font-size: var(--caption); }
:root[data-contrast=high] .step-control { outline: 1px solid var(--stroke); }

@media(max-width:380px) {
  .steppers { grid-template-columns: 1fr; gap: 8px; }
  .step-field { display: grid; grid-template-columns: minmax(64px,.7fr) 1.6fr; align-items: center; gap: 6px; }
  .step-field label { margin: 0; }
}
.home-label-short { display: none; }
@media(max-width:540px) {
  .brand { min-height: 56px; }
  .brand .home-label-full { display: none; }
  .brand .home-label-short { display: inline; }
  .brand #home-entry, .brand #cardio-entry { padding-inline: 9px; }
  .brand .display-btn { margin-left: 0; }
}
@media(max-width:350px) {
  .brand::before { display: none; }
}

/* Solid control faces, an upper lip and a short lower edge provide depth.
   A pressed control moves onto its base. Status labels never use this shadow. */
:root {
  --key-face: #394352;
  --key-edge: #171e27;
  --key-light: #ffffff2e;
  --key-depth: inset 0 1px 0 var(--key-light), 0 2px 0 var(--key-edge), 0 3px 5px #0004;
  --console-face: #222b37;
  --well: #10151c;
}
:is(main, .top, dialog) button:not(:where(.picture-thumb, .primary, .swipe-delete, .swipe-confirm, .home-track, .quick-value)),
.exercise-jump, .logger .goal-brief summary {
  background-color: var(--key-face);
  color: #f8faff;
  border: 0;
  border-radius: 11px;
  box-shadow: var(--key-depth);
}
button, summary, .exercise-jump {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
button { transition: transform .1s ease-out, box-shadow .1s ease-out, filter .1s ease-out; }
:is(main, .top, dialog) button.primary, .launchbar button.primary {
  background: var(--accent);
  color: #230d07;
  border: 0;
  border-radius: 13px;
  box-shadow: inset 0 1px 0 #ffffff6b, 0 3px 0 #a5301a, 0 5px 10px #0005;
}
:is(main, dialog) button:is(.swipe-delete,.swipe-confirm) {background: #a62b39; color:white; box-shadow:var(--key-depth)}
:is(main, dialog) button.danger { color:#ffbdb3; }
:is(main, dialog, .top) button:is([aria-pressed=true], [aria-current=page]):not(.home-track),
#app .split-picker button[aria-pressed=true], #app .range button[aria-pressed=true] {
  background-color:#dfe6ed; color:#17202b; box-shadow:inset 0 1px 2px #0002;
}
#app .home-track {box-shadow:var(--key-depth)}
#app .home-track[aria-pressed=true] {outline:2px solid #dfe6ed; outline-offset:-2px}
:is(main, .top, dialog, .bottom) button:enabled:active,
.logger .goal-brief summary:active, .lift-tools summary:active {
  transform: translateY(2px);
  box-shadow: inset 0 2px 4px #0005;
  filter: brightness(.92);
}
button:disabled { box-shadow:none!important; }
@media (hover:hover) {
  button:enabled:hover, .exercise-jump:hover, summary:hover {filter:brightness(1.12)}
}
.exercise-jump, .logger .goal-brief summary { padding-inline:12px; }
.exercise-jump {min-width:0}
.exercise-jump select {margin:0}
.bottom { background-color:#10151c; box-shadow:0 -1px 0 #ffffff12; }
.bottom .wrap {gap:5px; padding-block:6px;}
.bottom button[aria-current=page] {background:#35404f; color:white; box-shadow:var(--key-depth);}
.set-dock { background-color:#141a22f5; box-shadow:0 -4px 18px #0004; }
.set-dock .dock-inner {padding-block:10px;}
.logger .lift-title {margin:18px 0 14px}
.logger .picture-thumb {background:white; border:0; border-radius:13px; box-shadow:0 2px 0 #6c7482;}
.set-console {border-radius:18px; background:var(--console-face); box-shadow:inset 0 1px 0 #ffffff28,0 4px 12px #0004;}
.set-console .quick-set {padding:16px; margin:0; border:0; background:transparent;}
.quick-set h3 {display:flex; align-items:center; gap:8px;}
.quick-set h3::before {content:''; width:4px; height:1em; background:var(--accent); border-radius:3px;}
.logger .step-control {background:var(--well); padding:3px; border-radius:12px; box-shadow:inset 0 2px 4px #0006;}
.logger .step-control button[data-act=nudge] {border-radius:9px; font-size:1.25rem; line-height:1; min-height:44px; background:#465366;}
.logger .step-control .quick-value {color:white; background:transparent; font-size:1.2rem; min-height:44px;}
.logger .step-control .quick-value.suggested {color:#c6ced8;}
.logger .set-console .lift-goal {background:#19212b; padding:12px 16px; border-top:1px solid #ffffff10; border-radius:0 0 18px 18px;}
.logger .set-console .lift-goal:first-child {border-radius:18px;}
.logger .goal-brief summary {display:inline-flex; align-items:center; min-height:44px; font-size:var(--caption); list-style:none;}
.logger .goal-brief summary::-webkit-details-marker {display:none;}
.lift-tools {margin:16px 0; background:#1b222c; overflow:hidden; border-radius:15px; box-shadow:inset 0 1px 0 #ffffff20;}
.logger .lift-tools .workout-option {border:0; padding:0 14px;}
.logger .lift-tools .workout-option + .workout-option {border-top:1px solid #ffffff18;}
.lift-tools .workout-option[open] {padding-bottom:14px;}
.lift-tools summary::before {content:''; width:22px; height:22px; flex:none; background: #c4cedd; mask:var(--tool-icon) center / 19px no-repeat;}
.lift-tools [data-workout-option=voice] {--tool-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='9' y='2' width='6' height='13' rx='3'/%3E%3Cpath d='M5 11a7 7 0 0 0 14 0M12 18v4m-4 0h8'/%3E%3C/svg%3E");}
.lift-tools [data-workout-option=variation] {--tool-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M3 7h6m4 0h8M3 17h10m4 0h4'/%3E%3Ccircle cx='11' cy='7' r='2'/%3E%3Ccircle cx='15' cy='17' r='2'/%3E%3C/svg%3E");}
.logger .recent-lifts {background:#151a21; border:0; border-radius:15px; padding:16px; margin-block:20px 14px;}
.logger .recent-lifts p {color:var(--muted);}
.logger .gym-guide {padding:16px; margin:0; background:transparent; border:0;}
#app .split-picker, #app .range {padding:5px; border-radius:15px; gap:5px; background:var(--well);}
#app .edit-item {background:#28313d; box-shadow:var(--key-depth); border:0;}
:root[data-contrast=high] {--key-face:#424b57; --console-face:#242b34; --key-light:#aab3bd;}
:root[data-contrast=high] :is(button,summary,select):focus-visible {outline:3px solid white;}
@media(max-width:420px) {
  .logger .quick-set {padding:12px;}
  .logger .steppers {gap:8px;}
}
@media(max-width:380px) {
  .logger .step-field {grid-template-columns:minmax(60px,.65fr) minmax(0,1.6fr);}
}

/* Charcoal surfaces and compact phone chrome. */
:root, :root[data-ambient] {
  --bg:#0b0d10; --panel:#15181e; --raised:#1f242d; --stroke:#343b46;
  --accent:#ff5a1f; --key-face:#222732; --key-edge:#101318;
  --key-light:#ffffff20; --console-face:#15181e; --well:#1f242d;
  --radius:16px; --nav:calc(58px + env(safe-area-inset-bottom,0px));
}
:root[data-contrast=high] {--bg:#08090c;--muted:#e3e7ec;--stroke:#83909f;--key-face:#414957}
.top {padding-top:env(safe-area-inset-top,0px); background:var(--bg); border:0;}
.brand {min-height:52px;}
.bottom {background:rgba(22,25,32,.88); backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); border:0; box-shadow:inset 0 1px #ffffff10;}
.bottom .wrap {min-height:58px; padding-block:4px; gap:4px;}
.bottom button {min-height:48px; font-size:.75rem; gap:2px; padding:3px;}
.bottom button[aria-current=page] {background:#2a303c; box-shadow:inset 0 1px #ffffff17;}
.bottom button[aria-current=page] svg {stroke:#ff916e;}
main .panel, dialog {border:0; background:var(--panel); box-shadow:inset 0 1px #ffffff0f;}
main .panel.logger {background:transparent;box-shadow:none;}
button.primary, main button.primary, .launchbar button.primary, .dock-inner button.primary, dialog button.primary {min-height:52px; font-weight:650; font-size:1rem; background:#ff5a1f; box-shadow:inset 0 1px #ffffff55,0 2px 0 #95391c;}
main input:not([type=checkbox]):not([type=range]), main select, dialog input:not([type=checkbox]):not([type=range]), dialog select {background-color:var(--well);border-color:transparent;box-shadow:inset 0 1px 2px #0004;}
#app :is(.split-picker,.range) {padding:4px;gap:3px;border:0;border-radius:14px;background:#12151b;box-shadow:inset 0 1px 4px #0005;}
#app :is(.split-picker,.range) button {background:transparent;box-shadow:none;color:#bac1cb;border:0;}
#app :is(.split-picker,.range) button[aria-pressed=true] {background:#282e3a;color:white;box-shadow:inset 0 1px #ffffff25,0 2px 5px #0007;}
dialog::backdrop {background:#05070cbb;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);}
dialog[open] {max-height:calc(100dvh - env(safe-area-inset-top,0px) - 20px);overflow:auto;overscroll-behavior:contain;}
@media(max-width:600px) {
  html body dialog[open]:not(#chart-explorer) {box-sizing:border-box; position:fixed; inset:auto 0 0; margin:0 auto; width:100%; max-width:100%; height:auto; max-height:calc(100dvh - env(safe-area-inset-top,0px) - 20px); border-radius:22px 22px 0 0; padding:12px 20px max(20px,env(safe-area-inset-bottom));}
  dialog[open]:not(#chart-explorer)::before {content:'';display:block;width:36px;height:5px;border-radius:5px;background:#666c76;margin:0 auto 16px;}
}
#chart-explorer {padding-top:calc(env(safe-area-inset-top,0px) + 16px);}
.training-hero {border:0; border-radius:18px; background:#101318; box-shadow:inset 0 1px #ffffff18;}
.training-photo {background:none;min-height:220px; padding:22px; display:flex;justify-content:center;align-items:stretch;isolation:isolate;}
.training-photo::before {display:none;}
.outlook-copy {position:relative;z-index:1;width:57%;pointer-events:none;}
.training-photo h2 {font-size:clamp(1.9rem,5vw,3.3rem);line-height:1.03; margin:5px 0 9px;max-width:100%;text-wrap:balance;}
.training-photo p {font-size:.9rem;line-height:1.4;color:#c9cdd3;text-shadow:none;}
.training-photo .split-line {margin:16px 0 0;color:#ffab89;font-size:.8rem;font-weight:600;}
.training-photo small {display:block;margin-top:8px;color:#aeb5bf;}
.outlook-art {position:absolute;inset:0 0 0 auto;width:49%;background:#101318 url('./outlook.webp') 50% 45%/cover;mask-image:linear-gradient(90deg,transparent,#000 13%);}
.outlook-art svg {position:absolute;inset:2% 0 auto;width:100%;height:87%;opacity:.87;}
.gauge-label {position:absolute;right:7%;bottom:10px;background:#101318e8;border-radius:8px;padding:4px 8px;font-size:.75rem;color:#ddd;}
.session-state {background:#222831;border:0;font-size:.75rem;padding:5px 9px;}
.bento {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border:0;margin:12px 0;}
.bento>section,.bento>section:first-child,.bento>section:last-child {display:block;grid-column:auto;border:0;background:var(--panel);padding:14px 16px;border-radius:16px;box-shadow:inset 0 1px #ffffff0f;}
.bento h3,.bento>section:last-child h3 {font-size:.85rem;margin:0 0 7px;}
.bento .stat-number {font-size:1.65rem;}
.streak-strip {display:flex;gap:4px;align-items:center;height:24px;margin-top:6px;}
.streak-strip i {background:#343c46;height:6px;flex:1;border-radius:4px;}
.streak-strip .trained {background:#ff875f;}
body[data-view=today] main {padding-bottom:calc(var(--nav) + 24px);}
.launchbar {position:static;background:none;border:0;margin:0 0 16px;}
.launchbar .wrap {padding:0;}
.load-outlook,.path-panel {border:0;border-radius:16px;background:var(--panel);padding:16px;margin:12px 0;}
.load-outlook {background:#241e1c;box-shadow:inset 0 1px #ffffff12;}
.load-outlook p,.muscle-balance p {color:var(--muted);}
.energy-options {display:flex;gap:6px;margin:12px 0;}
.energy-options button {flex:1;}
#app .energy-options button[aria-pressed=true] {background:#ffb198;color:#2c140d;}
.path-panel {padding:0;overflow:hidden;}
.set-chips {display:flex;align-items:flex-start;flex-wrap:wrap;gap:6px;margin:-3px 0 14px;position:relative;}
.set-chips:empty {display:none;}
.set-chips .chip-menu,.set-chips .warmup-chip {display:block;background:none;margin:0;border:0;padding:0;min-width:0;}
.set-chips .chip-menu>summary,.set-chips .warmup-chip select,.set-chips>button {display:flex;align-items:center;min-height:44px;margin:0;padding:6px 11px;border:0;border-radius:14px;background:#262c37;color:#f2f3f5;font-size:.82rem;font-weight:550;list-style:none;box-shadow:inset 0 1px #ffffff1c,0 2px 3px #0003;}
.set-chips summary::-webkit-details-marker,.edit-item summary::-webkit-details-marker {display:none;}
.set-chips summary::after,.routine-line .edit-item summary::after {content:'';border:solid #bdc4ce;border-width:0 1.5px 1.5px 0;width:6px;height:6px;transform:rotate(45deg);margin:-3px 0 0 7px;flex:none;}
.set-chips details[open]{flex-basis:100%;}
.set-chips .chip-content {padding:12px;background:#181d25;border-radius:12px;margin:6px 0 0;}
.set-chips .chip-content label {display:block;}
.set-chips .chip-content button {margin:4px 4px 0 0;}
.set-console .quick-set {padding:14px;}
.steppers {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.logger .step-field {display:block;border-radius:14px;background:#1f242d;padding:9px 4px 5px;min-width:0;}
.logger .step-field label {text-align:center;margin:0;color:#b7bfcb;font-size:.8rem;line-height:1.25;}
.logger .step-control {padding:0;background:none;box-shadow:none;grid-template-columns:44px minmax(0,1fr) 44px;}
.logger .step-control .quick-value {font-size:clamp(1.75rem,5.5vw,2rem);font-weight:700;letter-spacing:-.045em;font-variant-numeric:tabular-nums;}
.logger .step-control .quick-value.suggested {color:#dce0e7;}
.logger .step-control button[data-act=nudge] {background:#303744;min-width:44px;box-shadow:inset 0 1px #ffffff18,0 2px 2px #0004;}
.logger .step-control button[data-act=nudge]:active {background:#454e60;}
.set-console .quick-set .section-line {margin-bottom:10px;}
@media(max-width:510px) {
  .logger .step-control {grid-template-columns:1fr 1fr;gap:3px; padding:0 4px 4px;}
  .logger .step-control .quick-value {grid-row:1;grid-column:1/-1;line-height:1.12;}
  .logger .step-control [data-act=nudge] {grid-row:2;}
  .logger .steppers {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:335px) { .logger .steppers {grid-template-columns:1fr;} .outlook-copy{width:60%;} }
:root[data-text=larger] .logger .steppers {grid-template-columns:1fr;}
#app .picture-thumb {width:48px;height:48px;flex:0 0 48px;background:#1e232d;border:0;border-radius:11px;padding:3px;box-shadow:inset 0 1px #ffffff17;}
.picture-thumb span {color:#e2e6ed;}
.picture-thumb img:not([data-personal]) {filter:grayscale(1) invert(1);mix-blend-mode:screen;}
.picture-thumb img[data-personal] {border-radius:8px;filter:brightness(.88);}
#app .routine-line {background:#1c2129;border-radius:12px;align-items:center;padding:5px;gap:9px;}
#app .routine-line .edit-item {background:none;box-shadow:none;padding:0 8px 0 0;}
.routine-line .edit-item summary {list-style:none;display:flex;align-items:center;justify-content:space-between;gap:6px;}
.routine-line .edit-item summary::after {transform:rotate(-45deg);}
.routine-line .edit-item[open] summary::after {transform:rotate(45deg);}
.routine-line .edit-item summary small {display:block;font-size:.8rem;font-weight:400;color:#aeb6c2;margin-top:2px;}
.chart .trend-fill {fill:#ff784e22;stroke:none;pointer-events:none;}
.chart .series {stroke:#ff895f;stroke-width:2.5;}
.chart circle {fill:#ff9d76;stroke:#34221d;}
.muscle-balance>div {display:grid;grid-template-columns:minmax(5rem,1fr) 2fr auto;gap:8px;align-items:center;margin:8px 0;}
.muscle-balance meter {width:100%;height:.7rem;accent-color:#ff986e;}
.muscle-balance meter::-webkit-meter-bar {background:#252a33;border:0;}
.muscle-balance meter::-webkit-meter-optimum-value {background:#ff986e;}
@media(prefers-contrast:more){.set-chips summary,.step-control button,.bottom button[aria-current=page]{outline:1px solid #b0b7c1;}}
:is([data-act="open-routine"],[data-act="edit"],[data-gym="edit-load"])::before {content:"";display:inline-block;vertical-align:-.16em;width:1em;height:1em;margin-right:.4em;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21l4-1 13-13-3-3L4 17z M14 7l3 3'/%3E%3C/svg%3E") center / contain no-repeat;}
:is([data-act="rest-options"])::before {content:"";display:inline-block;vertical-align:-.16em;width:1em;height:1em;margin-right:.4em;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 2h4 M12 8v5l3 2 M18 5l2-2 M20 14a8 8 0 1 1-16 0 8 8 0 1 1 16 0'/%3E%3C/svg%3E") center / contain no-repeat;}
:is([data-command-guide])::before {content:"";display:inline-block;vertical-align:-.16em;width:1em;height:1em;margin-right:.4em;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10v4 M7 6v12 M12 3v18 M17 7v10 M21 10v4'/%3E%3C/svg%3E") center / contain no-repeat;}
:is([data-gym="open"])::before {content:"";display:inline-block;vertical-align:-.16em;width:1em;height:1em;margin-right:.4em;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9v6 M6 6v12 M18 6v12 M21 9v6 M6 12h12'/%3E%3C/svg%3E") center / contain no-repeat;}
.top .brand :is(#home-entry,#cardio-entry,.display-btn) {background:#222732;border:0;border-radius:12px;color:white;box-shadow:var(--key-depth);}
.top .brand :is(#home-entry,#cardio-entry)[aria-current=page],.top .brand #home-entry[aria-pressed=true] {background:#323b49;box-shadow:inset 0 1px #ffffff26;}
.energy-options {flex-wrap:wrap;}
.energy-options button {min-width:fit-content;flex:1 1 auto;}
.progress-figures {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0;}
.progress-figures section {background:var(--panel);border-radius:16px;padding:15px;min-width:0;box-shadow:inset 0 1px #ffffff0e;}
.progress-figures h2 {font-size:.85rem;font-weight:500;color:var(--muted);margin:0 0 8px;}
.progress-figures strong {font-size:1.7rem;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;}
.progress-figures strong small {font-size:.9rem;color:var(--muted);}

/* The safe-area backdrop stays under the status bar while content scrolls. */
.top {position:sticky;top:0;z-index:3;background:#0b0d10ed;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);}
.brand .display-btn svg {width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;vertical-align:middle;}
.shortcut-list {display:grid;gap:8px;}
.shortcut-list button {text-align:left;min-height:48px;}
.shortcut-plan {margin:10px 0 14px;}
.shortcut-plan small,.routine-caption small {color:var(--muted);}
.shortcut-plan p {margin:3px 0;}
.week-strip {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));align-items:center;gap:3px;padding:5px;background:#15191f;border-radius:15px;margin-bottom:12px;}
.week-strip>div {display:grid;place-items:center;gap:2px;padding:4px 0;color:#b4bdc9;border-radius:10px;}
.week-strip small {font-size:.75rem;line-height:1.1;}
.week-strip b {font-size:.88rem;line-height:1.15;font-weight:600;}
.week-strip .trained b {text-decoration:underline;text-underline-offset:2px;}
.week-strip .current {background:#ff7748;color:#210c05;}
.routine-caption,.routine-caption>div,.progress-heading {display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;}
.routine-caption {margin:14px 0 6px;}
.routine-caption h2,.progress-heading h1 {margin:0;}
.routine-caption details {margin:0;padding:0;border:0;background:none;}
.routine-caption details[open] {flex:1 0 100%;}
.routine-caption summary,.insights-board summary,.row-options summary {list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;font-size:.82rem;color:#d0d7e0;min-height:44px;}
.routine-caption summary::-webkit-details-marker,.insights-board summary::-webkit-details-marker,.row-options summary::-webkit-details-marker {display:none;}
.routine-caption summary::after,.insights-board summary::after,.row-options summary::after {content:'';width:6px;height:6px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);}
.routine-caption details[open]>summary::after,.insights-board details[open]>summary::after,.row-options[open]>summary::after {transform:rotate(225deg);}
.routine-caption p {font-size:.9rem;color:#bfc8d4;}
body[data-view=routine] #app>.panel:has(.swipe-row) {padding:12px;}
#app .routine-line {background:#222730;box-shadow:inset 0 1px #ffffff0b;}
.picture-thumb img:not([data-personal]) {filter:grayscale(1) invert(1) brightness(1.9);}
#app .picture-thumb span {color:#b9c2cc;}
.progress-heading {margin-bottom:14px;}
.progress-heading label {max-width:58%;}
.progress-heading select {margin:0;min-height:44px;font-size:.86rem;}
.insights-board {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px;}
.insights-board>section {display:flex;flex-direction:column;align-items:stretch;min-width:0;background:#181c23;border-radius:16px;padding:14px;box-shadow:inset 0 1px #ffffff13;}
.insights-board h2 {margin:0 0 6px;font-size:.9rem;font-weight:580;color:#e0e4eb;}
.insights-board strong {font-size:clamp(1.65rem,5.5vw,2.3rem);line-height:1.12;letter-spacing:-.045em;overflow-wrap:anywhere;margin:3px 0;}
.insights-board small {color:#b9c0cb;font-size:.77rem;line-height:1.35;}
.insights-board strong small {color:#e0e3e8;font-size:.9rem;}
.volume-spark,.balance-plot {width:100%;height:auto;display:block;}
.volume-spark,.plot-baseline {margin:auto 0 4px;}
.plot-baseline {height:44px;border-bottom:2px solid #665046;}
.balance-plot {max-height:126px;}
.radar-ring {fill:none;stroke:#474d58;stroke-width:1;}
.radar-data {fill:#ff794947;stroke:#ff986e;stroke-width:1.8;}
.balance-plot text {font-size:10px;fill:#c5cbd5;font-weight:500;}
.insights-board details,.row-options {background:transparent;border:0;border-radius:0;margin:0;padding:0;}
.insights-board details p {font-size:.85rem;margin:3px 0;color:#bcc3cf;}
.insights-board button {margin-top:8px;min-height:44px;}
.medal-line {display:flex;gap:4px;justify-content:space-between;max-width:190px;margin:4px 0 8px;}
.medal-line span {display:grid;justify-items:center;flex:1;min-width:0;}
.award {width:min(100%,38px);height:43px;fill:none;}
.award .ribbon {fill:#393d46;}.award .medal {fill:#343941;stroke:#586170;stroke-width:1.35;}.award .engraving {stroke:#87909c;stroke-width:1.4;stroke-linejoin:round;stroke-linecap:round;}
.award.earned .ribbon {fill:#e6683e;}.award.earned .medal {fill:#825630;stroke:#f0c48b;}.award.earned .engraving {stroke:#fff1d5;}
.set-ledger {background:#15191f;border-radius:16px;padding:8px 12px;margin:12px 0;}
.set-ledger .set-header {font-size:.78rem;color:#afb9c5;}
.ledger-entry {padding:6px 0;border-top:1px solid #ffffff0c;}
.ledger-entry .set-row input {font-variant-numeric:tabular-nums;border-radius:11px;font-size:1.12rem;font-weight:640;text-align:center;}
.ledger-entry .row-options>summary {justify-content:flex-end;}
@media(max-width:600px){
  dialog[open]:not(#chart-explorer)::before {display:none;}
  .sheet-grip {height:24px;display:grid;place-items:start center;touch-action:none;cursor:grab;}
  .sheet-grip::before {content:'';width:36px;height:5px;border-radius:5px;background:#7a818b;margin-top:1px;}
  .brand {min-height:52px;}
}
@media(min-width:601px){.sheet-grip {display:none;}}
@media(max-width:360px){:root[data-text=larger] .insights-board {grid-template-columns:1fr;}}
@media(min-width:350px) and (max-width:510px) {
  .set-chips {gap:5px;}
  .set-chips .chip-menu>summary,.set-chips .warmup-chip select,.set-chips>button {padding-inline:8px;}
  .set-chips .chip-menu>summary::after {margin-left:4px;}
  .set-chips .warmup-chip {flex:0 1 auto;}
}
#app .picture-thumb:has(span) {position:relative;display:grid;place-items:center;}
#app .picture-thumb:has(span)::before {content:'';width:20px;height:15px;border:1.5px solid #b9c2cf;border-radius:4px;}
#app .picture-thumb:has(span) span {position:absolute;font-size:.85rem;line-height:1;color:#d5dce6;}
