:root { --bg:#0f1419; --card:#1a2332; --text:#e8eef7; --muted:#8b98a8; --acc:#3d8bfd; --err:#f85149; --ok:#3fb950; }
* { box-sizing: border-box; }
body { font-family: system-ui, sans-serif; background: var(--bg); color: var(--text); margin: 0; line-height: 1.5; }
a { color: var(--acc); }
.auth { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.panel { background: var(--card); padding: 2rem; border-radius: 12px; max-width: 420px; width: 100%; box-shadow: 0 12px 40px rgba(0,0,0,.35); }
.panel .logo { display: block; max-width: 100%; height: auto; margin: 0 auto 1rem; }
h1 { font-size: 1.25rem; margin: 0 0 .5rem; }
.muted { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
label { display: block; margin-top: .75rem; margin-bottom: .25rem; font-size: .85rem; }
input, select, button { width: 100%; padding: .55rem .65rem; border-radius: 8px; border: 1px solid #2d3a4d; background: #0f1828; color: var(--text); }
button { background: var(--acc); border: none; font-weight: 600; margin-top: 1rem; cursor: pointer; }
button.danger { background: var(--err); }
.err { color: var(--err); font-size: .9rem; }
.warn { color: #d4a72c; font-size: .9rem; background: #2d2410; padding: .6rem .75rem; border-radius: 8px; margin: .5rem 0; }
.topnav { display: flex; gap: 1rem; align-items: center; justify-content: space-between; padding: .75rem 1.25rem; background: var(--card); border-bottom: 1px solid #2d3a4d; }
.topnav a { text-decoration: none; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 1.25rem; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid #2d3a4d; }
th { color: var(--muted); font-weight: 500; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
@media (max-width: 700px) { .row { grid-template-columns: 1fr; } }
.small { font-size: .8rem; color: var(--muted); }
