:root { color-scheme: light; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; color: #182c3b; background: #edf2f5; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 1400px; margin: 0 auto; padding: 36px 24px 64px; }
header { margin-bottom: 26px; }
h1 { margin: 4px 0 12px; font-size: 32px; }
h2 { margin: 0 0 20px; font-size: 18px; }
header p { color: #536977; margin: 0; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 2px; color: #087c78; }
.panel { margin: 18px 0; padding: 24px; background: white; border: 1px solid #d8e2e8; border-radius: 12px; box-shadow: 0 3px 16px #18374806; }
.row { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.spread { justify-content: space-between; align-items: center; }
.spread h2 { margin-bottom: 0; }
.grow { flex: 1 1 220px; }
label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; }
input, select, textarea, button { font: inherit; border-radius: 7px; }
input, select, textarea { border: 1px solid #bccdd6; padding: 10px 12px; background: white; color: #182c3b; }
input[type=number] { width: 120px; }
input:focus, select:focus, textarea:focus, button:focus-visible { outline: 3px solid #10988f50; outline-offset: 2px; }
textarea { width: 100%; resize: vertical; margin: 2px 0 12px; font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
button { min-height: 40px; border: 1px solid #087c78; padding: 9px 15px; background: #087c78; color: white; cursor: pointer; font-weight: 600; }
button:hover { filter: brightness(.94); }
button.secondary { background: #f1f6f8; border-color: #c5d5de; color: #284858; }
button.danger { background: #fff3f1; border-color: #e9b9af; color: #a23b28; }
button:disabled { opacity: .45; cursor: default; }
.hint { color: #607786; font-size: 12px; line-height: 1.7; }
#notice { min-height: 24px; padding: 10px 14px; color: #096660; background: #e0f2ef; border-radius: 8px; font-size: 14px; }
#notice.error { color: #9e3323; background: #fff0eb; }
.filters { margin: 22px 0 8px; }
.table-wrap { overflow-x: auto; border: 1px solid #e0e9ee; border-radius: 8px; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid #e5edf1; }
th { color: #536977; background: #f5f8fa; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td { line-height: 1.6; }
.mono { font-family: ui-monospace, Consolas, monospace; white-space: pre-line; }
.state { font-weight: 700; white-space: nowrap; }
.active { color: #087c78; }
.banned, .expired { color: #ae4a33; }
.unused { color: #617c8c; }
.actions { white-space: nowrap; }
.small { font-size: 12px; padding: 5px 9px; min-height: 32px; margin: 2px 4px 2px 0; }
.pager { margin-top: 18px; font-size: 12px; color: #607786; }
@media (max-width: 600px) { main { padding: 22px 12px 40px; } .panel { padding: 18px 14px; } h1 { font-size: 27px; } }
