:root { color-scheme: dark; font: 100%/1.5 Inter, "Segoe UI", sans-serif; color: #edf2fc; background: #10141e; }
* { box-sizing: border-box; }
[hidden], :is(#notice,#formError,#empty):empty { display: none; }
body { margin: 0; }
header { border-bottom: 1px solid #323b50; background: #171d2a; }
.bar, main { width: min(72rem, 92%); margin: auto; }
.bar, .heading, .toolbar, .actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.bar { min-height: 4rem; }
.brand { font-size: 1.15rem; letter-spacing: -.035em; }
main { padding-block: clamp(1.5rem, 5vw, 4rem); }
h1,h2,p,dl,dd { margin: 0; }
h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; letter-spacing: -.05em; }
h2 { letter-spacing: -.035em; }
.heading { align-items: end; }
.heading label { min-width: min(17rem, 100%); }
#status, .hint, #empty, dt { color: #abb7cf; }
#status { margin-top: .55rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin: 2rem 0 1.25rem; }
.stats div, .panel, dialog { background: #1a2130; border: 1px solid #343e54; border-radius: .85rem; }
.stats div { padding: 1rem 1.25rem; }
dd { font-size: 1.8rem; font-weight: 650; font-variant-numeric: tabular-nums; }
#active { color: #7be1b4; }
.panel { overflow: hidden; }
.toolbar { padding: 1.2rem; align-items: end; }
.search { width: min(24rem, 100%); }
input,select,textarea,button { font: inherit; border-radius: .45rem; }
input,select,textarea { color: inherit; width: 100%; padding: .6rem .8rem; background: #101622; border: 1px solid #48536b; }
select { appearance: none; padding-right: 2.25rem; background-image: linear-gradient(45deg,transparent 50%,#abb7cf 50%),linear-gradient(135deg,#abb7cf 50%,transparent 50%); background-position: calc(100% - 16px) 52%,calc(100% - 11px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
textarea { resize: vertical; }
label { display: grid; gap: .35rem; color: #d4ddf0; font-size: .875rem; }
button { cursor: pointer; border: 1px solid #48536b; background: #252e40; color: #eef2ff; padding: .5rem .85rem; }
button:hover { background: #34405a; }
button:disabled { opacity: .55; cursor: wait; }
.primary { background: #a7b5ff; color: #121938; font-weight: 650; border-color: transparent; }
.primary:hover { background: #bdc7ff; }
:focus-visible { outline: 3px solid #a2b1ff; outline-offset: 2px; }
.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: .925rem; }
th,td { padding: .85rem 1.15rem; border-top: 1px solid #343e54; vertical-align: top; }
th { color: #becae0; background: #202838; font-size: .875rem; }
td:nth-child(-n+2) { overflow-wrap: anywhere; white-space: pre-wrap; min-width: 8rem; }
td:nth-child(2) { width: 40%; }
td:last-child { white-space: nowrap; }
td button { font-size: .875rem; padding: .25rem .5rem; margin: 0 .2rem .2rem 0; }
button.on { color: #93ebc5; background: #183b33; }
#empty { padding: 1.4rem; }
#notice,#formError { padding: .75rem 1rem; margin-bottom: 1rem; background: #26334e; border-radius: .5rem; }
#formError { color: #ffd1d4; }
.login,dialog { padding: clamp(1.25rem, 4vw, 2rem); }
.login { max-width: 25rem; margin: 6vh auto; }
.login h1 { font-size: 2rem; }
form { display: grid; gap: 1rem; margin-top: 1.5rem; }
dialog { color: inherit; width: min(32rem, 94%); max-height: 92vh; }
dialog::backdrop { background: #060a14cb; }
.hint { font-size: .875rem; }
.check, .actions { display: flex; align-items: center; }
.check input { width: auto; }
.actions { justify-content: flex-end; }
.sr { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
@media(max-width: 42rem) {
  .heading,.toolbar { flex-direction: column; align-items: stretch; }
  .stats { gap: .4rem; }
  .stats div { padding: .65rem; }
  dt { font-size: .875rem; }
  .search { width: 100%; }
}
