* { box-sizing: border-box; }
body { font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; margin: 0; background: #0b1020; color: #f4f6fb; }
.container { max-width: 960px; margin: 0 auto; padding: 24px; }
h1 { margin: 0 0 8px; font-weight: 700; }
.muted { color: #9aa5b1; }

form { background: #121936; border: 1px solid #1d2552; border-radius: 12px; padding: 16px; margin: 16px 0; }
.row { display: flex; gap: 12px; align-items: center; margin: 8px 0; }
.row label { min-width: 100px; color: #c6d0e0; }
.row input[type="text"] { flex: 1; padding: 10px 12px; border: 1px solid #2a3668; background: #0f1530; color: #e8eefc; border-radius: 10px; }
.row small { display: block; color: #738199; }
.row.split { justify-content: flex-end; }
button { background: #3b82f6; color: white; border: 0; padding: 10px 16px; border-radius: 10px; cursor: pointer; font-weight: 600; }
button[disabled] { opacity: 0.6; cursor: default; }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 800px) { .grid { grid-template-columns: 1fr; } }

.status { padding: 8px 12px; background: #0f1530; border: 1px solid #273164; border-radius: 8px; margin-bottom: 8px; color: #c6d0e0; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { padding: 8px 12px; border-bottom: 1px solid #1d2552; }

.audios { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.remote-audio { width: 100%; background: #0f1530; border: 1px solid #273164; border-radius: 8px; }

details { margin-top: 16px; }
pre { background: #0f1530; border: 1px solid #273164; border-radius: 8px; padding: 12px; max-height: 240px; overflow: auto; }

.panel { background: #121936; border: 1px solid #1d2552; border-radius: 12px; padding: 12px; margin: 12px 0; }
.vu { position: relative; height: 18px; background: #0f1530; border: 1px solid #273164; border-radius: 6px; overflow: hidden; }
.vu-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; background: linear-gradient(90deg, #22c55e, #f59e0b, #ef4444); }
.vu-label { position: absolute; right: 8px; top: 0; bottom: 0; display: flex; align-items: center; color: #c6d0e0; font-size: 12px; text-shadow: 0 1px 0 rgba(0,0,0,0.5); }
