/* ATLAS sign-in screen (static edition). Everything is scoped to #screen, which covers the page until the app is
   unlocked and is then removed together with this style sheet, so none of it reaches the app. */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(/assets/fonts/source-serif-4-latin-opsz-normal.woff2) format("woff2"); }

html.locked, html.locked body { margin: 0; height: 100%; overflow: hidden; background: #080d1a; }

/* Always the midnight palette, like the Litmus sign-in screen. */
#screen {
  color-scheme: dark;
  --paper: #080d1a; --surface: rgba(15,23,42,.86); --surface-2: #1e293b; --ink: #f1f5f9; --ink-2: #cbd5e1; --ink-3: #94a3b8;
  --line: #1e293b; --line-2: #172033; --edge: #334155; --atlas: #4c7bef; --atlas-ink: #9db8f7;
  --pink: #f472b6; --pink-soft: rgba(236,72,153,.16); --green: #34d399; --green-soft: rgba(16,185,129,.16);
  --grad: linear-gradient(135deg, #1d5bad, #2f6bdb 55%, #3b82f6);
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 18px 44px -14px rgba(0,0,0,.75);
  position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; padding: 24px 16px; overflow: auto;
  background: radial-gradient(900px 520px at 22% 8%, rgba(76,123,239,.20), transparent 70%),
              radial-gradient(760px 480px at 82% 92%, rgba(167,139,250,.14), transparent 70%), var(--paper);
  color: var(--ink); font: 14px/1.5 "IBM Plex Sans", "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased;
  box-sizing: border-box; text-align: left;
}
#screen *, #screen *::before, #screen *::after { box-sizing: border-box; }
#screen #fx { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
#screen .card { position: relative; z-index: 1; width: min(440px, 100%); margin: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow); padding: 30px 32px 24px; backdrop-filter: blur(3px); transition: opacity .2s; }
#screen .card.waiting { opacity: 0; }
@media (max-width: 480px) { #screen .card { padding: 26px 20px 20px; } }
@media (prefers-reduced-motion: reduce) { #screen .card { backdrop-filter: none; transition: none; } }
#screen .brand { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; }
#screen .seal { width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--grad); color: #fff;
  font: 700 19px/1 "Source Serif 4", Georgia, serif; box-shadow: 0 6px 18px -6px rgba(76,123,239,.75); }
#screen .brand b { display: block; font: 600 19px/1.1 "Source Serif 4", Georgia, serif; letter-spacing: .08em; color: var(--ink); }
#screen .brand div span { display: block; font-size: 12px; color: var(--ink-3); margin-top: 3px; }
#screen h1 { margin: 0 0 6px; padding: 0; font: 600 26px/1.18 "Source Serif 4", Georgia, serif; letter-spacing: normal; text-transform: none;
  background: linear-gradient(90deg, var(--ink), var(--atlas-ink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
#screen .tagline { margin: 0 0 20px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
#screen .fields { display: flex; flex-direction: column; gap: 12px; margin: 0 0 14px; }
#screen label { display: flex; flex-direction: column; gap: 5px; margin: 0; }
#screen label span { font-size: 12px; color: var(--ink-3); }
#screen input { width: 100%; height: 40px; margin: 0; padding: 0 12px; border: 1px solid var(--edge); border-radius: 8px; background: var(--surface-2);
  color: var(--ink); font: inherit; font-size: 14.5px; box-shadow: none; }
#screen input::placeholder { color: var(--ink-3); }
#screen input:focus { outline: none; border-color: var(--atlas); box-shadow: 0 0 0 3px rgba(76,123,239,.28); }
#screen button { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 42px; margin: 4px 0 0; padding: 0;
  border: 0; border-radius: 8px; background: var(--grad); color: #fff; font: 600 14px/1 "IBM Plex Sans", system-ui, sans-serif; cursor: pointer; }
#screen button:hover { filter: brightness(1.1); }
#screen button:disabled { cursor: progress; filter: saturate(.7); }
#screen button:focus-visible { outline: 2px solid var(--atlas-ink); outline-offset: 2px; }
#screen .err, #screen .ok { border-radius: 8px; padding: 8px 11px; font-size: 12.5px; margin: 0 0 12px; }
#screen .err { background: var(--pink-soft); color: var(--pink); }
#screen .ok { background: var(--green-soft); color: var(--green); }
#screen [hidden] { display: none !important; }
#screen .hours { margin: 14px 0 0; font-size: 12px; color: var(--ink-3); }
#screen .foot { margin-top: 20px; padding-top: 13px; border-top: 1px solid var(--line-2); font-size: 11.5px; color: var(--ink-3);
  letter-spacing: .05em; text-transform: uppercase; }
