/* Login and invite pages (Go html/template, backend/internal/auth/templates), in the public
   site's look like the rest of the admin. Vite copies this file unhashed to dist/assets/,
   which Go serves with an immutable cache, so a change needs a new file name (auth-v3.css)
   and the templates' <link> updated with it. The fonts are the public site's, copied next to
   it. The pages run no script, so dark mode follows the system setting, not the toggle.
   v2 adds the background: a survey-dot paper, the public banner's hills, sea, sun and dotted
   flight path along the bottom (inline SVG in the templates), and a boarding-pass card with
   a perforated header. Same tokens as admin/src/styles.css, so both themes recolour it. */
@font-face{font-family:"Archivo";font-style:normal;font-display:swap;font-weight:100 900;font-stretch:62% 125%;src:url(/assets/rl-archivo-latin-wdth-normal.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:"Instrument Sans";font-style:normal;font-display:swap;font-weight:400;src:url(/assets/rl-instrument-sans-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Instrument Sans";font-style:normal;font-display:swap;font-weight:600;src:url(/assets/rl-instrument-sans-latin-600-normal.woff2) format("woff2")}
:root{--paper:#EFF2F0;--surface:#FFFFFF;--ink:#13231F;--muted:#56655F;--line:#D3DBD7;--field:#7d8b85;--tag:#F2B705;--on-tag:#13231F;--sea:#2D6884;--red:#D9472B;--danger-text:#9c2918;--focus:#2D6884;
  --sky:#DCE8EB;--soft:#C7D2CD;--sea-2:#9FC1D0;--ink-soft:#3C4D47;--ground:#13231F;
  --f-display:"Archivo","Arial Narrow",system-ui,sans-serif;--f-body:"Instrument Sans",system-ui,-apple-system,"Segoe UI",sans-serif;color-scheme:light dark}
@media(prefers-color-scheme:dark){:root{--paper:#0E1614;--surface:#16211E;--ink:#E6EDEA;--muted:#97A6A0;--line:#28362F;--field:#6c7c75;--tag:#F5C12B;--sea:#5A9EBE;--red:#EE7052;--danger-text:#ffad99;--focus:#F5C12B;
  --sky:#182A2F;--soft:#2A3934;--sea-2:#2E4E5C;--ink-soft:#8FA29B;--ground:#0B1210}}
*{box-sizing:border-box}
/* The survey dots are 8% ink on paper, light enough that muted text stays above 4.5:1 on them. */
body{margin:0;min-height:100vh;display:grid;place-items:center;padding:24px 16px;background:var(--paper) radial-gradient(circle,color-mix(in srgb,var(--ink) 8%,transparent) 1px,transparent 1.5px) 0 0/22px 22px;color:var(--ink);font:16px/1.55 var(--f-body);-webkit-font-smoothing:antialiased}
/* The scene sits behind everything along the bottom edge and never takes a click. */
.scene{position:fixed;left:0;right:0;bottom:0;z-index:-1;display:block;width:100%;height:auto;min-height:190px;max-height:48vh;pointer-events:none}
.f-tag{fill:var(--tag)}.f-soft{fill:var(--soft)}.f-sea2{fill:var(--sea-2)}.f-ground{fill:var(--ground)}.f-red{fill:var(--red)}.f-ink{fill:var(--ink)}
.s-paper{fill:none;stroke:var(--paper);stroke-width:3;stroke-linecap:round;opacity:.5}
.sky-0{stop-color:var(--sky);stop-opacity:0}.sky-1{stop-color:var(--sky)}
.route{fill:none;stroke:var(--ink-soft);stroke-width:2.5;stroke-linecap:round;stroke-dasharray:3 10;animation:fly 24s linear infinite}
.plane-body{fill:var(--ink);stroke:var(--ink);stroke-width:2.5;stroke-linejoin:round}
.plane{animation:plane 9s ease-in-out infinite alternate}
@keyframes fly{to{stroke-dashoffset:-260}}
@keyframes plane{to{transform:translate(14px,-6px)}}
/* The card is a boarding pass: the title row is the tear-off header, a dashed perforation with a
   notch at each edge, as the public site's .pass cards have. */
main{--pad:clamp(22px,6vw,34px);width:100%;max-width:27rem;padding:var(--pad);background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:0 20px 60px rgb(19 35 31/.1)}
h1{position:relative;display:flex;align-items:center;gap:12px;margin:calc(-1*var(--pad)) calc(-1*var(--pad)) 22px;padding:var(--pad) var(--pad) 20px;border-bottom:2px dashed var(--line);font:820 1.55rem/1.05 var(--f-display);font-stretch:118%;letter-spacing:-.01em;text-wrap:balance}
h1::before,h1::after{content:"";position:absolute;bottom:-10px;width:18px;height:18px;border-radius:50%;background:var(--paper);border:1px solid var(--line)}
h1::before{left:-10px}
h1::after{right:-10px}
.mark{width:36px;height:36px;flex:none}
.mark-tag{fill:var(--tag)}
.mark-ink{fill:var(--on-tag)}
.mark-line{fill:none;stroke:var(--on-tag);stroke-width:2.4;stroke-linecap:round}
p{margin:0 0 16px;overflow-wrap:anywhere}
main>:last-child{margin-bottom:0}
form br{display:none}
label{display:block;margin-bottom:6px;font-size:14px;font-weight:600}
input{width:100%;min-height:44px;padding:10px 16px;font:inherit;line-height:1.4;color:var(--ink);background:var(--paper);border:1.5px solid var(--field);border-radius:999px}
button{width:100%;min-height:48px;margin-top:4px;padding:12px 20px;font:inherit;font-weight:600;line-height:1.2;color:var(--on-tag);background:var(--tag);border:1.5px solid var(--tag);border-radius:999px;cursor:pointer}
button:hover{background:color-mix(in srgb,var(--tag) 86%,var(--ink))}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
a{display:inline-flex;align-items:center;min-height:44px;color:var(--sea);font-weight:600;text-underline-offset:4px}
a:hover{text-decoration-thickness:2px}
[role="alert"]{padding:12px 16px;color:var(--danger-text);background:color-mix(in srgb,var(--red) 10%,var(--surface));border:1px solid color-mix(in srgb,var(--red) 45%,var(--surface));border-radius:10px;font-weight:600}
@media(prefers-reduced-motion:reduce){.route,.plane{animation:none}}
