.tr-panel{--tr-amber:var(--accent-amber,#e09132);--tr-ink:var(--text-primary,inherit);--tr-muted:var(--text-secondary,#aaa195);--tr-line:var(--border-subtle,#443a30);--tr-surface:var(--bg-surface,#1e1a17);--tr-inset:var(--bg-elevated,#28231e);width:100%;min-width:0;color:var(--tr-ink);background:var(--tr-surface);border:1px solid var(--tr-line);border-radius:18px;overflow:hidden}.tr-panel button,.tr-panel input[type=number],.tr-panel select{font:inherit;border:1px solid var(--tr-line);border-radius:8px;min-height:44px;background:var(--tr-inset);color:inherit;padding:.48rem .8rem;cursor:pointer}.tr-panel button:hover,.tr-panel button[aria-pressed=true]{border-color:var(--tr-amber)}.tr-panel button:active{transform:translateY(1px)}.tr-panel button:disabled{opacity:.55;cursor:default}.tr-file:focus-within,.tr-panel :is(button,select,input,label:has(input[type=file])):focus-visible{outline:2px solid var(--tr-amber);outline-offset:2px}.tr-panel :is(input[type=range],input[type=checkbox]){accent-color:var(--tr-amber)}.tr-panel h2{font:inherit;font-size:1.08rem;font-weight:700;line-height:1.4;margin:0}.tr-display{flex-direction:column;justify-content:center;padding:18px 20px 22px;text-align:center;background:var(--tr-surface);border-bottom:1px solid var(--tr-line)}.tr-display,.tr-eyebrow{display:flex;align-items:center}.tr-eyebrow{gap:8px;text-transform:uppercase;letter-spacing:.135em;font-size:.72rem;font-weight:700;color:var(--tr-muted)}.tr-dot{display:inline-block;width:7px;height:7px;background:var(--tr-amber);border-radius:100%}.tr-dot.tr-on{background:#2eb872}.tr-gauge{width:min(100%,258px);height:auto;display:block;margin:12px auto 0;color:var(--tr-muted)}.tr-clock-read,.tr-delays dd,.tr-leds span,.tr-numeric,.tr-readout,.tr-strings small{font-family:var(--font-mono,"JetBrains Mono",ui-monospace,monospace);font-variant-numeric:tabular-nums}.tr-readout{font-size:clamp(2.25rem,5vw,3.35rem);line-height:1.15;letter-spacing:-.07em}.tr-numeric{font-size:.85rem;color:var(--tr-muted);margin-top:3px}.tr-numeric span{padding:0 .4rem}.tr-status{margin:.45rem 0 .9rem;font-size:.84rem;font-weight:600}.tr-status.tr-locked{color:var(--state-in-tune,#2eb872)}.tr-panel .tr-primary{min-height:46px;font-weight:700;background:var(--tr-amber);color:#21170b;border-color:var(--tr-amber);padding-inline:1.35em}.tr-panel .tr-primary:hover{filter:brightness(1.07)}.tr-panel .tr-secondary{font-weight:650}.tr-panel kbd{font-family:ui-monospace,monospace;border:1px solid;opacity:.72;border-radius:3px;padding:1px 4px;font-size:.64rem}.tr-level{font-size:.75rem;margin-top:.6rem}.tr-level meter{width:7em;margin-inline-start:.5em}.tr-reference{padding:18px clamp(12px,3vw,30px);border-bottom:1px solid var(--tr-line)}.tr-section-head{display:flex;align-items:center;justify-content:space-between;gap:.8rem;margin-bottom:.8rem}.tr-check,.tr-section-head label{min-height:44px;display:inline-flex;align-items:center;gap:6px;cursor:pointer}.tr-fallback{box-shadow:inset 3px 0 var(--tr-amber)}.tr-reference h2+div{margin-top:.85rem}.tr-notice,.tr-result{margin:0;padding:12px clamp(12px,3vw,30px);overflow-wrap:anywhere}.tr-notice{border-inline-start:3px solid var(--tr-amber)}.tr-result:empty{display:none}.tr-accents,.tr-actions,.tr-options,.tr-strings{display:flex;flex-wrap:wrap;gap:8px}.tr-strings button{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1 1 64px;max-width:115px;padding:.45rem .3rem}.tr-strings strong{font:700 1.15rem/1.3 var(--font-mono,ui-monospace,monospace)}.tr-strings small{font-size:.7rem;color:var(--tr-muted);white-space:nowrap}.tr-options{padding:0 clamp(12px,3vw,30px) 18px}.tr-reference .tr-options{padding:12px 0 0}.tr-options button{font-size:.77rem;min-height:44px}.tr-controls{display:flex;flex-wrap:wrap;align-items:end;gap:10px 16px;padding:14px clamp(12px,3vw,30px)}.tr-reference .tr-controls{padding:0}.tr-controls label{display:flex;flex-direction:column;gap:4px;font-size:.81rem;flex:1 1 110px;min-width:0}.tr-controls :is(select,input){width:100%;min-width:0}.tr-plot{margin:16px clamp(12px,3vw,30px) 20px}.tr-plot figcaption{font-size:.85rem;margin-bottom:.4rem}.tr-plot canvas{width:100%;height:auto;max-height:180px;background:var(--tr-inset);border:1px solid var(--tr-line);border-radius:8px}.tr-clock{padding:24px 20px 22px;gap:15px}.tr-clock-read{display:flex;align-items:baseline;gap:10px;line-height:1}.tr-clock-read output{font-size:clamp(3.5rem,8vw,5.5rem);letter-spacing:-.08em}.tr-clock-read small{font-size:1rem;color:var(--tr-muted)}.tr-tempo-adjust{display:flex;width:min(100%,440px);align-items:center;gap:5px;min-width:0}.tr-tempo-adjust button{min-width:44px;padding-inline:5px}.tr-tempo-adjust input{flex:1;min-width:0}.tr-leds{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;max-width:100%}.tr-leds span{display:grid;place-items:center;border:1px solid var(--tr-line);color:var(--tr-muted);height:23px;width:23px;border-radius:50%;font-size:.69rem}.tr-leds .tr-strong{border-color:var(--tr-amber)}.tr-leds .tr-lit{background:var(--tr-amber);color:#261a0c;outline:2px solid var(--tr-amber);outline-offset:1px;transform:scale(1.07)}.tr-leds .tr-silent{border-style:dashed}.tr-accents button{font-size:.83rem}.tr-accents b{font-family:ui-monospace,monospace;color:var(--tr-amber)}.tr-actions{justify-content:center}.tr-tap-info{display:flex;gap:12px;align-items:center;color:var(--tr-muted);font-size:.8rem}.tr-tap-info button{font-size:inherit}.tr-file{position:relative;display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:center;min-height:80px;margin:16px;padding:10px;border:1px dashed var(--tr-amber);border-radius:8px;cursor:pointer;text-align:center}.tr-file input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.tr-delays{display:flex;gap:12px 24px;flex-wrap:wrap;margin:14px 0 0}.tr-delays dd{margin:0}@media(max-width:520px){.tr-display{padding:12px 10px 15px}.tr-eyebrow{font-size:.67rem}.tr-gauge{width:194px;margin-top:6px}.tr-readout{font-size:2rem}.tr-status{margin:.24rem 0 .6rem}.tr-clock{padding:18px 10px;gap:13px}.tr-reference{padding-top:10px;padding-bottom:12px}.tr-panel kbd{display:none}.tr-controls{gap:8px}.tr-strings{gap:6px}.tr-leds{gap:4px}}@media(prefers-reduced-motion:reduce){.tr-leds .tr-lit,.tr-panel button:active{transform:none}}