/* ================================================================
   account.css: the signed-in customer pages, account.html (bookings,
   stamp card, reschedule/cancel dialogs) and profile.html (contact
   details, WhatsApp reminders). Loaded after app.css. Class names are
   the ones the page scripts render and toggle.
================================================================ */

/* ---------- Account sub-bar: section tabs + the account menu ---------- */
.acct-bar { border-bottom: 1px solid var(--line); }
.acct-bar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 4rem;
}
.acct-bar__label { display: inline-flex; }
.acct-tabs { display: none; gap: 0.25rem; padding: 0.25rem; border-radius: 999px; background: var(--paper-2); }
.acct-tab {
  display: inline-flex; align-items: center; min-height: 2.4rem; padding: 0 1.1rem;
  border-radius: 999px;
  font: 500 0.9375rem/1 var(--font-display); color: var(--ink-2);
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.acct-tab:hover { color: var(--ink); }
.acct-tab[aria-current="page"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(13, 33, 69, 0.08), 0 0 0 1px var(--line); }
@media (min-width: 769px) {
  .acct-bar__label { display: none; }
  .acct-tabs { display: flex; }
}

.account-menu { position: relative; }
.nav-icon {
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--white);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.4s var(--ease-out);
}
.nav-icon:hover { background: var(--teal); color: var(--night); }
.account-menu.is-open .nav-icon { background: var(--teal); color: var(--night); }
.account-dropdown {
  position: absolute; right: 0; top: calc(100% + 0.6rem); z-index: 300;
  min-width: 16rem;
  padding: 0.6rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line), 0 24px 50px -24px rgba(13, 33, 69, 0.45);
  display: none;
}
.account-menu.is-open .account-dropdown { display: block; animation: appFade 0.3s var(--ease-out); }
.account-dropdown-name { padding: 0.5rem 0.7rem 0.1rem; font: 600 1rem/1.25 var(--font-display); letter-spacing: -0.015em; color: var(--ink); }
.account-dropdown-email { padding: 0 0.7rem 0.45rem; font-size: 0.8125rem; color: var(--ink-3); word-break: break-all; }
.account-dropdown-role {
  padding: 0 0.7rem 0.55rem;
  font: 600 var(--fs-micro)/1 var(--font-body);
  color: var(--teal-ink);
}
.account-dropdown-sep { height: 1px; margin: 0.35rem 0; background: var(--line); }
.account-dropdown-link {
  display: block; padding: 0.6rem 0.7rem;
  border-radius: 0.65rem;
  font: 500 0.9375rem/1.2 var(--font-display); color: var(--ink);
  transition: background-color 0.2s ease;
}
.account-dropdown-link:hover { background: var(--paper); }
.account-dropdown-link[aria-current="page"] { background: var(--teal-wash); font-weight: 600; }
.account-dropdown-signout {
  display: block; width: 100%; min-height: 2.6rem; margin-top: 0.35rem;
  border-radius: 999px;
  background: var(--paper); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
  font: 600 0.875rem/1 var(--font-display);
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.account-dropdown-signout:hover { background: var(--rose-wash); color: var(--rose-ink); box-shadow: inset 0 0 0 1px var(--rose-line); }

/* ---------- Layout: intro column + content panel ---------- */
.acct-layout {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 1.25rem + 2.5vw, 3.5rem);
  align-items: start;
}
@media (min-width: 1024px) {
  .acct-layout { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: clamp(3rem, 2rem + 3vw, 6rem); }
  .acct-intro { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.acct-h1 { font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4.5rem); }
.acct-sub { margin-bottom: 0; }

.acct-main {
  padding: clamp(1.25rem, 0.9rem + 1.6vw, 2.25rem);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line);
}
.acct-main h3 {
  margin-bottom: 1rem;
  font: 600 var(--fs-micro)/1 var(--font-body);
  color: var(--teal-ink);
}
.acct-section-title {
  margin: 2.25rem 0 1rem;
  font: 600 clamp(1.45rem, 1.15rem + 1vw, 1.9rem)/1.1 var(--font-display);
  letter-spacing: -0.035em; color: var(--ink);
}
.acct-section-title:first-of-type { margin-top: 0; }

/* Status notes */
.acct-notice {
  margin: 1.5rem 0 0; padding: 0.85rem 1.05rem;
  border-radius: var(--radius-sm);
  background: var(--emerald-wash); color: #0f5c2e;
  box-shadow: inset 0 0 0 1px rgba(31, 196, 94, 0.4);
  font-size: 0.9375rem; line-height: 1.5;
}
.acct-notice.is-warn { background: var(--amber-wash); color: var(--amber-ink); box-shadow: inset 0 0 0 1px var(--amber-line); }

/* ---------- Stamp-card teaser ---------- */
.stamp-teaser {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; gap: 1.1rem;
  width: 100%; margin: 2rem 0 0.75rem; padding: 1.3rem 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--night); color: var(--white);
  box-shadow: 0 26px 50px -28px rgba(8, 21, 48, 0.75);
  text-align: left;
  transition: transform 0.5s var(--ease-out), box-shadow 0.4s ease;
}
.stamp-teaser::before {
  content: ''; position: absolute; z-index: -1; right: -20%; top: -60%;
  width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 189, 212, 0.38), transparent 65%);
  transition: transform 0.8s var(--ease-out);
}
.stamp-teaser::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: skewX(-20deg); pointer-events: none;
  animation: teaser-shine 6s ease-in-out infinite;
}
@keyframes teaser-shine { 0%, 60% { left: -60%; } 100% { left: 140%; } }
.stamp-teaser:hover { transform: translateY(-3px); box-shadow: 0 32px 60px -30px rgba(8, 21, 48, 0.8); }
.stamp-teaser:hover::before { transform: scale(1.15); }
.stamp-teaser:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.stamp-teaser.has-reward::before { background: radial-gradient(circle, rgba(31, 196, 94, 0.45), transparent 65%); }
.stamp-teaser-badge {
  flex: none; width: 3.75rem; height: 3.75rem; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35);
}
.stamp-teaser-count { font: 600 1.6rem/1 var(--font-display); letter-spacing: -0.04em; }
.stamp-teaser-of { margin-top: 0.15rem; font: 500 0.8125rem/1 var(--font-mono); letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.6); }
.stamp-teaser-body { flex: 1; min-width: 0; }
.stamp-teaser-title { display: flex; align-items: center; gap: 0.4rem; font: 600 1.125rem/1.2 var(--font-display); letter-spacing: -0.02em; }
.stamp-teaser-note { display: block; margin-top: 0.2rem; font-size: 0.875rem; line-height: 1.4; color: rgba(255, 255, 255, 0.74); }
.stamp-teaser-track { display: flex; gap: 3px; margin-top: 0.7rem; }
.stamp-teaser-track i { flex: 1; height: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); }
.stamp-teaser-track i.on { background: var(--teal); }
.stamp-teaser-track i.on.mile { background: var(--emerald); }
.stamp-teaser-cta {
  flex: none; display: flex; align-items: center; text-align: right;
  font: 600 var(--fs-micro)/1.5 var(--font-body);
  color: var(--teal);
}
@media (max-width: 430px) {
  .stamp-teaser { gap: 0.8rem; padding: 1.1rem; }
  .stamp-teaser-badge { width: 3.25rem; height: 3.25rem; }
  .stamp-teaser-count { font-size: 1.35rem; }
  .stamp-teaser-title { display: block; font-size: 1rem; text-wrap: balance; }
}
.home-cta { width: 100%; }

/* ---------- Booking cards ---------- */
.booking-card {
  margin-bottom: 0.75rem; padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.3s ease;
}
.booking-card.is-upcoming { box-shadow: inset 0 0 0 1px var(--line), inset 4px 0 0 var(--teal); }
.booking-card.is-cancelled { opacity: 0.6; }
.booking-card.is-focus { box-shadow: inset 0 0 0 1px var(--line), 0 0 0 3px var(--teal); }
.booking-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem 1rem; }
.booking-row > div:first-child { flex: 1; min-width: 0; }
.booking-row > div:last-child { flex: none; }
.booking-when { font: 600 1.125rem/1.25 var(--font-display); letter-spacing: -0.02em; color: var(--ink); }
.booking-meta { margin-top: 0.2rem; font-size: 0.875rem; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 430px) { .booking-when { font-size: 1rem; text-wrap: balance; } }
.booking-status, .type-pill {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.3rem 0.6rem; border-radius: 999px;
  font: 600 0.8125rem/1.2 var(--font-body);
  white-space: nowrap;
}
.booking-status.is-paid      { background: var(--emerald-wash); color: #0f6d33; }
.booking-status.is-pending,
.booking-status.is-due       { background: var(--amber-wash); color: var(--amber-ink); }
.booking-status.is-cancelled { background: var(--paper-2); color: var(--ink-2); }
.booking-status.is-failed    { background: var(--rose-wash); color: var(--rose-ink); }
.type-pill { background: var(--paper); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.type-pill.is-recurring { background: var(--teal-wash); color: var(--teal-ink); box-shadow: none; }
.booking-items { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--line); font-size: 0.875rem; line-height: 1.55; color: var(--ink-2); }
.booking-pending-note { margin-top: 0.5rem; font-size: 0.8125rem; color: var(--amber-ink); }
.booking-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.booking-actions:empty { display: none; }

.empty-state {
  padding: 2rem 1.25rem;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: center; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-2);
}

/* Day-before reminders on this phone */
.remind-card {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem;
  margin: 1.25rem 0 0; padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}
.remind-text { flex: 1 1 14rem; min-width: 0; }
.remind-title { font: 600 1rem/1.25 var(--font-display); letter-spacing: -0.015em; color: var(--ink); }
.remind-note { margin-top: 0.2rem; font-size: 0.875rem; line-height: 1.5; color: var(--ink-2); }

/* Collapsed past bookings */
.past-details { margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.past-details summary { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; list-style: none; cursor: pointer; }
.past-details summary::-webkit-details-marker { display: none; }
.past-details summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 0.5rem; }
#pastCount { font-family: var(--font-mono); font-size: 0.8125rem !important; letter-spacing: 0.06em; }
.past-chevron {
  flex: none; width: 2.5rem; height: 2.5rem; padding: 0.7rem;
  border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--ink);
  transition: transform 0.45s var(--ease-out), background-color 0.25s ease;
}
.past-details summary:hover .past-chevron { background: var(--paper); }
.past-details[open] .past-chevron { transform: rotate(180deg); }

/* ---------- Bottom tab bar (phones; the sub-bar takes over above 768px) ---------- */
.bottom-nav {
  position: fixed; z-index: 250;
  left: 0.75rem; right: 0.75rem; bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; justify-content: space-between; gap: 0.25rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 0 0 1px var(--line), 0 20px 40px -22px rgba(13, 33, 69, 0.5);
}
.bottom-nav-item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.15rem;
  min-height: 3.1rem; padding: 0.25rem 0.5rem;
  border-radius: 999px;
  font: 500 0.8125rem/1 var(--font-display); color: var(--ink-3);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.bottom-nav-item svg { width: 20px; height: 20px; }
.bottom-nav-item:hover { color: var(--ink); }
.bottom-nav-item.is-active { color: var(--ink); background: var(--paper-2); }
.bottom-nav-book {
  flex: none;
  display: inline-flex; align-items: center; min-height: 3.1rem; padding: 0 1.5rem;
  border-radius: 999px;
  background: var(--teal); color: var(--night);
  font: 600 0.9375rem/1 var(--font-display);
  white-space: nowrap;
  transition: background-color 0.25s ease;
}
.bottom-nav-book:hover { background: #2fd0e4; }
@media (max-width: 768px) {
  /* Clear the bar under the footer's last line. */
  body.has-bottom-nav .site-footer { padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 769px) {
  .bottom-nav { display: none; }
}

/* ---------- Dialogs (stamp card, reschedule, confirm) ---------- */
.confirm-mask {
  position: fixed; inset: 0; z-index: 1100;
  display: none; align-items: center; justify-content: center;
  padding: 1rem;
  background: rgba(8, 21, 48, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.confirm-mask.is-open { display: flex; animation: maskIn 0.3s ease; }
.confirm-mask.is-open .confirm-card { animation: cardIn 0.5s var(--ease-out); }
@keyframes maskIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
.confirm-card {
  width: 100%; max-width: 26rem; max-height: calc(100vh - 2rem); overflow-y: auto;
  padding: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 40px 80px -30px rgba(8, 21, 48, 0.6);
}
.confirm-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.85rem; }
.confirm-icon { font-size: 1.375rem; line-height: 1; }
.confirm-head h2 { font: 600 1.4rem/1.15 var(--font-display); letter-spacing: -0.03em; color: var(--ink); }
.confirm-body { margin: 0 0 1.4rem; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-2); }
.confirm-actions { display: flex; gap: 0.5rem; }
.confirm-cancel, .confirm-danger {
  flex: 1; min-height: 3rem; padding: 0 1rem;
  border-radius: 999px;
  font: 600 0.9375rem/1 var(--font-display);
  transition: background-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}
.confirm-cancel { background: var(--paper-2); color: var(--ink); }
.confirm-cancel:hover { background: var(--zinc-200); }
.confirm-danger { background: var(--rose-ink); color: var(--white); }
.confirm-danger:hover { background: #7f1c12; }
.confirm-primary { background: var(--ink); }
.confirm-primary:hover:not(:disabled) { background: var(--teal); color: var(--night); }
.confirm-primary:disabled { opacity: 0.45; cursor: not-allowed; }

/* Reschedule */
.resched-date { margin-bottom: 0.75rem; }
.resched-slots {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4rem;
  max-height: 200px; overflow-y: auto; overscroll-behavior: contain;
  margin-bottom: 1.1rem;
}
.resched-slots .slot-msg { grid-column: 1 / -1; padding: 0.85rem 0.25rem; text-align: center; font-size: 0.875rem; color: var(--ink-2); }
.slot-btn {
  min-height: 2.6rem; padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--white); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font: 600 0.8125rem/1 var(--font-display); font-variant-numeric: tabular-nums;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}
.slot-btn:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.slot-btn.is-selected { background: var(--teal); color: var(--night); box-shadow: none; }

/* Stamp card */
.loyalty-modal { max-width: 28rem; }
.loyalty-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; }
.loyalty-modal-head h2 { font: 600 1.6rem/1.1 var(--font-display); letter-spacing: -0.035em; color: var(--ink); }
.loyalty-close {
  flex: none; width: 2.5rem; height: 2.5rem; margin: -0.25rem -0.25rem 0 0;
  display: grid; place-items: center;
  border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 1.4rem; line-height: 1; color: var(--ink);
  transition: background-color 0.2s ease;
}
.loyalty-close:hover { background: var(--paper); }
.loyalty-modal-sub { margin: 0.4rem 0 1.25rem; font-size: 0.875rem; line-height: 1.55; color: var(--ink-2); }
.stamp-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; margin: 0.25rem 0 0.6rem; }
.stamp {
  aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  font: 600 0.875rem/1 var(--font-display); color: var(--ink-3);
  background: var(--white);
}
.stamp.is-milestone { box-shadow: inset 0 0 0 1.5px var(--emerald); color: var(--emerald-ink); }
.stamp.is-filled { background: var(--teal); color: var(--night); box-shadow: none; }
.loyalty-progress-note { margin: 0.25rem 0 0; font-size: 0.8125rem; color: var(--ink-2); }
.loyalty-tiers {
  display: flex; justify-content: space-between; gap: 0.5rem;
  margin: 1.1rem 0 0.25rem; padding-top: 1rem; border-top: 1px solid var(--line);
  text-align: center;
}
.loyalty-tiers span { flex: 1; font-size: 0.8125rem; line-height: 1.35; color: var(--ink-2); }
.loyalty-tiers b { display: block; margin-bottom: 0.2rem; font: 600 1.25rem/1 var(--font-display); color: var(--emerald-ink); }
.loyalty-version-note {
  margin: 0.9rem 0 0; padding: 0.6rem 0.8rem;
  border-radius: 0.75rem;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.8125rem; line-height: 1.5; color: var(--ink-2);
}
.reward-item {
  margin-top: 0.6rem; padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--emerald);
  font-size: 0.8125rem; line-height: 1.45; color: var(--ink-2);
}
.reward-item.is-redeemed { box-shadow: inset 0 0 0 1px var(--line); opacity: 0.55; }
.reward-item-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.reward-label { min-width: 0; }
.reward-code { font: 600 0.875rem/1.2 var(--font-mono); letter-spacing: 0.06em; color: var(--ink); white-space: nowrap; }
.reward-actions { display: flex; gap: 0.5rem; margin-top: 0.6rem; }
.reward-copy, .reward-use {
  flex: 1; min-height: 2.4rem; padding: 0 0.6rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  font: 600 0.8125rem/1.1 var(--font-display); text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.reward-copy { background: var(--white); color: var(--emerald-ink); box-shadow: inset 0 0 0 1px var(--emerald); }
.reward-copy:hover { background: var(--emerald-wash); }
.reward-copy.is-copied { background: var(--emerald-ink); color: var(--white); box-shadow: none; }
.reward-use { background: var(--ink); color: var(--white); }
.reward-use:hover { background: var(--teal); color: var(--night); }
.loyalty-modal .side-cta { width: 100%; margin-top: 1.4rem; }

/* ================================================================
   Profile (profile.html)
================================================================ */
.next-note {
  margin: 1.5rem 0 0; padding: 0.9rem 1.05rem;
  border-radius: var(--radius-sm);
  background: var(--teal-wash); color: var(--ink);
  box-shadow: inset 3px 0 0 var(--teal);
  font-size: 0.9375rem; line-height: 1.55;
}
.profile-row {
  margin-bottom: 0; padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem; line-height: 1.5; color: var(--ink);
  overflow-wrap: anywhere;
}
#profileView .profile-row:first-child { border-top: 1.5px solid var(--ink); }
.profile-row strong {
  display: block; margin-bottom: 0.3rem;
  font: 600 var(--fs-micro)/1.2 var(--font-body);
  color: var(--ink-3);
}
#editProfileBtn { margin-top: 1.1rem; }

.profile-edit { display: none; }
.profile-edit.is-shown { display: block; animation: appFade 0.4s var(--ease-out); }
.profile-edit .profile-row { display: block; padding: 0 0 1.1rem; border: 0; }
.profile-edit .profile-row:first-child { padding-top: 0.85rem; border-top: 1.5px solid var(--ink); }
.profile-edit .profile-row strong { margin-bottom: 0.5rem; color: var(--ink-2); }
.profile-edit input, .profile-edit textarea, .profile-edit select { margin-bottom: 0; }
.profile-phone-group { display: grid; grid-template-columns: 7.75rem minmax(0, 1fr); gap: 0.5rem; }
/* The Save button is a navy pill by inline style; keep the hover on brand. */
.profile-edit .pill-btn { min-height: 2.9rem; padding: 0 1.4rem; font-size: 0.9375rem; }
.profile-edit button[type="submit"].pill-btn:hover { background: var(--teal) !important; color: var(--night) !important; }

/* WhatsApp reminders switch (whole label is the 44px+ target, 16px text) */
.reminders-pref { margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.reminders-toggle { display: flex; align-items: flex-start; gap: 0.85rem; min-height: 44px; cursor: pointer; }
.reminders-toggle input {
  flex: none; width: 22px; height: 22px; margin: 0.15rem 0 0;
  accent-color: var(--ink); cursor: pointer;
}
.reminders-toggle input:disabled { cursor: progress; }
.reminders-toggle strong { display: block; font: 600 1.0625rem/1.4 var(--font-display); letter-spacing: -0.01em; color: var(--ink); }
.reminders-help { display: block; margin-top: 0.3rem; font-size: 0.875rem; line-height: 1.55; color: var(--ink-2); }
.reminders-why, .reminders-also, .reminders-stopped { margin: 0.6rem 0 0; font-size: 0.875rem; line-height: 1.55; color: var(--ink-2); }
.reminders-why, .reminders-also { margin-left: 2.2rem; }
.reminders-stopped { color: var(--ink); }
.reminders-stop {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.25rem;
  font: inherit; font-weight: 700; color: var(--ink);
  text-decoration: underline; text-underline-offset: 3px;
}
.reminders-stop:disabled { cursor: progress; opacity: 0.6; }
.reminders-status { margin: 0.6rem 0 0 2.2rem; font-size: 0.8125rem; font-weight: 600; line-height: 1.45; }
.reminders-status.is-ok { color: var(--emerald-ink); }
.reminders-status.is-err { color: var(--rose-ink); }

.page-profile .side-wa { width: 100%; margin-top: 2rem; }
.side-signout {
  display: block; width: 100%; min-height: 3rem; margin-top: 0.75rem;
  border-radius: 999px;
  background: transparent; color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font: 600 0.9375rem/1 var(--font-display);
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.side-signout:hover { background: var(--rose-wash); color: var(--rose-ink); box-shadow: inset 0 0 0 1px var(--rose-line); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .stamp-teaser::after { animation: none; }
  .account-menu.is-open .account-dropdown, .confirm-mask.is-open, .confirm-mask.is-open .confirm-card, .profile-edit.is-shown { animation: none; }
}

/* The page sub-bar already has the account menu (#accountToggle); the header icon would be a second, identical account button. */
.page-acct .site-header .icon-btn,
.page-profile .site-header .icon-btn { display: none; }
