/* tin whistle fingering chart */
#whistle .wh-bar { gap: 8px; }
#whistle .wh-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
#whistle .wh-namebox { min-width: 0; flex: 1 1 180px; }
#whistle .wh-name { font: 600 30px/1.1 var(--sans); color: var(--ink); letter-spacing: -.01em; }
#whistle .wh-sounds { font-size: 14px; color: var(--body); margin-top: 2px; }
#whistle .wh-btns { display: flex; gap: 6px; }
#whistle .wh-step { min-width: 48px; padding: 10px 14px; font-size: 18px; }
#whistle .wh-diagram { margin-top: 10px; background: var(--canvas); border: 1px solid var(--line); border-radius: 16px; padding: 4px; }
#whistle .wh-svg { display: block; width: 100%; max-width: 600px; margin: 0 auto; height: auto; }
#whistle .wh-tube { fill: var(--strong); stroke: var(--line-strong); }
#whistle .wh-mouth { fill: var(--line-strong); stroke: var(--line-strong); }
#whistle .wh-wind { fill: var(--canvas); }
#whistle .wh-div { stroke: var(--line-strong); stroke-dasharray: 3 3; }
#whistle .wh-c { fill: var(--card); stroke: var(--ink); stroke-width: 1.4; }
#whistle .on .wh-c { fill: var(--primary); stroke: var(--primary); }
#whistle .wh-fill { fill: var(--primary); }
#whistle .wh-n { font: 600 12px var(--sans); fill: var(--muted); text-anchor: middle; }
#whistle .wh-hand { font: 500 11px var(--sans); fill: var(--muted); text-anchor: middle; }
#whistle .wh-plus { font: 700 22px var(--sans); fill: var(--ink); text-anchor: middle; }
#whistle .wh-plus-s { font-size: 13px; }
#whistle .wh-alts { margin-top: 8px; }
#whistle .wh-alts:empty { display: none; }
#whistle .wh-holes { margin: 8px 0 2px; color: var(--ink); font-weight: 500; }
#whistle .wh-desc { margin: 0; }
#whistle .wh-notes { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
#whistle .wh-octl { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
#whistle .wh-nbtns { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 4px; }
#whistle .wh-nb { min-height: 44px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); font: 600 14px/1 var(--sans); cursor: pointer; padding: 0 2px; }
#whistle .wh-nb i { font: 500 10px var(--sans); color: var(--muted); font-style: normal; margin-left: 1px; }
#whistle .wh-nb.wh-minor { border-style: dashed; color: var(--body); }
#whistle .wh-nb[aria-pressed="true"] { background: var(--primary); color: var(--on-primary); border-color: var(--primary); border-style: solid; }
#whistle .wh-nb[aria-pressed="true"] i { color: var(--on-primary); }
#whistle .wh-help { margin: 8px 0 0; }
#whistle .wh-fullbar { margin-top: 10px; }
#whistle .wh-fullbar p { margin: 0; flex: 1 1 200px; }
#whistle .wh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 6px; margin-top: 10px; }
#whistle .wh-cell { display: block; width: 100%; text-align: center; background: var(--canvas); border: 1px solid var(--line); border-radius: 12px; padding: 6px 2px 4px; cursor: pointer; color: var(--ink); font: inherit; }
#whistle .wh-cell.wh-minor { border-style: dashed; border-color: var(--line-strong); }
#whistle .wh-cell b { font-size: 14px; }
#whistle .wh-cell i { font-size: 11px; color: var(--muted); font-style: normal; margin-left: 1px; }
#whistle .wh-tab { display: block; width: 32px; height: auto; margin: 2px auto 0; }
#whistle .wh-qtext { text-align: center; font-weight: 600; color: var(--ink); font-size: 18px; margin: 10px 0 8px; min-height: 1.5em; }
#whistle .wh-qtext.ok { color: var(--ok); } #whistle .wh-qtext.bad { color: var(--bad); }
#whistle .wh-qopts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; max-width: 560px; margin: 0 auto; }
#whistle .wh-qa { padding: 8px 0; font-size: 14px; min-width: 0; }
#whistle .wh-qa.ok { background: var(--ok); border-color: var(--ok); color: #fff; opacity: 1; }
#whistle .wh-qa.bad { background: var(--bad); border-color: var(--bad); color: #fff; opacity: 1; }
@media (max-width: 640px) { #whistle .wh-name { font-size: 24px; } #whistle .wh-qa { font-size: 12px; } }
