/* One exercise occupies the available viewport. Its illustration yields space
   before the words do; the controller paginates unusually long instructions. */
#screen-comfort.exercise-mode{position:fixed;inset:var(--practice-safe-top,env(safe-area-inset-top,0px)) var(--practice-safe-right,env(safe-area-inset-right,0px)) var(--practice-safe-bottom,env(safe-area-inset-bottom,0px)) var(--practice-safe-left,env(safe-area-inset-left,0px));min-height:0!important;height:auto;max-height:none;animation:none!important;transition:none!important}
#screen-comfort.exercise-mode.active{display:flex;flex-direction:column}
.exercise-mode .comfort-top{flex:0 0 44px;width:100%;max-width:960px;padding:0 22px;margin:0 auto}
.exercise-mode .practice-page{width:100%;max-width:960px;flex:1;min-height:0;margin:0 auto;padding:4px 24px 0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:10px;align-items:stretch;justify-content:normal}
.exercise-mode .practice-eyebrow{font:11px/1.4 var(--sans);letter-spacing:.035em;margin:0;color:#a998bb}
.exercise-stage{display:grid;padding:0;animation:none!important;align-items:stretch;justify-content:normal;grid-template-rows:var(--illustration-height,180px) auto;gap:18px;align-content:center;min-height:0;min-width:0;justify-items:center}
.practice-visual{height:100%;min-height:0;max-height:240px;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}
.exercise-mode .exercise-figure{position:relative;flex:1;height:0;min-height:0;width:100%;max-width:280px;margin:0}
.exercise-mode .exercise-figure svg{position:absolute;inset:0;height:100%;width:100%;max-height:none;overflow:visible}
.exercise-mode .practice-cue{flex:0 0 auto;margin:0;min-height:25px;font:17px/1.45 var(--sans);font-variant-numeric:tabular-nums;color:#d9c2ed}
.exercise-mode .practice-cue:empty{display:none}
.practice-copy{width:100%;max-width:400px;min-width:0;align-self:center}
.exercise-mode .practice-instruction{font:400 clamp(27px,7.5vw,36px)/1.15 var(--serif);margin:0 auto 12px;max-width:400px;text-wrap:balance}
.exercise-mode .practice-direction{font:16px/1.55 var(--sans);margin:0 auto;max-width:400px;text-wrap:pretty;overflow-wrap:break-word}
.practice-sequence{list-style:none;display:flex;gap:4px;justify-content:center;margin:12px auto 0;width:100%;max-width:360px}
.practice-sequence li{flex:1;font:12px/1.35 var(--sans);color:#aa98bb;padding:3px 6px;border-bottom:1px solid transparent}
.practice-sequence span,.practice-sequence strong{display:block}.practice-sequence strong{font-weight:400;font-size:16px;color:#cbb6dd;margin-top:2px}
.practice-sequence .current{color:#e8d7f4;border-color:#baa0d2}.practice-sequence .current strong{color:#f3e4ff}
.practice-footer{width:100%;padding:0 0 2px;align-self:end}
.practice-controls{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;justify-items:center;min-height:52px;gap:8px;max-width:450px;width:100%;margin:18px auto 0}
.practice-controls.with-tactile{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.exercise-mode .practice-next-slot{min-height:52px;margin:0;width:100%}
.exercise-mode .practice-next-slot .home-feel-cta{margin:0;min-height:48px;width:100%;max-width:275px;font:22px/1.2 var(--serif);padding:10px 16px}
.practice-controls.with-tactile .home-feel-cta{font-size:20px;padding:10px 8px}
.practice-pulses{font:13px/1.3 var(--sans);padding:10px 8px;min-height:44px;text-decoration:underline;text-decoration-color:#bca2d240;text-underline-offset:5px}
.practice-pulses[aria-pressed=true]{color:#ead5fa;text-decoration-color:currentColor}
.practice-pulses:disabled{opacity:.45}
.exercise-mode .practice-context{margin:0;min-height:44px;align-items:center}
.exercise-mode .practice-context .word-link{font-size:18px;padding:10px 8px;min-height:44px}
.practice-landscape .exercise-stage{grid-template-columns:minmax(0,2fr) minmax(0,3fr);grid-template-rows:minmax(0,1fr);gap:24px;align-items:center}
.practice-landscape .practice-visual{height:var(--illustration-height,180px);max-height:240px;align-self:center}
.practice-landscape .practice-copy{text-align:left;max-width:480px}
.practice-landscape .practice-instruction,.practice-landscape .practice-direction{margin-left:0;max-width:none}
.practice-landscape .practice-sequence{margin-left:0;text-align:center}
.exercise-mode .practice-compact .practice-instruction{font-size:26px;margin-bottom:8px;line-height:1.1}
.exercise-mode .practice-compact .practice-direction{font-size:15px;line-height:1.45}
.practice-compact .practice-sequence{margin-top:8px}
.practice-compact .practice-sequence li{padding:2px 4px}
.practice-compact .practice-sequence strong{font-size:14px}
/* The SVG radius is the sole source of truth for the breath. */
.breath-circle,.breath-figure[data-art-step="2"] .breath-circle{transform:none!important;transition:none!important}
@media(max-height:500px){.exercise-mode .practice-page{gap:5px;padding-top:0}.exercise-mode .comfort-top{flex-basis:40px}.exercise-mode .practice-instruction{font-size:27px}.exercise-mode .practice-controls{min-height:44px}.exercise-mode .practice-next-slot{min-height:44px}.exercise-mode .practice-next-slot .home-feel-cta{min-height:44px;font-size:20px}.exercise-stage{gap:8px}.exercise-mode .practice-cue{font-size:14px;min-height:21px}.exercise-mode .practice-context .word-link{font-size:16px}}
@media(prefers-reduced-motion:reduce){.breath-circle{transform:none!important}}

/* Layout measurements must see the final geometry, including on first entry. */
.exercise-mode .comfort-top,.exercise-mode .practice-page,.exercise-mode .practice-instruction,.exercise-mode .practice-direction{transition:none!important}

.exercise-mode *{transition-property:none!important}

/* Programmatic reading focus should not draw a box around the instruction. */
.exercise-mode .practice-instruction:focus{outline:none}
.exercise-mode .practice-cue{color:#c9b6d9;font:italic 22px/1.4 var(--serif);min-height:31px}
@media(max-height:500px){.exercise-mode .practice-cue{font-size:18px;min-height:25px}.practice-controls{margin-top:12px}}
/* Keep the continuation target still under a resting finger or pointer. */
.exercise-mode .home-feel-cta:hover,.exercise-mode .home-feel-cta:active{transform:none}
