:root { --ink: #16181D; --muted: #6F7684; --line: #E0E6EF; --soft: #F3F6FA; --accent: #E4F95B; --danger: #C0392B; --warn: #B7791F; }
* { box-sizing: border-box; }
body { margin: 0; font-family: "Segoe UI", system-ui, sans-serif; color: var(--ink); background: var(--soft); font-size: 15px; }
body.center { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 16px; }
.top { display: flex; align-items: center; gap: 24px; background: var(--ink); color: white; padding: 12px 24px; flex-wrap: wrap; }
.top nav { display: flex; gap: 4px; flex-wrap: wrap; }
.top nav a { color: #C9CED8; text-decoration: none; padding: 6px 12px; border-radius: 999px; }
.top nav a.on, .top nav a:hover { background: #2A2D35; color: white; }
.top .out { margin-left: auto; }
.brand { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.brand.big { font-size: 22px; color: var(--ink); }
.logo { background: var(--accent); color: var(--ink); border-radius: 50%; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.muted { color: var(--muted); }
.top .muted { color: #9AA1AE; }
main { max-width: 1200px; margin: 0 auto; padding: 24px 16px; }
h1 { margin: 8px 0 4px; font-size: 28px; font-weight: 600; }
h2 { margin: 0 0 12px; font-size: 18px; font-weight: 600; }
.card { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin: 16px 0; overflow-x: auto; }
.login { width: min(400px, 100%); display: flex; flex-direction: column; gap: 12px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 16px 0; }
.tile { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; display: flex; flex-direction: column; gap: 6px; }
.tile b { font-size: 26px; }
.tile.warn b { color: var(--warn); }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-weight: 600; font-size: 13px; color: #4B5260; background: var(--soft); padding: 8px 10px; white-space: nowrap; }
td { border-bottom: 1px solid #EDF0F5; padding: 8px 10px; }
.num { text-align: right; white-space: nowrap; }
tr.total td { font-weight: 700; border-top: 2px solid var(--line); }
tr.off td { color: var(--muted); }
.bad { color: var(--danger); font-weight: 600; }
.row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: #4B5260; }
input, select { font: inherit; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; min-width: 160px; background: white; }
button, .button { font: inherit; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: white; cursor: pointer; text-decoration: none; color: var(--ink); }
button.primary { background: var(--ink); color: white; border-color: var(--ink); }
button.link { background: none; border: none; color: inherit; padding: 4px 8px; text-decoration: underline; }
button.link.danger { color: var(--danger); }
.banner { background: #EAF2FF; border-radius: 12px; padding: 10px 14px; margin: 8px 0; }
.banner.danger { background: #FDECEA; color: var(--danger); }
.code { text-align: center; }
.bigcode { font-size: 44px; font-weight: 700; letter-spacing: 6px; margin: 12px 0; font-family: Consolas, monospace; }
.mono { font-family: Consolas, monospace; letter-spacing: 2px; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #C9CED8; }
.dot.on { background: #2EB872; }
@media (max-width: 640px) { .top { gap: 10px; } input, select { min-width: 0; width: 100%; } .row label { width: 100%; } }
