:root { --bg:#111214; --panel:#1a1b1f; --line:#2a2c33; --fg:#e6e6e6; --muted:#8b8f9a; --accent:#7c9cff; --err:#ff6b6b; --ok:#5fd18a; }
* { box-sizing:border-box; }
body { margin:0; background:var(--bg); color:var(--fg); font:14px/1.45 -apple-system, system-ui, sans-serif; }
header { display:flex; align-items:center; gap:18px; padding:10px 20px; border-bottom:1px solid var(--line); min-height:56px; }
.pill { display:inline-flex; align-items:center; gap:8px; height:30px; padding:0 10px 0 12px; border:1px solid var(--line); border-radius:15px; font-size:12px; color:var(--muted); white-space:nowrap; }
.pill .dot { width:8px; height:8px; border-radius:50%; background:var(--muted); }
.pill.ok .dot { background:var(--ok); } .pill.warn .dot { background:#ffd166; } .pill.err .dot { background:var(--err); }
.pill b { color:var(--fg); font-weight:500; }
#banner.info { background:#1f2a3a; color:#cfe0ff; border-color:#2c3f5c; }
header h1 { font-size:15px; margin:0; font-weight:600; }
header nav a { color:var(--muted); text-decoration:none; margin-right:14px; }
header nav a.active, header nav a:hover { color:var(--fg); }
header .spacer { flex:1; }
#banner { display:none; background:#3a1f22; color:#ffd2d2; padding:10px 20px; border-bottom:1px solid #5a2a2f; }
#banner button { margin-left:12px; }
main { padding:20px; max-width:1500px; margin:0 auto; }
.panel { background:var(--panel); border:1px solid var(--line); border-radius:10px; padding:16px; }
label { display:block; color:var(--muted); font-size:12px; margin:12px 0 4px; }
label span.v { float:right; color:var(--fg); font-variant-numeric:tabular-nums; }
textarea, input[type=number], input[type=text], input[type=password], select { width:100%; background:#0e0f11; color:var(--fg); border:1px solid var(--line); border-radius:6px; padding:8px; font:inherit; }
textarea { min-height:90px; resize:vertical; }
input[type=range] { width:100%; accent-color:var(--accent); }
details summary { cursor:pointer; color:var(--muted); font-size:12px; margin-top:12px; }
.row { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.row label { margin:0; }
button { background:#26272d; color:var(--fg); border:1px solid var(--line); border-radius:6px; padding:0 12px; height:34px; line-height:32px; font:inherit; font-size:13px; cursor:pointer; white-space:nowrap; display:inline-flex; align-items:center; gap:6px; }
button:hover:not(:disabled) { border-color:var(--accent); }
button:disabled { opacity:.45; cursor:default; }
button.primary { background:var(--accent); color:#0b0d14; border-color:transparent; font-weight:600; width:100%; margin-top:16px; height:42px; justify-content:center; font-size:14px; }
button.danger { border-color:var(--err); color:var(--err); }
button.small { height:28px; line-height:26px; padding:0 10px; font-size:12px; }
.hint { color:var(--muted); font-size:12px; margin-top:6px; min-height:16px; }
.tag { display:inline-block; font-size:11px; padding:1px 6px; border-radius:4px; background:#26272d; color:var(--muted); margin-left:6px; }
.err { color:var(--err); }
