.account-page header{display:flex;justify-content:space-between;gap:1rem;padding:1.5rem;flex-wrap:wrap}.account-page main{max-width:64rem;margin:auto;padding:1.5rem}.account-page section{padding:1.5rem 0;border-top:1px solid var(--line)}.account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem}.account-page form{display:grid;gap:1rem;max-width:32rem;margin:1rem 0}.account-page label{display:grid;gap:.5rem}.account-page input{width:100%;min-width:0;padding:.75rem;border:1px solid var(--ink-soft);border-radius:.5rem;background:var(--white);color:var(--ink)}.account-page button{padding:.75rem 1rem;border:1px solid var(--forest);border-radius:.5rem;background:var(--forest);color:var(--white);cursor:pointer;min-height:44px;margin:.25rem 0}.account-page button[aria-pressed=false]{background:transparent;color:var(--forest)}.account-page button:disabled{opacity:.6;cursor:wait}.account-page :focus-visible{outline:3px solid var(--coral);outline-offset:3px}.account-page summary{cursor:pointer;padding:1rem 0}.account-page .check{display:flex;align-items:center}.account-page .check input{width:auto}.account-page p,.account-page li{overflow-wrap:anywhere;line-height:1.6}.account-page [hidden]{display:none!important}@media(max-width:640px){.account-grid{grid-template-columns:1fr}.account-page main{padding:1rem}.account-page h1{font-size:2.5rem}.account-page button,.account-page .button{width:100%;text-align:center}.account-page header{font-size:.9rem}}
.account-page .eyebrow{color:var(--forest)}
.account-page:has(.login-entry) .eyebrow{color:#ffbc6e}

.traveler-avatar{display:grid;place-items:center;width:96px;height:96px;border-radius:50%;overflow:hidden;background:#e8ece6;color:#173c34;font-size:2rem;font-weight:700}.traveler-avatar img{width:96px;height:96px;object-fit:cover}.traveler-avatar [hidden]{display:none!important}

.account-page:has(.login-entry){min-height:100vh;background:#050607;color:#f8f3eb}
.account-page .login-entry{position:relative;display:grid;min-height:100svh;place-items:center;overflow:hidden;padding:5.75rem 1.25rem;isolation:isolate;background:#050607}
.login-entry::before{position:absolute;z-index:-1;inset:0;content:"";background-image:radial-gradient(ellipse at 50% 36%,rgba(37,48,54,.56),rgba(7,9,10,.12) 48%,#050607 78%),url("./editorial/wanderlust-atlas.svg");background-position:center,center 12%;background-size:100% 100%,min(72vw,48rem) auto;background-repeat:no-repeat;opacity:.56}
.login-brand{position:absolute;top:2rem;left:clamp(1.25rem,5vw,4rem);color:#fff;font:800 2rem/1 "DM Sans",Arial,sans-serif;letter-spacing:-.06em;text-decoration:none}.login-brand>span{color:#ffbc6e}.login-brand small{display:block;margin-top:.5rem;color:#e1ded9;font-size:.58rem;letter-spacing:.34em}
.account-language-picker{position:absolute;top:2rem;right:clamp(1.25rem,5vw,4rem)}
.account-page .login-card{box-sizing:border-box;width:100%;max-width:23rem;padding:clamp(1rem,4vw,1.4rem);border:1px solid rgba(255,255,255,.25);background:rgba(7,12,15,.88);box-shadow:0 25px 90px rgba(0,0,0,.65);backdrop-filter:blur(16px)}
.login-card .eyebrow{margin-bottom:.8rem;color:#ffbc6e;font-size:.7rem;letter-spacing:.18em}.login-card h1{margin:0 0 .6rem;color:#fff;font:700 clamp(1.65rem,5vw,2.05rem)/1.03 "Fraunces",Georgia,serif}.login-card>p:not(.eyebrow){margin:0;color:#c6c9cb;font-size:.92rem;line-height:1.45}.login-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:1rem 0;padding:3px;border:1px solid #41464a;background:#0b0d0e}.login-tabs button{min-height:44px;margin:0;padding:.5rem .3rem;font-size:.88rem;border:0;border-radius:0;background:transparent;color:#d5d4d1;font-weight:700}.login-tabs button[aria-selected="true"]{background:#fff;color:#050505}
.login-card #cloud-auth-status{margin:0 0 .7rem;font-size:.8rem}.login-google,.login-submit{width:100%;min-height:48px;margin:.3rem 0;color:#050505!important;border:1px solid #fff!important;border-radius:0!important;background:#fff!important;font-size:.88rem;font-weight:800}.login-google{display:flex;align-items:center;justify-content:center;gap:.75rem}.login-google svg{width:24px;height:24px;flex:none}.login-google:disabled{opacity:.72}.login-google:disabled::after{content:"No disponible";margin-left:.2rem;color:#4a4a4a;font-size:.68rem;font-weight:600}
.login-separator{display:flex;align-items:center;gap:12px;margin:.65rem 0;color:#a5aaad;font-size:.7rem}.login-separator::before,.login-separator::after{height:1px;flex:1;content:"";background:#353a3d}
.login-card form{max-width:none;gap:.85rem;margin:.8rem 0}.login-card label{color:#eeece8;font-size:.8rem}.login-card input{min-height:46px;color:#fff;border:1px solid #41464a;border-radius:0;background:#111416}.login-card input:focus-visible{outline-color:#ffbc6e}.login-email-toggle{width:100%;min-height:44px;margin:.25rem 0;color:#fff!important;border:1px solid #5b6063!important;border-radius:0!important;background:transparent!important;font-weight:700}.login-public-link{display:block;margin-top:.9rem;color:#dedbd5;text-align:center;font-size:.8rem;text-underline-offset:4px}.login-atlas-accent{color:#ffbc6e}.login-card :focus-visible{outline:3px solid #ffbc6e;outline-offset:3px}.login-card #login-status{margin:.5rem 0 0;color:#f5d3a8;font-size:.8rem}.login-card #login-status:empty,.login-card #cloud-auth-status:empty{display:none}
@media(max-width:520px){.account-page .login-entry{padding-inline:1rem}.login-entry::before{background-size:100% 100%,min(88vw,30rem) auto;background-position:center,center 16%}.login-brand{top:1.25rem;left:1.25rem}.account-language-picker{top:1.25rem;right:1.25rem}}
@media(max-height:680px){.account-page .login-entry{padding-block:5.6rem 1.5rem}}

.account-page main.auth-step {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  padding: 6.5rem 1rem 2rem;
}
.auth-step-actions {
  display: grid;
  gap: .65rem;
  margin-top: 1.25rem;
}
.auth-step-actions [hidden] { display: none !important; }
.auth-step-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}

.login-google-identity{min-height:40px;width:100%}
.login-google-identity[hidden]{display:none}

.profile-page {
  min-height: 100svh;
  background: #fff;
  color: #15191c;
}
.profile-page .profile-header {
  padding: 1.4rem clamp(1.25rem, 5vw, 4rem);
  background: #0a0d0f;
  border-bottom: 1px solid #232629;
}
.profile-brand {
  color: #fff;
  font: 800 1.65rem/1 "DM Sans", Arial, sans-serif;
  letter-spacing: -.06em;
  text-decoration: none;
}
.profile-brand span { color: #ffbc6e; }
.profile-brand small {
  display: block;
  margin-top: .35rem;
  color: #e1ded9;
  font-size: .52rem;
  letter-spacing: .32em;
}
.account-page .profile-main {
  max-width: 36rem;
  padding: clamp(2.5rem, 8vw, 5rem) clamp(1.25rem, 5vw, 2rem) 2.5rem;
}
.profile-main h1 {
  margin: 0 0 clamp(1.5rem, 5vw, 2.3rem);
  color: #15191c;
  font: 700 clamp(2rem, 7vw, 3rem)/1.08 "Fraunces", Georgia, serif;
}
.account-page .profile-form { max-width: none; margin: 0; gap: 0; }
.profile-fields {
  display: grid;
  min-inline-size: 0;
  gap: 1.5rem;
  margin: 0;
  padding: clamp(1.15rem, 4vw, 1.6rem);
  border: 1px solid #d9dddf;
  border-radius: .75rem;
  background: #f8f9f9;
}
.profile-fields label { font-weight: 700; }
.profile-fields input {
  margin: 0;
  border-color: #aeb5ba;
  background: #fff;
  color: #15191c;
}
.profile-photo-editor {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
}
.profile-page .traveler-avatar { background: #e8ebec; color: #202629; }
.profile-photo-controls { min-width: 0; }

.account-page .profile-save {
  justify-self: start;
  margin: 0;
  border-color: #14191c;
  background: #14191c;
  color: #fff;
  font-weight: 800;
}
.account-page .profile-secondary {
  margin: .5rem 0 0;
  border-color: #aeb5ba;
  background: transparent;
  color: #15191c;
  font-weight: 700;
}
.profile-page :focus-visible { outline-color: #28515c; }
.profile-status { margin: .7rem 0 0; color: #35474c; font-size: .88rem; }
.profile-status:empty { margin: 0; }
.profile-page .profile-footer {
  display: block;
  margin-top: 1.7rem;
  padding: 1rem 0 0;
  border-top: 1px solid #d9dddf;
  background: transparent;
}
.profile-page button:not(:disabled):hover { border-color: #314c55; }
.profile-heading { margin: 0 0 clamp(1.5rem, 5vw, 2.3rem); }
.profile-nav { display: flex; align-items: center; gap: clamp(.75rem, 3vw, 1.75rem); }
.profile-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  text-underline-offset: .24em;
}
@media (max-width: 520px) {
  .profile-photo-editor { grid-template-columns: 1fr; }
}

.profile-page .profile-avatar-options { display: flex; gap: .55rem; }
.profile-page .profile-avatar-options button {
  display: grid; place-items: center; width: 48px; min-height: 48px; margin: 0;
  padding: 2px; border: 1px solid #d4d9dc; border-radius: 50%; background: #fff;
}
.profile-avatar-options img { border-radius: 50%; }
.profile-page .profile-avatar-options button[aria-pressed="true"] { border: 2px solid #15191c; }
.profile-page .profile-nav { gap: clamp(.55rem, 3vw, 1.4rem); }
.profile-page .profile-nav a { font-size: .75rem; }
.profile-page .profile-nav select { width: auto; min-height: 36px; }
.profile-page .profile-privacy { max-width: 32rem; border-top: 1px solid #e4e7e8; }
.profile-privacy summary { font-weight: 700; }
.profile-privacy select { width: 100%; min-height: 44px; padding: .5rem; }
.profile-privacy p { margin: .55rem 0; font-size: .875rem; }
