:root { color-scheme: dark; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; background: #06172e; color: #f5fbff; }
* { box-sizing: border-box; }
body { margin: 0; background: linear-gradient(135deg, #123f68, #06172e 55%); min-height: 100vh; }
.shell { width: min(1080px, calc(100% - 32px)); margin: 0 auto; padding: 32px 0 64px; }
header { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 24px; }
.eyebrow, .label { display: block; color: #65cfff; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: .2rem 0 0; font-size: clamp(1.8rem, 4vw, 2.7rem); }
h2 { margin-top: 0; }
.card { background: rgba(8, 35, 66, .9); border: 1px solid rgba(101, 207, 255, .25); border-radius: 18px; padding: 22px; box-shadow: 0 15px 45px rgba(0, 0, 0, .22); margin-bottom: 16px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid .wide { grid-column: 1 / -1; }
.card strong { font-size: 1.8rem; }
.card code { overflow-wrap: anywhere; color: #bceaff; }
.card small { display: block; margin-top: 10px; color: #aac0d2; }
.login { max-width: 430px; margin: 60px auto; }
form { display: grid; gap: 14px; }
header form { display: block; }
.actions { display: flex; gap: 10px; justify-content: flex-end; }
label { display: grid; gap: 7px; font-weight: 650; }
input, textarea, select { width: 100%; border: 1px solid #476985; border-radius: 10px; padding: 12px 14px; background: #041425; color: #fff; font: inherit; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(101, 207, 255, .35); border-color: #65cfff; }
button { border: 0; border-radius: 999px; padding: 11px 20px; background: #65cfff; color: #06203c; font-weight: 850; cursor: pointer; }
.secondary { background: #173b5b; color: #fff; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 16px; }
.error { background: #5b2332; }
.success { background: #15543f; }
.table-wrap { overflow: auto; }
table { border-collapse: collapse; width: 100%; font-size: .9rem; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid #294c69; vertical-align: top; }
p { color: #bfd0de; }
.check { display: flex; align-items: center; gap: 10px; }
.check input { width: auto; }
a.button { display: inline-block; border-radius: 999px; padding: 11px 20px; background: #65cfff; color: #06203c; font-weight: 850; text-decoration: none; }
a.button.secondary { background: #173b5b; color: #fff; }
.small, a.button.small { padding: 7px 14px; font-size: .85rem; }
form.inline { display: inline; }
.row-actions { white-space: nowrap; }
.row-actions > * { margin: 0 6px 6px 0; }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 800; }
.status-active { background: #15543f; color: #b9f5dc; }
.status-scheduled { background: #173b5b; color: #bceaff; }
.status-expired, .status-inactive { background: #2b3a48; color: #aac0d2; }
@media (max-width: 640px) {
    .grid { grid-template-columns: 1fr; }
    .grid .wide { grid-column: auto; }
    header { align-items: flex-start; }
    .shell { width: min(100% - 20px, 1080px); padding-top: 20px; }
    th, td { min-width: 130px; }
}
