.tg-root{--tg-pine:#123d34;--tg-copper:#a84e33;--tg-line:#d4dcd4;--tg-bg:#fff;line-height:1.55;color:#18362e}
.tg-panel{padding:clamp(18px,3vw,34px);background:var(--tg-bg);border-radius:16px;border:1px solid var(--tg-line);max-width:850px;box-sizing:border-box}
.tg-stack{display:grid;gap:18px}.tg-panel h3{margin:0 0 .45rem;font:500 clamp(26px,3vw,36px)/1.12 Georgia,serif;color:#173c31}.tg-panel h4{margin:20px 0 3px}.tg-panel p{max-width:65ch;margin:8px 0 16px}.tg-actions,.tg-tags,.tg-strings{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin:15px 0}.tg-btn,.tg-label select{font:inherit;font-weight:600;line-height:1.25;color:var(--tg-pine);border:1px solid #c4d2c8;border-radius:8px;background:#fff;padding:10px 15px;cursor:pointer}.tg-btn:hover,.tg-btn:focus-visible{background:#e8f0ea}.tg-btn[aria-pressed=true],.tg-btn.solid{background:#153e33;color:#fff;border-color:#153e33}.tg-btn:disabled{opacity:.55;cursor:default}.tg-btn[hidden]{display:none}.tg-label,.tg-range{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:15px 0;font-weight:600}.tg-range input{flex:1;min-width:120px;max-width:480px;accent-color:var(--tg-copper)}.tg-beats{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0}.tg-beats i{font-style:normal;border:1px solid #aebfb4;background:#eef3ec;width:36px;height:36px;border-radius:50%;display:grid;place-items:center}.tg-beats i.on{background:#a84e33;border-color:#a84e33;color:#fff}.tg-metric{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}.tg-metric output,.tg-reading strong{font:500 50px/1.1 Georgia,serif;color:var(--tg-pine)}.tg-tuner{text-align:center}.tg-tuner .tg-actions,.tg-tuner .tg-strings{justify-content:center}.tg-tuner .tg-status{margin:16px auto;min-height:1.5em}.tg-meter{height:85px;width:160px;margin:0 auto 5px;border-radius:130px 130px 0 0;background:repeating-conic-gradient(from -90deg at 50% 100%,transparent 0deg 14deg,#88998c 14deg 15deg),conic-gradient(from -90deg at 50% 100%,#e0c3b4 0deg 70deg,#91b699 70deg 110deg,#e0c3b4 110deg 180deg);position:relative;overflow:hidden}.tg-meter:after{content:'';position:absolute;inset:12px 12px -1px;border-radius:130px 130px 0 0;background:white}.tg-needle{position:absolute;height:90%;width:3px;bottom:0;left:calc(50% - 1.5px);background:var(--tg-copper);transform-origin:bottom center;z-index:1;transition:transform .12s}.tg-reading{display:grid;gap:4px}.tg-reading small{font-size:.875rem}.tg-chord-grid{display:grid;grid-template-columns:minmax(180px,1fr) 2fr;gap:24px;align-items:center}.tg-diagram{width:100%;max-width:300px;display:block;margin:auto;background:#f3f6f1;border-radius:10px}.tg-diagram text{fill:var(--tg-pine);font:14px system-ui;text-anchor:middle}.tg-tech-photo{display:block;width:100%;height:clamp(135px,24vw,240px);object-fit:cover;border-radius:9px;margin-bottom:20px}.tg-card{margin-top:22px}.tg-card p{max-width:70ch}.tg-label select{max-width:100%;white-space:normal}.tg-takes{margin-top:12px}.tg-take{display:flex;gap:10px;align-items:center;flex-wrap:wrap;border-top:1px solid var(--tg-line);padding:13px 0}.tg-take audio{max-width:100%;width:240px;height:38px}.tg-score{font-size:.875rem;color:#486457}.tg-root :focus-visible{outline:2px solid #ae583b;outline-offset:3px}
@media(max-width:600px){.tg-chord-grid{grid-template-columns:1fr;gap:12px}.tg-diagram{max-width:220px}.tg-btn,.tg-label select{font-size:.925rem;padding:10px 12px}.tg-actions,.tg-tags,.tg-strings{gap:8px}.tg-panel{padding:18px}.tg-label{align-items:flex-start;flex-direction:column}.tg-metric output{font-size:42px}}
.tg-tech-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(16px,3vw,30px);align-items:start}.tg-tech-layout .tg-card{margin-top:0}.tg-tech-figure{margin:0}.tg-tech-figure .tg-tech-photo{height:auto;max-height:430px;object-fit:contain;background:#182e28;margin-bottom:8px}.tg-tech-figure figcaption{font-size:.875rem}.tg-mirror{accent-color:var(--tg-pine)}
@media(max-width:600px){.tg-tech-layout{grid-template-columns:1fr}.tg-tech-figure .tg-tech-photo{max-height:320px}}
