body[data-page="cuenta"] {
  --account-surface: #fff8f4;
  --account-tint: #eadce3;
  --account-text-on-tint: #493440;
  --account-on-action: #fff8f4;
}
.account-page {
  width: min(calc(100% - 2rem), 71rem);
  padding-block: clamp(1.6rem, 4vw, 3.3rem) clamp(2.5rem, 6vw, 5rem);
}
.account-heading .eyebrow { margin: 0 0 .45rem; }
.account-heading h1 { font-size: clamp(3rem, 7vw, 5.1rem); }
.account-demo-note { margin: .5rem 0 1.25rem; color: var(--muted); font-size: .9rem; }
.account-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.account-overview { display: grid; gap: 1.15rem; }
.account-overview section > h2 { margin-bottom: .55rem; font-size: clamp(1.45rem, 3.4vw, 2rem); }
.account-welcome,
.account-menu-card,
.account-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--account-surface);
}
.account-welcome {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1rem;
  padding: clamp(.85rem, 2.8vw, 1.45rem);
  background: var(--account-tint);
  color: var(--account-text-on-tint);
}
.account-avatar, .account-icon-box {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  background: var(--account-tint);
  color: var(--account-text-on-tint);
}
.account-avatar {
  width: clamp(2.75rem, 9vw, 3.5rem);
  height: clamp(2.75rem, 9vw, 3.5rem);
  border-radius: 50%;
  background: var(--account-surface);
  font: 600 1.35rem var(--serif);
}
.account-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.account-welcome-copy { flex: 1 1 10rem; min-width: 0; }
.account-welcome-copy p { margin: 0; }
.account-welcome .account-welcome-copy h2 { margin: .12rem 0; font-size: clamp(1.6rem, 4.5vw, 2.55rem); overflow-wrap: anywhere; }
.account-profile-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 2.75rem;
  font-size: .95rem;
  text-decoration: underline;
  text-underline-offset: .23em;
}
.account-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
.account-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .7rem;
  min-height: 3.6rem;
  padding: .65rem .85rem;
}
.account-menu-card > a:first-child { border-radius: 15px 15px 0 0; }
.account-menu-card > a:last-child { border-radius: 0 0 15px 15px; }
.account-menu-card > a + a { border-top: 1px solid var(--line); }
.account-menu-card > a:hover { background: var(--paper); }
.account-option strong { display: block; font-weight: 650; }
.account-option small, .account-option p { display: block; margin: .12rem 0 0; color: var(--muted); font-size: .86rem; }
.account-chevron {
  display: inline-block;
  width: .45rem;
  height: .45rem;
  margin-inline-end: .2rem;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.account-appearance h3 { margin: 0; font: 650 1rem/1.25 var(--sans); }
.account-appearance { padding-bottom: .4rem; }
.account-theme-note { margin: 0; padding: 0 .85rem .65rem 3.95rem; color: var(--muted); font-size: .83rem; }
.account-utility { display: flex; flex-wrap: wrap; gap: 0 1rem; margin-top: .8rem; font-size: .83rem; }
.account-back { margin-bottom: .55rem; }
#preferencias, #apariencia { scroll-margin-top: 9rem; }
.account-panel {
  scroll-margin-top: 9rem;
  padding: clamp(1rem, 3.2vw, 2.2rem);
}
.account-panel h2 { margin-bottom: .65rem; font-size: clamp(2.2rem, 4.7vw, 3.4rem); }
.account-panel h3 { margin-top: 1.3rem; }
.account-panel fieldset {
  min-width: 0;
  padding: .9rem 0 0;
  margin: 1.15rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}
.account-panel legend { padding: 0 .65rem 0 0; font-weight: 650; }
.account-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem 1rem;
}
.account-panel label { display: grid; gap: .25rem; min-width: 0; }
.account-panel input {
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  padding: .55rem .7rem;
  border: 1px solid var(--line);
  border-radius: .7rem;
  color: var(--ink);
  background: var(--paper);
}
.account-panel input[readonly] { color: var(--muted); }
.account-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; }
.account-panel .button { color: var(--account-on-action); }
.account-panel .button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.account-feedback { margin: .55rem 0 0; color: var(--muted); }
.account-feedback:empty { margin: 0; }
.account-order { margin: .65rem 0; border: 1px solid var(--line); border-radius: .9rem; }
.account-order summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .25rem .65rem;
  padding: .8rem .9rem;
  cursor: pointer;
}
.account-order summary::-webkit-details-marker { display: none; }
.account-order summary::after { content: '+'; margin-inline-start: auto; font-size: 1.2rem; }
.account-order[open] summary::after { content: '−'; }
.account-order small { display: block; color: var(--muted); }
.account-order-state { margin-inline-start: auto; color: var(--account-text-on-tint); background: var(--account-tint); padding: .2rem .6rem; border-radius: 999px; font-size: .84rem; }
.account-order-body { padding: .35rem .9rem .85rem; }
.account-order-body ul { margin-top: .15rem; }
.account-progress { display: flex; flex-wrap: wrap; gap: .4rem 1rem; padding-inline-start: 1.2rem; color: var(--muted); }
.account-progress [aria-current="step"] { color: var(--ink); font-weight: 700; }
.account-review-list { list-style: none; padding: 0; }
.account-review-list li { border-top: 1px solid var(--line); padding-block: .55rem; }
.account-review-list span { display: block; color: var(--muted); font-size: .92rem; }

.account-theme-switch {
  --account-switch-bg: #EDE5D9;
  --account-switch-border: var(--line);
  --discovery-active: #49383E;
  --account-switch-active-icon: #fff;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  width: 98px;
  height: 46px;
  padding: 4px;
  border: 1px solid var(--account-switch-border);
  border-radius: 999px;
  background-color: var(--account-switch-bg);
}
[data-theme="dark"] .account-theme-switch {
  --account-switch-bg: #201C20;
  --account-switch-border: #51464D;
  --discovery-active: #D6BBA4;
  --account-switch-active-icon: #30252A;
}
.account-theme-switch button {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
}
.account-theme-switch button:disabled { opacity: 1; }
.account-theme-switch button[aria-pressed="true"] {
  background: var(--discovery-active);
  color: var(--account-switch-active-icon);
}
.account-theme-switch.has-indicator button[aria-pressed="true"] { background: transparent; }
.account-theme-switch .discovery-indicator { inset-block: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .theme-switching :where(.account-welcome, .account-avatar, .account-icon-box, .account-menu-card) {
    transition: color 480ms ease, background-color 480ms ease, border-color 480ms ease;
  }
}
@media (max-width: 42rem) {
  .account-groups { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 34rem) {
  .account-fields { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 22rem) {
  .account-option { gap: .5rem; padding-inline: .65rem; }
  .account-option .account-icon-box { width: 2rem; height: 2rem; }
  .account-theme-note { padding-inline-start: 3.15rem; }
}
.account-logout {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
#account-overview-loading { margin-bottom: 1.15rem; }
