:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #17212b; background: #eef3f7; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: linear-gradient(135deg, #eef3f7, #dce8ee); }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 56px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px max(16px, calc((100% - 1180px) / 2)); background: #173246; color: white; }
h1, h2, p { margin-top: 0; } h1 { margin-bottom: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); } h2 { margin-bottom: 18px; font-size: 1.2rem; }
.eyebrow { margin-bottom: 8px; color: #65d2b5; font-size: .72rem; font-weight: 800; letter-spacing: .16em; }
.card, .stat, .auth-card { border: 1px solid #d3e0e7; border-radius: 16px; background: rgba(255,255,255,.92); box-shadow: 0 10px 30px rgba(28, 57, 75, .08); }
.card { margin-bottom: 20px; padding: 24px; } .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.stat { padding: 18px; } .stat span { display: block; color: #637684; font-size: .84rem; } .stat strong { display: block; margin-top: 8px; font-size: 1.8rem; }
label { display: grid; gap: 7px; color: #405563; font-size: .86rem; font-weight: 700; } input { width: 100%; border: 1px solid #bfd0d9; border-radius: 9px; padding: 11px 12px; color: #17212b; background: white; font: inherit; } input:focus { outline: 3px solid rgba(49, 177, 150, .22); border-color: #31b196; }
button { border: 0; border-radius: 9px; padding: 11px 15px; color: white; background: #167d70; font: inherit; font-weight: 800; cursor: pointer; } button:hover { filter: brightness(.95); } button.secondary { color: #174c5c; background: #dcecf0; } button.danger { background: #b33d4b; }
.add-form { display: grid; grid-template-columns: 1fr 1.4fr auto; align-items: end; gap: 14px; } .actions { display: flex; flex-wrap: wrap; gap: 7px; } .actions button { padding: 8px 10px; font-size: .78rem; }
.table-wrap { overflow-x: auto; } table { width: 100%; border-collapse: collapse; min-width: 780px; } th, td { padding: 13px 10px; border-bottom: 1px solid #e1eaee; text-align: left; vertical-align: middle; } th { color: #637684; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; } .sort-link { color: inherit; text-decoration: none; } .sort-link:hover, .sort-link.active { color: #167d70; } .sort-link span { display: inline-block; min-width: 1em; margin-left: 4px; font-size: .9rem; }
.section-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; } .muted { color: #71828e; font-size: .86rem; font-weight: 400; } .ip { padding: 8px 10px; border-radius: 8px; color: #176b5f; background: #e2f4ef; font-size: .78rem; }
.notice { margin-bottom: 16px; border-radius: 10px; padding: 12px 14px; } .notice.error { color: #8c2330; background: #fde7e8; } .notice.success { color: #176b5f; background: #e2f4ef; }
.success-card { border-color: #8ad6c1; } code { display: block; overflow-wrap: anywhere; border-radius: 8px; padding: 12px; color: #123f4b; background: #e6f4f3; font-size: 1rem; }
.auth-page { display: grid; place-items: center; padding: 16px; } .auth-card { width: min(420px, 100%); padding: 32px; } .stack { display: grid; gap: 16px; } .auth-card button { width: 100%; margin-top: 4px; }
@media (max-width: 760px) { .topbar { align-items: start; padding: 22px 16px; } .stats-grid { grid-template-columns: repeat(2, 1fr); } .add-form { grid-template-columns: 1fr; } .section-heading { display: block; } .ip { display: inline-block; margin-top: 10px; } }
