/* The sign-in family (sign-in, sign-in code, account setup, forgot password): Silk behind, the form centred on a
   solid panel. Dark navy with the Globe Midwest blue as the light, crisp white type; a tuned light theme. */
@font-face{font-family:"Hanken Grotesk";src:url(/portal/fonts/HankenGrotesk-Regular.ttf) format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:"Hanken Grotesk";src:url(/portal/fonts/HankenGrotesk-Medium.ttf) format("truetype");font-weight:500;font-display:swap}
@font-face{font-family:"Hanken Grotesk";src:url(/portal/fonts/HankenGrotesk-SemiBold.ttf) format("truetype");font-weight:600;font-display:swap}
@font-face{font-family:"Hanken Grotesk";src:url(/portal/fonts/HankenGrotesk-Bold.ttf) format("truetype");font-weight:700;font-display:swap}
@font-face{font-family:"Outfit";src:url(/portal/fonts/Outfit.ttf) format("truetype");font-weight:100 900;font-display:swap}
:root{ color-scheme:light; --bg:#eef3f9; --ink:#0b1a2e; --dim:#4b5b70; --line2:rgba(11,40,80,.18); --field:rgba(11,40,80,.045); --glow:#2f7fd0; --ok:#15803d; --red:#c0262d;
  --sans:"Hanken Grotesk",system-ui,-apple-system,"Segoe UI",sans-serif; --logo-filter:none; }
@media (prefers-color-scheme:dark){ :root:not([data-theme=light]){ color-scheme:dark; --bg:#050d1a; --ink:#f2f6fb; --dim:#a6b4c8; --line2:rgba(160,190,230,.18); --field:rgba(255,255,255,.05); --glow:#5aa8f0; --ok:#4ade80; --red:#ff7b7b; --logo-filter:brightness(0) invert(1); } }
:root[data-theme=dark]{ color-scheme:dark; --bg:#050d1a; --ink:#f2f6fb; --dim:#a6b4c8; --line2:rgba(160,190,230,.18); --field:rgba(255,255,255,.05); --glow:#5aa8f0; --ok:#4ade80; --red:#ff7b7b; --logo-filter:brightness(0) invert(1); }
html,body{background:var(--bg)}
body{margin:0;color:var(--ink);font:400 15px/1.5 var(--sans);-webkit-font-smoothing:antialiased;display:grid;place-items:center;min-height:100vh;min-height:100dvh}
#scene{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none}
html.off *{animation-play-state:paused!important}
.card{position:relative;z-index:1;width:min(380px,calc(100vw - 32px));box-sizing:border-box;padding:30px 30px 26px;border-radius:18px;border:1px solid var(--solid-edge);background:var(--solid);box-shadow:var(--solid-shadow)}
.logo{display:block;width:100%;max-width:230px;height:auto;margin:0 auto 14px;filter:var(--logo-filter);padding-bottom:14px;border-bottom:1px solid var(--line2);box-sizing:content-box}
.wordmark{font:600 20px var(--sans);text-align:center;margin:0 0 10px}
h1{font:600 20px/1.2 var(--sans);letter-spacing:-.015em;text-align:center;margin:0 0 18px;color:var(--ink)}
p{color:var(--dim);font-size:14px} a{color:var(--glow)!important}
.err{color:var(--red);font-size:13.5px;margin:0 0 12px;min-height:1em;text-align:center}
label{display:block;font:500 13px/1.3 var(--sans);color:var(--dim);margin:0 0 6px}
input{width:100%;box-sizing:border-box;height:44px;background:var(--field);color:var(--ink);border:1px solid var(--line2);border-radius:10px;padding:0 14px;font:400 16px var(--sans);margin:0 0 15px}
input:focus{outline:none;border-color:var(--glow);box-shadow:0 0 0 3px color-mix(in srgb,var(--glow) 18%,transparent)}
button{width:100%;height:46px;border:0;border-radius:10px;background:var(--ink);color:var(--bg);font:600 15px var(--sans);cursor:pointer}
button:hover{opacity:.92}
.theme{position:fixed;top:18px;right:18px;z-index:5;width:42px;height:42px;padding:0;border-radius:50%;display:grid;place-items:center;background:var(--solid);color:var(--ink);border:1px solid var(--solid-edge)}
.theme svg{width:19px;height:19px} .theme .sun{display:none} :root[data-dark] .theme .sun{display:block} :root[data-dark] .theme .moon{display:none}
@media (max-width:640px){ body{place-items:end center;padding:0 0 14px} .card{padding:24px 20px 22px} .theme{top:14px;right:14px} }
@media (prefers-reduced-motion:reduce){ *,*::before,*::after{animation:none!important;transition:none!important} }
:root{ --solid:#ffffff; --solid-edge:rgba(0,80,136,.20); --solid-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 30px 80px -24px rgba(8,24,48,.35),0 2px 6px rgba(8,24,48,.06); }
@media (prefers-color-scheme:dark){ :root:not([data-theme=light]){ --solid:#0b1931; --solid-edge:rgba(110,170,235,.26); --solid-shadow:0 1px 0 rgba(255,255,255,.06) inset,0 40px 110px -24px rgba(0,0,0,.95),0 0 0 1px rgba(0,0,0,.3); } }
:root[data-theme=dark]{ --solid:#0b1931; --solid-edge:rgba(110,170,235,.26); --solid-shadow:0 1px 0 rgba(255,255,255,.06) inset,0 40px 110px -24px rgba(0,0,0,.95),0 0 0 1px rgba(0,0,0,.3); }
/* Silk (V 11-07): two ribbons of fine lines rolling slowly behind the form, drawn on one canvas, fading in once drawn */
#scene{opacity:0;transition:opacity 1.4s ease} #scene.in{opacity:1}
#cv{position:absolute;inset:0;width:100%;height:100%;display:block}
/* the product name is the heading (V 11-07, "Luminous"): thin, wide, Globe blue by day, glowing pale blue at night */
h1.prod{font:300 30px/1.1 "Outfit",var(--sans);letter-spacing:.02em;color:#005088;margin:0 0 20px}
@media (prefers-color-scheme:dark){ :root:not([data-theme=light]) h1.prod{color:#bfe0ff;text-shadow:0 0 18px rgba(90,168,240,.55)} }
:root[data-theme=dark] h1.prod{color:#bfe0ff;text-shadow:0 0 18px rgba(90,168,240,.55)}
@media (max-width:640px){ h1.prod{font-size:27px} }
