/* Annotation follow-up: three equal learning routes and unambiguous tuner controls. */
#first-sound .goal h3{font-size:18px;line-height:1.5;margin-bottom:8px}
#first-sound .goal>strong{display:block;font-size:18px;line-height:1.5;margin-bottom:8px;letter-spacing:normal}
#first-sound .goal p{font-size:17px;line-height:1.8}
.single-note-practice h2{font-size:clamp(23px,2.2vw,30px);line-height:1.4;margin:12px 0}
.single-note-practice p,.single-note-practice label{font-size:16px;line-height:1.7}
.single-note-practice .practice-head{order:0;text-align:left}
.single-note-practice .practice-meter{order:1}
.single-note-practice .single-note-practice-actions{order:2}
.single-note-practice .practice-meter-track{background:linear-gradient(90deg,#e1c49d 0 36%,#9ebf98 38% 62%,#e1c49d 64%)!important}
.single-note-practice .practice-meter-track b{left:38%!important;width:24%!important}
.single-note-practice .single-note-practice-actions [data-practice-status],.single-note-practice .single-note-practice-actions [data-practice-advice]{font-size:16px;line-height:1.7}
.finger-tool-flow{font-size:16px;line-height:1.7;margin:0 0 10px}
@media print{#first-sound .goal h3{font-size:12pt}#first-sound .goal p{font-size:11pt}}
@media(min-width:1000px){.tuning-choice{grid-template-columns:repeat(3,minmax(0,1fr))}}
.tuning-method-sound{border:1px solid #a9c5b8;background:#eef6f0}
.tuner-mode-explanation,.tuner-string-label{font-size:14px;line-height:1.6;margin:8px 0}
.tuner-string-label{font-weight:700}
.tuner-calibration{margin-top:14px;padding:10px;border:1px solid #bacbbf;border-radius:6px}
.tuner-calibration p{font-size:14px;line-height:1.65}.tuner-calibration input{width:95px;padding:7px}
.tuner-actions [data-tuner-stop][hidden]{display:none!important}
.tool-app-ready .tuner-strings button{min-height:52px;font-size:16px;font-weight:700}
#tuning-targets button{min-height:40px;white-space:nowrap}
@media screen{#tuning-targets .table-wrap{max-width:100%;overflow-x:auto}}
/* No nested TOC scrolling: short windows use ordinary page scrolling instead. */
.sidebar,.sidebar>nav{overflow:visible}
@media screen and (min-width:761px){
 /* Keep the desktop navigation anchored below the header. When the table of
    contents is taller than the viewport, only the navigation itself scrolls;
    the document and main content must not carry the sidebar away. */
 .js body .sidebar,
 .js body.nav-page-scroll .sidebar{
   position:sticky;
   top:var(--header);
   height:calc(100dvh - var(--header));
   min-height:0;
   overflow-y:auto;
   align-self:start;
 }
 .js body.nav-page-scroll .workspace{height:auto;min-height:calc(100dvh - var(--header));align-items:start}
 .js body.nav-page-scroll #main{height:auto;overflow:visible}

 .js body .sidebar{padding-block:12px;align-self:start}
 .js .sidebar>nav{flex:0 0 auto;overflow:visible;min-height:0;scrollbar-gutter:auto;padding:0}
 .js .sidebar nav a{font-size:14px;min-height:34px;padding-block:6px;margin:0;line-height:1.35}
 .js .sidebar>.eyebrow{margin:5px 0 7px}
 .js .sidebar>.tuner-shortcut,.js .sidebar>.finger-tool-shortcut{height:40px;min-height:40px;padding-block:3px;margin-top:0;margin-bottom:3px;line-height:1.2}
 .js .sidebar-bottom{margin-top:auto;padding-top:9px}
 .js .sidebar-bottom .quickstart-download{min-height:56px;padding:8px 10px}
 .js .sidebar-bottom>button{min-height:30px;padding-block:5px}
 .js .sidebar-bottom>p{margin:3px 0}
 .js body.nav-page-scroll{height:auto;overflow:auto}
 .js body.nav-page-scroll .workspace{height:auto;min-height:calc(100dvh - var(--header));align-items:start}
 .js body.nav-page-scroll .sidebar{position:sticky;top:var(--header);height:calc(100dvh - var(--header));min-height:0;overflow-y:auto}
 .js body.nav-page-scroll #main{height:auto;overflow:visible}
 .js body.nav-page-scroll .chapter [id]{scroll-margin-top:calc(var(--header) + 24px)}
 html:not(.js) .sidebar{height:auto;position:relative;top:0}
}

@media screen and (min-width:761px){
 .js body .sidebar{scrollbar-width:none;-ms-overflow-style:none}
 .js body .sidebar::-webkit-scrollbar{display:none;width:0;height:0}
 .js body.nav-page-scroll .sidebar{position:sticky}
 .sidebar-scroll-control{position:sticky;z-index:2;display:block;width:100%;height:30px;min-height:30px;padding:0;border:1px solid var(--line);border-radius:4px;background:color-mix(in srgb,var(--paper) 92%,white);color:var(--ink);font-size:18px;line-height:1}
 .sidebar-scroll-control[hidden]{display:none!important}
 .sidebar-scroll-control:hover:not(:disabled){background:var(--soft)}
 .sidebar-scroll-control:disabled{opacity:.28;cursor:default}
 .sidebar-scroll-up{top:0;margin:-4px 0 8px}
 .sidebar-scroll-down{bottom:0;margin:8px 0 -4px}
}
@media screen and (max-width:760px){.sidebar-scroll-control{display:none!important}}
.sidebar nav .nav-disclosure{padding:0;margin:0;border:0}
.sidebar nav .nav-disclosure>summary{display:flex;align-items:center;gap:12px;list-style:none;min-height:34px;padding:6px 10px;font-size:14px;font-weight:400;line-height:1.35;border-radius:4px;margin:0}
.sidebar nav .nav-disclosure>summary::-webkit-details-marker{display:none}
.sidebar nav .nav-disclosure>summary::after{content:'›';font-size:23px;line-height:1;margin-left:auto;transform:rotate(0deg)}
.sidebar nav .nav-disclosure[open]>summary::after{transform:rotate(90deg)}
.sidebar nav .nav-disclosure>summary:hover{background:#edf0e9}
.sidebar nav .nav-disclosure>summary[aria-current]{background:#e9eee5;font-weight:700}
.sidebar nav .nav-disclosure>summary>span{font-size:10px;color:#4e6258}
.sidebar nav .maintenance-subnav{display:block;margin-top:4px}
.sidebar nav .maintenance-subnav a{min-height:34px;font-size:14px}
.string-path-picker{margin:24px 0;padding:20px;border:1px solid #b3cabe;border-radius:8px;background:#eef3ee}
.string-path-buttons{display:none;gap:10px;flex-wrap:wrap}
.js .string-path-buttons{display:flex}
.string-path-buttons button{background:#fff;border-color:#8ba799;font-size:16px;font-weight:700}
.string-path-buttons button[aria-pressed=true]{background:#176947;border-color:#176947;color:#fff}
[data-install-path]>h4,.string-attachment-intro>h4{font-size:21px;margin:18px 0 14px;line-height:1.5}
.plain-route-options{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.plain-route-options article{min-width:0;padding:0;background:transparent}
.plain-route-options h4{margin:0 0 12px;font-size:18px}
.plain-route-options p{margin:0}
.peg-release-figure .annotated-image{max-width:520px;margin-inline:auto}
@media screen and (max-width:760px){
 .js .sidebar.is-open{position:relative;top:0;width:100%;height:auto;max-height:none;overflow:visible;box-shadow:none}
 .sidebar nav .nav-disclosure>summary{font-size:16px;min-height:44px;padding:10px}
 .sidebar nav .maintenance-subnav a{min-height:42px;font-size:15px}
 .plain-route-options{grid-template-columns:1fr}
 .string-path-picker{padding:15px}
 .string-path-buttons button{flex:1 1 120px;padding-inline:10px}
}
@media print{
 /* A portrait reference must fit with its safety caption on one printed page. */
 #loop-hook-reference{break-inside:avoid-page!important;page-break-inside:avoid!important}
 #loop-hook-reference .annotated-image{max-height:none!important;overflow:visible!important}
 #loop-hook-reference img{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:100mm!important;object-fit:contain;margin:0 auto}
 .string-path-buttons{display:none!important}
 [data-install-path][hidden]{display:block!important}
 .string-path-picker{break-inside:avoid}
 .string-attachment-intro{break-inside:avoid}
 .plain-route-options{display:block}
 .plain-route-options article{margin:8pt 0;break-inside:avoid}
}

/* V33 generated-string renders are preload references for the runtime swap. */

/* Current location and readable navigation; short windows still scroll the page. */
.compact-chapter-label{display:none}
@media screen{
 .js .topline{font-size:17px;font-weight:600;line-height:1.4;color:var(--ink);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .js .sidebar nav a,.js .sidebar nav .nav-disclosure>summary{font-size:18px;min-height:40px;line-height:1.35;padding:7px 10px;gap:10px}
 .js .sidebar nav a>span,.js .sidebar nav .nav-disclosure>summary>span{font-size:12px;min-width:23px;flex:none}
 .js .sidebar nav .maintenance-subnav a{font-size:17px;min-height:40px}
 .js .sidebar nav .maintenance-subnav a>span{min-width:36px}
 .js .sidebar>.eyebrow{font-size:11px;letter-spacing:1px}
 .js .sidebar>.tuner-shortcut,.js .sidebar>.finger-tool-shortcut{font-size:16px;min-height:44px;height:auto}
 .js .sidebar-bottom>button{font-size:13px}
 .js .sidebar-bottom .quickstart-download strong{font-size:16px}
 .js .brand>span:last-child{min-width:0}
}
@media screen and (min-width:1101px){:root{--nav:280px}}
@media screen and (min-width:761px) and (max-width:1100px){:root{--nav:258px}}
@media screen and (max-width:1100px){
 .js .brand small{display:none}
 .js .compact-chapter-label{display:block;font-size:12px;line-height:1.3;font-weight:500;letter-spacing:0;margin-top:3px;max-width:190px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
}
@media screen and (max-width:760px){
 .js .brand{flex:1 1 0;min-width:0}
 .js .sidebar nav a,.js .sidebar nav .nav-disclosure>summary,.js .sidebar nav .maintenance-subnav a{min-height:44px;padding-block:10px}
 .js .compact-chapter-label{max-width:100%;font-size:11px}
}

/* Keep the full manual descriptor visible in the wide header. */
@media screen and (min-width:1101px){
 .js .brand>span:last-child{min-width:max-content}
 .js .brand small{display:block;white-space:nowrap}
}

/* Review-only board for external stringing references. It is injected only
   when the URL carries a review query; it is intentionally distinct from the
   approved ModWinds illustrations. */
.online-reference-strip{margin:28px 0 34px;padding:22px;border:1px solid #c9d8d2;border-radius:18px;background:#f4f7f3}
.online-reference-head{max-width:78ch}
.online-reference-head h3{margin:.25rem 0 .55rem;font-size:clamp(21px,2.6vw,30px);color:#193c39}
.online-reference-head p:last-child{margin:0;color:#3e5551}
.online-reference-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:18px}
.online-reference-card{min-width:0;border:1px solid #d4dfda;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(25,60,57,.06);overflow:hidden}
.online-reference-details>summary{padding:15px 16px;cursor:pointer;font-size:16px;line-height:1.35;font-weight:750;color:#193c39;list-style-position:inside}
.online-reference-details>summary::marker{color:#347a67}
.online-reference-details[open]>summary{border-bottom:1px solid #d4dfda;background:#f7faf6}
.online-reference-body{padding:12px 12px 13px}
.online-reference-card figure{margin:0 0 10px;overflow:hidden;border-radius:10px;background:#e9efeb}
.online-reference-card img{display:block;width:100%;height:175px;object-fit:cover}
.online-reference-card figcaption{padding:9px 10px;font-size:13px;line-height:1.45;color:#445853}
.online-reference-card>a{font-size:13px;line-height:1.4;color:#146b62;text-decoration:underline;text-underline-offset:2px}
.online-reference-note{margin:9px 0 0;font-size:12px;font-weight:700;letter-spacing:.02em;color:#9a5a17}
@media(max-width:900px){.online-reference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.online-reference-strip{margin:20px -2px 28px;padding:15px;border-radius:14px}.online-reference-grid{grid-template-columns:1fr}.online-reference-card img{height:auto;max-height:230px;object-fit:cover}}
.v33-preload{display:none!important}
.v33-real-render img{display:block;width:100%;height:auto}

/* Keep the two persistent tool shortcuts on one shared text baseline. */
@media screen{
 .js .sidebar>.tuner-shortcut,
 .js .sidebar>.finger-tool-shortcut{
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  column-gap:8px;
  align-items:center;
  border-width:2px;
  padding-inline:12px;
 }
 .js .sidebar>.tuner-shortcut>span:first-child,
 .js .sidebar>.finger-tool-shortcut>span:first-child{
  width:34px;
  display:grid;
  place-items:center;
  text-align:center;
 }
 .js .sidebar>.tuner-shortcut>span:last-child,
 .js .sidebar>.finger-tool-shortcut>span:last-child{
  justify-self:start;
 }
}

/* Clarinet-style sidebar treatment: compact rows, quiet surfaces and a
   blue current-location rail, while retaining the violin manual's full-page
   scrolling behavior and maintenance disclosure. */
@media screen and (min-width:761px){
 .js body .sidebar{
  padding:28px 20px 20px 28px;
  border-right:1px solid #d6d8d2;
 }
 .js .sidebar>.eyebrow{
  margin:0 0 12px;
  padding:0 12px;
  color:#59655e;
  font-size:11px;
  font-weight:800;
  letter-spacing:1.6px;
  line-height:1.3;
 }
 .js .sidebar>nav{
  display:grid;
  gap:3px;
  padding:4px;
  margin:-4px;
 }
 .js .sidebar nav a,
 .js .sidebar nav .nav-disclosure>summary{
  min-height:40px;
  padding:8px 10px;
  border-radius:5px;
  font-size:15px;
  font-weight:550;
  line-height:1.35;
  color:var(--ink);
 }
 .js .sidebar nav a>span,
 .js .sidebar nav .nav-disclosure>summary>span{
  min-width:24px;
  color:#59655e;
  font-size:11px;
  font-variant-numeric:tabular-nums;
 }
 .js .sidebar nav a:hover,
 .js .sidebar nav .nav-disclosure>summary:hover{
  background:#e5e4dc;
 }
 .js .sidebar nav a[aria-current="page"],
 .js .sidebar nav .nav-disclosure>summary[aria-current="page"]{
  color:#1d5d8b;
  background:#fff;
  box-shadow:inset 3px 0 #1d5d8b;
  font-weight:650;
 }
 .js .sidebar nav a[aria-current="page"]>span,
 .js .sidebar nav .nav-disclosure>summary[aria-current="page"]>span{
  color:#59655e;
 }
 .js .sidebar>.tuner-shortcut,
 .js .sidebar>.finger-tool-shortcut{
  grid-template-columns:auto minmax(0,1fr);
  gap:1px 7px;
  min-height:42px;
  margin:0 0 12px;
  padding:9px;
  border:1px solid #b8d4c0;
  border-left:4px solid #168244;
  border-radius:5px;
  background:#f0f8f1;
  color:#168244;
  font-size:14px;
  font-weight:700;
 }
 .js .sidebar>.tuner-shortcut>span:first-child,
 .js .sidebar>.finger-tool-shortcut>span:first-child{
  width:auto;
  min-width:24px;
  font-size:1.1rem;
  line-height:1.2;
  place-items:center;
 }
 .js .sidebar>.tuner-shortcut>span:last-child,
 .js .sidebar>.finger-tool-shortcut>span:last-child{
  justify-self:start;
 }
 .js .sidebar-bottom{
  border-top:1px solid #ced2c9;
  margin-top:20px;
  padding:16px 10px 10px;
 }
 .js .sidebar-bottom>button{font-size:12px}
 .js .sidebar-bottom>p{font-size:11px;line-height:1.5}
}

@media screen and (max-width:760px){
 .js .sidebar{
  padding:24px 18px;
  background:#f4f3ed;
 }
 .js .sidebar>.eyebrow{
  margin:0 0 12px;
  padding:0 10px;
  color:#59655e;
  font-size:11px;
  font-weight:800;
  letter-spacing:1.4px;
  line-height:1.3;
 }
 .js .sidebar nav a,
 .js .sidebar nav .nav-disclosure>summary{
  min-height:40px;
  padding:8px 10px;
  border-radius:5px;
  font-size:15px;
  font-weight:550;
  line-height:1.35;
 }
 .js .sidebar nav a>span,
 .js .sidebar nav .nav-disclosure>summary>span{
  min-width:24px;
  color:#59655e;
  font-size:11px;
 }
 .js .sidebar nav a[aria-current="page"],
 .js .sidebar nav .nav-disclosure>summary[aria-current="page"]{
  color:#1d5d8b;
  background:#fff;
  box-shadow:inset 3px 0 #1d5d8b;
  font-weight:650;
 }
 .js .sidebar>.tuner-shortcut,
 .js .sidebar>.finger-tool-shortcut{
  min-height:42px;
  margin:0 0 12px;
  padding:9px;
  border:1px solid #b8d4c0;
  border-left:4px solid #168244;
  border-radius:5px;
  background:#f0f8f1;
  color:#168244;
  font-size:14px;
  font-weight:700;
 }
 .js .sidebar>.tuner-shortcut>span:first-child,
 .js .sidebar>.finger-tool-shortcut>span:first-child{
  width:auto;
  min-width:24px;
  font-size:1.1rem;
 }
 .js .sidebar-bottom{
  border-top:1px solid #ced2c9;
  margin-top:20px;
  padding:16px 10px 10px;
 }
}
#tuning-sound-details img {
  display: block;
  max-width: 100%;
  height: auto;
}
