/* ATHRTY PX-30 — intent-first sign-in controls and verification clarity.
   Scoped to the first-party login gateway. Zero changes to authentication. */
html[data-theme][data-color-scheme] body[data-auth-shell="px18"] .auth-mode-switch{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:5px;margin:0 0 clamp(20px,3.3vw,25px);
  width:100%;padding:5px;border-radius:16px;
  border:1px solid var(--access-border);
  background:color-mix(in srgb,var(--access-input) 91%,transparent);
  box-shadow:inset 0 1px 3px rgba(0,0,0,.06);
}
html[data-theme][data-color-scheme] body[data-auth-shell="px18"] .auth-mode-switch a{
  box-sizing:border-box;display:flex;justify-content:center;align-items:center;
  min-width:0;min-height:45px;padding:10px 7px;border-radius:11px;
  color:var(--access-muted);text-align:center;text-decoration:none;
  font-size:13px;line-height:1.35;letter-spacing:-.012em;font-weight:750;
  transition:color .18s ease,box-shadow .18s ease,background-color .18s ease;
}
html[data-theme][data-color-scheme] body[data-auth-shell="px18"] .auth-mode-switch a[aria-current="page"]{
  background:color-mix(in srgb,var(--access-accent) 15%,var(--access-input));
  color:var(--access-text);
  text-decoration:none;
  box-shadow:inset 0 1px 0 color-mix(in srgb,var(--access-text) 12%,transparent),0 2px 6px rgba(0,0,0,.08);
}
html[data-theme][data-color-scheme] body[data-auth-shell="px18"] .auth-mode-switch a:hover:not([aria-current="page"]){
  background:color-mix(in srgb,var(--access-accent) 8%,var(--access-input));color:var(--access-text);
}
html[data-theme][data-color-scheme] body[data-auth-shell="px18"] .auth-mode-switch a:focus-visible{
  outline:3px solid var(--access-focus);outline-offset:2px;
}
html[data-theme][data-color-scheme] body[data-auth-shell="px18"] .auth-code-helper{
  color:var(--access-muted);font-size:12px;line-height:1.6;
  margin:-1px 1px 3px;max-width:47ch;text-wrap:pretty;
}
body[data-auth-shell="px18"] :is(.auth-mode-switch,.auth-code-helper)[hidden]{display:none!important}
body[data-auth-shell="px18"][data-auth-step="verification"] .auth-topline,
body[data-auth-shell="px18"][data-auth-step="passkey"] .auth-topline{
  margin-bottom:clamp(20px,4vw,30px);
}
body[data-auth-shell="px18"][data-auth-step="verification"] .auth-card #subtitle{
  margin-bottom:18px;
}
body[data-auth-shell="px18"][data-auth-step="verification"] #form input#code{
  font-variant-numeric:tabular-nums;
  letter-spacing:clamp(.22em,1.8vw,.35em);
}
html[data-theme][data-color-scheme] body[data-auth-shell="px18"] .auth-card .ghost{
  min-height:46px;color:var(--access-text);
}
@media(max-width:430px){
  html[data-theme][data-color-scheme] body[data-auth-shell="px18"] .auth-mode-switch{
    margin-bottom:18px;padding:4px;border-radius:14px;
  }
  html[data-theme][data-color-scheme] body[data-auth-shell="px18"] .auth-mode-switch a{
    min-height:44px;font-size:12px;
  }
}
@media(prefers-reduced-motion:reduce){
  body[data-auth-shell="px18"] .auth-mode-switch a{transition:none!important}
}
@media(forced-colors:active){
  html[data-theme][data-color-scheme] body[data-auth-shell="px18"] .auth-mode-switch a[aria-current="page"]{
    background:Highlight;color:HighlightText;border:1px solid Highlight;
  }
}