@import url('theme-tokens.css?v=20260926b');
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased}.login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(340px,.95fr) minmax(420px,1.3fr)}.login-intro{padding:44px 52px;display:flex;flex-direction:column;justify-content:space-between;background:var(--surface);border-right:1px solid var(--border)}.login-brand{display:flex;gap:10px;align-items:center;color:var(--text);text-decoration:none;width:max-content}.login-brand>span:last-child{font:650 27px 'Inter Tight',sans-serif;letter-spacing:-1px}.brand-mark{--mark-w:39px;--mark-h:38px;position:relative;width:var(--mark-w);height:var(--mark-h);overflow:hidden;display:block}.brand-mark img{position:absolute;width:128px;height:128px;max-width:none;left:-10px;top:-46px}:root[data-theme=light] .brand-mark img{filter:brightness(.34) saturate(.6)}.intro-copy{padding:64px 0}.login-kicker{font-size:9px;letter-spacing:1.8px;font-weight:500;color:var(--text-2);margin-bottom:23px}.intro-copy h1{font:500 clamp(35px,3.4vw,51px)/1.12 'Inter Tight',sans-serif;letter-spacing:-1.7px;margin:0 0 24px}.intro-copy>p{font-size:13px;line-height:1.9;color:var(--text-2);margin:0}.intro-rule{height:1px;max-width:260px;background:var(--border);margin:36px 0 27px}.intro-points{display:flex;flex-direction:column;gap:18px}.intro-points>div{display:flex;gap:17px;align-items:center}.intro-points span{font-size:9px;font-variant-numeric:tabular-nums;color:var(--text-3)}.intro-points p{font-size:11px;color:var(--text-2);margin:0}.intro-footer{font-size:10px;color:var(--text-3)}.login-main{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;padding:100px 50px 90px}.login-tools{position:absolute;right:38px;top:32px}.theme-toggle{padding:7px 10px;border-radius:6px;background:transparent;border:1px solid var(--border);color:var(--text-2);font:10px inherit;cursor:pointer}.login-form-wrap{width:100%;max-width:360px}.login-form-wrap>.login-kicker{margin-bottom:15px;font-size:8px}.login-form-wrap h2{font:500 35px 'Inter Tight',sans-serif;letter-spacing:-1.05px;margin:0 0 11px}.login-description{font-size:12px;line-height:1.8;color:var(--text-2);margin:0 0 34px}label{display:block;font-size:11px;font-weight:500;color:var(--text);margin-bottom:10px}input{display:block;width:100%;padding:13px 14px;border:1px solid var(--border-2);border-radius:7px;background:var(--surface);color:var(--text);font:12px inherit;outline:none}input::placeholder{color:var(--text-3)}input:focus{outline:2px solid var(--accent);outline-offset:2px}.password-label{display:flex;align-items:center;justify-content:space-between;margin-top:23px}.password-label a{font-size:10px;color:var(--text-2);text-decoration:none;margin-bottom:10px}.password-wrap{position:relative}.password-wrap input{padding-right:65px}.toggle-pw{position:absolute;right:12px;top:50%;transform:translateY(-50%);background:none;border:0;color:var(--text-2);font-size:10px;cursor:pointer;padding:8px 2px}.login-submit{display:flex;justify-content:center;align-items:center;gap:16px;width:100%;margin-top:27px;padding:13px 16px;background:var(--button);color:var(--button-text);border:1px solid var(--button);border-radius:7px;font:550 12px inherit;cursor:pointer}.login-submit:hover{opacity:.87}.login-submit:disabled{opacity:.55;cursor:wait}.access-help{font-size:10px;color:var(--text-2);text-align:center;margin-top:25px;line-height:1.7}.contact-help{font-size:11px;color:var(--text-2);text-align:center;margin-top:28px}.contact-help a{color:var(--text);text-underline-offset:4px}.login-footer{position:absolute;bottom:30px;left:38px;right:38px;display:flex;justify-content:space-between;gap:15px;font-size:9px;color:var(--text-3)}.login-error{color:var(--warning);background:var(--warning-bg);padding:12px;border:1px solid var(--border);border-radius:7px;font-size:12px;line-height:1.6;margin-bottom:22px}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.login-preview-note{position:fixed;bottom:8px;left:10px;font-size:9px;background:var(--surface);color:var(--text-2);border:1px solid var(--border);border-radius:5px;padding:6px 9px;z-index:5}
@media(min-width:1500px){.login-intro{padding:55px 75px}.intro-copy h1{font-size:55px}}
/* Phones and small tablets. The grid used to stretch its rows to fill the viewport, which turned the
   brand strip into a tall empty band and pushed the form into the middle of the screen with a void
   above it. Now the rows size to their content, the brand sits in a compact centred header, and the
   form starts right beneath it. */
@media(max-width:850px){
 .login-shell{grid-template-columns:1fr;align-content:start}
 .login-intro{padding:18px 22px;border-right:0;border-bottom:1px solid var(--border);flex-direction:row;align-items:center;justify-content:center}
 .intro-copy,.intro-footer{display:none}
 .login-brand{width:auto}
 .login-brand>span:last-child{font-size:21px;letter-spacing:-.8px}
 .brand-mark{--mark-w:38px;--mark-h:37px}
 .brand-mark img{width:126px;height:126px;left:-9px;top:-45px}
 .login-main{min-height:auto;padding:38px 24px 34px;justify-content:flex-start}
 .login-tools{top:14px;right:18px}
 .login-form-wrap{max-width:420px}
 .login-form-wrap>.login-kicker{font-size:8.5px}
 .login-form-wrap h2{font-size:31px}
 .login-description{margin-bottom:28px}
 /* The footer was pinned to the bottom of a full-height panel; in a content-height panel it belongs
    in the flow, under the form. */
 .login-footer{position:static;left:auto;right:auto;bottom:auto;margin-top:34px;flex-direction:column;align-items:center;gap:5px;text-align:center;font-size:9px}
}
@media(max-width:380px){ .login-form-wrap h2{font-size:28px} .login-main{padding:30px 18px 28px} }

/* Original supplied artwork, with its satellite isolated for motion. */
.login-ion svg{display:block;width:var(--mark-w,39px);height:var(--mark-h,38px);overflow:visible}
.ion-electron{offset-path:path('M 557 800 A 200 76 0 1 1 157 800 A 200 76 0 1 1 557 800');offset-anchor:0px 0px;offset-rotate:0deg;offset-distance:0%;animation:ionElectronOrbit 7s linear infinite}
.access-help strong{font-weight:500;color:var(--text-2)}
@keyframes ionElectronOrbit{to{offset-distance:100%}}
@media(prefers-reduced-motion:reduce){.ion-electron{animation:none}}

.login-error.is-ok{background:rgba(106,211,189,.1);border-color:rgba(106,211,189,.35);color:var(--accent,#6ad3bd)}

/* ---- Phones, reworked. The old rules sized rows to content, which stopped the void ABOVE the
   form but left one below it: on a 390x844 screen the page ended around 60% and the rest was flat
   black. These make the screen feel composed rather than truncated. ---- */
@media(max-width:850px){
 /* svh, not vh: vh on iOS measures the viewport WITHOUT the browser chrome, so 100vh overflows
    and reintroduces a scroll on a page that should not have one. */
 .login-shell{min-height:100svh;align-content:stretch;grid-template-rows:auto 1fr;overflow-x:clip}
 /* The brand was a full-width bar with a hard rule under it — website chrome, not an app. */
 .login-intro{background:transparent;border-bottom:0;padding:26px 22px 4px;justify-content:flex-start}
 /* A single soft glow behind the form, the same idea as the marketing site's aurora. It is what
    stops a dark screen reading as an empty one. */
 .login-main{position:relative;justify-content:flex-start;padding:14px 24px 0;isolation:isolate}
 /* The form centres itself in whatever space is left between the brand and the footer, so the
    screen reads as composed at any height instead of stacking from the top. */
 .login-form-wrap{margin-top:auto;margin-bottom:auto}
 .login-main::before{content:'';position:absolute;z-index:-1;left:50%;top:6%;width:min(100%,520px);aspect-ratio:1;
  transform:translateX(-50%);border-radius:50%;pointer-events:none;
  background:radial-gradient(closest-side,rgba(106,211,189,.13),rgba(106,211,189,.04) 55%,transparent 72%)}
 .login-form-wrap{max-width:400px}
 .login-form-wrap h2{font-size:clamp(30px,8.4vw,36px);letter-spacing:-1.2px;margin-bottom:9px}
 .login-description{font-size:14px;line-height:1.65;margin-bottom:30px}
 label{font-size:13px;margin-bottom:9px}
 /* 16px is not a taste choice: iOS Safari zooms the whole page when a focused input is smaller,
    which throws the layout sideways mid sign-in. */
 input{font-size:16px;padding:15px 16px;border-radius:12px;min-height:52px}
 .password-wrap input{padding-right:76px}
 .password-label{margin-top:20px}
 .password-label a{font-size:12.5px}
 /* Was a 10px word in a 2px-padded box — under the 44px Apple and WCAG both ask for. */
 .toggle-pw{font-size:12.5px;padding:15px 10px;right:6px;min-height:44px}
 /* The portal this signs into uses the teal button. The login used white, so the first and second
    screens of the product did not look like the same product. */
 .login-submit{margin-top:26px;min-height:54px;border-radius:12px;font-size:15px;font-weight:600;
  background:var(--accent);border-color:var(--accent);color:var(--on-accent);
  box-shadow:0 10px 30px -12px rgba(106,211,189,.55)}
 .login-submit:active{transform:translateY(1px)}
 .contact-help{font-size:13px;margin-top:26px}
 /* Sits at the foot of the screen, clear of the home indicator, instead of floating mid-page. */
 .login-footer{margin-top:0;padding-top:30px;padding-bottom:max(18px,env(safe-area-inset-bottom));font-size:10.5px;gap:4px}
 .login-main{padding-bottom:0}
}
@media(max-width:380px){
 .login-main{padding-left:18px;padding-right:18px}
 .login-intro{padding-left:18px;padding-right:18px}
}
@media(max-width:850px) and (prefers-reduced-motion:reduce){ .login-submit{box-shadow:none} }
