:root {
  color-scheme: light;
  --ink: #202626;
  --muted: #626969;
  --paper: #fff;
  --ground: #eeece6;
  --tint: #f6f4ef;
  --line: #deded6;
  --red: #c2152c;
  --neutral: #234b67;
  --green: #176b44;
  --green-soft: #edf5ee;
  --warn: #fff0f1;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 98px; }
body { margin: 0; font: 17px/1.65 var(--sans); color: var(--ink); background: var(--ground); }
button, input, select { font: inherit; }
button, a, label { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--neutral); }
img { display: block; max-width: 100%; height: auto; }
figure, p, ol, ul { margin: 0 0 1.15rem; }
ol, ul { padding-left: 1.45rem; }
li { padding-left: .3rem; margin: .55rem 0; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible, main:focus-visible { outline: 3px solid #247baf; outline-offset: 5px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 98px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 150; top: -80px; left: 16px; padding: 12px 18px; background: white; color: var(--ink); }
.skip-link:focus { top: 12px; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.07; letter-spacing: -.045em; }
h1 { font-size: clamp(3.1rem, 4.55vw, 4.6rem); margin: 0 0 1.5rem; }
h2 { font-size: clamp(2.6rem, 4vw, 4.1rem); margin: 0 0 1.4rem; }
h3, h4 { line-height: 1.3; margin: 0 0 .7rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.13rem; }
strong { font-weight: 700; }
.lede { max-width: 700px; color: var(--muted); font-size: 1.14rem; line-height: 1.65; }
.eyebrow { color: var(--neutral); font-size: 1rem; line-height: 1.5; font-weight: 800; letter-spacing: .095em; margin: 0 0 1.05rem; }
.chapter-head > .eyebrow { font-size: 1.12rem; }
.caption, figcaption, .scope-note { font-size: .88rem; color: var(--muted); line-height: 1.6; }
.topbar { height: 78px; padding: 0 32px; background: #1b2020; color: white; display: flex; align-items: center; gap: 24px; position: sticky; top: 0; z-index: 40; border-bottom: 3px solid #df1e34; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; color: white; flex-shrink: 0; }
.brand:hover { color: white; }
.brand-mark { background: #d81831; padding: 7px 8px; font-weight: 900; font-size: 1.05rem; letter-spacing: -.06em; border-radius: 6px; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.12rem; line-height: 1.2; letter-spacing: .01em; }
.brand small { font-size: .65rem; letter-spacing: .14em; color: #ccd1ce; line-height: 1.7; }
.edition { flex: 1; padding-left: 16px; color: #ccd1ce; font-size: .88rem; }
.quiet-button { background: transparent; color: white; border: 1px solid #687371; border-radius: 6px; padding: 8px 15px; min-height: 44px; }
.quiet-button:hover { background: #343c3a; }
.quiet-button span { margin-right: 8px; font-size: 1.25rem; }
.contents-toggle { display: none; }
.workspace { max-width: 1530px; padding: 30px 32px; margin: auto; display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 30px; align-items: start; }
.sidebar { position: sticky; top: 110px; padding-right: 4px; }
.nav-kicker { color: var(--muted); font-size: .73rem; letter-spacing: .16em; font-weight: 800; padding: 0 12px; }
.chapter-links { display: grid; gap: 4px; }
.chapter-links a { display: flex; align-items: center; gap: 12px; font-size: .92rem; font-weight: 550; min-height: 47px; border-radius: 5px; padding: 9px 12px; text-decoration: none; line-height: 1.3; }
.chapter-links a span { font-size: .73rem; color: #59655e; font-variant-numeric: tabular-nums; }
.chapter-links a:hover { background: #e5e4dc; }
.chapter-links a[aria-current="page"] { color: var(--neutral); background: white; box-shadow: inset 3px 0 var(--neutral); }
.sidebar-note { margin-top: 28px; border-top: 1px solid #ced2c9; padding: 22px 10px 13px; font-size: .85rem; }
.sidebar-note a { display: block; font-size: .79rem; margin-top: 5px; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 7px; }
.text-button { border: 0; background: none; color: var(--ink); padding: 10px 0; text-decoration: underline; text-underline-offset: 4px; min-height: 44px; font-size: .9rem; }
.sidebar > .text-button { padding-left: 10px; }
.offline-status { font-size: .74rem; color: var(--muted); margin: 10px; line-height: 1.55; }
.quickstart-download { display: flex; align-items: center; gap: 10px; min-height: 58px; margin: 12px 0 0; padding: 12px; border: 1px solid #176947; border-radius: 6px; background: #176947; color: white; text-decoration: none; line-height: 1.4; }
.quickstart-download:hover { background: #105137; border-color: #105137; color: white; }
.quickstart-download svg { flex-shrink: 0; }
.quickstart-download strong { display: block; font-size: .83rem; }
.quickstart-download small { display: block; margin-top: 4px; font-size: .67rem; }
@media screen and (min-width: 901px) {
  .tuner-tool-active #pitch-workbench { padding-block: 18px; }
  .tuner-tool-active .tuner-header .eyebrow { display: none; }
  .sidebar { display: flex; flex-direction: column; height: auto; }
  .sidebar > * { flex-shrink: 0; }
  .sidebar > .chapter-links { flex: 0 0 auto; min-height: 0; overflow: visible; padding: 5px; margin: -5px; }
}
main { min-width: 0; outline: none; }
.chapter { background: white; border: 1px solid #e2e1d9; border-radius: 9px; padding: clamp(28px,4vw,60px); margin-bottom: 28px; }
.js-ready .chapter:not(.is-active) { display: none; }
.chapter-head { margin-bottom: 30px; max-width: 820px; }
.hero-page { padding: 0; overflow: hidden; }
.hero-page > :not(.hero-layout) { margin-left: clamp(28px,4vw,56px); margin-right: clamp(28px,4vw,56px); }
.hero-layout { display: grid; grid-template-columns: 1.05fr .95fr; background: #f7f5ef; }
.hero-copy { padding: clamp(28px,3.6vw,52px); padding-right: 18px; align-self: center; }
.hero-copy .eyebrow { font-size: .9rem; letter-spacing: .1em; }
.hero-copy .lede { font-size: 1.03rem; }
.hero-figure { position: relative; margin: 0; background: #eeebe3; }
.hero-figure img { width: 100%; height: 100%; max-height: 650px; object-fit: cover; object-position: 46% 26%; }
.hero-figure figcaption { position: absolute; bottom: 22px; left: 18px; right: 18px; text-align: center; font-size: .76rem; color: white; border-radius: 100px; background: rgba(25,32,29,.83); padding: 9px 13px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 24px 0; }
.tag-row span { border: 1px solid #c9cec7; border-radius: 3px; font-size: .65rem; font-weight: 800; letter-spacing: .065em; padding: 4px 7px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; border: 1px solid transparent; border-radius: 6px; padding: 12px 19px; min-height: 48px; font-weight: 700; line-height: 1.5; text-align: center; text-decoration: none; font-size: .95rem; }
.button.primary { color: white; background: var(--neutral); }
.button.primary:hover { background: #9e1124; }
.button.secondary { background: white; border-color: #b6c4ba; color: var(--green); }
.button.secondary:hover { background: var(--green-soft); }
.subtle-link { display: block; font-size: .88rem; margin-top: 17px; color: var(--muted); }
.first-visit { padding: 42px 0 28px; }
.section-heading, .step-heading { display: flex; align-items: flex-start; gap: 17px; margin: 30px 0 20px; }
.section-heading .eyebrow { margin: 0 0 5px; font-size: .9rem; }
.small-heading { font-size: clamp(1.8rem, 2.5vw, 2.6rem); margin: 0; }
.step-number { display: inline-grid; place-items: center; width: 38px; height: 38px; background: var(--ink); color: white; border-radius: 50%; flex-shrink: 0; font: 700 1rem var(--sans); }
.step-heading { align-items: center; margin-bottom: 23px; }
.step-heading h3 { margin: 0; font-size: 1.43rem; }
.variant-choice { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; border: 0; margin: 16px 0; padding: 0; }
.variant-choice label { display: flex; align-items: center; gap: 10px; padding: 15px; border: 1px solid #c8cec7; border-radius: 8px; cursor: pointer; line-height: 1.5; }
.variant-choice label:has(input:checked) { border: 2px solid var(--green); background: var(--green-soft); padding: 14px; }
input[type="radio"], input[type="checkbox"] { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--green); }
.variant-choice strong, .variant-choice small { display: block; }
.variant-choice strong { font-size: .96rem; }
.variant-choice small { font-size: .78rem; color: var(--muted); }
.variant-message { color: var(--green); font-size: .95rem; min-height: 2rem; }
.route-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin: 22px 0 30px; }
.route-grid > a { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; padding: 20px 17px; background: #fafaf7; }
.route-grid > a:hover { background: #f1f4ed; color: var(--ink); border-color: #819883; }
.route-number { color: var(--neutral); font-size: .8rem; font-weight: 800; margin-bottom: 22px; }
.route-grid h3 { font-size: 1.02rem; }
.route-grid p { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.route-arrow { margin-top: auto; align-self: flex-end; font-size: 1.5rem; }
.callout { border-radius: 6px; padding: 21px 24px; margin: 25px 0; border-left: 4px solid #b4bbb7; }
.callout strong { display: block; font-size: 1.04rem; margin-bottom: 7px; }
.callout p strong { display: inline; font-size: inherit; }
.callout p:last-child { margin-bottom: 0; }
.callout.good { background: var(--green-soft); border-color: var(--green); }
.callout.warning { background: var(--warn); border-color: #ad6f27; }
.callout.neutral { background: #f1f3f4; border-color: #7c929d; }
.scope-note { margin-top: 22px; }
.chapter-end { margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.chapter-end > p { margin: 0; color: var(--muted); font-size: .95rem; max-width: 440px; }
.chapter-end .button { flex-shrink: 0; }
.hero-page .chapter-end { margin-bottom: 42px; }
.parts-figure { background: var(--tint); border-radius: 10px; overflow: hidden; }
.parts-visual { position: relative; }
.parts-visual > img { width: 100%; display: block; }
.parts-hotspots { position: absolute; inset: 0; }
.part-trigger { border: 0; cursor: pointer; font: inherit; }
.parts-hotspots .part-trigger { position: absolute; padding: 8px 10px; border-radius: 4px; background: #fffef4e8; color: #203b31; font-size: clamp(.63rem,1vw,.82rem); font-weight: 800; letter-spacing: .06em; box-shadow: 0 2px 12px #1b30231f; }
.parts-hotspots .head-label { top: 13%; left: 2%; }
.parts-hotspots .body-label { top: 13%; left: 36%; }
.parts-hotspots .foot-label { top: 13%; left: 71%; }
.part-trigger[aria-pressed="true"] { color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }
.part-focus { position: absolute; z-index: 1; border: 3px solid #b7342d; border-radius: 12px; box-shadow: 0 0 0 999px #1e2f2610, 0 0 0 5px #fff7; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.focus-head { left: 1.5%; top: 34%; width: 25%; height: 28%; }
.focus-body { left: 28%; top: 31%; width: 43%; height: 34%; }
.focus-foot { left: 74%; top: 34%; width: 24%; height: 28%; }
.parts-visual[data-active-part="headjoint"] .focus-head,
.parts-visual[data-active-part="body"] .focus-body,
.parts-visual[data-active-part="footjoint"] .focus-foot { opacity: 1; }
.parts-figure figcaption { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; padding: 17px 20px; border-top: 1px solid var(--line); background: #faf9f5; color: var(--ink); font-size: .93rem; }
.part-caption { min-height: 44px; padding: 7px 9px; text-align: left; color: var(--ink); background: transparent; border-radius: 5px; }
.part-caption:hover { background: #edf2e9; }
.parts-selection-status { margin: 0; padding: 10px 20px 14px; background: #faf9f5; color: var(--muted); font-size: .88rem; }
.parts-figure b { color: var(--neutral); margin-right: 5px; }
.two-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; }
.three-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.part-cards { margin: 35px 0; }
.part-cards .step-number { width: 31px; height: 31px; margin-bottom: 14px; }
.part-cards p { font-size: .96rem; }
.block-title { margin: 33px 0 18px; font-size: 1.45rem; }
.diagram { background: var(--tint); border: 1px solid #e8e7df; border-radius: 10px; overflow: hidden; margin: 23px 0; }
.diagram img { width: 100%; }
.diagram figcaption { padding: 14px 20px; }
.key-type-diagram { max-width: 690px; margin-left: auto; margin-right: auto; }
.two-grid .callout { margin: 0 0 20px; }
details { border: 1px solid var(--line); border-radius: 8px; margin: 15px 0; padding: 0 23px; background: white; }
summary { font-weight: 700; font-size: 1.02rem; cursor: pointer; min-height: 64px; padding: 18px 6px 18px 0; line-height: 1.55; }
summary::marker { color: var(--green); }
details[open] { padding-bottom: 16px; }
details[open] > summary { margin-bottom: 12px; border-bottom: 1px solid var(--line); }
details > :last-child { margin-bottom: 0; }
.glossary { display: grid; grid-template-columns: 150px 1fr; gap: 12px 20px; }
.glossary dt { font-weight: 700; }
.glossary dd { margin: 0; color: var(--muted); }
.goal-box { background: #1d4a36; color: #fff; border-radius: 9px; padding: 27px 32px; margin: 25px 0 32px; }
.goal-label { font-size: .83rem; letter-spacing: .15em; font-weight: 800; color: #cbecc7; display: block; margin-bottom: 12px; }
.goal-box h3 { font-size: 1.7rem; line-height: 1.25; margin-bottom: 12px; }
.goal-box p { font-size: 1rem; color: #e1eadf; margin: 0; max-width: 800px; }
.goal-box.compact h3 { margin-bottom: 0; }
.local-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; }
.local-nav a, .symptom-links a { display: inline-flex; align-items: center; min-height: 45px; padding: 8px 14px; border-radius: 100px; background: #f0f1eb; text-decoration: none; font-size: .93rem; font-weight: 650; }
.local-nav a:hover, .symptom-links a:hover { background: #e3ebdf; color: var(--ink); }
.lesson-step { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 35px; }
.photo-text { grid-template-columns: 1.03fr 1fr; gap: 28px; align-items: start; }
.photo-card { border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--tint); }
.photo-card img { width: 100%; }
.photo-card figcaption { padding: 15px 18px; }
.photo-text .photo-card img { aspect-ratio: 1.5; object-fit: contain; }
.simple-steps li { margin-bottom: 18px; }
.mini-label { font-size: .83rem; letter-spacing: .11em; color: var(--neutral); font-weight: 800; margin-bottom: 10px; }
.cue-grid article { background: #f8f8f4; border-top: 3px solid #9aac9c; padding: 22px 18px 8px; border-radius: 4px; }
.cue-grid p:not(.mini-label) { font-size: .96rem; }
.reset-panel { background: #f9f0e5; padding: 26px; border-radius: 9px; margin: 35px 0 25px; }
.reset-panel h3 { font-size: 1.42rem; }
.reset-panel .eyebrow { color: #815220; }
.stop-note { font-size: .98rem; padding-top: 17px; border-top: 1px solid #dbcbb6; margin-bottom: 0; }
.session-check { display: flex; align-items: center; gap: 14px; border: 1px solid #bdd0be; border-radius: 7px; padding: 17px 20px; margin-top: 25px; background: #f5f8f2; font-weight: 600; cursor: pointer; }
.hold-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.posture-photo img { max-height: 780px; object-fit: contain; }
.hold-points article { border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.hold-points .step-number { width: 29px; height: 29px; margin-bottom: 10px; }
.hold-points h3 { font-size: 1.15rem; }
.hold-points p { font-size: .96rem; }
.variant-tip { background: #f0f5f0; border: 1px solid #bcccbc; padding: 21px 24px; border-radius: 6px; margin: 28px 0; }
.chart-legend { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin: 28px 0; }
.chart-legend > span { display: inline-flex; align-items: center; gap: 9px; font-size: .93rem; font-weight: 600; }
.chart-legend .finger { width: 23px; height: 23px; }
.chart-legend p { flex-basis: 100%; margin: -8px 0 0; font-size: .88rem; color: var(--muted); }
.note-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; margin-bottom: 22px; }
.note-card { border: 1px solid #c8d1c8; padding: 22px 18px; border-radius: 9px; }
.note-card:first-child { border-top: 5px solid var(--green); padding-top: 18px; background: #f7faf4; }
.note-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 6px; margin-bottom: 19px; }
.note-title h3 { font: 400 3.8rem/1 var(--serif); margin: 0; }
.note-title h3 span { display: block; font: 500 .76rem/1.6 var(--sans); margin-top: 5px; white-space: nowrap; }
.note-title > span { font-size: .64rem; letter-spacing: .065em; color: var(--green); font-weight: 800; max-width: 77px; padding-top: 8px; }
.note-card > p { font-size: .86rem; min-height: 87px; }
.finger-row { display: flex; justify-content: space-between; gap: 5px; margin-bottom: 11px; }
.finger { width: 37px; height: 37px; border: 2px solid #53645b; border-radius: 50%; display: inline-grid; place-items: center; background: white; font-size: .71rem; font-weight: 750; font-style: normal; color: #344238; }
.finger.pressed { color: white; background: #1d6743; border-color: #1d6743; }
.thumb-chip { color: var(--green); font-size: .74rem; font-weight: 700; display: block; margin: 19px 0; }
.note-card .note-instruction { border-top: 1px solid var(--line); padding-top: 17px; min-height: 0; margin: 0; font-size: .87rem; color: var(--muted); }
.full-fingering { margin-top: 42px; padding-top: 14px; border-top: 1px solid var(--line); }
.full-fingering > .section-heading { margin-top: 22px; }
.fingering-key-map { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.fingering-key-map span { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #c8d1c8; border-radius: 100px; padding: 7px 11px; background: #f7faf4; color: var(--muted); font-size: .82rem; }
.fingering-key-map b { color: var(--green); }
.fingering-scope { margin: 24px 0 30px; }
.fingering-register { margin: 32px 0; }
.fingering-register h4 { display: flex; align-items: center; gap: 15px; margin-bottom: 14px; font-size: 1.26rem; }
.fingering-register h4::after { content: ''; height: 1px; flex: 1; background: var(--line); }
.fingering-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.fingering-card { min-width: 0; border: 1px solid var(--line); border-radius: 8px; background: #fbfbf8; padding: 15px 14px 12px; }
.fingering-note { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 9px; }
.fingering-note strong { font: 400 1.55rem/1 var(--serif); }
.fingering-note span { color: var(--muted); font-size: .74rem; text-align: right; }
.fingering-card p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.fingering-card p b { color: var(--ink); }
.alternate-note { margin-top: 28px; background: #f8f5ef; }
.source-reminder { margin-top: 27px; }
.assembly-sequence img, .reflector-diagram img, .case-order-diagram img { background: #f6f4ef; }
.assembly-sequence figcaption, .reflector-diagram figcaption, .case-order-diagram figcaption { font-size: .92rem; }
.case-order-diagram { margin-bottom: 28px; }
.model-comparison > article { border: 1px solid var(--line); border-radius: 8px; padding: 25px; }
.model-comparison > article:last-child { background: #f6f8f0; }
.session-finish { background: #f3f5ed; border-radius: 9px; padding: 27px; margin-top: 32px; }
.session-finish .session-check { background: white; }
.session-finish #session-summary { margin: 17px 0 4px; }
.symptom-links { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 34px; }
.tuning-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 24px 0; }
.tuning-pair > div { background: #f1f5ee; padding: 22px; border-radius: 7px; }
.tuning-pair span, .tuning-pair strong, .tuning-pair small { display: block; }
.tuning-pair span { color: var(--green); font-size: .76rem; font-weight: 800; letter-spacing: .075em; }
.tuning-pair strong { margin: 6px 0; font-size: 1.2rem; }
.tuning-pair small { color: var(--muted); }
.source-list li { margin-bottom: 21px; }
.source-list p { margin: 5px 0 0; font-size: .9rem; color: var(--muted); }
.manual-footer { font-size: .73rem; color: var(--muted); display: flex; gap: 15px; align-items: center; justify-content: space-between; padding: 2px 3px 18px; flex-wrap: wrap; }
.chapter-pager { display: none; }
dialog { width: min(690px, calc(100% - 32px)); max-height: min(85dvh, 820px); overflow-x: hidden; overflow-y: auto; padding: 26px 30px; border: 1px solid #c5cec4; border-radius: 12px; color: var(--ink); box-shadow: 0 30px 110px #0004; }
dialog::backdrop { background: #13201bd1; backdrop-filter: blur(3px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.dialog-head h2 { font-size: 2rem; margin: 0; }
.close-button { width: 44px; height: 44px; flex-shrink: 0; background: #f2f4ee; border: 1px solid #cbd4c7; border-radius: 50%; font-size: 1.5rem; }
#search-dialog label { font-size: .88rem; color: var(--muted); display: block; margin-bottom: 7px; }
#search-input { border: 1px solid #aab8a8; padding: 13px 15px; border-radius: 6px; width: 100%; font-size: 1rem; }
#search-count { margin: 15px 0; }
#search-results { display: grid; gap: 9px; }
.search-result { padding: 15px 17px; background: #f4f6ef; border: 1px solid #e0e6d8; border-radius: 6px; text-decoration: none; }
.search-result strong, .search-result small { display: block; }
.search-result small { color: var(--muted); font-size: .87rem; margin-top: 4px; }
#contents-dialog .button { margin-top: 20px; }
.image-fallback { padding: 22px; background: #fff3e5; border: 1px dashed #a2763a; color: var(--ink); }
.image-fallback p { font-size: .9rem; }
.image-fallback button { background: white; border: 1px solid #957844; border-radius: 4px; min-height: 44px; padding: 8px 14px; }
.enlarge-button { display: block; width: 100%; padding: 10px 17px; min-height: 44px; border: 0; border-top: 1px solid var(--line); background: #f1f4ec; text-align: right; color: var(--green); font-size: .86rem; font-weight: 650; }
.enlarge-button:hover { background: #e4eddf; }
#image-dialog { width: min(1140px, calc(100% - 24px)); max-height: 94dvh; }
.image-toolbar { display: flex; align-items: center; gap: 20px; margin-bottom: 14px; }
.image-toolbar p { margin: 0; }
.image-stage { width: 100%; overflow: visible; border-radius: 7px; background: var(--tint); }
.image-stage img { display: block; width: 100%; max-width: 100%; height: auto; max-height: none; object-fit: contain; }
.image-stage.is-zoomed img { width: 100%; max-width: 100%; max-height: none; }
#image-description { margin: 17px 0 0; }
.noscript-notice { padding: 20px; background: #fcf3cb; position: fixed; bottom: 0; left: 0; right: 0; font-size: .9rem; }
@media (min-width: 1600px) { .hero-copy { padding-right: 38px; } }
@media (max-width: 1190px) {
  .workspace { padding: 23px 22px; grid-template-columns: 184px minmax(0,1fr); gap: 20px; }
  .chapter-links a { font-size: .85rem; gap: 9px; }
  .hero-copy { padding: 32px 24px; }
  h1 { font-size: 3.25rem; }
  .hero-layout { grid-template-columns: 1.1fr .9fr; }
  .hero-figure img { object-position: 41% 25%; }
  .route-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .route-number { margin-bottom: 14px; }
  .variant-choice { gap: 8px; }
  .variant-choice label { padding: 12px 9px; gap: 7px; }
  .variant-choice label:has(input:checked) { padding: 11px 8px; }
  .variant-choice strong { font-size: .84rem; }
  .variant-choice small { font-size: .72rem; }
  .photo-text { grid-template-columns: 1fr; }
  .photo-text .photo-card { max-width: 700px; }
  .three-grid { gap: 16px; }
  .note-grid { gap: 10px; }
  .note-card { padding: 20px 12px; }
  .fingering-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .finger { width: 31px; height: 31px; font-size: .65rem; }
  .note-title > span { font-size: .57rem; }
  .hold-layout { gap: 24px; grid-template-columns: .85fr 1.15fr; }
  .hold-points p { font-size: .91rem; }
  .chapter-end { flex-wrap: wrap; }
}
@media (max-width: 900px) {
  .topbar { padding: 0 20px; height: 70px; gap: 14px; }
  .edition { display: none; }
  .brand { margin-right: auto; }
  .contents-toggle { display: inline-block; }
  .workspace { display: block; padding: 18px 20px 102px; max-width: 800px; }
  .sidebar { display: none; }
  .chapter { padding: 34px; }
  .hero-page { padding: 0; }
  .chapter-pager { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; padding: 8px 20px calc(8px + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; border-top: 1px solid #d3d7cb; background: #fffefaf5; box-shadow: 0 -7px 25px #1e33200c; }
  .chapter-pager button { border: 1px solid #cdd4c7; background: #f4f5ed; border-radius: 50%; width: 45px; height: 45px; color: var(--ink); font-size: 1.3rem; }
  .chapter-pager button:disabled { opacity: .35; cursor: default; }
  .chapter-pager div { text-align: center; }
  .chapter-pager span, .chapter-pager strong { display: block; line-height: 1.4; }
  .chapter-pager span { font-size: .69rem; color: var(--muted); letter-spacing: .13em; }
  .chapter-pager strong { font-size: .92rem; }
  .manual-footer { font-size: .72rem; }
  .js-ready .chapter-pager { display: flex; }
  body:not(.js-ready) .chapter-pager, body:not(.js-ready) .quiet-button { display: none; }
  [id] { scroll-margin-top: 89px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; line-height: 1.7; }
  .topbar { padding: 0 14px; gap: 9px; }
  .brand { gap: 9px; }
  .brand-mark { font-size: .91rem; padding: 6px 7px; }
  .brand strong { font-size: .95rem; }
  .brand small { font-size: .56rem; }
  .quiet-button { font-size: .8rem; padding: 8px 10px; }
  .quiet-button span { display: none; }
  .workspace { padding: 12px 10px 98px; }
  .chapter { padding: 26px 20px; border-radius: 7px; margin-bottom: 18px; }
  .hero-page { padding: 0; }
  .hero-layout { display: block; }
  .hero-copy { padding: 31px 25px 27px; }
  h1 { font-size: clamp(2.95rem,12.2vw,3.8rem); }
  h2 { font-size: 2.85rem; }
  .lede { font-size: 1.07rem; }
  .eyebrow, .chapter-head > .eyebrow { font-size: .96rem; letter-spacing: .06em; }
  .hero-copy .eyebrow { font-size: .84rem; }
  .hero-copy .button { width: 100%; }
  .hero-copy .subtle-link { text-align: center; }
  .hero-figure { height: 330px; }
  .hero-figure img { height: 330px; object-fit: cover; object-position: 50% 24%; }
  .hero-figure figcaption { bottom: 14px; left: auto; right: 14px; }
  .hero-page > :not(.hero-layout) { margin-left: 22px; margin-right: 22px; }
  .first-visit { padding-top: 12px; }
  .section-heading { gap: 11px; }
  .section-heading .step-number { width: 30px; height: 30px; }
  .section-heading .eyebrow { font-size: .73rem; }
  .small-heading { font-size: 1.9rem; }
  .variant-choice { grid-template-columns: 1fr; gap: 9px; }
  .variant-choice label { padding: 13px 14px; gap: 13px; }
  .variant-choice label:has(input:checked) { padding: 12px 13px; }
  .variant-choice label > span { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; }
  .variant-choice strong { font-size: .97rem; }
  .variant-choice small { font-size: .8rem; }
  .route-grid { gap: 10px; }
  .route-grid > a { padding: 15px 12px; }
  .route-grid h3 { font-size: 1rem; }
  .route-grid p { font-size: .82rem; }
  .route-number { margin-bottom: 13px; }
  .route-arrow { line-height: 1; }
  .callout { padding: 18px; }
  .two-grid, .three-grid, .hold-layout, .note-grid, .tuning-pair { grid-template-columns: 1fr; gap: 17px; }
  .fingering-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .three-grid.part-cards { gap: 10px; }
  .part-cards article { position: relative; padding-left: 44px; border-bottom: 1px solid var(--line); }
  .part-cards .step-number { position: absolute; left: 0; top: 0; }
  .parts-figure figcaption { display: flex; flex-direction: column; gap: 5px; padding: 14px; font-size: .85rem; }
  .parts-hotspots .part-trigger { padding: 6px 5px; font-size: .58rem; letter-spacing: .03em; }
  .parts-hotspots .head-label { left: 1%; }
  .parts-hotspots .body-label { left: 34%; }
  .parts-hotspots .foot-label { left: 69%; }
  .parts-selection-status { padding: 9px 14px 12px; font-size: .82rem; }
  .focus-head { left: 1.5%; width: 25%; }
  .focus-body { left: 28%; width: 43%; }
  .focus-foot { left: 74%; width: 24%; }
  .goal-box { padding: 24px; margin: 24px 0; }
  .goal-box h3 { font-size: 1.55rem; }
  .goal-label { font-size: .8rem; }
  .goal-box p { font-size: .98rem; }
  .local-nav { gap: 7px; }
  .local-nav a { font-size: .84rem; padding: 7px 11px; }
  .step-heading { gap: 12px; }
  .step-heading .step-number { width: 32px; height: 32px; }
  .step-heading h3 { font-size: 1.22rem; }
  .lesson-step { margin-top: 28px; }
  .cue-grid article { padding: 19px 20px 6px; }
  .reset-panel { padding: 23px 20px; }
  .session-check { padding: 15px; font-size: .93rem; }
  .chapter-end { margin-top: 28px; gap: 17px; }
  .chapter-end .button { width: 100%; }
  .glossary { grid-template-columns: 1fr; gap: 5px; }
  .glossary dd { margin-bottom: 12px; }
  details { padding: 0 17px; }
  summary { font-size: .98rem; }
  .diagram figcaption { padding: 13px 15px; }
  .posture-photo img { max-height: 600px; object-fit: contain; }
  .hold-points article { padding-left: 43px; position: relative; }
  .hold-points .step-number { position: absolute; left: 0; }
  .hold-points p { font-size: 1rem; }
  .finger-row { justify-content: flex-start; gap: 15px; }
  .finger { width: 43px; height: 43px; font-size: .8rem; }
  .note-card, .note-card:first-child { padding: 25px; }
  .note-card > p { min-height: 0; font-size: .97rem; }
  .note-title { align-items: center; }
  .note-title h3 { font-size: 4.3rem; }
  .note-title > span { font-size: .78rem; max-width: 130px; }
  .thumb-chip { font-size: .88rem; }
  .note-card .note-instruction { font-size: .95rem; }
  .variant-tip { padding: 19px; }
  .full-fingering { margin-top: 33px; }
  .fingering-key-map { display: grid; grid-template-columns: 1fr; gap: 7px; }
  .fingering-key-map span { border-radius: 7px; }
  .fingering-card { padding: 15px 13px 12px; }
  .fingering-note strong { font-size: 1.35rem; }
  .fingering-note span { font-size: .68rem; }
  .fingering-card p { font-size: .84rem; }
  .session-finish { padding: 22px 18px; }
  .model-comparison > article { padding: 22px; }
  .symptom-links { gap: 8px; }
  .symptom-links a { font-size: .86rem; padding: 8px 13px; }
  .manual-footer { padding: 5px 6px 15px; gap: 6px 18px; }
  .manual-footer > span:last-child { flex-basis: 100%; }
  dialog { padding: 21px; }
  .dialog-head h2 { font-size: 1.8rem; }
  .diagram { margin: 20px -7px; }
}
@media (max-width: 360px) {
  .brand small { display: none; }
  .brand-mark { font-size: .8rem; }
  .topbar { gap: 7px; padding: 0 10px; }
  .quiet-button { padding: 7px 8px; }
  .route-grid { grid-template-columns: 1fr; }
  .variant-choice label > span { flex-wrap: wrap; gap: 0; }
  .variant-choice small { width: 100%; }
  .finger-row { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media print {
  @page { size: A4; margin: 16mm; }
  body { background: white; font-size: 10.5pt; line-height: 1.55; }
  .topbar, .sidebar, .chapter-pager, .local-nav, .chapter-end, .symptom-links, .manual-footer, dialog, .variant-choice, .text-button, .session-check, .skip-link, .noscript-notice, .enlarge-button { display: none !important; }
  .workspace { display: block; padding: 0; max-width: none; }
  .chapter, .js-ready .chapter:not(.is-active) { display: block !important; margin: 0; padding: 0; border: 0; border-radius: 0; break-before: page; }
  .chapter:first-child { break-before: auto; }
  .hero-page > :not(.hero-layout) { margin-left: 0; margin-right: 0; }
  .hero-layout { display: grid; grid-template-columns: 1fr .6fr; }
  .hero-copy { padding: 20px 0; }
  .hero-figure { height: 95mm; }
  .hero-figure img { object-fit: contain; height: 95mm; }
  h1, h2 { font-size: 30pt; }
  h3 { font-size: 14pt; }
  h4 { font-size: 12pt; }
  .eyebrow, .chapter-head > .eyebrow { font-size: 11pt; }
  .lede { font-size: 12pt; }
  .goal-box { background: #eff4ed; color: var(--ink); border: 1px solid #71836e; padding: 18px; }
  .goal-box p, .goal-label { color: var(--ink); }
  .goal-box h3 { font-size: 17pt; }
  .three-grid, .note-grid { grid-template-columns: repeat(3,1fr); }
  .two-grid, .tuning-pair { grid-template-columns: 1fr 1fr; }
  .diagram, .photo-card, .note-card, .callout, .goal-box, .lesson-step > .step-heading, .part-cards article { break-inside: avoid; }
  .diagram img { max-height: 90mm; object-fit: contain; }
  .parts-visual > img { max-height: 110mm; object-fit: contain; }
  .hold-layout { grid-template-columns: .65fr 1fr; }
  .posture-photo img { max-height: 145mm; }
  .photo-text { grid-template-columns: .8fr 1fr; }
  .note-card > p { min-height: 0; }
  .finger { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  a { color: inherit; }
  details { margin: 12px 0; }
  details::details-content { display: block; content-visibility: visible; }
  .route-grid { grid-template-columns: repeat(4,1fr); }
  .first-visit { padding: 15px 0; }
  .image-fallback button { display: none; }
}

/* R14 interaction and beginner-reading fixes. */
#parts .landmark-hit-layer { pointer-events: auto; }
#parts .landmark-hotspot { fill: rgba(255, 255, 255, .002); pointer-events: all; }
#parts .landmark-hotspot.hotspot-embouchure { fill: rgba(8, 120, 170, .002); }
#parts .landmark-hotspot:focus-visible { stroke: #f0a51a; stroke-width: 7; vector-effect: non-scaling-stroke; }

.troubleshooting-launchers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 14px 0 16px; }
.troubleshooting-launcher { min-height: 48px; padding: 10px 13px; border: 1px solid #b8c7bd; border-radius: 7px; background: #fff; color: var(--ink); font: 750 .9rem/1.3 var(--sans); text-align: left; cursor: pointer; }
.troubleshooting-launcher:hover { border-color: #176b44; background: #f2f8f3; }
.troubleshooting-launcher.is-active { border-color: #176b44; background: #eaf5ed; box-shadow: inset 4px 0 #176b44; }
.troubleshooting-launcher:focus-visible { outline: 3px solid #f0a51a; outline-offset: 2px; }
.js-ready #troubleshooting .troubleshooting-card > summary { display: none; }
.js-ready #troubleshooting .troubleshooting-card { margin-top: 0; }
.js-ready #troubleshooting .troubleshooting-card[open] { margin: 0 0 14px; }
.js-ready #troubleshooting .troubleshooting-card:not([open]) { padding-top: 0; padding-bottom: 0; border: 0; }

.open-hole-seal-card > img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: center; }
.open-hole-key-reference { max-width: 980px; margin-inline: auto; }

@media (max-width: 600px) {
  #parts .landmark-hit-layer { display: none; }
  .troubleshooting-launchers { grid-template-columns: 1fr; }
  .troubleshooting-launcher { font-size: .95rem; }
  .open-hole-seal-card > img { aspect-ratio: 4 / 3; }
}

@media print {
  .troubleshooting-launchers { display: none !important; }
  .js-ready #troubleshooting .troubleshooting-card > summary { display: list-item; }
  .js-ready #troubleshooting .troubleshooting-card { padding: 0 17px; border: 1px solid var(--line); }
}

/* v2 beginner-first layout */
.chapter-head { max-width: 920px; }
.chapter-head > .eyebrow, .first-visit .eyebrow, .beginner-flow > .eyebrow { font-size: 1.18rem; }
.beginner-flow { padding-top: 12px; }
.route-grid-six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.route-grid-six > a { min-height: 205px; }
.parts-figure, .photo-card, .diagram { box-shadow: 0 10px 24px rgba(28, 39, 32, .045); }
.parts-figure figcaption { font-size: .98rem; }
.four-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin: 25px 0 30px; }
.four-card-grid > article { min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 21px 18px 12px; background: #fbfbf8; }
.four-card-grid h3, .four-card-grid h4 { font-size: 1.08rem; }
.four-card-grid p { font-size: .91rem; color: var(--muted); }
.anatomy-cards > article { border-top: 4px solid #6f9277; }
.maintenance-cards > article { background: #f7f9f3; border-top: 4px solid #6f9277; }
.preparation-grid { align-items: stretch; }
.checklist-card { border: 1px solid var(--line); border-radius: 9px; background: #f7f9f3; padding: 24px 27px 12px; }
.checklist-card h3 { font-size: 1.55rem; }
.checklist-card .simple-steps li { margin-bottom: 15px; }
.link-cards { margin: 27px 0; }
.link-cards .callout { margin: 0; text-decoration: none; color: var(--ink); }
.link-cards .callout:hover { color: var(--ink); transform: translateY(-2px); }
.maintenance-hero { margin: 24px 0 30px; }
.maintenance-hero img { width: 100%; max-height: 560px; object-fit: cover; object-position: center; }
.assembly-step .photo-card img { aspect-ratio: 1.5; object-fit: cover; }
.alignment-diagram img { background: #f8f7f1; }
.goal-box.compact { padding-top: 25px; padding-bottom: 25px; }
.goal-box.compact h3 { font-size: 1.52rem; }
.pain-point-table { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin: 25px 0 5px; }
.pain-point-table > div { display: grid; grid-template-columns: minmax(150px, .7fr) minmax(0, 1.3fr); gap: 20px; padding: 15px 18px; border-top: 1px solid var(--line); }
.pain-point-table > div:first-child { border-top: 0; background: #1b2020; color: white; font-size: .88rem; }
.pain-point-table > div:nth-child(even) { background: #fafaf7; }
.pain-point-table span:last-child { color: var(--muted); }
.pain-point-table span { font-size: .92rem; }
.chapter#troubleshooting details { scroll-margin-top: 112px; }
.chapter#reference details { scroll-margin-top: 112px; }
.chapter#first-sound-guide .cue-grid { margin-top: 20px; }
.chapter#first-sound-guide .cue-grid h4 { font-size: 1.12rem; }
.chapter#first-sound-guide .photo-card figcaption, .chapter#assembly .photo-card figcaption { font-weight: 650; color: #46564b; }
.chapter#first-sound-guide .mini-label, .chapter#assembly .mini-label, .chapter#care-after .mini-label { font-size: .94rem; }
.session-check { min-height: 61px; }

@media (max-width: 980px) {
  .route-grid-six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .four-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .four-card-grid > article { min-height: 150px; }
}

@media (max-width: 600px) {
  .chapter-head > .eyebrow, .first-visit .eyebrow, .beginner-flow > .eyebrow { font-size: 1rem; }
  .route-grid-six { grid-template-columns: 1fr; }
  .route-grid-six > a { min-height: 0; }
  .four-card-grid { grid-template-columns: 1fr; }
  .four-card-grid > article { min-height: 0; }
  .checklist-card { padding: 21px 19px 8px; }
  .pain-point-table > div { grid-template-columns: 1fr; gap: 4px; padding: 14px 15px; }
  .maintenance-hero img { max-height: 300px; object-fit: cover; }
  .finger-row { justify-content: flex-start; flex-wrap: wrap; gap: 9px; }
}

@media print {
  .route-grid-six { grid-template-columns: repeat(3, 1fr); }
  .four-card-grid { grid-template-columns: repeat(4, 1fr); }
  .maintenance-hero img { max-height: 85mm; }
  .pain-point-table > div { grid-template-columns: .7fr 1.3fr; }
}

/* v4 instructional quality pass */
.first-day-card, .first-day-sequence, .beginner-fingering-guide, .known-note, .conditional-service { border: 1px solid #cbd8c8; border-radius: 9px; background: #f7f9f3; }
.first-day-card { padding: 23px 25px 19px; margin: 27px 0 8px; }
.first-day-card h3, .first-day-sequence h3 { font-size: 1.45rem; margin-bottom: 8px; }
.first-day-card p:last-of-type { margin-bottom: 0; }
.first-day-card .subtle-link { color: var(--green); font-weight: 700; }
.component-check { display: grid; grid-template-columns: minmax(190px, .38fr) minmax(0, 1fr); gap: 22px; align-items: start; margin: 30px 0; }
.component-check > div { padding-top: 18px; }
.component-check h3 { font-size: 1.45rem; }
.component-check .diagram { margin: 0; }
.action-summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 13px 15px; align-items: center; margin: 26px 0 30px; padding: 21px 23px; border: 1px solid #cbd8c8; border-radius: 9px; background: #f7f9f3; }
.action-summary p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.action-summary .step-number { width: 34px; height: 34px; }
.known-note { padding: 24px 27px 20px; margin: 25px 0 30px; border-left: 5px solid var(--green); }
.known-note-title { display: flex; gap: 15px; align-items: flex-start; }
.known-note-title .step-number { font-size: 1.1rem; }
.known-note-title h3 { margin: 0; font-size: 1.55rem; }
.known-note-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin: 19px 0; }
.known-note-grid span { display: block; padding: 13px 14px; border-radius: 7px; background: white; border: 1px solid #dce5d8; font-size: .88rem; }
.known-note-grid strong { color: var(--green); }
.embouchure-check-figure { margin-top: 29px; }
.embouchure-check-figure img { aspect-ratio: 3 / 2; object-fit: cover; }
.embouchure-check-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin: 18px 0 30px; }
.check-card { min-width: 0; padding: 18px 18px 10px; border: 1px solid var(--line); border-top: 4px solid #6f9277; border-radius: 8px; background: #fbfbf8; }
.check-card.warning { border-top-color: #ad6f27; background: #fff9f0; }
.check-card h4 { font-size: 1.03rem; }
.check-card p { font-size: .9rem; color: var(--muted); }
.first-day-sequence { padding: 22px 25px 16px; margin: 28px 0; }
.sequence-list { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 11px; list-style: none; padding: 0; margin: 15px 0 0; counter-reset: sequence; }
.sequence-list li { counter-increment: sequence; position: relative; min-height: 96px; padding: 36px 14px 12px; border: 1px solid #dce5d8; border-radius: 7px; background: white; font-size: .9rem; }
.sequence-list li::before { content: counter(sequence, decimal-leading-zero); position: absolute; top: 11px; left: 14px; color: var(--neutral); font-size: .75rem; font-weight: 800; }
.beginner-fingering-guide { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; padding: 23px; margin: 24px 0 27px; align-items: start; }
.beginner-fingering-guide h3 { font: 400 2.8rem/1 var(--serif); letter-spacing: -.04em; margin: 4px 0 12px; }
.beginner-fingering-guide .diagram { margin: 0; }
.beginner-fingering-guide .diagram figcaption { padding: 10px 14px; font-size: .8rem; }
.full-fingering { margin-top: 32px; padding: 0 22px; }
.full-fingering > summary { display: block; padding: 20px 4px; }
.full-fingering > summary .eyebrow, .full-fingering > summary strong, .full-fingering > summary small { display: block; }
.full-fingering > summary .eyebrow { margin-bottom: 5px; font-size: .83rem; }
.full-fingering > summary strong { font: 400 1.9rem/1.15 var(--serif); letter-spacing: -.03em; }
.full-fingering > summary small { margin-top: 7px; color: var(--muted); font-size: .88rem; }
.full-fingering[open] > summary { margin-bottom: 18px; }
.conditional-service { padding: 22px 25px 14px; border-left: 5px solid #ad6f27; background: #fff9f0; }
.conditional-service h4 { font-size: 1.23rem; }
.conditional-service .simple-steps { margin-bottom: 0; }
.tuning-self-check, .action-check { padding: 14px 16px; border-radius: 7px; background: #f7f9f3; border: 1px solid #dce5d8; font-size: .93rem; }
.hand-support-figure img { aspect-ratio: 2.5 / 1; object-fit: cover; }
.case-storage-figure img { aspect-ratio: 1.5 / 1; object-fit: cover; }
.troubleshooting-figure img { background: #f7f5ef; }
.component-map-figure { margin-top: 28px; }
.component-map-figure img, .tone-quality-figure img, .mechanism-check .diagram img { background: #f7f5ef; }
.tone-quality-figure { margin-top: 30px; }
.tone-quality-check { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin: 18px 0 30px; }
.tone-quality-check .callout { margin: 0; }
.mechanism-check { margin-top: 30px; }

@media (max-width: 980px) {
  .component-check { grid-template-columns: 1fr; }
  .component-check > div { padding-top: 0; }
  .embouchure-check-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sequence-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .known-note-grid { grid-template-columns: 1fr; }
  .tone-quality-check { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .action-summary { grid-template-columns: auto minmax(0,1fr); }
  .action-summary .step-number:nth-of-type(3) { grid-column: 1; }
  .known-note { padding: 20px 18px 16px; }
  .known-note-title h3 { font-size: 1.3rem; }
  .embouchure-check-grid { grid-template-columns: 1fr; }
  .sequence-list { grid-template-columns: 1fr; }
  .beginner-fingering-guide { grid-template-columns: 1fr; padding: 18px; }
  .beginner-fingering-guide h3 { font-size: 2.45rem; }
  .full-fingering { padding: 0 15px; }
  .full-fingering > summary strong { font-size: 1.55rem; }
  .maintenance-hero img, .hand-support-figure img, .case-storage-figure img { aspect-ratio: auto; height: auto; object-fit: contain; }
  .component-map-figure img, .tone-quality-figure img, .mechanism-check .diagram img { min-height: 0; }
}

@media print {
  .full-fingering { display: block; padding: 0; }
  .full-fingering > summary { display: none; }
  .known-note, .first-day-card, .first-day-sequence, .beginner-fingering-guide, .conditional-service { break-inside: avoid; }
  .sequence-list { grid-template-columns: repeat(4, 1fr); }
  .embouchure-check-grid { grid-template-columns: repeat(4, 1fr); }
}

.teaching-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; margin: 25px 0; }
.teaching-detail { width: 100%; max-width: 360px; margin: 0 auto; }
.teaching-detail img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.photo-card.teaching-detail { max-width: none; }
.alignment-photo img { aspect-ratio: auto; object-fit: contain; }
.alignment-map-mobile { display: none; }
.component-map-figure, .component-check .diagram, .beginner-fingering-guide .diagram, .mechanism-check .diagram { max-width: 360px; width: 100%; margin-inline: auto; }
.component-map-figure { max-width: 760px; }
.component-check .diagram { max-width: 680px; }
.component-map-figure img, .component-check .diagram img, .beginner-fingering-guide .diagram img, .mechanism-check .diagram img { height: auto; aspect-ratio: auto; object-fit: contain; }
.hand-support-figure img, .maintenance-hero img { aspect-ratio: auto; height: auto; object-fit: contain; }
.embouchure-portraits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 24px 0; }
.embouchure-tile { min-width: 0; margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.embouchure-panel { position: relative; overflow: hidden; aspect-ratio: 1; }
.embouchure-panel img { position: absolute; width: 300%; max-width: none; height: 200%; object-fit: fill; }
.embouchure-tile figcaption { display: block; padding: 16px; }
.embouchure-tile h4 { font-size: 1.05rem; margin: 0 0 8px; }
.embouchure-tile p { font-size: .95rem; margin: 0; }
.tone-result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 28px 0; }
.tone-result-grid .callout { margin: 0; }
.tone-result-grid h4 { font-size: 1.15rem; }
.diagnostic-path { border: 1px solid var(--line); border-left: 5px solid var(--red); border-radius: 10px; padding: 24px; margin: 26px 0; background: #fffdf8; }
.diagnostic-path li + li { margin-top: 20px; }
.diagnostic-path a { text-decoration: underline; text-underline-offset: 3px; }
.key-state-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; margin: 14px 0; }
.key-state { border: 1px solid #778b86; border-radius: 5px; text-align: center; padding: 5px 2px; font-size: .8rem; color: #3c5551; background: #fff; }
.key-state b { display: block; font-size: 1.15rem; line-height: 1.3; }
.key-state.is-pressed { background: #146950; color: #fff; border-color: #146950; }
.key-release-warning { padding: 8px; background: #fff2df; border-left: 3px solid #916221; }
.alternate-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin: 20px 0; }
.alternate-card { min-width: 0; padding: 16px; border: 1px solid #b4c2bd; border-radius: 8px; background: #edf0eb; }
.alternate-card h4 { font-size: 1.1rem; margin-bottom: 12px; }
.alternate-card p { margin: 10px 0; }
#pad-care > .two-grid.photo-text { display: block; }
.pad-sequence { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 25px; }

@media (max-width: 700px) {
  .teaching-grid, .tone-result-grid, .alternate-grid, .pad-sequence { grid-template-columns: 1fr; }
  .embouchure-portraits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diagnostic-path { padding: 18px 16px; }
}
@media (max-width: 460px) {
  .embouchure-portraits { grid-template-columns: 1fr; }
  .fingering-grid { grid-template-columns: 1fr; }
}
@media print {
  .embouchure-portraits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .embouchure-tile, .teaching-detail, .alternate-card, .fingering-card { break-inside: avoid; }
  .key-state.is-pressed { background: #146950 !important; color: #fff !important; print-color-adjust: exact; }
}

.finger-tool-shortcut {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 16px 0 22px;
  padding: 11px 13px;
  border: 1px solid #b9d8c5;
  border-radius: 8px;
  background: #edf8f0;
  color: #176f4e;
  font-size: .82rem;
  font-weight: 850;
  text-decoration: none;
}
.finger-tool-shortcut:hover, .finger-tool-shortcut:focus-visible { border-color: #176f4e; background: #e2f3e8; }
.finger-shortcut-icon { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #176f4e; color: #fff; font-size: .95rem; }
.interactive-fingering { margin: 28px 0 32px; padding: 23px; border: 1px solid #c7ddd0; border-radius: 12px; background: #f6faf6; }
.interactive-fingering-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.interactive-fingering-heading > div { max-width: 680px; }
.interactive-fingering-heading h3 { margin: 4px 0 8px; font: 400 clamp(1.55rem, 3vw, 2.25rem)/1.05 var(--serif); letter-spacing: -.035em; }
.interactive-fingering-heading p { margin: 0; color: #4e635c; font-size: .91rem; line-height: 1.55; }
.interactive-note-select { display: grid; gap: 6px; min-width: 170px; color: #315344; font-size: .72rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.interactive-note-select select { min-height: 42px; padding: 8px 32px 8px 11px; border: 1px solid #aac8b7; border-radius: 7px; background: #fff; color: #18372d; font-size: .95rem; font-weight: 750; }
.interactive-fingering-registers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; margin-bottom: 20px; }
.interactive-register-group { min-width: 0; padding: 12px; border: 1px solid #d5e4da; border-radius: 9px; background: #fff; }
.interactive-register-group h4 { margin: 0 0 9px; color: #536960; font-size: .7rem; line-height: 1.25; letter-spacing: .06em; text-transform: uppercase; }
.interactive-note-buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.interactive-note-button { display: grid; min-width: 49px; padding: 7px 6px 6px; border: 1px solid #c8d9cf; border-radius: 7px; background: #f8fbf8; color: #193b30; text-align: center; cursor: pointer; }
.interactive-note-button:hover, .interactive-note-button:focus-visible { border-color: #18774b; outline: 3px solid #bce6c9; outline-offset: 1px; }
.interactive-note-button.is-current { border-color: #18774b; background: #eaf7ed; box-shadow: inset 0 0 0 2px #d2eed9; }
.interactive-note-button strong { font: 750 .94rem/1 var(--sans); }
.interactive-note-button small { margin-top: 3px; color: #647770; font-size: .61rem; line-height: 1.1; }
.interactive-fingering-result { display: grid; grid-template-columns: minmax(0, 1fr); gap: 21px; align-items: start; }
.interactive-fingering-visual { min-width: 0; margin: 0; overflow: hidden; border: 1px solid #d5e2da; border-radius: 9px; background: #fff; }
.interactive-map-stage, .interactive-auxiliary-stage { position: relative; width: 100%; }
.interactive-fingering-visual img { display: block; width: 100%; height: auto; min-height: 0; background: #fff; }
.interactive-map-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.interactive-map-overlay text { font-family: Arial, Helvetica, sans-serif; }
.interactive-map-key.is-press { color: #146a46; }
.interactive-map-key.is-release { color: #246b94; }
.interactive-map-ring { stroke: currentColor; stroke-width: 5; fill: #36a66f; fill-opacity: .32; }
.is-release > .interactive-map-ring { fill: #b7e4ff; fill-opacity: .5; stroke-dasharray: 7 4; }
.interactive-map-leader { fill: none; stroke: currentColor; stroke-width: 2.5; }
.interactive-map-code { fill: #234539; font-size: 32px; font-weight: 800; }
.interactive-map-finger { fill: #425e52; font-size: 26px; }
.interactive-map-badge { fill: #e2f4e9; stroke: currentColor; stroke-width: 1.5; }
.is-release .interactive-map-badge { fill: #edf7fe; }
.interactive-map-state { fill: currentColor; font-size: 23px; font-weight: 800; }
.interactive-map-legend { display: flex; flex-wrap: wrap; gap: 9px 20px; margin: 0 0 13px; font-size: .82rem; }
.interactive-map-legend > span { padding: 7px 10px; border-radius: 5px; background: #e7f5ec; color: #146a46; }
.interactive-map-legend > .release-state { background: #edf7fe; color: #246b94; }
.interactive-map-zoom { display: block; min-height: 44px; margin: 7px 13px; padding: 8px 13px; border: 1px solid #18774b; border-radius: 6px; background: #fff; color: #146a46; font: 750 .83rem var(--sans); cursor: pointer; }
.interactive-map-zoom:focus-visible { outline: 3px solid #e7a620; outline-offset: 3px; }
.interactive-auxiliary-maps { padding: 16px; border: 1px solid #d5e2da; border-radius: 9px; background: #fff; }
.interactive-auxiliary-maps figure { margin: 0; }
.interactive-auxiliary-maps h4 { margin: 0 0 12px; font-size: 1rem; }
.interactive-auxiliary-stage { max-width: 360px; margin-inline: auto; }
.interactive-auxiliary-stage img { display: block; width: 100%; height: auto; }
.interactive-auxiliary-stage .interactive-map-ring { stroke-width: 3; }
.interactive-auxiliary-maps figcaption { padding-top: 12px; }
#interactive-map-dialog { width: min(1500px, calc(100vw - 24px)); max-width: none; padding: 20px; }
.interactive-map-dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.interactive-map-dialog-heading h3 { margin: 0; font-size: 1.25rem; }
.interactive-map-dialog-scroll { overflow: auto; max-height: 70vh; }
.interactive-map-dialog-content { min-width: 1000px; }
.interactive-fingering-visual figcaption { padding: 10px 13px 11px; color: #536960; font-size: .76rem; line-height: 1.45; }
.interactive-fingering-instructions { min-width: 0; padding: 19px 18px; border: 1px solid #d5e4da; border-radius: 9px; background: #fff; }
.interactive-fingering-note-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #e1eae3; }
.interactive-fingering-note-register { grid-column: 1 / -1; color: #647770; font-size: .68rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.interactive-fingering-note-heading h4 { margin: 4px 0 0; font: 400 2.45rem/1 var(--serif); letter-spacing: -.04em; }
.interactive-fingering-note-heading p { margin: 0 0 2px; color: #647770; font-weight: 750; }
.interactive-fingering-status { margin: 15px 0; padding: 11px 12px; border-left: 4px solid #18774b; background: #edf8ef; color: #315344; font-size: .87rem; font-weight: 750; line-height: 1.45; }
.interactive-key-state-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(65px, 1fr)); gap: 7px; margin: 14px 0 18px; }
.interactive-key-state-chip { display: grid; gap: 3px; min-width: 0; padding: 8px 5px 7px; border: 2px solid; border-radius: 7px; text-align: center; }
.interactive-key-state-chip strong { font-size: .86rem; line-height: 1; }
.interactive-key-state-chip small { font-size: .58rem; font-weight: 900; letter-spacing: .05em; line-height: 1; }
.interactive-key-state-chip.is-press { border-color: #18774b; background: #dff3e4; color: #125d3c; }
.interactive-key-state-chip.is-release { border-color: #76afd0; background: #eaf6fc; color: #246180; }
.interactive-state-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.interactive-state-columns h5 { margin: 0 0 9px; color: #176f4e; font-size: .71rem; letter-spacing: .08em; }
.interactive-state-columns > div + div h5 { color: #2d6f98; }
.interactive-state-columns ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.interactive-state-columns li { display: flex; align-items: baseline; gap: 7px; padding: 7px 8px; border-radius: 6px; background: #eef8f0; color: #315344; font-size: .76rem; line-height: 1.25; }
.interactive-state-columns li strong { flex: 0 0 auto; color: #176f4e; font-size: .69rem; }
.interactive-state-columns li span { min-width: 0; }
.interactive-state-columns > div > p { margin: 0; padding: 9px 10px; border-radius: 6px; background: #edf7fc; color: #31566a; font-size: .77rem; line-height: 1.45; }
.interactive-fingering-reminders { margin-top: 17px; padding-top: 13px; border-top: 1px solid #e1eae3; color: #536960; font-size: .77rem; line-height: 1.45; }
.interactive-fingering-reminders p { margin: 0 0 8px; }
.interactive-fingering-reminders p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .interactive-fingering-registers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .interactive-fingering-result { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .finger-tool-shortcut { margin: 12px 0 17px; }
  .interactive-fingering { padding: 16px 13px; }
  .interactive-fingering-heading { display: grid; gap: 14px; }
  .interactive-note-select { min-width: 0; }
  .interactive-fingering-registers { grid-template-columns: 1fr; gap: 8px; }
  .interactive-register-group { padding: 10px; }
  .interactive-note-buttons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .interactive-note-button { min-width: 0; }
  .interactive-fingering-result { gap: 13px; }
  .interactive-fingering-instructions { padding: 16px 13px; }
  .interactive-state-columns { grid-template-columns: 1fr; gap: 13px; }
}
#interactive-fingering { padding: 14px; margin-bottom: 0; }
.interactive-mobile-copy, .interactive-register-switch, .interactive-portrait-overlay, .interactive-portrait-locator { display: none; }
.interactive-map-stage > picture { display: block; width: 100%; height: 100%; }
.interactive-map-stage > picture > img { width: 100%; height: 100%; object-fit: contain; }
.interactive-portrait-locator rect { fill: none; stroke: #896322; stroke-width: 1.5; stroke-dasharray: 4 3; }
.interactive-portrait-code { fill: #234539; font-size: 20px; font-weight: 800; }
.interactive-portrait-state { fill: currentColor; font-size: 15px; font-weight: 700; }
.interactive-portrait-overlay .interactive-map-ring { stroke-width: 2.5; }
.interactive-portrait-overlay .interactive-map-leader { stroke-width: 1.2; }
#interactive-fingering .interactive-fingering { margin: 0; padding: 0; border: 0; background: none; }
#interactive-fingering .interactive-fingering-heading { align-items: center; gap: 12px; margin-bottom: 8px; }
#interactive-fingering .interactive-fingering-heading .mini-label { margin: 0 0 3px; font-size: 10px; line-height: 1.2; }
#interactive-fingering .interactive-fingering-heading h2 { margin: 0; font: 650 clamp(18px, 2.1vw, 25px)/1.15 var(--sans); letter-spacing: -.025em; }
#interactive-fingering .interactive-note-select { min-width: 125px; font-size: 10px; gap: 2px; line-height: 1.2; }
#interactive-fingering .interactive-note-select select { min-width: 0; width: 100%; max-width: 100%; min-height: 32px; padding: 3px 25px 3px 8px; font-size: 13px; }
#interactive-fingering .interactive-fingering-registers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 6px; }
#interactive-fingering .interactive-register-group { padding: 4px; }
#interactive-fingering .interactive-register-group h4 { margin-bottom: 5px; font-size: 10px; letter-spacing: 0; }
#interactive-fingering .interactive-note-buttons { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
#interactive-fingering .interactive-note-button { min-width: 0; min-height: 28px; padding: 4px 2px; align-items: center; }
#interactive-fingering .interactive-note-button strong { font-size: 12px; }
#interactive-fingering .interactive-note-button small { display: none; }
#interactive-fingering .interactive-map-legend { gap: 5px; margin: 0 0 5px; font-size: 11px; line-height: 1.3; }
#interactive-fingering .interactive-map-legend > span { padding: 4px 6px; }
#interactive-fingering .interactive-map-legend > .support-state { color: #52665e; background: #f3f5f3; }
#interactive-fingering .interactive-fingering-result { gap: 7px; }
#interactive-fingering .interactive-fingering-visual { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
#interactive-fingering .interactive-map-stage { grid-column: 1 / -1; aspect-ratio: 1600 / 520; max-height: clamp(160px, calc(100dvh - 450px), 340px); }
#interactive-fingering .interactive-map-stage > img { width: 100%; height: 100%; object-fit: contain; }
#interactive-fingering .interactive-fingering-visual figcaption { grid-column: 1; grid-row: 2; align-self: center; padding: 5px 8px; font-size: 10px; line-height: 1.3; }
#interactive-fingering .interactive-map-zoom { grid-column: 2; grid-row: 2; min-height: 26px; margin: 2px 6px; padding: 2px 7px; font-size: 11px; }
.interactive-locator rect, .interactive-locator path { fill: none; stroke: #896322; stroke-width: 3; stroke-dasharray: 8 5; }
.interactive-locator text { fill: #75531c; font: 700 26px Arial, sans-serif; }
.interactive-detail-row { display: grid; grid-template-columns: minmax(170px, .8fr) minmax(0, 2.2fr); gap: 8px; align-items: start; }
.interactive-detail-row.has-auxiliary { grid-template-columns: minmax(150px, .85fr) minmax(210px, 1.3fr) minmax(180px, 1.2fr); }
.interactive-thumb-figure { min-width: 0; margin: 0; padding: 8px; border: 1px solid #d5e2da; border-radius: 8px; background: #fff; }
.interactive-thumb-figure h4 { margin: 0; font-size: 12px; }
.interactive-thumb-stage { position: relative; width: 100%; max-width: 190px; margin-inline: auto; }
.interactive-thumb-stage img { display: block; width: 100%; height: auto; }
#interactive-fingering .interactive-auxiliary-maps { min-width: 0; padding: 8px; }
#interactive-fingering .interactive-auxiliary-maps h4 { margin-bottom: 3px; font-size: 12px; }
.interactive-auxiliary-action { margin: 0 0 3px; color: #234539; font-size: 11px; font-weight: 700; line-height: 1.3; }
#interactive-fingering .interactive-auxiliary-stage { max-width: 230px; }
#interactive-fingering .interactive-auxiliary-maps figcaption { padding-top: 3px; font-size: 10px; line-height: 1.3; }
#interactive-fingering .interactive-fingering-instructions { padding: 8px; }
#interactive-fingering .interactive-fingering-note-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding: 0; border: 0; }
#interactive-fingering .interactive-fingering-note-heading h4 { order: -1; margin: 0; font-size: 23px; }
#interactive-fingering .interactive-fingering-note-register { font-size: 9px; line-height: 1.25; }
#interactive-fingering .interactive-fingering-note-heading p { margin: 0; font-size: 11px; }
#interactive-fingering .interactive-key-state-grid { grid-template-columns: repeat(auto-fit, minmax(43px, 1fr)); gap: 3px; margin: 5px 0; }
#interactive-fingering .interactive-key-state-chip { padding: 4px 2px; gap: 2px; border-width: 1px; border-radius: 4px; }
#interactive-fingering .interactive-key-state-chip strong { font-size: 11px; }
#interactive-fingering .interactive-key-state-chip small { font-size: 8px; }
#interactive-fingering #interactive-fingering-release { margin: 0; color: #31566a; font-size: 11px; line-height: 1.35; }
#interactive-fingering .interactive-fingering-reminders { margin-top: 6px; padding-top: 5px; font-size: 11px; line-height: 1.35; }
#interactive-fingering .interactive-tool-footer { gap: 8px; margin-top: 7px; padding-top: 6px; font-size: 11px; line-height: 1.3; }
#interactive-fingering .interactive-tool-footer a { min-height: 24px; display: inline-flex; align-items: center; }
.interactive-enlarged-details { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr); gap: 20px; margin-top: 16px; }
.interactive-enlarged-details .interactive-thumb-stage { max-width: 400px; }
#interactive-map-dialog .interactive-enlarged-details .interactive-thumb-stage { max-width: 400px; }
#interactive-map-dialog .interactive-enlarged-details .interactive-auxiliary-stage { max-width: 600px; }
@media screen and (min-width: 901px) {
  .fingering-tool-active .workspace { max-width: 1440px; padding: 12px 20px; grid-template-columns: 184px minmax(0, 1fr); gap: 18px; }
  .fingering-tool-active .sidebar { top: 90px; }
  .fingering-tool-active .finger-tool-shortcut { min-height: 40px; margin: 0 0 8px; padding: 7px 9px; font-size: 12px; }
  .fingering-tool-active .nav-kicker { margin: 4px 0 8px; font-size: 10px; }
  .fingering-tool-active .chapter-links { gap: 0; }
  .fingering-tool-active .chapter-links a { min-height: 28px; padding: 5px 9px; gap: 8px; font-size: 12px; }
  .fingering-tool-active .sidebar-note { display: none; }
  .fingering-tool-active .sidebar > .text-button { min-height: 30px; padding: 5px 9px; font-size: 11px; }
  .fingering-tool-active .offline-status { margin: 5px 9px; font-size: 10px; line-height: 1.3; }
  .fingering-tool-active .quickstart-download { min-height: 48px; margin-top: 6px; padding: 8px; }
  .fingering-tool-active .quickstart-download strong { font-size: 11px; }
  .fingering-tool-active .quickstart-download small { font-size: 9px; }
  .fingering-tool-active .manual-footer { display: none; }
}
@media screen and (min-width: 1200px) {
  #interactive-fingering .interactive-fingering { display: grid; grid-template-columns: 175px minmax(0, 1fr); gap: 0 12px; }
  #interactive-fingering .interactive-fingering-heading { grid-column: 1 / -1; }
  #interactive-fingering .interactive-fingering-registers { grid-column: 1; grid-row: 2 / 4; grid-template-columns: 1fr; align-self: start; margin: 0; }
  #interactive-fingering .interactive-note-buttons { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #interactive-fingering .interactive-map-legend { grid-column: 2; grid-row: 2; }
  #interactive-fingering .interactive-fingering-result { grid-column: 2; grid-row: 3; }
  #interactive-fingering .interactive-fingering-reminders { grid-column: 1 / -1; }
}
@media screen and (min-width: 901px) and (max-height: 820px) {
  #interactive-fingering { padding: 10px; }
  .fingering-tool-active .workspace { padding-block: 8px; }
  #interactive-fingering .interactive-map-stage { max-height: calc(100dvh - 490px); }
  #interactive-fingering:has([data-auxiliary-family="foot"]:not([hidden])) .interactive-map-stage { max-height: calc(100dvh - 502px); }
}
@media screen and (max-width: 900px) {
  #interactive-fingering { padding: 12px; }
  #interactive-fingering .interactive-map-stage { max-height: none; }
  .interactive-detail-row.has-auxiliary { grid-template-columns: minmax(130px, .8fr) minmax(0, 1.2fr); }
  .interactive-detail-row.has-auxiliary .interactive-fingering-instructions { grid-column: 1 / -1; }
}
@media screen and (max-width: 600px) {
  #interactive-fingering .interactive-fingering-heading { grid-template-columns: minmax(0, 1fr) 100px; }
  #interactive-fingering .interactive-note-select { min-width: 0; }
  #interactive-fingering .interactive-fingering-registers { grid-template-columns: 1fr; }
  #interactive-fingering .interactive-register-group { padding: 5px; }
  #interactive-fingering .interactive-note-button { min-height: 32px; }
  .interactive-detail-row, .interactive-detail-row.has-auxiliary { grid-template-columns: minmax(0, 1fr); }
  .interactive-thumb-stage { max-width: 220px; }
  #interactive-fingering .interactive-auxiliary-stage { max-width: 420px; }
  .fingering-tool-active .workspace { padding: 6px 6px calc(48px + env(safe-area-inset-bottom)); }
  .fingering-tool-active .manual-footer { display: none; }
  .fingering-tool-active .chapter-pager { padding: 5px 12px calc(5px + env(safe-area-inset-bottom)); }
  .fingering-tool-active .chapter-pager button { width: 36px; height: 36px; }
  .fingering-tool-active .chapter-pager span { font-size: 9px; }
  .fingering-tool-active .chapter-pager strong { font-size: 12px; }
  #interactive-fingering { padding: 7px; }
  #interactive-fingering .interactive-desktop-copy { display: none; }
  #interactive-fingering .interactive-mobile-copy { display: inline; }
  #interactive-fingering .interactive-fingering-heading { margin-bottom: 5px; gap: 6px; grid-template-columns: minmax(0, 1fr) 104px; }
  #interactive-fingering .interactive-fingering-heading h2 { font-size: 18px; }
  #interactive-fingering .interactive-fingering-heading .mini-label { font-size: 8px; letter-spacing: 0; }
  #interactive-fingering .interactive-register-switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-bottom: 4px; }
  .interactive-register-switch button { min-width: 0; min-height: 30px; padding: 4px 2px; color: #315344; background: #f5f9f6; border: 1px solid #c8d9cf; border-radius: 5px; font-size: 11px; line-height: 1.2; }
  .interactive-register-switch button[aria-pressed="true"] { background: #e2f4e9; border-color: #18774b; box-shadow: inset 0 0 0 1px #18774b; font-weight: 750; }
  #interactive-fingering .interactive-fingering-registers { margin-bottom: 4px; }
  #interactive-fingering .interactive-register-group { padding: 0; border: 0; background: none; }
  #interactive-fingering .interactive-register-group:not(.is-selected-register), #interactive-fingering .interactive-register-group h4 { display: none; }
  #interactive-fingering .interactive-note-buttons { gap: 4px; }
  #interactive-fingering .interactive-note-button { min-height: 32px; padding: 4px 1px; }
  #interactive-fingering .interactive-map-legend { gap: 4px; font-size: 10px; }
  #interactive-fingering .interactive-map-legend > span { padding: 3px 4px; }
  #interactive-fingering .interactive-map-legend .support-state { display: none; }
  #interactive-fingering .interactive-fingering-result { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5px; align-items: start; }
  #interactive-fingering .interactive-map-stage:not(.interactive-enlarged-stage) { aspect-ratio: 240 / 560; height: clamp(280px, calc(100dvh - 480px), 410px); max-height: none; }
  #interactive-fingering .interactive-map-stage:not(.interactive-enlarged-stage) > #interactive-fingering-overlay,
  #interactive-fingering .interactive-map-stage:not(.interactive-enlarged-stage) > .interactive-locator { display: none; }
  #interactive-fingering .interactive-map-stage:not(.interactive-enlarged-stage) > .interactive-portrait-overlay,
  #interactive-fingering .interactive-map-stage:not(.interactive-enlarged-stage) > .interactive-portrait-locator { display: block; }
  #interactive-fingering .interactive-fingering-visual figcaption { grid-row: 2; padding: 3px; font-size: 9px; text-align: center; }
  #interactive-fingering .interactive-map-zoom { grid-column: 1; grid-row: 3; margin: 0 3px 3px; padding: 3px; min-height: 28px; font-size: 10px; }
  #interactive-fingering .interactive-fingering-visual { grid-template-columns: minmax(0, 1fr); }
  #interactive-fingering .interactive-detail-row, #interactive-fingering .interactive-detail-row.has-auxiliary { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  #interactive-fingering .interactive-thumb-figure, #interactive-fingering .interactive-auxiliary-maps { padding: 4px; }
  #interactive-fingering .interactive-thumb-figure h4, #interactive-fingering .interactive-auxiliary-maps h4 { font-size: 11px; line-height: 1.2; }
  #interactive-fingering .interactive-thumb-stage { max-width: 125px; }
  #interactive-fingering .interactive-auxiliary-stage { max-width: 125px; }
  #interactive-fingering [data-auxiliary-family="trill"] .interactive-auxiliary-stage { max-width: 100%; }
  #interactive-fingering .interactive-auxiliary-action { font-size: 10px; line-height: 1.3; }
  #interactive-fingering .interactive-auxiliary-maps figcaption { padding-top: 2px; font-size: 10px; line-height: 1.25; }
  #interactive-fingering .interactive-fingering-instructions { display: none; }
  #interactive-fingering .interactive-fingering-reminders { font-size: 10px; line-height: 1.3; margin-top: 4px; padding-top: 4px; }
  #interactive-fingering .interactive-tool-footer { margin-top: 4px; padding-top: 4px; gap: 4px; font-size: 10px; }
  #interactive-fingering .interactive-tool-footer a { min-height: 24px; }
}
@media screen and (max-width: 600px) and (max-height: 760px) {
  #interactive-fingering .interactive-thumb-stage,
  #interactive-fingering [data-auxiliary-family="foot"] .interactive-auxiliary-stage { max-width: 112px; }
}
@media screen and (max-width: 600px) and (max-height: 700px) {
  #interactive-fingering .interactive-register-switch, #interactive-fingering .interactive-fingering-registers { display: none; }
  .fingering-tool-active .workspace { padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
}
@media print {
  .finger-tool-shortcut { display: none; }
  .interactive-fingering { break-inside: avoid; }
  .interactive-fingering-registers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .interactive-fingering-result { grid-template-columns: minmax(0, 1fr); }
  .interactive-map-zoom, #interactive-map-dialog { display: none !important; }
}

/* v7 teaching corrections: keep state labels and maps readable at every width. */
.callout.warning { background: #fff0ef; border-color: #c63d35; color: #45211f; }
.callout.warning strong { color: #a52d29; }
.key-type-visuals { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(260px,.82fr); gap: 22px; align-items: start; margin: 24px 0 10px; }
.key-type-visuals .photo-card, .key-type-visuals .diagram { margin: 0; }
.key-type-visuals .photo-card img { aspect-ratio: 3 / 2; object-fit: contain; background: #fff; }
.key-type-visuals .key-type-diagram { max-width: none; }
.key-type-visuals .key-type-diagram img { min-height: 230px; }
.anatomy-cards article { display: flex; flex-direction: column; }
.anatomy-cards article img { width: 100%; height: 122px; object-fit: contain; background: #f7f5ef; border-radius: 6px; margin: -2px 0 12px; }
.component-map-figure { max-width: 520px; }
.prep-check-strip { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0 18px; }
.prep-check-strip span { padding: 6px 9px; border-radius: 999px; background: #edf3ea; color: #2e5d43; border: 1px solid #cbdcc9; font-size: .76rem; font-weight: 750; }
.reset-visual { max-width: 720px; margin: 18px 0 0; }
.reset-visual img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.joint-cautions { margin-top: 24px; }
.annotated-hold-image { position: relative; overflow: hidden; }
.annotated-hold-image img { display: block; width: 100%; }
.hold-label { position: absolute; z-index: 2; padding: 7px 10px; border-radius: 5px; background: #fffef4ed; color: #1d4d3b; border: 2px solid #18774b; font-size: clamp(.63rem,1.3vw,.88rem); font-weight: 800; box-shadow: 0 2px 8px #1b302333; }
.hold-1 { left: 5%; top: 12%; }
.hold-2 { right: 6%; top: 12%; }
.hold-3 { left: 5%; bottom: 10%; }
.hold-4 { right: 6%; bottom: 10%; }
.hand-support-figure figcaption { font-size: 1.05rem; line-height: 1.55; }
.key-map-figure, .first-sound-key-map { max-width: 980px; margin: 26px auto; }
.key-map-figure img, .first-sound-key-map img { width: 100%; height: auto; background: #fbfaf7; }
.map-mobile { display: none !important; }
.b4-photo { max-width: 880px; margin: 24px auto; }
.b4-photo img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.first-sound-key-map { max-width: 900px; }
.state-label, .image-state { position: absolute; z-index: 2; padding: 6px 9px; border-radius: 4px; color: #fff; font-size: .7rem; font-weight: 850; letter-spacing: .08em; }
.state-label { top: 9px; left: 9px; }
.correct .state-label, .correct-state { background: #18774b; }
.incorrect .state-label, .wrong-state { background: #b7342d; }
.correct .embouchure-panel { box-shadow: inset 0 0 0 4px #18774b; }
.incorrect .embouchure-panel { box-shadow: inset 0 0 0 4px #b7342d; }
.correct-wrong-image { position: relative; }
.correct-wrong-image img { display: block; width: 100%; }
.correct-state { left: 12px; top: 12px; }
.wrong-state { right: 12px; top: 12px; }
.comparison-table-wrap { overflow: visible; margin: 28px 0; }
.comparison-table { width: 100%; min-width: 0; table-layout: fixed; border-collapse: collapse; background: #fff; font-size: .92rem; }
.comparison-table caption { text-align: left; font-size: 1.25rem; font-weight: 750; margin-bottom: 10px; }
.comparison-table th, .comparison-table td { border: 1px solid #cbd4cc; padding: 12px 13px; vertical-align: top; text-align: left; }
.comparison-table thead th { background: #eaf2e8; color: #1f5037; }
.comparison-table tbody th { width: 20%; background: #f7f8f4; }
.comparison-table th, .comparison-table td { overflow-wrap: anywhere; }
.variant-reminder { padding: 13px 15px; border-left: 4px solid #c63d35; background: #fff4f1; font-size: 1.02rem; line-height: 1.6; }
.variant-reminder strong { color: #a52d29; font-size: 1.07em; letter-spacing: .03em; }
.local-nav a { font-size: 1rem; }

@media (max-width: 760px) {
  .key-type-visuals { grid-template-columns: 1fr; }
  .key-type-visuals .key-type-diagram img { min-height: 0; }
  .hold-label { font-size: .6rem; padding: 5px 6px; }
  .comparison-table { font-size: .76rem; }
  .comparison-table th, .comparison-table td { padding: 8px 7px; }
  .map-desktop { display: none !important; }
  .map-mobile { display: block !important; }
  .alignment-map-desktop { display: none !important; }
  .alignment-map-mobile { display: block; }
}

@media (min-width: 761px) {
  .comparison-table { min-width: 700px; table-layout: auto; }
}

@media print {
  .key-type-visuals, .key-map-figure, .first-sound-key-map, .b4-photo, .comparison-table-wrap, .reset-visual { break-inside: avoid; }
  .state-label, .image-state { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}

/* v8 comment pass: readable teaching visuals and safer art direction */
.anatomy-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.anatomy-cards article img { height: 210px; object-fit: contain; }
.component-map-figure { max-width: 500px; }
.component-check .diagram { max-width: 760px; }
.component-check .diagram img { width: 100%; }
.sequence-visual { margin: 18px 0 8px; }
.sequence-visual img { display: block; width: 100%; height: auto; }
.grip-warning-visual { margin: 16px 0 0; box-shadow: none; }
.grip-warning-visual img { display: block; width: 100%; height: auto; }
.hand-support-figure img { aspect-ratio: auto; object-fit: contain; }
.key-map-figure { max-width: 1040px; }
.first-b-visual { max-width: 1040px; margin: 22px auto 18px; }
.first-b-visual img { display: block; width: 100%; height: auto; }
.b4-photo img { aspect-ratio: auto; object-fit: contain; }
.reset-visual { max-width: 860px; }
.reset-visual img { aspect-ratio: auto; object-fit: contain; }
.air-direction-figure { max-width: 980px; }
.air-direction-figure img { display: block; width: 100%; height: auto; }
.sound-place-figure { position: relative; }
.sound-place-figure > img { display: block; width: 100%; height: auto; }
.sound-place-inset { position: absolute; right: 14px; top: 14px; width: 31%; max-width: 190px; padding: 5px; border: 3px solid #18774b; border-radius: 8px; background: #fff; box-shadow: 0 5px 16px rgba(28,39,32,.2); }
.sound-place-inset img { display: block; width: 100%; height: auto; border-radius: 4px; }
.sound-place-inset span { display: block; padding: 4px 2px 1px; color: #18774b; font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-align: center; }
.annotated-hand-photo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; }
.annotated-hand-photo > img { grid-column: 1 / -1; display: block; width: 100%; height: auto; }
.hand-photo-label { position: static; padding: 9px 11px; background: #f5f8f0; border-top: 1px solid #c9d8ca; color: #175a3e; text-align: center; font-size: .68rem; font-weight: 850; line-height: 1.35; letter-spacing: .025em; }
.hand-photo-label strong, .hand-photo-label small { display: block; }
.hand-photo-label small { margin-top: 2px; color: #52615e; font-size: .82em; font-weight: 650; letter-spacing: 0; }
.player-right-label { grid-column: 1; }
.player-left-label { grid-column: 2; border-left: 1px solid #c9d8ca; }
.annotated-hand-photo figcaption, .annotated-hand-photo .enlarge-button { grid-column: 1 / -1; }
.known-note-grid span { min-height: 92px; }
.known-b-visual .diagram.teaching-detail { max-width: 560px; }
.lesson-prerequisite { padding: 13px 16px; border-left: 4px solid #18774b; border-radius: 5px; background: #edf5ed; }
.lesson-prerequisite a { font-weight: 750; }
.reset-columns { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin: 18px 0; }
.reset-columns > div { padding: 16px 17px 11px; border: 1px solid #e4c5c1; border-radius: 8px; background: #fffaf8; }
.reset-columns h4 { margin-bottom: 9px; color: #8f2f2a; }
.reset-columns ol { margin: 0; padding-left: 1.2rem; }
.practice-pattern-figure { max-width: 680px; }
.practice-pattern-figure img { display: block; width: 100%; height: auto; }
.practice-pattern-after-notes { max-width: 820px; }
.practice-pattern-stack { display: grid; gap: 12px; padding: 14px; }
.practice-notation-panel,
.practice-count-panel { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.practice-pattern-stack .card-kicker { margin: 0; padding: 9px 12px; border-bottom: 1px solid var(--line); background: #f7faf6; color: #1d4a36; }
.practice-notation-panel img { padding: 4px 10px 2px; }
.beat-meter { margin: 11px 12px 8px; color: #526360; font-size: .8rem; }
.beat-meter strong { color: #1d4a36; font-size: 1rem; }
.beat-cell-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 0 12px; }
.beat-cell-grid > div { display: grid; align-content: start; min-width: 0; min-height: 84px; padding: 10px; border: 2px solid #9bc9ab; border-radius: 6px; background: #eef8f1; }
.beat-cell-grid > div.g-hold { border-color: #176f4e; background: #e3f3e8; }
.beat-cell-grid strong { font-size: .92rem; line-height: 1.15; }
.beat-cell-grid span { margin-top: 7px; color: #526360; font-size: .72rem; line-height: 1.25; }
.spoken-count { margin: 10px 12px 13px; color: #176f4e; font-size: .86rem; }
.open-hole-seal-figure { margin: 26px 0 30px; }
.open-hole-seal-figure img { display: block; width: 100%; height: auto; }
.comparison-table tbody tr:nth-child(even) td, .comparison-table tbody tr:nth-child(even) th { background: #f5f8f3; }
.comparison-table thead th:nth-child(2) { background: #eef2ef; }
.comparison-table thead th:nth-child(3) { background: #e0f0e2; }
.stop-badge { display: inline-grid; place-items: center; width: 1.45em; height: 1.45em; margin-right: 6px; border-radius: 50%; background: #b7342d; color: #fff; font-weight: 900; }
.embouchure-portraits { display: none !important; }
.embouchure-visual-checks { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin: 18px 0 30px; }
.embouchure-visual-card { min-width: 0; margin: 0; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: #fff; }
.embouchure-crop { position: relative; overflow: hidden; aspect-ratio: 1.35; border-bottom: 1px solid var(--line); }
.embouchure-crop img { position: absolute; width: 300%; max-width: none; height: 200%; object-fit: fill; }
.crop-correct img { left: 0; top: 0; }
.crop-smiley img { left: -100%; top: 0; }
.crop-puffed img { left: -200%; top: 0; }
.embouchure-crop span { position: absolute; left: 10px; top: 10px; padding: 6px 8px; border-radius: 4px; color: #fff; font-size: .68rem; font-weight: 850; letter-spacing: .06em; background: #18774b; }
.embouchure-visual-card.warning .embouchure-crop span { background: #b7342d; }
.embouchure-visual-card figcaption { padding: 13px 15px; font-size: .9rem; color: var(--muted); }

@media (max-width: 760px) {
  .anatomy-cards { grid-template-columns: 1fr; }
  .anatomy-cards article img { height: 190px; }
  .sound-place-inset { right: 8px; top: 8px; width: 35%; }
  .reset-columns { grid-template-columns: 1fr; }
  .first-b-visual, .key-map-figure { margin-inline: 0; }
  .embouchure-visual-checks { grid-template-columns: 1fr; }
}

@media print {
  .sound-place-inset { position: static; width: 38%; max-width: none; margin: 10px 0 0 auto; }
  .reset-columns { grid-template-columns: repeat(2,1fr); }
}

.sound-steps a { border-radius: 4px; }
.sound-steps a[aria-current="step"] { background: var(--ink); color: white; }
.first-note-step, .care-branches-title { margin-top: 30px; }
.finger-instructions { margin-top: 22px; }
.first-b-visual, .air-direction-figure, .hand-support-figure { max-width: none; }
.sound-decision-table { margin: 24px 0; }
.sound-decision-table caption { text-align: left; margin-bottom: 12px; font-weight: 700; }
.sound-decision-table th { width: 30%; }
.tongue-steps .teaching-detail { max-width: none; }
#sound-place .sound-place-figure img, .posture-photo img { aspect-ratio: auto; }
.tuning-observe img { aspect-ratio: auto; max-height: 480px; object-fit: contain; }
.tuning-adjust img, .assembly-structure img { display: block; width: 100%; height: auto; object-fit: contain; }
.tuning-action-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 20px; align-items: stretch; margin: 24px 0; }
.tuning-action-grid > figure { margin: 0; }
.tuning-observe-photo { position: relative; background: #eceee8; }
.tuning-observe-photo img { display: block; width: 100%; height: auto; }
.tuning-action-label { position: absolute; left: 12px; top: 12px; padding: 7px 9px; border-radius: 4px; background: #146b51; color: white; font-size: .75rem; font-weight: 800; }
.tuner-readout { position: absolute; right: 12px; bottom: 12px; display: grid; min-width: 92px; padding: 7px 10px; border: 2px solid #d8e1d2; border-radius: 6px; background: #1c2524; color: white; text-align: center; box-shadow: 0 3px 12px rgba(0,0,0,.24); }
.tuner-readout small { font-size: .55rem; color: #cbd7d3; }
.tuner-readout b { font-size: 1.55rem; line-height: 1.1; }
.tuner-readout i { font-size: .58rem; color: #77d398; font-style: normal; }
.tuning-steps { margin-top: 24px; }
.assembly-structure { max-width: none; }
#assembly-foot > .photo-text, #assembly-align-foot > .photo-text, #assembly-head > .photo-text { display: block; }
#assembly-foot > .photo-text > div, #assembly-align-foot > .photo-text > div, #assembly-head > .photo-text > div { margin-top: 24px; }
#assembly-align-foot .position-check { max-width: 700px; }
.care-branches-title { font-size: 1.35rem; }

@media print {
  .map-desktop { display: block !important; }
  .map-mobile { display: none !important; }
  .first-note-step, .lesson-step, .first-day-sequence { break-inside: auto; }
  .diagram, .photo-card, .step-heading, .action-check { break-inside: avoid; }
  .tuning-observe img { max-height: 230px; }
}

@media (max-width: 760px) {
  .tuning-action-grid { grid-template-columns: 1fr; }
}

/* v10 visual context pass: realistic renders locate the action; diagrams carry exact geometry. */
.visual-key { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: -8px 0 24px; padding: 11px 13px; border: 1px solid #d9e0d7; border-radius: 7px; background: #f7faf5; color: #53615a; font-size: .82rem; }
.visual-key > span { display: inline-flex; align-items: center; gap: 7px; }
.visual-key-mark, .illustration-badge { display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; padding: 4px 6px; font-size: .64rem; letter-spacing: .07em; line-height: 1.2; font-weight: 850; white-space: nowrap; }
.render-mark { color: #175b3f; background: #dcefe1; border: 1px solid #a8ccb0; }
.diagram-mark { color: #3f5660; background: #e8eef0; border: 1px solid #bdcbd0; }
.visual-context-grid, .open-hole-context-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(250px,.9fr); gap: 20px; align-items: start; margin: 22px 0 28px; }
.visual-context-grid .photo-card, .open-hole-context-grid .photo-card { margin: 0; }
.visual-context-grid .callout, .open-hole-context-grid .callout { margin: 0; }
.visual-context-grid ul { margin-bottom: 1rem; }
.visual-context-note { height: 100%; }
.visual-context-note .caption { margin-bottom: 0; }
.hand-context-detail { max-width: 860px; margin: 22px auto 26px; }
.hand-context-detail img { display: block; width: 100%; height: auto; }
.hand-context-detail figcaption, .embouchure-context-photo figcaption { color: #46564b; font-weight: 650; }
.embouchure-context-photo { max-width: 980px; margin: 22px auto 26px; }
.embouchure-context-photo img { display: block; width: 100%; height: auto; }
.photo-stack { display: grid; gap: 16px; align-content: start; }
.photo-stack > figure { margin: 0; }
.sound-posture-context img { aspect-ratio: 1.5 / 1; object-fit: cover; }
.practice-visual-stack { display: grid; gap: 15px; align-content: start; }
.practice-visual-stack > figure { margin: 0; }
.practice-visual-stack .practice-pattern-figure { max-width: none; }
.note-transition-photo img { aspect-ratio: 1.95 / 1; object-fit: cover; }
.hand-transition-photo img { aspect-ratio: auto; object-fit: contain; }
.open-hole-context-grid { grid-template-columns: minmax(0,1.05fr) minmax(260px,.95fr); }
.open-hole-context-grid img { aspect-ratio: 1.5 / 1; object-fit: cover; }
.tuning-adjust-stack { display: grid; gap: 12px; padding: 12px 12px 0; }
.tuning-adjust-stack > .photo-card { margin: 0; }
.tuning-adjust-stack > .photo-card img { max-height: 230px; object-fit: contain; background: #f7f5ef; }
.tuning-adjust-stack > .photo-card figcaption { padding: 9px 12px; font-size: .78rem; }
.tuning-adjust-stack > img { background: #f7f5ef; }
.care-start-context { margin: 0; }
.care-start-context .photo-card img { aspect-ratio: 1.5 / 1; object-fit: cover; }
.pad-care-photo { max-width: 720px; margin: 18px 0 22px; }
.pad-care-photo img { aspect-ratio: 1.5 / 1; object-fit: cover; }
.diagnostic-visual-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin: 24px 0 28px; }
.diagnostic-visual-grid figure { min-width: 0; margin: 0; }
.diagnostic-visual-grid img { width: 100%; aspect-ratio: 1.45 / 1; object-fit: cover; }
.diagnostic-visual-grid figcaption { min-height: 72px; padding: 11px 12px; background: #f7faf5; color: #425149; font-size: .82rem; }
.diagnostic-visual-grid a { text-decoration: none; }
.diagnostic-visual-grid a:hover { text-decoration: underline; }
.troubleshooting-hand-context { margin-top: 20px; }
.troubleshooting-hand-context .photo-card { margin: 0; }
.troubleshooting-hand-context .photo-card img { aspect-ratio: auto; object-fit: contain; }
.troubleshooting-hand-context .callout { margin: 0; }
.illustration-boundary { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin: 24px 0 30px; padding: 18px; border: 1px solid #d8ded7; border-radius: 9px; background: #f8faf7; }
.illustration-boundary > div { min-width: 0; }
.illustration-boundary p { margin: 10px 0 0; color: #53615a; font-size: .92rem; }
.finger-row .finger:nth-child(5) { margin-left: 12px; }

@media (max-width: 980px) {
  .diagnostic-visual-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .visual-context-grid, .open-hole-context-grid, .illustration-boundary { grid-template-columns: 1fr; }
  .visual-key { display: grid; gap: 8px; }
  .tuning-adjust-stack { padding-inline: 8px; }
  .finger-row .finger:nth-child(5) { margin-left: 0; }
}

@media (max-width: 600px) {
  .diagnostic-visual-grid { grid-template-columns: 1fr; }
  .diagnostic-visual-grid figcaption { min-height: 0; }
}

@media print {
  .visual-key, .visual-context-grid, .open-hole-context-grid, .practice-visual-stack, .tuning-adjust-stack, .diagnostic-visual-grid, .illustration-boundary { break-inside: avoid; }
  .diagnostic-visual-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tuning-adjust-stack > .photo-card img { max-height: 42mm; }
}

/* v11 annotated visual pass: make the beginner actions visibly physical. */
.macro-key-visuals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.macro-key-visuals .key-type-diagram { max-width: none; }
.macro-key-visuals .key-type-diagram img { min-height: 260px; aspect-ratio: auto; object-fit: contain; }
.safety-callout { padding-bottom: 16px; }
.safety-list { display: grid; gap: 10px; list-style: none; padding: 0; margin: 13px 0 0; }
.safety-list li { display: grid; grid-template-columns: 31px minmax(0,1fr); gap: 10px; align-items: start; margin: 0; padding: 10px 11px; border: 1px solid #edb9b5; border-radius: 6px; background: #fff8f7; }
.safety-list li > span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: #c63d35; color: #fff; font-size: .82rem; font-weight: 800; line-height: 1; }
.safety-list li strong { display: block; margin: 0 0 2px; color: #8f2825; }
.safety-list li p { margin: 0; color: #552a28; font-size: .91rem; line-height: 1.5; }
.anatomy-cards .grip-comparison { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; margin: -2px 0 13px; }
.anatomy-cards .grip-card { grid-column: 1 / -1; }
.anatomy-cards .grip-comparison figure { min-width: 0; margin: 0; overflow: hidden; border: 1px solid #d9ded8; border-radius: 6px; background: #f7f5ef; }
.anatomy-cards .grip-comparison img { display: block; width: 100%; height: auto; aspect-ratio: 1.5 / 1; object-fit: cover; margin: 0; }
.anatomy-cards .grip-comparison figcaption { padding: 8px 8px 9px; color: #46564b; font-size: .72rem; line-height: 1.35; }
.grip-badge { display: block; margin-bottom: 3px; font-size: .64rem; font-weight: 850; letter-spacing: .06em; }
.grip-badge.safe { color: #176b44; }
.grip-badge.danger { color: #a52d29; }
.component-check-photo { max-width: none; margin: 0; }
.component-check-photo > img { display: block; width: 100%; aspect-ratio: 1.5 / 1; object-fit: cover; }
.joint-check-labels { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 7px; padding: 9px 11px 0; background: #f7f5ef; }
.joint-check-labels span { padding: 6px 7px; border: 1px solid #d6ddd4; border-radius: 5px; color: #46564b; font-size: .72rem; line-height: 1.3; }
.joint-check-labels span:last-child { color: #9d302b; border-color: #e2b4b1; background: #fff5f4; }
.joint-check-labels b { color: var(--green); margin-right: 3px; }
.joint-check-labels span:last-child b { color: #b7342d; }
.preparation-stack { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 20px; align-items: start; margin: 0 0 24px; }
.preparation-stack > * { min-width: 0; margin: 0; }
.preparation-stack .photo-card { max-width: none; }
.preparation-stack .photo-card img { width: 100%; aspect-ratio: 1.5 / 1; object-fit: cover; }
.headjoint-only-exit { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 22px 0; padding: 18px 20px; border: 1px solid #b9d4c7; border-left: 5px solid var(--green); border-radius: 8px; background: #f4faf6; }
.headjoint-only-exit h3 { margin: 0 0 5px; font-size: 1.25rem; }
.headjoint-only-exit p { margin: 0; }
.headjoint-only-exit .mini-label { margin-bottom: 5px; }
.headjoint-only-exit .button { flex: 0 0 auto; white-space: nowrap; }
.sequence-photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin: 18px 0 8px; }
.sequence-photo-card { position: relative; min-width: 0; margin: 0; overflow: hidden; border: 1px solid #dce5d8; border-radius: 8px; background: #fff; }
.sequence-photo-card img { display: block; width: 100%; aspect-ratio: 1.25 / 1; object-fit: cover; }
.sequence-photo-card:nth-child(4) img { object-position: center 44%; }
.sequence-step { position: absolute; z-index: 1; top: 9px; left: 9px; display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: #202626; color: #fff; font-size: .78rem; font-weight: 800; }
.sequence-photo-card figcaption { display: grid; gap: 2px; padding: 10px 11px 12px; color: #46564b; font-size: .79rem; line-height: 1.35; }
.sequence-photo-card figcaption strong { color: var(--ink); font-size: .88rem; }
.sequence-photo-card figcaption span { color: var(--muted); }
.sequence-caption { margin: 0; color: var(--muted); font-size: .88rem; }
.sequence-details { margin: 14px 0 0; padding: 0 14px; background: #fff; }
.sequence-details > summary { min-height: 0; padding: 12px 2px; font-size: .9rem; }
.sequence-details[open] > summary { margin-bottom: 9px; }
.sequence-details .sequence-list { margin: 0 0 5px; }

@media (max-width: 980px) {
  .sequence-photo-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .macro-key-visuals { grid-template-columns: 1fr; }
  .macro-key-visuals .key-type-diagram img { min-height: 0; }
  .joint-check-labels { grid-template-columns: 1fr; }
  .preparation-stack { grid-template-columns: 1fr; }
  .headjoint-only-exit { align-items: stretch; flex-direction: column; gap: 14px; }
  .headjoint-only-exit .button { width: 100%; white-space: normal; }
}

@media (max-width: 600px) {
  .anatomy-cards .grip-comparison { grid-template-columns: 1fr; }
  .anatomy-cards .grip-comparison img { aspect-ratio: 1.5 / 1; }
  .sequence-photo-grid { grid-template-columns: 1fr; }
  .sequence-photo-card img { aspect-ratio: 1.5 / 1; }
}

@media print {
  .safety-list, .grip-comparison, .component-check-photo, .sequence-photo-grid { break-inside: avoid; }
  .sequence-photo-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

/* v12 annotated visual pass: make the remaining states explicit and readable. */
.macro-key-visuals { grid-template-columns: 1fr; gap: 18px; }
.macro-key-visuals .key-type-diagram { width: 100%; }
.key-type-image { position: relative; overflow: hidden; border: 2px solid #d7dfd8; border-radius: 9px; background: #f7f5ef; }
.key-type-image > img { display: block; width: 100%; height: auto; min-height: 0 !important; aspect-ratio: auto !important; object-fit: contain !important; margin: 0 !important; border-radius: 0 !important; }
.key-image-label, .whole-flute-label { position: absolute; z-index: 1; padding: 7px 10px; border-radius: 5px; background: #1f2d2b; color: #fff; font-size: clamp(.7rem, 1.25vw, .92rem); font-weight: 850; letter-spacing: .04em; line-height: 1.2; box-shadow: 0 2px 8px rgba(0,0,0,.22); }
.key-image-label small { display: block; margin-top: 2px; color: #d9f0df; font-size: .78em; font-weight: 650; letter-spacing: 0; }
.key-image-label-left { left: 14px; top: 14px; }
.key-image-label-right { right: 14px; top: 14px; }
.whole-flute-label { left: 14px; }
.whole-flute-top { top: 8%; background: #294841; }
.whole-flute-bottom { bottom: 8%; background: #176b44; }
.key-type-diagram figcaption { font-size: .95rem; }
.key-type-note { margin: 10px 0 18px; padding: 12px 14px; border-left: 4px solid #18774b; background: #edf5ed; color: #315344; }
.safety-list li { display: block; }
.safety-heading { display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: nowrap; }
.safety-heading > span { display: grid; place-items: center; flex: 0 0 27px; width: 27px; height: 27px; border-radius: 50%; background: #c63d35; color: #fff; font-size: .82rem; font-weight: 800; line-height: 1; }
.safety-heading > strong { min-width: 0; white-space: nowrap; }
.safety-list li > p { margin: 5px 0 0 35px; }
.grip-schematic { max-width: none; margin: -2px 0 13px; }
.grip-schematic > img { display: block; width: 100%; height: auto; border: 2px solid #d9ded8; border-radius: 8px; background: #fbfaf7; }
.grip-schematic figcaption { padding: 8px 2px 0; color: #46564b; font-size: .78rem; line-height: 1.45; }
.grip-schematic .grip-badge { display: inline-flex; margin: 0 4px 0 0; font-size: .7rem; }
.correct-visual { border: 3px solid #18774b !important; }
.incorrect-visual { border: 3px solid #b7342d !important; }
.joint-image-wrap { position: relative; overflow: hidden; line-height: 0; background: #f7f5ef; }
.joint-image-wrap > img { display: block; width: 100%; height: auto; aspect-ratio: 1.5 / 1; object-fit: cover; }
.joint-marker { position: absolute; z-index: 2; left: 14px; display: grid; place-items: center; width: 34px; height: 34px; border: 3px solid #fff; border-radius: 50%; color: #fff; font-size: 1rem; font-weight: 900; line-height: 1; box-shadow: 0 2px 6px rgba(0,0,0,.3); transform: translateY(-50%); }
.joint-marker-1 { top: 16.7%; background: #18774b; }
.joint-marker-2 { top: 50%; background: #ad6f27; }
.joint-marker-3 { top: 83.3%; background: #b7342d; }
.warning-heading { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
.warning-heading > strong { white-space: nowrap; }
.grip-warning-visual { max-width: none; }
.grip-warning-visual img { width: 100%; height: auto; }
.sequence-photo-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.sequence-photo-card img { aspect-ratio: 1.5 / 1; object-fit: cover; }
.sequence-photo-card .sequence-step { position: static; display: grid; place-items: center; flex: 0 0 27px; width: 27px; height: 27px; border-radius: 50%; background: #202626; color: #fff; font-size: .76rem; font-weight: 800; }
.sequence-photo-card figcaption { display: block; padding: 9px 10px 11px; }
.sequence-inline { display: grid; grid-template-columns: auto auto minmax(0,1fr); align-items: center; gap: 6px; min-width: 0; white-space: nowrap; font-size: .78rem; line-height: 1.25; }
.sequence-inline strong { min-width: 0; color: var(--ink); font-size: .86rem; }
.sequence-inline > span:last-child { min-width: 0; overflow: hidden; color: var(--muted); text-overflow: ellipsis; }

@media (max-width: 760px) {
  .key-image-label, .whole-flute-label { font-size: .68rem; padding: 6px 8px; }
  .key-image-label-left, .whole-flute-label { left: 8px; }
  .key-image-label-right { right: 8px; }
  .safety-list li > p { margin-left: 0; }
  .sequence-photo-grid { grid-template-columns: 1fr; }
}

@media print {
  .key-type-image, .grip-schematic, .joint-image-wrap, .sequence-photo-grid { break-inside: avoid; }
  .sequence-photo-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .joint-marker, .key-image-label, .whole-flute-label { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}

/* v13 visual correction pass: make physical relationships explicit. */
.key-highlight-overlay { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.key-focus { fill: rgba(40, 167, 69, .16); stroke: #28a745; stroke-width: 14; vector-effect: non-scaling-stroke; }
.key-focus-open { fill: rgba(40, 167, 69, .2); }
.key-focus-pointer { fill: none; stroke: #28a745; stroke-width: 10; stroke-dasharray: 12 10; vector-effect: non-scaling-stroke; }
.whole-key-row circle { fill: rgba(40, 167, 69, .2); stroke: #28a745; stroke-width: 12; vector-effect: non-scaling-stroke; }
.whole-key-row-bottom circle { fill: rgba(40, 167, 69, .3); }
.whole-key-bracket { fill: none; stroke: #28a745; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 16 12; vector-effect: non-scaling-stroke; }
.whole-key-overlay text { font-family: Arial, Helvetica, sans-serif; fill: #176b44; font-size: 30px; font-weight: 850; paint-order: stroke fill; stroke: #fff; stroke-width: 8px; stroke-linejoin: round; }
.headjoint-card { grid-column: 1 / -1; }
.headjoint-card > img { height: 250px !important; }
.joint-card > img { height: 270px !important; }
.anatomy-cards > article > p { font-size: .98rem; line-height: 1.55; }
.visual-state-stage, .single-state-stage, .reach-photo-stage { position: relative; overflow: hidden; line-height: 0; background: #eee9df; }
.visual-state-stage > img, .single-state-stage > img, .reach-photo-stage > img { display: block; width: 100%; height: auto; aspect-ratio: 1.5 / 1; object-fit: cover; }
.state-frame { position: absolute; z-index: 2; top: 10px; bottom: 10px; width: calc(50% - 14px); border: 4px solid; border-radius: 10px; pointer-events: none; }
.safe-frame { left: 10px; border-color: #28a745; box-shadow: inset 0 0 0 999px rgba(40,167,69,.035); }
.danger-frame { right: 10px; border-color: #dc3545; box-shadow: inset 0 0 0 999px rgba(220,53,69,.035); }
.state-label { position: absolute; z-index: 3; top: 20px; padding: 8px 11px; border-radius: 6px; color: #fff; font-size: .78rem; font-weight: 850; letter-spacing: .045em; line-height: 1.15; box-shadow: 0 2px 8px rgba(0,0,0,.22); }
.state-label small { display: block; margin-top: 3px; font-size: .75em; font-weight: 650; letter-spacing: 0; }
.safe-label { left: 20px; background: #18774b; }
.danger-label { right: 20px; background: #b7342d; }
.grip-photo figcaption { font-size: .88rem; }
.assembly-photo, .grip-warning-visual { max-width: none; margin: 18px 0; }
.assembly-photo figcaption { padding: 10px 13px; font-size: .9rem; }
.single-assembly-photo { margin-bottom: 18px; }
.grip-warning-visual .visual-state-stage { margin: 0; }
.grip-warning-visual img { width: 100%; height: auto; }
.position-check { max-width: 760px !important; margin-inline: auto; }
.position-check figcaption { padding: 10px 12px; font-size: .86rem; }
.reach-marker { position: absolute; z-index: 3; display: grid; place-items: center; width: 38px; height: 38px; border: 3px solid #fff; border-radius: 50%; background: #18774b; color: #fff; font-size: 1rem; font-weight: 900; line-height: 1; box-shadow: 0 2px 7px rgba(0,0,0,.25); }
.reach-thumb { left: 31%; top: 48%; }
.reach-little { left: 69%; top: 27%; }
.reach-arrow { position: absolute; z-index: 3; color: #18774b; font-size: 2.4rem; font-weight: 900; line-height: 1; text-shadow: 0 1px 0 #fff; }
.reach-thumb-arrow { left: 31.5%; top: 58%; }
.reach-little-arrow { left: 73%; top: 29%; }
.reach-label { position: absolute; z-index: 3; padding: 5px 8px; border: 2px solid #18774b; border-radius: 5px; background: rgba(255,255,255,.94); color: #176b44; font-size: .76rem; font-weight: 850; line-height: 1.15; box-shadow: 0 2px 5px rgba(0,0,0,.14); }
.reach-thumb-label { left: 4%; bottom: 8%; }
.reach-little-label { right: 3%; top: 7%; }
.joint-marker-3 { width: 48px; border-radius: 18px; font-size: .82rem; }
.reset-visual img, .air-direction-figure img { aspect-ratio: auto; object-fit: contain; }

@media (max-width: 760px) {
  .headjoint-card { grid-column: auto; }
  .headjoint-card > img { height: 230px !important; }
  .joint-card > img { height: 250px !important; }
  .state-label { font-size: .66rem; padding: 6px 7px; }
  .state-label small { font-size: .72em; }
  .state-frame { border-width: 3px; }
  .reach-marker { width: 32px; height: 32px; font-size: .84rem; }
  .reach-label { font-size: .65rem; padding: 4px 5px; }
  .reach-arrow { font-size: 1.8rem; }
}

@media print {
  .key-highlight-overlay, .visual-state-stage, .single-state-stage, .reach-photo-stage { break-inside: avoid; }
  .state-frame, .reach-marker, .reach-label { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}

/* v14 visual correction pass: make every hand state a single, readable action. */
.anatomy-cards .joint-card { grid-column: 1 / -1; order: -2; }
.anatomy-cards .headjoint-card { order: -1; }
.anatomy-cards .grip-card { grid-column: auto; }
.anatomy-cards > article > h4 { font-size: 1.2rem; line-height: 1.22; }
.anatomy-cards > article > p { font-size: 1.06rem; line-height: 1.58; }
.headjoint-card > img { height: 280px !important; }
.joint-card > img { height: 320px !important; }
.grip-state-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: -2px 0 13px; }
.grip-state { min-width: 0; margin: 0; border: 1px solid #d9ded8; border-radius: 8px; overflow: hidden; background: #fff; }
.grip-state figcaption { padding: 8px 10px 10px; color: #46564b; font-size: .82rem; line-height: 1.4; }
.grip-state .visual-state-stage { margin: 0; }
.grip-schematic > figcaption { padding-top: 8px; }
.single-state-stage .state-frame.full-frame { left: 10px; right: 10px; width: auto; }
.single-state-stage .state-frame { left: 10px; right: 10px; width: auto; }
.safe-label { left: 20px; right: auto; }
.danger-label { left: auto; right: 20px; }
.state-label { max-width: calc(50% - 30px); white-space: normal; }
.single-state-stage .state-label { max-width: 62%; }
.key-hole-focus { fill: rgba(40, 167, 69, .22); stroke: #fff; stroke-width: 9; vector-effect: non-scaling-stroke; }
.key-hole-focus-solid { fill: rgba(40, 167, 69, .42); }
.key-hole-focus-open { fill: rgba(15, 52, 39, .62); }
.whole-key-hole-row circle { fill: #f0fff3; stroke: #fff; stroke-width: 6; vector-effect: non-scaling-stroke; }
.whole-key-hole-row-bottom circle { fill: #17382e; stroke: #fff; }
.whole-key-overlay text { font-size: 40px; }

@media (max-width: 760px) {
  .anatomy-cards .joint-card, .anatomy-cards .headjoint-card, .anatomy-cards .grip-card { grid-column: auto; }
  .headjoint-card > img { height: 250px !important; }
  .joint-card > img { height: 270px !important; }
  .anatomy-cards > article > p { font-size: 1rem; }
  .grip-state-grid { grid-template-columns: 1fr; }
  .safe-label { left: 8px; }
  .danger-label { right: 8px; }
  .state-label { max-width: 70%; font-size: .66rem; padding: 6px 7px; }
  .single-state-stage .state-label { max-width: 72%; }
  .whole-key-overlay text { font-size: 34px; }
  .whole-flute-label { font-size: .56rem; line-height: 1.1; padding: 3px 5px; }
  .whole-flute-top { top: 2px; }
  .whole-flute-bottom { bottom: 2px; }
}

@media print {
  .grip-state-grid { break-inside: avoid; }
}

/* v15 review pass: concrete hand, embouchure, tonguing and safety states. */
.hand-support-real { position: relative; overflow: hidden; border: 1px solid #d7dfd8; border-radius: 10px; background: #eee9df; }
.hand-support-real > img { display: block; width: 100%; height: auto; aspect-ratio: 1.5 / 1; object-fit: contain; }
.support-photo-badge { position: absolute; top: 14px; left: 14px; padding: 8px 10px; border-radius: 5px; background: #176b44; color: #fff; font-size: .72rem; font-weight: 850; letter-spacing: .06em; box-shadow: 0 2px 7px rgba(0,0,0,.2); }
.support-photo-note { position: absolute; bottom: 14px; padding: 8px 10px; border: 2px solid #28a745; border-radius: 6px; background: rgba(255,255,255,.94); color: #176b44; font-size: .78rem; line-height: 1.2; box-shadow: 0 2px 7px rgba(0,0,0,.16); }
.support-photo-note b, .support-photo-note small { display: block; }
.support-photo-note small { margin-top: 3px; color: #52615e; font-size: .84em; }
.support-photo-note-left { left: 11%; }
.support-photo-note-right { right: 9%; }
.support-point-key { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 9px; margin: 12px 0 0; }
.support-point-key > span { display: grid; grid-template-columns: auto minmax(0,1fr); column-gap: 7px; align-items: center; min-width: 0; padding: 9px 10px; border: 1px solid #c8ddca; border-radius: 7px; background: #f4faf3; color: #315344; }
.support-point-key b { grid-row: span 2; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #28a745; color: #fff; font-size: .8rem; }
.support-point-key strong { font-size: .82rem; line-height: 1.15; }
.support-point-key small { color: #5a6b63; font-size: .72rem; line-height: 1.2; }
.embouchure-visual-checks { grid-template-columns: repeat(4, minmax(0,1fr)); }
.embouchure-visual-card { border-width: 2px; }
.embouchure-visual-card.correct { border-color: #28a745; }
.embouchure-visual-card.warning { border-color: #dc3545; }
.embouchure-crop { aspect-ratio: 1.35 / 1; background: #eee9df; }
.embouchure-crop img { position: absolute; width: 300%; height: 200%; max-width: none; object-fit: fill; }
.crop-correct img { left: 0; top: 0; }
.crop-smiley img { left: -100%; top: 0; }
.crop-puffed img { left: -200%; top: 0; }
.crop-side img { left: -200%; top: -100%; }
.embouchure-visual-card.correct .embouchure-crop { box-shadow: inset 0 0 0 4px #28a745; }
.embouchure-visual-card.warning .embouchure-crop { box-shadow: inset 0 0 0 4px #dc3545; }
.embouchure-crop span { background: #176b44; }
.embouchure-visual-card.warning .embouchure-crop span { background: #dc3545; }
.embouchure-visual-card figcaption strong { display: block; margin-bottom: 3px; color: var(--ink); }
.embouchure-visual-card figcaption p { margin: 0; }
.sound-decision-table { width: 100%; max-width: 100%; min-width: 0; overflow: visible; box-sizing: border-box; }
.sound-decision-table .comparison-table { width: 100%; min-width: 0 !important; max-width: 100%; table-layout: fixed; }
.sound-decision-table th, .sound-decision-table td { overflow-wrap: anywhere; word-break: normal; }
.tongue-safety-rule { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 2px; padding: 13px 15px; border: 2px solid #dc3545; border-radius: 8px; background: #fff4f1; color: #7f2824; }
.tongue-safety-rule > span { flex: 0 0 auto; font-size: 1.2rem; line-height: 1; }
.tongue-safety-rule strong, .tongue-safety-rule small { display: block; }
.tongue-safety-rule strong { font-size: .98rem; }
.tongue-safety-rule small { margin-top: 3px; color: #6d4a47; font-size: .82rem; line-height: 1.35; }
.tongue-steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
.tongue-real-card { max-width: none; margin: 0; overflow: hidden; }
.tongue-real-panel { position: relative; overflow: hidden; aspect-ratio: .75 / 1; background: #fff; }
.tongue-real-panel > img { position: absolute; inset: 0; display: block; width: 100%; max-width: none; height: 100%; object-fit: cover; object-position: left center; }
.tongue-release-panel > img { object-position: right center; }
.tongue-panel-label { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 7px 9px; border-radius: 5px; background: #176b44; color: #fff; font-size: .72rem; font-weight: 850; letter-spacing: .04em; box-shadow: 0 2px 7px rgba(0,0,0,.2); }
.tongue-release-panel .tongue-panel-label { background: #286b8a; }
.tongue-callout { position: absolute; z-index: 2; bottom: 13px; left: 10px; padding: 6px 8px; border: 2px solid #28a745; border-radius: 5px; background: rgba(255,255,255,.94); color: #176b44; font-size: .72rem; font-weight: 800; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.tongue-motion { position: absolute; z-index: 2; right: 12px; top: 47%; padding: 5px 7px; border-radius: 5px; background: #286b8a; color: #fff; font-size: .72rem; font-weight: 850; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.tongue-real-card figcaption { min-height: 70px; }
#starter-notes .vertical-note-grid { grid-template-columns: 1fr; max-width: 900px; margin-inline: auto; }
.pitch-direction-cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin: 24px 0; }
.pitch-card { display: flex; align-items: flex-start; gap: 12px; min-width: 0; padding: 16px 17px; border: 1px solid; border-radius: 9px; }
.pitch-card h3 { margin: 0 0 5px; font-size: 1rem; line-height: 1.25; }
.pitch-card p { margin: 0; font-size: .87rem; line-height: 1.45; }
.pitch-arrow { display: grid; place-items: center; flex: 0 0 43px; width: 43px; height: 43px; border-radius: 50%; color: #fff; font-size: 1.45rem; font-weight: 900; }
.pitch-lower { border-color: #b7d5ee; background: #eff8ff; color: #173e61; }
.pitch-lower .pitch-arrow { background: #2781c5; }
.pitch-raise { border-color: #efc1c5; background: #fff3f3; color: #6e2026; }
.pitch-raise .pitch-arrow { background: #dc3545; }
.crown-warning-card { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 12px 13px; border: 2px solid #dc3545; border-radius: 8px; background: #fff4f1; color: #722522; }
.crown-warning-card > span { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: #dc3545; color: #fff; font-weight: 900; }
.crown-warning-card h3 { margin: 0 0 3px; font-size: .88rem; letter-spacing: .04em; }
.crown-warning-card p { margin: 0; font-size: .78rem; line-height: 1.4; }
.severity-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 14px; }
.severity-filter button { border: 1px solid #c9d4cc; border-radius: 999px; padding: 8px 12px; background: #fff; color: #405049; font: inherit; font-size: .82rem; font-weight: 750; cursor: pointer; }
.severity-filter button[aria-pressed="true"] { border-color: #1d4d3b; background: #1d4d3b; color: #fff; }
.severity-filter button[data-severity-filter="green"] span { color: #28a745; }
.severity-filter button[data-severity-filter="yellow"] span { color: #d99222; }
.severity-filter button[data-severity-filter="red"] span { color: #dc3545; }
.severity-filter button[aria-pressed="true"] span { color: #fff; }
.severity-board { display: grid; gap: 14px; margin: 14px 0 28px; }
.severity-tier { border: 1px solid; border-left-width: 5px; border-radius: 9px; padding: 16px 17px; }
.severity-tier > header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.severity-tier h3 { margin: 0; font-size: 1.05rem; }
.severity-badge { flex: 0 0 auto; font-size: .68rem; font-weight: 850; letter-spacing: .06em; }
.severity-green { border-color: #b9dfc1; background: #f2fbf3; }
.severity-green .severity-badge { color: #18774b; }
.severity-yellow { border-color: #efd49a; background: #fffaf0; }
.severity-yellow .severity-badge { color: #9a671a; }
.severity-red { border-color: #efb6b3; background: #fff5f4; }
.severity-red .severity-badge { color: #b7342d; }
.severity-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 9px; }
.severity-yellow .severity-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.severity-card-grid a { display: grid; gap: 4px; min-width: 0; padding: 11px 12px; border: 1px solid #d7e1d8; border-radius: 7px; background: #fff; color: var(--ink); text-decoration: none; }
.severity-card-grid a:hover { box-shadow: 0 2px 9px rgba(25,45,34,.12); }
.severity-card-grid strong { font-size: .9rem; }
.severity-card-grid span { color: #53615a; font-size: .78rem; line-height: 1.35; }
.severity-detail { border-left: 4px solid #c9d4cc; }
.severity-detail-green { border-left-color: #28a745; }
.severity-detail-yellow { border-left-color: #d99222; }
.severity-detail-red { border-left-color: #dc3545; }
.sticky-key-rule { margin: 13px 0 17px; padding: 14px; border: 1px solid #efd49a; border-radius: 8px; background: #fffaf0; }
.sticky-key-rule header { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.sticky-key-rule header > span { padding: 4px 7px; border-radius: 4px; background: #f4d68f; color: #704b0f; font-size: .66rem; font-weight: 850; letter-spacing: .05em; }
.sticky-key-rule h3 { margin: 0; color: #5d4113; font-size: .98rem; }
.sticky-key-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.sticky-key-grid article { padding: 11px 12px; border: 1px solid; border-radius: 7px; background: #fff; }
.sticky-key-grid strong { display: block; font-size: .86rem; }
.sticky-key-grid p { margin: 5px 0 0; color: #53615a; font-size: .78rem; line-height: 1.4; }
.sticky-correct { border-color: #9dd5aa !important; }
.sticky-correct strong { color: #18774b; }
.sticky-wrong { border-color: #e6aaa7 !important; }
.sticky-wrong strong { color: #b7342d; }
.severity-tier[hidden] { display: none; }

@media (max-width: 980px) {
  .embouchure-visual-checks { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .severity-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .support-point-key { grid-template-columns: 1fr; }
  .support-photo-note { font-size: .68rem; }
  .support-photo-note-left { left: 4%; }
  .support-photo-note-right { right: 4%; }
  .tongue-steps, .pitch-direction-cards, .sticky-key-grid { grid-template-columns: 1fr; }
  .tongue-real-panel { aspect-ratio: .78 / 1; }
  .severity-tier > header { display: block; }
  .severity-badge { display: block; margin-bottom: 5px; }
}

@media (max-width: 600px) {
  .embouchure-visual-checks { grid-template-columns: 1fr; }
  .sound-decision-table .comparison-table { font-size: .82rem; }
  .sound-decision-table th, .sound-decision-table td { padding: 9px 8px; }
  .severity-card-grid, .severity-yellow .severity-card-grid { grid-template-columns: 1fr; }
  .severity-filter { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .severity-filter button { width: 100%; }
}

@media print {
  .support-photo-badge, .support-photo-note, .tongue-panel-label, .tongue-motion, .severity-filter { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .severity-card-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

/* v16 annotated correction pass: align photo overlays, simplify arrows and separate support labels. */
.key-type-image-split { aspect-ratio: 1774 / 887; }
.key-type-image-whole { aspect-ratio: 1983 / 793; }
.key-type-image-split > img, .key-type-image-whole > img { width: 100%; height: 100%; object-fit: cover !important; }
.key-highlight-overlay { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.key-highlight-overlay .key-focus { fill: rgba(220,53,69,.04); stroke: #dc3545; stroke-width: 9; vector-effect: non-scaling-stroke; }
.whole-key-boxes rect { fill: rgba(220,53,69,.05); stroke: #dc3545; stroke-width: 9; vector-effect: non-scaling-stroke; }
.joint-stop-cross { position: absolute; z-index: 3; left: 50%; top: 83.3%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 68px; height: 68px; border: 4px solid #fff; border-radius: 50%; background: rgba(220,53,69,.92); color: #fff; font-size: 3.15rem; font-weight: 900; line-height: 1; box-shadow: 0 2px 9px rgba(0,0,0,.3); }
.joint-stop-label { position: absolute; z-index: 3; left: 50%; top: 83.3%; transform: translate(-50%, 30px); padding: 4px 8px; border-radius: 4px; background: rgba(255,255,255,.94); color: #b32d34; font-size: .72rem; font-weight: 850; letter-spacing: .05em; white-space: nowrap; box-shadow: 0 1px 5px rgba(0,0,0,.2); }
.support-photo-key { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 10px 2px 0; color: #315344; font-size: .82rem; line-height: 1.35; }
.support-photo-key .support-photo-badge { position: static; padding: 6px 9px; font-size: .68rem; }
.support-photo-key .support-photo-note { position: static; padding: 5px 0; border: 0; border-radius: 0; background: transparent; color: #315344; font-size: .82rem; box-shadow: none; }
.support-photo-key .support-photo-note b { display: inline; color: #176b44; }
.support-photo-key .support-photo-note small { display: inline; margin: 0 0 0 4px; color: #52615e; font-size: .9em; }
.alignment-tip { margin: -10px 0 25px; padding: 14px 16px; border-left: 4px solid #18774b; border-radius: 0 7px 7px 0; background: #edf5ee; color: #315344; font-size: .92rem; line-height: 1.5; }
.alignment-tip strong { color: #176b44; }

@media (max-width: 760px) {
  .joint-stop-cross { width: 54px; height: 54px; font-size: 2.5rem; }
  .joint-stop-label { transform: translate(-50%, 25px); font-size: .63rem; }
  .support-photo-key { align-items: flex-start; gap: 4px 12px; font-size: .74rem; }
  .support-photo-key .support-photo-note { font-size: .74rem; }
}

.fingering-comparison { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0 12px; }
.fingering-comparison article { min-width: 0; padding: 15px 13px; border: 1px solid #d7e1d8; border-radius: 10px; background: #f8faf8; text-align: center; }
.fingering-comparison h3 { margin: 0 0 4px; font-size: 1.05rem; }
.fingering-comparison p { margin: 0 0 11px; color: #18774b; font-size: .76rem; font-weight: 800; }
.fingering-dots { display: flex; justify-content: center; gap: 5px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .76rem; }
.fingering-dots span { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid #c9d4cc; border-radius: 999px; background: #fff; color: #84908a; }
.fingering-dots span.is-held { border-color: #18774b; background: #18774b; color: #fff; font-weight: 800; }
.constant-anchor-note { margin: 12px 0 22px; padding: 13px 15px; border-left: 4px solid #18774b; border-radius: 0 8px 8px 0; background: #edf7ee; color: #315344; font-size: .9rem; line-height: 1.5; }
.constant-anchor-note strong { color: #176b44; }
#starter-notes .vertical-note-grid { grid-template-columns: minmax(0, 1fr) !important; max-width: 900px; margin-inline: auto; }

.open-hole-seal-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 26px 0 30px; }
.open-hole-seal-card { min-width: 0; overflow: hidden; border: 1px solid #d7e1d8; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(25,45,34,.07); }
.open-hole-seal-card img { display: block; width: 100%; height: auto; aspect-ratio: 720 / 420; object-fit: cover; }
.open-hole-seal-card h3 { margin: 13px 15px 4px; font-size: .96rem; line-height: 1.3; }
.open-hole-seal-card p { margin: 0 15px 15px; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.open-hole-card-badge { display: inline-flex; margin: 14px 14px 0; padding: 5px 8px; border-radius: 999px; font-size: .68rem; font-weight: 850; letter-spacing: .03em; }
.badge-good { background: #e5f5e9; color: #176b44; }
.badge-bad { background: #fde8e7; color: #a73232; }
.badge-plug { background: #e5f4fb; color: #286b8a; }

.pitch-direction-cards { align-items: stretch; }
.pitch-card { min-height: 128px; box-shadow: 0 2px 7px rgba(25,45,34,.06); }
.crown-warning-card { display: none; }
.crown-safety-banner { margin: 26px 0; padding: 22px 24px; border-left: 5px solid #dc3545; border-radius: 0 12px 12px 0; background: #fff0ef; box-shadow: 0 2px 9px rgba(134,35,32,.08); color: #722522; }
.crown-safety-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.crown-safety-heading span { padding: 6px 9px; border-radius: 5px; background: #dc3545; color: #fff; font-size: .68rem; font-weight: 850; letter-spacing: .04em; }
.crown-safety-heading h3 { margin: 0; color: #5f1e20; font-size: 1rem; }
.crown-safety-banner p { margin: 0 0 12px; font-size: .83rem; line-height: 1.5; }
.crown-safety-note { display: inline-flex; padding: 7px 10px; border-radius: 7px; background: #e3f4ea; color: #146a46; font-size: .76rem; font-weight: 800; }

.moisture-safety-banner { margin: 24px 0; padding: 20px 22px; border-left: 5px solid #dc3545; border-radius: 0 12px 12px 0; background: #fff0ef; box-shadow: 0 2px 9px rgba(134,35,32,.08); color: #722522; }
.moisture-safety-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.moisture-safety-heading span { padding: 6px 9px; border-radius: 5px; background: #dc3545; color: #fff; font-size: .68rem; font-weight: 850; letter-spacing: .04em; }
.moisture-safety-heading h3 { margin: 0; color: #5f1e20; font-size: 1rem; }
.moisture-safety-banner > p { margin: 0 0 12px; font-size: .82rem; line-height: 1.5; }
.moisture-safety-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.moisture-safety-tags span { padding: 6px 9px; border: 1px solid #efc5c2; border-radius: 6px; background: rgba(255,255,255,.78); color: #8d302d; font-size: .74rem; font-weight: 700; }
.swabbing-guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 24px 0 28px; }
.swabbing-guide article { min-width: 0; padding: 16px; border: 1px solid #d7e1d8; border-radius: 10px; background: #f8faf8; }
.swabbing-guide h4 { margin: 4px 0 5px; font-size: .95rem; }
.swabbing-guide p:last-child { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }

.symptom-filter-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -4px 0 18px; color: #53615a; font-size: .78rem; }
.symptom-filter-pills a { padding: 7px 11px; border: 1px solid #c9d4cc; border-radius: 999px; background: #fff; color: #315344; font-weight: 800; text-decoration: none; }
.symptom-filter-pills a:hover, .symptom-filter-pills a:focus-visible { border-color: #18774b; background: #edf7ee; }
.hand-pain-banner { margin: 10px 0 22px; padding: 20px 22px; border-left: 5px solid #dc3545; border-radius: 0 12px 12px 0; background: #fff0ef; color: #722522; box-shadow: 0 2px 9px rgba(134,35,32,.08); }
.hand-pain-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; color: #5f1e20; }
.hand-pain-heading span { font-size: 1.1rem; }
.hand-pain-heading h3 { margin: 0; font-size: 1rem; }
.hand-pain-banner p { margin: 0 0 8px; font-size: .82rem; line-height: 1.5; }
.hand-pain-banner ul { margin: 0; padding-left: 19px; font-size: .78rem; line-height: 1.55; }
.severity-tier { box-shadow: 0 2px 8px rgba(25,45,34,.04); }
.severity-tier > header h3 { order: 1; }
.severity-tier > header .severity-badge { order: 2; }
.severity-card-grid a { min-height: 76px; }
.sticky-key-rule { box-shadow: 0 2px 8px rgba(25,45,34,.06); }

@media (max-width: 760px) {
  .fingering-comparison, .open-hole-seal-cards, .swabbing-guide { grid-template-columns: 1fr; }
  .fingering-comparison article { text-align: left; }
  .fingering-dots { justify-content: flex-start; }
  .crown-safety-heading, .moisture-safety-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
  .symptom-filter-pills { align-items: flex-start; }
}

/* v17 comment-pass: keep visual marks clear of the teaching subject. */
.key-highlight-overlay:not(.whole-key-overlay) { display: none !important; }
.whole-key-boxes rect { fill: transparent !important; stroke: #dc3545; stroke-width: 7; }
.anatomy-cards .grip-card { grid-column: 1 / -1 !important; order: 2; }
.anatomy-cards > article:nth-child(3) { order: 1; }
.grip-card .grip-state-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grip-card .visual-state-stage { overflow: visible; line-height: 0; }
.grip-card .state-label { position: static; display: block; max-width: none; margin: 0; padding: 9px 10px; border-radius: 0; box-shadow: none; font-size: .78rem; line-height: 1.2; }
.grip-card .state-label small { display: inline; margin-left: 5px; }
.grip-card .state-frame { top: 8px; bottom: auto; height: calc(100% - 16px); }
.grip-card .grip-state figcaption { padding: 0; }
.grip-card .grip-state .grip-badge { display: none; }
.joint-stop-cross { left: 50%; top: 83.3%; }
.joint-stop-label { position: static; transform: none; display: block; margin: 0; padding: 9px 10px; border-radius: 0; background: #fff5f4; color: #b32d34; text-align: center; font-size: .8rem; font-weight: 900; letter-spacing: .05em; box-shadow: none; }
.alignment-tip { display: flex; align-items: flex-start; gap: 11px; margin: 18px 0 25px; padding: 16px; border: 1px solid #a7dfc0; border-radius: 12px; background: #ecfdf5; color: #064e3b; box-shadow: 0 2px 7px rgba(25,45,34,.05); }
.alignment-tip > span { flex: 0 0 auto; font-size: 1.2rem; }
.alignment-tip p { margin: 0; font-size: .82rem; line-height: 1.55; }
.alignment-tip strong { color: #065f46; }
.comfort-protection-banner { margin-top: 16px; padding: 15px; border: 1px solid #f4d28d; border-radius: 12px; background: #fffbeb; color: #713f12; box-shadow: 0 2px 7px rgba(90,60,10,.06); }
.comfort-banner-label { display: inline-flex; padding: 4px 8px; border-radius: 5px; background: #fde68a; color: #78350f; font-size: .7rem; font-weight: 900; }
.comfort-protection-banner p { margin: 8px 0 10px; font-size: .78rem; line-height: 1.5; }
.comfort-banner-rules { display: flex; flex-wrap: wrap; gap: 7px 16px; padding-top: 9px; border-top: 1px solid rgba(217,164,65,.35); font-size: .7rem; font-weight: 850; }
.comfort-banner-rules span:first-child { color: #047857; }
.comfort-banner-rules span:last-child { color: #be123c; }
.hold-layout { align-items: start; }
.annotated-hand-photo { display: block; position: relative; overflow: hidden; }
.annotated-hand-photo > img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hand-pin { position: absolute; z-index: 3; max-width: 45%; padding: 7px 9px; border: 2px solid #18774b; border-radius: 7px; background: rgba(255,255,255,.96); color: #176b44; font-size: .72rem; font-weight: 850; line-height: 1.2; box-shadow: 0 2px 7px rgba(0,0,0,.18); }
.hand-pin i { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #18774b; box-shadow: 0 0 0 3px rgba(255,255,255,.85); }
.hand-pin-left { left: 5%; top: 53%; }
.hand-pin-left i { right: -18px; bottom: -18px; }
.hand-pin-right { right: 4%; top: 46%; }
.hand-pin-right i { left: -18px; bottom: -18px; }
.annotated-hand-photo figcaption { display: block; padding: 13px 15px; }
.balance-badges { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin: 12px 0 0; }
.balance-badges > div { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 10px; border: 1px solid #a7dfc0; border-radius: 8px; background: #ecfdf5; color: #064e3b; font-size: .74rem; line-height: 1.35; }
.balance-badges b { display: grid; place-items: center; flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: #047857; color: #fff; font-size: .72rem; }
.balance-badges strong { color: #065f46; }
.master-key-map { margin: 24px 0 28px; padding: 20px; border-radius: 16px; background: #0f172a; color: #fff; box-shadow: 0 3px 12px rgba(15,23,42,.18); }
.master-key-map-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 13px; border-bottom: 1px solid #334155; }
.master-key-map-head h3 { margin: 0 0 5px; color: #6ee7b7; font-size: 1.05rem; }
.master-key-map-head p { margin: 0; color: #cbd5e1; font-size: .76rem; line-height: 1.4; }
.master-key-map-head > span { flex: 0 0 auto; padding: 5px 9px; border: 1px solid rgba(52,211,153,.35); border-radius: 999px; background: rgba(16,185,129,.14); color: #a7f3d0; font-size: .65rem; font-weight: 850; letter-spacing: .04em; }
.master-key-map-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 15px; padding: 14px; border: 1px solid #334155; border-radius: 11px; background: #1e293b; }
.master-key-cluster h4 { margin: 0 0 8px; color: #94a3b8; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.master-key-cluster > div { display: flex; align-items: center; gap: 8px; margin-top: 7px; padding: 8px 9px; border: 1px solid #334155; border-radius: 7px; background: rgba(15,23,42,.8); color: #e2e8f0; font-size: .75rem; line-height: 1.3; }
.master-key-cluster b { flex: 0 0 auto; padding: 4px 6px; border-radius: 4px; background: #047857; color: #fff; font-size: .68rem; }
.master-key-map-note { margin: 12px 0 0; color: #a7f3d0; font-size: .76rem; line-height: 1.45; }
.annotated-embouchure-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin: 24px 0 30px; }
.annotated-embouchure-grid .embouchure-visual-card { display: flex; flex-direction: column; min-width: 0; }
.annotated-embouchure-grid .embouchure-crop { aspect-ratio: 1.25 / 1; }
.annotated-embouchure-grid .embouchure-visual-card figcaption { flex: 1; }
.tongue-golden-rule { margin: 16px 0 18px; padding: 15px; border: 1px solid #f4d28d; border-radius: 12px; background: #fffbeb; color: #78350f; box-shadow: 0 2px 7px rgba(90,60,10,.05); }
.tongue-golden-rule > div { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.tongue-golden-rule > div > span { padding: 5px 8px; border-radius: 5px; background: #b45309; color: #fff; font-size: .67rem; font-weight: 900; }
.tongue-golden-rule h4 { margin: 0; color: #451a03; font-size: .92rem; }
.tongue-golden-rule p { margin: 0; font-size: .78rem; line-height: 1.5; }
.tongue-comparison-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.tongue-card { display: flex; flex-direction: column; max-width: none; margin: 0; padding: 12px; border: 1px solid #d7e1e8; border-radius: 12px; background: #f8fafc; }
.tongue-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; }
.tongue-card-head > span { padding: 5px 8px; border-radius: 5px; background: #0369a1; color: #fff; font-size: .68rem; font-weight: 900; }
.tongue-card-head.release > span { background: #047857; }
.tongue-card-head small { color: #64748b; font-size: .7rem; font-weight: 800; }
.tongue-card > img { display: block; width: 100%; height: auto; aspect-ratio: 620 / 540; object-fit: contain; border-radius: 8px; background: #fff; }
.tongue-card figcaption { min-height: 0; padding: 9px 2px 1px; color: #475569; font-size: .78rem; line-height: 1.45; }
.progression-strip { margin: 24px 0 12px; }
.progression-strip article { padding: 15px 13px; border: 1px solid #d7e1d8; border-radius: 10px; background: #f8faf8; text-align: center; }
.progression-step { margin-bottom: 3px; color: #64748b; font-size: .66rem; font-weight: 900; letter-spacing: .09em; }
.progression-strip article small { display: block; margin-top: 8px; color: #64748b; font-size: .68rem; }
.progression-strip .fingering-dots .focus { box-shadow: 0 0 0 2px #34d399, 0 0 0 4px #fff; }
.golden-anchor-rule { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 22px; padding: 15px; border: 1px solid #a7dfc0; border-radius: 12px; background: #ecfdf5; color: #064e3b; }
.golden-anchor-rule > span { flex: 0 0 auto; font-size: 1.15rem; }
.golden-anchor-rule p { margin: 0; font-size: .8rem; line-height: 1.5; }
.golden-anchor-rule strong { color: #065f46; }
.open-hole-seal-cards { gap: 16px; }
.open-hole-seal-card { background: #fff; border-width: 2px; }
.open-hole-seal-card:nth-child(1) { border-color: rgba(16,185,129,.35); background: rgba(236,253,245,.55); }
.open-hole-seal-card:nth-child(2) { border-color: rgba(244,63,94,.35); background: rgba(255,241,242,.58); }
.open-hole-seal-card:nth-child(3) { border-color: rgba(14,165,233,.35); background: rgba(240,249,255,.62); }
.plug-depth-card { margin: 24px 0 28px; padding: 16px; border: 1px solid #d7e1e8; border-radius: 12px; background: #f8fafc; }
.plug-depth-card h4 { margin: 0 0 11px; color: #1e293b; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.plug-depth-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.plug-depth-grid > div { padding: 11px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; }
.plug-depth-grid > div:first-child { border-color: #86efac; }.plug-depth-grid > div:nth-child(2) { border-color: #fda4af; }.plug-depth-grid > div:nth-child(3) { border-color: #fcd34d; }
.plug-depth-grid span { display: block; margin-bottom: 4px; font-size: .74rem; font-weight: 900; }.plug-depth-grid > div:first-child span { color: #047857; }.plug-depth-grid > div:nth-child(2) span { color: #be123c; }.plug-depth-grid > div:nth-child(3) span { color: #a16207; }
.plug-depth-grid p { margin: 0; color: #475569; font-size: .7rem; line-height: 1.4; }
.case-storage-figure img { aspect-ratio: 3 / 2; object-fit: contain; background: #f4efe7; }
.sticky-key-rule { padding: 17px; }
.sticky-key-rule header { align-items: flex-start; flex-wrap: wrap; }
.sticky-key-rule header > span { background: #b45309; color: #fff; }
.sticky-key-grid article { padding: 13px; }
.sticky-key-grid ol { margin: 8px 0 0; padding-left: 20px; color: #475569; font-size: .76rem; line-height: 1.55; }
.sticky-key-grid ol strong { display: inline; color: #166534; font-size: inherit; }
.sticky-danger-note { margin-top: 9px; padding: 8px; border-radius: 6px; background: #fff1f2; color: #9f1239; font-size: .7rem; font-weight: 800; line-height: 1.4; }
.hand-pain-actions { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin-top: 12px; color: #881337; font-size: .72rem; font-weight: 750; }
.hand-pain-actions > div { padding: 9px; border: 1px solid #fecdd3; border-radius: 7px; background: rgba(255,255,255,.8); }
.stuck-joint-diagram { max-width: none; margin: 18px 0 12px; }
.stuck-joint-diagram img { display: block; width: 100%; height: auto; object-fit: contain; }
.stuck-joint-diagram figcaption { padding: 9px 11px; background: #f7faf5; color: #425149; font-size: .78rem; }
.technician-stop-banner { margin-top: 13px; padding: 12px 14px; border: 1px solid #fda4af; border-left: 4px solid #e11d48; border-radius: 0 8px 8px 0; background: #fff1f2; color: #881337; font-size: .78rem; line-height: 1.5; }

@media (max-width: 980px) {
  .annotated-embouchure-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .balance-badges { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .grip-card .grip-state-grid, .tongue-comparison-grid, .master-key-map-grid, .plug-depth-grid, .hand-pain-actions { grid-template-columns: 1fr; }
  .grip-card .grip-state-grid { gap: 12px; }
  .hand-pin { max-width: 58%; font-size: .62rem; }
  .hand-pin-left { left: 3%; top: 47%; }.hand-pin-right { right: 3%; top: 42%; }
  .comfort-banner-rules { display: grid; gap: 6px; }
  .master-key-map { padding: 15px; }.master-key-map-head { display: grid; gap: 10px; }.master-key-map-head > span { justify-self: start; }
  .annotated-embouchure-grid { grid-template-columns: 1fr; }
  .tongue-card-head { align-items: flex-start; flex-direction: column; }
  .joint-stop-cross { width: 52px; height: 52px; font-size: 2.4rem; }
}
@media print {
  .master-key-map, .tongue-golden-rule, .golden-anchor-rule, .plug-depth-card, .hand-pain-banner, .sticky-key-rule { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}

.alignment-tip > span, .golden-anchor-rule > span { display: inline-grid; place-items: center; width: 2.1rem; height: 1.7rem; border-radius: 999px; background: #d1fae5; color: #047857; font-size: .74rem; font-weight: 900; letter-spacing: .03em; }
.comfort-banner-label { font-size: .74rem; }
.comfort-banner-rules span:last-child { font-size: .74rem; }

/* Chapter 01–02 beginner refactor. */
#start .hero-copy h1 { max-width: 12ch; }
#start .start-goal { margin-top: 28px; margin-bottom: 4px; padding: 25px 30px; background: #1d4a36; border-color: #1d4a36; }
#start .start-goal h2 { margin: 0 0 9px; color: #fff; font-size: clamp(1.55rem, 2.7vw, 2.2rem); line-height: 1.18; }
#start .start-goal p { margin: 0; max-width: 760px; color: #e1eadf; }
#start .hero-copy .button.primary { color: #fff; }
#start .flow-intro { margin: -10px 0 18px; color: var(--muted); font-size: .92rem; }
#start .whole-key-caption-line { display: block; margin-bottom: 7px; color: #2e5d43; }
#start .whole-key-caption-line strong { color: var(--ink); }
#start .key-type-note { margin-top: 12px; }
#start .safety-secondary { margin: 14px 0 0; color: #6d4a49; font-size: .82rem; line-height: 1.5; }
#start .safety-heading > strong { white-space: normal; }
#start .whole-key-overlay { pointer-events: none; }
#start .whole-key-boxes rect { fill: rgba(220,53,69,.035) !important; stroke: #dc3545; stroke-width: 7; vector-effect: non-scaling-stroke; }

#parts .chapter-head { margin-bottom: 24px; }
#parts .parts-overview { margin: 0 0 28px; }
#parts .parts-overview .parts-visual > img { display: block; width: 100%; }
#parts .parts-overview .parts-label-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; padding: 16px 20px 18px; border-top: 1px solid var(--line); background: #faf9f5; }
#parts .parts-label { display: flex; align-items: flex-start; gap: 10px; min-width: 0; padding: 8px 9px; border: 1px solid #d7e1d8; border-radius: 7px; background: #fff; }
#parts .parts-label-number { display: grid; place-items: center; flex: 0 0 27px; width: 27px; height: 27px; border-radius: 50%; background: #1d4a36; color: #fff; font-size: .78rem; font-weight: 850; }
#parts .parts-label > span:last-child { display: grid; gap: 3px; min-width: 0; }
#parts .parts-label strong { color: #1d4a36; font-size: .78rem; letter-spacing: .06em; }
#parts .parts-label small { color: var(--muted); font-size: .82rem; line-height: 1.25; }
#parts .part-cards { margin: 25px 0 18px; }
#parts .part-cards article { min-width: 0; padding: 20px 19px 18px; border: 1px solid var(--line); border-top: 4px solid #6f9277; border-radius: 8px; background: #fbfbf8; }
#parts .part-cards .step-number { margin-bottom: 12px; }
#parts .part-cards h3 { margin-bottom: 8px; font-size: 1.18rem; }
#parts .part-cards p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.55; }
#parts .parts-terms, #parts .parts-joint-forward { padding: 14px 16px; border-left: 4px solid #18774b; background: #edf5ed; color: #315344; font-size: .9rem; line-height: 1.5; }
#parts .parts-terms { margin: 0; }
#parts .parts-joint-forward { margin: 25px 0 0; }
#parts .parts-recognition { margin-top: 27px; }
#parts .parts-recognition .block-title { margin: 0 0 16px; }
#parts .parts-recognition-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
#parts .parts-recognition-card { display: flex; flex-direction: column; min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
#parts .parts-recognition-card .card-kicker { margin: 0 0 10px; color: #18774b; font-size: .72rem; font-weight: 850; letter-spacing: .08em; }
#parts .parts-recognition-card > img { display: block; width: 100%; height: auto; max-height: 460px; margin: 0 0 14px; border-radius: 7px; background: #f7f5ef; object-fit: contain; }
#parts .parts-recognition-card h4 { margin: 0 0 8px; font-size: 1.15rem; line-height: 1.25; }
#parts .parts-recognition-card > p:not(.card-kicker):not(.card-forward):not(.warning-inline):not(.card-note) { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.52; }
#parts .parts-definitions { display: grid; gap: 8px; margin: 0; }
#parts .parts-definitions div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 9px; align-items: baseline; }
#parts .parts-definitions dt { font-weight: 750; font-size: .86rem; }
#parts .parts-definitions dd { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.4; }
#parts .card-forward { margin: auto 0 0 !important; padding-top: 13px; color: #315344 !important; font-size: .82rem !important; font-weight: 700; }
#parts .warning-inline { margin: 13px 0 0 !important; padding: 9px 11px; border-left: 3px solid #c63d35; background: #fff0ef; color: #8d302d; font-size: .82rem !important; line-height: 1.4; }
#parts .safe-handling-card { grid-column: 1 / -1; }
#parts .safe-handling-card > p:not(.card-kicker):not(.card-note) { max-width: 680px; }
#parts .grip-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 17px 0 12px; }
#parts .grip-state { min-width: 0; margin: 0; overflow: hidden; border: 1px solid #d7e1d8; border-radius: 8px; background: #fff; }
#parts .grip-state img { display: block; width: 100%; aspect-ratio: 1.5 / 1; object-fit: cover; }
#parts .grip-state figcaption { display: grid; gap: 3px; padding: 11px 12px 12px; font-size: .84rem; line-height: 1.35; }
#parts .grip-state figcaption strong { font-size: .86rem; }
#parts .safe-state figcaption { color: #176b44; background: #f1faf3; }
#parts .danger-state figcaption { color: #a73232; background: #fff4f3; }
#parts .grip-state figcaption span { color: #53615a; }
#parts .card-note { margin: 0 !important; color: #53615a !important; font-size: .82rem !important; line-height: 1.45; }

/* Make the safe and unsafe handling locations explicit on the images. */
.grip-clarity-state { position: relative; border-width: 3px; }
.grip-clarity-state.safe-state, #parts .grip-clarity-state.safe-state { border-color: #258653; }
.grip-clarity-state.danger-state, #parts .grip-clarity-state.danger-state { border-color: #c63d35; }
#parts .grip-clarity-state { border-width: 3px; }
.grip-image-mark { position: absolute; z-index: 2; top: 10px; left: 10px; display: grid; place-items: center; width: 38px; height: 38px; border: 3px solid #fff; border-radius: 50%; color: #fff; font-size: 1.55rem; font-weight: 900; line-height: 1; box-shadow: 0 2px 7px rgba(0, 0, 0, .28); pointer-events: none; }
.grip-clarity-state.safe-state .grip-image-mark { background: #258653; }
.grip-clarity-state.danger-state .grip-image-mark { background: #c63d35; }
.grip-clarity-state figcaption strong { display: block; }

/* Chapter 02 click-to-highlight teaching controls. */
#parts .parts-overview-visual { position: relative; }
#parts .parts-overview-visual .part-focus { z-index: 1; border-color: #2b6f68; background: rgba(43, 111, 104, .1); box-shadow: 0 0 0 3px rgba(255, 255, 255, .85); }
#parts .parts-label { appearance: none; width: 100%; font: inherit; text-align: left; cursor: pointer; transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease; }
#parts .parts-label:hover { border-color: #18774b; background: #f1faf3; }
#parts .parts-label:focus-visible, #parts .landmark-trigger:focus-visible, #parts .landmark-hotspot:focus-visible { outline: 3px solid #f0a51a; outline-offset: 2px; }
#parts .parts-label.is-active { border-color: #18774b; background: #f1faf3; box-shadow: 0 0 0 2px #d8eddf; }
#parts .parts-label-copy { display: block !important; }
#parts .parts-label strong { display: inline; }
#parts .parts-label small { display: inline; margin-left: .2em; }
#parts .landmark-visual { position: relative; width: 100%; aspect-ratio: 1000 / 420; margin: 0 0 14px; border-radius: 7px; overflow: hidden; background: #f7f5ef; }
#parts .landmark-visual > img { display: block; width: 100%; height: 100%; object-fit: contain; }
#parts .landmark-highlight-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#parts .landmark-focus { opacity: 0; fill: rgba(43, 111, 104, .14); stroke: #2b6f68; stroke-width: 6; stroke-dasharray: none; vector-effect: non-scaling-stroke; transition: opacity .18s ease; }
#parts .landmark-visual[data-active-landmark="crown"] .focus-crown,
#parts .landmark-visual[data-active-landmark="embouchure"] .focus-embouchure,
#parts .landmark-visual[data-active-landmark="lip-plate"] .focus-lip-plate { opacity: 1; }
#parts .landmark-hotspot { position: absolute; z-index: 2; border: 0; padding: 0; background: transparent; cursor: pointer; }
#parts .hotspot-crown { left: 5.5%; top: 37%; width: 8%; height: 32%; }
#parts .hotspot-embouchure { left: 23.5%; top: 36%; width: 12%; height: 29%; }
#parts .hotspot-lip-plate { left: 20%; top: 36%; width: 19%; height: 32%; }
#parts .hotspot-embouchure { z-index: 5; pointer-events: visibleFill; }
#parts .hotspot-lip-plate { z-index: 4; pointer-events: visibleFill; fill: rgba(0, 0, 0, .001); }
#parts .landmark-definitions dt { min-width: 0; }
#parts .landmark-trigger { border: 0; border-bottom: 2px dotted #7b9b83; padding: 1px 0; background: transparent; color: var(--ink); font: inherit; font-weight: 750; text-align: left; cursor: pointer; }
#parts .landmark-trigger:hover, #parts .landmark-trigger.is-active { border-bottom-color: #dc3545; color: #a83232; }
#parts .landmark-status { margin: 13px 0 0; color: #53615a; font-size: .78rem; line-height: 1.4; }

@media (max-width: 760px) {
  #start .hero-copy h1 { max-width: 14ch; }
  #start .start-goal { margin-top: 20px; padding: 20px 18px; }
  #start .start-goal h2 { font-size: 1.5rem; }
  #start .variant-choice { grid-template-columns: 1fr; }
  #start .route-grid-six { grid-template-columns: 1fr; }
  #start .route-grid-six > a { min-height: 0; }
  #start .whole-key-caption-line { line-height: 1.45; }
  #parts .parts-overview .parts-label-list { grid-template-columns: 1fr; gap: 8px; padding: 12px 14px 14px; }
  #parts .parts-label { align-items: center; }
  #parts .part-cards { grid-template-columns: 1fr; }
  #parts .parts-recognition-grid { grid-template-columns: 1fr; }
  #parts .safe-handling-card { grid-column: auto; }
  #parts .parts-recognition-card > img { height: auto; max-height: 235px; }
  #parts .landmark-visual { height: auto; aspect-ratio: 1000 / 420; }
  #parts .grip-comparison { grid-template-columns: 1fr; gap: 14px; }
  #parts .parts-definitions div { grid-template-columns: 100px minmax(0, 1fr); }
}

@media (max-width: 600px) {
  #preparing-to-play .reset-visual,
  #first-sound-guide .air-direction-figure {
    display: flex;
    flex-direction: column;
  }
  #preparing-to-play .reset-visual > figcaption,
  #first-sound-guide .air-direction-figure > figcaption {
    order: -1;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 380px) {
  #parts .parts-definitions div { grid-template-columns: 92px minmax(0, 1fr); gap: 7px; }
  #start .safety-heading { align-items: flex-start; }
}
.master-key-map-head h3 { font-size: .74rem; }
.tongue-golden-rule > div > span { font-size: .74rem; }
.open-hole-card-badge.badge-bad, .open-hole-card-badge.badge-plug { font-size: .74rem; }
.plug-depth-grid > div:nth-child(2) span, .plug-depth-grid > div:nth-child(3) span { font-size: .74rem; }
.crown-safety-heading > span, .moisture-safety-heading > span, .hand-pain-heading > span { font-size: .74rem; }
.sticky-key-rule header > span { font-size: .74rem; }
.sticky-wrong strong { font-size: .74rem; }
/* v20 Chapter 01–02 interaction, image-truth and responsive QA pass. */
#start .hero-layout { min-height: 0; }
#start .hero-copy { padding-top: clamp(28px, 3vw, 42px); padding-bottom: clamp(28px, 3vw, 42px); }
#start .hero-copy h1 { max-width: 13ch; font-size: clamp(2.45rem, 4vw, 4rem); }
#start .hero-figure img { max-height: 470px; object-position: 46% 25%; }
#start .hero-figure figcaption { font-size: .72rem; }
#start .safety-callout { margin-top: 24px; }
#start .first-visit { padding-top: 25px; }
#start .key-type-diagram { max-width: 820px; }
#start .key-type-macro { margin-left: 0; margin-right: 0; }
#start .macro-caption { display: flex; flex-wrap: wrap; gap: 8px 26px; padding: 12px 16px; font-size: .95rem; }
#start .macro-caption strong { color: var(--ink); }
#start .variant-choice { margin-top: 12px; }
#start .whole-flute-supplement { margin: 22px 0 0; background: #fbfbf8; }
#start .whole-flute-supplement > summary { min-height: 52px; padding-top: 14px; padding-bottom: 14px; }
#start .whole-flute-supplement .key-type-diagram { margin: 0 0 10px; }
#start .key-type-image-whole { aspect-ratio: 1400 / 780; }
#start .key-type-image-whole > img { object-fit: contain !important; background: #fafcfb; }
#start .whole-key-boxes rect { fill: rgba(220, 53, 69, .045) !important; stroke: #c9343f; stroke-width: 6; vector-effect: non-scaling-stroke; }
#start .whole-key-caption-line { display: block; margin-bottom: 7px; line-height: 1.45; }
#start .key-type-note { margin-top: 13px; }
#start .chapter-end { margin-top: 30px; }

#parts .parts-overview { margin-bottom: 20px; }
#parts .parts-overview-visual { aspect-ratio: 3.9 / 1; overflow: hidden; }
#parts .parts-overview-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
#parts .parts-click-hint { margin: 0; padding: 8px 20px 0; background: #faf9f5; color: var(--muted); font-size: .78rem; }
#parts .parts-overview .parts-label-list { padding-top: 12px; }
#parts .parts-label { min-height: 58px; align-items: flex-start; }
#parts .parts-label-copy { line-height: 1.35; }
#parts .parts-label strong { color: #1d4a36; }
#parts .parts-label small { margin-left: 0; }
#parts .parts-selection-status { margin: 0; padding: 8px 20px 13px; background: #faf9f5; color: #315344; font-size: .82rem; font-weight: 700; }
#parts .parts-terms { margin: 0 0 25px; }
#parts .part-cards { display: none; }
#parts .parts-recognition-card .card-kicker { line-height: 1.35; }
#parts .parts-recognition-card > .landmark-figure,
#parts .parts-recognition-card > .key-pad-figure { margin: 0 0 14px; }
#parts .landmark-figure figcaption,
#parts .key-pad-figure figcaption { padding: 8px 12px; font-size: .78rem; line-height: 1.4; }
#parts .key-pad-figure img { height: 205px; object-fit: contain; background: #f7f5ef; }
#parts .safe-handling-card .card-kicker { max-width: 550px; }

#parts .landmark-visual { overflow: hidden; }
#parts .landmark-highlight-overlay,
#parts .landmark-hit-layer { position: absolute; inset: 0; width: 100%; height: 100%; }
#parts .landmark-hit-layer { z-index: 3; overflow: visible; }
#parts .landmark-focus { fill: rgba(197, 52, 63, .12); stroke: #c9343f; stroke-width: 5; stroke-dasharray: none; vector-effect: non-scaling-stroke; }
#parts .landmark-focus { opacity: 0; transition: opacity .16s ease, fill .16s ease; }
#parts .landmark-visual[data-active-landmark="crown"] .focus-crown,
#parts .landmark-visual[data-active-landmark="embouchure"] .focus-embouchure,
#parts .landmark-visual[data-active-landmark="lip-plate"] .focus-lip-plate { opacity: 1; }
#parts .landmark-hotspot { fill: transparent; stroke: transparent; pointer-events: all; cursor: pointer; outline: none; }
#parts .landmark-hotspot:hover { fill: rgba(24, 119, 75, .08); }
#parts .landmark-hotspot:focus-visible { fill: rgba(240, 165, 26, .16); stroke: #f0a51a; stroke-width: 5; vector-effect: non-scaling-stroke; }
#parts .landmark-trigger { min-height: 28px; }
#parts .landmark-trigger.is-active { color: #a83232; border-bottom-color: #c9343f; }

#parts .parts-label { display: flex; gap: 10px; }
#parts .parts-label-copy { display: grid !important; gap: 2px; }
#parts .parts-label-number { flex: 0 0 auto; }
#parts .parts-label small { margin-left: 0; }
.severity-detail[hidden] { display: none; }
#starter-notes .progression-strip article { transition: border-color .16s ease, background-color .16s ease; }
#starter-notes .progression-strip article.is-current { border-color: #18774b; background: #f1faf3; box-shadow: 0 0 0 2px #d8eddf; }
#starter-notes .progression-strip article:focus-visible { outline: 3px solid #f0a51a; outline-offset: 3px; }
#starter-notes .progression-status { margin: 12px 0 18px; padding: 11px 13px; border-left: 4px solid #18774b; background: #edf7ee; color: #315344; font-weight: 700; }
#starter-notes .progression-strip article.is-current .progression-step,
#starter-notes .progression-strip article.is-current small { color: #3f5660; }

/* A zoom copy keeps the visual, labels, overlays and caption together. */
#image-dialog .image-stage { display: block; }
#image-dialog .image-stage > .zoom-clone { width: 100%; min-width: 0; }
#image-dialog .image-stage > .zoom-clone > .zoom-clone-content { width: 100%; max-width: none; margin: 0; }
#image-dialog .image-stage > .zoom-clone-content { width: 100%; max-width: none; margin: 0; }
#image-dialog .image-stage > .zoom-clone-content img { width: 100%; max-width: 100%; max-height: none; object-fit: contain; }
#image-dialog .image-stage > .zoom-clone-content .enlarge-button { display: none; }
#image-dialog .image-stage.is-zoomed > .zoom-clone,
#image-dialog .image-stage.is-zoomed > .zoom-clone-content { width: 100%; min-width: 0; }
#image-dialog .image-stage.is-zoomed > .zoom-clone-content img { width: 100%; max-width: 100%; max-height: none; }
#image-dialog .image-stage .parts-figure,
#image-dialog .image-stage .diagram,
#image-dialog .image-stage .photo-card,
#image-dialog .image-stage .grip-state { box-shadow: none; }
#image-dialog .image-stage .parts-overview-visual { position: relative; aspect-ratio: 3.9 / 1; overflow: hidden; }
#image-dialog .image-stage .parts-overview-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
#image-dialog .image-stage .parts-label-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 14px 18px; background: #faf9f5; }
#image-dialog .image-stage .parts-label { display: flex; min-height: 58px; align-items: flex-start; gap: 10px; padding: 8px 9px; border: 1px solid #d7e1d8; border-radius: 7px; background: #fff; text-align: left; }
#image-dialog .image-stage .parts-label-number { display: grid; place-items: center; flex: 0 0 27px; width: 27px; height: 27px; border-radius: 50%; background: #1d4a36; color: #fff; font-size: .78rem; font-weight: 850; }
#image-dialog .image-stage .parts-label-copy { display: grid; gap: 3px; line-height: 1.35; }
#image-dialog .image-stage .parts-label strong { color: #1d4a36; font-size: .78rem; letter-spacing: .06em; }
#image-dialog .image-stage .parts-label small { color: var(--muted); font-size: .82rem; }
#image-dialog .image-stage .parts-selection-status,
#image-dialog .image-stage .parts-click-hint { display: block; margin: 0; padding: 8px 18px 13px; background: #faf9f5; color: #315344; font-size: .82rem; }
#image-dialog .image-stage .landmark-visual { position: relative; aspect-ratio: 1000 / 420; overflow: hidden; }
#image-dialog .image-stage .landmark-visual > img { width: 100%; height: 100%; object-fit: contain; }
#image-dialog .image-stage .landmark-highlight-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#image-dialog .image-stage .landmark-focus { opacity: 0; fill: rgba(43, 111, 104, .14); stroke: #2b6f68; stroke-width: 5; stroke-dasharray: none; vector-effect: non-scaling-stroke; }
#image-dialog .image-stage .landmark-visual[data-active-landmark="crown"] .focus-crown,
#image-dialog .image-stage .landmark-visual[data-active-landmark="embouchure"] .focus-embouchure,
#image-dialog .image-stage .landmark-visual[data-active-landmark="lip-plate"] .focus-lip-plate { opacity: 1; }
#image-dialog .image-stage .landmark-hit-layer { display: none; }
#image-dialog .image-stage .landmark-figure figcaption,
#image-dialog .image-stage .key-pad-figure figcaption { padding: 10px 14px; }
#image-dialog #enlarged-image { display: none; }
#image-description { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 760px) {
  #start .hero-layout { grid-template-columns: 1fr; }
  #start .hero-copy { padding: 25px 20px 20px; }
  #start .hero-copy h1 { max-width: 12ch; font-size: 2.45rem; margin-bottom: 1rem; }
  #start .hero-copy .lede { font-size: .94rem; line-height: 1.5; }
  #start .hero-figure { max-height: 235px; }
  #start .hero-figure img { width: 100%; height: 235px; max-height: none; object-fit: cover; object-position: 46% 22%; }
  #start .hero-figure figcaption { bottom: 10px; left: 10px; right: 10px; padding: 7px 9px; }
  #start .safety-callout { margin-top: 18px; }
  #start .macro-caption { display: grid; gap: 4px; }
  #start .whole-flute-supplement { margin-top: 16px; }
  #parts .parts-overview-visual { aspect-ratio: 3.2 / 1; }
  #parts .parts-overview-visual > img { object-position: center 52%; }
  #parts .parts-label-list { grid-template-columns: 1fr; gap: 8px; }
  #parts .parts-label { min-height: 48px; align-items: center; }
  #parts .parts-click-hint { padding-left: 14px; padding-right: 14px; }
  #parts .parts-selection-status { padding-left: 14px; padding-right: 14px; }
  #parts .key-pad-figure img { height: auto; max-height: 235px; }
  #image-dialog .image-stage.is-zoomed > .zoom-clone,
  #image-dialog .image-stage.is-zoomed > .zoom-clone-content { width: 100%; min-width: 0; }
  #image-dialog .image-stage .parts-label-list { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 380px) {
  #start .hero-copy h1 { font-size: 2.2rem; }
  #start .hero-figure, #start .hero-figure img { height: 205px; max-height: 205px; }
  #parts .parts-overview-visual { aspect-ratio: 2.8 / 1; }
}

/* V23 image-fidelity pass: neutral comparison frames and explicit support details. */
#start .whole-key-boxes rect { fill: rgba(43, 111, 104, .07) !important; stroke: #2b6f68; stroke-width: 6; vector-effect: non-scaling-stroke; }
.support-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 26px 0 28px; }
.support-detail-heading { grid-column: 1 / -1; }
.support-detail-heading .mini-label { margin: 0 0 6px; color: #18774b; font-size: .68rem; font-weight: 850; letter-spacing: .08em; }
.support-detail-heading h3 { margin: 0 0 7px; font-size: 1.2rem; }
.support-detail-heading p:last-child { max-width: 680px; margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.support-detail-card { min-width: 0; padding: 14px; border: 1px solid #d7e1d8; border-radius: 9px; background: #fbfbf8; }
.support-detail-label { margin: 0 0 9px; color: #1d4a36; font-size: .7rem; font-weight: 900; letter-spacing: .07em; }
.support-contact-text-card { display: flex; flex-direction: column; }
.support-contact-text { display: flex; flex: 1; flex-direction: column; justify-content: center; min-height: 330px; padding: 24px; border: 2px solid #b9d4c7; border-radius: 8px; background: linear-gradient(145deg, #f7fbf8, #edf5ef); }
.support-contact-kicker { margin: 0 0 7px; color: #18774b; font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
.support-contact-text h4 { margin: 0 0 12px; color: #213230; font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.12; }
.support-contact-text > p:not(.support-contact-kicker, .support-contact-stop) { margin: 0; color: #46564b; line-height: 1.55; }
.support-contact-checks { display: grid; gap: 8px; margin: 20px 0; }
.support-contact-checks p { margin: 0; padding: 10px 12px; border-radius: 6px; background: #fff; color: #315344; }
.support-contact-checks p:last-child { color: #8c2e2a; }
.support-contact-stop { margin: 0; padding-top: 14px; border-top: 1px solid #cad8cf; color: #53615a; line-height: 1.5; }
.support-detail-stage { margin: 0; overflow: hidden; border-radius: 7px; background: #f2eee7; }
.support-detail-stage img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: contain; }
.support-detail-stage figcaption { padding: 10px 11px 11px; color: #53615a; font-size: .8rem; line-height: 1.45; }
.support-detail-stage figcaption strong { color: #315344; }
.troubleshooting-hand-context { margin-top: 18px; }
.troubleshooting-hand-context a { color: #176b44; font-weight: 750; }
.annotated-hand-photo > img { object-position: center center; }
.hand-pin-left { left: 39%; top: 22%; }
.hand-pin-left i { right: -17px; bottom: -17px; }
.hand-pin-right { right: 48%; top: 31%; }
.hand-pin-right i { left: -17px; bottom: -17px; }

@media (max-width: 760px) {
  .support-detail-grid { grid-template-columns: 1fr; gap: 13px; margin-top: 22px; }
  .support-detail-heading { grid-column: auto; }
  .support-detail-card { padding: 12px; }
  .support-contact-text { min-height: 0; padding: 20px; }
  .support-detail-stage img { aspect-ratio: 3 / 2; }
  .hand-pin-left { left: 38%; top: 20%; max-width: 48%; }
  .hand-pin-right { right: 43%; top: 28%; max-width: 48%; }
}

@media (max-width: 380px) {
  .hand-pin { max-width: 52%; padding: 5px 6px; font-size: .58rem; }
  .hand-pin-left { left: 34%; top: 18%; }
  .hand-pin-right { right: 38%; top: 25%; }
}

/* V23 interaction and reading refinements. */
#start .hero-copy h1 { font-size: clamp(2.35rem, 3.6vw, 3.55rem); }
#start .hero-figure img { max-height: 420px; }
.first-day-route { padding: 22px 25px 16px; margin: 28px 0; border: 1px solid #cbd8c8; border-radius: 9px; background: #f7f9f3; }
.first-day-route h3 { margin: 0 0 8px; font-size: 1.45rem; }
.first-day-route .sequence-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.first-day-route .sequence-list li { min-height: 0; }
.sound-reset-note { margin: 18px 0 22px; }
.sound-reset-note ul { margin: 10px 0 0; padding-left: 1.2rem; }
.sound-reset-note li { margin: 5px 0; }

#parts .parts-static-labels { position: absolute; z-index: 3; inset: 8% 2% auto; display: grid; grid-template-columns: 25% 43% 24%; gap: 3%; pointer-events: none; }
#parts .parts-static-labels span { justify-self: start; padding: 5px 8px; border: 1px solid rgba(29, 74, 54, .3); border-radius: 5px; background: rgba(255, 255, 249, .92); color: #1d4a36; font-size: clamp(.58rem, 1vw, .78rem); font-weight: 850; letter-spacing: .045em; line-height: 1.15; white-space: nowrap; }
#parts .parts-overview-visual .part-focus { border-color: #2b6f68; background: rgba(43, 111, 104, .1); }
#parts .landmark-hotspot { pointer-events: visibleFill; }
#parts .hotspot-lip-plate { fill: rgba(0, 0, 0, .001); pointer-events: visibleFill; }
#parts .hotspot-embouchure { pointer-events: visibleFill; }
#image-dialog .image-stage .parts-static-labels { position: absolute; z-index: 3; inset: 8% 2% auto; display: grid; grid-template-columns: 25% 43% 24%; gap: 3%; pointer-events: none; }
#image-dialog .image-stage .parts-static-labels span { justify-self: start; padding: 5px 8px; border: 1px solid rgba(29, 74, 54, .3); border-radius: 5px; background: rgba(255, 255, 249, .92); color: #1d4a36; font-size: .78rem; font-weight: 850; letter-spacing: .045em; line-height: 1.15; white-space: nowrap; }
.cleaning-action-photo img { aspect-ratio: auto !important; height: auto !important; object-fit: contain !important; }

@media (max-width: 760px) {
  #start .hero-copy h1 { font-size: clamp(2.2rem, 10.5vw, 2.8rem); }
  #start .hero-figure img { max-height: 235px; }
  .first-day-route { padding: 18px 17px 14px; }
  .first-day-route .sequence-list { grid-template-columns: 1fr; }
  #parts .parts-static-labels { inset: 7% 1.5% auto; grid-template-columns: 25% 43% 24%; gap: 3%; }
  #parts .parts-static-labels span { padding: 4px 5px; font-size: .57rem; letter-spacing: .02em; }
  #image-dialog .image-stage .parts-static-labels span { font-size: .68rem; }
}

@media (max-width: 380px) {
  #start .hero-copy h1 { font-size: 2.15rem; }
  #parts .parts-static-labels span { font-size: .5rem; }
}

/* V23 R9: single-action teaching flow and verified visual replacements. */
#assembly .assembly-structure,
#assembly .alignment-photo,
#preparing-to-play .reset-visual,
#first-sound-guide .air-direction-figure,
#first-sound-guide .master-key-map-figure { max-width: 1100px; margin-left: auto; margin-right: auto; }
#assembly .assembly-structure img,
#assembly .alignment-photo img,
#preparing-to-play .reset-visual img,
#first-sound-guide .air-direction-figure img,
#first-sound-guide .master-key-map-figure img { width: 100%; height: auto; object-fit: contain; }

#hold .hold-posture-hero { margin: 22px 0 18px; }
#hold .hold-posture-hero img { display: block; width: 100%; max-height: 720px; aspect-ratio: auto; object-fit: contain; background: #eeece8; }
#hold .hold-points-below { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 30px; }
#hold .hold-points-below article { position: relative; min-width: 0; margin: 0; padding: 18px 16px 16px; border: 1px solid #d7e1d8; border-radius: 10px; background: #fbfbf8; }
#hold .hold-points-below .step-number { position: static; display: grid; place-items: center; margin: 0 0 10px; }
#hold .hold-points-below h3 { margin: 0 0 7px; font-size: 1rem; line-height: 1.28; }
#hold .hold-points-below p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.support-direction-strip { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 4px; padding: 12px 15px; border: 1px solid #c8ddd3; border-radius: 8px; background: #f3faf6; color: #176b44; font-size: .78rem; font-weight: 850; letter-spacing: .025em; }
.support-direction-strip b { font-size: 1.15rem; }
.support-detail-grid-r9 { margin-top: 18px; }
.support-detail-grid-r9 .support-detail-stage img { aspect-ratio: 3 / 2; object-fit: cover; }

.master-key-map-figure { margin-top: 22px; margin-bottom: 28px; }
.master-key-map-figure figcaption { font-size: .9rem; }

#starter-notes .beginner-route-r9 { grid-template-columns: 1fr; }
#starter-notes .progression-strip-r9 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
#starter-notes .progression-strip-r9 article { padding: 18px 16px; text-align: left; cursor: pointer; }
#starter-notes .progression-strip-r9 h3 { margin: 3px 0 12px; font-size: 1.16rem; }
.target-contacts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.target-contacts span { display: inline-grid; place-items: center; min-width: 38px; min-height: 30px; padding: 5px 9px; border: 2px solid #176b44; border-radius: 999px; background: #176b44; color: #fff; font-size: .75rem; font-weight: 900; }
.do-hold-check { display: grid; gap: 8px; margin: 0; }
.do-hold-check div { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 8px; align-items: start; }
.do-hold-check dt { color: #176b44; font-size: .67rem; font-weight: 900; letter-spacing: .06em; }
.do-hold-check dd { margin: 0; color: #43534b; font-size: .82rem; line-height: 1.42; }
.practice-pattern-after-notes { max-width: 900px; margin: 24px auto 28px; }
.practice-pattern-after-notes img { width: 100%; height: auto; object-fit: contain; }

.variant-skip-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 20px 0 26px; padding: 18px 20px; border: 1px solid #cbd8c8; border-radius: 10px; background: #f7faf6; }
.variant-skip-card p { margin: 4px 0 0; color: var(--muted); }
.open-hole-key-reference { max-width: 620px; margin: 22px auto 28px; }
.open-hole-key-reference img { display: block; width: 100%; height: auto; object-fit: contain; }
.open-hole-seal-cards-r9 { align-items: stretch; }
.open-hole-seal-cards-r9 .open-hole-card-badge { font-size: .7rem !important; line-height: 1.2; }
.open-hole-seal-cards-r9 .badge-bad::before,
.open-hole-seal-cards-r9 .badge-plug::before { content: none; }
.open-hole-seal-cards-r9 .seal-photo-card img { aspect-ratio: 1 / 1; object-fit: cover; }
.plug-guidance-card { display: flex; flex-direction: column; }
.plug-text-visual { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; min-height: 210px; padding: 24px 18px; background: #f4f8fa; color: #315344; text-align: center; }
.plug-text-visual span { padding: 12px 8px; border: 2px solid #2b6f68; border-radius: 9px; background: #fff; font-size: .72rem; font-weight: 900; }
.plug-text-visual b { color: #2b6f68; font-size: 1.4rem; }
.open-hole-action-list { max-width: 860px; }

.cleaning-action-hero { margin: 18px 0 20px; }
.cleaning-action-hero img { width: 100%; height: auto; max-height: none; object-fit: contain; }
.cleaning-step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin: 0 0 20px; padding: 0; list-style: none; }
.cleaning-step-grid li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; min-width: 0; padding: 14px; border: 1px solid #d7e1d8; border-radius: 9px; background: #fbfbf8; }
.cleaning-step-grid li > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #176b44; color: #fff; font-size: .78rem; font-weight: 900; }
.cleaning-step-grid strong { display: block; margin: 2px 0 4px; color: #315344; }
.cleaning-step-grid p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.45; }

.troubleshooting-groups { display: grid; gap: 22px; margin: 24px 0 30px; }
.troubleshooting-group { padding: 20px; border: 1px solid #d7e1d8; border-radius: 12px; background: #fbfbf8; }
.troubleshooting-group > header { margin-bottom: 12px; }
.troubleshooting-group > header h3 { margin: 2px 0 0; font-size: 1.3rem; }
.troubleshooting-group .troubleshooting-card { margin: 10px 0 0; border: 1px solid #ccd9d2; border-radius: 9px; background: #fff; }
.troubleshooting-card > summary { padding: 15px 46px 15px 16px; font-size: 1rem; font-weight: 850; }
.troubleshooting-card[open] { border-color: #6fa58a; box-shadow: 0 0 0 2px rgba(111, 165, 138, .14); }
.triage-steps { display: grid; gap: 9px; padding: 0 16px 16px; }
.triage-steps p { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 10px; margin: 0; padding-top: 9px; border-top: 1px solid #e2e8e3; }
.triage-steps strong { color: #176b44; font-size: .69rem; letter-spacing: .055em; }
.triage-steps span { color: #43534b; line-height: 1.48; }

.reference-next-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 22px 0 28px; }
.reference-next-grid a { display: grid; gap: 7px; min-width: 0; padding: 17px; border: 1px solid #d7e1d8; border-radius: 9px; background: #fbfbf8; color: var(--ink); text-decoration: none; }
.reference-next-grid a:hover { border-color: #6fa58a; }
.reference-next-grid span { color: var(--muted); font-size: .82rem; line-height: 1.45; }

#tuning .crown-warning-card h3,
#tuning .crown-warning-card p { color: #b42332; }

@media (max-width: 900px) {
  #hold .hold-points-below { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #starter-notes .progression-strip-r9 { grid-template-columns: 1fr; }
  .open-hole-seal-cards-r9 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .open-hole-seal-cards-r9 .plug-guidance-card { grid-column: 1 / -1; }
  .cleaning-step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  #hold .hold-posture-hero img { max-height: none; }
  #hold .hold-points-below,
  .open-hole-seal-cards-r9,
  .cleaning-step-grid,
  .reference-next-grid { grid-template-columns: 1fr; }
  .support-direction-strip { align-items: flex-start; flex-direction: column; }
  .support-direction-strip b { transform: rotate(90deg); align-self: center; }
  .support-detail-grid-r9 .support-detail-stage img { aspect-ratio: auto; object-fit: contain; }
  .variant-skip-card { align-items: stretch; flex-direction: column; }
  .variant-skip-card .button { width: 100%; text-align: center; }
  .open-hole-seal-cards-r9 .plug-guidance-card { grid-column: auto; }
  .plug-text-visual { min-height: 150px; }
  .troubleshooting-group { padding: 16px 12px; }
  .triage-steps p { grid-template-columns: 1fr; gap: 4px; }
}

@media print {
  #hold .hold-points-below { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cleaning-step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .troubleshooting-group,
  .troubleshooting-card,
  .open-hole-seal-card { break-inside: avoid; }
}

/* V23 R13: factual teaching visuals and compact beginner flow */
main img, main svg { max-width: 100%; }

#start .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(250px, .62fr); gap: 24px; align-items: center; }
#start .hero-copy h1 { font-size: clamp(2.35rem, 4.4vw, 4.35rem); line-height: .98; }
#start .hero-figure { max-width: 430px; margin-inline: auto; }
#start .hero-figure img { max-height: 430px; object-fit: contain; }
#start .hero-figure figcaption { font-size: .78rem; }

#parts .parts-label-list { position: relative; z-index: 4; }
#parts .parts-label-list .part-trigger { min-width: 0; cursor: pointer; }
#parts .parts-label-list .part-trigger:hover,
#parts .parts-label-list .part-trigger.is-active { border-color: #2b6f68; background: #eef8f1; }
#parts .landmark-visual { isolation: isolate; }
#parts .landmark-hit-layer { z-index: 5; pointer-events: none; }
#parts .landmark-hotspot { pointer-events: visibleFill; fill: rgba(255,255,255,.002); fill-opacity: 1; }
#parts .landmark-hotspot.hotspot-embouchure { pointer-events: all; fill: rgba(8,120,170,.002); }
#parts .landmark-hotspot.hotspot-crown { pointer-events: all; }
#parts .landmark-hotspot:focus-visible { outline: none; }
#parts .landmark-visual[data-active-landmark="embouchure"] .focus-embouchure { fill: rgba(8,120,170,.2); stroke: #0878aa; }
#parts .landmark-visual[data-active-landmark="lip-plate"] .focus-lip-plate { fill: rgba(43,111,104,.17); stroke: #2b6f68; }
#parts .landmark-visual[data-active-landmark="crown"] .focus-crown { fill: rgba(43,111,104,.17); stroke: #2b6f68; }
#parts .grip-clarity-state { min-width: 0; }
#parts .grip-clarity-state .grip-image-mark { z-index: 3; width: 52px; height: 52px; font-size: 2rem; font-weight: 950; }
#parts .grip-clarity-state figcaption strong { font-size: 1rem; line-height: 1.25; }
#parts .grip-clarity-state figcaption span { display: block; margin-top: 5px; font-size: .82rem; }

#image-dialog .image-stage { overflow: visible; }
#image-dialog .image-stage > .zoom-clone { display: block; width: 100%; min-width: 0; }
#image-dialog .image-stage > .zoom-clone > .zoom-clone-content { width: 100%; max-width: none; margin: 0; }
#image-dialog .image-stage > .zoom-clone-content { width: 100%; max-width: none; margin: 0; }
#image-dialog .image-stage > .zoom-clone-content img,
#image-dialog .image-stage > .zoom-clone img { display: block; width: 100%; max-width: 100%; height: auto; max-height: none; object-fit: contain; }
#image-dialog .image-stage.is-zoomed > .zoom-clone,
#image-dialog .image-stage.is-zoomed > .zoom-clone-content { width: 100%; min-width: 0; }

#hold .hold-posture-hero { margin: 20px 0 18px; }
#hold .hold-posture-hero img { max-height: 560px; object-fit: contain; }
#hold .hold-points-below { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#hold .support-detail-grid-r13 .support-detail-stage img { aspect-ratio: auto; min-height: 250px; object-fit: contain; background: #f2eee7; }
#hold .support-detail-grid-r13 .support-detail-card:first-of-type .support-detail-stage img { background: #f7f5ef; }
#hold .support-photo-image { position: relative; overflow: hidden; background: #f2eee7; }
#hold .support-photo-image img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
#hold .support-contact-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#hold .support-contact-overlay .contact-ring { fill: rgba(22,130,87,.12); stroke: #168257; stroke-width: 8; vector-effect: non-scaling-stroke; }
#hold .support-contact-overlay .contact-leader { fill: none; stroke: #168257; stroke-width: 7; stroke-linecap: round; vector-effect: non-scaling-stroke; }

#first-sound-guide .master-key-map-figure { max-width: 1100px; margin-inline: auto; overflow: hidden; }
#first-sound-guide .master-key-map-figure img { width: 100%; height: auto; object-fit: contain; }
#first-sound-guide .first-sound-player-view { max-width: 1100px; margin: 22px auto 16px; }
#first-sound-guide .first-sound-player-view img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: contain; background: #f2eee7; }
.beginner-sequence { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin: 18px auto 24px; max-width: 960px; padding: 16px 18px 16px 38px; border: 1px solid #cfe0d4; border-radius: 12px; background: #f5faf6; counter-reset: sequence; }
.beginner-sequence li { min-width: 0; padding: 5px 0 5px 3px; color: #315344; font-size: .9rem; line-height: 1.45; }
.beginner-sequence li::marker { color: #176f4e; font-weight: 900; }
#first-sound-guide .air-direction-figure { max-width: 1100px; margin-inline: auto; }
#first-sound-guide .air-direction-figure img { width: 100%; height: auto; object-fit: contain; }
#preparing-to-play .first-sound-four-checks,
#preparing-to-play .first-sound-correct-wrong { max-width: 1100px; margin: 22px auto; }
#preparing-to-play .first-sound-four-checks img,
#preparing-to-play .first-sound-correct-wrong img { display: block; width: 100%; height: auto; object-fit: contain; border: 1px solid #cbd8d1; border-radius: 12px; background: #fffdf7; }
#preparing-to-play .first-sound-four-checks figcaption,
#preparing-to-play .first-sound-correct-wrong figcaption { margin-top: 10px; color: var(--muted); line-height: 1.5; }
.first-sound-source-note { max-width: 1100px; margin: 18px auto 26px; padding: 14px 16px; border-left: 4px solid #0878aa; border-radius: 8px; background: #eef8fb; color: #31505c; font-size: .86rem; line-height: 1.5; }
.first-sound-source-note strong { color: #0b617f; }
.first-sound-video-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 8px; }
.first-sound-video-links a { color: #0878aa; font-weight: 800; }
.first-sound-beginner-cues { max-width: 1100px; margin: 18px auto 26px; padding: 15px 18px 15px 20px; border: 1px solid #c8d9cb; border-radius: 10px; background: #f5faf6; color: #315344; }
.first-sound-beginner-cues ul { margin: 8px 0 0; padding-left: 20px; }
.first-sound-beginner-cues li { margin: 5px 0; line-height: 1.45; }

#starter-notes .beginner-route-r13 { margin-bottom: 18px; }
#starter-notes .starter-goal { margin-top: 18px; }
#starter-notes .progression-strip-r13 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
#starter-notes .progression-strip-r13 article { min-width: 0; padding: 16px; text-align: left; }
#starter-notes .progression-strip-r13 article.is-current { border-color: #18774b; background: #f1faf3; box-shadow: 0 0 0 2px #d8eddf; }
#starter-notes .progression-strip-r13 article:focus-visible { outline: 3px solid #f0a51a; outline-offset: 3px; }
#starter-notes .note-card-visual { margin: 12px 0 13px; overflow: hidden; border: 1px solid #d7e1d8; border-radius: 8px; background: #f7f5ef; }
#starter-notes .note-card-visual img { display: block; width: 100%; height: auto; }
#starter-notes .full-contact-list { margin: 0 0 11px; color: #315344; font-size: .79rem; line-height: 1.45; }
#starter-notes .full-contact-list strong { color: #176f4e; }
#starter-notes .progression-strip-r13 .do-hold-check { margin-top: 8px; }
#starter-notes .progression-strip-r13 .do-hold-check dt { min-width: 58px; }
#starter-notes .practice-pattern-after-notes img { width: 100%; height: auto; }

#open-holes .open-hole-locator-r14 { max-width: 1000px; margin-inline: auto; }
#open-holes .open-hole-locator-r14 img { display: block; width: 100%; height: auto; object-fit: contain; }
#open-holes .open-hole-seal-cards-r13 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
#open-holes .open-hole-seal-cards-r13 .open-hole-seal-card { min-width: 0; }
#open-holes .open-hole-seal-cards-r13 img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; background: #f7f5ef; }
#open-holes .open-hole-seal-cards-r13 h3 { margin-top: 13px; }
#open-holes .open-hole-seal-cards-r13 p { font-size: .82rem; }
#open-holes .variant-skip-card[data-closed-tip] { border-color: #cbded0; background: #f5faf6; }

#tuning .crown-warning-card h3,
#tuning .crown-warning-card p,
#tuning .crown-warning-card,
#tuning .crown-warning-inline { color: #b42332; }

#swab .cleaning-action-hero { margin-bottom: 18px; }
#swab .cleaning-action-hero img { width: 100%; height: auto; object-fit: contain; }
#swab .cleaning-step-grid-r13 { margin-top: 0; }
#swab .cleaning-step-grid-r13 li { min-width: 0; }

#troubleshooting .goal-box { margin-bottom: 22px; }
#troubleshooting .triage-steps p { align-items: start; }
#troubleshooting .triage-steps strong { white-space: nowrap; }

@media (max-width: 900px) {
  #start .hero-layout { grid-template-columns: 1fr; }
  #start .hero-figure { max-width: 360px; }
  #hold .hold-points-below { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #starter-notes .progression-strip-r13 { grid-template-columns: 1fr; }
  #open-holes .open-hole-seal-cards-r13 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #open-holes .open-hole-seal-cards-r13 .plug-guidance-card { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  #start .hero-copy h1 { font-size: clamp(2.05rem, 11vw, 3.2rem); }
  #start .hero-figure { max-width: 300px; }
  #parts .parts-label-list { grid-template-columns: 1fr; }
  #hold .hold-points-below { grid-template-columns: 1fr; }
  #hold .support-detail-grid-r13 .support-detail-stage img { min-height: 0; }
  .beginner-sequence { grid-template-columns: 1fr; padding-left: 34px; }
  #open-holes .open-hole-seal-cards-r13 { grid-template-columns: 1fr; }
  #open-holes .open-hole-seal-cards-r13 .plug-guidance-card { grid-column: auto; }
  #image-dialog .image-stage.is-zoomed > .zoom-clone,
  #image-dialog .image-stage.is-zoomed > .zoom-clone-content { width: 900px; min-width: 900px; }
  .practice-pattern-stack { padding: 10px; }
  .beat-cell-grid { gap: 4px; padding-inline: 8px; }
  .beat-cell-grid > div { min-height: 76px; padding: 7px 5px; }
  .beat-cell-grid strong { font-size: .72rem; }
  .beat-cell-grid span { margin-top: 5px; font-size: .61rem; }
  .beat-meter,
  .spoken-count { margin-inline: 8px; }
}

@media print {
  .beginner-sequence { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #first-sound-guide .master-key-map-figure { break-before: auto; }
  #first-sound-guide .master-key-map-figure + .beginner-sequence { break-after: avoid; }
  #open-holes .open-hole-seal-cards-r13 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

#first-sound-guide .master-key-map-figure-r16 {
  max-width: 1180px;
  padding: 0;
  overflow: hidden;
  background: #f7f5ef;
}
#first-sound-guide .master-key-map-figure-r16 .master-map-intro {
  padding: 22px 24px 16px;
}
#first-sound-guide .master-key-map-figure-r16 .master-map-intro h3 {
  margin: 0 0 6px;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
}
#first-sound-guide .master-key-map-figure-r16 .master-map-intro p:last-child {
  margin: 0;
  color: var(--muted);
}
.master-key-map-panels {
  display: grid;
  gap: 18px;
  padding: 0 20px 20px;
}
.master-key-map-panels > section {
  min-width: 0;
  padding: 16px;
  border: 1px solid #d5e0da;
  border-radius: 12px;
  background: #fff;
}
.master-key-map-panels h4 {
  margin: 0 0 6px;
  color: #176f4e;
  font-size: 1.05rem;
}
.master-key-map-panels p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.45;
}
.master-key-map-panels img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  background: #f7f5ef;
}
#first-sound-guide .master-key-map-figure-r16 > figcaption {
  display: grid;
  gap: 3px;
  padding: 14px 20px 18px;
  border-top: 1px solid #d5e0da;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.45;
}
#first-sound-guide .master-key-map-figure-r16 > figcaption strong { color: #315344; }

.air-direction-geometry-stage {
  aspect-ratio: 1200 / 620;
  background: #f7f5ef;
}
.air-direction-stage .air-direction-geometry {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.air-direction-figure > figcaption,
.reset-visual > figcaption {
  display: grid;
  gap: 3px;
  line-height: 1.45;
}
.air-direction-figure > figcaption span,
.reset-visual > figcaption span { color: var(--muted); }

#assembly .caution-visual,
#assembly .assembly-structure { overflow: visible; }
#assembly .caution-visual > figcaption,
#assembly .assembly-structure > figcaption {
  position: static;
  display: block;
  clear: both;
  margin: 10px 0 0;
  padding: 10px 12px;
  border-top: 1px solid #d5e0da;
  background: #fff;
  line-height: 1.45;
}
#assembly .caution-visual > img,
#assembly .assembly-structure > img { display: block; }

#hold .support-detail-grid-r13 .support-detail-stage img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  background: #f7f5ef;
}
#hold .support-contact-visual-card .support-detail-stage { height: auto; }
#hold .support-contact-visual-card .support-detail-stage figcaption { min-height: 72px; }

#starter-notes .beginner-route-r16 {
  max-width: none;
  grid-template-columns: 1fr;
  margin-bottom: 18px;
}
#starter-notes .progression-strip-r16 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: none;
}
#starter-notes .progression-strip-r16 article {
  min-width: 0;
  padding: 16px;
  text-align: left;
}
#starter-notes .progression-strip-r16 article.is-current {
  border-color: #18774b;
  background: #f1faf3;
  box-shadow: 0 0 0 2px #d8eddf;
}
#starter-notes .progression-strip-r16 h3 {
  margin: 4px 0 10px;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.25;
}
#starter-notes .progression-strip-r16 .note-card-visual { margin: 10px 0 12px; }
#starter-notes .progression-strip-r16 .do-hold-check { margin-top: 8px; }
#starter-notes .progression-strip-r16 .do-hold-check dt { min-width: 64px; }
#starter-notes .progression-strip-r16 .note-select-button { margin-top: 12px; }

.closed-hole-note {
  margin: 8px 0 0;
  padding: 9px 11px;
  border-left: 3px solid #6f807d;
  background: #f3f5f2;
  color: #53645f;
  font-size: .82rem;
}

@media (max-width: 900px) {
  #starter-notes .progression-strip-r16 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  #first-sound-guide .master-key-map-figure-r16 .master-map-intro { padding: 17px 14px 12px; }
  .master-key-map-panels { padding: 0 10px 12px; gap: 12px; }
  .master-key-map-panels > section { padding: 11px; }
  #first-sound-guide .master-key-map-figure-r16 > figcaption { padding-inline: 11px; }
  .air-direction-stage.air-direction-geometry-stage { margin-inline: 8px; }
  .air-direction-geometry-stage { aspect-ratio: 900 / 620; }
  #assembly .caution-visual > figcaption,
  #assembly .assembly-structure > figcaption { padding-inline: 8px; font-size: .8rem; }
  #hold .support-contact-visual-card .support-detail-stage figcaption { min-height: 0; }
}

@media print {
  .master-key-map-panels { gap: 10px; padding-inline: 0; }
  .master-key-map-panels > section { break-inside: avoid; }
  #starter-notes .progression-strip-r16 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* V23 R15: final factual-image and interaction overrides */
#parts .landmark-hit-layer { z-index: 6; pointer-events: auto; }
#parts .landmark-hotspot { cursor: pointer; pointer-events: all; }

#hold .support-detail-card:first-of-type .support-photo-image img {
  aspect-ratio: auto;
  max-height: 620px;
  object-fit: contain;
}

.tongue-sequence-plain {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  margin: 22px 0 14px;
}
.tongue-sequence-plain article {
  position: relative;
  min-width: 0;
  padding: 20px 18px 17px;
  border: 1px solid #cfded7;
  border-radius: 12px;
  background: #fff;
}
.tongue-sequence-plain article:nth-of-type(1) { border-top: 5px solid #176e94; }
.tongue-sequence-plain article:nth-of-type(2) { border-top: 5px solid #168257; }
.tongue-sequence-plain article:nth-of-type(3) { border-top: 5px solid #0878aa; }
.tongue-sequence-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #213230;
  color: #fff;
  font-weight: 900;
}
.tongue-sequence-plain h4 { margin: 4px 0 8px; font-size: 1.08rem; }
.tongue-sequence-plain p:last-child { margin: 0; color: var(--muted); font-size: .88rem; }
.tongue-sequence-arrow { align-self: center; color: #176f4e; font-size: 2rem; font-weight: 900; }
.tongue-sequence-note { margin: 0 0 20px; padding: 12px 15px; border-left: 4px solid #7d8d88; background: #f6f5f1; color: #475854; font-size: .88rem; }

#starter-notes .progression-strip-r13 {
  grid-template-columns: 1fr;
  max-width: 1080px;
  margin-inline: auto;
}
#starter-notes .progression-strip-r13 article {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  gap: 10px 22px;
  align-items: start;
}
#starter-notes .progression-strip-r13 article > .progression-step,
#starter-notes .progression-strip-r13 article > h3 { grid-column: 1 / -1; }
#starter-notes .progression-strip-r13 article > .note-select-button { grid-column: 1 / -1; grid-row: 3; justify-self: start; }
#starter-notes .progression-strip-r13 article > .note-card-visual { grid-column: 1; grid-row: 4 / span 2; margin: 0; }
#starter-notes .progression-strip-r13 article > .full-contact-list { grid-column: 2; grid-row: 4; margin-top: 4px; font-size: .88rem; }
#starter-notes .progression-strip-r13 article > .do-hold-check { grid-column: 2; grid-row: 5; margin: 0; }
#starter-notes .progression-strip-r13 .note-card-visual img { min-width: 0; }
#starter-notes .note-select-button { min-height: 42px; padding: 8px 14px; border: 1px solid #176f4e; border-radius: 999px; background: #fff; color: #176f4e; font-weight: 850; cursor: pointer; }
#starter-notes .note-select-button[aria-pressed="true"] { background: #176f4e; color: #fff; }
#starter-notes .note-select-button:focus-visible { outline: 3px solid #f0a51a; outline-offset: 2px; }

#troubleshooting .troubleshooting-launchers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 14px 0 16px;
}
#troubleshooting .troubleshooting-launcher {
  min-height: 50px;
  padding: 11px 13px;
  border: 1px solid #b8c7bd;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: 750 .94rem/1.3 var(--sans);
  text-align: left;
  cursor: pointer;
}
#troubleshooting .troubleshooting-launcher:hover { border-color: #176b44; background: #f2f8f3; }
#troubleshooting .troubleshooting-launcher.is-active { border-color: #176b44; background: #eaf5ed; box-shadow: inset 4px 0 #176b44; }
#troubleshooting .troubleshooting-launcher:focus-visible { outline: 3px solid #f0a51a; outline-offset: 2px; }
.js-ready #troubleshooting .troubleshooting-card > summary { display: none; }
.js-ready #troubleshooting .troubleshooting-card:not([open]) { margin: 0; padding: 0; border: 0; box-shadow: none; }
.js-ready #troubleshooting .troubleshooting-card[open] { margin: 0 0 14px; }

@media (max-width: 760px) {
  .tongue-sequence-plain { grid-template-columns: 1fr; }
  .tongue-sequence-arrow { justify-self: center; transform: rotate(90deg); }
  #starter-notes .progression-strip-r13 article { display: block; }
  #starter-notes .progression-strip-r13 article > .note-card-visual { margin: 12px 0 13px; }
  #troubleshooting .troubleshooting-launchers { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  #parts .landmark-hit-layer { display: none; pointer-events: none; }
  #hold .support-detail-card:first-of-type .support-photo-image img { max-height: none; }
}

@media print {
  #troubleshooting .troubleshooting-launchers { display: none !important; }
  .js-ready #troubleshooting .troubleshooting-card > summary { display: list-item; }
  .js-ready #troubleshooting .troubleshooting-card { margin: 10px 0 0; padding: 0 17px; border: 1px solid var(--line); }
  .tongue-sequence-plain { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tongue-sequence-arrow { display: none; }
}

/* A8: one beginner problem, one safe action. */
#troubleshooting .troubleshooting-safety-r18 {
  margin: 18px 0 22px;
  padding: 14px 16px;
  border: 1px solid #e2a4a9;
  border-left: 6px solid #b42332;
  border-radius: 10px;
  background: #fff4f4;
  color: #651d25;
}
#troubleshooting .troubleshooting-safety-r18 strong { display: block; color: #9f1d2d; font-size: .92rem; }
#troubleshooting .troubleshooting-safety-r18 p { margin: 4px 0 0; line-height: 1.45; }
#troubleshooting .troubleshooting-groups { gap: 18px; margin-top: 0; }
#troubleshooting { scroll-margin-top: 112px; }
#troubleshooting .troubleshooting-group { padding: 16px; }
#troubleshooting .troubleshooting-group > header { margin-bottom: 10px; }
#troubleshooting .troubleshooting-group > header .mini-label { margin-bottom: 3px; }
#troubleshooting .troubleshooting-group > header h3 { font-size: 1.12rem; }
#troubleshooting .troubleshooting-launchers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}
#troubleshooting .troubleshooting-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}
#troubleshooting .troubleshooting-launcher {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #9bb4a3;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font: 760 .94rem/1.35 var(--sans);
  text-align: left;
  cursor: pointer;
}
#troubleshooting .troubleshooting-launcher:hover { border-color: #176b44; background: #f2f8f3; }
#troubleshooting .troubleshooting-launcher.is-active { border-color: #176b44; background: #eaf5ed; box-shadow: inset 5px 0 #176b44; }
#troubleshooting .troubleshooting-launcher:focus-visible { outline: 3px solid #f0a51a; outline-offset: 3px; }
#troubleshooting .troubleshooting-card { min-width: 0; margin: 0; scroll-margin-top: 112px; scroll-margin-bottom: 96px; }
#troubleshooting .troubleshooting-card[open] { border-color: #6fa58a; box-shadow: 0 0 0 2px rgba(111, 165, 138, .14); }
#troubleshooting .troubleshooting-card > summary { cursor: default; }
#troubleshooting .triage-steps { padding: 0 16px 16px; }
#troubleshooting .triage-steps p { grid-template-columns: 76px minmax(0, 1fr); }
#troubleshooting .triage-steps strong { color: #176b44; }
#troubleshooting .closed-hole-note { margin: -6px 16px 16px; color: #5a6b63; font-size: .78rem; line-height: 1.45; }
#troubleshooting .joint-troubleshooting-card-r18[open] { border-color: #c2152c; box-shadow: 0 0 0 2px rgba(194, 21, 44, .13); }
#troubleshooting .joint-stop-warning-r18 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  margin: 0 16px 16px;
  padding: 12px 13px;
  border: 1px solid #ef9da4;
  border-left: 5px solid #c2152c;
  border-radius: 8px;
  background: #fff0f0;
  color: #6f1e25;
  font-size: .82rem;
  line-height: 1.45;
}
#troubleshooting .joint-stop-warning-r18 strong { color: #b42332; font-size: .76rem; letter-spacing: .06em; }

@media (max-width: 760px) {
  #troubleshooting .troubleshooting-groups { gap: 14px; }
  #troubleshooting .troubleshooting-group { padding: 14px 12px; }
  #troubleshooting .troubleshooting-launchers { grid-template-columns: 1fr; }
  #troubleshooting .troubleshooting-launcher { min-height: 50px; font-size: .95rem; }
  #troubleshooting .triage-steps p { grid-template-columns: 1fr; gap: 4px; }
}

@media print {
  #troubleshooting .troubleshooting-safety-r18,
  #troubleshooting .troubleshooting-group,
  #troubleshooting .troubleshooting-item,
  #troubleshooting .troubleshooting-card { break-inside: avoid; }
  #troubleshooting .troubleshooting-launchers {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px;
  }
  #troubleshooting .troubleshooting-launcher { display: none !important; }
  .js-ready #troubleshooting .troubleshooting-card > summary { display: list-item !important; }
  .js-ready #troubleshooting .troubleshooting-card:not([open]) { margin: 10px 0 0; padding: 0 17px; border: 1px solid var(--line); }
  .js-ready #troubleshooting .troubleshooting-card[open] { margin: 10px 0 0; padding: 0 17px; border: 1px solid var(--line); box-shadow: none; }
}

/* V23 R15: complete teaching composites keep photos and overlays together. */
#first-sound-guide .master-key-map-figure {
  padding: 0;
  background: #f7f5ef;
}
#first-sound-guide .master-map-intro {
  padding: 22px 24px 16px;
}
#first-sound-guide .master-map-intro .mini-label {
  margin: 0 0 5px;
}
#first-sound-guide .master-map-intro h3 {
  margin: 0 0 5px;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}
#first-sound-guide .master-map-intro p:last-child {
  margin: 0;
  color: var(--muted);
}
#first-sound-guide .master-map-photo {
  position: relative;
  overflow: hidden;
  margin: 0 20px;
  border: 1px solid #cbd8d1;
  border-radius: 12px;
  background: #e9ece9;
}
#first-sound-guide .master-map-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1983 / 793;
  object-fit: cover;
}
#first-sound-guide .master-map-photo-note {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(33, 50, 48, .9);
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .06em;
}
#first-sound-guide .master-map-direction,
#first-sound-guide .master-map-hands {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 12px 20px 0;
  color: #176f4e;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .04em;
}
#first-sound-guide .master-map-direction b {
  font-size: 1.25rem;
}
#first-sound-guide .master-map-hands {
  justify-content: space-between;
  margin-top: 5px;
  padding-bottom: 10px;
  color: #315344;
  font-size: .74rem;
}
#first-sound-guide .master-key-map-figure > .map-desktop,
#first-sound-guide .master-key-map-figure > .map-mobile {
  border-top: 1px solid #d7e1d8;
  background: #f7f5ef;
}

.air-direction-teaching {
  overflow: hidden;
  background: #f7f5ef;
}
.air-direction-teaching > header {
  padding: 20px 22px 14px;
}
.air-direction-teaching > header h4 {
  margin: 0 0 5px;
  font-size: clamp(1.3rem, 3vw, 2rem);
}
.air-direction-teaching > header p {
  margin: 0;
  color: var(--muted);
}
.air-direction-stage {
  position: relative;
  overflow: hidden;
  margin: 0 20px;
  border: 1px solid #cbd8d1;
  border-radius: 12px;
  background: #fff;
  aspect-ratio: 1050 / 650;
}
.air-direction-stage .air-direction-photo,
.air-direction-stage .air-direction-overlay {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.air-direction-stage .air-direction-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.air-direction-legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 20px 0;
}
.air-direction-legend span {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #d5e0da;
  border-radius: 9px;
  background: #fff;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.4;
}
.air-direction-legend b {
  display: block;
  margin-bottom: 2px;
  color: #176f4e;
}
.air-direction-legend span:last-child b {
  color: #0878aa;
}
.air-direction-warning {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 12px 20px 20px;
  padding: 11px 13px;
  border: 1px solid #9bd5e8;
  border-radius: 9px;
  background: #eef8fb;
  color: #31505c;
  font-size: .8rem;
}
.air-direction-warning strong {
  color: #0878aa;
}
.air-direction-warning span {
  color: var(--muted);
}

@media (max-width: 600px) {
  #first-sound-guide .master-map-intro { padding: 17px 14px 12px; }
  #first-sound-guide .master-map-photo { margin-inline: 10px; }
  #first-sound-guide .master-map-photo-note { top: 7px; right: 7px; padding: 5px 7px; font-size: .56rem; }
  #first-sound-guide .master-map-direction { gap: 5px; margin: 9px 10px 0; font-size: .58rem; letter-spacing: 0; }
  #first-sound-guide .master-map-direction b { font-size: .9rem; }
  #first-sound-guide .master-map-hands { gap: 8px; margin: 4px 10px 0; font-size: .58rem; letter-spacing: 0; }
  .air-direction-teaching > header { padding: 16px 14px 11px; }
  .air-direction-stage { margin-inline: 8px; }
  .air-direction-legend { grid-template-columns: 1fr; gap: 7px; margin: 10px 8px 0; }
  .air-direction-legend span { padding: 8px 10px; font-size: .73rem; }
  .air-direction-warning { display: grid; gap: 2px; margin: 9px 8px 13px; padding: 9px 10px; font-size: .72rem; }
  #preparing-to-play .first-sound-four-checks,
  #preparing-to-play .first-sound-correct-wrong { margin-inline: 8px; }
  .first-sound-source-note { margin-inline: 8px; padding: 12px 13px; font-size: .78rem; }
  .first-sound-beginner-cues { margin-inline: 8px; padding: 12px 13px; font-size: .78rem; }
  .first-sound-video-links { display: grid; gap: 6px; }
}

@media print {
  #first-sound-guide .master-map-photo,
  .air-direction-stage {
    break-inside: avoid;
  }
  .air-direction-legend {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  #preparing-to-play .first-sound-four-checks,
  #preparing-to-play .first-sound-correct-wrong,
  .first-sound-source-note,
  .first-sound-beginner-cues { break-inside: avoid; }
}

.joint-inspection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 16px;
}
.joint-inspection-card {
  display: flex;
  min-width: 0;
  min-height: 286px;
  flex-direction: column;
  padding: 14px;
  border: 1px solid;
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(25, 45, 34, .07);
}
.joint-inspection-clean { border-color: #a7f3d0; background: rgba(236, 253, 245, .72); }
.joint-inspection-wipe { border-color: #fcd34d; background: rgba(255, 251, 235, .82); }
.joint-inspection-stop { border-color: #fda4af; background: rgba(255, 241, 242, .78); }
.joint-inspection-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 29px;
  margin-bottom: 11px;
}
.joint-inspection-card-head span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .035em;
  line-height: 1.15;
  white-space: nowrap;
}
.joint-inspection-clean .joint-inspection-card-head span { background: #047857; }
.joint-inspection-wipe .joint-inspection-card-head span { background: #92400e; }
.joint-inspection-stop .joint-inspection-card-head span { background: #e11d48; }
.joint-inspection-card-head small {
  color: #334155;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: right;
}
.joint-inspection-clean .joint-inspection-card-head small { color: #166534; }
.joint-inspection-wipe .joint-inspection-card-head small { color: #92400e; }
.joint-inspection-stop .joint-inspection-card-head small { color: #9f1239; }
.joint-inspection-art {
  display: grid;
  place-items: center;
  min-height: 116px;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 11px;
  background: #fff;
}
.joint-inspection-art svg { display: block; width: min(100%, 230px); height: auto; }
.joint-inspection-card h5 {
  margin: 13px 0 3px;
  color: #111827;
  font-size: .86rem;
  line-height: 1.25;
}
.joint-inspection-card p {
  margin: 0;
  color: #475569;
  font-size: .73rem;
  line-height: 1.45;
}
.joint-inspection-stop h5 { color: #4c0519; }
.joint-inspection-stop p { color: #881337; }

#assembly .assembly-photo,
#assembly .assembly-structure { max-width: 1000px; margin-inline: auto; }
#assembly .assembly-photo img { aspect-ratio: 1.5 / 1; object-fit: cover; }
#assembly .assembly-structure img { background: #f7f8f5; }
#assembly .single-assembly-photo .state-label.safe-label { font-size: .96rem; padding: 9px 12px; }
#assembly .grip-warning-visual .single-state-stage::before,
#assembly .grip-warning-visual .single-state-stage::after {
  position: absolute;
  z-index: 4;
  display: grid;
  width: clamp(42px, 6vw, 78px);
  height: clamp(42px, 6vw, 78px);
  place-items: center;
  border: 4px solid #fff;
  border-radius: 50%;
  background: rgba(220, 53, 69, .94);
  color: #fff;
  content: '✕';
  font-size: clamp(2rem, 5vw, 4.2rem);
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 2px 2px rgba(89, 10, 15, .35);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .3);
  pointer-events: none;
}
#assembly .grip-warning-visual .single-state-stage::before { left: 24%; top: 42%; }
#assembly .grip-warning-visual .single-state-stage::after { right: 24%; top: 42%; }
#assembly .grip-warning-visual .danger-label { font-size: .9rem; }
#assembly .reach-photo-stage { aspect-ratio: 1.5 / 1; }
#assembly .reach-photo-stage > img { aspect-ratio: 1.5 / 1; object-fit: cover; }
#assembly .reach-thumb-label { left: 36%; top: 57%; bottom: auto; }
#assembly .reach-little-label { right: auto; left: 70%; top: 7%; }

.air-photo-stage {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3 / 2;
  border: 1px solid #cbd8d1;
  border-radius: 12px;
  background: #f7f5ef;
}
.air-photo-stage .air-direction-photo,
.air-photo-stage .air-direction-overlay {
  display: block;
  width: 100%;
  height: 100%;
}
.air-photo-stage .air-direction-photo { object-fit: cover; }
.air-photo-stage .air-direction-photo.airflow-user-graphic {
  object-fit: contain;
  background: #fff;
}
.air-photo-stage .air-direction-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.air-photo-stage .air-direction-overlay text {
  font-size: 42px !important;
  paint-order: stroke fill;
  stroke: #fff;
  stroke-width: 7px;
  stroke-linejoin: round;
}
.air-text-fallback {
  margin: 12px 20px 0;
  padding: 10px 12px;
  border-left: 4px solid #0878aa;
  border-radius: 0 7px 7px 0;
  background: #eef8fb;
  color: #21434e;
  font-size: .82rem;
  font-weight: 750;
  line-height: 1.45;
}
.air-rim-definitions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 12px 20px 18px;
}
.air-rim-definitions span {
  min-width: 0;
  padding: 9px 11px;
  border: 1px solid #d5e0da;
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.4;
}
.air-rim-definitions strong { color: #176f4e; }

.airflow-lesson-card-a1 { padding-top: 0; }
.airflow-lesson-card-a1 .air-direction-figure { margin: 0; max-width: none; }
.airflow-lesson-card-a1 .air-direction-teaching { background: #f7f5ef; }
.airflow-lesson-card-a1 .air-direction-teaching > header { padding: 20px 22px 14px; }
.airflow-lesson-card-a1 .air-direction-teaching > header h4 { margin: 0 0 5px; font-size: clamp(1.3rem, 3vw, 2rem); }
.airflow-lesson-card-a1 .air-direction-teaching > header p { margin: 0; color: var(--muted); }
.air-photo-stage-a1 { aspect-ratio: 1600 / 1060; margin: 0 20px; }
.air-photo-stage-a1 .air-direction-photo-a1,
.air-photo-stage-a1 .air-direction-overlay-a1 { display: block; width: 100%; height: 100%; }
.air-photo-stage-a1 .air-direction-photo-a1 { object-fit: contain; background: #fff; }
.air-photo-stage-a1 .air-direction-overlay-a1 { position: absolute; inset: 0; pointer-events: none; }
.air-photo-stage-a1 .air-direction-overlay-a1 text { paint-order: stroke fill; stroke: #fff; stroke-width: 7px; stroke-linejoin: round; }
.air-action-strip-a1 { display: grid; gap: 5px; margin: 12px 20px 20px; padding: 12px 14px; border-left: 4px solid #0878aa; border-radius: 0 8px 8px 0; background: #eef8fb; color: #21434e; font-size: .86rem; line-height: 1.45; }
.air-action-strip-a1 strong { color: #0878aa; }
.air-action-strip-a1 span { color: #a85d0d; font-weight: 800; }

.source-preview-block {
  margin: 30px 0;
  padding: 22px;
  border: 3px solid #d88621;
  border-radius: 14px;
  background: #fffaf1;
  box-shadow: 0 8px 20px rgba(72, 54, 25, .08);
}
.source-preview-heading { margin-bottom: 18px; }
.source-preview-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #d88621;
  color: #fff;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .09em;
}
.source-preview-heading h3 { margin: 4px 0 8px; color: #7d4a0c; }
.source-preview-heading > p { max-width: 78ch; }
.source-preview-attribution { color: #6e5a3b; font-size: .82rem; line-height: 1.5; }
.source-preview-attribution a { color: #165e85; overflow-wrap: anywhere; }
.source-preview-topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}
.source-preview-topic-grid article {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid #ead7b5;
  border-radius: 9px;
  background: rgba(255, 255, 255, .8);
}
.source-preview-topic-grid h4 { margin: 0 0 5px; color: #7d4a0c; font-size: .9rem; }
.source-preview-topic-grid p { margin: 0; color: #5e5a52; font-size: .8rem; line-height: 1.45; }
.source-preview-topic-grid a { color: #165e85; font-weight: 750; }
.source-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.source-preview-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e4d3b3;
  border-radius: 10px;
  background: #fff;
}
.source-preview-image-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  min-height: 110px;
  padding: 8px;
  background: #fff;
}
.source-preview-card img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 430px;
  object-fit: contain;
}
.source-preview-card figcaption {
  display: grid;
  gap: 4px;
  padding: 11px 12px 13px;
  border-top: 1px solid #eadfcd;
  color: #5e5a52;
  font-size: .72rem;
  line-height: 1.4;
}
.source-preview-card figcaption strong { color: #7d4a0c; font-size: .8rem; }
.source-preview-card figcaption span { display: block; }
.source-preview-overview .source-preview-topic-grid { margin-bottom: 0; }

@media (max-width: 980px) {
  .source-preview-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .source-preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .source-preview-block { margin: 22px 0; padding: 14px; }
  .source-preview-topic-grid,
  .source-preview-grid { grid-template-columns: 1fr; }
  .source-preview-card figcaption { font-size: .75rem; }
}

@media (max-width: 600px) {
  .airflow-lesson-card-a1 .air-direction-teaching > header { padding: 16px 14px 11px; }
  .air-photo-stage-a1 { margin-inline: 8px; }
  .air-action-strip-a1 { margin: 9px 8px 13px; padding: 9px 10px; font-size: .78rem; }
}

@media print {
  .air-photo-stage-a1 { break-inside: avoid; }
}

#hold .hold-goal-r17 {
  margin: 22px 0 14px;
  padding: 20px 22px;
  border: 1px solid #b8d9c1;
  border-radius: 12px;
  background: #f1faf3;
}
#hold .hold-goal-r17 h3 { margin: 0 0 6px; color: #174b35; font-size: clamp(1.25rem, 2.3vw, 1.75rem); }
#hold .hold-goal-r17 p:last-child { margin: 0; color: #456355; font-size: .92rem; }
#hold .hold-goal-r17 .mini-label { margin-bottom: 6px; color: #176b44; }
.hold-orientation-r17 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding: 11px 15px;
  border: 1px solid #c7d9d0;
  border-radius: 9px;
  background: #fafcf8;
  color: #315344;
  text-align: center;
}
.hold-orientation-r17 span { display: grid; gap: 1px; min-width: 0; }
.hold-orientation-r17 strong { font-size: .78rem; }
.hold-orientation-r17 small { color: var(--muted); font-size: .72rem; }
.hold-orientation-r17 b { color: #176b44; font-size: .78rem; letter-spacing: .045em; white-space: nowrap; }
.hold-before-card-r17 {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: start;
  margin: 0 0 22px;
  padding: 18px;
  border: 1px solid #d7e1d8;
  border-radius: 12px;
  background: #fbfbf8;
}
.hold-before-card-r17 h3 { margin-bottom: 10px; font-size: 1.2rem; }
.hold-before-card-r17 .simple-steps { margin-bottom: 0; }
.hold-before-card-r17 .simple-steps li { margin-bottom: 10px; font-size: .88rem; line-height: 1.42; }
.hold-before-card-r17 figure { margin: 0; }
.hold-before-card-r17 figure img { width: 100%; aspect-ratio: 1.5 / 1; object-fit: cover; }
.hold-before-card-r17 figcaption { padding: 9px 11px; font-size: .75rem; line-height: 1.4; }
#hold > article.hold-rebuild-r17 { margin-top: 24px; border-top: 0; padding-top: 0; }
.hold-support-lede { max-width: 820px; color: var(--muted); font-size: .94rem; }
.hold-support-grid-r17,
.hold-next-steps-r17 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 24px;
}
.hold-task-card-r17 {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 15px;
  border: 1px solid #d4e0d7;
  border-radius: 11px;
  background: #fbfcf9;
}
.hold-task-kicker { margin-bottom: 7px; color: #176b44; font-size: .67rem; font-weight: 900; letter-spacing: .08em; }
.hold-task-card-r17 h4,
.hold-task-card-r17 h3 { margin-bottom: 7px; font-size: 1.08rem; }
.hold-task-card-r17 > p { font-size: .85rem; line-height: 1.48; }
.hold-real-figure-r17 { margin: 8px 0 11px; overflow: hidden; border: 1px solid #d7e1d8; border-radius: 8px; background: #f2eee7; }
.hold-real-figure-r17 img { display: block; width: 100%; aspect-ratio: 1.5 / 1; object-fit: cover; }
.hold-real-figure-r17 figcaption { padding: 8px 9px; color: #53615a; font-size: .72rem; line-height: 1.4; }
.hold-check-r17,
.hold-next-r17 { margin-top: auto; padding: 9px 10px; border-radius: 7px; background: #f1f7f0; color: #315344; font-size: .78rem !important; }
.hold-next-r17 { margin-top: 8px; background: #f7f8f4; }
.balance-check-visual-r17 {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  min-height: 72px;
  margin: 12px 0;
  padding: 10px;
  border: 1px solid #c6d9cb;
  border-radius: 9px;
  background: linear-gradient(#f7fbf6, #edf5ee);
  color: #176b44;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-align: center;
}
.balance-check-visual-r17 b { padding: 10px 8px; border: 2px solid #176b44; border-radius: 999px; background: #fff; color: #315344; font-size: .72rem; letter-spacing: 0; }
.hold-remember-r17,
.hold-mistakes-r17 {
  margin: 22px 0;
  padding: 17px 19px;
  border: 1px solid #cbd9c7;
  border-radius: 10px;
  background: #f5faf3;
}
.hold-remember-r17 ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 24px; margin: 0; padding-left: 1.2rem; }
.hold-remember-r17 li { margin: 2px 0; color: #315344; font-size: .82rem; line-height: 1.4; }
.hold-mistakes-r17 { background: #fffaf5; border-color: #e5d5bd; }
.hold-mistake-grid-r17 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hold-mistake-grid-r17 article { min-width: 0; padding: 11px 12px; border: 1px solid #ead7bd; border-radius: 8px; background: #fff; }
.hold-mistake-grid-r17 h4 { margin-bottom: 4px; color: #7c4b1d; font-size: .82rem; }
.hold-mistake-grid-r17 p { margin: 0; color: #5b5145; font-size: .75rem; line-height: 1.4; }
.hold-transition-r17 { margin: 20px 0; padding: 13px 15px; border-left: 4px solid #176b44; background: #edf7ee; color: #315344; font-size: .9rem; }

#hold .hold-support-grid-r18 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#hold .hold-chin-support-r18 { background: #f7fbf7; }
.hold-contact-note-r18 { margin: auto 0 8px; padding: 9px 10px; border-radius: 7px; background: #f1f7f0; color: #315344; font-size: .78rem; line-height: 1.42; }
.hold-posture-stage-r18 { position: relative; overflow: hidden; border-radius: 8px 8px 0 0; background: #f2eee7; }
.hold-posture-stage-r18 > img { display: block; width: 100%; aspect-ratio: 1.5 / 1; object-fit: cover; }
.hold-posture-badge-r18 { position: absolute; z-index: 1; max-width: 48%; padding: 6px 8px; border: 1px solid rgba(23, 107, 68, .35); border-radius: 7px; background: rgba(255, 255, 255, .94); box-shadow: 0 2px 6px rgba(25, 45, 34, .14); color: #174b35; font-size: .66rem; font-weight: 850; line-height: 1.25; }
.hold-posture-left-r18 { top: 5%; right: 3%; }
.hold-posture-right-r18 { top: 8%; left: 3%; }
.hold-posture-chin-r18 { right: 3%; bottom: 5%; }
.finger-context-photo-r18 { aspect-ratio: 2 / 1; object-fit: cover; }
.hand-side-legend-r18 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.hand-side-legend-r18 span { min-width: 0; padding: 8px 9px; border: 1px solid #c7d9d0; border-radius: 7px; background: #f5faf5; color: #315344; font-size: .7rem; line-height: 1.35; }
.hand-side-legend-r18 strong { display: block; color: #176b44; font-size: .66rem; letter-spacing: .04em; }
.hand-side-legend-r18 small { display: block; margin-top: 3px; color: #52615a; font-size: .7rem; }
.simplified-fingering-panel-r18 { min-height: 0; }
.fingering-action-list-r18 { display: grid; gap: 8px; margin-top: 12px; }
.fingering-action-list-r18 > div { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 9px; align-items: start; padding: 9px 10px; border: 1px solid #d4e0d7; border-left: 4px solid #176b44; border-radius: 7px; background: #f8fbf7; }
.fingering-action-list-r18 strong { color: #176b44; font-size: .68rem; letter-spacing: .05em; }
.fingering-action-list-r18 span { color: #43534b; font-size: .76rem; line-height: 1.42; }
#starter-notes .bag-practice-r18 { padding: 18px; }
#starter-notes .bag-practice-r18 h3 { margin: 3px 0 7px; font-size: clamp(1.2rem, 2.3vw, 1.55rem); }
#starter-notes .bag-practice-r18 > p { margin: 0 0 7px; color: #52615a; font-size: .86rem; line-height: 1.48; }
#starter-notes .bag-practice-r18 .practice-start-r18 { margin-top: 13px; color: #174b35; }
#starter-notes .bag-practice-r18 .practice-count-definition-r18 { color: #315344; font-weight: 750; }
#starter-notes .beat-cell-grid-r18 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 16px 0; padding: 0; }
#starter-notes .beat-cell-grid-r18 > div { min-height: 155px; padding: 12px; border: 1px solid #a9cdb3; border-top: 4px solid #176f4e; border-radius: 9px; background: #f4faf5; }
#starter-notes .beat-cell-grid-r18 > div.g-hold { border-color: #176f4e; background: #e7f5ea; }
#starter-notes .beat-cell-grid-r18 strong { display: block; color: #174b35; font-size: .82rem; line-height: 1.25; }
#starter-notes .beat-cell-grid-r18 span { display: block; margin-top: 9px; color: #43534b; font-size: .78rem; line-height: 1.38; }
#starter-notes .spoken-count-r18 { color: #176f4e; font-size: .95rem !important; }
#starter-notes .practice-reminder-r18 { display: grid; gap: 5px; margin: 14px 0; padding: 11px 13px; border-left: 4px solid #176f4e; border-radius: 0 7px 7px 0; background: #eef8f0; }
#starter-notes .practice-reminder-r18 p { margin: 0; color: #315344; font-size: .8rem; line-height: 1.42; }
#starter-notes .practice-stop-r18 { margin-top: 14px !important; padding: 11px 13px; border: 1px solid #efb8b8; border-left: 4px solid #b7342d; border-radius: 0 7px 7px 0; background: #fff4f2; color: #742d2a !important; }

.sound-orientation-r17 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -10px 0 21px;
  padding: 10px 13px;
  border: 1px solid #c7d9d0;
  border-radius: 8px;
  background: #fafcf8;
  color: #315344;
  font-size: .78rem;
}
.sound-orientation-r17 b { color: #176b44; font-size: .75rem; letter-spacing: .04em; white-space: nowrap; }
#first-sound-guide .master-map-orientation-r17 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: 0 22px 12px;
  padding: 10px 12px;
  border: 1px solid #c7d9d0;
  border-radius: 8px;
  background: #fafcf8;
  color: #315344;
  font-size: .72rem;
  font-weight: 800;
  text-align: center;
}
#first-sound-guide .master-map-orientation-r17 b { color: #176b44; font-size: .76rem; letter-spacing: .035em; white-space: nowrap; }
#first-sound-guide .master-map-orientation-r17 span:last-child { text-align: right; }
#first-sound-guide .master-key-map-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0 22px 18px;
}
#first-sound-guide .master-key-map-panels > section {
  min-width: 0;
  padding: 14px;
  border: 1px solid #d7e1d8;
  border-radius: 10px;
  background: #fff;
}
#first-sound-guide .master-key-map-panels > .master-physical-map { grid-column: 1 / -1; }
#first-sound-guide .master-key-map-panels h4 { margin-bottom: 5px; color: #1d4a36; font-size: 1rem; }
#first-sound-guide .master-key-map-panels p { margin-bottom: 10px; color: var(--muted); font-size: .78rem; line-height: 1.45; }
#first-sound-guide .master-key-map-panels picture,
#first-sound-guide .master-key-map-panels img { display: block; width: 100%; height: auto; }
#first-sound-guide .master-key-map-panels img { background: #f7f8f5; }
#first-sound-guide .key-action-card-r17 { margin-top: 24px; }
.key-action-layout-r17 { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(260px, .95fr); gap: 20px; align-items: start; }
.key-action-layout-r17 .photo-card { margin: 0; }
.key-action-layout-r17 .photo-card img { aspect-ratio: 2 / 1; object-fit: cover; }
.key-action-layout-r17 > div { padding: 13px 15px; border: 1px solid #d7e1d8; border-radius: 9px; background: #f8fbf7; }
.key-action-layout-r17 > div p { margin: 0 0 9px; color: #43534b; font-size: .86rem; line-height: 1.45; }
.key-action-layout-r17 > div p:last-child { margin-bottom: 0; }
.state-legend-r17 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 17px;
}
.state-legend-r17 span {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid #d4dfd6;
  border-left-width: 4px;
  border-radius: 7px;
  background: #fff;
  color: #52615a;
  font-size: .72rem;
  line-height: 1.4;
}
.state-legend-r17 b { display: block; margin-bottom: 2px; font-size: .68rem; letter-spacing: .06em; }
.state-legend-r17 .press-state { border-left-color: #059669; }
.state-legend-r17 .press-state b { color: #047857; }
.state-legend-r17 .keep-state { border-left-color: #0e7490; }
.state-legend-r17 .keep-state b { color: #0e7490; }
.state-legend-r17 .release-state { border-left-color: #d97706; }
.state-legend-r17 .release-state b { color: #b45309; }
.state-legend-r17 .support-state { border-left-color: #64748b; }
.state-legend-r17 .support-state b { color: #475569; }
#first-sound-guide .first-b-how-r17 { max-width: 980px; margin: 18px auto; }
#first-sound-guide .first-b-how-r17 img { aspect-ratio: 1983 / 793; object-fit: cover; }

#starter-notes .starter-rebuild-r17 { display: block; }
#starter-notes .starter-goal-r17 { margin: 18px 0 18px; }
#starter-notes .note-state-legend-r17 { margin-top: 0; }
#starter-notes .progression-strip-r17 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 12px;
  align-items: stretch;
}
#starter-notes .progression-strip-r17 > article {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 15px;
  border: 1px solid #d3dfd5;
  border-radius: 11px;
  background: #fbfcf9;
  text-align: left;
}
#starter-notes .progression-strip-r17 > article.is-current { border-color: #18774b; background: #f1faf3; box-shadow: 0 0 0 2px #d8eddf; }
#starter-notes .progression-strip-r17 > article > h3 { margin: 3px 0 8px; font-size: 1.02rem; line-height: 1.27; }
#starter-notes .progression-strip-r17 .note-select-button { align-self: flex-start; margin: 0 0 9px; padding: 6px 11px; min-height: 34px; font-size: .75rem; }
.note-view-stack-r17 { display: grid; gap: 10px; }
.note-view-card-r17 { min-width: 0; margin: 0; overflow: hidden; border: 1px solid #d7e1d8; border-radius: 8px; background: #fff; }
.note-view-label-r17 { display: block; padding: 7px 9px; background: #f1f6f1; color: #315344; font-size: .68rem; font-weight: 900; letter-spacing: .07em; }
.note-view-card-r17 img { display: block; width: 100%; height: auto; background: #f7f8f5; }
.note-where-view-r17 img { aspect-ratio: 900 / 680; object-fit: contain; }
.note-how-view-r17 img { aspect-ratio: 1983 / 793; object-fit: cover; }
.note-view-card-r17 figcaption { padding: 8px 9px; color: #5a6b63; font-size: .7rem; line-height: 1.38; }
.note-how-fallback-r17 { min-height: 142px; padding-bottom: 12px; background: #f7fbf7; }
.note-how-fallback-r17 > p { margin: 12px 12px 0; color: #43534b; font-size: .76rem; line-height: 1.45; }
.note-how-fallback-r17 .note-fallback-hint-r17 { margin-top: auto; padding-top: 10px; color: #176b44; font-weight: 750; }
.note-state-list-r17 { margin: 11px 0 12px; padding-top: 10px; border-top: 1px solid #dbe5dc; }
.note-state-list-r17 p { margin: 0 0 5px; color: #43534b; font-size: .73rem; line-height: 1.4; }
.note-state-list-r17 strong { color: #176b44; font-size: .68rem; letter-spacing: .045em; }
#starter-notes .note-routine-r17 { margin-top: auto; padding-top: 10px; border-top: 1px solid #dbe5dc; }
#starter-notes .note-routine-r17 div { grid-template-columns: 58px minmax(0, 1fr); gap: 6px; }
#starter-notes .note-routine-r17 dt { font-size: .63rem; }
#starter-notes .note-routine-r17 dd { font-size: .73rem; }
.progression-status-r17 { margin: 12px 0 17px; padding: 10px 12px; border-left: 4px solid #18774b; background: #edf7ee; color: #315344; font-size: .82rem; font-weight: 700; }
.bag-practice-r17 { margin: 18px 0; padding: 17px; border: 1px solid #cbd8d1; border-radius: 11px; background: #fbfcf9; }
.bag-practice-r17 h3 { margin: 3px 0 6px; font-size: 1.15rem; }
.bag-practice-r17 > p { color: #52615a; font-size: .83rem; line-height: 1.5; }
.bag-practice-r17 .beat-cell-grid { margin: 13px 0; padding: 0; }

#open-holes .open-hole-locator-r17 { max-width: 900px; margin: 20px auto 25px; }
#open-holes .open-hole-locator-r17 img { display: block; width: 100%; height: auto; object-fit: contain; }
.open-hole-target-note-r17 { margin: 0 auto 14px; max-width: 900px; color: #52615a; font-size: .85rem; line-height: 1.5; }
.open-hole-rebuild-r17 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto 22px;
  align-items: stretch;
}
.open-hole-state-card-r17 {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 14px;
  border: 1px solid;
  border-radius: 14px;
}
.open-hole-correct-r17 { border-color: #a7f3d0; background: rgba(236, 253, 245, .62); }
.open-hole-leak-r17 { border-color: #fda4af; background: rgba(255, 241, 242, .64); }
.open-hole-state-card-r17 .seal-photo-card { margin: 8px 0 12px; overflow: hidden; border: 1px solid rgba(148, 163, 184, .35); border-radius: 9px; background: #fff; }
.open-hole-state-card-r17 .seal-photo-card img { display: block; width: 100%; aspect-ratio: 1 / 1; max-height: 430px; object-fit: cover; }
.open-hole-state-card-r17 .seal-photo-card figcaption { padding: 8px 9px; color: #5a6b63; font-size: .7rem; line-height: 1.35; }
.open-hole-state-card-r17 h3 { margin: 0 0 6px; color: #17211d; font-size: 1.05rem; }
.open-hole-state-card-r17 > p { margin: 0 0 10px; color: #43534b; font-size: .82rem; line-height: 1.48; }
.open-hole-state-card-r17 .open-hole-checkline-r17 { margin-top: auto; margin-bottom: 0; padding: 9px 10px; border-radius: 7px; background: rgba(255,255,255,.7); font-size: .76rem; }
.open-hole-leak-r17 .open-hole-checkline-r17 { color: #881337; }
.plug-guidance-card-r17 { max-width: 1100px; margin: 0 auto; padding: 17px 19px; border: 1px solid #b8d6e4; border-radius: 11px; background: #f1f8fb; }
.plug-guidance-card-r17 h3 { margin-bottom: 5px; color: #214f62; font-size: 1.1rem; }
.plug-guidance-card-r17 p { margin-bottom: 8px; color: #435b64; font-size: .84rem; line-height: 1.48; }
.plug-guidance-card-r17 .warning-inline { margin-top: 10px; color: #7c3f1a; }
.open-hole-action-card-r17 { max-width: 1100px; margin-inline: auto; }

.assembly-scope-note {
  margin: 10px 0 15px;
  padding: 9px 11px;
  border-left: 4px solid #176f4e;
  border-radius: 6px;
  background: rgba(228, 243, 234, .72);
  color: #315347;
  font-size: .8rem;
  line-height: 1.45;
}
.plug-guidance-card-r18 { max-width: 1100px; margin: 0 auto; padding: 17px 19px; border: 1px solid #b8d6e4; border-radius: 11px; background: #f1f8fb; }
.plug-guidance-card-r18 h3 { margin-bottom: 5px; color: #214f62; font-size: 1.1rem; }
.plug-guidance-card-r18 > p { margin-bottom: 8px; color: #435b64; font-size: .84rem; line-height: 1.48; }
.plug-guidance-card-r18 .plug-generic-figure { margin: 14px 0 12px; overflow: hidden; border: 1px solid rgba(148, 163, 184, .4); border-radius: 10px; background: #fff; }
.plug-guidance-card-r18 .plug-generic-figure img { display: block; width: 100%; height: auto; }
.plug-guidance-card-r18 .plug-generic-figure figcaption { padding: 8px 10px; color: #435b64; font-size: .75rem; line-height: 1.4; }
.plug-step-grid-r18 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
.plug-step-grid-r18 article { min-width: 0; padding: 11px 12px; border: 1px solid #c6e0e9; border-radius: 9px; background: rgba(255,255,255,.78); }
.plug-step-grid-r18 h4 { margin: 0 0 4px; color: #214f62; font-size: .75rem; letter-spacing: .05em; }
.plug-step-grid-r18 p { margin: 0; color: #435b64; font-size: .76rem; line-height: 1.4; }
.plug-guidance-card-r18 .warning-inline { margin-top: 10px; color: #7c3f1a; }
.plug-guidance-card-r18 .small-parts-note { color: #5c676b; font-size: .75rem; }

#troubleshooting .joint-troubleshooting-card-r17[open] { border-color: #c96b73; box-shadow: 0 0 0 2px rgba(201, 107, 115, .13); }
#troubleshooting .joint-triage-r17 { padding-top: 1px; }
.joint-stop-warning-r17 { margin: 0 16px 16px; padding: 12px 13px; border: 1px solid #f0a4a7; border-left: 5px solid #c2152c; border-radius: 7px; background: #fff0f0; color: #6f1e25; font-size: .82rem; line-height: 1.45; }
.joint-stop-warning-r17 strong { display: inline; color: #b42332; font-size: .78rem; letter-spacing: .06em; }
.joint-beginner-sequence-r17 { margin: 0 16px 14px; padding-left: 1.35rem; }
.joint-beginner-sequence-r17 li { margin: 7px 0; color: #43534b; font-size: .82rem; line-height: 1.42; }
.joint-definitions-r17 { margin: 0 16px 10px; color: #5a6b63; font-size: .76rem; line-height: 1.45; }
.joint-help-link-r17 { margin: 0 16px 16px; font-size: .82rem; font-weight: 750; }
.joint-help-link-r17 a { color: #176b44; }

@media (max-width: 1050px) {
  #starter-notes .progression-strip-r17 { grid-template-columns: 1fr; }
  #starter-notes .progression-strip-r17 > article { max-width: 760px; margin-inline: auto; width: 100%; }
}

@media (max-width: 900px) {
  .joint-inspection-grid { grid-template-columns: 1fr; }
  .joint-inspection-card { min-height: 0; }
  .hold-before-card-r17,
  .key-action-layout-r17 { grid-template-columns: 1fr; }
  .hold-before-card-r17 figure { max-width: 620px; }
  .hold-support-grid-r17,
  .hold-next-steps-r17,
  .open-hole-rebuild-r17 { grid-template-columns: 1fr; }
  .hold-task-card-r17,
  .open-hole-state-card-r17 { max-width: 760px; margin-inline: auto; width: 100%; }
  .hold-mistake-grid-r17 { grid-template-columns: 1fr; }
  #first-sound-guide .master-key-map-panels { grid-template-columns: 1fr; }
  #first-sound-guide .master-key-map-panels > .master-physical-map { grid-column: auto; }
  .state-legend-r17 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #hold .hold-support-grid-r18 { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .joint-inspection-grid { gap: 10px; }
  .joint-inspection-card { padding: 12px; border-radius: 13px; }
  .joint-inspection-card-head span { font-size: .59rem; }
  .joint-inspection-card-head small { font-size: .62rem; }
  #assembly .grip-warning-visual .single-state-stage::before { left: 19%; top: 43%; }
  #assembly .grip-warning-visual .single-state-stage::after { right: 19%; top: 43%; }
  #assembly .single-assembly-photo .state-label.safe-label { font-size: .76rem; }
  #assembly .reach-thumb-label { left: 29%; top: 61%; }
  #assembly .reach-little-label { left: auto; right: 3%; top: 5%; }
  .air-text-fallback { margin-inline: 9px; }
  .air-rim-definitions { grid-template-columns: 1fr; margin-inline: 9px; }
  .air-photo-stage .air-direction-overlay text { font-size: 72px !important; stroke-width: 11px; }
  .air-photo-stage .air-direction-overlay path:nth-of-type(1) { stroke-width: 18px; }
  .air-photo-stage .air-direction-overlay path:nth-of-type(2) { transform: scale(2.2); transform-box: fill-box; transform-origin: center; }
  .air-photo-stage .air-direction-overlay path:nth-of-type(3),
  .air-photo-stage .air-direction-overlay path:nth-of-type(4) { stroke-width: 10px; }
  .hold-orientation-r17 { grid-template-columns: 1fr; gap: 4px; }
  .hold-orientation-r17 b { order: -1; }
  .hold-orientation-r17 span:last-child { order: 1; }
  #first-sound-guide .master-map-orientation-r17 { grid-template-columns: 1fr; gap: 4px; margin-inline: 10px; font-size: .64rem; }
  #first-sound-guide .master-map-orientation-r17 b { order: -1; }
  #first-sound-guide .master-map-orientation-r17 span:last-child { text-align: center; }
  #first-sound-guide .master-key-map-panels { padding-inline: 10px; }
  .sound-orientation-r17 { align-items: flex-start; flex-direction: column; gap: 4px; font-size: .72rem; }
  .sound-orientation-r17 b { order: -1; align-self: center; }
  .state-legend-r17 { grid-template-columns: 1fr; }
  .note-view-card-r17 figcaption { font-size: .74rem; }
  .plug-guidance-card-r17 { padding: 15px; }
  .plug-guidance-card-r18 { padding: 15px; }
  .plug-step-grid-r18 { grid-template-columns: 1fr; }
  .hold-posture-badge-r18 { max-width: 42%; padding: 5px 6px; font-size: .57rem; }
  .hold-posture-left-r18 { top: 3%; right: 2%; }
  .hold-posture-right-r18 { top: 3%; left: 2%; }
  .hold-posture-chin-r18 { right: 2%; bottom: 3%; }
  .hand-side-legend-r18 { grid-template-columns: 1fr; }
  .fingering-action-list-r18 > div { grid-template-columns: 66px minmax(0, 1fr); }
  #starter-notes .beat-cell-grid-r18 { grid-template-columns: 1fr; }
  #starter-notes .beat-cell-grid-r18 > div { min-height: 0; }
}

@media (max-width: 380px) {
  .joint-inspection-card-head { align-items: flex-start; flex-direction: column; }
  .joint-inspection-card-head small { text-align: left; }
  #assembly .grip-warning-visual .single-state-stage::before { left: 14%; }
  #assembly .grip-warning-visual .single-state-stage::after { right: 14%; }
  .hold-remember-r17 ul { grid-template-columns: 1fr; }
  .balance-check-visual-r17 { grid-template-columns: 1fr; gap: 4px; }
}

@media print {
  .joint-inspection-grid,
  .hold-support-grid-r17,
  .hold-next-steps-r17,
  .open-hole-rebuild-r17,
  #starter-notes .progression-strip-r17 { break-inside: avoid; }
  .joint-inspection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plug-step-grid-r18 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hold-support-grid-r17,
  .hold-next-steps-r17,
  .open-hole-rebuild-r17 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #starter-notes .progression-strip-r17 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #starter-notes .progression-strip-r17 > article { break-inside: avoid; }
  #hold .hold-support-grid-r18 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #starter-notes .beat-cell-grid-r18 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #starter-notes .beat-cell-grid-r18 > div { break-inside: avoid; }
  .air-photo-stage { display: none; }
  .air-text-fallback { display: block; margin-inline: 0; background: #fff; border: 1px solid #5d6d72; }
  .air-rim-definitions { margin-inline: 0; }
  .air-rim-definitions span { border-color: #777; }
}

#open-holes .open-hole-rebuild-r17 {
  grid-template-columns: 1fr;
  max-width: 760px;
}
#open-holes .open-hole-card-badge.badge-bad { font-size: .68rem; }
#open-holes .open-hole-card-badge.badge-bad::before { content: none; }

@media print {
  #open-holes .open-hole-rebuild-r17 { grid-template-columns: 1fr; }
}

/* R19 beginner visual corrections: every comparison state is framed and explained. */
.comparison-visual-r19 {
  position: relative;
  overflow: hidden;
  border: 1px solid #cbd8d1;
  border-radius: 12px;
  background: #fffdf7;
}
.comparison-visual-r19 > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  border: 0 !important;
  border-radius: 0 !important;
}
.comparison-overlay-r19 { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.comparison-frame-r19 { fill: none; stroke-width: 10; vector-effect: non-scaling-stroke; }
.comparison-frame-r19.is-correct-r19 { stroke: #17834f; }
.comparison-frame-r19.is-wrong-r19 { stroke: #c72f3b; }
.comparison-badge-r19 rect { stroke: #fff; stroke-width: 4; }
.comparison-badge-r19 text { fill: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 24px; font-weight: 900; letter-spacing: .8px; }
.comparison-badge-r19.is-correct-r19 rect { fill: #17834f; }
.comparison-badge-r19.is-wrong-r19 rect { fill: #c72f3b; }
.comparison-caption-grid-r19 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.comparison-caption-grid-r19 li {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid #cbd8d1;
  border-top-width: 4px;
  border-radius: 8px;
  background: #fff;
  color: #35483f;
  font-size: .76rem;
  line-height: 1.38;
}
.comparison-caption-grid-r19 li.is-correct-r19 { border-top-color: #17834f; }
.comparison-caption-grid-r19 li.is-wrong-r19 { border-top-color: #c72f3b; background: #fff8f8; }
.comparison-caption-grid-r19 strong { display: block; margin-bottom: 3px; font-size: .69rem; letter-spacing: .04em; }
.comparison-caption-grid-r19 li.is-correct-r19 strong { color: #176f4e; }
.comparison-caption-grid-r19 li.is-wrong-r19 strong { color: #b42332; }
.comparison-caption-grid-duo-r19 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.hold-posture-stage-r18 { aspect-ratio: 1370 / 1148; }
.hold-posture-stage-r18 > img { aspect-ratio: 1370 / 1148; object-fit: contain; }
.hold-posture-overlay-r19 { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hold-posture-overlay-r19 path { fill: none; stroke: #176f4e; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.hold-posture-overlay-r19 circle { fill: #176f4e; stroke: #fff; stroke-width: 4; vector-effect: non-scaling-stroke; }
.hold-posture-badge-r18 {
  max-width: 31%;
  padding: 8px 10px;
  font-size: .78rem;
  line-height: 1.25;
  letter-spacing: .02em;
}
.hold-posture-badge-r18 small { display: inline; color: #52615a; font-size: .74rem; font-weight: 750; letter-spacing: 0; }
.hold-posture-left-r18 { top: 14%; right: 3%; }
.hold-posture-right-r18 { top: 18%; left: 3%; }
.hold-posture-chin-r18 { top: 40%; right: 3%; bottom: auto; }
.balance-marker-lip-r18 { top: 4%; left: auto; right: 4%; }
.balance-marker-left-r18 { top: 25%; bottom: auto; left: 4%; }
.balance-marker-thumb-r18 { top: auto; bottom: 10%; left: 4%; right: auto; }
.flute-nerd-beginner-note-r19 {
  display: grid;
  grid-template-columns: minmax(190px, .7fr) minmax(0, 1.3fr);
  gap: 8px 22px;
  margin: 0 0 22px;
  padding: 15px 17px;
  border: 1px solid #c7d9d0;
  border-left: 5px solid #176f4e;
  border-radius: 10px;
  background: #f5faf6;
  color: #315344;
}
.flute-nerd-beginner-note-r19 h3 { margin: 0; font-size: 1.05rem; }
.flute-nerd-beginner-note-r19 ul { margin: 0; padding-left: 19px; }
.flute-nerd-beginner-note-r19 li { margin: 4px 0; line-height: 1.42; }
.flute-nerd-beginner-note-r19 .caption { grid-column: 1 / -1; margin: 0; }
.flute-nerd-beginner-note-r19 a { color: #176f4e; font-weight: 800; }

@media (max-width: 900px) {
  .flute-nerd-beginner-note-r19 { grid-template-columns: 1fr; gap: 8px; }
  .flute-nerd-beginner-note-r19 .caption { grid-column: auto; }
}

@media (max-width: 600px) {
  .comparison-caption-grid-r19,
  .comparison-caption-grid-duo-r19 { grid-template-columns: 1fr; }
  .comparison-badge-r19 text { font-size: 30px; }
  .hold-posture-badge-r18 { max-width: 39%; padding: 6px 7px; font-size: .64rem; }
  .hold-posture-badge-r18 small { font-size: .61rem; }
  .hold-posture-left-r18 { top: 10%; right: 2%; }
  .hold-posture-right-r18 { top: 13%; left: 2%; }
  .hold-posture-chin-r18 { top: 37%; right: 2%; }
}

@media print {
  .comparison-visual-r19,
  .comparison-caption-grid-r19,
  .flute-nerd-beginner-note-r19 { break-inside: avoid; }
  .comparison-caption-grid-r19 li { background: #fff; color: #111; }
  .comparison-frame-r19.is-correct-r19 { stroke: #111; }
  .comparison-frame-r19.is-wrong-r19 { stroke: #555; stroke-dasharray: 18 10; }
  .comparison-badge-r19.is-correct-r19 rect { fill: #111; }
  .comparison-badge-r19.is-wrong-r19 rect { fill: #555; }
}

/* R20 integrated Flute Nerd route: visible teaching is merged; originals stay expandable. */
.merged-source-module,
.merged-course-map {
  margin: 28px 0;
  padding: 22px;
  border: 1px solid #bfd8c7;
  border-radius: 12px;
  background: #f5faf6;
  box-shadow: 0 7px 18px rgba(33, 76, 52, .07);
}
.merged-source-heading { margin-bottom: 16px; }
.merged-source-heading h3,
.merged-course-map h3 { margin: 3px 0 8px; color: #174b35; }
.merged-source-heading > p:last-child,
.merged-course-map > div > p:last-child { max-width: 78ch; color: #425c4c; }
.merged-source-topic-grid,
.merged-course-map-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 17px 0;
  padding: 0;
  list-style: none;
}
.merged-source-topic-grid article,
.merged-course-map-grid li {
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid #cfe1d3;
  border-radius: 9px;
  background: rgba(255, 255, 255, .82);
}
.merged-source-topic-grid h4,
.merged-course-map-grid strong { display: block; margin: 0 0 5px; color: #176f4e; font-size: .88rem; }
.merged-source-topic-grid p,
.merged-course-map-grid a { margin: 0; color: #4b6254; font-size: .8rem; line-height: 1.45; }
.merged-course-map-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.merged-course-map-grid a { display: block; color: #176f4e; font-weight: 800; text-decoration: none; }
.merged-course-map-grid a:hover { text-decoration: underline; }
.merged-source-steps {
  display: grid;
  gap: 7px;
  margin: 17px 0;
  padding: 14px 18px 14px 34px;
  border-left: 4px solid #176f4e;
  border-radius: 0 8px 8px 0;
  background: #eaf6ed;
  color: #315344;
}
.merged-source-steps li { padding-left: 3px; line-height: 1.48; }
.merged-source-figure-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 17px;
}
.merged-source-figure,
.merged-current-figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #cfe1d3;
  border-radius: 9px;
  background: #fff;
}
.merged-source-figure img,
.merged-current-figure img { display: block; width: 100%; height: auto; max-height: 360px; object-fit: contain; }
.merged-source-figure figcaption,
.merged-current-figure figcaption {
  display: grid;
  gap: 4px;
  padding: 10px 11px 12px;
  border-top: 1px solid #dce9de;
  color: #4b6254;
  font-size: .72rem;
  line-height: 1.4;
}
.merged-source-figure figcaption strong,
.merged-current-figure figcaption strong { color: #176f4e; font-size: .8rem; }
.merged-source-credit,
.merged-current-credit { color: #687a6d; font-size: .69rem; }
.merged-source-attribution { margin: 15px 0 0; color: #536a5a; font-size: .78rem; line-height: 1.5; }
.merged-source-attribution a { color: #176f4e; font-weight: 800; }
.source-legacy-details,
.legacy-content-details {
  margin: 22px 0;
  border: 1px dashed #c9c2ae;
  background: #fbfaf5;
}
.source-legacy-details > summary,
.legacy-content-details > summary { color: #665c4b; font-size: .9rem; }
.source-legacy-details > .source-preview-block { margin: 14px 0 0; }
.legacy-content-details > .lesson-step:first-of-type { margin-top: 0; }
.merged-hold-source-note .merged-source-figure-grid { grid-column: 1 / -1; margin-top: 7px; }
.merged-hold-source-note .merged-source-attribution { grid-column: 1 / -1; }
.merged-hold-figure-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 980px) {
  .merged-source-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .merged-course-map-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .merged-source-figure-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .merged-hold-figure-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .merged-source-module,
  .merged-course-map { margin: 22px 0; padding: 14px; }
  .merged-source-topic-grid,
  .merged-course-map-grid,
  .merged-source-figure-grid,
  .merged-hold-figure-grid { grid-template-columns: 1fr; }
  .merged-source-figure figcaption,
  .merged-current-figure figcaption { font-size: .75rem; }
}

@media print {
  .merged-source-module,
  .merged-course-map,
  .legacy-content-details,
  .source-legacy-details { break-inside: avoid; }
}

/* R18-A4 instructional visual corrections */
#preparing-to-play .first-sound-four-checks img,
#preparing-to-play .first-sound-correct-wrong img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #f7f5ef;
}
#preparing-to-play .first-sound-four-checks img { aspect-ratio: 3 / 2; }
#preparing-to-play .first-sound-correct-wrong img { aspect-ratio: 2 / 1; }

#hold .hold-before-card-r17 {
  grid-template-columns: 1fr;
}
#hold .hold-before-card-r17 figure { grid-row: 1; }
#hold .hold-before-card-r17 > div { grid-row: 2; }
#hold .hold-before-card-r17 figure img { aspect-ratio: 1370 / 1148; object-fit: contain; }
#hold .hold-before-card-r17 figure,
#hold .hold-before-card-r17 > div { width: 100%; max-width: 980px; margin-inline: auto; }
#hold .hold-support-grid-r18,
#hold .hold-next-steps-r17 { grid-template-columns: 1fr; max-width: 980px; margin-inline: auto; }
#hold .hold-task-card-r17 { width: 100%; }
#hold .hold-chin-figure-r18 { margin-top: 10px; }

.balance-check-visual-r17 {
  display: block;
  min-height: 0;
  padding: 10px;
  text-align: left;
}
.balance-photo-stage-r18 {
  position: relative;
  overflow: hidden;
  min-height: 0;
  border: 1px solid #c6d9cb;
  border-radius: 8px;
  background: #f2eee7;
}
.balance-photo-stage-r18 img {
  display: block;
  width: 100%;
  aspect-ratio: 1370 / 1148;
  object-fit: cover;
}
.balance-overlay-r18 { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.balance-marker-r18,
.balance-test-r18 {
  position: absolute;
  z-index: 1;
  max-width: 32%;
  padding: 5px 7px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 6px;
  background: rgba(24, 74, 54, .9);
  color: #fff;
  font-size: .64rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: .02em;
}
.balance-marker-lip-r18 { top: 6%; left: 4%; }
.balance-marker-left-r18 { bottom: 12%; left: 4%; }
.balance-marker-thumb-r18 { bottom: 12%; right: 4%; }
.balance-test-r18 { top: 6%; right: 4%; background: rgba(8, 120, 170, .92); }

.finger-context-figure-r18 {
  margin: 12px 0 0;
  overflow: hidden;
  border: 1px solid #d7e1d8;
  border-radius: 8px;
  background: #f2eee7;
}
.finger-context-figure-r18 img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.finger-context-figure-r18 figcaption { padding: 8px 9px; color: #5a6b63; font-size: .72rem; line-height: 1.38; }

.key-action-layout-r17 .photo-card img { aspect-ratio: 2 / 1; object-fit: cover; }
.key-action-layout-r17 .photo-card { position: relative; }
.key-action-overlay-stage-r18 { position: absolute; inset: 0 auto auto 0; width: 100%; aspect-ratio: 2 / 1; pointer-events: none; }
.key-action-overlay-r18 { position: absolute; inset: 0; width: 100%; height: 100%; }
.key-action-visual-r18 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 12px;
}
.key-action-arrow,
.key-action-release-r18 {
  display: block;
  padding: 8px 7px;
  border-radius: 7px;
  font-size: .65rem;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}
.key-action-press-r18 { background: #e8f7ee; color: #047857; }
.key-action-support-r18 { background: #eaf6fb; color: #075985; }
.key-action-release-r18 { background: #fff5e7; color: #b45309; }
.b-fingering-figure-r18 { max-width: 980px; margin: 18px auto; }
.b-fingering-figure-r18 img { display: block; width: 100%; height: auto; background: #f7f5ef; }
.b-fingering-figure-r18 figcaption { padding: 9px 11px; color: #52615a; font-size: .76rem; line-height: 1.4; }

.key-map-real-figure-r18 { margin: 11px 0 13px; overflow: hidden; border: 1px solid #d7e1d8; border-radius: 8px; background: #f2eee7; }
.key-map-real-figure-r18 img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.key-map-real-figure-r18 figcaption { padding: 8px 9px; color: #5a6b63; font-size: .72rem; line-height: 1.38; }

#sound-place .sound-place-figure { position: relative; }
.placement-overlay-stage-r18 { position: absolute; inset: 0 auto auto 0; width: 100%; aspect-ratio: 3 / 2; pointer-events: none; }
.placement-overlay-r18 { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.placement-bright-r12 { filter: brightness(1.06) saturate(1.05); }
#sound-place .sound-place-figure figcaption { position: relative; }

.holding-orientation-figure-r11 { position: relative; }
.holding-hand-labels-r12 { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.holding-hand-label-r12 { position: absolute; top: 3.5%; padding: 6px 10px; border: 2px solid #006fb3; border-radius: 5px; background: #ffffffed; color: #006fb3; font-size: clamp(.7rem, 1.15vw, .98rem); font-weight: 900; letter-spacing: .08em; line-height: 1.1; }
.holding-left-label-r12 { left: 5%; }
.holding-right-label-r12 { right: 5%; }

#starter-notes .progression-strip-r17 {
  grid-template-columns: 1fr;
  max-width: 980px;
  margin-inline: auto;
}
#starter-notes .progression-strip-r17 > article {
  position: relative;
  max-width: 980px;
  margin-inline: auto;
  width: 100%;
}
.keep-down-r18 {
  margin: -3px 0 10px;
  padding: 7px 9px;
  border-left: 4px solid #b45309;
  border-radius: 0 6px 6px 0;
  background: #fff6e6;
  color: #8a4a08;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .035em;
}
.note-diff-r18 {
  display: block;
  margin: 8px 9px 10px;
  padding: 6px 8px;
  border-radius: 6px;
  background: #eef8f0;
  color: #176f4e;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .03em;
}
#note-a-r17 .note-diff-r18,
#note-g-r17 .note-diff-r18 { background: #fff1dd; color: #b45309; }

.open-hole-posture-compare-r18 {
  max-width: 760px;
  margin: 18px auto 0;
  padding: 16px;
  border: 1px solid #d5e0da;
  border-radius: 11px;
  background: #fbfcf9;
}
.open-hole-posture-compare-r18 h3 { margin: 3px 0 12px; font-size: 1.1rem; }
.posture-compare-grid-r18 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.posture-compare-grid-r18 article { min-width: 0; padding: 10px; border: 1px solid #d7e1d8; border-radius: 8px; background: #fff; }
.posture-compare-good-r18 { border-top: 4px solid #176f4e !important; }
.posture-compare-bad-r18 { border-top: 4px solid #bd3039 !important; }
.posture-compare-art-r18 { overflow: hidden; margin-bottom: 8px; border-radius: 6px; background: #f7f5ef; }
.posture-compare-art-r18 svg { display: block; width: 100%; height: auto; }
.posture-compare-grid-r18 strong { display: block; font-size: .72rem; line-height: 1.25; }
.posture-compare-grid-r18 p { margin: 5px 0 0; color: #52615a; font-size: .74rem; line-height: 1.4; }

.balance-forces-r19 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 0;
}
.balance-forces-r19 article {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid #c7d9d0;
  border-top: 4px solid #176f4e;
  border-radius: 8px;
  background: #f7fbf7;
}
.balance-forces-r19 article:nth-child(2) { border-top-color: #0878aa; }
.balance-forces-r19 article:nth-child(3) { border-top-color: #b45309; }
.balance-forces-r19 b { display: block; color: #174b35; font-size: .69rem; line-height: 1.25; }
.balance-forces-r19 span { display: block; margin-top: 4px; color: #52615a; font-size: .72rem; line-height: 1.35; }

.key-action-checklist-r19 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 12px;
}
.key-action-checklist-r19 span {
  display: block;
  padding: 7px 8px;
  border: 1px solid #d2dfd6;
  border-radius: 6px;
  background: #fff;
  color: #52615a;
  font-size: .7rem;
  line-height: 1.35;
}
.key-action-checklist-r19 b { display: block; color: #176f4e; font-size: .66rem; letter-spacing: .04em; }

.note-staff-card-r19 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 250px);
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  padding: 9px 12px;
  border: 1px solid #d7e1d8;
  border-radius: 8px;
  background: #fffdf4;
}
.note-staff-label-r19 { min-width: 0; }
.note-staff-label-r19 b { display: block; color: #176f4e; font-size: 1.1rem; line-height: 1.15; }
.note-staff-label-r19 span { display: block; margin-top: 3px; color: #52615a; font-size: .65rem; font-weight: 800; letter-spacing: .04em; line-height: 1.3; }
.note-staff-svg-r19 { display: block; width: 100%; height: auto; }
.note-orientation-photo-r19 { margin: 0 0 8px; overflow: hidden; border: 1px solid #d7e1d8; border-radius: 7px; background: #f2eee7; }
.note-orientation-photo-r19 img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.note-orientation-photo-r19 figcaption { padding: 6px 8px; color: #52615a; font-size: .68rem; line-height: 1.35; }

@media (max-width: 700px) {
  .balance-forces-r19 { grid-template-columns: 1fr; }
  .key-action-checklist-r19 { grid-template-columns: 1fr; }
  .note-staff-card-r19 { grid-template-columns: 1fr; }
  .note-staff-svg-r19 { max-width: 250px; }
}

@media (max-width: 600px) {
  .balance-marker-r18,
  .balance-test-r18 { max-width: 45%; font-size: .56rem; }
  .balance-photo-stage-r18 { min-height: 0; }
  .key-action-visual-r18 { grid-template-columns: 1fr; }
  .posture-compare-grid-r18 { grid-template-columns: 1fr; }
  .placement-overlay-r18 text { font-size: 42px; }
  .placement-overlay-r18 line { stroke-width: 12; }
  .placement-overlay-r18 path { stroke-width: 10; }
}

@media print {
  #hold .hold-before-card-r17,
  #hold .hold-support-grid-r18,
  #hold .hold-next-steps-r17,
  .open-hole-posture-compare-r18,
  #starter-notes .progression-strip-r17 { break-inside: avoid; }
  #hold .hold-before-card-r17 { grid-template-columns: 1fr; }
  .balance-marker-r18,
  .balance-test-r18 { background: #fff; color: #111; border-color: #555; }
}

#preparing-to-play .preparation-stack { grid-template-columns: minmax(0, 1fr); gap: 16px; }
#preparing-to-play .preparation-stack > .photo-card { grid-row: 1; }
#preparing-to-play .preparation-stack > .checklist-card { grid-row: 2; }
#preparing-to-play .preparation-stack .photo-card img { height: auto; aspect-ratio: auto; object-fit: contain; }
#preparing-to-play .preparation-stack .simple-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
#preparing-to-play .preparation-stack .simple-steps li { margin-bottom: 0; }

#flute-nerd-merged-first-sound .merged-source-figure-grid,
#flute-nerd-merged-assembly .merged-source-figure-grid,
#hold .merged-hold-figure-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
#hold .merged-hold-source-note { grid-template-columns: minmax(0, 1fr); }
#flute-nerd-merged-first-notes .merged-source-figure-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
#flute-nerd-merged-first-sound .merged-source-figure img,
#flute-nerd-merged-first-sound .merged-current-figure img,
#flute-nerd-merged-assembly .merged-source-figure img,
#hold .merged-hold-figure-grid img,
#flute-nerd-merged-first-notes .merged-source-figure img { width: 100%; height: auto; max-height: none; aspect-ratio: auto; object-fit: contain; }
#flute-nerd-merged-first-sound .merged-source-figure figcaption,
#hold .merged-hold-figure-grid figcaption { padding: 14px 16px; font-size: .9rem; line-height: 1.5; }

.hold-contact-stage-r2 { position: relative; height: auto; min-height: 0; aspect-ratio: auto; padding-bottom: 8.759124%; background: #e9e9e7; }
.hold-contact-stage-r2 > img { display: block; width: 100%; height: auto; min-height: 0; max-height: none; aspect-ratio: 1370 / 1148; object-fit: contain; }
.hold-contact-overlay-r2 { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hold-contact-overlay-r2 path { fill: none; stroke: #086443; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.hold-contact-overlay-r2 .contact-point-r2 { fill: #086443; stroke: #fff; stroke-width: 3; }
.hold-contact-overlay-r2 .contact-number-r2 circle { fill: #086443; stroke: #fff; stroke-width: 3; }
.hold-contact-overlay-r2 text { fill: #fff; text-anchor: middle; font: 800 32px Arial, sans-serif; }
.hold-contact-labels-r2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 0; background: #e9e9e7; }
.hold-contact-labels-r2 > div { min-width: 0; padding: 10px 13px 15px; }
.hold-contact-labels-r2 strong { display: block; color: #145138; font-size: .86rem; line-height: 1.4; }
.hold-contact-labels-r2 p { margin: 6px 0 0; color: #35463d; font-size: .81rem; line-height: 1.5; }
#hold .balance-check-visual-r17 { padding: 0; background: #e9e9e7; }
.balance-test-note-r2 { margin: 0; padding: 13px 16px; color: #35463d; background: #f5faf6; font-size: .88rem; line-height: 1.5; }

#sound-key-action .key-action-layout-r17 { grid-template-columns: minmax(0, 1fr); gap: 18px; }
#sound-key-action .key-action-layout-r17 .photo-card img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
#starter-notes .beginner-route-r17 { display: block; padding: 22px; }
#starter-notes .beginner-route-r17 h3 { max-width: 30ch; margin: 6px 0 12px; font-size: clamp(1.2rem, 2.4vw, 1.65rem); line-height: 1.3; }
#starter-notes .beginner-route-r17 > p { max-width: 80ch; }
.starter-route-steps-r2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0; padding: 0; list-style: none; counter-reset: starter-route; }
.starter-route-steps-r2 li { counter-increment: starter-route; min-width: 0; padding: 13px; border: 1px solid #c8dacf; border-radius: 8px; background: #fff; }
.starter-route-steps-r2 li::before { content: counter(starter-route); display: inline-grid; place-items: center; width: 26px; height: 26px; margin-bottom: 8px; border-radius: 50%; background: #176f4e; color: #fff; font-weight: 800; }
.starter-route-steps-r2 strong { display: block; color: #174b35; font-size: .94rem; }
.starter-route-steps-r2 span { display: block; margin-top: 5px; color: #4b6254; font-size: .86rem; line-height: 1.5; }

#sound-map .master-physical-map > picture { display: block; }
.key-map-real-figure-r18 img,
.master-physical-map > picture > img,
.finger-number-legend-panel > img,
.b-fingering-figure-r18 img { display: block; width: 100%; height: auto; min-height: 0; max-height: none; aspect-ratio: auto; object-fit: contain; }
#sound-map .finger-number-legend-panel,
#sound-map .simplified-fingering-panel { grid-column: 1 / -1; }
.physical-map-subtitle-r2 { margin: 24px 0 8px; color: #174b35; font-size: 1.1rem; }
.finger-name-key-r2 { padding: 12px 14px; border-radius: 8px; background: #eaf6ed; color: #315344; font-size: .92rem; line-height: 1.6; }
.auxiliary-key-reference-r2 { margin-top: 18px; }
.auxiliary-key-reference-r2 figure { max-width: 720px; margin: 18px auto; }
.auxiliary-key-reference-r2 img { display: block; width: 100%; height: auto; max-height: none; aspect-ratio: auto; object-fit: contain; }

#open-holes .seal-photo-card img { width: 100%; height: auto; max-height: none; aspect-ratio: auto; object-fit: contain; }
.posture-compare-art-r18 img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.posture-compare-art-r18 figcaption { padding: 8px 10px; color: #52615a; background: #f4f7f4; font-size: .79rem; line-height: 1.4; }
.posture-compare-grid-r18 strong { font-size: .88rem; }
.posture-compare-grid-r18 p { font-size: .86rem; line-height: 1.5; }
.plug-photo-pair-r2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 16px; }
.plug-photo-pair-r2 > div { min-width: 0; overflow: hidden; border: 1px solid #d7e1d8; border-radius: 8px; background: #fff; }
#ring-key-plugs .plug-photo-pair-r2 img { width: 100%; height: auto; aspect-ratio: auto; max-height: none; object-fit: contain; }
.plug-photo-pair-r2 p { margin: 0; padding: 10px 12px; font-size: .87rem; line-height: 1.4; }
.plug-photo-pair-r2 .plug-photo-label-r2 { color: #174b35; background: #edf5ee; font-size: .79rem; font-weight: 850; }

@media (max-width: 600px) {
  #preparing-to-play .preparation-stack .simple-steps,
  #flute-nerd-merged-first-notes .merged-source-figure-grid,
  .hold-contact-labels-r2,
  .starter-route-steps-r2 { grid-template-columns: minmax(0, 1fr); }
  .plug-photo-pair-r2 { grid-template-columns: minmax(0, 1fr); padding: 10px; }
  .hold-contact-labels-r2 > div { padding: 10px 13px; border-top: 1px solid #ced3cf; }
  .hold-contact-labels-r2 strong { font-size: .9rem; }
  .hold-contact-labels-r2 p { font-size: .85rem; }
  #starter-notes .beginner-route-r17 { padding: 16px; }
}

@media print {
  .hold-contact-labels-r2 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hold-contact-overlay-r2 path { stroke: #111; }
  .hold-contact-overlay-r2 .contact-point-r2,
  .hold-contact-overlay-r2 .contact-number-r2 circle { fill: #111; }
  .starter-route-steps-r2 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .key-map-real-figure-r18 img,
  .master-physical-map > picture > img,
  .b-fingering-figure-r18 img,
  .auxiliary-key-reference-r2 img,
  #flute-nerd-merged-first-sound .merged-source-figure img,
  #flute-nerd-merged-first-sound .merged-current-figure img,
  #flute-nerd-merged-assembly .merged-source-figure img,
  #hold .merged-hold-figure-grid img,
  #flute-nerd-merged-first-notes .merged-source-figure img { width: auto; max-width: 100%; height: auto; max-height: 180mm; margin-inline: auto; object-fit: contain; }
  #hold .hold-before-card-r17 figure,
  #hold .balance-check-visual-r17 { max-width: 150mm; margin-inline: auto; }
}

.route-button-r3 {
  display: flex;
  min-height: 92px;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding: 12px 13px;
  border: 1px solid #a9cdb4;
  border-radius: 9px;
  background: #f0faf2;
  color: #174b35 !important;
  font-size: .82rem !important;
  font-weight: 800;
  line-height: 1.4 !important;
  text-decoration: none !important;
}
.route-button-r3:hover,
.route-button-r3:focus-visible { border-color: #176f4e; background: #e0f3e5; box-shadow: 0 0 0 3px rgba(23, 111, 78, .16); }
.route-button-r3 b { align-self: flex-start; color: #176f4e; font-size: .72rem; letter-spacing: .03em; }
#parts .landmark-trigger {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid #b7d1bf;
  border-radius: 7px;
  background: #f2faf3;
  color: #176f4e;
  font: inherit;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}
#parts .landmark-trigger:hover,
#parts .landmark-trigger:focus-visible,
#parts .landmark-trigger.is-active { border-color: #176f4e; background: #dff2e4; color: #123f2c; box-shadow: 0 0 0 3px rgba(23, 111, 78, .14); }

#preparing-to-play .preparation-stack { display: flex; flex-direction: column; gap: 18px; }
#preparing-to-play .preparation-stack > .photo-card { order: 1; width: 100%; }
#preparing-to-play .preparation-stack > .checklist-card { order: 2; width: 100%; }
#preparing-to-play .preparation-stack .photo-card img { width: 100%; height: auto; max-height: none; object-fit: contain; }
#preparing-to-play .preparation-stack .photo-card figcaption { max-width: 80ch; margin-inline: auto; }
#preparing-to-play .preparation-stack .simple-steps { grid-template-columns: minmax(0, 1fr); }

#flute-nerd-merged-first-sound .merged-source-figure-grid,
#flute-nerd-merged-assembly .merged-source-figure-grid,
#hold .merged-hold-figure-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
#flute-nerd-merged-first-sound .merged-source-figure,
#flute-nerd-merged-assembly .merged-source-figure,
#hold .merged-hold-figure-grid .merged-source-figure { width: 100%; }
#flute-nerd-merged-first-sound .merged-source-figure img,
#flute-nerd-merged-assembly .merged-source-figure img,
#hold .merged-hold-figure-grid img { width: 100%; max-width: none; max-height: none; object-fit: contain; }
#flute-nerd-merged-assembly .merged-source-figure img { min-height: 240px; }

.hold-support-image-stage-r3 { position: relative; overflow: hidden; background: #e9e9e7; }
.hold-support-image-stage-r3 > img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.hold-support-annotation-r3 { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hold-annotation-label-r3 { fill: rgba(18, 75, 53, .95); stroke: rgba(255, 255, 255, .92); stroke-width: 3; }
.hold-annotation-label-secondary-r3 { fill: rgba(10, 94, 73, .9); }
.hold-annotation-title-r3,
.hold-annotation-copy-r3 { fill: #fff; font-family: Arial, Helvetica, sans-serif; paint-order: stroke fill; stroke: rgba(18, 75, 53, .4); stroke-width: 1.5px; }
.hold-annotation-title-r3 { font-size: 18px; font-weight: 900; letter-spacing: .03em; }
.hold-annotation-copy-r3 { font-size: 15px; font-weight: 700; }
.hold-annotation-line-r3 { fill: none; stroke: #0a7650; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.hold-annotation-point-r3 { fill: #0a7650; stroke: #fff; stroke-width: 4; }
.hold-before-card-r17 figure img { aspect-ratio: 1024 / 572; object-fit: contain; }
.hold-before-card-r17 figure figcaption { display: none; }
.balance-annotated-image-r3 { margin: 0; overflow: hidden; border: 1px solid #c6d9cb; border-radius: 8px; background: #f2eee7; }
.balance-annotated-image-r3 img { display: block; width: 100%; height: auto; aspect-ratio: 1024 / 765; object-fit: contain; }
.balance-annotated-image-r3 figcaption { padding: 8px 10px; color: #315344; background: #f3faf4; font-size: .74rem; line-height: 1.4; }
.balance-test-note-r2 { border: 1px solid #8bc49b; border-left: 5px solid #176f4e; border-radius: 7px; background: #e4f5e8; color: #123f2c; font-weight: 750; }
.balance-test-note-r2 strong { color: #075b3b; font-weight: 950; }

.key-action-motion-r3 { margin-top: 14px; padding: 13px; border: 1px solid #b9d6c1; border-radius: 9px; background: #f1faf3; }
.motion-key-stage-r3 { position: relative; height: 118px; overflow: hidden; border-radius: 7px; background: linear-gradient(#eef4f1 0 54%, #cbd8d4 55% 64%, #eef4f1 65%); }
.motion-key-r3 { position: absolute; left: 50%; top: 58px; width: 126px; height: 42px; transform: translateX(-50%); border: 4px solid #607570; border-radius: 22px; background: linear-gradient(#fff, #aebfbc 48%, #f7fbf9); box-shadow: 0 5px 0 rgba(72, 96, 88, .24); }
.motion-finger-r3 { position: absolute; z-index: 1; left: calc(50% - 31px); top: 8px; width: 62px; height: 78px; transform-origin: 50% 100%; border: 3px solid #8e5b46; border-radius: 28px 28px 20px 20px; background: linear-gradient(90deg, #f0b69b, #d58a6c 55%, #f3baa0); box-shadow: inset 11px 0 0 rgba(255, 255, 255, .23); animation: key-press-loop-r3 2.8s ease-in-out infinite; }
.motion-finger-r3::after { content: ''; position: absolute; left: 13px; top: 9px; width: 35px; height: 20px; border: 2px solid rgba(255, 238, 231, .85); border-radius: 16px 16px 8px 8px; background: rgba(255, 241, 235, .45); }
.motion-key-label-r3 { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); color: #174b35; font-size: .68rem; font-weight: 900; letter-spacing: .08em; }
.key-action-motion-r3 p { margin: 9px 0 0; color: #315344; font-size: .78rem; line-height: 1.42; text-align: center; }
.key-action-motion-r3 p strong { color: #176f4e; }
@keyframes key-press-loop-r3 { 0%, 22% { transform: translateY(0) rotate(0deg); } 38%, 62% { transform: translateY(40px) rotate(2deg); } 78%, 100% { transform: translateY(0) rotate(0deg); } }
@media (prefers-reduced-motion: reduce) { .motion-finger-r3 { animation: none; transform: translateY(26px); } }

.compact-note-state-figure-r3,
.b-fingering-figure-r18 { width: 100%; max-width: 1100px; margin-inline: auto; }
.compact-note-state-figure-r3 img,
.b-fingering-figure-r18 img,
#starter-notes .note-where-view-r17 img { display: block; width: 100%; height: auto; max-height: none; aspect-ratio: 1400 / 720; object-fit: contain; background: #f7faf8; }
.compact-note-state-figure-r3 figcaption,
.b-fingering-figure-r18 figcaption { padding: 9px 11px; color: #315344; background: #eef8f0; font-size: .78rem; line-height: 1.42; }
.secondary-finger-map-r3 { margin-top: 18px; padding: 8px 12px 14px; border: 1px dashed #b7cfc0; border-radius: 8px; background: #f7fbf8; }
.secondary-finger-map-r3 > summary { color: #176f4e; font-weight: 850; cursor: pointer; }
.secondary-finger-map-r3 .physical-map-subtitle-r2 { margin-top: 14px; }
.secondary-finger-map-r3 > picture { display: block; margin-top: 8px; }

@media (max-width: 700px) {
  #preparing-to-play .preparation-stack .simple-steps { grid-template-columns: 1fr; }
  #flute-nerd-merged-assembly .merged-source-figure img { min-height: 0; }
  .route-button-r3 { min-height: 76px; }
  .hold-annotation-title-r3 { font-size: 16px; }
  .hold-annotation-copy-r3 { font-size: 13px; }
}

.semantic-colour-legend-r4 { display: flex; flex-wrap: wrap; gap: 9px 18px; margin: 22px 0; padding: 15px 17px; border: 1px solid #bacbd7; border-radius: 8px; background: #f4f8fb; color: var(--neutral); font-size: .81rem; font-weight: 750; }
.legend-correct-r4 { color: #146a46; }
.legend-attention-r4 { color: #a22334; }
.step-number, .sound-route .step-number { background: var(--neutral); }
.route-card .route-number, .card-kicker, .physical-map-subtitle-r2, .finger-name-key-r2 strong { color: var(--neutral); }
.button.secondary, .route-button-r3, .landmark-button-r3 { color: var(--neutral); border-color: #b9cbd7; background: #eef5fa; }
.button.primary:hover { background: #173b57; }
.enlarge-button, .merged-inline-links a { color: var(--neutral); }
.note-select-button { border-color: #aac2d4; color: var(--neutral); background: #f1f6fa; }
.note-select-button[aria-pressed="true"] { border-color: var(--neutral); color: #fff; background: var(--neutral); }
.merged-course-map-grid .route-button-r3 { display: flex; flex-direction: column; align-items: stretch; gap: 12px; color: var(--neutral); border-color: #b9cbd7; background: #eef5fa; }
.merged-course-map-grid .route-button-r3 b { display: block; align-self: flex-start; padding: 7px 10px; border: 1px solid #abc1d1; border-radius: 5px; background: #fff; color: var(--neutral); font-size: .81rem; }
.route-button-r3:hover, .route-button-r3:focus-visible, .landmark-button-r3:hover, .landmark-button-r3:focus-visible { border-color: var(--neutral); background: #e4eff6; box-shadow: 0 0 0 3px #234b6726; }
.part-focus { border-color: var(--neutral); }
.part-trigger[aria-pressed="true"] { color: var(--neutral); box-shadow: inset 0 0 0 2px var(--neutral); }
.parts-label-number, .landmark-focus, .landmark-selector [aria-pressed="true"] { color: var(--neutral); }
.parts-label.part-trigger.is-active { border-color: var(--neutral); background: #edf4f9; }
.callout.warning, .warning-inline, .joint-stop-warning-r17, .stop-advice, .troubleshooting-safety-r18, .key-type-note { border-color: #e2a8b1; background: #fff0f2; color: #842132; }
.callout.warning strong, .warning-inline strong, .joint-stop-warning-r17 strong, .troubleshooting-safety-r18 strong { color: #a22334; }
.callout.warning .mini-label, .callout.warning .eyebrow { color: #a22334; }
.reset-panel { border: 1px solid #e2a8b1; background: #fff0f2; }
.reset-panel .eyebrow, .stop-note { color: #a22334; }
.stop-note { border-color: #e2a8b1; }
.severity-yellow, .severity-red { border-color: #d58998; background: #fff0f2; }
.severity-yellow .severity-badge, .severity-filter button[data-severity-filter="yellow"] span { color: #a22334; }
.badge-bad, .danger-label, .is-wrong-r19 strong, .open-hole-leak-r17 .open-hole-state-label-r17 { color: #a22334; }
.correct-label, .badge-good, .safe-label, .grip-state.safe-state figcaption strong, .is-right-r19 strong { color: #146a46; }
.safe-label.state-label, .safe-label.state-label small { color: #fff; }
.variant-tip, .type-guidance-r4, .keywork-scope-note-r4, .variant-reminder { border: 1px solid #b9cbd7; background: #f1f6fa; color: #29495f; }
.variant-reminder strong, .source-preview-heading h3, .source-preview-topic-grid h4, .source-preview-card figcaption strong { color: var(--neutral); }
.pitch-lower, .pitch-raise { border-color: #a7cbb8; background: #edf7f0; color: #29495f; }
.pitch-lower .pitch-arrow, .pitch-raise .pitch-arrow { background: #146a46; }
.pitch-state-r4 { color: #a22334; }
.pitch-action-r4 { color: #146a46; }
.tuning-pair span { color: #a22334; }
.tuning-pair strong { color: #146a46; }
.conditional-service { border-color: #e2a8b1; background: #fff0f2; }
.conditional-service .mini-label { color: #a22334; }
.type-guidance-r4 { display: grid; gap: 4px; margin: 0 0 24px; padding: 16px 18px; border-left: 5px solid var(--neutral); border-radius: 7px; font-size: .91rem; }
.type-guidance-r4 strong { color: var(--neutral); }
.variant-feedback-r4 { padding: 21px; margin: 18px 0; border: 2px solid #97b7cf; border-radius: 9px; background: #f3f8fc; }
.variant-feedback-r4 h3 { margin-bottom: 8px; font-size: 1.2rem; color: var(--neutral); }
.variant-feedback-r4 > p { margin-bottom: 16px; font-size: .9rem; }
.variant-key-examples-r4 { display: flex; flex-wrap: wrap; gap: 15px; }
.variant-key-examples-r4 > div { flex: 1 1 190px; padding: 18px; border: 1px solid #c6d6e0; border-radius: 8px; background: #fff; }
.variant-key-examples-r4 > div[hidden] { display: none; }
.variant-key-examples-r4 strong { display: block; font-size: .87rem; }
.variant-key-examples-r4 p { margin: 7px 0 0; font-size: .85rem; }
.variant-key-real-r4 { display: block; position: relative; width: 100%; aspect-ratio: 1 / 1; margin: 0 0 14px; overflow: hidden; border: 1px solid #c6d6e0; border-radius: 7px; background: #f7f3eb; }
.variant-key-real-r4 img { display: block; width: 100%; max-width: none; height: 100%; object-fit: cover; }
.variant-key-real-closed-r4 img { object-position: left center; }
.variant-key-real-open-r4 img { object-position: right center; }
.open-hole-details-r4 { margin-top: 20px; border: 1px solid #bacbd7; border-radius: 8px; }
.open-hole-details-r4 > summary { padding: 16px 19px; background: #f1f6fa; color: var(--neutral); font-weight: 800; cursor: pointer; }
.open-hole-details-content-r4 { padding: 20px 12px 0; }
.prep-highlight-r4 { padding: 1px 4px; border-radius: 3px; font-weight: 800; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.prep-highlight-attention-r4 { color: #a22334; background: #ffe7eb; }
.prep-highlight-correct-r4 { color: #146a46; background: #e3f4ea; }
#hold .hold-orientation-r17 strong, #hold .hold-orientation-r17 b { font-size: 1.01rem; }
#hold .hold-orientation-r17 small { font-size: .88rem; }
.hold-support-image-stage-r3[data-support-kind="left"] .hold-annotation-title-r3 { font-size: 16px; }
.hold-support-image-stage-r3[data-support-kind="left"] .hold-annotation-copy-r3 { font-size: 14px; }
.hold-support-image-stage-r3 .hold-annotation-line-r3 { stroke: #234b67; stroke-width: 4; }
.hold-support-image-stage-r3 .hold-annotation-point-r3 { fill: #234b67; stroke-width: 3; }
.hold-support-image-stage-r3 .hold-annotation-label-r3 { fill: #234b67; }
.hold-support-image-stage-r3[data-support-kind="thumb"] { padding-bottom: 10.026%; }
.hold-support-image-stage-r3[data-support-kind="thumb"] > img { aspect-ratio: 1536 / 1024; }
.hold-annotation-number-r4 { fill: #234b67; stroke: #fff; stroke-width: 3; }
.hold-annotation-digit-r4 { fill: #fff; font: 800 32px Arial, sans-serif; }
.hold-support-labels-r4 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 18px; border-top: 1px solid #bbcbd6; background: #f1f6fa; color: #29495f; }
.hold-support-labels-r4 strong { display: block; font-size: 1rem; line-height: 1.5; }
.hold-support-labels-r4 p { margin: 8px 0 0; font-size: .92rem; line-height: 1.55; }
.hold-support-image-stage-r3[data-support-kind="neutral"] .hold-annotation-title-r3 { font-size: 38px; }
.hold-support-image-stage-r3[data-support-kind="neutral"] .hold-annotation-copy-r3 { font-size: 31px; }
.keywork-scope-note-r4 { margin: 15px 0 0; padding: 13px 15px; border-radius: 7px; font-size: .84rem; }
.key-action-motion-r4 { background: #f4f8fb; border-color: #bacbd7; }
.motion-round-key-r4 { display: block; width: 100%; height: auto; background: #f4f8fb; }
.motion-round-key-r4 text { font-family: Arial, Helvetica, sans-serif; }
.motion-pad-r4 { animation: key-pad-loop-r4 3.4s ease-in-out infinite; transform: translateY(-55px); }
.key-action-motion-r4.is-paused .motion-pad-r4 { animation-play-state: paused; }
.key-action-motion-r4 p { font-size: .87rem; color: #29495f; }
.motion-toggle-r4 { display: block; min-height: 44px; margin: 12px auto 0; padding: 9px 16px; font-size: .87rem; }
.key-action-release-r18, .state-legend-r17 .release-state b { color: #526270; background: #edf2f5; }
.state-legend-r17 .release-state { border-left-color: #526270; }
.fingering-action-list-r18 > div:nth-child(3) strong { color: #526270; }
.key-action-support-r18, .state-legend-r17 .support-state b, .fingering-action-list-r18 > div:nth-child(4) strong { color: var(--neutral); background: #edf4f9; }
#note-a-r17 .note-diff-r18, #note-g-r17 .note-diff-r18, .keep-down-r18 { background: #e8f5ec; color: #146a46; border-color: #146a46; }
.moisture-safety-tags span { color: #146a46; background: #e3f4ea; border-color: #a7cbb8; }
.hold-mistakes-r17, .hold-mistake-grid-r17 article { background: #fff0f2; border-color: #e2a8b1; }
.hold-mistake-grid-r17 h4, .hold-mistakes-r17 .mini-label { color: #a22334; }
.joint-inspection-wipe { border-color: #e2a8b1; background: #fff0f2; }
.joint-inspection-wipe .joint-inspection-card-head span { background: #a22334; color: #fff; }
.joint-inspection-wipe .joint-inspection-card-head small { color: #a22334; }
.tongue-golden-rule { border-color: #a8cbb8; background: #edf7f0; }
.tongue-golden-rule p { color: #29495f; }
.tongue-golden-rule h4, .tongue-golden-rule span { color: #146a46; }
.safety-callout .safety-list li:not(:last-child) .safety-heading strong { color: #146a46; }
#starter-notes .variant-tip strong { color: var(--neutral); }
.source-render-candidate-r4 { width: 100%; margin-bottom: 20px; padding: 14px; border: 1px solid #a8c1d3; border-radius: 9px; background: #f3f8fc; }
.source-candidate-label-r4, .source-original-label-r4 { margin: 0 0 11px; color: var(--neutral); font-size: .87rem; font-weight: 850; line-height: 1.5; }
.source-candidate-caution-r4 { margin: 0 0 12px; padding: 10px 12px; border-left: 4px solid #b2263e; color: #922034; background: #fff0f2; font-size: .8rem; line-height: 1.55; }
.source-preview-image-wrap .source-render-candidate-r4 img, #flute-nerd-merged-assembly .source-render-candidate-r4 img { display: block; width: 100%; height: auto; min-height: 0; max-height: none; aspect-ratio: auto; object-fit: contain; }
.source-original-label-r4 { padding: 8px 11px; border-radius: 5px; background: #edf1f4; color: #435968; }
.independent-art-r5 { min-width: 0; max-width: 100%; background: #fff; border-color: #b8cbd7; }
.independent-art-description-r5 { margin: 14px 0 0; color: #314f62; font-size: .95rem; line-height: 1.65; }
.art-review-note-r5 { margin: 10px 0 0; color: #4c626f; font-size: .8rem; line-height: 1.5; }
.mouth-reset-cues-r5 { display: grid; gap: 9px; margin-top: 13px; }
.mouth-reset-cues-r5 p { margin: 0; padding: 11px 13px; border-left: 4px solid #b2263e; color: #902136; background: #fff0f3; font-size: .9rem; line-height: 1.6; }
.mouth-reset-cues-r5 .mouth-start-r5 { border-left-color: #17694a; color: #17694a; background: #eaf5ed; }
.source-original-review-r5 { width: 100%; min-width: 0; max-width: 100%; margin: 14px 0 0; padding: 12px; border: 1px solid #c4d1da; border-radius: 7px; background: #f4f7f9; }
.source-original-review-r5 summary { white-space: normal; overflow-wrap: anywhere; color: #294e68; font-size: .85rem; font-weight: 750; cursor: pointer; }
.source-original-review-r5 > p { color: #8f2439; font-size: .82rem; line-height: 1.6; }
.source-art-scroll-r5 { width: 100%; min-width: 0; max-width: 100%; overflow: visible; }
.source-art-scroll-r5:focus-visible { outline: 3px solid #234b67; outline-offset: 4px; }
.source-art-hint-r5 { margin: 10px 0 0; color: #314f62; font-size: .84rem; line-height: 1.5; }
.zoom-clone-content .source-art-scroll-r5 { overflow: visible; }
.zoom-clone-content .source-art-scroll-r5 > img { width: 100%; min-width: 0; max-width: 100%; }
.release-action-r5 { border-left-color: #529fc7 !important; background: #eef8ff !important; }
.release-action-r5 dt, .release-action-r5 strong, .release-action-r5 b { color: #2d6f98 !important; background: #e8f5ff !important; }
.release-action-r5 dd { color: #2c5f81; }
.release-action-r5 > span { color: #2c5f81; }
.state-legend-r17 .release-state { border-left-color: #529fc7; background: #eef8ff; }
.state-legend-r17 .release-state b, .key-action-release-r18 { color: #2d6f98; background: #e8f5ff; }
.key-state:not(.is-pressed) { color: #2d6f98; border-color: #83b8d6; background: #e8f5ff; }
.compact-note-state-figure-r3 img[src$="-r5.svg"], .b-fingering-figure-r18 img[src$="-r5.svg"], #starter-notes .note-where-view-r17 img[src$="-r5.svg"] { aspect-ratio: 1720 / 1220; }
.compact-note-state-figure-r3 img, .b-fingering-figure-r18 img, #starter-notes .note-where-view-r17 img { aspect-ratio: 1720 / 710; background: #fff; }
.compact-note-state-figure-r3 figcaption, .b-fingering-figure-r18 figcaption { background: #f1f6fa; color: #29495f; font-size: .85rem; }
.physical-note-scroll-r4 { overflow: visible; border: 1px solid #b9cbd7; border-radius: 6px; background: #fff; }
.physical-note-scroll-r4:focus-visible { outline: 3px solid #234b67; outline-offset: 3px; }
.physical-note-hint-r4 { margin: 9px 0; color: var(--neutral); font-size: .84rem; }
.zoom-clone-content .physical-note-scroll-r4 { overflow: visible; }
.zoom-clone-content .physical-note-scroll-r4 > img { width: 100%; min-width: 0; max-width: 100%; }
@keyframes key-pad-loop-r4 { 0%, 22%, 100% { transform: translateY(-55px); } 40%, 65% { transform: translateY(0); } 82% { transform: translateY(-55px); } }
@media (prefers-reduced-motion: reduce) { .key-action-motion-r4:not(.is-paused) .motion-pad-r4 { animation-duration: 6s; } .key-action-motion-r4.is-paused .motion-pad-r4 { animation: none; transform: translateY(0); } }
@media (max-width: 700px) {
  .hold-support-labels-r4 { grid-template-columns: 1fr; gap: 15px; }
  .hold-orientation-r17 b { white-space: normal; }
  .physical-note-scroll-r4 > img, #starter-notes .physical-note-scroll-r4 > img { width: 100%; min-width: 0; max-width: 100%; }
  .source-render-candidate-r4 { padding: 8px; }
  .source-preview-image-wrap .source-art-scroll-r5 > img { width: 100%; min-width: 0; max-width: 100%; }
  .open-hole-details-content-r4 { padding-inline: 5px; }
}
@media print { .motion-toggle-r4, .physical-note-hint-r4 { display: none; } .motion-pad-r4 { animation: none; transform: translateY(0); } .physical-note-scroll-r4 { overflow: visible; } .physical-note-scroll-r4 > img { width: 100%; min-width: 0; max-width: 100%; } }
@media print { .source-original-review-r5, .source-art-hint-r5 { display: none !important; } .source-art-scroll-r5 { overflow: visible; } .source-art-scroll-r5 > img { width: 100% !important; min-width: 0 !important; max-width: 100% !important; } }

.palm-comparison-r7 { display: grid; gap: 18px; }
.palm-check-panel-r7 { padding: 18px; border: 1px solid #ccd8d0; border-radius: 13px; background: #fff; }
.palm-check-panel-r7 h4 { margin: 0 0 10px; font-size: 1.08rem; }
.palm-check-panel-r7 p { margin: 12px 0 0; line-height: 1.6; }
.palm-correct-r7 h4 { color: #21623d; }
.palm-caution-r7 h4 { color: #8f392d; }
.palm-photo-stage-r7 { position: relative; width: min(100%, 300px); margin: auto; aspect-ratio: 435 / 759; }
.palm-photo-stage-r7 img { display: block; width: 100%; height: auto; max-height: none !important; }
.palm-photo-stage-r7 svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.palm-photo-stage-r7 ellipse { stroke-width: 5; }
.palm-correct-r7 ellipse { fill: #2b8a52; fill-opacity: .18; stroke: #236b43; }
.palm-caution-r7 ellipse { fill: #b14a3d; fill-opacity: .15; stroke: #a0392e; stroke-dasharray: 10 8; }
.assembly-parts-map-r7 { display: grid; gap: 14px; }
.assembly-part-r7 { position: relative; min-width: 0; overflow: hidden; padding: 12px; border: 2px solid #d8dfdb; border-radius: 16px; background: #f7f5f0; }
.assembly-part-r7.is-selected { border-color: #23734d; box-shadow: inset 0 0 0 1px #23734d; }
.assembly-part-r7 > p { margin: 0 0 10px; color: #2b3933; font-size: 1.1rem; font-weight: 750; }
.assembly-part-r7 > p b { display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; margin-right: .4em; border-radius: 50%; color: #fff; background: #315b4c; }
.assembly-part-crop-r7 { position: relative; overflow: hidden; border-radius: 9px; }
.assembly-part-crop-r7 > img { position: absolute; max-width: none !important; height: auto !important; object-fit: unset !important; }
.assembly-headjoint-crop-r7 { aspect-ratio: 512 / 145; }
.assembly-headjoint-crop-r7 > img { width: 390.82% !important; left: -5.86%; top: -213.8%; }
.assembly-body-crop-r7 { aspect-ratio: 880 / 176; }
.assembly-body-crop-r7 > img { width: 227.39% !important; left: -65.45%; top: -165.91%; }
.assembly-footjoint-crop-r7 { aspect-ratio: 520 / 160; }
.assembly-footjoint-crop-r7 > img { width: 384.81% !important; left: -279.81%; top: -187.5%; }
.assembly-selected-r7 { display: none; position: absolute; top: 17px; right: 15px; color: #1c633e; font-size: .88rem; font-weight: 750; }
.assembly-part-r7.is-selected .assembly-selected-r7 { display: block; }
.assembly-part-controls-r7 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.assembly-part-controls-r7 button { min-height: 46px; border: 1px solid #b7c7be; border-radius: 10px; padding: 9px; color: #284339; background: #fff; font: inherit; font-weight: 750; cursor: pointer; }
.assembly-part-controls-r7 button[aria-pressed="true"] { border-color: #236947; background: #e7f2e9; color: #174c32; }
.assembly-part-status-r7 { min-height: 1.6em; margin: 10px 0; color: #315b4c; font-weight: 700; }
#hold .orientation-main-body-r7 { display: block; padding: 18px; font-size: 1rem; }
#hold .orientation-main-body-r7 > p { margin: 0 0 14px; }
.flute-body-orientation-r7 { display: grid; grid-template-columns: 1fr 3.2fr 1fr; gap: 8px; align-items: center; }
.orientation-joint-r7 { text-align: center; color: #516158; font-size: .85rem; font-weight: 700; }
#hold .orientation-joint-r7 small { font-size: .82rem; }
.orientation-body-r7 { padding: 13px; border: 2px solid #4c7661; border-radius: 13px; background: #edf4ef; text-align: center; }
#hold .orientation-body-r7 > b { display: block; white-space: normal; font-size: .97rem; letter-spacing: 0; }
.orientation-body-r7 > div { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 12px; }
#hold .orientation-body-r7 strong { font-size: 1rem; }
#hold .orientation-body-r7 small { font-size: .86rem; }
#hold #key-identification { display: block; padding: 0; border: 0; background: transparent; }
.hold-course-r7, .hold-support-route-r7 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; min-width: 0; }
.hold-course-r7 > .mini-label, .hold-course-r7 > h3, .hold-course-r7 > p { margin: 0; }
.hold-lesson-card-r7, .hold-support-route-r7 > .hold-chin-support-r18 { display: block; min-width: 0; padding: 24px; border: 1px solid #d4ddd5; border-radius: 17px; background: #fff; }
.hold-lesson-card-r7 > h4 { margin: 8px 0 15px; font-size: 1.3rem; line-height: 1.3; }
.hold-lesson-card-r7 > p { max-width: none; font-size: 1rem; line-height: 1.65; }
.hold-lesson-card-r7 figure { margin: 20px 0; }
#hold .hold-course-r7 .source-preview-image-wrap, #hold .hold-course-r7 .source-render-candidate-r4 { max-width: none; }
#hold .hold-course-r7 figure img, .reviewed-reference-r7 > img { display: block; width: 100%; max-width: 100%; height: auto; max-height: none; object-fit: contain; }
.reviewed-reference-r7 { padding: 12px; }
.reviewed-reference-r7 figcaption { margin-top: 12px; font-size: .95rem; line-height: 1.6; }
.hold-check-r7 { padding: 14px 16px; border-left: 4px solid #247447; border-radius: 8px; color: #244b34; background: #edf5ee; }
.hold-caution-r7 { padding: 14px 16px; border-left: 4px solid #aa3c30; border-radius: 8px; color: #71352c; background: #fff2ef; }
.reviewed-reference-r7 .source-original-review-r5 { margin-top: 15px; }
.reference-comparison-scroll-r8 { overflow: visible; max-width: 100%; border: 1px solid #c9d8cf; border-radius: 12px; background: #fff; }
.reference-comparison-scroll-r8:focus-visible { outline: 3px solid #2a5a73; outline-offset: 3px; }
.palm-comparison-r8 .reference-comparison-scroll-r8 { border: 0; background: transparent; }
.palm-comparison-r8 .reference-comparison-scroll-r8 > img { display: block; width: 100%; min-width: 0; max-width: 100%; height: auto; max-height: none !important; }
.palm-comparison-grid-r8 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.palm-panel-r8 { min-width: 0; margin: 0; padding: 10px; border: 1px solid #c9d8cf; border-radius: 12px; background: #fff; }
.palm-crop-r8 { position: relative; width: 100%; aspect-ratio: 430 / 759; overflow: hidden; border-radius: 8px; background: #fff; }
.palm-crop-r8 > img { position: absolute; top: 0; width: 481.63% !important; max-width: none !important; height: auto; }
.palm-panel-r8:nth-child(1) .palm-crop-r8 > img { left: 0; }
.palm-panel-r8:nth-child(2) .palm-crop-r8 > img { left: -160.47%; }
.palm-panel-r8:nth-child(3) .palm-crop-r8 > img { left: -320.93%; }
.palm-panel-r8 figcaption { display: grid; gap: 5px; margin-top: 10px; line-height: 1.45; }
.palm-panel-r8 figcaption strong { font-size: .9rem; letter-spacing: .045em; }
.palm-panel-correct-r8 figcaption strong { color: #176b44; }
.palm-panel-wrong-r8 figcaption strong { color: #a22334; }
.palm-panel-r8 figcaption span { color: #29495f; font-size: .82rem; }
.assembly-parts-strip-r8 { grid-template-columns: minmax(0, 805fr) minmax(0, 1231fr) minmax(0, 537fr); align-items: stretch; gap: 12px; min-width: 0; padding: 12px; }
.assembly-parts-strip-r8 .assembly-part-r7 { padding: 0; border: 0; border-radius: 11px; background: #fff; box-shadow: inset 0 0 0 2px #d8dfdb; }
.assembly-parts-strip-r8 .assembly-part-r7.is-selected { border: 0; box-shadow: inset 0 0 0 2px #23734d; }
.assembly-parts-strip-r8 .assembly-part-r7 > p { margin: 0; padding: 12px 12px 0; font-size: 1.03rem; }
.assembly-parts-strip-r8 .assembly-selected-r7 { position: static; margin: 8px 0 0; font-size: .9rem; }
.assembly-part-photo-r8 { display: flex; align-items: center; width: 100%; aspect-ratio: var(--part-width) / 210; }
.assembly-part-photo-r8 > img { display: block; width: 100% !important; height: auto !important; max-height: none !important; object-fit: contain; }
.real-right-hand-reference-r8 > img { width: 100%; height: auto; max-height: none !important; object-fit: contain; }
.assembly-reference-diagram-r8 { display: block; width: 100%; min-width: 0; max-width: 100%; height: auto; max-height: none !important; object-fit: contain; }
.zoom-clone-content .reference-comparison-scroll-r8 { overflow: visible; }
.zoom-clone-content .reference-comparison-scroll-r8 > img, .zoom-clone-content .assembly-parts-strip-r8 { width: 100%; min-width: 0; max-width: 100%; }
.posture-comparison-r8 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 20px; }
.posture-comparison-r8 .posture-state-r8 { min-width: 0; margin: 0; padding: 15px; border: 2px solid #9dc5ac; }
.posture-comparison-r8 .posture-reset-r8 { border-color: #d7a297; }
.posture-state-r8 h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 1.04rem; line-height: 1.5; }
.posture-correct-r8 h4 { color: #1f6843; }
.posture-reset-r8 h4 { color: #98392c; }
.posture-symbol-r8 { display: inline-grid; flex-shrink: 0; place-items: center; width: 30px; height: 30px; border: 2px solid currentColor; border-radius: 50%; font-size: 1.2rem; font-weight: 800; }
.posture-photo-stage-r8 { position: relative; }
.posture-reset-stage-r12 { position: relative; }
.too-narrow-label-r12 { position: absolute; left: 12px; bottom: 12px; z-index: 3; padding: 7px 10px; border: 2px solid #a52b36; border-radius: 6px; color: #fff; background: rgba(165,43,54,.94); font-size: .78rem; font-weight: 900; letter-spacing: .06em; }
.posture-photo-stage-r8 svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.posture-photo-stage-r8 svg path { fill: none; stroke: #24744b; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.posture-photo-stage-r8 svg .posture-orientation-line-r8 { stroke: #5f7b85; stroke-width: 6; }
@media (max-width: 900px) { .posture-comparison-r8 { grid-template-columns: minmax(0, 1fr); } }
@media print {
  .reference-comparison-scroll-r8 { overflow: visible; border: 0; }
  .assembly-parts-strip-r8 { min-width: 0; gap: 6px; padding: 0; }
  .palm-comparison-r8 .reference-comparison-scroll-r8 > img { width: 100%; min-width: 0; max-width: 100%; }
  .assembly-reference-diagram-r8 { width: 100%; min-width: 0; max-width: 100%; }
  .posture-comparison-r8 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .palm-comparison-grid-r8 { grid-template-columns: minmax(0, 1fr); }
  .palm-panel-r8 { display: block; }
  .palm-panel-r8 .palm-crop-r8 { width: min(100%, 300px); margin-inline: auto; }
  .palm-panel-r8 figcaption { margin-top: 10px; }
  .assembly-parts-strip-r8 { grid-template-columns: minmax(0, 1fr); }
  .flute-body-orientation-r7 { grid-template-columns: 1fr; }
  .orientation-joint-r7 { display: block !important; }
  .orientation-joint-r7 small { display: inline; margin-left: 8px; }
  .orientation-body-r7 > div { gap: 12px; }
  .hold-lesson-card-r7, .hold-support-route-r7 > .hold-chin-support-r18 { padding: 16px; }
  .assembly-part-controls-r7 { grid-template-columns: 1fr; }
  .assembly-part-r7 { padding: 10px; }
  .assembly-selected-r7 { font-size: .78rem; }
}
.danger-label.state-label, .danger-label.state-label small { color: #fff; background: #8f1f2f; }
.grip-warning-visual .visual-state-stage { background: #f4f5f2; }
#parts .keywork-warning-r9 > img,
#assembly .keywork-warning-r9 img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
#assembly .keywork-warning-r9 .single-state-stage::before,
#assembly .keywork-warning-r9 .single-state-stage::after { content: none; }
#assembly .keywork-warning-r9 .danger-label { position: static; display: block; width: auto; max-width: none; margin: 14px; text-align: left; }
.keywork-warning-r9 figcaption { line-height: 1.55; }
#parts .keywork-warning-r9::before,
#parts .keywork-warning-r9::after { content: none; }
#start img.review-image-r9,
#parts img.review-image-r9,
#assembly img.review-image-r9,
#hold img.review-image-r9,
#first-sound-guide img.review-image-r9,
#starter-notes img.review-image-r9 { max-width: 100%; height: auto; max-height: none; padding: 0; aspect-ratio: auto; object-fit: contain; }

.tutorial-card-r9 { min-width: 0; margin: 28px 0; padding: clamp(16px, 3vw, 28px); border: 1px solid #cbd9d2; border-radius: 16px; background: #fff; }
.tutorial-card-r9 > h3 { margin: 8px 0 14px; font-size: clamp(1.3rem, 2.6vw, 1.85rem); line-height: 1.3; }
.tutorial-card-r9 > p, .tutorial-card-r9 li { max-width: none; line-height: 1.65; }
.tutorial-card-r9 a { color: #18577a; text-decoration: underline; text-underline-offset: 3px; }
.tutorial-figure-r9 { margin: 18px 0; padding: 12px; border: 1px solid #d9e1dd; background: #fff; }
.tutorial-figure-r9 > img { display: block; width: 100%; min-width: 0; max-width: 100%; height: auto; max-height: none; aspect-ratio: auto; object-fit: contain; }
.tutorial-figure-r9 > figcaption { margin-top: 12px; font-size: .9rem; line-height: 1.55; }
.tutorial-two-up-r9 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 20px 0; }
.tutorial-two-up-r9 > article, .pitch-cards-r9 > article { min-width: 0; padding: 16px; border: 1px solid #d4dfd9; border-radius: 10px; background: #f7faf8; }
.tutorial-two-up-r9 h4, .pitch-cards-r9 h4 { margin: 0 0 8px; font-size: 1.03rem; }
.tutorial-two-up-r9 p, .pitch-cards-r9 p { margin: 0; font-size: .94rem; line-height: 1.6; }
.pitch-cards-r9 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 22px 0; }
.pitch-step-r9 { display: block; margin-bottom: 12px; color: #28566a; font-size: .8rem; font-weight: 850; letter-spacing: .06em; }
.tutorial-check-r9 { padding: 14px 16px; border-left: 4px solid #287250; border-radius: 8px; background: #edf6ef; color: #234b36; }
.tutorial-source-r9 { margin-top: 20px; color: #52615a; font-size: .8rem; }
.tutorial-card-r9 .callout { margin-block: 18px; }
.joint-inspection-card-head { flex-direction: column; align-items: flex-start; gap: 7px; }
.joint-inspection-card-head span { max-width: 100%; white-space: normal; overflow-wrap: anywhere; line-height: 1.35; border-radius: 9px; }
.joint-inspection-card-head small { display: block; text-align: left; }
.assembly-parts-part02-r1 { position: relative; display: block; width: 100%; min-width: 0; background: #fff; }
.assembly-parts-part02-r1 > img { display: block; width: 100%; min-width: 0; max-width: 100%; height: auto; object-fit: contain; }
#parts .grip-comparison { grid-template-columns: minmax(0, 1fr); }
#parts .grip-state.safe-state > img, #assembly-foot .assembly-photo img { display: block; width: min(100%, 720px); max-width: 100%; height: auto; max-height: none; margin-inline: auto; aspect-ratio: auto; object-fit: contain; background: #fff; }
#hold .hold-before-card-r17 figure > img.review-image-r9 { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
#hold .hold-before-card-r17 figure > figcaption { display: block; }
#hold [data-art-id="10"] > img.review-image-r9 { max-height: none; aspect-ratio: auto; }
#assembly-foot .assembly-photo .state-label { position: static; display: block; width: 100%; max-width: none; margin: 0; border-radius: 0; text-align: center; transform: none; }
#sound-key-action .key-action-layout-r17 figure > img.review-image-r9 { width: min(100%, 520px); height: auto; margin-inline: auto; aspect-ratio: auto; object-fit: contain; }

@media (max-width: 700px) {
  .tutorial-two-up-r9, .pitch-cards-r9 { grid-template-columns: minmax(0, 1fr); }
  .tutorial-figure-r9 { padding: 6px; }
  .tutorial-figure-r9 > figcaption { font-size: .85rem; }
  .too-narrow-label-r12 { left: 8px; bottom: 8px; padding: 5px 7px; font-size: .66rem; }
}

@media print {
  .tutorial-card-r9 { padding: 12px; box-shadow: none; }
  .tutorial-card-r9 > h3 { break-after: avoid; }
  .tutorial-figure-r9 { break-inside: avoid; }
  .tutorial-two-up-r9 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pitch-cards-r9 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tutorial-card-r9 .simple-steps li { break-inside: avoid; }
}
@media print {
  .assembly-part-controls-r7, .assembly-part-status-r7, .assembly-selected-r7 { display: none !important; }
  .assembly-part-r7 { border-color: #808b85 !important; box-shadow: none !important; }
  .hold-lesson-card-r7, .assembly-part-r7, .orientation-main-body-r7 { break-inside: avoid; }
  .reviewed-reference-r7 .source-original-review-r5 { display: none !important; }
}

#start .hero-figure { display: flex; flex-direction: column; height: auto; max-height: none; }
#start .hero-figure > img.review-image-r9 { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; }
#start .hero-figure > figcaption { position: static; margin: 0; padding: 14px 16px; border-radius: 0; border-top: 1px solid var(--line); color: var(--ink); background: #f6f8f5; text-align: left; font-size: .85rem; line-height: 1.5; }
#parts .parts-overview-visual,
#image-dialog .image-stage .parts-overview-visual { height: auto; aspect-ratio: auto; overflow: visible; }
#parts .parts-overview-visual > img.review-image-r9,
#image-dialog .image-stage .parts-overview-visual > img.review-image-r9 { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; }
.parts-visual .focus-head { left: 1.5%; top: 40%; width: 25.5%; height: 13%; }
.parts-visual .focus-body { left: 28.5%; top: 37%; width: 43.5%; height: 22%; }
.parts-visual .focus-foot { left: 73.5%; top: 40%; width: 25%; height: 15%; }
main img.review-image-r10 { display: block; max-width: 100%; height: auto; max-height: none; aspect-ratio: auto; object-fit: contain; filter: none; }
.tuning-joint-context > img.review-image-r10 { width: 100%; height: auto; max-height: none; }
.holding-target-pair-r10 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.holding-target-pair-r10 > figure { min-width: 0; margin: 12px 0; }
.holding-target-pair-r10 h4 { margin: 4px 0 12px; font-size: 1rem; line-height: 1.4; }
.posture-photo-stage-r8 > .posture-guides-r10 { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.posture-photo-stage-r8 > .posture-guides-r10 .posture-orientation-line-r10 { fill: none; stroke: #496f80; stroke-width: 6; stroke-dasharray: 17 10; }
.posture-photo-stage-r8 > .posture-guides-r10 .posture-space-arrow-r10 { fill: none; stroke: #24744b; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }

@media print {
  #start .hero-figure { height: auto; max-height: none; break-inside: avoid; }
  #start .hero-figure > img.review-image-r9 { height: auto; max-height: none; }
  #start .hero-figure > figcaption { position: static; color: #183127; background: #fff; }
  .holding-target-pair-r10 > figure, .posture-photo-stage-r8 { break-inside: avoid; }
}

@media (max-width: 700px) {
  .holding-target-pair-r10 { grid-template-columns: minmax(0, 1fr); }
}

.teaching-art-r11 {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.teaching-art-r11 .source-art-scroll-r5,
.teaching-art-r11 .physical-note-scroll-r4,
.teaching-art-r11 .reference-comparison-scroll-r8 {
  overflow: visible;
}
.teaching-art-r11 .source-art-hint-r5 {
  margin: 12px 0 0;
  color: #29495f;
  font-size: .95rem;
  line-height: 1.5;
}
.teaching-art-r11 .independent-art-description-r5 {
  margin: 12px 0 0;
  color: #29495f;
  font-size: 1rem;
  line-height: 1.55;
}
.holding-orientation-figure-r11 {
  width: min(100%, 980px);
  margin: 20px auto;
  padding: 14px;
  border-color: #b9cbd7;
  background: #fff;
}
.holding-orientation-figure-r11 > img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  aspect-ratio: 1280 / 760;
  object-fit: contain;
}
.holding-orientation-figure-r11 > figcaption {
  max-width: 82ch;
  margin: 14px auto 0;
  color: #29495f;
  font-size: .98rem;
  line-height: 1.6;
}

#flute-nerd-merged-first-notes .merged-source-heading > p:last-child,
#flute-nerd-merged-first-notes .merged-source-topic-grid p,
#flute-nerd-merged-first-notes .merged-source-steps,
#flute-nerd-merged-first-notes .merged-source-figure figcaption {
  font-size: 1rem;
  line-height: 1.55;
}
#flute-nerd-merged-first-notes .merged-source-figure {
  padding: 12px;
}
#flute-nerd-merged-first-notes .merged-source-figure .source-preview-image-wrap {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 0;
}
#flute-nerd-merged-first-notes .merged-source-figure .teaching-art-r11 {
  width: min(100%, 760px);
}
#flute-nerd-merged-first-notes .merged-source-figure .source-art-scroll-r5 {
  display: grid;
  place-items: center;
  min-height: clamp(190px, 24vw, 390px);
  padding-block: 18px;
}
#flute-nerd-merged-first-notes .merged-source-figure .source-art-scroll-r5 > img {
  display: block;
  width: 100%;
  height: auto;
  min-width: 0;
  max-width: 100%;
  object-fit: contain;
}
#flute-nerd-merged-first-notes .merged-source-figure figcaption {
  margin-top: 12px;
  color: #29495f;
}
#flute-nerd-merged-first-notes .merged-source-figure figcaption strong {
  font-size: 1.02rem;
}

main .source-art-scroll-r5,
main .physical-note-scroll-r4,
main .reference-comparison-scroll-r8 {
  overflow: visible;
  scrollbar-width: none;
}
main .source-art-scroll-r5::-webkit-scrollbar,
main .physical-note-scroll-r4::-webkit-scrollbar,
main .reference-comparison-scroll-r8::-webkit-scrollbar {
  display: none;
}

@media (max-width: 700px) {
  .holding-orientation-figure-r11 { padding: 7px; }
  .holding-orientation-figure-r11 > figcaption { font-size: .9rem; }
  #flute-nerd-merged-first-notes .merged-source-figure { padding: 8px; }
  #flute-nerd-merged-first-notes .merged-source-figure .source-art-scroll-r5 { min-height: 150px; padding-block: 10px; }
  #flute-nerd-merged-first-notes .merged-source-figure figcaption,
  #flute-nerd-merged-first-notes .merged-source-figure .source-art-hint-r5,
  #flute-nerd-merged-first-notes .merged-source-figure .independent-art-description-r5 { font-size: 1rem; }
}

@media print {
  .holding-orientation-figure-r11 { break-inside: avoid; }
  #flute-nerd-merged-first-notes .merged-source-figure .source-art-scroll-r5 { min-height: 0; padding-block: 0; }
}
 .sidebar .tuner-shortcut { margin-top: -12px; }
 .flute-tuner { max-width: 960px; margin: 0 auto 48px; padding: 24px; background: #fff; border: 1px solid #bdcec5; border-radius: 12px; scroll-margin-top: 90px; }
 .tuner-header h2 { margin: 4px 0 8px; font-size: clamp(26px, 4vw, 38px); line-height: 1.1; }
 .tuner-header .eyebrow { font-size: 11px; margin: 0; }
 .tuner-header > p:last-child { margin: 0 0 16px; font-size: 15px; }
 .tuner-controls, .tuner-reference { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
 .flute-tuner .button { min-height: 44px; padding: 10px 14px; font-size: 14px; cursor: pointer; }
 .flute-tuner .button:disabled { opacity: .55; cursor: default; }
 .flute-tuner label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; }
 .flute-tuner select { min-height: 44px; padding: 8px; border: 1px solid #7d9387; border-radius: 5px; background: #fff; color: #1b3027; font: inherit; }
 .flute-tuner :focus-visible { outline: 3px solid #1764ae; outline-offset: 3px; }
 .tuner-status { min-height: 40px; margin: 12px 0; font-size: 13px; line-height: 1.5; color: #364b40; }
 .flute-tuner-readout { color: #1b3027; background: #f7faf8; border: 1px solid #c5d3ca; border-radius: 8px; padding: 12px 24px; text-align: center; }
 .tuner-note { font-size: 64px; line-height: 1.05; font-weight: 750; margin: 0; color: #1b3027; font-variant-numeric: tabular-nums; }
 .tuner-measurement { font-size: 14px; margin: 6px 0 14px; min-height: 21px; font-variant-numeric: tabular-nums; }
 .tuner-meter { --tuner-position: 50%; position: relative; height: 24px; margin: 0 8px; border-bottom: 2px solid #6a7b71; background: repeating-linear-gradient(90deg, #88988e 0 1px, transparent 1px 10%); }
 .tuner-center { position: absolute; inset: 0 45%; background: #cee9da; border-inline: 1px solid #237451; }
 .tuner-needle { position: absolute; left: var(--tuner-position); top: -4px; width: 4px; height: 32px; background: #275983; border-radius: 2px; transform: translateX(-50%); }
 .flute-tuner-readout[data-state="idle"] .tuner-needle { visibility: hidden; }
 .flute-tuner-readout[data-state="tuned"] .tuner-needle { background: #17643f; }
 .tuner-scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; font-weight: 650; color: #364b40; }
 .tuner-verdict { font-size: 18px; font-weight: 700; margin: 10px 0 0; color: #275983; }
 .flute-tuner-readout[data-state="tuned"] .tuner-verdict { color: #17643f; }
 .tuner-tip { margin: 12px 0; min-height: 44px; font-size: 14px; line-height: 1.5; }
 .tuner-reference { border-top: 1px solid #d2dbd4; padding-top: 12px; }
 .tuner-options { margin: 10px 0; padding: 0; border: 0; }
 .tuner-options summary { font-size: 13px; padding: 10px 0; min-height: 44px; }
 .tuner-reference > span { font-size: 12px; color: #46594d; }
 .tuner-privacy { font-size: 12px; line-height: 1.5; color: #46594d; margin: 12px 0; }
 .tuner-safety { border-left: 3px solid #ac3c32; padding: 0 0 0 12px; font-size: 13px; line-height: 1.5; margin: 12px 0 0; }
 @media (max-width: 600px) {
   .flute-tuner { padding: 14px; margin-bottom: 24px; scroll-margin-top: 70px; }
   .tuner-header > p:last-child { font-size: 13px; margin-bottom: 10px; }
   .tuner-controls { gap: 8px; }
   .flute-tuner .button { padding: 8px 10px; font-size: 13px; }
   .tuner-controls label { width: 100%; }
   .tuner-status { margin: 8px 0; min-height: 36px; font-size: 12px; }
   .flute-tuner-readout { padding: 8px 12px; }
   .tuner-note { font-size: 52px; line-height: 1; }
   .tuner-measurement { font-size: 13px; line-height: 1.3; margin: 4px 0 10px; }
   .tuner-verdict { font-size: 16px; line-height: 1.25; margin-top: 8px; }
   .tuner-scale { font-size: 10px; line-height: 1.3; margin-top: 6px; }
   .tuner-tip { font-size: 13px; min-height: 0; margin: 10px 0; }
   .tuner-reference { gap: 8px; }
   .tuner-privacy, .tuner-safety { font-size: 11px; }
 }
 @media print { .flute-tuner, .tuner-shortcut { display: none !important; } }

.tuner-tool-active .manual-footer, .tuner-tool-active .chapter-pager { display: none; }
.tuner-tool-active .workspace { padding-bottom: 20px; }
#pitch-workbench { max-width: 900px; padding: 22px 28px; margin: 0 auto; background: #fff; border: 1px solid #c6d8d0; border-radius: 20px; box-shadow: 0 8px 32px #213c2d0a; scroll-margin-top: 90px; }
#pitch-workbench button, #pitch-workbench select { font: inherit; min-height: 44px; cursor: pointer; }
#pitch-workbench button:disabled { cursor: default; }
.tuner-app-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 12px; }
.tuner-app-bar a { color: #35564a; text-decoration: none; }
.tuner-app-bar button, #tuner-adjust-open { border: 0; background: transparent; color: #225c49; font-size: 12px; font-weight: 700; padding: 4px; text-decoration: underline; text-underline-offset: 3px; }
#pitch-workbench .tuner-header h2 { font-family: inherit; font-size: 32px; font-weight: 750; letter-spacing: -.04em; margin: 3px 0 6px; }
#pitch-workbench .tuner-header > p:last-child { font-size: 13px; line-height: 1.4; margin: 0; color: #4d6259; }
.tuner-journey { display: flex; justify-content: space-between; list-style: none; padding: 0; gap: 10px; margin: 16px 0; font-size: 12px; font-weight: 650; }
.tuner-journey li { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; }
.tuner-journey li > span:first-child { display: grid; place-items: center; width: 22px; height: 22px; background: #e1efe8; color: #23513f; border-radius: 50%; flex-shrink: 0; }
.tuner-mode-switch { display: flex; gap: 4px; padding: 4px; margin-top: 12px; background: #eef3ef; border: 1px solid #d4e0d9; border-radius: 10px; }
#pitch-workbench .tuner-mode-switch button { flex: 1; border: 0; border-radius: 7px; padding: 6px 10px; font-size: 13px; color: #35594a; background: transparent; }
#pitch-workbench .tuner-mode-switch button[aria-pressed="true"] { background: #fff; color: #164c35; box-shadow: 0 1px 4px #25463422; font-weight: 750; }
.tuner-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.tuner-listen-panel { display: contents; }
.tuner-workspace .flute-tuner-readout { grid-column: 1; grid-row: 1; min-width: 0; }
.tuner-workspace .tuner-controls { grid-column: 1; grid-row: 2; }
.tuner-workspace .tuner-status { grid-column: 1; grid-row: 3; margin: 0; }
.tuner-workspace .tuner-coach { grid-column: 2; grid-row: 1 / span 3; min-width: 0; }
.tuner-target-row { display: flex; align-items: flex-end; gap: 10px; }
.tuner-setup { margin: 0 0 12px; }
#pitch-workbench .tuner-setup label { display: block; min-width: 0; font-size: 12px; font-weight: 650; }
#pitch-workbench .tuner-setup select { display: block; width: 100%; min-width: 0; margin-top: 4px; padding: 8px; font-size: 13px; background: #fff; }
.tuner-ensemble-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
#pitch-workbench .tuner-setup p { margin: 6px 0 0; font-size: 12px; line-height: 1.4; color: #455d52; }
#pitch-workbench .tuner-reference-summary { font-size: 12px; line-height: 1.5; margin: 6px 0; color: #455d52; }
.tuner-target-row > div { flex: 1; min-width: 0; }
#pitch-workbench .tuner-target-row label { display: block; font-size: 12px; margin-bottom: 4px; }
#pitch-workbench #tuner-target { display: block; width: 100%; font-weight: 700; font-size: 16px; background: #fff; }
#pitch-workbench .tuner-fixed-note { margin: 0; padding: 8px 12px; border: 1px solid #c4d8cc; border-radius: 8px; background: #f6faf7; }
.tuner-fixed-note small, .tuner-fixed-note strong { display: block; }
.tuner-fixed-note small { font-size: 10px; letter-spacing: .08em; color: #476055; }
.tuner-fixed-note strong { font-size: 20px; line-height: 1.4; }
#tuner-play { border: 1px solid #9cb9ac; border-radius: 8px; padding: 8px 16px; background: #eef6f1; color: #235440; font-size: 14px; font-weight: 700; white-space: nowrap; }
.tuner-target-hint { font-size: 12px; line-height: 1.45; margin: 8px 0 14px; color: #455d52; }
.tuner-target-hint a { white-space: nowrap; color: #235440; }
#pitch-workbench .flute-tuner-readout { padding: 10px 24px; border: 1px solid #d2e2da; border-radius: 14px; background: linear-gradient(160deg, #f3f8f5, #fbfdfb); }
.tuner-listening-label { font-size: 10px; letter-spacing: .1em; font-weight: 750; color: #476055; margin: 0 0 6px; }
.tuner-listening-label span { color: #476055; }
#pitch-workbench .tuner-note { font-size: 64px; font-weight: 750; line-height: 1; letter-spacing: -.05em; }
#pitch-workbench .tuner-measurement { font-size: 12px; line-height: 1.3; margin: 6px 0 14px; min-height: 16px; }
#pitch-workbench .tuner-verdict { font-size: 18px; line-height: 1.3; margin: 12px 0 0; }
#pitch-workbench .tuner-scale { font-size: 10px; line-height: 1.3; }
.flute-tuner-readout[data-state="different"] .tuner-needle, .flute-tuner-readout[data-state="unstable"] .tuner-needle { visibility: hidden; }
#pitch-workbench .tuner-controls { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 14px; }
#pitch-workbench .tuner-controls .button { justify-content: center; min-height: 46px; font-size: 14px; border-radius: 9px; padding: 10px 16px; }
#pitch-workbench .tuner-mic-hint { grid-column: 1 / -1; font-size: 11px; line-height: 1.4; color: #455d52; }
#pitch-workbench #tuner-start { color: #fff; background: #205c46; border: 1px solid #205c46; }
#pitch-workbench #tuner-stop { border: 1px solid #bdccc4; background: #fff; color: #233e31; }
#pitch-workbench .tuner-status { min-height: 17px; font-size: 12px; line-height: 1.4; margin: 8px 0; }
.tuner-coach { background: #eff5f1; border-left: 3px solid #398163; border-radius: 0 8px 8px 0; padding: 10px 14px; }
#pitch-workbench #tuner-next-practice { margin-top: 12px; border: 1px solid #9cbaaa; border-radius: 8px; padding: 6px 10px; background: #fff; color: #205c46; font-size: 12px; font-weight: 700; }
.tuner-action-figure { background: #fff; border: 1px solid #c6d9cc; border-radius: 10px; margin: 12px 0 0; padding: 10px; }
.tuner-action-figure svg { display: block; width: 100%; height: auto; }
.tuner-action-caption { color: #17643f; font-size: 14px; font-weight: 750; }
.tuner-part-labels { display: grid; grid-template-columns: 3fr 2fr; gap: 10px; color: #284d3b; font-size: 11px; font-weight: 700; }
#pitch-workbench .tuner-action-figure figcaption { margin-top: 10px; font-size: 11px; line-height: 1.5; }
.tuner-action-figure[data-action="hold"] #tuner-slide-arrow { visibility: hidden; }
.tuner-simulator { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 16px; grid-column: 1 / -1; grid-row: 2; border: 1px solid #b9d3c4; border-radius: 10px; background: #f6faf7; padding: 12px; margin-top: 0; }
#pitch-workbench .tuner-simulator h3 { font-family: inherit; font-size: 13px; margin: 0 0 4px; }
#pitch-workbench .tuner-simulator p { font-size: 12px; line-height: 1.5; margin: 8px 0; }
.tuner-demo-warning { color: #753020; font-weight: 700; }
.tuner-demo-scenarios, .tuner-demo-actions { display: flex; gap: 6px; margin: 10px 0; }
.tuner-simulator .tuner-demo-scenarios, .tuner-simulator .tuner-demo-actions { margin: 0; }
#pitch-workbench .tuner-simulator > p, #pitch-workbench .tuner-demo-footer p { margin: 0; }
#pitch-workbench .tuner-demo-scenarios button, #pitch-workbench .tuner-demo-actions button, #tuner-demo-reset { border: 1px solid #9cbaaa; border-radius: 7px; background: #fff; color: #234f39; padding: 6px 9px; font-size: 12px; }
#pitch-workbench .tuner-demo-scenarios button { flex: 1; }
#pitch-workbench .tuner-demo-scenarios button[aria-pressed="true"] { background: #205c46; color: #fff; border-color: #205c46; }
#pitch-workbench .tuner-demo-actions button { flex: 1; font-weight: 750; }
#pitch-workbench .tuner-demo-note { color: #4d6259; font-size: 11px; }
.tuner-demo-footer { display: flex; align-items: center; gap: 10px; }
#pitch-workbench #tuner-demo-reset { font-size: 11px; min-height: 36px; padding: 4px 8px; flex-shrink: 0; }
#pitch-workbench[data-mode="demo"] .tuner-controls, #pitch-workbench[data-mode="demo"] > .tuner-safety, #pitch-workbench[data-mode="demo"] .tuner-status { display: none; }
#pitch-workbench[data-mode="demo"] .tuner-journey, #pitch-workbench[data-mode="demo"] .tuner-target-hint, #pitch-workbench[data-mode="demo"] .tuner-header > p:last-child { display: none; }
#pitch-workbench[data-mode="demo"] .tuner-scope-note, #pitch-workbench[data-task="practice"] > .tuner-safety { display: none; }
#pitch-workbench[data-mode="demo"] .tuner-target-row { margin: 12px 0; }
#pitch-workbench[data-mode="demo"] .tuner-coach h3, #pitch-workbench[data-mode="demo"] #tuner-tip { display: none; }
#pitch-workbench[data-mode="demo"] .tuner-coach { border: 0; padding: 0; background: transparent; }
#pitch-workbench[data-mode="demo"] .tuner-coach { grid-row: 1; }
#pitch-workbench[data-mode="demo"] .tuner-action-figure { margin-top: 0; }
#pitch-workbench[data-mode="demo"] .tuner-privacy { margin-top: 10px; }
#pitch-workbench .tuner-coach h3 { font-family: inherit; font-size: 14px; line-height: 1.3; font-weight: 750; margin: 0 0 4px; }
#pitch-workbench .tuner-coach p { font-size: 13px; line-height: 1.45; margin: 0; min-height: 38px; }
#pitch-workbench .tuner-safety { border: 0; padding: 0; font-size: 11px; line-height: 1.5; color: #7c302b; margin: 12px 0 6px; }
#pitch-workbench #tuner-adjust-open { min-height: 30px; font-size: 11px; }
#pitch-workbench > .tuner-privacy { font-size: 10px; line-height: 1.4; margin: 0; }
#pitch-workbench .tuner-scope-note { font-size: 11px; line-height: 1.5; color: #455d52; margin: 10px 0; }
#tuner-help { width: min(740px, calc(100vw - 24px)); max-height: calc(100dvh - 40px); padding: 0 24px 24px; border: 1px solid #c5d7cd; border-radius: 14px; color: #20382d; background: white; }
#tuner-help::backdrop { background: #102d23aa; }
.tuner-help-bar { display: flex; justify-content: space-between; gap: 12px; align-items: center; position: sticky; top: 0; background: #fff; padding: 16px 0 12px; z-index: 1; border-bottom: 1px solid #d5e1d9; }
#tuner-help-title { font-size: 20px; font-family: inherit; line-height: 1.3; margin: 0; }
#tuner-help-close { padding: 8px 14px; border: 1px solid #afc6b9; border-radius: 8px; background: #edf5f0; color: #20382d; }
.tuner-help-steps { padding-left: 22px; }
.tuner-help-steps li { padding-left: 6px; margin: 14px 0; font-size: 14px; line-height: 1.6; }
#tuner-adjust-help { scroll-margin-top: 86px; }
#tuner-adjust-help h3 { font-size: 17px; font-family: inherit; }
.tuner-adjust-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: 13px; }
.tuner-adjust-pair p { padding: 10px; background: #f0f6f2; border: 1px solid #cbdcd2; border-radius: 7px; margin: 0; }
#tuner-help figure { margin: 12px 0; }
#tuner-help img { width: 100%; height: auto; display: block; }
#tuner-help figcaption, #tuner-help section > p, #tuner-help .tuner-options p { font-size: 13px; line-height: 1.6; }
#tuner-help .tuner-options label { display: block; }
#tuner-help .tuner-options select { display: block; width: 100%; margin-top: 8px; }
.tuner-guide-launch { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; }
@media screen and (min-width: 901px) {
  .tuner-tool-active .workspace { max-width: 1440px; padding: 12px 20px 20px; grid-template-columns: 184px minmax(0, 1fr); gap: 18px; }
  .tuner-tool-active .chapter-links { gap: 0; }
  .tuner-tool-active .chapter-links a { min-height: 28px; padding: 5px 9px; font-size: 12px; gap: 8px; }
  .tuner-tool-active .finger-tool-shortcut { margin: 0 0 6px; min-height: 40px; padding: 7px 9px; font-size: 12px; }
  .tuner-tool-active .sidebar-note { display: none; }
  .tuner-tool-active .nav-kicker { margin: 4px 0 8px; font-size: 10px; }
  .tuner-tool-active .quickstart-download { margin-top: 8px; }
}
@media screen and (max-width: 760px) {
  .tuner-workspace { display: flex; flex-direction: column; gap: 10px; }
  .tuner-listen-panel { display: contents; }
  .tuner-workspace > *, .tuner-listen-panel > * { width: 100%; }
  .tuner-controls, .tuner-status { order: 1; }
  .tuner-coach { order: 2; }
  .tuner-simulator { order: 3; margin-top: 0; }
  #pitch-workbench .tuner-simulator { display: block; }
  #pitch-workbench .tuner-simulator > p { margin: 8px 0; }
  .tuner-simulator .tuner-demo-scenarios, .tuner-simulator .tuner-demo-actions { margin: 10px 0; }
  #pitch-workbench[data-mode="demo"] .tuner-note { font-size: 40px; }
  #pitch-workbench[data-mode="demo"] .tuner-measurement { margin: 4px 0 8px; }
  #pitch-workbench[data-mode="demo"] .tuner-verdict { margin-top: 6px; font-size: 15px; }
}
@media screen and (max-width: 600px) {
  .tuner-tool-active .workspace { padding: 8px 8px 16px; }
  #pitch-workbench { padding: 10px 14px 14px; border-radius: 14px; scroll-margin-top: 78px; }
  .tuner-app-bar { margin-bottom: 6px; font-size: 11px; }
  .tuner-app-bar button { font-size: 11px; }
  #pitch-workbench .tuner-header h2 { font-size: 26px; margin: 2px 0 4px; }
  #pitch-workbench .tuner-header .eyebrow { display: none; }
  #pitch-workbench .tuner-header > p:last-child { font-size: 12px; }
  .tuner-journey { font-size: 10px; margin: 10px 0; gap: 6px; }
  .tuner-journey li { gap: 4px; }
  .tuner-journey li > span:first-child { width: 18px; height: 18px; }
  #pitch-workbench .tuner-mode-switch button { font-size: 11px; padding: 6px; }
  #pitch-workbench .flute-tuner-readout { padding: 10px 14px; }
  #pitch-workbench .tuner-note { font-size: 56px; }
  #pitch-workbench .tuner-verdict { font-size: 16px; margin-top: 8px; }
  #pitch-workbench .tuner-measurement { margin: 4px 0 10px; }
  .tuner-target-hint { margin: 6px 0 10px; font-size: 11px; }
  #pitch-workbench .tuner-controls { margin-top: 10px; }
  #pitch-workbench .tuner-status { font-size: 11px; min-height: 30px; margin: 6px 0 8px; }
  .tuner-coach { padding: 8px 10px; }
  #pitch-workbench .tuner-coach p { font-size: 12px; line-height: 1.45; }
  #tuner-help { padding: 0 16px 16px; }
  .tuner-adjust-pair { grid-template-columns: 1fr; }
}
@media print { #pitch-workbench, .tuner-guide-launch, .chapter-links a[href="#pitch-workbench"] { display: none !important; } }
