:root {
  color-scheme: light;
  font: 16px/1.5 "Segoe UI", system-ui, sans-serif;
  color: #18253a;
  background: #f3f6fa;
  --blue: #174dd6;
  --muted: #516079;
  --border: #dce4ef;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.wrap { width: min(100% - 2rem, 68rem); margin-inline: auto; }
.masthead { background: #0e1b32; color: #fff; }
.top, .brand, .account, .toolbar, .actions, .dialog-heading, .dialog-actions {
  display: flex;
  align-items: center;
  gap: .8rem;
}
.top { min-height: 4.25rem; justify-content: space-between; padding-block: .5rem; }
.brand { font-size: 1.05rem; font-weight: 700; white-space: nowrap; }
.mark { display: grid; grid-template-columns: repeat(2, 7px); gap: 2px; padding: 8px; border-radius: 8px; background: #244681; }
.mark i { width: 7px; height: 7px; background: #b2d8ff; border-radius: 1px; }
.account { justify-content: end; flex-wrap: wrap; gap: .25rem .8rem; }
.account #identity { overflow-wrap: anywhere; }
.account .quiet { color: #d3e7ff; }
main { padding-top: clamp(1.5rem, 5vw, 3.75rem); padding-bottom: 3rem; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(1.7rem, 3.8vw, 2.55rem); line-height: 1.18; letter-spacing: -.035em; }
h2 { font-size: 1.4rem; }
.intro { margin-bottom: 1.65rem; }
.intro p, .login > p { margin-top: .55rem; }
.muted, .status { color: var(--muted); }
.status { margin-bottom: 1rem; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 12px 36px #152d5010; }
.login { max-width: 28rem; margin: 1rem auto 0; padding: clamp(1.3rem, 5vw, 2.15rem); }
form { display: grid; gap: .7rem; margin-top: 1.5rem; }
label { font-size: .9rem; font-weight: 600; overflow-wrap: anywhere; }
input, button { font: inherit; border-radius: 9px; }
input { border: 1px solid #aab9ce; background: #fff; color: inherit; padding: .65rem .8rem; width: 100%; }
button { cursor: pointer; padding: .62rem .95rem; font-weight: 650; }
button:focus-visible, input:focus-visible { outline: 3px solid #629bff; outline-offset: 3px; }
button:disabled { opacity: .6; cursor: default; }
.primary { background: var(--blue); border: 1px solid var(--blue); color: #fff; }
.primary:hover:enabled { background: #133ba5; }
.quiet { background: transparent; border: 1px solid currentColor; color: #1745a3; }
.quiet:hover:enabled { background: #4f7dc819; }
.actions { justify-content: space-between; flex-wrap: wrap; }
.error { color: #a01d39; }
.inventory { overflow: hidden; }
.toolbar { padding: 1rem 1.3rem; justify-content: space-between; flex-wrap: wrap; }
.search { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .6rem; }
.search input { width: 8.5rem; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .65rem 1.3rem; }
th { background: #eaf0f9; font-size: .9rem; }
td { border-top: 1px solid var(--border); }
td:last-child { text-align: right; }
td button { white-space: nowrap; font-size: .9rem; }
code { font: 650 .95rem/1.4 ui-monospace, Consolas, monospace; letter-spacing: .015em; }
.empty { padding: 1.2rem 1.3rem; }
dialog { width: min(100% - 2rem, 29rem); border: 1px solid var(--border); padding: 1.4rem; border-radius: 18px; color: inherit; }
dialog::backdrop { background: #0e1b3277; }
.dialog-heading, .dialog-actions { justify-content: space-between; }
#reveal-status { margin-top: .7rem; }
#secret { display: block; background: #eaf0f9; padding: .9rem; border-radius: 8px; overflow-wrap: anywhere; margin: .75rem 0; }
#countdown { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 520px) {
  .top { align-items: flex-start; }
  .account { font-size: .79rem; }
  .account button { padding: .23rem .45rem; }
  th, td { padding-inline: .55rem; }
  td code { font-size: .72rem; letter-spacing: 0; }
  td button { padding-inline: .42rem; }
}
.sample { display: inline-block; margin-inline-start: .55rem; color: #465a76; font-size: .75rem; font-weight: 650; }
