:root {
  color-scheme: dark;
  --night: #151718;
  --panel: #202326;
  --line: #444949;
  --paper: #f3f3ec;
  --muted: #b6bcb9;
  --blue: #263fc7;
  --amber: #ffbc4d;
  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  font: 100%/1.5 "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--paper);
  background: var(--night);
}
* { box-sizing: border-box; }
body { margin: 0 auto; max-width: 108rem; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--amber); }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
.skip { position: absolute; left: .5rem; top: -6rem; background: var(--night); padding: .6rem; z-index: 1; }
.skip:focus { top: .5rem; }
.mast, footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem clamp(1rem, 4vw, 4rem); }
.mast { border-bottom: 1px solid var(--line); }
.identity { display: inline-flex; align-items: center; gap: .25em; font-weight: 780; font-size: 1.5rem; letter-spacing: -.05em; text-decoration: none; }
.identity b { font-size: .54em; align-self: flex-start; margin-top: .4em; color: var(--amber); }
.signal { display: flex; align-items: center; gap: 3px; height: 1.4rem; margin-right: .35em; }
.signal i { display: block; background: var(--amber); width: 3px; height: 34%; transform: skewX(-12deg); }
.signal i:nth-child(2n) { height: 66%; }
.signal i:nth-child(3n) { height: 90%; }
.signal i:nth-child(4) { height: 100%; }
.switch, .signout { font-size: .9rem; }
.layout { margin: clamp(.9rem, 2.8vw, 3rem) clamp(1rem, 4vw, 4rem); }
.broadcast { display: grid; grid-template-columns: 1.27fr 1fr; }
.studio { margin: 0; padding: clamp(1.4rem, 4vw, 4rem); min-height: min(70vh, 47rem); position: relative;
  background: #17191a url(studio.jpg) center 54% / cover no-repeat;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; }
.label, figcaption, footer { font: 600 .76rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .095em; }
.dial strong { display: block; font: 850 clamp(5.5rem, 10vw, 11.5rem)/.96 var(--display); letter-spacing: -.085em; margin-left: -.055em; }
.dial small { font: 600 .14em var(--mono); letter-spacing: -.04em; margin-left: .4em; }
figcaption { display: flex; align-items: center; gap: .65rem; padding: .36rem .6rem; background: var(--night); }
.lamp { width: .55rem; height: .55rem; background: var(--amber); border-radius: 50%; }
.cobalt { background: var(--blue); padding: clamp(1.5rem, 4vw, 4.75rem); display: flex; flex-direction: column; justify-content: center; }
h1, h2 { font-family: var(--display); margin: 0; text-wrap: balance; }
h1 { font-weight: 760; font-size: clamp(2.7rem, 5.25vw, 6.2rem); line-height: 1; letter-spacing: -.067em; }
h2 { font-size: clamp(1.45rem, 2.4vw, 2.3rem); letter-spacing: -.04em; line-height: 1.13; }
.cobalt > p { max-width: 34ch; margin: .9rem 0 1.5rem; }
.fields { display: grid; gap: .45rem; }
.fields label { font-size: .91rem; font-weight: 620; }
.fields label:not(:first-of-type) { margin-top: .6rem; }
.fields input:not([type=hidden]) { min-width: 0; width: 100%; height: 2.8rem; border: 1px solid #989ba2; border-radius: 0; padding: .45rem .7rem; color: var(--paper); background: #14171e; }
.cobalt input:not([type=hidden]) { border-color: #a5b1ff; background: #1b2c86; }
.fields small { line-height: 1.4; }
.action { display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem; border: 0; border-radius: 0;
  padding: .78rem 1rem; margin-top: .9rem; background: var(--amber); color: #1d1c18; text-decoration: none; font-weight: 720; }
.action:hover { background: #ffd186; color: #171818; }
.action:disabled { opacity: .7; cursor: wait; }
.switch { border-top: 1px solid #7b89e5; padding-top: 1rem; margin-top: 1.8rem; }
.switch a { font-weight: 650; }
.forgot-entry { margin-top: .65rem; font-size: .9rem; }
.recovery-links { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.recovery-links .action { margin-top: 0; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .69rem; }
.signout { color: var(--muted); background: transparent; border: 0; text-decoration: underline; text-underline-offset: .2em; }
.signout:hover { color: var(--amber); }
.desk > form { margin-top: 1rem; }
.admin-handover { margin-top: 1.5rem; }
.desk { max-width: 52rem; padding: .25rem 0 2rem; }
.desk > h1 { margin-bottom: 1.5rem; }
.card, .console { padding: clamp(1.25rem, 3.25vw, 3.25rem); }
.card { background: var(--amber); color: #272319; }
.card-top { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #76613e; padding-bottom: .6rem; }
.card-number { display: flex; align-items: baseline; justify-content: space-between; margin: .6rem 0 1rem; gap: .5rem; }
.card-number strong { font: 700 clamp(4rem, 9vw, 8.5rem)/1 var(--display); letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
.card h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); }
dl { display: grid; grid-template-columns: minmax(5rem, auto) 1fr; gap: .4rem 1.1rem; margin-bottom: 0; }
dt { font-weight: 650; }
dd { margin: 0; overflow-wrap: anywhere; }
.console { background: var(--panel); border-top: 3px solid var(--amber); }
.console form { max-width: 36rem; }
.console > p { color: var(--muted); }
.console .action { width: fit-content; min-width: 9rem; }
.followup { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.followup p { margin: 0 0 .65rem; }
.notice { padding: .7rem .9rem; border-left: 3px solid var(--amber); background: #211e1a; color: var(--paper); }
code, pre { font-family: var(--mono); }
pre { padding: 1rem; border: 1px solid var(--line); background: var(--night); color: var(--amber); white-space: pre-wrap; overflow-wrap: anywhere; }
li + li { margin-top: .7rem; }
@media (max-width: 700px) {
  .broadcast { grid-template-columns: minmax(0, 1fr); }
  .studio { min-height: clamp(12rem, 44vw, 19rem); background-position: center 49%; }
  .dial strong { font-size: clamp(4.3rem, 15vw, 6.5rem); }
  .card-number { flex-wrap: wrap; }
}
