:root { --bg:#0f1115; --panel:#181b22; --line:#2a2f3a; --fg:#e8eaf0; --muted:#8b93a7; --accent:#f5b84b; --ok:#3ddc84; --bad:#ff5c6c; --warn:#f5b84b; }
* { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:var(--fg); font:15px/1.5 -apple-system,Segoe UI,Helvetica,Arial,sans-serif; }
header { display:flex; align-items:center; gap:18px; padding:12px 20px; border-bottom:1px solid var(--line); background:var(--panel); position:sticky; top:0; z-index:5; }
.brand { font-weight:700; color:var(--fg); text-decoration:none; font-size:17px; }
nav { margin-left:auto; display:flex; gap:14px; align-items:center; }
main { max-width:1040px; margin:0 auto; padding:20px 16px 80px; }
a { color:var(--accent); }
h1 { font-size:24px; margin:0 0 4px; } h2 { font-size:18px; margin:26px 0 10px; } h3 { font-size:15px; margin:18px 0 8px; color:var(--muted); text-transform:uppercase; letter-spacing:.04em; }
.muted { color:var(--muted); } .small { font-size:13px; } .mono { font-family:ui-monospace,Menlo,monospace; font-size:13px; }
.card { background:var(--panel); border:1px solid var(--line); border-radius:10px; padding:16px 18px; margin:12px 0; }
.row { display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:12px; }
label { display:block; font-size:13px; color:var(--muted); margin:8px 0 3px; }
input, select, textarea { width:100%; background:#0c0e12; color:var(--fg); border:1px solid var(--line); border-radius:7px; padding:8px 10px; font:inherit; }
textarea { min-height:90px; resize:vertical; }
button { background:var(--accent); color:#1a1200; border:0; border-radius:7px; padding:8px 14px; font:inherit; font-weight:600; cursor:pointer; }
button.ghost { background:transparent; color:var(--fg); border:1px solid var(--line); font-weight:500; }
button.danger { background:transparent; color:var(--bad); border:1px solid var(--bad); font-weight:500; }
button:disabled { opacity:.5; cursor:default; }
table { width:100%; border-collapse:collapse; font-size:14px; }
th, td { text-align:left; padding:7px 8px; border-bottom:1px solid var(--line); vertical-align:top; }
th { color:var(--muted); font-weight:500; font-size:12px; text-transform:uppercase; letter-spacing:.04em; }
tr.clickable { cursor:pointer; } tr.clickable:hover td { background:#1e222b; }
.pill { display:inline-block; padding:1px 8px; border-radius:99px; font-size:12px; font-weight:600; }
.pill.open { background:#1f3b2a; color:var(--ok); } .pill.complete { background:#2a2f3a; color:var(--muted); } .pill.sent { background:#3a2f1f; color:var(--accent); }
.stat { background:#0c0e12; border:1px solid var(--line); border-radius:8px; padding:10px 12px; }
.stat .k { font-size:12px; color:var(--muted); } .stat .v { font-size:20px; font-weight:700; font-variant-numeric:tabular-nums; }
pre { background:#0c0e12; border:1px solid var(--line); border-radius:8px; padding:10px 12px; overflow:auto; font-size:12.5px; line-height:1.45; white-space:pre-wrap; word-break:break-all; margin:6px 0; }
.copy { float:right; font-size:12px; padding:3px 9px; }
.timeline { display:flex; height:28px; border-radius:6px; overflow:hidden; border:1px solid var(--line); margin:10px 0; }
.timeline > div { display:flex; align-items:center; justify-content:center; font-size:11px; white-space:nowrap; overflow:hidden; }
.seg-act { background:#2c4a8a; } .seg-int { background:#4a3b1f; } .seg-hold { background:#7a2a2a; }
#toast { position:fixed; bottom:20px; left:50%; transform:translateX(-50%); background:#2a2f3a; color:var(--fg); padding:10px 16px; border-radius:8px; opacity:0; transition:opacity .2s; pointer-events:none; }
#toast.show { opacity:1; }
details summary { cursor:pointer; color:var(--accent); }
.cue { margin:10px 0; } .cue b { display:block; margin-bottom:2px; }
@media (max-width:640px) { th:nth-child(n+4), td:nth-child(n+4) { display:none; } .hide-sm { display:none; } }
