@font-face{font-family:'Be Vietnam Pro';src:url('./fonts/be-vietnam-pro-latin-500-normal.woff2') format('woff2');font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:'Be Vietnam Pro';src:url('./fonts/be-vietnam-pro-latin-700-normal.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap}
:root{font-family:'Be Vietnam Pro',sans-serif;font-weight:500;color:#29231f;background:#fbf6ee;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid #6fa9f2;outline-offset:3px}
.header{height:80px;border-bottom:1px solid rgba(41,35,31,.12)}.header-inner{height:100%;display:flex;align-items:center;padding:0 clamp(24px,4.4vw,64px)}.brand{display:inline-flex;align-items:center;gap:10px;color:#29231f;text-decoration:none;font-size:18px;font-weight:700}.brand-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#ff4d2a;color:#fff;font-size:16px}
main{max-width:1160px;padding:0 24px;margin:auto}.intro{padding:32px 0 24px}.intro h1{font-size:36px;line-height:1.22;letter-spacing:-.035em;margin:0 0 8px}.intro p{font-size:15px;line-height:1.6;color:#6b625a;margin:0}
.instrument{background:#11151b;color:#edf0f3;border:1px solid #242b34;border-radius:20px;padding:28px;box-shadow:0 12px 32px rgba(41,35,31,.07)}.toolbar,.toolbar-left,.source-line,.chart-heading,.chart-foot{display:flex;align-items:center}.toolbar{justify-content:space-between;gap:12px}.toolbar-left{display:flex;gap:10px}.button{min-height:42px;border-radius:9px;padding:0 16px;font-size:13px;font-weight:700;border:1px solid transparent}.primary{background:#edf0f3;color:#11151b}.primary:hover{background:#d1d7de}.primary span{font-size:10px;margin-right:6px}.secondary{background:#202630;color:#edf0f3;border-color:#303945}.secondary:hover,.subtle:hover{background:#2b323d}.subtle{background:transparent;color:#c3cad2;border-color:#343b46;font-weight:500}.source-line{justify-content:space-between;gap:12px;padding:17px 0 20px;color:#9ca8b5;font-size:12px;border-bottom:1px solid #282e38}.source-line>span{font-size:10px;color:#788594;letter-spacing:.05em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.status-dot{display:inline-block;width:7px;height:7px;margin-right:9px;border-radius:50%;background:#687584}.status-dot.active{background:#5fcf98}.message{padding:12px 14px;margin:16px 0 0;color:#f7c1b3;background:#3c2928;border-radius:8px;font-size:13px}.message[hidden],.player-wrap[hidden]{display:none}.player-wrap{display:flex;align-items:center;gap:10px;margin-top:16px}.player-wrap audio{width:min(100%,520px);height:38px}.close-file{border:0;background:none;color:#c3cad2;font-size:24px}
.readouts{display:flex;gap:0;padding:24px 0 28px}.readouts>div{min-width:170px;padding-right:32px}.readout-side{border-left:1px solid #2a313b;padding-left:32px}.readout-label{font-size:10px;letter-spacing:.08em;color:#8c96a1}.peak,.level,.range-value{font-size:26px;font-weight:700;letter-spacing:-.04em;line-height:1.45;margin:5px 0 2px}.peak small,.level small,.range-value span{font-size:13px;font-weight:500;letter-spacing:0;color:#8c96a1}.readout-caption{font-size:11px;color:#8895a3}
.chart-heading{justify-content:space-between;gap:12px;margin:0 0 12px}.chart-heading h2{font-size:15px;line-height:1.4;margin:0 0 3px}.chart-heading>div:first-child>span{font-size:11px;color:#8c96a1}.chart-unit{font-size:11px;color:#8c96a1}.canvas-wrap{position:relative;overflow:hidden;border-radius:12px;background:#090b0f;border:1px solid #222833}.spectrum-wrap{height:280px}.spectro-wrap{height:164px}.canvas-wrap canvas{display:block;width:100%;height:100%}.empty,.spectro-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;color:#8995a3;font-size:12px;line-height:1.7;pointer-events:none}.empty[hidden],.spectro-empty[hidden]{display:none}.spectro-heading{margin-top:28px}.legend{display:flex;align-items:center;gap:7px}.legend span{font-size:10px!important;color:#8c96a1!important}.legend i{width:66px;height:5px;border-radius:5px;background:linear-gradient(90deg,#11151b,#456b9b,#f1bd8f)}.chart-foot{justify-content:space-between;padding:10px 2px 0;color:#8c96a1;font-size:10px;letter-spacing:.04em}
.about{max-width:720px;margin:56px auto 72px;padding-top:28px;border-top:1px solid rgba(41,35,31,.12);display:grid;grid-template-columns:1fr 1fr;gap:40px}.about>div+div{border-left:1px solid rgba(41,35,31,.12);padding-left:40px}.about h2{font-size:17px;line-height:1.5;margin:0 0 8px}.about p{font-size:14px;line-height:1.7;color:#6b625a;margin:0}
footer{background:#231a16;color:#a8988b}.footer-inner{max-width:1160px;min-height:132px;padding:24px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px}.footer-brand{color:#fff}
@media(max-width:700px){.header{height:64px}.header-inner{padding:0 20px}main{padding:0 20px}.intro{padding:28px 0 22px}.intro h1{font-size:30px}.instrument{padding:20px 16px;border-radius:16px}.toolbar{flex-wrap:wrap}.toolbar-left{flex-wrap:wrap}.button{padding:0 12px}.source-line>span{max-width:42%}.readouts>div{min-width:0;padding-right:18px}.readout-side{padding-left:18px}.range{display:none}.spectrum-wrap{height:235px}.spectro-wrap{height:150px}.about{grid-template-columns:1fr;gap:24px;margin:40px auto 56px}.about>div+div{border-left:0;border-top:1px solid rgba(41,35,31,.12);padding:24px 0 0}.footer-inner{padding:24px 20px}}

/* Keep the controls close to the source and let the spectrum lead. */
.toolbar{padding-bottom:22px;border-bottom:1px solid #282e38}.toolbar-left{align-items:center;flex-wrap:wrap}.source-line{border:0;padding:0 0 0 10px;justify-content:flex-start;gap:0;white-space:nowrap}.source-line>span:last-child:not([hidden]){margin-left:8px;max-width:160px;font-size:11px;letter-spacing:0}.spectrum-heading{align-items:flex-end;margin:25px 0 16px}.spectrum-heading h2{font-size:17px}.readouts{padding:0;gap:24px}.readouts>div{min-width:105px;padding:0}.readouts .readout-side{padding-left:24px}.readout-label{font-size:11px;letter-spacing:0;text-transform:none}.peak,.level{font-size:22px;line-height:1.2;margin:5px 0 0}.spectrum-wrap{height:310px}.spectro-heading{margin-top:30px}.subtle{border-color:transparent}.subtle:hover{border-color:#343b46}
@media(max-width:700px){.toolbar{align-items:flex-start}.source-line{width:100%;padding:4px 0 0}.spectrum-heading{align-items:flex-start;gap:16px;flex-wrap:wrap}.readouts{width:100%;gap:20px}.readouts>div{min-width:0}.readouts .readout-side{padding-left:20px}.spectrum-wrap{height:250px}}

.empty{left:43px;right:16px;padding:0 12px}.peak,.level{color:#edf0f3;font-size:24px}
@media(max-width:700px){.toolbar{position:relative;padding-bottom:16px}.toolbar-left{width:100%;padding-bottom:0}.source-line{padding-top:8px;padding-right:120px;min-height:30px}.toolbar>.subtle{position:absolute;right:0;bottom:13px}.spectrum-heading{margin-top:20px;margin-bottom:12px}}
.button{min-height:44px}.button:disabled{opacity:.45;cursor:not-allowed}.button:disabled:hover{background:transparent;border-color:transparent}
@media(max-width:700px){.source-line #status{max-width:none;overflow:visible;text-overflow:clip;white-space:normal}.source-line #source-name:not([hidden]){max-width:100px}}
.brand-icon{font-size:19px}
