:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, sans-serif; background: #071019; color: #e8f0f6; }
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(circle at top right, #13344a 0, #071019 38rem); min-height: 100vh; }
a { color: #70d7ff; text-decoration: none; }
a:hover { text-decoration: underline; }
.topbar { min-height: 4.5rem; display: flex; align-items: center; gap: 2rem; padding: 0 4vw; border-bottom: 1px solid #244052; background: #08131dcc; backdrop-filter: blur(12px); }
.brand { color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: .04em; }
nav { display: flex; gap: 1.25rem; flex: 1; }
main { width: min(1120px, 92vw); margin: 2.5rem auto 5rem; }
h1, h2 { margin: 0 0 .7rem; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: 1.25rem; }
.hero, .card { border: 1px solid #29495e; background: #0d1b27e8; border-radius: 18px; box-shadow: 0 20px 60px #0005; }
.hero { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 1rem; padding: 2rem; margin-bottom: 1.25rem; }
.card { padding: 1.5rem; margin-bottom: 1.25rem; }
.narrow { max-width: 470px; margin: 8vh auto; }
.metric { display: flex; flex-direction: column; justify-content: center; padding: 1rem; border-left: 1px solid #29495e; }
.metric span, .muted { color: #91a9b9; }
.metric strong { font-size: 1.1rem; margin-top: .45rem; overflow-wrap: anywhere; }
.eyebrow { margin: 0 0 .4rem; color: #4fd1a7; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.page-heading, .section-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.3rem; }
.page-heading { align-items: end; }
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: end; }
.stack { display: grid; gap: 1rem; }
label { display: grid; gap: .4rem; color: #b8cbd8; font-size: .9rem; }
input, textarea, select { width: 100%; border: 1px solid #34566b; border-radius: 9px; padding: .72rem .8rem; color: #eef7fc; background: #08131d; font: inherit; }
textarea { min-height: 5rem; resize: vertical; }
.wide { grid-column: 1 / -1; }
.check { display: flex; align-items: center; gap: .5rem; }
.check input { width: auto; }
button { border: 0; border-radius: 9px; padding: .72rem 1rem; background: #22b889; color: #03120d; font-weight: 800; cursor: pointer; }
button.secondary { background: #29495e; color: #e8f0f6; }
button.danger { background: #5b2931; color: #ffdfe3; }
.inline-form { display: inline-flex; }
.danger-zone { margin-top: .8rem; }
.row-form { display: grid; grid-template-columns: 1fr 1.3fr auto auto; gap: .7rem; align-items: center; }
.add-row { margin-top: 1rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .85rem .65rem; border-bottom: 1px solid #213a4c; }
th { color: #8fa9ba; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.badge { display: inline-block; border: 1px solid #4b6070; border-radius: 999px; padding: .25rem .55rem; color: #a8bac6; font-size: .78rem; }
.badge.ok { border-color: #248d6d; color: #6fe0bd; }
.alert { padding: .8rem 1rem; border: 1px solid #8d3a48; border-radius: 9px; background: #35151b; color: #ffdce1; }
code { color: #8adfff; }
@media (max-width: 800px) { .hero, .form-grid { grid-template-columns: 1fr; } .metric { border-left: 0; border-top: 1px solid #29495e; } .topbar { flex-wrap: wrap; padding-block: 1rem; } nav { order: 3; width: 100%; } .row-form { grid-template-columns: 1fr; } .wide { grid-column: auto; } .page-heading { align-items: start; flex-direction: column; } }
