:root { color-scheme: light dark; --card: #f4f4f6; --muted: #777; --accent: #2f6fed; --bad: #c0392b; --ok: #1e8e3e; }
@media (prefers-color-scheme: dark) { :root { --card: #1e1f24; --muted: #9a9aa5; } }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; }
header { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid #8884; }
h1 { font-size: 20px; margin: 0; }
h2 { font-size: 16px; margin: 0 0 8px; }
main { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 14px; padding: 14px 20px; }
.card { background: var(--card); border-radius: 10px; padding: 14px; }
#card-queue, #card-log { grid-column: 1 / -1; }
.muted { color: var(--muted); font-weight: normal; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 6px 0; }
.knobs label { display: inline-flex; align-items: center; gap: 6px; }
input[type=text], input:not([type]), input[type=password] { padding: 6px 8px; border: 1px solid #8886; border-radius: 6px; min-width: 240px; background: transparent; color: inherit; }
button { padding: 6px 12px; border-radius: 6px; border: 1px solid #8886; background: var(--accent); color: white; cursor: pointer; }
button:disabled { opacity: .45; cursor: default; }
button.small { padding: 2px 8px; font-size: 12px; }
.profiles button { margin-right: 6px; }
.profiles button.active { outline: 3px solid #ffd54a; }
.now { font-size: 18px; margin-bottom: 6px; }
audio { width: 100%; margin: 6px 0; }
ol { padding-left: 22px; margin: 0; }
li { margin: 4px 0; }
li.current { font-weight: bold; }
.badge { display: inline-block; font-size: 11px; padding: 1px 6px; border-radius: 8px; background: #8883; margin-left: 6px; }
.badge.provider { background: #2f6fed44; }
.badge.fallback { background: #e67e2244; }
details summary { cursor: pointer; color: var(--muted); font-size: 13px; }
pre { white-space: pre-wrap; font-size: 12px; margin: 4px 0 0; max-height: 320px; overflow: auto; }
.health.ok { color: var(--ok); } .health.bad { color: var(--bad); }
code { font-size: 13px; }
