:root {
  font-family: system-ui, -apple-system, sans-serif;
  color: #15233c;
  background: #f5f6f8;
  font-size: 1rem;
  line-height: 1.5;
  --navy: #101f3c;
  --gold: #f5c451;
  --border: #d3dae4;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #244d87; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #1c69a4; outline-offset: 3px; }
.masthead { background: var(--navy); color: #fff; border-bottom: .25rem solid var(--gold); }
.bar, .wrap { width: min(100% - 2rem, 58rem); margin-inline: auto; }
.bar, .top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.bar { min-height: 4.5rem; }
.wordmark { color: var(--gold); text-decoration: none; font-size: 1.3rem; font-weight: 750; }
.wrap { padding-block: 2rem 4rem; }
.wrap.narrow { max-width: 28rem; padding-block-start: 4rem; }
h1, h2, p { margin: 0 0 .85rem; }
h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); color: var(--navy); line-height: 1.15; overflow-wrap: anywhere; }
h2 { font-size: 1.25rem; }
nav { margin-bottom: 1rem; }
.top { margin-bottom: 1rem; }
.top h1, p:last-child { margin-bottom: 0; }
.card { padding: clamp(1rem, 3.5vw, 1.6rem); background: #fff; border: 1px solid var(--border); border-radius: .7rem; margin-bottom: 1rem; }
.listing { padding-block: .35rem; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .95rem .1rem; text-decoration: none; color: inherit; }
.row + .row { border-top: 1px solid #e3e8ed; }
.row:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.row small { display: block; margin-top: .15rem; }
small { color: #475a70; font-size: .875rem; font-weight: 400; }
.status { font-size: .875rem; font-weight: 675; padding: .2rem .6rem; border-radius: .4rem; background: #e9eef7; }
.status.active { background: #e1f2e7; color: #1b543b; }
.status.suspended, .status.purging { background: #fbe7e5; color: #8d332a; }
label, legend { display: block; margin: .65rem 0 .25rem; font-weight: 675; }
label small { margin-inline-start: .2rem; }
input, select { width: 100%; min-height: 2.75rem; padding: .55rem .7rem; border: 1px solid #8293aa; border-radius: .35rem; color: inherit; background: #fff; font: inherit; }
fieldset { padding: 0; margin: 1.4rem 0 .4rem; border: 0; }
fieldset p { color: #475a70; }
.grid { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
button, .button { display: inline-block; border: 1px solid transparent; border-radius: .35rem; background: var(--navy); color: #fff; font: inherit; font-weight: 675; padding: .55rem .95rem; text-decoration: none; cursor: pointer; width: fit-content; }
form button { margin-top: 1rem; }
button.quiet { background: transparent; border-color: #8091ad; margin: 0; }
button.secondary { color: var(--navy); border-color: #8293aa; background: #fff; }
button.danger { background: #8d2525; }
button:hover, .button:hover { filter: brightness(.86); }
.message { padding: .75rem 1rem; background: #e2eefb; border-left: .25rem solid #2568a2; }
.message.error, .destructive { border-color: #a53131; }
.message.error { background: #fceaea; }
