/* The voting tool's shared look (block B3, from the mockup v4): the tokens, the system font, the pill buttons, the
   focus ring, the message boxes, the brand line and the sign-in card. A restyle changes the tokens and these classes.
   B4's bare pages use .count, .notice and .signin. */
:root {
  --jv-ink: #141414; --jv-ink2: #4B4B52; --jv-ink3: #64646C; --jv-paper: #FFFFFF; --jv-mist: #F7F6F4;
  --jv-line: #E4E2DE; --jv-act: #4F5FD9; --jv-act-h: #3F4EC4; --jv-act-soft: #ECEEFC;
  --jv-gold: #E2A200; --jv-gold-soft: #FFF4D1; --jv-gold-ink: #2B1F00;
  --jv-silver: #687384; --jv-silver-soft: #EEF1F5; --jv-bronze: #9F5A26; --jv-bronze-soft: #FBEADC;
  --jv-ok: #167A4E; --jv-ok-soft: #E3F4EB; --jv-ok-ink: #0C4A2F; --jv-warn: #9A5B00; --jv-warn-soft: #FFF1D6;
  --jv-warn-ink: #5A3700; --jv-ms: #2F2F2F; --jv-off: #D9DBE5; --jv-off-ink: #555B70;
  --jv-shadow: 0 1px 2px rgba(20, 27, 52, .06), 0 12px 40px rgba(20, 27, 52, .10);
  --jv-font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI Variable Display', 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--jv-font); color: var(--jv-ink); background: var(--jv-paper);
  -webkit-font-smoothing: antialiased; line-height: 1.4; overflow-wrap: anywhere; }
main { display: block; }
/* the bare pages B4 has not styled yet - the console's - keep their frame; the jury's pages carry jv-body */
body:not(.jv-body) { padding: 16px; }
body:not(.jv-body) main { max-width: 720px; margin: 0 auto; }
.signin { font-weight: 600; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: var(--jv-act); }
:focus-visible { outline: 3px solid var(--jv-act); outline-offset: 2px; border-radius: 10px; }

/* the pill buttons - a link styled as a button keeps its role */
.jv-pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px;
  padding: 0 28px; border-radius: 999px; border: 0; background: var(--jv-act); color: #fff; font-weight: 700;
  font-size: 17px; text-decoration: none; transition: background .15s; }
.jv-pill:hover { background: var(--jv-act-h); }
.jv-pill[disabled] { background: var(--jv-off); color: var(--jv-off-ink); cursor: not-allowed; }
.jv-pill.jv-ghost { background: transparent; color: var(--jv-act); box-shadow: inset 0 0 0 2px var(--jv-act); }
.jv-pill.jv-ghost:hover { background: var(--jv-act-soft); }
.jv-pill.jv-ms { background: var(--jv-ms); font-weight: 600; }
.jv-pill.jv-ms:hover { background: #1F1F1F; }
.jv-link { background: none; border: 0; padding: 0; color: var(--jv-act); font-weight: 600; text-decoration: underline;
  text-underline-offset: 3px; }

/* the message boxes */
.jv-msg, .notice { border-radius: 16px; padding: 14px 16px; font-size: 15px; line-height: 1.45; margin: 0 0 20px; }
.jv-msg.jv-warn, .notice { background: var(--jv-warn-soft); color: var(--jv-warn-ink); }
.jv-msg.jv-ok { background: var(--jv-ok-soft); color: var(--jv-ok-ink); }
.jv-small { font-size: 14px; line-height: 1.45; color: var(--jv-ink3); margin: 10px 0 0; }
.jv-center { text-align: center; }
.count { font-size: 64px; font-weight: 700; }

/* the brand line: the accelerator's approved lockup (REQ-25), 20 px high on a computer and 16 px on a phone; the
   file is 60 px high, three times that, and brand/accelerator-lockup-navy.png is the one for a dark header */
.jv-brand { display: flex; align-items: center; }
.jv-lockup { display: block; height: 20px; width: auto; }

/* the sign-in card, centred on a pale page */
.jv-signin { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 32px 16px; background: radial-gradient(1200px 500px at 50% -10%, #ECE8FF 0, rgba(236, 232, 255, 0) 70%); }
.jv-signin-card { width: min(440px, 100%); background: #fff; border-radius: 28px; padding: 40px 36px 32px;
  box-shadow: var(--jv-shadow); }
.jv-signin-card h1 { font-size: 34px; line-height: 1.1; letter-spacing: -.02em; font-weight: 800; margin: 22px 0 10px; }
.jv-signin-card p { font-size: 16px; line-height: 1.5; color: var(--jv-ink2); margin: 0 0 24px; }
.jv-signin-card p.jv-small { font-size: 14px; margin: 10px 0 0; color: var(--jv-ink3); }
.jv-signin-card .jv-pill { width: 100%; }
.jv-signin-card .jv-msg { margin: 0 0 20px; }
.jv-or { display: flex; align-items: center; gap: 12px; margin: 24px 0 18px; color: var(--jv-ink3); font-size: 14px; }
.jv-or::before, .jv-or::after { content: ''; flex: 1; height: 1px; background: var(--jv-line); }
.jv-label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 8px; }
.jv-input { width: 100%; height: 52px; border-radius: 14px; border: 1.5px solid #8A8F9F; padding: 0 16px;
  font-size: 16px; color: var(--jv-ink); background: #fff; }
.jv-input:focus { outline: 3px solid var(--jv-act-soft); border-color: var(--jv-act); }
.jv-signin-card p.jv-status { margin: 8px 0 12px; font-size: 14px; color: var(--jv-warn-ink); min-height: 1px; }
.jv-mail { width: 56px; height: 56px; border-radius: 18px; background: var(--jv-act-soft); display: grid;
  place-items: center; margin-top: 20px; }
.jv-wait { margin: 22px 0 4px; font-size: 17px; font-weight: 600; }
.jv-signin-card p.jv-wait { color: var(--jv-ink); }
.jv-foot { margin: 28px 0 0; font-size: 14px; color: var(--jv-ink3); text-align: center; }
@media (max-width: 480px) {
  .jv-lockup { height: 16px; }
  .jv-signin { justify-content: flex-start; padding: 16px; }
  .jv-signin-card { padding: 28px 20px 24px; border-radius: 24px; }
  .jv-signin-card h1 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
