:root { --bg:#0f0f12; --card:#1a1a21; --fg:#f2f2f2; --muted:#a0a0ad; --line:#2c2c36; --accent:#f5a623; --ok:#3ddc84; --err:#ff5d5d; }
* { box-sizing: border-box; }
body { margin:0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background:var(--bg); color:var(--fg); }
header, footer { display:flex; justify-content:space-between; align-items:center; padding:14px 24px; border-bottom:1px solid var(--line); }
footer { border-bottom:0; border-top:1px solid var(--line); color:var(--muted); font-size:14px; justify-content:center; margin-top:40px; }
.brand { font-weight:700; font-size:18px; } .brand span { color:var(--muted); font-weight:400; font-size:14px; margin-left:8px; }
main { max-width: 760px; margin: 32px auto; padding: 0 16px; }
.card { background:var(--card); border:1px solid var(--line); border-radius:12px; padding:24px; margin-bottom:20px; }
h1 { margin:0 0 8px; font-size:28px; } h2 { margin:0; font-size:22px; } h3 { margin:28px 0 8px; font-size:17px; }
.row { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.hidden { display:none !important; }
button { font:inherit; padding:9px 16px; border-radius:8px; border:1px solid var(--line); background:#262630; color:var(--fg); cursor:pointer; }
button:hover:not(:disabled) { filter:brightness(1.15); } button:disabled { opacity:.45; cursor:not-allowed; }
button.primary { background:var(--accent); border-color:var(--accent); color:#1a1200; font-weight:600; }
button.danger { background:#3a1c1c; border-color:#5a2a2a; }
button.link { background:none; border:0; color:var(--accent); padding:0 4px; text-decoration:underline; font-size:14px; }
.actions { display:flex; gap:10px; flex-wrap:wrap; margin:16px 0; }
.badge { padding:4px 12px; border-radius:999px; font-size:13px; font-weight:600; background:#2c2c36; color:var(--muted); }
.badge.running { background:#153d2a; color:var(--ok); } .badge.starting, .badge.creating { background:#3d3415; color:var(--accent); }
.badge.stopped, .badge.not_created { background:#2c2c36; color:var(--muted); }
.connect { margin-top:16px; padding:14px; border:1px dashed var(--line); border-radius:10px; }
.connect label { display:block; color:var(--muted); font-size:13px; margin-bottom:6px; }
code { font: 15px/1.4 Consolas, "Courier New", monospace; background:#0b0b0e; padding:6px 10px; border-radius:6px; word-break:break-all; }
.hint { color:var(--muted); font-size:13px; margin:8px 0 0; }
.live { margin:4px 0; min-height:1.4em; }
.rec-line { margin:0 0 4px; } .rec { font-weight:600; } .rec.on { color:var(--err); } .rec.off { color:var(--muted); }
.msg { min-height:1.5em; margin:0 0 12px; color:var(--muted); } .msg.err { color:var(--err); } .msg.ok { color:var(--ok); }
form label { display:block; margin:12px 0; } form small { color:var(--muted); }
input, select { display:block; width:100%; margin-top:6px; padding:10px; border-radius:8px; border:1px solid var(--line); background:#0b0b0e; color:var(--fg); font:inherit; }
.recordings details { border:1px solid var(--line); border-radius:8px; padding:8px 12px; margin:8px 0; }
.recordings summary { cursor:pointer; } .recordings ul { margin:8px 0 4px; padding-left:20px; }
.recordings a { color:var(--accent); }
