:root{--ink:#172026;--mute:#5d6b75;--line:#dde3e7;--bg:#f4f6f7;--card:#fff;--brand:#0b6e69;--bad:#b3261e;--warn:#9a6200}
*{box-sizing:border-box}body{margin:0;font:14px/1.45 system-ui,"Noto Sans Tamil",sans-serif;color:var(--ink);background:var(--bg)}
header{display:flex;gap:4px;align-items:center;flex-wrap:wrap;padding:8px 16px;background:var(--card);border-bottom:1px solid var(--line)}
header b{margin-right:16px;color:var(--brand)}header .who{margin-left:auto;color:var(--mute)}
main{padding:16px;max-width:1280px;margin:auto}
button,input,select,textarea{font:inherit;color:inherit;padding:7px 10px;border:1px solid var(--line);border-radius:6px;background:#fff}
button{cursor:pointer}button.main{background:var(--brand);border-color:var(--brand);color:#fff}button.tab{border:0}button.tab.on{background:#e0efee;color:var(--brand);font-weight:600}
button:disabled{opacity:.45;cursor:default}
.bar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px;align-items:center}
.card{background:var(--card);border:1px solid var(--line);border-radius:8px;padding:14px;margin-bottom:12px}
.scroll{overflow-x:auto;background:var(--card);border:1px solid var(--line);border-radius:8px}
table{border-collapse:collapse;width:100%}th,td{text-align:left;padding:8px 10px;border-bottom:1px solid var(--line);vertical-align:top}
th{color:var(--mute);font-weight:600;font-size:12px;white-space:nowrap}
.tag{display:inline-block;padding:1px 8px;border-radius:99px;background:#eceff1;font-size:12px;white-space:nowrap}
.tag.active{background:#dff1e3;color:#17612b}.tag.suspended{background:#fff0d1;color:var(--warn)}.tag.blacklisted,.tag.bad{background:#fde4e2;color:var(--bad)}
.mute{color:var(--mute)}.grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.login{max-width:340px;margin:12vh auto}.login input,.login button,form.stack>*{width:100%;margin-bottom:10px}
dialog{border:0;border-radius:10px;padding:18px;width:min(760px,94vw);max-height:90vh}dialog::backdrop{background:#0007}
textarea{width:100%;min-height:80px}h2,h3{margin:0 0 10px}h3{font-size:14px}
.note{border-left:3px solid var(--brand);padding:4px 10px;margin-bottom:8px;white-space:pre-wrap}
#toast{position:fixed;inset:auto auto 16px 50%;transform:translateX(-50%);margin:0;padding:0;border:0;background:none}
#toast div{background:var(--ink);color:#fff;padding:10px 16px;border-radius:8px}#toast div.bad{background:var(--bad)}
.end{justify-content:flex-end}.flat{margin:0}.gap{margin-top:14px}.nowrap{white-space:nowrap}
.wrap{white-space:pre-wrap}
.logo{height:32px;max-width:140px;object-fit:contain;margin-right:8px;vertical-align:middle}.center{text-align:center}.err{color:var(--bad)}
.tag.deleted,.tag.terminated{background:#fde4e2;color:var(--bad)}.shot{max-width:100%;border:1px solid var(--line)}
input.wide{width:min(560px,100%)}.url{font-family:ui-monospace,monospace;font-size:12px}.checks label{display:inline-block;margin:0 14px 6px 0}
progress{width:min(420px,100%);height:14px}pre{white-space:pre-wrap;word-break:break-all;max-height:260px;overflow:auto;background:var(--bg);padding:8px;border-radius:6px;font-size:12px}
nav{display:contents}
.card.stack>label,.card.stack>div{display:block;margin-bottom:10px}header button.tab{padding:6px 7px}
fieldset{border:1px solid var(--line);border-radius:8px;margin:0 0 10px;padding:8px 10px}fieldset label{margin-right:12px;white-space:nowrap}
