@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/geist-latin-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/geist-mono-latin-400.woff2') format('woff2');
}
:root {
  color-scheme: dark;
  /* Shared with the Vireo landing page's owner-supplied palette. */
  --page: #05070a;
  --surface: #131a21;
  --ink: #f2f3f5;
  --muted: #b5b7be;
  --subtle: #9ba1ab;
  --line: #343b43;
  --field-line: #737983;
  --accent: #2c9d88;
  --accent-hover: color-mix(in srgb, var(--accent) 86%, white);
  --accent-ink: var(--page);
  --font: 'Geist', Arial, sans-serif;
  --mono: 'Geist Mono', monospace;
  font-family: var(--font);
  color: var(--ink);
  background: var(--page);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-width: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--page);
  font: 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
a { color: inherit; }
button, a, input { touch-action: manipulation; }
::selection { background: var(--accent); color: var(--accent-ink); }
.skip-link {
  position: absolute;
  top: 12px;
  left: 20px;
  z-index: 2;
  padding: 10px 16px;
  transform: translateY(-200%);
  background: var(--accent);
  color: var(--accent-ink);
}
.skip-link:focus { transform: none; }
.site-header { flex: 0 0 auto; border-bottom: 1px solid var(--line); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: calc(100% - 96px);
  max-width: 1440px;
  min-height: 84px;
  margin-inline: auto;
}
.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.brand img { display: block; width: 120px; height: auto; }
.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  text-underline-offset: 5px;
}
.back-link:hover { color: var(--ink); text-decoration: underline; }
.shell { display: grid; flex: 1 0 auto; place-items: center; padding: 24px 24px 16px; }
.panel {
  width: min(100%, 480px);
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.eyebrow {
  margin-bottom: 12px;
  color: var(--subtle);
  font: 11px/1.6 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 3.2vw, 36px);
  font-weight: 550;
  line-height: 1.12;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}
.lede { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.stack { display: grid; gap: 16px; margin-top: 24px; }
#form-message:empty { display: none; }
label { display: grid; gap: 8px; color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.45; }
input {
  width: 100%;
  min-width: 0;
  height: 55px;
  padding: 0 16px;
  border: 1px solid var(--field-line);
  border-radius: 0;
  outline: none;
  background: var(--page);
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
input:hover { border-color: var(--muted); }
input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgb(44 157 136 / 18%); }
.button {
  display: inline-grid;
  min-height: 54px;
  place-items: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, opacity 140ms ease;
}
.button:hover:not(:disabled) { background: var(--accent-hover); }
.button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.button:disabled { opacity: 0.65; cursor: wait; }
.button--secondary { width: 100%; border-color: var(--field-line); background: transparent; color: var(--ink); }
.button--secondary:hover:not(:disabled) { border-color: var(--muted); background: rgb(255 255 255 / 5%); }
.button--link { width: 100%; }
.links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px 20px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}
.links a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }
.links a:hover { color: var(--ink); }
.notice {
  padding: 14px 16px;
  border: 1px solid var(--field-line);
  background: var(--page);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.notice--error { border-color: #a96858; background: #251715; color: #ffb59f; }
.hint, .footnote { margin: 0; color: var(--subtle); font-size: 13px; line-height: 1.6; }
.footnote { margin-top: 12px; }
.actions { margin-top: 28px; }
.identity {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.identity div { min-width: 0; }
.identity__label {
  display: block;
  margin-bottom: 6px;
  color: var(--subtle);
  font: 11px/1.6 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.identity strong { display: block; color: var(--ink); font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
.status-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--accent); }
.password-field { position: relative; margin-top: -8px; }
.password-field input { padding-right: 78px; }
.password-toggle { position: absolute; top: 1px; right: 1px; height: 53px; min-width: 68px; border: 0; background: transparent; color: var(--muted); font-size: 14px; cursor: pointer; }
.password-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.access-detail { margin: 24px 0 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.progress { width: 100%; height: 2px; margin-top: 28px; overflow: hidden; background: var(--line); }
.progress::after { display: block; width: 38%; height: 100%; background: var(--accent); content: ''; animation: progress 1.15s ease-in-out infinite; }
.site-footer { padding: 8px 24px 16px; color: var(--subtle); font: 11px/1.6 var(--mono); text-align: center; }
.site-footer p { margin: 0; }
@keyframes progress {
  from { transform: translateX(-110%); }
  to { transform: translateX(280%); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
@media (max-width: 520px) {
  .header-inner { width: calc(100% - 44px); min-height: 76px; gap: 16px; }
  .brand img { width: 110px; }
  .back-link { font-size: 13px; }
  .shell { align-items: start; padding: 32px 22px 24px; }
  .panel { padding: 28px 24px; }
  h1 { font-size: 32px; }
  .site-footer { padding: 16px 22px 24px; }
}
@media (max-width: 360px) {
  .header-inner { width: calc(100% - 32px); }
  .shell { padding-inline: 16px; }
  .panel { padding-inline: 20px; }
}
