/* Malach RC8.25 — isolated auth portal architecture */
body.is-auth-account{margin:0!important;background:#090b12!important;color:#f6f2ee!important;color-scheme:dark!important;overflow:auto!important}
body.is-auth-account .ambient{display:none!important}
body.is-auth-account #app{min-height:100dvh!important;background:transparent!important}
body.is-auth-account .sidebar,body.is-auth-account .topbar{display:none!important}
body.is-auth-account .workspace,body.is-auth-account .main,body.is-auth-account #main{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;background:transparent!important}
.auth-v4-root,.auth-v4-root *{box-sizing:border-box}
.auth-v4-root{--v4-text:#f7f3ef;--v4-muted:rgba(235,229,228,.58);--v4-faint:rgba(235,229,228,.28);--v4-line:rgba(255,255,255,.095);--v4-copper:#e88b57;--v4-violet:#9b6ce5;position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.06fr) minmax(560px,.94fr);min-height:100dvh;overflow:hidden;color:var(--v4-text);background:linear-gradient(118deg,#08111c 0%,#101421 35%,#181520 64%,#0b0a11 100%);font-family:var(--sans,Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif)}
.auth-v4-root::before{content:"";position:absolute;inset:-20%;z-index:-4;background:radial-gradient(circle at 19% 30%,rgba(46,87,128,.18),transparent 31%),radial-gradient(circle at 61% 66%,rgba(128,77,119,.17),transparent 34%),radial-gradient(circle at 85% 20%,rgba(92,63,135,.11),transparent 28%);filter:blur(20px)}
.auth-v4-atmosphere{position:absolute;inset:0;z-index:-3;pointer-events:none;background:linear-gradient(90deg,rgba(255,255,255,.016),transparent 25%,rgba(255,255,255,.008) 62%,transparent),radial-gradient(ellipse at 53% 50%,rgba(255,255,255,.016),transparent 55%)}
.auth-v4-stars{position:absolute;inset:0;z-index:-2;overflow:hidden;pointer-events:none;mask-image:linear-gradient(to bottom,transparent 0,#000 9%,#000 91%,transparent 100%)}
.auth-v4-stars i{--star:rgba(244,241,239,.74);position:absolute;left:var(--x);top:var(--y);width:var(--s);height:var(--s);border-radius:999px;background:var(--star);opacity:var(--o);box-shadow:0 0 8px rgba(236,229,240,.18);animation:v4StarTwinkle var(--duration) ease-in-out var(--delay) infinite alternate;will-change:opacity,transform}
.auth-v4-stars i.violet{--star:rgba(167,124,228,.74);box-shadow:0 0 10px rgba(154,104,228,.20)}
.auth-v4-stars i.copper{--star:rgba(235,143,91,.74);box-shadow:0 0 10px rgba(232,139,87,.20)}
@keyframes v4StarTwinkle{0%{opacity:calc(var(--o) * .30);transform:scale(.76)}35%{opacity:var(--o);transform:scale(1)}72%{opacity:calc(var(--o) * .56);transform:scale(.88)}100%{opacity:calc(var(--o) * 1.12);transform:scale(1.10)}}
.auth-v4-hero{position:relative;display:flex;flex-direction:column;min-height:100dvh;padding:clamp(40px,5vw,84px) clamp(46px,6.2vw,112px);background:transparent!important}
.auth-v4-brand{display:inline-flex;align-items:center;gap:17px;width:max-content;color:var(--v4-text)!important;text-decoration:none!important}.auth-v4-brand img{width:64px;height:64px;object-fit:contain;filter:drop-shadow(0 12px 30px rgba(0,0,0,.28))}.auth-v4-brand span{display:grid;gap:4px}.auth-v4-brand b{font-size:14px;letter-spacing:.27em}.auth-v4-brand small{font-size:9px;letter-spacing:.05em;color:rgba(241,234,231,.42)}
.auth-v4-hero-copy{width:min(780px,100%);margin:auto 0;padding:82px 0 110px}.auth-v4-eyebrow{margin:0 0 27px;color:rgba(232,139,87,.84);font-size:10px;font-weight:700;letter-spacing:.2em}.auth-v4-hero h1{max-width:830px;margin:0;color:var(--v4-text);font-size:clamp(60px,5.8vw,94px);font-weight:690;line-height:.95;letter-spacing:-.057em;text-wrap:balance}.auth-v4-hero-copy>p:not(.auth-v4-eyebrow){max-width:760px;margin:30px 0 0;color:var(--v4-muted);font-size:clamp(15px,1.18vw,19px);line-height:1.72;letter-spacing:-.012em}.auth-v4-principles{display:flex;flex-wrap:wrap;gap:12px 28px;margin-top:38px;padding-top:28px;border-top:1px solid rgba(255,255,255,.07)}.auth-v4-principles span{display:flex;align-items:center;gap:9px;color:rgba(239,232,229,.42);font-size:10px;letter-spacing:.02em}.auth-v4-principles span::before{content:"";width:5px;height:5px;border-radius:50%;background:rgba(231,138,85,.74);box-shadow:0 0 16px rgba(231,138,85,.18)}
.auth-v4-rail{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100dvh;padding:clamp(34px,4.5vw,76px);background:transparent!important}
.auth-v4-card{position:relative;width:min(640px,100%);height:748px;min-height:748px;padding:44px 50px 38px;border:1px solid rgba(255,255,255,.105);border-radius:32px;background:linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.018)),rgba(12,12,19,.55)!important;color:var(--v4-text)!important;box-shadow:0 42px 120px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.10);backdrop-filter:blur(30px) saturate(118%);display:flex;flex-direction:column}
.auth-v4-card-head{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:30px}.auth-v4-card-brand{display:flex;align-items:center;gap:14px;color:var(--v4-text)!important;text-decoration:none!important}.auth-v4-card-brand img{width:58px;height:58px;object-fit:contain}.auth-v4-card-brand span{display:grid;gap:4px}.auth-v4-card-brand small{color:rgba(239,232,229,.34);font-size:8px;letter-spacing:.14em}.auth-v4-card-brand b{font-size:13px;letter-spacing:.22em}.auth-v4-security{display:flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid rgba(83,207,156,.14);border-radius:999px;color:rgba(113,220,178,.72);font-size:8px;letter-spacing:.03em}.auth-v4-security i{width:6px;height:6px;border-radius:50%;background:#4ccf9a;box-shadow:0 0 14px rgba(76,207,154,.45)}
.auth-v4-tabs{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin:0 0 42px;border-bottom:1px solid rgba(255,255,255,.07)}.auth-v4-tabs button{position:relative;height:42px;padding:0 0 16px;border:0!important;background:transparent!important;color:rgba(241,234,231,.34)!important;font-size:12px;cursor:pointer;box-shadow:none!important}.auth-v4-tabs button::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:1px;background:transparent;transition:background .22s var(--ease),box-shadow .22s var(--ease)}.auth-v4-tabs button.is-active{color:rgba(248,244,241,.94)!important}.auth-v4-tabs button.is-active::after{background:linear-gradient(90deg,var(--v4-copper),var(--v4-violet));box-shadow:0 0 16px rgba(154,104,228,.16)}
.auth-v4-body{flex:1;display:grid;grid-template-rows:112px 232px 44px 18px 52px 36px;min-height:0}.auth-v4-copy{align-self:start}.auth-v4-kicker{margin:0 0 9px;color:rgba(232,139,87,.84)!important;font-size:9px;font-weight:720;letter-spacing:.18em}.auth-v4-copy h2{margin:0 0 11px;color:var(--v4-text)!important;font-size:40px;line-height:1.02;letter-spacing:-.045em}.auth-v4-copy>p:not(.auth-v4-kicker){margin:0;max-width:475px;color:rgba(240,233,230,.46)!important;font-size:12px;line-height:1.55}
.auth-v4-form{display:grid;align-content:start;gap:18px;margin:0}.auth-v4-question{position:relative;padding:14px 0 12px;border-bottom:1px solid rgba(255,255,255,.12);transition:border-color .24s ease,box-shadow .24s ease}.auth-v4-question::after{content:"";position:absolute;left:0;right:100%;bottom:-1px;height:1px;background:linear-gradient(90deg,var(--v4-copper),var(--v4-violet));transition:right .28s ease}.auth-v4-question:focus-within{border-color:rgba(255,255,255,.17)}.auth-v4-question:focus-within::after{right:0}.auth-v4-question-label{display:flex;align-items:center;gap:10px;margin-bottom:7px}.auth-v4-question-label span{color:rgba(232,139,87,.55);font:650 8px/1 var(--mono)}.auth-v4-question-label label{margin:0;color:rgba(240,233,230,.42)!important;font-size:9px;font-weight:650;letter-spacing:.07em;text-transform:uppercase}.auth-v4-question input{width:100%;height:42px;padding:2px 0 0!important;border:0!important;border-radius:0!important;outline:0!important;background:transparent!important;color:var(--v4-text)!important;font-size:20px;line-height:1.2;letter-spacing:-.018em;box-shadow:none!important;caret-color:var(--v4-copper)!important}.auth-v4-question input::placeholder{color:rgba(240,233,230,.19)!important}.auth-v4-password-row{display:flex;align-items:center;gap:12px}.auth-v4-password-row input{flex:1;min-width:0}.auth-v4-password-toggle{flex:0 0 auto;height:32px;padding:0 4px;border:0!important;background:transparent!important;color:rgba(240,233,230,.34)!important;font-size:9px;cursor:pointer;box-shadow:none!important}
.auth-v4-primary{height:60px;margin-top:5px;border:0!important;border-radius:17px;background:linear-gradient(108deg,#dd7b4c 0%,#e28d65 33%,#9867df 100%)!important;color:white!important;font-size:13px;font-weight:710;letter-spacing:.01em;display:flex;align-items:center;justify-content:center;gap:11px;cursor:pointer;box-shadow:inset 0 1px rgba(255,255,255,.30),0 16px 42px rgba(80,45,96,.18)!important;transition:transform .2s ease,box-shadow .2s ease}.auth-v4-primary:hover{transform:translateY(-1px);box-shadow:inset 0 1px rgba(255,255,255,.34),0 21px 52px rgba(80,45,96,.24)!important}
.auth-v4-message-slot{min-height:44px;display:flex;align-items:center}.auth-v4-message-slot .notice{width:100%;margin:0;padding:10px 12px;border-radius:11px;font-size:9px}.auth-v4-divider{display:flex;align-items:center;gap:14px;color:rgba(240,233,230,.18);font-size:7px;letter-spacing:.16em;text-transform:uppercase}.auth-v4-divider::before,.auth-v4-divider::after{content:"";height:1px;flex:1;background:rgba(255,255,255,.07)}.auth-v4-google{display:flex;align-items:center;justify-content:center;min-height:52px;overflow:hidden}.auth-v4-google>div{width:100%;display:flex;justify-content:center}.auth-v4-links{display:flex;align-items:center;justify-content:center;gap:22px;min-height:36px}.auth-v4-links button,.auth-v4-links a{height:auto!important;padding:0!important;border:0!important;background:transparent!important;color:rgba(240,233,230,.34)!important;font-size:9px;text-decoration:none!important;box-shadow:none!important;cursor:pointer}.auth-v4-links button:hover,.auth-v4-links a:hover{color:rgba(246,242,238,.72)!important}.auth-v4-links #firebaseForgotPassword[hidden]{display:inline-flex!important;visibility:hidden!important;pointer-events:none!important}.auth-v4-trust{display:flex;justify-content:center;gap:24px;margin-top:20px;padding-top:17px;border-top:1px solid rgba(255,255,255,.06);color:rgba(240,233,230,.38);font-size:9px;letter-spacing:.01em}.auth-v4-trust span{display:flex;align-items:center;gap:7px}.auth-v4-trust span::before{content:"";width:4px;height:4px;border-radius:50%;background:rgba(232,139,87,.62)}

@media(max-width:1320px){.auth-v4-root{grid-template-columns:minmax(0,1fr) minmax(530px,.88fr)}.auth-v4-hero{padding-inline:48px}.auth-v4-hero h1{font-size:clamp(56px,5.6vw,78px)}.auth-v4-rail{padding-inline:34px}.auth-v4-card{width:min(600px,100%);padding-inline:42px}}
@media(max-width:980px){.auth-v4-root{grid-template-columns:1fr;overflow:auto}.auth-v4-hero{min-height:620px;padding:34px 28px 54px}.auth-v4-hero-copy{padding:78px 0 40px}.auth-v4-rail{min-height:830px;padding:64px 24px}.auth-v4-card{width:min(640px,100%)}}
@media(max-width:640px){.auth-v4-hero{min-height:570px;padding:26px 20px 42px}.auth-v4-brand img{width:52px;height:52px}.auth-v4-brand small{display:none}.auth-v4-hero h1{font-size:clamp(46px,12.6vw,62px)}.auth-v4-hero-copy>p:not(.auth-v4-eyebrow){font-size:14px;line-height:1.62}.auth-v4-principles{gap:10px 18px}.auth-v4-rail{min-height:790px;padding:54px 12px}.auth-v4-card{height:720px;min-height:720px;padding:30px 24px 26px;border-radius:26px}.auth-v4-card-brand img{width:50px;height:50px}.auth-v4-tabs{margin-bottom:30px}.auth-v4-body{grid-template-rows:104px 224px 42px 16px 50px 34px}.auth-v4-copy h2{font-size:34px}.auth-v4-question input{font-size:18px}.auth-v4-trust{gap:10px;flex-wrap:wrap}}
@media(max-height:820px) and (min-width:981px){.auth-v4-card{height:690px;min-height:690px;padding-block:30px}.auth-v4-card-head{margin-bottom:20px}.auth-v4-tabs{margin-bottom:28px}.auth-v4-body{grid-template-rows:94px 218px 36px 16px 50px 32px}.auth-v4-question{padding-block:10px 8px}.auth-v4-primary{height:54px}.auth-v4-trust{margin-top:11px;padding-top:11px}}
@media(prefers-reduced-motion:reduce){.auth-v4-stars i{animation:none!important;opacity:calc(var(--o) * .72)!important}}


/* RC8.23 — proprietary algorithm signal + interaction polish */
.auth-v4-algorithm-proof{display:grid;grid-template-columns:minmax(170px,240px) minmax(0,1fr);align-items:center;gap:20px;margin-top:32px;padding:17px 0 1px;color:rgba(241,234,231,.78)}
.auth-v4-algorithm-line{width:100%;height:48px;overflow:visible;filter:drop-shadow(0 0 10px rgba(159,105,226,.12))}
.auth-v4-algorithm-line path{fill:none;stroke:url(#unused);stroke:#b783e6;stroke-width:1.45;stroke-linecap:round;stroke-dasharray:9 6;animation:auth-v4-algorithm-flow 4.8s linear infinite;opacity:.76}
.auth-v4-algorithm-proof span{display:grid;gap:5px}.auth-v4-algorithm-proof b{font-size:11px;font-weight:650;letter-spacing:.01em;color:rgba(248,244,241,.80)}.auth-v4-algorithm-proof small{max-width:390px;font-size:10px;line-height:1.55;color:rgba(240,233,230,.38)}
@keyframes auth-v4-algorithm-flow{to{stroke-dashoffset:-60}}
.auth-v4-links button{min-height:32px;padding:0 4px!important}.auth-v4-links #firebaseNeedHelp{display:inline-flex;align-items:center}
@media(max-width:980px){.auth-v4-algorithm-proof{grid-template-columns:minmax(140px,210px) minmax(0,1fr);max-width:650px}.auth-v4-hero-copy{padding-bottom:32px}}
@media(max-width:640px){.auth-v4-algorithm-proof{grid-template-columns:1fr;gap:8px;margin-top:24px}.auth-v4-algorithm-line{width:min(220px,72vw);height:36px}.auth-v4-algorithm-proof small{font-size:9.5px}.auth-v4-links{gap:12px}.auth-v4-links button,.auth-v4-links a{min-height:44px!important;display:inline-flex!important;align-items:center!important;padding:0 6px!important}.auth-v4-hero-copy{padding-top:64px}.auth-v4-principles{margin-top:24px;padding-top:22px}}
@media(prefers-reduced-motion:reduce){.auth-v4-algorithm-line path{animation:none!important;stroke-dasharray:none!important}}

/* RC8.24 — mobile stability + real auth utility controls */
html:has(body.is-auth-account){overflow-x:hidden!important;overscroll-behavior-x:none!important}
body.is-auth-account{width:100%!important;max-width:100vw!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-x:none!important;touch-action:pan-y!important;-webkit-overflow-scrolling:touch}
body.is-auth-account #app,body.is-auth-account .workspace,body.is-auth-account .main,body.is-auth-account #main{min-width:0!important;max-width:100vw!important;overflow:visible!important}
.auth-v4-root{width:100%;max-width:100vw;min-width:0;overflow-x:clip;overscroll-behavior-x:none;touch-action:pan-y}
.auth-v4-hero,.auth-v4-rail,.auth-v4-card,.auth-v4-body,.auth-v4-form{min-width:0}
.auth-v4-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:8px;min-height:58px}
.auth-v4-links .auth-v4-link-button{min-width:0!important;min-height:54px!important;height:auto!important;padding:10px 14px!important;border:1px solid rgba(255,255,255,.09)!important;border-radius:14px!important;background:rgba(255,255,255,.025)!important;color:rgba(247,243,239,.76)!important;display:flex!important;flex-direction:column;align-items:flex-start!important;justify-content:center!important;gap:3px;text-align:left!important;text-decoration:none!important;box-shadow:none!important;transition:border-color .18s ease,background .18s ease,transform .18s ease}
.auth-v4-links .auth-v4-link-button:hover{border-color:rgba(255,255,255,.17)!important;background:rgba(255,255,255,.045)!important;transform:translateY(-1px)}
.auth-v4-links .auth-v4-link-button span{font-size:10px;font-weight:650;color:rgba(248,244,241,.88)}
.auth-v4-links .auth-v4-link-button small{font-size:8px;line-height:1.35;color:rgba(240,233,230,.36)}
.auth-v4-links #firebaseForgotPassword[hidden]{display:none!important}
.auth-v4-question[hidden]{display:none!important}
.auth-v4-trust{margin-top:18px}
.auth-v4-trust span{white-space:nowrap}

@media(max-width:980px){
  body.is-auth-account{min-height:100%;height:auto!important}
  .auth-v4-root{display:block;min-height:100%;height:auto!important;overflow:visible!important}
  .auth-v4-hero{min-height:auto!important;padding:34px 28px 36px}
  .auth-v4-hero-copy{margin:0;padding:66px 0 26px}
  .auth-v4-rail{min-height:auto!important;height:auto!important;padding:34px 24px calc(54px + env(safe-area-inset-bottom));align-items:stretch;justify-content:flex-start}
  .auth-v4-card{width:min(640px,100%);height:auto!important;min-height:720px;margin:0 auto}
}
@media(max-width:640px){
  body.is-auth-account{position:static!important;overflow-y:auto!important}
  .auth-v4-root{overflow-x:hidden!important}
  .auth-v4-hero{padding:24px 18px 28px}
  .auth-v4-hero-copy{padding:48px 0 18px}
  .auth-v4-hero h1{font-size:clamp(42px,11.7vw,58px)}
  .auth-v4-rail{padding:24px 12px calc(48px + env(safe-area-inset-bottom))}
  .auth-v4-card{width:100%;height:auto!important;min-height:0!important;padding:28px 20px 24px;border-radius:24px}
  .auth-v4-card-head{margin-bottom:24px}
  .auth-v4-tabs{gap:14px;margin-bottom:28px}
  .auth-v4-body{display:flex!important;flex-direction:column;gap:18px;min-height:0!important}
  .auth-v4-copy{min-height:0}
  .auth-v4-form{gap:16px}
  .auth-v4-primary{height:58px;margin-top:4px}
  .auth-v4-message-slot{min-height:0}
  .auth-v4-divider{margin:2px 0}
  .auth-v4-google{min-height:54px}
  .auth-v4-links{grid-template-columns:1fr;gap:10px;margin-top:2px}
  .auth-v4-links .auth-v4-link-button{min-height:58px!important;width:100%!important;padding:11px 14px!important}
  .auth-v4-trust{gap:8px 14px;margin-top:16px;padding-top:14px;justify-content:flex-start}
  .auth-v4-trust span{white-space:normal;font-size:8px}
}

/* RC8.25 — refined account entry, passwordless email code, mobile-first funnel */
.auth-v4-root{overflow-x:clip!important;overflow-y:visible!important}
.auth-v4-rail{align-self:stretch}
.auth-v4-card{height:auto!important;min-height:760px!important;padding:40px 48px 34px!important}
.auth-v4-card-head{margin-bottom:24px}
.auth-v4-tabs{margin-bottom:30px}
.auth-v4-body{flex:1;display:flex!important;flex-direction:column;grid-template-rows:none!important;gap:16px;min-height:0}
.auth-v4-copy{min-height:92px}
.auth-v4-copy h2{font-size:38px}
.auth-v4-copy>p:not(.auth-v4-kicker){max-width:500px;font-size:12px;line-height:1.6}
.auth-v4-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:-2px 0 2px}
.auth-v4-methods[hidden],.auth-v4-code-actions[hidden],.auth-v4-google[hidden],.auth-v4-divider[hidden]{display:none!important}
.auth-v4-method{position:relative;min-width:0;min-height:62px;padding:11px 13px!important;border:1px solid rgba(255,255,255,.085)!important;border-radius:15px!important;background:rgba(255,255,255,.022)!important;color:rgba(245,240,237,.62)!important;display:flex!important;flex-direction:column;align-items:flex-start!important;justify-content:center;gap:4px;text-align:left;cursor:pointer;box-shadow:none!important;transition:border-color .18s ease,background .18s ease,transform .18s ease,box-shadow .18s ease}
.auth-v4-method::before{content:"";position:absolute;left:12px;top:12px;width:5px;height:5px;border-radius:50%;background:rgba(241,235,231,.20);transition:background .18s ease,box-shadow .18s ease}
.auth-v4-method span{padding-left:12px;font-size:11px;font-weight:700;color:rgba(248,244,241,.84)}
.auth-v4-method small{padding-left:12px;font-size:8px;line-height:1.35;color:rgba(240,233,230,.34)}
.auth-v4-method:hover{border-color:rgba(255,255,255,.15)!important;background:rgba(255,255,255,.038)!important;transform:translateY(-1px)}
.auth-v4-method.is-active{border-color:rgba(218,137,102,.33)!important;background:linear-gradient(135deg,rgba(224,128,79,.085),rgba(152,103,223,.055))!important;box-shadow:inset 0 1px rgba(255,255,255,.04),0 12px 34px rgba(0,0,0,.10)!important}
.auth-v4-method.is-active::before{background:#e28a5a;box-shadow:0 0 13px rgba(226,138,90,.45)}
.auth-v4-method.is-unavailable{opacity:.48;cursor:not-allowed}
.auth-v4-method.is-unavailable:hover{transform:none;border-color:rgba(255,255,255,.085)!important;background:rgba(255,255,255,.022)!important}
.auth-v4-form{gap:14px}
.auth-v4-question{padding:11px 0 10px}
.auth-v4-question input{height:40px;font-size:19px}
.auth-v4-question input[readonly]{color:rgba(247,243,239,.62)!important;cursor:default}
.auth-v4-question-label{margin-bottom:5px;min-width:0}
.auth-v4-question-label small{margin-left:auto;max-width:58%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(240,233,230,.34);font-size:8px;letter-spacing:0;text-transform:none}
.auth-v4-code-question input{font-variant-numeric:tabular-nums;letter-spacing:.22em;font-size:24px;font-weight:720}
.auth-v4-primary{min-height:58px;height:58px;margin-top:4px;border-radius:16px}
.auth-v4-primary:focus-visible,.auth-v4-method:focus-visible,.auth-v4-link-button:focus-visible,.auth-v4-code-actions button:focus-visible,.auth-v4-password-toggle:focus-visible{outline:2px solid rgba(207,163,239,.82)!important;outline-offset:3px!important}
.auth-v4-primary:disabled{cursor:wait;transform:none!important;opacity:.76}
.auth-v4-code-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:-3px}
.auth-v4-code-actions button{min-height:38px;padding:7px 10px!important;border:1px solid rgba(255,255,255,.075)!important;border-radius:11px!important;background:rgba(255,255,255,.018)!important;color:rgba(242,236,233,.50)!important;font-size:8.5px;cursor:pointer;box-shadow:none!important}
.auth-v4-code-actions button:hover{border-color:rgba(255,255,255,.14)!important;color:rgba(248,244,241,.78)!important;background:rgba(255,255,255,.035)!important}
.auth-v4-message-slot{min-height:34px}
.auth-v4-message-slot .notice{padding:9px 11px;font-size:9px;line-height:1.45}
.auth-v4-divider{margin-top:0}
.auth-v4-google{min-height:48px}
.auth-v4-links{margin-top:0}
.auth-v4-links .auth-v4-link-button{min-height:56px!important;padding:11px 14px!important}
.auth-v4-trust{margin-top:14px;padding-top:14px}

@media(max-height:820px) and (min-width:981px){
  .auth-v4-card{height:auto!important;min-height:680px!important;padding-block:28px!important}
  .auth-v4-copy{min-height:80px}.auth-v4-copy h2{font-size:34px}
  .auth-v4-method{min-height:54px}.auth-v4-method small{display:none}
  .auth-v4-question{padding-block:8px 7px}.auth-v4-primary{height:52px;min-height:52px}
  .auth-v4-links .auth-v4-link-button{min-height:48px!important;padding-block:8px!important}
  .auth-v4-trust{margin-top:9px;padding-top:9px}
}

@media(max-width:980px){
  .auth-v4-root{display:block!important;min-height:100dvh;height:auto!important;overflow:visible!important}
  .auth-v4-hero{min-height:auto!important;padding:28px 26px 24px!important}
  .auth-v4-hero-copy{margin:0!important;padding:46px 0 22px!important}
  .auth-v4-hero h1{max-width:720px;font-size:clamp(44px,8vw,64px)}
  .auth-v4-hero-copy>p:not(.auth-v4-eyebrow){max-width:700px;margin-top:22px}
  .auth-v4-algorithm-proof{margin-top:22px}
  .auth-v4-principles{margin-top:22px;padding-top:20px}
  .auth-v4-rail{min-height:0!important;height:auto!important;padding:24px 22px calc(50px + env(safe-area-inset-bottom))!important;justify-content:flex-start!important}
  .auth-v4-card{width:min(640px,100%)!important;min-height:0!important;margin:0 auto!important;padding:34px 38px 30px!important}
}

@media(max-width:640px){
  html:has(body.is-auth-account),body.is-auth-account{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  .auth-v4-root{width:100%!important;max-width:100%!important;overflow-x:clip!important}
  .auth-v4-hero{padding:20px 18px 18px!important}
  .auth-v4-brand{gap:12px}.auth-v4-brand img{width:46px;height:46px}.auth-v4-brand b{font-size:12px}
  .auth-v4-hero-copy{padding:30px 0 12px!important}
  .auth-v4-eyebrow{margin-bottom:14px;font-size:8px}
  .auth-v4-hero h1{max-width:460px;font-size:clamp(34px,10.8vw,47px)!important;line-height:1;letter-spacing:-.048em}
  .auth-v4-hero-copy>p:not(.auth-v4-eyebrow),.auth-v4-algorithm-proof,.auth-v4-principles{display:none!important}
  .auth-v4-rail{width:100%!important;padding:12px 10px calc(36px + env(safe-area-inset-bottom))!important}
  .auth-v4-card{width:100%!important;min-width:0!important;min-height:0!important;padding:26px 18px 22px!important;border-radius:23px!important}
  .auth-v4-card-head{gap:12px;margin-bottom:20px}.auth-v4-card-brand{gap:10px}.auth-v4-card-brand img{width:44px;height:44px}.auth-v4-card-brand small{font-size:7px}.auth-v4-security{padding:6px 8px;font-size:7px}
  .auth-v4-tabs{gap:16px;margin-bottom:23px}.auth-v4-tabs button{height:38px;padding-bottom:13px}
  .auth-v4-body{gap:14px!important}.auth-v4-copy{min-height:0!important}.auth-v4-copy h2{font-size:32px!important}.auth-v4-copy>p:not(.auth-v4-kicker){font-size:11px!important}
  .auth-v4-methods{gap:8px}.auth-v4-method{min-height:60px;padding:10px!important}.auth-v4-method span,.auth-v4-method small{padding-left:11px}.auth-v4-method span{font-size:10px}.auth-v4-method small{font-size:7.5px}
  .auth-v4-form{gap:13px!important}.auth-v4-question{padding:10px 0 9px}.auth-v4-question input{height:39px;font-size:18px}.auth-v4-code-question input{font-size:23px}
  .auth-v4-primary{width:100%!important;min-height:56px!important;height:56px!important;margin-top:2px!important}
  .auth-v4-code-actions{grid-template-columns:1fr 1fr;gap:8px}.auth-v4-code-actions button{min-height:42px!important;font-size:8px}
  .auth-v4-message-slot{min-height:0}.auth-v4-google{min-height:50px}.auth-v4-google>div{max-width:100%;overflow:hidden}
  .auth-v4-links{grid-template-columns:1fr!important;gap:8px!important}.auth-v4-links .auth-v4-link-button{width:100%!important;min-height:56px!important}
  .auth-v4-trust{gap:7px 12px!important;margin-top:13px!important;padding-top:13px!important}.auth-v4-trust span{font-size:7.5px!important}
}

@media(max-width:380px){
  .auth-v4-card{padding-inline:15px!important}.auth-v4-security{display:none}
  .auth-v4-methods{grid-template-columns:1fr}.auth-v4-method{min-height:52px}.auth-v4-method small{display:block}
  .auth-v4-code-actions{grid-template-columns:1fr}
}
