:root{
  --acct-t:#18c8c9;--acct-t2:#087f84;--acct-n:#14385b;--acct-d:#0d2743;--acct-m:#647b8f;
  --acct-line:rgba(13,39,67,.16);--acct-paper:#fbfcfa;--acct-soft:#f3f8f8;--acct-yellow:#f3c332;
  --acct-danger:#9a3140;--acct-ok:#12886f;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body.account-page{margin:0;color:var(--acct-d);font-family:Inter,Arial,Helvetica,sans-serif;background:#f4f7f6}

/* Auth routes: same visual language as the early-access modal */
body.account-modal-page{min-height:100dvh;overflow:hidden}
.account-modal-backdrop{position:fixed;z-index:200;inset:0;display:grid;align-items:end;background:rgba(6,24,41,.58);backdrop-filter:none;-webkit-backdrop-filter:none}
.account-dialog{position:relative;width:100%;max-width:100%;max-height:min(92dvh,980px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:34px max(18px,env(safe-area-inset-right)) calc(26px + env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));background:var(--acct-paper);border-radius:28px 28px 0 0;box-shadow:0 -18px 42px rgba(13,39,67,.18);contain:layout paint}
.account-dialog::before{content:"";position:absolute;top:10px;left:50%;width:42px;height:4px;border-radius:99px;background:rgba(13,39,67,.16);transform:translateX(-50%)}
.account-modal-tools{position:sticky;top:0;z-index:4;float:right;display:flex;align-items:center;gap:8px;margin-left:16px}
.account-modal-close,.account-modal-lang{width:42px;height:42px;display:grid;place-items:center;border:1px solid rgba(13,39,67,.13);border-radius:50%;background:rgba(251,252,250,.96);box-shadow:0 4px 18px rgba(13,39,67,.06);color:var(--acct-d);text-decoration:none}
.account-modal-close{font:400 27px/1 Inter,Arial,sans-serif}
.account-modal-lang img{width:21px;height:15px;object-fit:cover;border-radius:2px}
.account-modal-close:focus-visible,.account-modal-lang:focus-visible{outline:3px solid rgba(24,200,201,.24);outline-offset:2px}

.account-head{clear:both;padding:4px 0 0;border:0}
.account-kicker{display:block;margin-bottom:12px;color:var(--acct-t2);font:850 10px/1.3 Sora,Inter,sans-serif;letter-spacing:.15em;text-transform:uppercase}
.account-title{margin:0;color:var(--acct-d);font:750 clamp(30px,8.3vw,42px)/.98 Sora,Inter,sans-serif;letter-spacing:-.055em;text-wrap:balance}
.account-lead{max-width:650px;margin:14px 0 0;color:#58728a;font-size:14px;line-height:1.65}
.account-body{padding:24px 0 0}

/* Forms */
.account-form{display:grid;gap:16px}
.account-form.compact{gap:16px}
.account-grid{display:grid;grid-template-columns:1fr;gap:14px}
.account-field{display:grid;gap:8px;min-width:0;align-content:start}
.account-field label,.account-label{color:var(--acct-d);font-size:12px;font-weight:800;line-height:1.3}
.account-label-optional,.account-optional{margin-left:5px;color:#8495a4;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.account-input-wrap{position:relative;min-width:0}
.account-input{width:100%;min-width:0;height:54px;padding:0 15px;border:1px solid rgba(13,39,67,.18);border-radius:0;background:#fff;color:var(--acct-d);font:500 16px/1.3 Inter,Arial,sans-serif;outline:none;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
.account-input:hover{border-color:rgba(13,39,67,.28)}
.account-input:focus{border-color:var(--acct-t2);box-shadow:0 0 0 3px rgba(24,200,201,.11)}
.account-input[aria-invalid="true"]{border-color:rgba(154,49,64,.55);box-shadow:0 0 0 3px rgba(154,49,64,.08)}
.account-input.has-toggle{padding-right:82px}
.account-select{appearance:auto}
.account-toggle{position:absolute;right:5px;top:5px;bottom:5px;width:68px;padding:0 8px;border:0;border-radius:0;background:#eef3f2;color:var(--acct-n);font:800 10px/1 Inter,sans-serif;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;text-align:center}
.account-help{min-height:16px;margin:0;color:#6f8496;font-size:10.5px;line-height:1.5}
.account-error{min-height:0;margin:0;color:var(--acct-danger);font-size:11px;line-height:1.45}
.account-error:empty{display:none}
.account-grid.two>.account-field>.account-error{min-height:16px}

/* Townie / business selector: deliberately mirrors early-access segmented control */
.account-choice-fieldset{min-width:0;margin:4px 0 2px;padding:18px 0 16px;border:0;border-top:1px solid rgba(13,39,67,.12);border-bottom:1px solid rgba(13,39,67,.12)}
.account-choice-fieldset>.account-label{display:block;margin-bottom:13px;font-size:13px}
.account-type-switch{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0;border:0;background:transparent}
.account-type-option{position:relative;display:block;min-width:0;cursor:pointer}
.account-type-option input{position:absolute;opacity:0;pointer-events:none}
.account-type-option>span{min-height:92px;padding:15px 16px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:7px;text-align:left;color:#61788d;background:#fff;border:1px solid rgba(13,39,67,.18);border-radius:16px;transition:background .18s ease,color .18s ease,box-shadow .18s ease,border-color .18s ease,transform .18s ease}
.account-type-option:hover>span{border-color:rgba(13,39,67,.30);transform:translateY(-1px)}
.account-type-option strong{font:800 13px/1.25 Sora,Inter,sans-serif;color:var(--acct-d)}
.account-type-option small{font-size:10.5px;line-height:1.45;color:#657d91}
.account-type-option input:checked+span{background:#fff9dd;color:var(--acct-d);border-color:var(--acct-yellow);box-shadow:0 0 0 3px rgba(243,195,50,.16)}
.account-type-option input:checked+span strong::before{content:"✓";display:inline-grid;place-items:center;width:20px;height:20px;margin-right:8px;border-radius:50%;background:var(--acct-yellow);color:var(--acct-d);font:900 11px/1 Inter,sans-serif;vertical-align:1px}
.account-type-option input:focus-visible+span{outline:3px solid rgba(24,200,201,.24);outline-offset:2px}
.account-type-note{margin:10px 0 0;color:#728797;font-size:10.5px;line-height:1.5}

.account-consents{display:grid;gap:10px;padding-top:2px}
.account-check{position:relative;display:grid;grid-template-columns:22px minmax(0,1fr);gap:10px;align-items:start;color:#587187;font-size:11.5px;line-height:1.55;cursor:pointer}
.account-check input{width:18px;height:18px;margin:0;accent-color:var(--acct-t2);cursor:pointer}
.account-check a{color:var(--acct-t2);font-weight:800;text-decoration:underline;text-underline-offset:2px}
.account-check:last-of-type{padding-top:11px;border-top:1px solid rgba(13,39,67,.09)}
.account-actions{display:grid;gap:10px;margin-top:1px}
.account-primary{width:100%;min-height:56px;padding:0 22px;border:0;border-radius:18px;background:var(--acct-t);color:var(--acct-d);font:850 13px/1 Sora,Inter,sans-serif;cursor:pointer;box-shadow:0 12px 26px rgba(24,200,201,.16);transition:transform .15s ease,filter .15s ease}
.account-primary:hover{filter:brightness(.99);transform:translateY(-1px)}
.account-primary:active{transform:none}
.account-primary:disabled{cursor:wait;opacity:.68;transform:none}
.account-notice{margin:0;padding:13px 14px;border-left:4px solid var(--acct-t);background:var(--acct-soft);color:#667d90;font-size:11px;line-height:1.6}
.account-alert{margin:0 0 18px;padding:12px 13px;border:1px solid rgba(154,49,64,.18);background:#fff0f2;color:var(--acct-danger);font-size:11.5px;line-height:1.5}
.account-meta{margin-top:20px;padding-top:17px;border-top:1px solid rgba(13,39,67,.10);color:#8294a3;font-size:10px;line-height:1.55}

/* Success / state */
.account-success{display:grid;gap:16px}
.account-success-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.account-status-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:var(--acct-yellow);color:var(--acct-d);font-size:21px;font-weight:900;flex:0 0 auto}
.account-badge{display:inline-flex;align-items:center;gap:7px;margin:0;padding:8px 11px;border-radius:999px;background:#eef7f6;color:var(--acct-t2);font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.account-badge::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--acct-t)}
.account-badge.is-error{background:#fff2f4;color:var(--acct-danger)}
.account-badge.is-error::before{background:#c65767}
.account-badge.is-success{background:#edf9f5;color:var(--acct-ok)}
.account-badge.is-success::before{background:#3bcba8}
.account-success-copy{display:grid;gap:12px}
.account-success h2{margin:0;color:var(--acct-d);font:750 clamp(25px,5vw,34px)/1.05 Sora,Inter,sans-serif;letter-spacing:-.04em}
.account-success p{margin:0;color:#60788d;font-size:13px;line-height:1.65}
.account-secondary-link,.account-danger-link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;width:max-content;max-width:100%;padding:0 17px;border:1px solid var(--acct-line);border-radius:0;background:#fff;color:var(--acct-d);font:800 11px/1 Sora,Inter,sans-serif;text-decoration:none}
.account-danger-link{color:var(--acct-danger);border-color:rgba(154,49,64,.22);cursor:pointer}
.account-inline-links{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;margin-top:1px}
.account-inline-links a{color:var(--acct-t2);font-size:11px;font-weight:800;text-decoration:underline;text-underline-offset:3px}
.account-success-actions{display:flex;flex-wrap:wrap;gap:10px}
.account-hidden{display:none!important}

/* Signed-in account page remains a normal page, not a modal */
.account-main{width:100%;max-width:1180px;margin:0 auto;padding:clamp(28px,5vw,68px) clamp(16px,4vw,28px) clamp(70px,8vw,110px)}
.account-shell{width:min(100%,820px);margin:0 auto}
.account-card{overflow:hidden;border:1px solid var(--acct-line);border-radius:28px;background:#fff;box-shadow:0 24px 70px rgba(13,39,67,.10)}
.account-card::before{content:"";display:block;height:7px;background:linear-gradient(90deg,var(--acct-t) 0 74%,var(--acct-yellow) 74%)}
.account-card .account-head{padding:clamp(26px,5vw,48px);padding-bottom:26px;border-bottom:1px solid rgba(13,39,67,.09)}
.account-card .account-body{padding:clamp(24px,5vw,48px)}
.account-user-card{display:grid;gap:14px;padding:18px;border:1px solid rgba(24,200,201,.28);border-radius:18px;background:#f4fbfb}
.account-user-row{display:grid;gap:4px}
.account-user-row span{color:#73889a;font-size:10px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
.account-user-row strong{color:var(--acct-d);font-size:14px;word-break:break-word}
.account-profile-note{margin:0;padding:13px 15px;border-radius:14px;background:#f5f8f8;color:#6f8496;font-size:10.5px;line-height:1.55}
.account-mini-note{margin:0;color:#7d91a1;font-size:10px;line-height:1.55}
.account-logout-form{margin:0}

@media(min-width:700px){
  .account-modal-backdrop{align-items:center;justify-items:center;padding:24px max(24px,env(safe-area-inset-right)) 24px max(24px,env(safe-area-inset-left))}
  .account-dialog{width:min(800px,92vw);max-height:min(88dvh,920px);padding:38px;border:1px solid var(--acct-d);border-radius:18px;box-shadow:0 22px 52px rgba(13,39,67,.19)}
  .account-dialog::before{display:none}
  .account-title{font-size:42px}
  .account-lead{font-size:15px}
  .account-grid.two,.account-grid-profile{grid-template-columns:1fr 1fr;align-items:start}
}
@media(min-width:1100px){.account-dialog{padding:40px 42px}}
@media(max-width:760px){.account-grid.two,.account-grid-profile{grid-template-columns:1fr}}
@media(max-width:520px){
  .account-dialog{padding-left:18px;padding-right:18px}
  .account-title{font-size:34px}
  .account-lead{font-size:13.5px}
  .account-modal-tools{gap:6px}
  .account-modal-close,.account-modal-lang{width:40px;height:40px}
  .account-type-option>span{min-height:82px;padding:13px 14px}
  .account-type-option strong{font-size:12px}
  .account-secondary-link,.account-danger-link{width:100%}
  .account-inline-links,.account-success-actions{display:grid;gap:12px}
  .account-user-card{padding:16px}
}
@media(max-width:359px){
  .account-dialog{padding-left:16px;padding-right:16px}
  .account-type-switch{grid-template-columns:1fr}
  
}
@media(prefers-reduced-motion:reduce){.account-primary,.account-input,.account-type-option>span{transition:none}}
.account-card .account-title{font-size:clamp(32px,6vw,52px);line-height:1.02}
.account-card .account-lead{font-size:15px;line-height:1.72;margin-top:16px}

/* Unified Betownie form system — account, auth and Business */
.account-form,.business-application-form,.business-admin-actions{--form-control-h:54px}
.account-field label,.account-label{font:800 12px/1.3 Inter,Arial,sans-serif;color:var(--acct-d)}
.account-input,.account-select{height:var(--form-control-h);min-height:var(--form-control-h);border:1px solid rgba(13,39,67,.20);border-radius:0;background:#fff;color:var(--acct-d);box-shadow:none}
.account-input::placeholder{color:#7a8fa1;opacity:1}
.account-input:focus,.account-select:focus{border-color:var(--acct-t2);box-shadow:0 0 0 3px rgba(24,200,201,.11)}
.account-toggle{border-radius:0;background:#eef3f2}
.account-help,.account-mini-note{color:#718596}
.account-notice{border-radius:0;background:#f3f8f8}
.account-alert{border-radius:0}
.account-check input{accent-color:var(--acct-t2)}
.account-primary{border-radius:18px;background:var(--acct-t);box-shadow:0 12px 26px rgba(24,200,201,.16)}
.account-secondary-link,.account-danger-link{border-radius:0}
@media(max-width:520px){
  .account-form,.business-application-form,.business-admin-actions{gap:15px}
  .account-input,.account-select{height:54px;min-height:54px;font-size:16px}
  .account-primary{min-height:56px}
}

@media(max-width:620px){.account-type-switch{grid-template-columns:1fr}.account-type-option>span{min-height:82px}}

/* vBusiness2 · signed-in account experience */
.account-dashboard-page .account-shell{width:min(100%,1040px)}
.account-dashboard-page .account-card .account-body{padding:clamp(20px,4vw,38px)}
.account-dashboard{display:grid;gap:16px}
.account-dashboard-feedback{padding:13px 15px;border:1px solid rgba(13,39,67,.10);border-radius:14px;font-size:11.5px;line-height:1.55}
.account-dashboard-feedback.is-success{background:#edf9f5;border-color:rgba(23,124,104,.18);color:#177c68}
.account-dashboard-feedback.is-info{background:#f1f9fa;border-color:rgba(24,200,201,.24);color:#087f84}
.account-dashboard-feedback.is-error{background:#fff2f4;border-color:rgba(154,49,64,.18);color:#9a3140}
.account-dashboard-hero{display:grid;gap:18px;padding:20px;border:1px solid rgba(24,200,201,.28);border-radius:20px;background:linear-gradient(145deg,#f4fbfb 0%,#fff 72%)}
.account-dashboard-hero.is-business{border-color:rgba(24,200,201,.38);box-shadow:inset 5px 0 0 #18c8c9}
.account-dashboard-hero.is-townie{border-color:rgba(243,195,50,.42);box-shadow:inset 5px 0 0 #f3c332}
.account-dashboard-identity{display:flex;align-items:center;gap:12px;min-width:0}
.account-dashboard-identity h2{margin:7px 0 0;color:var(--acct-d);font:750 clamp(22px,5vw,30px)/1.08 Sora,Inter,sans-serif;letter-spacing:-.04em}
.account-dashboard-summary{display:grid;grid-template-columns:1fr;gap:1px;overflow:hidden;border:1px solid rgba(13,39,67,.09);border-radius:16px;background:rgba(13,39,67,.09)}
.account-dashboard-summary>div{min-width:0;padding:13px 14px;background:#fff}
.account-dashboard-summary span,.account-business-metrics span,.account-security-grid span{display:block;color:#7b8fa0;font-size:8.5px;font-weight:850;letter-spacing:.07em;text-transform:uppercase}
.account-dashboard-summary strong{display:block;margin-top:5px;color:var(--acct-d);font-size:12.5px;line-height:1.4;overflow-wrap:anywhere}
.account-dashboard-panel{min-width:0;padding:20px;border:1px solid rgba(13,39,67,.12);border-radius:20px;background:#fff;box-shadow:0 10px 28px rgba(13,39,67,.04)}
.account-business-access{background:linear-gradient(135deg,#0d2743 0%,#14385b 100%);border-color:#0d2743;color:#fff}
.account-panel-head{display:grid;gap:14px;align-items:start}
.account-panel-kicker{display:block;margin-bottom:7px;color:var(--acct-t2);font:850 8.5px/1.2 Sora,Inter,sans-serif;letter-spacing:.14em;text-transform:uppercase}
.account-business-access .account-panel-kicker{color:#72e4e2}
.account-panel-head h2{margin:0;color:var(--acct-d);font:750 clamp(21px,4.5vw,27px)/1.08 Sora,Inter,sans-serif;letter-spacing:-.035em}
.account-business-access .account-panel-head h2{color:#fff}
.account-panel-head p{max-width:680px;margin:7px 0 0;color:#6d8294;font-size:11.5px;line-height:1.6}
.account-business-access .account-panel-head p{color:rgba(255,255,255,.72)}
.account-panel-cta{width:100%;min-height:50px;margin:0;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;box-shadow:none}
.account-business-metrics{display:grid;grid-template-columns:1fr;gap:8px;margin-top:18px}
.account-business-metrics>div{padding:13px 14px;border:1px solid rgba(255,255,255,.13);border-radius:14px;background:rgba(255,255,255,.06)}
.account-business-metrics span{color:rgba(255,255,255,.56)}
.account-business-metrics strong{display:block;margin-top:6px;color:#fff;font:750 17px/1.1 Sora,Inter,sans-serif}
.account-dashboard-columns{display:grid;grid-template-columns:1fr;gap:16px}
.account-profile-form{margin-top:18px}
.account-profile-form .account-actions{margin-top:4px}
.account-save-profile{width:100%}
.account-input-readonly{background:#f4f7f7;color:#6e8292;cursor:not-allowed}
.account-security-grid{display:grid;grid-template-columns:1fr;gap:8px;margin-top:18px}
.account-security-grid>div{padding:13px 14px;border:1px solid rgba(13,39,67,.09);border-radius:14px;background:#f8faf9}
.account-security-grid strong{display:block;margin-top:6px;color:var(--acct-d);font-size:12px;line-height:1.35;overflow-wrap:anywhere}
.account-security-grid small{display:block;margin-top:4px;color:#7b8fa0;font-size:9.5px;line-height:1.4}
.account-password-link{margin-top:14px;width:100%;border-radius:14px}
.account-recent-access{margin-top:18px;padding-top:17px;border-top:1px solid rgba(13,39,67,.09)}
.account-recent-access h3{margin:0 0 10px;color:var(--acct-d);font:750 13px/1.2 Sora,Inter,sans-serif}
.account-access-list{display:grid;border:1px solid rgba(13,39,67,.09);border-radius:14px;overflow:hidden}
.account-access-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:11px 12px;background:#fff;border-bottom:1px solid rgba(13,39,67,.08);align-items:center}
.account-access-list>div:last-child{border-bottom:0}
.account-access-list span{min-width:0;color:var(--acct-d);font-size:10.5px;font-weight:750}
.account-access-list time{color:#7c90a0;font-size:9.5px;white-space:nowrap}
.account-townie-separation{background:#fffdf5;border-color:rgba(243,195,50,.34)}
@media(min-width:620px){
  .account-dashboard-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .account-business-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
  .account-security-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .account-panel-head{grid-template-columns:minmax(0,1fr) auto;gap:20px}
  .account-panel-cta{width:auto;min-width:210px;align-self:center}
  .account-save-profile{width:max-content;min-width:180px}
}
@media(min-width:900px){
  .account-dashboard-columns{grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);align-items:start}
  .account-dashboard-hero{grid-template-columns:minmax(220px,.72fr) minmax(0,1.28fr);align-items:center}
  .account-security-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:520px){
  .account-dashboard-page .account-card{border-radius:22px}
  .account-dashboard-page .account-card .account-head{padding:25px 20px 20px}
  .account-dashboard-page .account-card .account-body{padding:18px 14px 24px}
  .account-dashboard-hero,.account-dashboard-panel{padding:17px 15px;border-radius:17px}
  .account-dashboard-identity{align-items:flex-start}
  .account-access-list>div{grid-template-columns:1fr;gap:4px}
  .account-access-list time{white-space:normal}
}

/* v2026-09-24 · form UX polish */
.account-form-intro{display:flex;align-items:flex-start;gap:9px;margin:-2px 0 2px;padding:11px 13px;border:1px solid rgba(24,200,201,.16);background:#f5fbfb;color:#60788d}
.account-form-intro p{margin:0;font-size:11px;line-height:1.55}
.account-form-dot{flex:0 0 auto;width:8px;height:8px;margin-top:4px;border-radius:50%;background:var(--acct-t)}
.account-alert-stack{display:grid;gap:5px}
.account-alert-stack strong{color:inherit;font-size:12px}
.account-alert-stack span{color:#7b5860;font-size:10.5px;line-height:1.55}
.account-field.has-error .account-input,.account-choice-fieldset.has-error .account-type-switch{border-color:rgba(154,49,64,.55)!important;box-shadow:0 0 0 3px rgba(154,49,64,.07)}
.account-field.has-error label{color:#9a3140}
.account-error:not(:empty){display:block;margin-top:1px;padding-left:1px;color:#a0394a;font-weight:700}
.account-eye-toggle{right:7px;top:7px;bottom:7px;width:44px;min-width:44px;padding:0;border:1px solid rgba(13,39,67,.08)!important;border-radius:12px!important;background:#f4f8f7!important;color:#0d2743!important}
.account-eye-toggle svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.account-eye-toggle:hover{background:#eaf5f4!important;border-color:rgba(24,200,201,.28)!important}
.account-eye-toggle.is-visible{background:#e5f8f7!important;color:#087f84!important}
.account-eye-toggle.is-visible svg circle{fill:rgba(24,200,201,.16)}
.account-input.has-toggle{padding-right:62px}
.account-password-status{min-height:20px;display:flex;flex-wrap:wrap;gap:8px;color:#8295a5;font-size:10.5px;line-height:1.4}
.account-password-status span{display:inline-flex;align-items:center;gap:6px}
.account-password-status i{display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#eef2f2;color:#93a2af;font-style:normal;font-size:9px;font-weight:900}
.account-password-status span.is-ok{color:#177f69;font-weight:700}
.account-password-status span.is-ok i{background:#e6f8f1;color:#168b70}
.account-primary.is-loading{position:relative;cursor:wait;opacity:.76}
.account-primary.is-loading::before{content:"";display:inline-block;width:15px;height:15px;margin-right:9px;border:2px solid rgba(13,39,67,.25);border-top-color:#0d2743;border-radius:50%;animation:btwFormSpin .7s linear infinite;vertical-align:-2px}
@keyframes btwFormSpin{to{transform:rotate(360deg)}}
@media(max-width:620px){.account-form-intro{padding:10px 11px}.account-eye-toggle{width:42px;min-width:42px}}
@media(prefers-reduced-motion:reduce){.account-primary.is-loading::before{animation:none}}

/* Modal performance */
.account-modal-backdrop{will-change:auto!important}
.account-dialog{transform:translateZ(0);backface-visibility:hidden}

/* Espacios guardados · solo Cuenta Townie */
.account-saved-places{display:grid;gap:16px}
.account-saved-head{align-items:flex-start}.account-saved-count{display:inline-flex;align-items:center;gap:5px;min-height:34px;padding:0 11px;border:1px solid rgba(24,200,201,.22);border-radius:999px;background:#f1fafa;color:#587185;font-size:9.5px;font-weight:800;white-space:nowrap}.account-saved-count strong{color:var(--acct-d);font-size:12px}
.account-saved-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.account-saved-card{position:relative;min-width:0;overflow:hidden;border:1px solid rgba(13,39,67,.10);border-radius:17px;background:#fff;box-shadow:0 8px 20px rgba(13,39,67,.04)}
.account-saved-link{display:grid;grid-template-columns:112px minmax(0,1fr);min-height:94px;color:inherit;text-decoration:none}
.account-saved-visual{min-height:94px;display:grid;place-items:center;background:linear-gradient(135deg,#eef6f4,#f6eab6);color:#78909c;font:850 9px/1 Sora,Inter,sans-serif;letter-spacing:.12em;overflow:hidden}.account-saved-visual img{width:100%;height:100%;object-fit:cover;display:block}
.account-saved-copy{display:grid;align-content:center;gap:6px;min-width:0;padding:14px 52px 14px 14px}.account-saved-copy strong{color:var(--acct-d);font:750 15px/1.18 Sora,Inter,sans-serif;letter-spacing:-.025em;overflow-wrap:anywhere}.account-saved-copy span{color:#718798;font-size:10.5px;line-height:1.4;overflow-wrap:anywhere}
.account-saved-favorite{position:absolute;top:50%;right:11px;transform:translateY(-50%);display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid rgba(24,200,201,.35);border-radius:999px;background:#eafafa;color:#087f84;cursor:pointer}.account-saved-favorite svg{width:19px;height:19px}.account-saved-favorite svg path{fill:currentColor;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}.account-saved-favorite [data-favorite-label]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.account-saved-favorite.is-loading{opacity:.58;cursor:wait}.account-saved-favorite:focus-visible{outline:3px solid rgba(24,200,201,.24);outline-offset:2px}
.account-saved-empty{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px;border:1px dashed rgba(13,39,67,.16);border-radius:15px;background:#fbfdfd}
.account-saved-empty[hidden]{display:none!important}.account-saved-empty p{margin:0;color:#6e8496;font-size:11px;line-height:1.5}.account-saved-empty a{flex:0 0 auto;color:var(--acct-d);font:800 10px/1 Sora,Inter,sans-serif;text-decoration:none}
@media(max-width:760px){.account-saved-grid{grid-template-columns:1fr}.account-saved-head{display:grid;gap:12px}.account-saved-count{justify-self:start}}
@media(max-width:420px){.account-saved-link{grid-template-columns:92px minmax(0,1fr)}.account-saved-copy{padding-left:12px}.account-saved-empty{align-items:flex-start;flex-direction:column}}


/* Townie dashboard v2 · product-first personal area */
.account-townie-overview{grid-template-columns:minmax(0,1.15fr) minmax(270px,.85fr)!important;align-items:stretch!important;padding:24px!important;background:linear-gradient(145deg,#f4fbfb 0%,#fff 68%)!important;border-color:rgba(24,200,201,.28)!important;box-shadow:inset 5px 0 0 #18c8c9!important}
.account-townie-overview-main{display:grid;align-content:center;justify-items:start;gap:10px;min-width:0}
.account-townie-eyebrow{margin-top:2px;color:#008b90;font:900 9px/1.2 Sora,Inter,sans-serif;letter-spacing:.14em;text-transform:uppercase}
.account-townie-overview-main h2{margin:0;color:var(--acct-d);font:760 clamp(27px,4.6vw,38px)/1.02 Sora,Inter,sans-serif;letter-spacing:-.045em;overflow-wrap:anywhere}
.account-townie-overview-main p{max-width:570px;margin:0;color:#667f91;font-size:12px;line-height:1.65}
.account-townie-quick-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:5px}
.account-townie-quick-actions .account-primary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;text-decoration:none}
.account-townie-quick-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 15px;border:1px solid rgba(13,39,67,.12);border-radius:13px;background:#fff;color:var(--acct-d);font:800 10.5px/1 Sora,Inter,sans-serif;text-decoration:none}
.account-townie-metrics{display:grid;grid-template-columns:1fr;gap:1px;overflow:hidden;border:1px solid rgba(13,39,67,.09);border-radius:17px;background:rgba(13,39,67,.09)}
.account-townie-metrics>div{display:grid;align-content:center;min-height:74px;padding:13px 15px;background:#fff}
.account-townie-metrics span{color:#7b8fa0;font-size:8.5px;font-weight:850;letter-spacing:.07em;text-transform:uppercase}
.account-townie-metrics strong{display:block;margin-top:5px;color:var(--acct-d);font:750 14px/1.3 Sora,Inter,sans-serif;overflow-wrap:anywhere}
.account-townie-metrics>div.account-townie-metric-zone{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}
.account-townie-metric-zone>div{min-width:0}
.account-townie-metric-change{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 11px;border:1px solid rgba(24,200,201,.24);border-radius:999px;background:#eefafa;color:#007f84;font:850 9px/1 Sora,Inter,sans-serif;text-decoration:none;white-space:nowrap}
.account-townie-metric-change:hover{border-color:rgba(24,200,201,.5);background:#e5f8f8}
.account-townie-note{display:flex;align-items:center;gap:10px;padding:11px 14px;border:1px solid rgba(243,195,50,.30);border-radius:14px;background:#fffdf5;color:#667f91;font-size:10.5px;line-height:1.5}
.account-townie-note strong{flex:0 0 auto;color:#9b7900;font:900 9px/1 Sora,Inter,sans-serif;letter-spacing:.11em;text-transform:uppercase}
.account-saved-places{padding:22px!important;background:linear-gradient(180deg,#fff 0%,#fbfefe 100%)}
.account-saved-head-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:9px}
.account-saved-head-actions>a{display:inline-flex;align-items:center;min-height:34px;padding:0 4px;color:var(--acct-d);font:800 10px/1 Sora,Inter,sans-serif;text-decoration:none}
.account-saved-copy small{color:#008b90;font:850 8px/1.2 Sora,Inter,sans-serif;letter-spacing:.09em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-settings-heading{padding:10px 2px 0}
.account-settings-heading>span{color:#008b90;font:900 9px/1.2 Sora,Inter,sans-serif;letter-spacing:.14em;text-transform:uppercase}
.account-settings-heading h2{margin:6px 0 0;color:var(--acct-d);font:760 clamp(24px,4.4vw,31px)/1.06 Sora,Inter,sans-serif;letter-spacing:-.04em}
.account-settings-heading p{margin:7px 0 0;color:#718697;font-size:11.5px;line-height:1.55}
@media(max-width:899px){
  .account-townie-overview{grid-template-columns:1fr!important}
  .account-townie-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
  .account-townie-metrics>div{min-height:68px}
}
@media(max-width:620px){
  .account-townie-overview{padding:18px 16px!important}
  .account-townie-metrics{grid-template-columns:1fr}
  .account-townie-metrics>div{min-height:0;padding:12px 13px}
  .account-townie-metrics>div.account-townie-metric-zone{grid-template-columns:minmax(0,1fr) auto}
  .account-townie-quick-actions{display:grid;width:100%;grid-template-columns:1fr 1fr}
  .account-townie-quick-actions>a{width:100%}
  .account-townie-note{align-items:flex-start;flex-direction:column;gap:6px}
  .account-saved-places{padding:18px 15px!important}
  .account-saved-head-actions{justify-content:flex-start}
}
@media(max-width:390px){
  .account-townie-quick-actions{grid-template-columns:1fr}
}

/* Townie Pass · credencial personal */
.account-townie-pass-panel{display:grid;gap:17px;padding:22px!important;background:linear-gradient(180deg,#fff 0%,#fbfefe 100%)}
.account-townie-pass-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.account-townie-pass-heading h2{margin:0;color:var(--acct-d);font:760 clamp(22px,4.5vw,28px)/1.08 Sora,Inter,sans-serif;letter-spacing:-.035em}
.account-townie-pass-heading p{max-width:600px;margin:7px 0 0;color:#6d8294;font-size:11.5px;line-height:1.6}
.account-townie-pass-status{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;min-height:34px;padding:0 11px;border:1px solid rgba(59,203,168,.25);border-radius:999px;background:#edf9f5;color:#177c68;font:900 8.5px/1 Sora,Inter,sans-serif;letter-spacing:.08em}
.account-townie-pass-status i{width:7px;height:7px;border-radius:50%;background:#3bcba8}
.account-townie-pass-card{position:relative;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(260px,.92fr);min-height:200px;overflow:hidden;border-radius:22px;background:linear-gradient(135deg,#0d2743 0%,#14385b 100%);color:#fff;box-shadow:0 15px 34px rgba(13,39,67,.12)}
.account-townie-pass-card::after{content:"";position:absolute;right:-78px;bottom:-128px;width:250px;height:250px;border:35px solid rgba(243,195,50,.96);border-radius:50%;pointer-events:none}
.account-townie-pass-member,.account-townie-pass-codebox{position:relative;z-index:1;min-width:0;padding:24px 26px}
.account-townie-pass-member{display:grid;align-content:space-between;gap:24px;border-right:1px solid rgba(255,255,255,.12)}
.account-townie-pass-brand{color:#66e0df;font:900 9px/1.2 Sora,Inter,sans-serif;letter-spacing:.18em}
.account-townie-pass-member>strong{align-self:center;color:#fff;font:760 clamp(24px,4vw,34px)/1.04 Sora,Inter,sans-serif;letter-spacing:-.04em;overflow-wrap:anywhere}
.account-townie-pass-member>div{display:grid;gap:5px}
.account-townie-pass-member small,.account-townie-pass-codebox>span{color:rgba(255,255,255,.58);font:850 8.5px/1.2 Sora,Inter,sans-serif;letter-spacing:.11em;text-transform:uppercase}
.account-townie-pass-member b{color:#fff;font:800 14px/1.2 Sora,Inter,sans-serif;letter-spacing:.08em}
.account-townie-pass-codebox{display:grid;align-content:center;justify-items:start;gap:9px;padding-right:34px}
.account-townie-pass-codebox>strong{color:#fff;font:780 clamp(34px,7vw,48px)/.95 Sora,Inter,sans-serif;letter-spacing:.08em;white-space:nowrap}
.account-townie-pass-codebox>small{color:rgba(255,255,255,.70);font-size:10.5px;line-height:1.4}
.account-townie-pass-progress{width:min(100%,230px);height:4px;margin-top:3px;overflow:hidden;border-radius:99px;background:rgba(255,255,255,.15)}
.account-townie-pass-progress i{display:block;height:100%;border-radius:inherit;background:var(--acct-t);transition:width .3s linear}
.account-townie-pass-panel.is-unavailable .account-townie-pass-codebox>strong{opacity:.55}
@media(max-width:720px){
  .account-townie-pass-card{grid-template-columns:1fr;min-height:0}
  .account-townie-pass-member{min-height:164px;border-right:0;border-bottom:1px solid rgba(255,255,255,.12)}
  .account-townie-pass-codebox{min-height:150px}
}
@media(max-width:520px){
  .account-townie-pass-panel{padding:17px 15px!important}
  .account-townie-pass-heading{display:grid;gap:10px}
  .account-townie-pass-status{justify-self:start}
  .account-townie-pass-member,.account-townie-pass-codebox{padding:20px}
  .account-townie-pass-card::after{right:-105px;bottom:-142px}
  .account-townie-pass-codebox>strong{font-size:38px}
}
@media(prefers-reduced-motion:reduce){.account-townie-pass-progress i{transition:none}}
