/* The run-for-office sign-up, Project Full Slate. Everything visual comes from
   full-slate/; this file holds its own type, and what the design system has
   no class for. */
body { margin: 0; }
[hidden] { display: none !important; }

/* Type: Zen Dots for headings, JetBrains Mono for everything else, both
   served from /assets/fonts/. Sizes are smaller than the design system's,
   since both faces run wide. */
@font-face {
  font-family: "Zen Dots";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/zen-dots-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Zen Dots";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/zen-dots-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  --font-display: "Zen Dots", "JetBrains Mono", ui-monospace, monospace;
  --font-serif: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --font-sans: "JetBrains Mono", ui-monospace, Menlo, monospace;
}
.fs { font-size: 14px; }
.fs-h2 { font-size: clamp(22px, 2.4vw, 32px); }
.fs-eyebrow { font-size: 11px; letter-spacing: .12em; }
.fs-lede { font-size: clamp(14px, 1.15vw, 16px); }
.fs-btn { font-size: 12px; letter-spacing: .08em; }
.fs-btn--quiet, .fs a.fs-btn--quiet { font-size: 13px; }
.fs-mark { font-family: var(--font-display); font-size: 16px; }
.fs-ballot__head { font-size: 3cqw; }
.fs-ballot__office { font-size: 5cqw; }
.fs-ballot__sub { font-size: 3.2cqw; }
.fs-key { font-size: 12px; }
.fs-panel__top > span { font-size: 11px; }
.fs-form .fs-h2 { font-size: 26px; }
.fs-field label { font-size: 13px; }
.fs-field input, .fs-field select { font-size: 15px; }
.fs-field__err { font-size: 12px; }
.fs-stage__title .fs-h2 { font-size: clamp(18px, 2vw, 26px); }
.fs-pin__face { font-size: 12px; }
.fs-pin__face b { font-size: 17px; }
.fs-pin small { font-size: 10px; }
.fs-slate__btn b { font-size: 13px; }
.fs-slate__note { font-size: 12px; }
.fs-seatrow { font-size: 13px; }
.fs-seatrow span:last-child { font-size: 12px; }
.fs-pickbar p { font-size: 15px; }
.fs-panel__top > span { white-space: nowrap; }
@media (max-width: 900px) {
  .fs-mark { font-size: 13px; gap: 10px; }
  .fs-mark svg { width: 34px; height: 34px; }
  .fs-panel__top > span { letter-spacing: .1em; }
  .fs-form .fs-h2 { font-size: 21px; }
  .fs-stage__title .fs-h2 { font-size: 16px; }
  .fs-stage__title .fs-eyebrow { font-size: 10px; }
  .fs-pin__face { font-size: 11px; }
  .fs-pin__face b { font-size: 14px; }
}

.run-title { font-size: 24px; }
.run-note { color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
.run-intro { display: flex; flex-direction: column; gap: 12px; }
.run-body { gap: 18px; }
.fs .run-strong { font-weight: 600; color: var(--ink); }
.fs-form h1:focus, .run-title:focus { outline: 0; }
.run-err { color: var(--red-deep); font-weight: 600; font-size: 12px; }
.fs .fs-pickbar .run-err { font-family: var(--font-sans); font-size: 12px; }
/* Boards of up to 48 seats: their dots wrap instead of widening the list. */
.fs-slate__btn b { flex: 1 1 auto; }
.fs-slate__btn .fs-dots { flex: 0 1 auto; flex-wrap: wrap; justify-content: flex-end; max-width: 52%; }
.run-legal { padding: 12px 40px 16px; border-top: 1px solid var(--rule); font-size: 11px; line-height: 1.45; color: var(--ink-mute); }
@media (max-width: 900px) {
  .run-legal { padding: 12px 20px 16px; }
}
/* "I'm interested" is the blue of a picked seat. */
.fs .run-go { background: var(--picked); border-color: var(--picked); }
.fs .run-go:hover { background: #144a85; border-color: #144a85; }
.fs .run-go:disabled { opacity: .75; cursor: progress; }
/* "Any of these seats" sits above the boards. */
.run-scroll { display: flex; flex-direction: column; gap: 18px; }
/* A field people never see. Only a robot fills it in. */
.run-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* On a wide screen the heading stays put and only the list scrolls. */
@media (min-width: 901px) {
  .run-body { overflow: hidden; padding-bottom: 0; }
  .run-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; margin: 0 -40px; padding: 2px 40px 36px; }
  .run-scroll { border-top: 1px solid transparent; transition: border-color .2s; }
  .run-scroll.is-scrolled { border-top-color: var(--rule); }
}
/* Who holds the picked seat, under its name on the map. */
.run-holder { display: flex; flex-direction: column; gap: 3px; max-width: 340px; font-size: 13px; line-height: 1.35; color: var(--ink-soft); }
.run-holder b { font-weight: 700; color: var(--plate-ink); }
@media (max-width: 900px) {
  .run-holder { font-size: 11px; max-width: 240px; }
}
