.audio-explorer { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: clamp(20px, 3vw, 32px); }
.audio-path { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; padding: 0; margin: 0 0 28px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.audio-path li { background: var(--surface-2); padding: 16px; min-width: 0; }
.audio-path strong, .audio-path span { display: block; }
.audio-path span { margin-top: 4px; font-size: .82rem; color: var(--muted); }
.audio-controls { max-width: 700px; margin: 0 auto; }
.audio-tier-select { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--muted); }
.audio-tier-limit { margin-left: 4px; font-size: .9rem; }
.audio-duration { margin-top: 28px; }
.audio-duration input { width: 100%; accent-color: var(--accent); }
.audio-result { margin: 25px 0 0; font-size: 1.15rem; }
.audio-result strong { font-size: 2rem; color: var(--accent); }
.audio-result span, .audio-padding { color: var(--muted); }
.audio-padding { margin-top: 4px; font-size: .9rem; }
.audio-math { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); }
.audio-math summary { cursor: pointer; font-weight: 650; }
.audio-math p { margin-top: 14px; color: var(--muted); max-width: 72ch; }
@media (max-width: 650px) { .audio-path { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.tone-explorer { width: 100%; min-width: 0; background: var(--accent-wash); border-radius: 6px; padding: 16px; color: var(--ink); }
#flow-0 { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
@media (max-width: 650px) { #flow-0 { grid-template-columns: minmax(0, 1fr); } }
.tone-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .82rem; }
.tone-top button { background: var(--surface); border: 1px solid var(--accent); color: var(--accent); border-radius: 4px; padding: 6px 9px; font: inherit; cursor: pointer; }
.tone-plot { margin-top: 13px; }
.tone-plot > span { display: block; color: var(--muted); font-size: .75rem; margin-bottom: 5px; }
.tone-plot canvas { display: block; width: 100%; border-radius: 3px; background: var(--surface); }
#tone-wave { height: 48px; }
#tone-spec { height: 100px; }
.tone-axis { display: flex; justify-content: space-between; color: var(--muted); font-size: .7rem; margin: 2px 0 0 43px; }
.tone-selection { display: flex; justify-content: space-between; font-size: .78rem; margin-top: 12px; }
#tone-position { width: 100%; accent-color: var(--accent); }
.tone-hint { margin: 3px 0 0; font-size: .75rem; line-height: 1.4; color: var(--muted); }
