:root { --bg: #f4f5f7; --card: #fff; --ink: #1d2330; --mute: #6b7385; --line: #e2e5eb; --acc: #1f5fbf; --acc2: #174a96; --ok: #1d7a46; --bad: #b3261e; --warn: #9a6200; }
* { box-sizing: border-box; }
body { margin: 0; font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--acc); }
header.top { display: flex; align-items: center; gap: 16px; padding: 10px 20px; background: #1d2330; color: #fff; }
header.top b { font-size: 15px; letter-spacing: .2px; }
header.top nav { margin-left: auto; display: flex; gap: 14px; align-items: center; }
header.top a, header.top button.link { color: #c9d4ea; text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
header.top a:hover, header.top button.link:hover { color: #fff; }
main { max-width: 1200px; margin: 24px auto; padding: 0 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 20px; margin-bottom: 18px; }
.center { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login { width: 100%; max-width: 380px; }
.login h1 { font-size: 20px; margin: 0 0 4px; }
.login p.sub { margin: 0 0 18px; color: var(--mute); }
label { display: block; font-size: 12px; color: var(--mute); margin: 10px 0 4px; }
input, select, textarea { width: 100%; padding: 8px 10px; border: 1px solid #cfd4dd; border-radius: 6px; font: inherit; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid #b9cdf0; border-color: var(--acc); }
button, .btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 6px; border: 1px solid var(--acc); background: var(--acc); color: #fff; font: inherit; cursor: pointer; text-decoration: none; }
button:hover, .btn:hover { background: var(--acc2); }
button.sec { background: #fff; color: var(--acc); }
button.sec:hover { background: #eef3fb; }
button.danger { background: #fff; color: var(--bad); border-color: #e3b7b3; }
button.danger:hover { background: #fbeceb; }
button:disabled { opacity: .55; cursor: default; }
button.small { padding: 4px 9px; font-size: 12px; }
.full { width: 100%; justify-content: center; margin-top: 16px; }
.msg { margin-top: 12px; padding: 8px 10px; border-radius: 6px; font-size: 13px; display: none; }
.msg.show { display: block; }
.msg.err { background: #fbeceb; color: var(--bad); }
.msg.ok { background: #e8f5ee; color: var(--ok); }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; }
.row > * { flex: 1 1 160px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 11px; text-transform: uppercase; letter-spacing: .4px; color: var(--mute); font-weight: 600; background: #fafbfc; position: sticky; top: 0; }
tr.click { cursor: pointer; }
tr.click:hover td { background: #f6f8fc; }
tr.sel td { background: #eef3fb; }
.pill { display: inline-block; padding: 1px 8px; border-radius: 99px; font-size: 11px; font-weight: 600; }
.pill.ok { background: #e2f3e9; color: var(--ok); }
.pill.bad { background: #fbe4e2; color: var(--bad); }
.pill.warn { background: #fdf0d9; color: var(--warn); }
.pill.mute { background: #eceef2; color: var(--mute); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #c7ccd6; margin-right: 6px; }
.dot.on { background: #2ea05c; }
.mute { color: var(--mute); }
.tabs { display: flex; gap: 4px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.tabs button { background: none; color: var(--mute); border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 8px 12px; }
.tabs button.on { color: var(--ink); border-bottom-color: var(--acc); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .grid2 { grid-template-columns: 1fr; } }
.scroll { max-height: 60vh; overflow: auto; }
.secret { font-family: ui-monospace, Consolas, monospace; font-size: 16px; background: #fff8e1; border: 1px dashed #d9b44a; padding: 10px 12px; border-radius: 6px; margin: 8px 0; user-select: all; }
code, .mono { font-family: ui-monospace, Consolas, monospace; font-size: 12px; }
h2 { font-size: 16px; margin: 0 0 12px; }
h3 { font-size: 14px; margin: 18px 0 8px; }
.stat { display: flex; gap: 12px; flex-wrap: wrap; }
.stat div { background: #fafbfc; border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; min-width: 140px; }
.stat b { display: block; font-size: 20px; }
.stat span { font-size: 12px; color: var(--mute); }
