:root{font-family:system-ui,sans-serif;color:#17332e;background:#f5f7f4;font-size:17px;line-height:1.45}*{box-sizing:border-box}body{margin:0}main{max-width:1050px;margin:auto;padding:16px}a{color:#075c51}button,.cr-call{font:inherit;font-weight:750;cursor:pointer;border:2px solid #52776d;border-radius:12px;min-height:56px;padding:12px;color:#17332e;background:white;touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:4px solid #eea12f;outline-offset:3px}button:disabled{opacity:.6;cursor:default}[hidden]{display:none!important}.cr-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.cr-head>a:first-child{text-decoration:none;font-weight:800}.cr-head small{display:block}.cr-call{background:#a52626;color:white;text-decoration:none;text-align:center}.cr-intro{display:flex;gap:16px;align-items:center}h1{font-size:clamp(1.6rem,4vw,2.3rem);line-height:1.15;margin:20px 0 8px}h2{font-size:1.25rem}p{margin:10px 0}.cr-sofia{flex:0 0 84px;margin:0;text-align:center}.cr-sofia img{object-fit:cover;object-position:top;border-radius:50%;background:#e2eadd}.cr-sofia figcaption{font-size:11px}.cr-priority{background:#fff1d8;padding:12px;border-left:5px solid #b66e09;border-radius:7px}fieldset{border:0;padding:0;margin:18px 0 8px;min-width:0}legend{font-weight:750;margin-bottom:8px}.cr-age-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.cr-age-grid small,.cr-modes small{font-size:.85rem;display:block;font-weight:500}.cr-age-grid [aria-pressed=true]{background:#d3e8df;border-color:#075c51;box-shadow:inset 0 0 0 2px #075c51}.cr-modes{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.cr-modes button{font-size:1.23rem;min-height:84px}.cr-primary{background:#08644e;color:white;border-color:#08644e}.cr-secondary{background:#dcefe7;border-color:#08644e}#cr-age-note,#cr-child-note,details{font-size:.9rem}summary{padding:12px;cursor:pointer}details label{display:block;padding:12px}input{width:22px;height:22px;vertical-align:middle;accent-color:#08644e}.cr-workspace{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px;align-items:start}.cr-diagram{margin:0;background:white;border:1px solid #cad9d0;border-radius:16px;padding:12px;position:sticky;top:8px}.cr-diagram svg{width:100%;max-height:190px;display:block}.cr-torso>circle,.cr-torso>path:first-of-type,.cr-depth ellipse{fill:#e9efe9;stroke:#52776d;stroke-width:2}.cr-ribs{stroke:#9db0a5;stroke-width:3;fill:none}.cr-sternum{stroke:#a6b5aa;stroke-width:12;stroke-linecap:round}.cr-target{stroke:#bc3434;stroke-width:12;stroke-linecap:butt}.cr-pointer{stroke:#bc3434;stroke-width:2;fill:none}svg text{font-size:14px;fill:#17332e}.cr-depth path{fill:none;stroke:#bc3434;stroke-width:3}.cr-diagram strong{display:block;font-size:1.45rem}.cr-diagram span{display:block;margin:6px 0}.cr-diagram small{display:block;font-size:.76rem}.cr-controller{border:2px solid #08644e;border-radius:16px;padding:16px;background:white;text-align:center}.cr-phase{font-size:1.8rem;font-weight:850;margin:0}.cr-pulse{width:130px;height:130px;border-radius:50%;background:#dcefe7;display:grid;place-items:center;margin:12px auto;border:5px solid #08644e;font-size:3.3rem;font-weight:800}.cr-pulse.pulse{animation:press .45s ease-out}.cr-pulse.breath{background:#dce8ff;border-color:#335cad}.cr-pulse.breath.pulse{animation:breathe 1.8s ease-out}.cr-controls{display:flex;gap:8px}.cr-controls button{flex:1;font-size:.9rem}#cr-skip{margin:6px 0 12px;width:100%;background:#08644e;color:white}.cr-audio{display:block;text-align:left;margin-top:16px;font-weight:650}.cr-small,#cr-message{font-size:.8rem}.cr-source,.cr-breath-guide{margin-top:24px;padding:18px;background:white;border-radius:16px}.cr-source-links{display:grid;gap:10px}.cr-source-links a{padding:12px;border:1px solid #cad9d0;border-radius:8px}body.cr-active .cr-intro,body.cr-active .cr-priority,body.cr-active #cr-setup{display:none}body.cr-active .cr-head{margin-bottom:8px}body.cr-active .cr-workspace{margin-top:8px}@keyframes press{0%{transform:scale(.9)}100%{transform:scale(1)}}@keyframes breathe{0%{transform:scale(.9)}55%{transform:scale(1.06)}100%{transform:scale(1)}}@media(prefers-reduced-motion:reduce){.cr-pulse.pulse,.cr-pulse.breath.pulse{animation:none}}@media(max-width:620px){main{padding:10px}.cr-age-grid{grid-template-columns:1fr 1fr}.cr-modes{grid-template-columns:1fr}.cr-sofia{flex-basis:64px}.cr-sofia img{width:64px;height:64px}.cr-workspace{display:flex;flex-direction:column;gap:8px}.cr-diagram{width:100%;position:static}.cr-controller{width:100%}.cr-active .cr-diagram{position:sticky;top:0;z-index:2;box-shadow:0 3px 12px #17332e22;padding:6px 10px}.cr-active .cr-diagram svg{width:42%;height:105px;float:left}.cr-active .cr-diagram figcaption{margin-left:44%}.cr-active .cr-diagram strong{font-size:1.05rem}.cr-active .cr-diagram span{font-size:.73rem;margin:2px 0}.cr-active .cr-diagram small{font-size:.64rem}.cr-diagram:after{content:'';display:block;clear:both}.cr-pulse{width:96px;height:96px;font-size:2.6rem;margin:8px auto}.cr-phase{font-size:1.5rem}.cr-controller{padding:10px}.cr-controls button{min-height:52px;padding:8px}.cr-source,.cr-breath-guide{padding:12px}} 

#cr-age-picker{background:#eaf0e9;border-radius:10px;margin-top:12px}#cr-age-picker fieldset{padding:0 10px 10px;margin-top:0}#cr-age-note{font-size:.76rem}#cr-switch{width:100%;min-height:48px;margin:8px 0}.cr-breath-hint{font-size:.9rem}@media(max-width:620px){.cr-modes{grid-template-columns:1fr 1fr}.cr-modes button{font-size:1.05rem;padding:10px 6px}.cr-modes small{font-size:.73rem}.cr-intro p{font-size:.91rem}.cr-priority{font-size:.84rem}}

.cr-active .cr-head{position:sticky;top:0;z-index:5;background:#f5f7f4;padding:6px 0}.cr-active .cr-diagram{top:80px}.cr-diagram[data-age=infant] .cr-torso>circle{r:25px;cy:21px}.cr-diagram[data-age=child] .cr-torso>circle{r:22px;cy:23px}.cr-diagram[data-age=infant] .cr-torso>path:first-of-type{transform:translate(14px,0) scale(.85,1)}#cr-svg-age{font-weight:700;font-size:12px}

body{overflow-anchor:none}.cr-active .cr-head{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cr-active .cr-head>a:first-child{display:none}#cr-mute{background:#17332e;color:white;border-color:#17332e}.cr-controller{scroll-margin-top:80px}
@media(max-width:620px){.cr-active main{padding-bottom:90px}.cr-active .cr-diagram svg{width:35%;height:115px}.cr-active .cr-diagram figcaption{margin-left:37%}.cr-active .cr-diagram strong{font-size:1rem}.cr-active .cr-diagram small{display:none}.cr-active #cr-pause{position:fixed;bottom:8px;left:10px;right:10px;width:calc(100% - 20px);z-index:6;background:#17332e;color:white;border-color:#17332e;box-shadow:0 0 0 6px #f5f7f4;min-height:56px}.cr-active .cr-controls #cr-stop{width:100%}}
.cr-wake-status{font-size:14px;padding:8px 10px;background:#e9efe5;border-radius:8px}#cr-wake-retry{font-size:15px;width:100%;margin-top:8px}
/* One action, one age-correct visual; details stay available below. */
.cr-intro{display:block}.cr-first-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cr-first-steps p{padding:16px;background:white;border:1px solid #d5ded4;border-radius:16px;font-size:15px}.cr-first-steps b{display:block;font-size:18px;margin-bottom:7px}.cr-priority{font-weight:700}.cr-photo-stage{position:relative;background:#e5ddd0;border-radius:14px;overflow:hidden;aspect-ratio:4/3}.cr-photo-stage picture{display:block;width:100%;height:100%}.cr-photo-stage img{display:block;width:100%;height:100%;object-fit:contain}.cr-visual-action{position:absolute;bottom:10px;left:10px;right:10px;background:#17332eeb;color:white;border-radius:12px;padding:9px 12px;font-size:17px;font-weight:750;text-align:center}.cr-diagram figcaption{padding:12px 3px}.cr-diagram strong{font-size:27px}.cr-diagram figcaption>span{font-size:17px;line-height:1.45}.cr-metric{font-size:16px;font-weight:750;color:#235b47;margin-bottom:0}.cr-breath-guide>img{width:100%;height:auto;max-height:440px;object-fit:contain;background:#e5ddd0;border-radius:12px}.cr-more>svg{width:100%;height:200px}.cr-source summary,.cr-breath-guide summary{font-size:18px;font-weight:700;min-height:52px}.cr-device{font-size:15px;margin-top:12px}.cr-diagram{overflow:hidden}main[data-child="1"]:not([data-age-selected="1"]) .cr-photo-stage picture{visibility:hidden}
@media(max-width:620px){.cr-first-steps{grid-template-columns:1fr;gap:0}.cr-first-steps p{padding:12px;margin:5px 0}.cr-first-steps b{margin-bottom:3px}.cr-active .cr-diagram{position:static;padding:7px;box-shadow:none}.cr-active .cr-diagram figcaption{margin:0;padding:8px 5px;display:grid;grid-template-columns:auto 1fr;gap:5px 12px;align-items:center}.cr-active .cr-diagram strong{font-size:23px;white-space:nowrap}.cr-active .cr-diagram figcaption>span{font-size:14px;margin:0}.cr-active .cr-metric{grid-column:1/-1;font-size:14px;margin:0}.cr-active .cr-photo-stage{height:clamp(180px,31dvh,290px);aspect-ratio:auto}.cr-active .cr-photo-stage img{object-fit:contain}.cr-active .cr-workspace{gap:8px}.cr-active .cr-controller{padding:10px}.cr-active .cr-phase{font-size:22px}.cr-active .cr-pulse{width:76px;height:76px;font-size:38px}.cr-active #cr-detail{font-size:14px}.cr-visual-action{font-size:15px;padding:7px;bottom:7px}.cr-audio{font-size:15px}.cr-active #cr-message{font-size:13px}.cr-active .cr-head{position:static}.cr-active .cr-breath-guide,.cr-active .cr-source{margin-top:12px}}

@media(max-width:620px){.cr-active .cr-diagram figcaption{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.cr-active .cr-diagram strong{white-space:normal;overflow-wrap:anywhere;font-size:21px;line-height:1.2;min-width:0}.cr-active .cr-diagram figcaption>span{min-width:0;overflow-wrap:anywhere}.cr-photo-stage picture img{object-fit:contain}}

/* Schematic fallback when the selected new training visual is unavailable. */
.cr-position-stage{background:#edf3ed;border-radius:14px;padding:14px}.cr-position-stage svg{display:block;width:100%;height:210px;max-height:none}.cr-position-stage .cr-visual-action{position:static;display:block;margin:10px 0 0;font-size:17px}.cr-diagram[data-phase=breath] .cr-position-stage{display:none}.cr-diagram[data-age=unselected] .cr-position-stage svg{visibility:hidden}.cr-position-stage #cr-svg-age{font-size:13px}.cr-position-stage .cr-torso>circle,.cr-position-stage .cr-torso>path:first-of-type{fill:#e2ebe2;stroke:#52776d;stroke-width:2}@media(max-width:620px){.cr-active .cr-position-stage{padding:8px}.cr-active .cr-position-stage svg{float:none;width:100%;height:170px}.cr-active .cr-position-stage .cr-visual-action{font-size:15px;margin-top:4px}}

/* The native cue restarts one press/recoil cycle; no independent looping GIF. */
#cr-photo-stage{aspect-ratio:900/492;height:auto;--cr-cycle:545.454545ms}
#cr-photo-stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
#cr-photo-press{opacity:0}
.cr-preview{padding:12px 16px;background:#e8effb;border:2px solid #335cad;border-radius:12px;margin:16px 0;font-size:.9rem}.cr-preview p{margin:5px 0}.cr-preview strong{color:#214785;display:block}.cr-active .cr-preview p{display:none}
.cr-breath-stage{background:#edf4fc;border-radius:12px;text-align:center;padding:10px;color:#254c81}#cr-breath-stage svg{width:100%;height:180px;max-height:180px;float:none}.cr-breath-stage strong{font-size:1.05rem!important}.cr-breath-stage span{font-size:.75rem!important}.cr-breath-outline{fill:#f8fbff;stroke:#9ab4ca;stroke-width:3}.cr-lungs{fill:#a9d3e9;stroke:#3d7b9e;stroke-width:3;transform-box:fill-box;transform-origin:center}.cr-airway{fill:none;stroke:#3d7b9e;stroke-width:6;stroke-linecap:round}.cr-airflow{fill:none;stroke:#245cad;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}
@keyframes cr-preview-breath{0%,100%{transform:scale(1)}45%{transform:scale(1.08)}}@keyframes cr-preview-air{0%,100%{opacity:.3}45%{opacity:1}}
@media(prefers-reduced-motion:no-preference){.cr-breath-motion .cr-lungs{animation:cr-preview-breath 2s ease-in-out 1}.cr-breath-motion .cr-airflow{animation:cr-preview-air 2s ease-in-out 1}}
.cr-photo-label{font-size:12px!important;color:#52695e;text-align:right;margin:5px 3px!important}
.cr-diagram>.cr-visual-action{position:static;margin:8px 0 0;font-size:17px}
@keyframes cr-photo-cycle{0%,49.99%{opacity:1}50%,100%{opacity:0}}
@media(prefers-reduced-motion:no-preference){.cr-motion #cr-photo-press{animation:cr-photo-cycle var(--cr-cycle) steps(1,end) 1}}
@media(max-width:620px){.cr-active #cr-photo-stage{height:auto;aspect-ratio:900/492}.cr-active .cr-diagram>.cr-visual-action{font-size:15px;margin-top:6px}.cr-active .cr-photo-label{font-size:11px!important}}

/* Static, approved age-specific breathing images. No crop or automatic motion. */
.cr-breath-image-stage{width:100%;background:#fff;padding:8px;border-radius:12px}
.cr-breath-image-stage[hidden]{display:none!important}
.cr-breath-image-stage img{display:block;width:100%;height:auto;max-height:44dvh;object-fit:contain;object-position:center}
.cr-breath-image-stage small{display:block;font-size:13px;line-height:1.4;color:#17364b;margin-top:6px}
#cr-breath-reference{display:inline-flex;min-height:48px;align-items:center;padding:8px 0}

/* Two approved, aligned stills. The cue clock selects the frame; no independent loop. */
.cr-cycle-frames{display:grid}
.cr-cycle-frames img{grid-area:1/1;visibility:hidden}
#cr-compression-cycle-stage[data-frame="recoil"] #cr-cycle-recoil,#cr-compression-cycle-stage[data-frame="press"] #cr-cycle-press{visibility:visible}
@media(prefers-reduced-motion:reduce){#cr-compression-cycle-stage #cr-cycle-recoil{visibility:visible}#cr-compression-cycle-stage #cr-cycle-press{visibility:hidden}}
