:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background:#0b1020; color:#e8ecf8; }
body { margin:0; }
header { display:flex; justify-content:space-between; gap:24px; padding:24px 32px; background:linear-gradient(135deg,#101936,#1a2448); border-bottom:1px solid #283456; position:sticky; top:0; z-index:5; }
h1 { margin:0 0 6px; font-size:26px; }
p { color:#aab5d6; margin:0; }
main { padding:24px 32px 48px; }
.auth { display:flex; gap:10px; align-items:center; flex-wrap:wrap; justify-content:flex-end; }
input, textarea, button { border-radius:10px; border:1px solid #334061; background:#0f172a; color:#e8ecf8; padding:10px 12px; }
button { background:#3b82f6; border-color:#60a5fa; cursor:pointer; font-weight:700; }
button:hover { background:#2563eb; }
textarea { width:100%; min-height:190px; box-sizing:border-box; margin:12px 0; font-family:ui-monospace, SFMono-Regular, Menlo, monospace; }
.cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:14px; margin-bottom:18px; }
.card, .panel { background:#111a31; border:1px solid #263657; border-radius:16px; box-shadow:0 10px 30px rgba(0,0,0,.18); }
.card { padding:16px; display:flex; flex-direction:column; gap:8px; }
.card b { color:#aab5d6; }
.card strong { font-size:26px; }
.card small { color:#8d9ac0; }
.panel { padding:18px; margin:18px 0; overflow:auto; }
.grid2 { display:grid; grid-template-columns:1.4fr 1fr; gap:20px; }
.row { display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
table { width:100%; border-collapse:collapse; font-size:13px; }
th, td { text-align:left; border-bottom:1px solid #243453; padding:9px 8px; white-space:nowrap; }
th { color:#94a3b8; font-size:12px; text-transform:uppercase; letter-spacing:.04em; }
pre { background:#070b16; padding:14px; border-radius:12px; overflow:auto; max-height:420px; border:1px solid #243453; }
.pill { display:inline-flex; padding:4px 9px; border-radius:999px; background:#334155; color:#dbeafe; font-size:12px; font-weight:700; }
.pill.ok { background:#064e3b; color:#a7f3d0; }
.pill.bad, .error { background:#7f1d1d; color:#fecaca; }
.error { padding:10px 12px; border-radius:10px; margin-top:10px; }
@media (max-width: 900px) { header, .grid2 { display:block; } .auth { justify-content:flex-start; margin-top:14px; } }
