:root { color-scheme: dark; font-family: system-ui, -apple-system, Segoe UI, sans-serif; background: #071224; color: #f4f8ff; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
header { padding: 24px max(24px, calc((100vw - 1100px) / 2)); background: #0b1c35; border-bottom: 1px solid #1b4569; }
.brand { font-size: 24px; font-weight: 800; letter-spacing: .12em; color: #33d7ec; }
header span { display: block; margin-top: 5px; color: #a9bdd1; }
main { max-width: 1100px; margin: 0 auto; padding: 28px 24px 80px; }
.hero { max-width: 740px; margin: 50px auto; }
h1 { margin: 0 0 12px; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; }
h2 { margin: 0 0 16px; font-size: 22px; }
p { color: #bbcadb; line-height: 1.55; }
.card { padding: 28px; margin: 16px 0; background: #10243d; border: 1px solid #245173; border-radius: 18px; }
label { display: block; margin: 14px 0 7px; color: #cdd9e8; font-weight: 600; }
input, select { width: 100%; min-height: 44px; padding: 10px 12px; color: #fff; background: #07182e; border: 1px solid #3b6887; border-radius: 8px; font: inherit; }
input:focus, select:focus, button:focus-visible { outline: 3px solid #ff4c4c; outline-offset: 2px; }
button { min-height: 44px; margin: 8px 8px 0 0; padding: 9px 17px; border: 1px solid #22a7ce; border-radius: 8px; color: #fff; background: #10658b; font: inherit; font-weight: 650; cursor: pointer; }
button.secondary { background: transparent; }
button.danger { border-color: #b84f5c; background: #71313c; }
button:disabled { opacity: .55; cursor: wait; }
.row { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.row > * { flex: 1 1 220px; }
.row button { flex: 0 0 auto; }
.status { min-height: 24px; margin: 12px 0; font-weight: 650; }
.error { color: #ff9b9b; }
.ok { color: #8df1bb; }
.muted, small { color: #9cb0c8; }
.pill { display: inline-block; padding: 5px 12px; border-radius: 999px; background: #12445d; color: #80e8ee; font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.grid .card { margin: 0; }
.metric { display: block; font-size: 32px; font-weight: 750; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 11px 9px; border-bottom: 1px solid #284c67; text-align: left; vertical-align: top; }
th { color: #9ddce7; white-space: nowrap; }
td button { margin-top: 0; white-space: nowrap; }
.actions { display: flex; flex-wrap: wrap; gap: 5px; }
.actions button { min-height: 36px; padding: 6px 10px; font-size: 14px; }
[hidden] { display: none !important; }
@media (max-width: 700px) { header { padding: 20px 24px; } main { padding: 18px 16px 50px; } .hero { margin: 22px auto; } .card { padding: 20px; } }
