/* Scoped to the shared account flow. Existing brand tokens stay unchanged. */
.auth-preview-banner{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 24px;margin:0 24px 16px;border:1px solid var(--es-line);border-radius:12px;background:var(--es-ice);color:var(--es-accent);font-size:11px}.auth-preview-banner a{white-space:nowrap;text-decoration:underline;min-height:28px;display:flex;align-items:center}.auth-preview-entry{margin-top:20px}.auth-choice-description{display:block;font-size:12px;line-height:1.65;color:var(--es-muted);margin-top:7px}
.auth-page{min-height:100dvh;display:flex;flex-direction:column}
.auth-header,.auth-footer{display:flex;align-items:center;justify-content:space-between;width:min(1440px,100%);margin:auto;padding:30px 48px;gap:24px}
.auth-header .es-logo{font-size:27px}.auth-home{font-size:13px;display:flex;gap:10px;align-items:center;min-height:44px}.auth-home:hover{color:var(--es-accent)}
.auth-layout{display:grid;grid-template-columns:1fr 1fr;gap:40px;width:min(1440px,100%);padding:0 24px 0 48px;margin:auto;flex:1}
.auth-workspace{align-self:center;width:100%;max-width:490px;justify-self:center;padding:40px 25px 45px 0;min-width:0}
.auth-step{animation:auth-enter .3s var(--es-ease)}.auth-kicker{font-size:10px;letter-spacing:.15em;font-weight:600;color:var(--es-accent);display:block;margin-bottom:24px}.auth-step h1{font-size:clamp(36px,3.8vw,54px);line-height:1.04;letter-spacing:-.055em;outline:none;margin:0 0 18px}.auth-lead{color:var(--es-muted);font-size:15px;line-height:1.65;margin-bottom:30px}.auth-tabs{display:flex;border-bottom:1px solid var(--es-line);margin-bottom:24px;gap:28px}.auth-tabs button{background:transparent;padding:12px 0;color:var(--es-muted);font-size:14px;position:relative;min-height:46px}.auth-tabs button[aria-pressed=true]{color:var(--es-accent);font-weight:600}.auth-tabs button[aria-pressed=true]:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--es-accent)}
.auth-providers{display:grid;gap:12px}.auth-provider{border:1px solid var(--es-line);background:var(--es-white);min-height:54px;border-radius:var(--es-radius);color:var(--es-ink);font-size:14px;font-weight:500;display:flex;align-items:center;justify-content:center;gap:14px;transition:background .18s,transform .18s,border-color .18s}.auth-provider:hover{background:var(--es-ice);border-color:var(--es-accent);transform:translateY(-1px)}.provider-google{font-family:Arial,sans-serif;font-weight:700;font-size:22px}.provider-apple{display:inline-block;width:16px;height:19px;border-radius:48% 45% 42% 42%;background:var(--es-ink);font-size:0;position:relative}.provider-apple:before{content:"";position:absolute;top:-5px;left:9px;width:5px;height:7px;border-radius:5px 0;transform:rotate(30deg);background:var(--es-ink)}.provider-apple:after{content:"";position:absolute;right:-3px;top:3px;width:7px;height:8px;border-radius:50%;background:var(--es-white)}
.auth-divider{display:flex;align-items:center;gap:15px;color:var(--es-muted);font-size:11px;margin:22px 0}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:var(--es-line);flex:1}.auth-primary{width:100%;position:relative;justify-content:center;text-align:center;min-height:56px}.auth-legal{font-size:11px;line-height:1.8;color:var(--es-muted);text-align:center;margin:20px auto 0;max-width:345px}.auth-legal a{text-decoration:underline;text-underline-offset:3px}.auth-shared{display:flex;align-items:center;justify-content:center;gap:9px;border-top:1px solid var(--es-line);padding-top:24px;margin-top:28px;font-size:11px;color:var(--es-muted)}
.auth-scene{background:var(--es-accent);border-radius:24px;color:var(--es-paper);padding:30px 38px 22px;display:flex;flex-direction:column;overflow:hidden;min-height:680px;position:relative}.scene-top,.scene-footer{display:flex;justify-content:space-between;align-items:center;font-size:9px;letter-spacing:.12em;gap:12px}.scene-top{opacity:.85}.scene-badge{display:flex;align-items:center;gap:8px;border:1px solid #f3f1ea45;padding:8px 10px;border-radius:30px}.scene-badge i{width:5px;height:5px;border-radius:50%;background:var(--es-paper)}.scene-story{margin:52px 0 36px}.scene-story .auth-kicker{color:var(--es-paper);opacity:.7;font-size:9px;margin-bottom:17px}.scene-story h2{font-size:clamp(38px,4vw,58px);line-height:1.02;letter-spacing:-.05em}.scene-story>p{font-size:13px;line-height:1.7;opacity:.73;margin-top:17px}.scene-product{position:relative;max-width:370px;width:100%;margin:auto;flex:1;padding-bottom:30px}.auth-drop-card{color:var(--es-ink);background:var(--es-white);border-radius:16px;overflow:hidden;box-shadow:0 16px 40px #11131812;transition:transform .25s var(--es-ease)}.scene-product>.auth-drop-card{transform:rotate(-3deg);width:90%;margin-left:5px}.auth-drop-photo{position:relative;height:190px;overflow:hidden;background:var(--es-ice)}.auth-drop-photo img{width:100%;height:100%;object-fit:cover}.drop-photo-tag{position:absolute;left:14px;top:14px;background:var(--es-white);color:var(--es-accent);padding:7px 10px;border-radius:20px;font-size:8px;font-weight:600;letter-spacing:.07em}.drop-heart{position:absolute;right:14px;top:11px;color:white;font-size:27px}.auth-drop-copy{padding:20px}.drop-meta{font-size:9px;letter-spacing:.1em;color:var(--es-muted);margin-bottom:8px}.auth-drop-copy h3{font-size:22px;line-height:1.2;letter-spacing:-.04em;overflow-wrap:anywhere}.drop-price-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:16px}.drop-price-row strong{font-size:23px;color:var(--es-accent);letter-spacing:-.04em}.drop-price-row s{color:var(--es-muted);font-size:12px;margin-left:4px}.drop-price-row>span{font-size:10px;display:flex;align-items:center;gap:5px}.drop-price-row .es-dot{width:4px;height:4px}.scene-note{position:relative;margin:-18px -6px 0 auto;max-width:275px;background:var(--es-paper);color:var(--es-accent);border-radius:12px;padding:14px 18px;display:flex;align-items:center;gap:14px;transform:rotate(3deg);box-shadow:0 5px 24px #11131812}.scene-note>span{border:1px solid var(--es-line);border-radius:50%;width:34px;height:34px;display:grid;place-items:center;font-size:23px;flex:none}.scene-note strong{display:block;font-size:11px;font-weight:600}.scene-note small{display:block;font-size:10px;color:var(--es-muted);margin-top:3px}.scene-footer{margin-top:20px;font-size:8px;opacity:.7}.scene-footer>span:last-child{letter-spacing:0}
.auth-footer{font-size:10px;color:var(--es-muted);padding-top:24px;padding-bottom:24px}.auth-footer>div{display:flex;gap:24px}.auth-footer a{min-height:30px;display:flex;align-items:center}.auth-back{background:transparent;padding:8px 0;color:var(--es-muted);font-size:12px;min-height:44px;margin-bottom:14px}.auth-back:hover{color:var(--es-accent)}.auth-form{display:grid;gap:16px}.auth-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.auth-field{display:grid;gap:7px;min-width:0;font-size:12px;font-weight:500}.auth-field.wide{grid-column:1/-1}.auth-field input,.auth-field select,.auth-field textarea{width:100%;min-width:0;border:1px solid var(--es-line);background:var(--es-white);border-radius:10px;padding:12px 13px;min-height:47px;color:var(--es-ink);font-size:14px;font-weight:400;transition:border-color .2s}.auth-field textarea{min-height:82px;resize:vertical}.auth-field small,.auth-hint{font-size:11px;font-weight:400;color:var(--es-muted);line-height:1.6}.auth-field [aria-invalid=true]{border-color:#9d3434}.auth-field-error{color:#9d3434;font-size:11px;line-height:1.5}.auth-password{position:relative}.auth-password input{padding-right:66px}.auth-password button{position:absolute;right:8px;top:3px;min-height:42px;background:transparent;color:var(--es-muted);font-size:11px;padding:8px}.auth-link{background:transparent;text-decoration:underline;text-underline-offset:4px;color:var(--es-muted);font-size:12px;min-height:44px;padding:9px 0}.auth-actions{display:grid;gap:8px;margin-top:24px}.auth-actions .auth-link{text-align:center}.auth-feedback{font-size:13px;line-height:1.6;margin-top:18px;padding:13px 15px;background:var(--es-ice);border-radius:10px;color:var(--es-accent)}.auth-feedback.is-error{color:#84342f;background:#f4e5df}.auth-choice-list{display:grid;gap:13px}.auth-choice{display:flex;align-items:flex-start;text-align:left;gap:17px;background:var(--es-white);border:1px solid var(--es-line);border-radius:16px;padding:21px;color:var(--es-ink);transition:transform .2s,border-color .2s,background .2s}.auth-choice:hover{transform:translateY(-2px);border-color:var(--es-accent)}.auth-choice[aria-pressed=true]{border-color:var(--es-accent);box-shadow:0 0 0 1px var(--es-accent);background:var(--es-ice)}.auth-choice-icon{width:39px;height:39px;display:grid;place-items:center;flex:none;background:var(--es-ice);border-radius:10px;font-size:23px;color:var(--es-accent)}.auth-choice-copy{flex:1;min-width:0}.auth-choice-copy small{font-size:9px;letter-spacing:.07em;text-transform:uppercase;color:var(--es-muted);display:block;margin-bottom:7px}.auth-choice-copy strong{display:block;font-size:17px;font-weight:600;line-height:1.25;letter-spacing:-.03em}.auth-choice-copy p{font-size:12px;line-height:1.65;color:var(--es-muted);margin-top:7px}.auth-choice-check{width:18px;height:18px;flex:none;border:1px solid var(--es-line);border-radius:50%;margin-top:3px;display:grid;place-items:center;font-size:11px}.auth-choice[aria-pressed=true] .auth-choice-check{background:var(--es-accent);color:var(--es-white);border-color:var(--es-accent)}.auth-choice[aria-pressed=true] .auth-choice-check:after{content:"✓"}.auth-chips{display:flex;flex-wrap:wrap;gap:10px}.auth-chip{border:1px solid var(--es-line);border-radius:11px;background:var(--es-white);color:var(--es-ink);padding:13px 17px;min-height:48px;font-size:13px;transition:background .2s,border-color .2s,transform .2s}.auth-chip:hover{border-color:var(--es-accent);transform:translateY(-1px)}.auth-chip[aria-pressed=true]{color:var(--es-white);background:var(--es-accent);border-color:var(--es-accent)}.auth-chip>span{opacity:.6;margin-right:9px}.auth-progress{display:flex;gap:8px;margin:0 0 28px;padding:0;list-style:none}.auth-progress li{flex:1;font-size:10px;color:var(--es-muted);padding-top:13px;position:relative}.auth-progress li:before{content:"";height:3px;border-radius:2px;background:var(--es-line);position:absolute;top:0;left:0;right:0;transition:background .3s}.auth-progress li.is-complete:before,.auth-progress li[aria-current=step]:before{background:var(--es-accent)}.auth-progress li[aria-current=step]{color:var(--es-accent);font-weight:600}.auth-question{font-size:14px;font-weight:500;line-height:1.6;margin:28px 0 13px}.auth-step fieldset{border:0;margin:0;padding:0;min-width:0}.auth-step legend{font-size:14px;line-height:1.6;font-weight:500;padding:0;margin-bottom:13px}.auth-success-icon{display:grid;place-items:center;width:64px;height:64px;background:var(--es-ice);color:var(--es-accent);font-size:29px;border-radius:50%;margin-bottom:28px}.auth-how{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:35px 0}.auth-how>div{position:relative}.auth-how-icon{background:var(--es-ice);color:var(--es-accent);height:61px;margin:0 6px 13px 0;border-radius:12px;display:grid;place-items:center;font-size:26px}.auth-how-icon:empty{visibility:hidden}.auth-how small{font-size:10px;color:var(--es-muted)}.auth-how strong{font-size:11px;display:block;margin-top:4px;font-weight:500}.auth-upload{border:1px dashed var(--es-line);padding:15px;border-radius:12px;background:var(--es-white)}.auth-upload input{border:0;padding:7px 0;min-height:38px;font-size:11px}.auth-upload input::file-selector-button{border:0;background:var(--es-ice);color:var(--es-accent);padding:9px 12px;border-radius:8px;margin-right:10px}.auth-drop-live{margin-top:26px}.auth-drop-live .auth-drop-card{transform:none;width:100%;margin:0}.auth-drop-live .auth-drop-photo{height:230px}.scene-preview-label{font-size:10px;letter-spacing:.1em;margin-bottom:17px;display:flex;align-items:center;gap:8px}.scene-preview-label i{width:5px;height:5px;border-radius:50%;background:var(--es-paper)}.auth-preview-description{font-size:12px;color:var(--es-muted);line-height:1.6;margin-top:13px;overflow-wrap:anywhere;white-space:pre-wrap}.scene-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.scene-mini-grid img{aspect-ratio:1.25;object-fit:cover;border-radius:12px}.scene-mini-grid span{font-size:10px;display:block;margin:7px 0}.auth-mobile-preview{display:none}.auth-step.is-compact h1{font-size:36px}.auth-step.is-compact .auth-lead{margin-bottom:22px}.auth-noscript{padding:20px;text-align:center}.auth-busy{cursor:wait}.auth-busy .auth-primary:after{content:"";position:absolute;right:20px;top:calc(50% - 7px);width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:auth-spin .7s linear infinite}.auth-inline-note{font-size:11px;color:var(--es-muted);margin-top:14px;line-height:1.6}.auth-location-card{border:1px solid var(--es-line);border-radius:14px;background:var(--es-white);padding:19px;margin:22px 0;display:flex;gap:14px;align-items:center}.auth-location-card>span{font-size:26px;color:var(--es-accent)}.auth-location-card strong{font-size:14px;display:block}.auth-location-card small{font-size:11px;color:var(--es-muted)}
.auth-layout:has(.is-compact) .auth-scene{position:sticky;top:24px;align-self:start;min-height:680px;height:calc(100dvh - 48px);max-height:900px}.auth-preview-description{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.auth-drop-copy h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.auth-preview-banner{flex-wrap:wrap}
.scene-consumer-product{padding-bottom:0}.scene-phone{width:255px;margin:auto;background:var(--es-paper);color:var(--es-ink);padding:14px 15px 12px;border:5px solid var(--es-ink);border-radius:30px;box-shadow:0 12px 35px #11131820;transform:rotate(-3deg);position:relative}.phone-status{display:flex;justify-content:space-between;font-size:8px;padding:0 4px 17px}.phone-header{display:flex;align-items:center;justify-content:space-between;gap:9px}.phone-header strong{font-size:16px;letter-spacing:-.06em}.phone-header>span{font-size:7px;color:var(--es-muted)}.phone-title{font-size:24px;font-weight:600;letter-spacing:-.055em;margin:17px 0 12px}.phone-chips{display:flex;gap:5px;margin-bottom:13px}.phone-chips span{border:1px solid var(--es-line);border-radius:20px;font-size:7px;padding:5px 10px}.phone-chips span:first-child{background:var(--es-accent);color:var(--es-white);border-color:var(--es-accent)}.phone-photo{position:relative}.phone-photo img{width:100%;height:130px;object-fit:cover;border-radius:12px}.phone-photo>span{position:absolute;left:9px;bottom:9px;background:var(--es-paper);color:var(--es-ink);padding:5px 8px;border-radius:6px;font-size:10px;font-weight:600}.phone-price{display:flex;align-items:center;justify-content:space-between;padding:9px 0 14px;color:var(--es-accent)}.phone-price strong{font-size:15px}.phone-price s{font-size:9px;font-weight:400;color:var(--es-muted);margin-left:3px}.phone-price>span{font-size:8px}.phone-more>span{font-size:10px;font-weight:500}.phone-more>div{display:flex;gap:8px;margin-top:8px}.phone-more img{width:calc(50% - 4px);height:50px;object-fit:cover;border-radius:8px}.phone-nav{display:flex;justify-content:space-around;gap:10px;border-top:1px solid var(--es-line);margin-top:13px;padding-top:8px;color:var(--es-accent)}.phone-nav>span{text-align:center;font-size:16px;line-height:1.2}.phone-nav small{display:block;font-size:6px;margin-top:3px}
@keyframes auth-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes auth-spin{to{transform:rotate(360deg)}}
@media(min-width:1500px){.auth-layout{max-height:900px}.auth-scene{padding:40px 48px}.scene-story{margin-top:65px}.auth-drop-photo{height:220px}}
@media(max-width:1050px){.auth-header,.auth-footer{padding-inline:28px}.auth-layout{padding-left:28px;gap:20px}.auth-workspace{padding-right:12px}.auth-scene{padding:25px;min-height:650px}.scene-story h2{font-size:42px}.scene-story{margin-top:44px}.scene-product{max-width:310px}.scene-note{margin-right:0}.auth-drop-photo{height:170px}.scene-top{font-size:8px}}
@media(max-width:760px){.auth-header{padding:17px 22px}.auth-header .es-logo{font-size:24px}.auth-home{font-size:11px}.auth-layout{display:block;padding:0 24px;max-width:550px}.auth-workspace{padding:37px 0 24px;max-width:none}.auth-step h1{font-size:42px}.auth-scene{display:none}.auth-kicker{margin-bottom:20px}.auth-lead{font-size:14px}.auth-footer{padding:20px 24px;max-width:550px;font-size:9px}.auth-footer>div{gap:16px}.auth-shared{margin-top:28px}.auth-choice{padding:20px 17px}.auth-choice-copy strong{font-size:17px}.auth-actions{position:sticky;bottom:0;background:var(--es-paper);padding:14px 0 max(14px,env(safe-area-inset-bottom));z-index:4;margin-top:20px}.auth-progress{margin-bottom:26px}.auth-step.is-compact h1{font-size:34px}.auth-mobile-preview{display:block;margin-top:22px}.auth-mobile-preview summary{font-size:13px;font-weight:500;min-height:44px;cursor:pointer}.auth-mobile-preview .auth-drop-card{max-width:380px;margin:12px auto}.auth-how{gap:9px}.auth-fields{gap:14px 10px}.auth-feedback{margin-bottom:20px}.auth-step.is-compact .auth-kicker{margin-bottom:15px}}
@media(max-width:360px){.auth-layout{padding-inline:18px}.auth-header{padding-inline:18px}.auth-step h1{font-size:36px}.auth-choice{gap:10px;padding:16px 12px}.auth-choice-icon{width:31px;height:31px}.auth-chip{padding:12px}.auth-fields{grid-template-columns:1fr}.auth-how strong{font-size:10px}.auth-footer{padding-inline:18px}}
@media(prefers-reduced-motion:reduce){.auth-page *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Keep the shared flow inside one viewport. Long setup forms scroll inside
   their own column so fields stay reachable on small screens and at zoom. */
html:has(.auth-page){height:100%;overflow:hidden}
.auth-page{--es-racing:#0B2B20;height:100dvh;min-height:0;overflow:hidden}
.auth-header{flex:none;margin:0 auto;padding-block:12px}
.auth-preview-banner{flex:none;margin-bottom:8px;padding-block:8px}
.auth-layout{flex:1 1 auto;min-height:0;height:auto;max-height:none;align-items:stretch}
.auth-workspace{align-self:stretch;display:flex;flex-direction:column;justify-content:safe center;min-height:0;max-height:100%;padding-block:12px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--es-line) transparent}
.auth-step,.auth-feedback{flex:none}
.auth-scene,.auth-layout:has(.is-compact) .auth-scene{background:var(--es-racing);position:relative;top:auto;align-self:stretch;height:100%;min-height:0;max-height:none}
.auth-footer{display:none}
@media(max-height:800px) and (min-width:761px){
  .auth-scene{padding:20px 28px}
  .scene-story{margin:22px 0 15px}
  .scene-story h2{font-size:clamp(32px,3.2vw,46px)}
  .scene-story>p{margin-top:10px}
  .scene-product{max-width:310px;padding-bottom:8px}
  .auth-drop-photo{height:145px}
  .auth-drop-copy{padding:14px}
  .auth-drop-copy h3{font-size:19px}
  .drop-price-row{margin-top:9px}
  .scene-note{padding:9px 12px}
  .scene-footer{margin-top:10px}
  .scene-phone{transform:scale(.86) rotate(-3deg);transform-origin:center top;margin-bottom:-60px}
  .auth-drop-live{margin-top:8px}
  .auth-drop-live .auth-drop-photo{height:155px}
}
@media(max-width:760px){
  .auth-header{padding:8px 20px}
  .auth-preview-banner{margin:0 20px 3px;padding:6px 10px}
  .auth-layout{width:100%;min-height:0;max-height:none;padding:0 20px}
  .auth-workspace{width:100%;padding:8px 0;overflow-y:auto}
  .auth-kicker{margin-bottom:9px}
  .auth-step h1{font-size:clamp(32px,9vw,42px);margin-bottom:9px}
  .auth-lead{margin-bottom:14px;line-height:1.4}
  .auth-tabs{margin-bottom:12px}
  .auth-tabs button{min-height:44px;padding:8px 0}
  .auth-providers{gap:8px}
  .auth-provider{min-height:46px}
  .auth-divider{margin:10px 0}
  .auth-primary{min-height:48px}
  .auth-legal{margin-top:9px;line-height:1.4}
  .auth-shared{margin-top:13px;padding-top:10px}
  .auth-preview-entry{margin-top:12px}
  .auth-actions{margin-top:14px;padding-block:8px}
  .auth-scene{display:none}
}
@media(max-width:760px) and (max-height:700px){
  .auth-header{padding-block:5px}
  .auth-preview-banner{font-size:10px}
  .auth-shared{display:none}
  .auth-step h1{font-size:clamp(30px,8vw,38px)}
}
