/* V12: annotations use photo-native coordinates; readable copy stays in HTML. */
:root{--string-g:#181b21;--string-d:#7dd3fc;--string-a:#a855f7;--string-e:#ef4444;--locator:#006b96;--correct:#187746;--incorrect:#bb2727}
.v12-figure{position:relative;margin:22px 0;padding:10px;border:1px solid #ccd8d1;border-radius:8px;background:#fbfcf8;min-width:0}
.v12-figure img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.v12-figure figcaption{font-size:15px;line-height:1.65;margin:10px 4px 2px}
.v12-figure .annotated-image{position:relative;overflow:hidden;border-radius:4px}
.precise-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}
.precise-overlay .locator{fill:none;stroke:var(--locator);stroke-width:6;paint-order:stroke;filter:drop-shadow(0 0 1.5px white)}
.precise-overlay .halo{fill:none;stroke:white;stroke-width:13}
.precise-overlay text{stroke:white;stroke-width:7;paint-order:stroke;fill:#003c5a;font:700 42px Arial,sans-serif}
.figure-key{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0;padding:0;list-style:none}
.figure-key span{background:#e6f6ff;color:#003c5a;border:1px solid #00769e;padding:6px 10px;border-radius:4px;font-size:14px;font-weight:650}
.bow-camber-grid{grid-template-columns:minmax(0,1fr)!important;gap:20px}
.bow-camber-grid .bow-state{padding:14px;border-width:3px}
.bow-state-good,.correct-example{border-color:var(--correct)!important}
.bow-state-bad,.incorrect-example{border-color:var(--incorrect)!important}
.bow-state .state-mark{position:static;display:inline-grid;margin:6px 0 0;box-shadow:none}
.bow-state-good figcaption{color:#145c36}.bow-state-bad figcaption{color:#a51e1e}
.panel-frames.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.panel-frames>span{background:transparent;border-width:3px;line-height:1}
.panel-frames b{display:inline-block;padding:3px 8px;background:white;border-radius:4px}
.kit-hotspots rect{stroke-width:3;vector-effect:non-scaling-stroke;fill:transparent}
.kit-hotspots rect.is-highlighted{stroke:#005fbb;fill:#008cff0b;filter:drop-shadow(0 0 1px white)}
.photo-note{position:absolute;background:#fffffff2;color:#003c5a;border:2px solid #006b96;border-radius:5px;font-size:14px;font-weight:700;padding:5px 8px;max-width:55%;line-height:1.4}
.rotation-legend{display:flex;gap:16px;flex-wrap:wrap;margin:12px 0;font-size:15px;color:#004969}
.rotation-legend span{display:flex;gap:8px;align-items:center;background:#e9f6ff;border:1px solid #006b96;border-radius:6px;padding:8px}
.rotation-legend b{font-size:30px;line-height:1}
.string-colors{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.string-colors span{border:1px solid #c0ccc5;background:white;padding:7px 10px;display:inline-flex;gap:7px;align-items:center;font-size:14px}
.string-colors i{width:14px;height:14px;border-radius:50%;border:1px solid #64748b;display:inline-block;background:var(--color)}
.tuner-widget .tuner-visual{display:block;padding:12px;background:#f5f9fc;border:2px solid #9cbed0;box-shadow:none}
.tuner-photos{display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:0}
.tuner-photos figure{margin:0;min-width:0}
.tuner-photos figcaption{font-size:14px;font-weight:700;color:#003c5a;margin:6px 0}
.tuner-photo{display:block;width:100%;height:auto;border:1px solid #c5d3da;background:#fff;border-radius:6px}
.tuner-photo text{font:700 52px Arial,sans-serif;fill:#002e46;stroke:white;stroke-width:9;paint-order:stroke}
.tuner-photo [data-guide-string]{fill:none;stroke-width:11;opacity:.08;filter:drop-shadow(0 0 2px white)}
.tuner-photo [data-guide-string].is-selected{opacity:1}
.tuner-photo [data-guide-control]{fill:none;stroke:#00c9ee;stroke-width:15;opacity:0;filter:drop-shadow(0 0 3px white)}
.tuner-photo [data-guide-control].is-lit{opacity:1}
.tuner-guidance{display:block;margin-top:12px}.tuner-guidance>p{margin:9px 0}
.tuner-guidance strong[data-tuner-guide-note]{font-size:20px}
.tuner-direction{background:#fff;border-color:#7eaec4;color:#003c5a;margin:12px 0;min-height:64px}
.tuner-visual[data-state="in-tune"] .tuner-direction{border:2px solid var(--correct);color:var(--correct)}
.tuner-visual[data-state="blocked"] .tuner-direction{border:2px solid var(--incorrect);color:var(--incorrect)}
.peg-calibration{padding:10px;border:1px solid #bbccd4;background:#fff;font-size:14px}
.peg-calibration label{display:block;margin:8px 0}.peg-calibration select{width:100%;padding:10px;background:white;color:#163b4b;border:1px solid #7a9aa8;font-size:14px}
.tuner-strings button{border-top:5px solid var(--color);color:#203d35}
.tuner-strings [aria-pressed="true"]{outline:2px solid #005f8b;outline-offset:2px}
.tuner-readings [data-tuner-note]{font-size:2.6rem;font-weight:800}.tuner-readings [data-tuner-cents]{font-size:14px}
.generated-travel{grid-template-columns:1fr!important}.generated-travel img{max-height:620px}
.generated-left{grid-template-columns:1fr!important}.v12-pose-grid{display:grid;grid-template-columns:1fr;gap:18px}
.v12-pose-grid>figure{margin:0}.look-at-picture{border-left-color:#006b96!important}
@media(max-width:760px){.tuner-photos{grid-template-columns:1fr}.tuner-guidance{display:block}.v12-figure{padding:7px}.v12-figure figcaption{font-size:14px}.photo-note{font-size:11px;padding:3px 5px}.figure-key span{font-size:13px}.tuner-direction strong{font-size:15px}.bow-camber-grid .bow-state{padding:7px}.generated-travel img{max-height:none}}
@media print{.v12-figure{break-inside:avoid;max-width:150mm}.v12-figure img{max-height:145mm}.precise-overlay,.panel-frames,.photo-note{print-color-adjust:exact}.tuner-visual{display:block!important;break-inside:avoid}.peg-calibration{display:none}.tuner-photos{grid-template-columns:1fr 1fr}.generated-travel{display:block}.generated-travel>figure{break-inside:avoid}.bow-camber-grid{display:block}.bow-state{break-inside:avoid;margin-bottom:14px!important}.source-original-compare:not([open])> :not(summary){display:none!important}}
