:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #07111f; color: #e8f0ff; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 75% -10%, #1b3d76 0, transparent 42%), #07111f; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1440px, 100%); margin: 0 auto; padding: 28px; }
.hidden { display: none !important; }
.auth-card { width: min(430px, 100%); margin: 12vh auto 0; padding: 32px; background: rgba(15, 32, 54, .94); border: 1px solid #294b70; border-radius: 18px; box-shadow: 0 24px 80px rgba(0, 0, 0, .3); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: linear-gradient(135deg, #54decf, #3b82f6); color: #061426; font-weight: 900; font-size: 22px; }
.brand strong, .brand small { display: block; }
.brand small { margin-top: 3px; color: #8fa9c9; font-size: 12px; }
h1, h2, p { margin-top: 0; }
h1 { margin: 30px 0 8px; font-size: clamp(26px, 4vw, 42px); letter-spacing: -.04em; }
h2 { margin-bottom: 0; font-size: 20px; }
p { color: #95aac4; line-height: 1.6; }
form label { display: grid; gap: 8px; margin: 18px 0; color: #a9bbd3; font-size: 13px; font-weight: 650; }
input, select { width: 100%; border: 1px solid #2d4e72; border-radius: 10px; padding: 12px 13px; background: #08172a; color: #ecf5ff; outline: none; }
input:focus, select:focus { border-color: #55d9d2; box-shadow: 0 0 0 3px rgba(85, 217, 210, .12); }
.primary, .secondary { border: 1px solid transparent; border-radius: 10px; padding: 11px 16px; font-weight: 750; }
.primary { width: 100%; background: linear-gradient(100deg, #57dcd0, #4385ff); color: #061426; }
.secondary { background: #112945; border-color: #315777; color: #d8e9ff; }
.secondary:hover { border-color: #56d9d3; }
.alert { margin: 18px 0; padding: 12px 14px; border-radius: 10px; line-height: 1.45; font-size: 13px; }
.error { background: rgba(150, 35, 74, .22); border: 1px solid #913b62; color: #ffb6ce; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid #1e3854; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.muted { color: #7e98b6; font-size: 12px; }
.hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 34px 0 22px; }
.hero h1 { margin: 8px 0 5px; }
.eyebrow { color: #56dcd1; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 800; }
.secure-pill { padding: 8px 12px; border: 1px solid #2a5974; border-radius: 999px; color: #8cefe5; font-size: 12px; white-space: nowrap; }
.cards { display: grid; grid-template-columns: repeat(6, minmax(140px, 1fr)); gap: 12px; }
.metric { padding: 18px; border: 1px solid #244461; border-radius: 14px; background: rgba(14, 34, 57, .84); }
.metric-label { color: #8fa9c9; font-size: 12px; }
.metric-value { margin-top: 7px; font-size: 28px; font-weight: 800; }
.metric-detail { margin-top: 5px; color: #5edbd0; font-size: 12px; }
.grid { display: grid; gap: 16px; margin-top: 16px; }
.two-columns { grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); }
.panel { min-width: 0; padding: 20px; border: 1px solid #244461; border-radius: 16px; background: rgba(10, 26, 45, .9); }
.panel-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.filters { display: flex; gap: 8px; margin: 0; }
.filters input { min-width: 200px; }
.filters select { width: 130px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 13px 10px; text-align: left; border-top: 1px solid #1e3854; vertical-align: top; }
th { color: #7f9abb; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.user-name { font-weight: 750; }
.user-sub { margin-top: 3px; color: #839cb9; font-size: 12px; }
.badge { display: inline-flex; padding: 4px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.badge.pro { background: rgba(255, 184, 83, .16); color: #ffc578; }
.badge.free { background: rgba(126, 157, 193, .13); color: #aac3df; }
.status-ok { color: #70e2c6; }
.status-pending { color: #ffc579; }
.errors-list { max-height: 540px; overflow: auto; }
.error-item { padding: 13px 0; border-top: 1px solid #1e3854; }
.error-item:first-child { border-top: 0; }
.error-meta { display: flex; justify-content: space-between; gap: 10px; color: #86a3c3; font-size: 11px; }
.error-message { margin-top: 7px; color: #ffd1dc; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.empty { padding: 30px 8px; color: #7e98b6; text-align: center; }
.footer { padding: 24px 0 8px; color: #6683a4; font-size: 12px; }
@media (max-width: 1120px) { .cards { grid-template-columns: repeat(3, 1fr); } .two-columns { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .shell { padding: 16px; } .topbar, .hero, .panel-heading { align-items: stretch; flex-direction: column; } .top-actions, .filters { flex-wrap: wrap; } .filters input, .filters select { min-width: 0; flex: 1 1 150px; } .cards { grid-template-columns: repeat(2, 1fr); } .metric-value { font-size: 23px; } }
