/* ── Account: Shell ──────────────────────────────── */

.acc {
  margin-top: 72px;
  min-height: calc(100vh - 72px);
  background-color: var(--bone);
}

/* ── Welcome Header ─────────────────────────────── */

.acc__header {
  background-color: var(--ink);
  padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 60px) clamp(32px, 4vw, 40px);
}

.acc__header-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}

.acc__header-left {
  flex: 1;
  min-width: 300px;
}

.acc__header-eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  color: var(--yellow);
}

.acc__header-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 8vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  color: var(--bone);
  margin-top: 16px;
}

.acc__header-title em {
  color: var(--yellow);
  font-style: italic;
}

.acc__header-sub {
  font-family: var(--sans);
  font-size: 18px;
  color: var(--bone);
  opacity: 0.75;
  margin-top: 16px;
  max-width: 480px;
  line-height: 1.5;
}

.acc__header-ctas {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ── Tab Bar ────────────────────────────────────── */

.acc__tabs {
  position: sticky;
  top: 72px;
  z-index: 50;
  background-color: var(--bone);
  border-bottom: 1px solid rgba(14,14,12,0.15);
}

.acc__tabs-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.acc__tab {
  padding: 20px 22px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--ink);
  opacity: 0.5;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: opacity 0.15s ease;
}

.acc__tab:hover {
  opacity: 0.8;
}

.acc__tab.is-active {
  opacity: 1;
  border-bottom-color: var(--ink);
}

/* ── Content Area ───────────────────────────────── */

.acc__content {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 60px) 80px;
}

/* ── Dashboard ──────────────────────────────────── */

.acc__dash {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}

/* Credits card */
/* ── Credits Section Header ───────────────────── */

.credits-section__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
}

.credits-section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.credits-section__topup {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.credits-section__topup:hover {
  text-decoration: underline;
}

/* ── Credit Card Grid ─────────────────────────── */

.credits-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 860px) {
  .credits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .credits-grid { grid-template-columns: 1fr; }
}

/* ── Credit Card ─────────────────────────────── */

.cc {
  background: var(--yellow);
  padding: 20px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

.cc__title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cc__count {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 12px;
}

.cc__sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.65;
  margin-top: 6px;
}

.cc__bar {
  width: 100%;
  height: 2px;
  background: rgba(14,14,12,0.15);
  margin-top: 16px;
}

.cc__bar-fill {
  height: 100%;
  background: var(--ink);
}

.cc__exp {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  opacity: 0.8;
  margin-top: 16px;
  display: flex;
  align-items: center;
}

.cc__exp--urgent {
  color: var(--yellow);
  opacity: 1;
}

.cc__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  margin-right: 8px;
  flex-shrink: 0;
}

.cc__book {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  margin-top: auto;
  padding-top: 16px;
}

.cc__book:hover {
  text-decoration: underline;
}

.cc__book:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

/* Split note — shown on 50-min cards */
.cc__split {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.5;
  margin-top: 6px;
}

/* Derived 25-min card from leftover half-credits */
.cc--derived {
  background: var(--bone-2);
  border: 1px dashed rgba(14,14,12,0.3);
}

/* Empty state — spans full grid width */
.cc--empty {
  grid-column: 1 / -1;
  background: var(--bone-2);
  padding: 24px;
  min-height: auto;
}

.cc--empty .cc__book {
  padding-top: 0;
}

.cc__empty-text {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 12px;
}

/* Next up */
.acc__next-label {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 12px;
}

/* Stats row */
.acc__stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border: 1px solid rgba(14,14,12,0.15);
  border-radius: 4px;
}

.acc__stat {
  padding: 28px;
  border-right: 1px solid rgba(14,14,12,0.15);
}

.acc__stat:last-child {
  border-right: none;
}

.acc__stat-label {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 8px;
}

.acc__stat-value {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  color: var(--ink);
}

.acc__stat-caption {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
}

/* Pending/placeholder caption (e.g. "Coming soon" under Mobility Score).
   --clay is the brand's reserved attention colour for not-yet-shipped or
   warning states. */
.acc__stat-caption--pending {
  color: var(--clay);
  opacity: 1;
}

/* Aside */
.acc__aside {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Stretchologist card */
.acc__stretchologist {
  background-color: var(--bone-2);
  padding: 28px;
  border-radius: 4px;
}

.acc__stretchologist-eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 12px;
}

.acc__stretchologist-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.acc__stretchologist-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--bone);
  flex-shrink: 0;
  overflow: hidden;
}

.acc__stretchologist-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.acc__stretchologist-name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
}

.acc__stretchologist-meta {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}

/* Recent visits */
.acc__recent-label {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 12px;
}

.acc__recent-row {
  padding: 12px 0;
  border-top: 1px solid rgba(14,14,12,0.15);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.acc__recent-date {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.acc__recent-meta {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}

.acc__recent-delta {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  flex-shrink: 0;
}

/* Book again CTA — replaces the static em-dash on rows where the visit's
   StaffId is known. Deep-links to /booking/?staff=<mb_id> which lands
   the customer on the staff-first availability step with the same
   Stretchologist preselected. Compact ink pill so it reads as an action,
   not body text. Reused on the Stretchologist card via the
   --stretchologist modifier (block-level, sits below the avatar row). */
.acc__recent-rebook {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--bone);
  background-color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 9px 18px;
  border-radius: 100px;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}
.acc__recent-rebook:hover {
  background-color: var(--ink);
  opacity: 0.85;
}
.acc__recent-rebook:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

.acc__recent-rebook--stretchologist {
  margin-top: 18px;
  align-self: flex-start;
}

/* Rewards card — read-only points balance, progress, history.
   Same bone-2 chrome as .acc__stretchologist so the aside reads as a
   stack of consistent info cards. Redemption is intentionally absent;
   when a customer crosses the threshold the progress text switches to
   "applied automatically at checkout" (auto-apply is a separate
   workstream). */
.acc__rewards {
  background-color: var(--bone-2);
  padding: 28px;
  border-radius: 4px;
}

.acc__rewards-eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 12px;
}

.acc__rewards-balance-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.acc__rewards-balance {
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.acc__rewards-balance-label {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  color: var(--muted);
}

.acc__rewards-value {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}

.acc__rewards-zero {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin: 4px 0 0;
}

.acc__rewards-progress {
  margin-top: 18px;
}

.acc__rewards-bar {
  height: 6px;
  background: rgba(14,14,12,0.1);
  border-radius: 100px;
  overflow: hidden;
}

.acc__rewards-bar-fill {
  height: 100%;
  background: var(--yellow);
  border-radius: 100px;
  transition: width 0.4s ease;
}

.acc__rewards-progress-text {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 10px 0 0;
}

.acc__rewards-history {
  margin-top: 18px;
}

.acc__rewards-history-toggle {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.acc__rewards-history-toggle::-webkit-details-marker {
  display: none;
}

.acc__rewards-history[open] .acc__rewards-history-toggle span {
  transform: rotate(45deg);
  display: inline-block;
}

.acc__rewards-history-list {
  margin-top: 12px;
  border-top: 1px solid rgba(14,14,12,0.1);
}

.acc__rewards-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(14,14,12,0.06);
  align-items: center;
}

.acc__rewards-row:last-child {
  border-bottom: none;
}

.acc__rewards-row-meta {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
}

.acc__rewards-row-date {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.acc__rewards-row-points {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.acc__rewards-row-points--earn   { color: var(--ink); }
.acc__rewards-row-points--redeem { color: var(--muted); }

/* Tip card */
.acc__tip {
  background-color: var(--ink);
  color: var(--bone);
  padding: 28px;
  border-radius: 4px;
}

.acc__tip-label {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  color: var(--yellow);
  margin-bottom: 10px;
}

.acc__tip-body {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--bone);
  opacity: 0.85;
}

/* ── Sign Out (dashboard aside, below tip card) ──── */
/* Clay outline is normally reserved for focus/error per the brand rules,
   but sign-out is destructive-adjacent and the brand owner explicitly
   wanted clay here as a visual warning cue. */
.acc__signout {
  margin-top: 16px;
}

.acc__signout-btn {
  display: block;
  width: 100%;
  background: transparent;
  border: 2px solid var(--clay);
  color: var(--clay);
  border-radius: 100px;
  padding: 14px 28px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease;
}

.acc__signout-btn:hover {
  background: var(--clay);
  color: var(--bone);
}

/* ── Sign-in screen (logged-out /account/) ───────── */

.acc-signin {
  background: var(--bone);
  padding: clamp(64px, 10vw, 140px) clamp(20px, 4vw, 60px);
}

.acc-signin__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.acc-signin__eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 20px;
}

.acc-signin__title {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 20px;
}

.acc-signin__title em {
  color: var(--ink);
  font-style: italic;
}

.acc-signin__sub {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 36px;
}

.acc-signin__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.acc-signin__btn {
  min-width: 200px;
}

.acc-signin__note {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
  color: var(--muted);
}

/* ── Session Card ───────────────────────────────── */

.acc__session {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid rgba(14,14,12,0.15);
}

.acc__session.is-featured {
  padding: 32px;
  background-color: var(--ink);
  color: var(--bone);
  border: none;
  border-radius: 4px;
}

.acc__session-time {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
  color: var(--ink);
}

.acc__session.is-featured .acc__session-time {
  color: var(--bone);
}

.acc__session-date {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

.acc__session.is-featured .acc__session-date {
  color: var(--bone);
  opacity: 0.7;
}

.acc__session-name {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}

.acc__session.is-featured .acc__session-name {
  color: var(--bone);
}

.acc__session-meta {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}

.acc__session.is-featured .acc__session-meta {
  color: var(--bone);
  opacity: 0.7;
}

.acc__session-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.acc__session-btns {
  display: flex;
  gap: 8px;
}

.acc__session-fine {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 9px;
  color: var(--muted);
  opacity: 0.6;
}

.acc__session.is-featured .acc__session-fine {
  color: var(--bone);
  opacity: 0.5;
}

/* ── Upcoming ───────────────────────────────────── */

.acc__upcoming-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.acc__upcoming-header h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 40px;
  color: var(--ink);
}

.acc__upcoming-footer {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
  color: var(--muted);
  margin-top: 24px;
}

/* ── Past Sessions ──────────────────────────────── */

.acc__past h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 40px;
  color: var(--ink);
  margin-bottom: 24px;
}

.acc__past-table {
  width: 100%;
  border-collapse: collapse;
}

.acc__past-table thead th {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(14,14,12,0.2);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
  text-align: left;
}

.acc__past-table tbody td {
  padding: 18px 12px;
  border-bottom: 1px solid rgba(14,14,12,0.1);
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
}

.acc__past-table tbody td:first-child {
  font-weight: 500;
}

.acc__past-table .acc__past-delta {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}

.acc__past-table a {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  color: var(--ink);
  text-decoration: underline;
}

/* ── Upcoming: editorial layout ──────────────────── */

.acc-up {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 48px);
}

/* Header row */
.acc-up__header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-bottom: 36px;
}

.acc-up__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.acc-up__title {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.95;
  margin: 10px 0 0;
  color: var(--ink);
}

.acc-up__title em {
  color: var(--yellow);
  font-style: italic;
}

.acc-up__cta {
  white-space: nowrap;
}

/* Card stack */
.acc-up__stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
}

/* Session card */
.acc-up__card {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 28px 32px;
  background: var(--bone-2);
  transition: background 0.2s ease;
}

.acc-up__card:hover {
  background: #DDD4C1;
}

/* Col 1: date/time */
.acc-up__card-dt {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.acc-up__card-date,
.acc-up__card-time {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1;
  color: var(--ink);
}

/* Col 2: session info */
.acc-up__card-name {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--ink);
}

.acc-up__card-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

/* Col 3: actions */
.acc-up__card-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.acc-up__card-btns {
  display: flex;
  gap: 8px;
}

.acc-up__btn-cal,
.acc-up__btn-cancel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  height: 36px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.acc-up__btn-cal {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(14,14,12,0.25);
}

.acc-up__btn-cal:hover {
  border-color: var(--ink);
}

.acc-up__btn-cancel {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.acc-up__btn-cancel:hover {
  background: var(--ink);
  color: var(--bone);
}

/* Calendar picker — appears below the action buttons when Calendar is
   tapped. Matches the booking-confirmation picker pattern but styled for
   the account list's light context (ink text on bone). */
.acc-up__cal-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0 0;
  max-width: 220px;
}

.acc-up__cal-opt {
  display: block;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid var(--muted);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  text-decoration: none;
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
}

.acc-up__cal-opt:hover,
.acc-up__cal-opt:focus-visible {
  border-color: var(--ink);
  background: rgba(14, 14, 12, 0.04);
  outline: none;
}

.acc-up__btn-cancel:disabled {
  opacity: 0.4;
  cursor: default;
}

/* Cancelled state — applied between successful /cancel-appointment
 * and the loadUpcoming() refresh that drops the row. Fades the card
 * body but holds the Cancelled pill at full opacity in clay so the
 * status reads at a glance. CSS opacity stacks via parent, so we fade
 * specific children rather than the card root. Brand-rule note: clay
 * is reserved for focus-visible + error/state markers, which this is. */

.acc-up__card.is-cancelled .acc-up__card-dt,
.acc-up__card.is-cancelled .acc-up__card-info,
.acc-up__card.is-cancelled .acc-up__btn-cal,
.acc-up__card.is-cancelled .acc-up__card-fine {
  opacity: 0.35;
}

.acc-up__btn-cancel--cancelled,
.acc-up__btn-cancel--cancelled:disabled,
.acc-up__btn-cancel--cancelled:hover {
  background: transparent;
  color: var(--clay);
  border-color: var(--clay);
  opacity: 1;
  cursor: default;
}

.acc-up__card-fine {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Policy footer */
.acc-up__policy {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  background: var(--bone-2);
}

.acc-up__policy-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.acc-up__policy-text {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
}

.acc-up__policy-link {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

/* Empty state */
.acc-up__empty {
  background: var(--bone-2);
  padding: 60px 0;
  text-align: center;
}

.acc-up__empty-title {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--muted);
  margin: 0;
}

.acc-up__empty-cta {
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 720px) {
  .acc-up__header {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .acc-up__cta {
    width: 100%;
    text-align: center;
  }

  .acc-up__card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }

  .acc-up__card-actions {
    align-items: stretch;
  }

  .acc-up__card-btns {
    width: 100%;
  }

  .acc-up__btn-cal,
  .acc-up__btn-cancel {
    flex: 1;
    justify-content: center;
  }

  .acc-up__policy {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .acc-up {
    padding: 0 14px;
  }
}

/* Past sessions: cancelled status labels */

.acc__past-status {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: 8px;
  vertical-align: middle;
}

.acc__past-status--late {
  background: rgba(198,93,59,0.1);
  color: #C65D3B;
}

.acc__past-status--early {
  background: rgba(200,224,0,0.15);
  color: #6b7a00;
}

.acc__past-status--cancelled {
  background: rgba(14,14,12,0.06);
  color: var(--muted);
}

.acc__past-row--cancelled td {
  opacity: 0.5;
}

@media (max-width: 600px) {
  .acc__upcoming-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .acc__upcoming-card-right {
    text-align: left;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
  }
}

.acc__load-more {
  display: block;
  margin: 24px auto 0;
  padding: 14px 28px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--ink);
  background: none;
  border: 1px solid var(--ink);
  border-radius: 100px;
  cursor: pointer;
}

/* ── Progress ───────────────────────────────────── */

.acc__progress-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.acc__progress-avg-label {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}

.acc__progress-avg {
  font-family: var(--serif);
  font-size: clamp(80px, 10vw, 160px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.acc__progress-body {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 24px);
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
  align-self: center;
}

.acc__progress-planes-label {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 16px;
}

.acc__progress-planes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.acc__plane-card {
  border: 1px solid rgba(14,14,12,0.15);
  padding: 24px;
  border-radius: 4px;
}

.acc__plane-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.acc__plane-name {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.acc__plane-delta {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  background-color: var(--yellow);
  color: var(--ink);
  padding: 2px 6px;
  border-radius: 100px;
}

.acc__plane-value {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  color: var(--ink);
}

.acc__plane-from {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  margin-left: 8px;
}

.acc__plane-bar {
  height: 4px;
  background-color: rgba(14,14,12,0.1);
  border-radius: 2px;
  margin-top: 14px;
}

.acc__plane-bar-fill {
  height: 100%;
  background-color: var(--ink);
  border-radius: 2px;
}

/* ── Plan & Billing ─────────────────────────────── */

.acc__plan-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.acc__plan-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.acc__plan-cards-header {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  color: var(--muted);
  margin: 0 0 4px;
}

.acc__plan-card {
  background-color: var(--ink);
  color: var(--bone);
  padding: 40px;
  border-radius: 4px;
}

.acc__plan-eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  color: var(--yellow);
}

.acc__plan-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 72px;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--bone);
  margin-top: 10px;
}

.acc__plan-meta {
  display: flex;
  gap: 40px;
  border-top: 1px solid rgba(241,237,228,0.15);
  padding-top: 24px;
  margin-top: 32px;
}

.acc__plan-meta-item {
  display: flex;
  flex-direction: column;
}

.acc__plan-meta-label {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  color: var(--bone);
  opacity: 0.5;
  margin-bottom: 6px;
}

.acc__plan-meta-value {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--bone);
}

.acc__plan-ctas {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

/* Billing history */
.acc__billing-label {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  color: var(--muted);
  margin: 32px 0 16px;
}

.acc__billing-table {
  width: 100%;
  border-collapse: collapse;
}

.acc__billing-table td {
  padding: 16px 12px;
  border-bottom: 1px solid rgba(14,14,12,0.1);
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
}

.acc__billing-table td:last-child {
  text-align: right;
}

.acc__billing-table a {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
  color: var(--ink);
  text-decoration: underline;
}

/* Plan actions aside */
.acc__plan-actions {
  background-color: var(--bone-2);
  padding: 28px;
  border-radius: 4px;
  align-self: start;
}

.acc__plan-actions-label {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 16px;
}

.acc__plan-actions a {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(14,14,12,0.15);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.acc__plan-actions a:last-child {
  border-bottom: none;
}

/* ── Profile ────────────────────────────────────── */

.acc__profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.acc__profile-grid h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 40px;
  color: var(--ink);
  margin-bottom: 20px;
}

.acc__profile-row {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid rgba(14,14,12,0.15);
}

.acc__profile-label {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: var(--muted);
}

.acc__profile-value {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-align: right;
}

/* Legal section */
.acc__legal-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  color: var(--ink);
  margin: 56px 0 20px;
}

.acc__legal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid rgba(14,14,12,0.15);
  text-decoration: none;
  color: var(--ink);
}

.acc__legal-row-info {
  display: flex;
  flex-direction: column;
}

.acc__legal-row-name {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
}

.acc__legal-row-status {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}

.acc__legal-row-arrow {
  font-family: var(--sans);
  color: var(--muted);
}

/* GDPR card */
.acc__gdpr {
  margin-top: 32px;
  padding: 20px;
  background-color: var(--bone-2);
  border-radius: 4px;
}

.acc__gdpr-label {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 8px;
}

.acc__gdpr p {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 12px;
}

.acc__gdpr a {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  color: var(--ink);
  text-decoration: underline;
  margin-right: 16px;
}

/* Notifications */
.acc__notif-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid rgba(14,14,12,0.15);
}

.acc__notif-name {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.acc__notif-sub {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}

.acc__toggle {
  position: relative;
  width: 40px;
  height: 22px;
  background-color: var(--ink);
  border-radius: 999px;
  cursor: pointer;
  flex-shrink: 0;
  border: none;
}

.acc__toggle-knob {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 16px;
  height: 16px;
  background-color: var(--yellow);
  border-radius: 50%;
  transition: transform 0.15s ease;
}

.acc__toggle.is-off {
  background-color: rgba(14,14,12,0.2);
}

.acc__toggle.is-off .acc__toggle-knob {
  transform: translateX(-18px);
  background-color: var(--muted);
}

/* ── Loading / Error ────────────────────────────── */

.acc__loading {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--muted);
  padding: 40px 0;
}

.acc__error {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 12px;
}

.acc__error-box {
  padding: 24px 0;
}

.acc__retry {
  font-size: 11px;
  padding: 10px 24px;
}

/* ── Empty States ───────────────────────────────── */

.acc__empty {
  padding: 40px;
  border: 1px solid rgba(14,14,12,0.15);
  border-radius: 4px;
  text-align: center;
}

.acc__empty p {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 16px;
}

/* ── Responsive ─────────────────────────────────── */

@media (max-width: 960px) {
  .acc__dash {
    grid-template-columns: 1fr;
  }

  .acc__plan-grid {
    grid-template-columns: 1fr;
  }

  .acc__profile-grid {
    grid-template-columns: 1fr;
  }

  .acc__progress-hero {
    grid-template-columns: 1fr;
  }

  .acc__progress-planes {
    grid-template-columns: 1fr;
  }

  .acc__plan-name {
    font-size: 48px;
  }

  .acc__session {
    grid-template-columns: 80px 1fr;
    gap: 16px;
  }

  .acc__session-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 600px) {
  .acc__stats {
    grid-template-columns: 1fr;
  }

  .acc__stat {
    border-right: none;
    border-bottom: 1px solid rgba(14,14,12,0.15);
  }

  .acc__stat:last-child {
    border-bottom: none;
  }

  .acc__credits-grid {
    grid-template-columns: 1fr;
  }

  .acc__header-ctas {
    width: 100%;
  }

  .acc__header-ctas .btn {
    flex: 1;
    text-align: center;
  }

  .acc__tabs-inner {
    gap: 0;
  }

  .acc__tab {
    padding: 16px 14px;
    font-size: 10px;
  }
}

/* ── Cancel-confirmation modal + post-cancel toast (account / upcoming) ── */

/* Editorial restyle: sharp corners, ink hairline, mono labels,
 * serif italic accent on the title. Chrome mirrors the rest of
 * the site (Studios / Prices / Booking) rather than the chunky
 * rounded card-app feel the modal originally shipped with.
 *
 * Belt-and-braces fixed centering on [open] so the dialog still
 * lands centred if a browser ever silently falls back from
 * showModal() to non-modal show() — observed once in production. */
.acc-modal {
  border: 1px solid var(--ink);
  padding: 0;
  background: var(--bone);
  color: var(--ink);
  border-radius: 0;
  width: min(440px, calc(100vw - 32px));
  max-width: 440px;
  box-shadow: 0 24px 60px rgba(14, 14, 12, 0.25);
  box-sizing: border-box;
}
.acc-modal[open] {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  z-index: 1000;
  animation: acc-modal-enter 200ms ease both;
}
@keyframes acc-modal-enter {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 8px)); }
  to   { opacity: 1; transform: translate(-50%, -50%); }
}
.acc-modal::backdrop {
  background: rgba(14, 14, 12, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  animation: acc-modal-backdrop 160ms ease both;
}
@keyframes acc-modal-backdrop {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.acc-modal__inner {
  padding: 36px 36px 28px;
}
.acc-modal__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
  transition: opacity 120ms ease;
}
.acc-modal__headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  transition: opacity 120ms ease;
}
/* Italic alone carries the editorial accent — keep colour anchored
 * to the single primary CTA (yellow), don't double-claim it here. */
.acc-modal__headline em {
  font-style: italic;
  color: var(--ink);
}
.acc-modal__body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  /* The spec calls for --ink-2; the design system caps the palette
   * at the 10 tokens in CLAUDE.md, so reuse --muted (the existing
   * body-secondary rgba 0.6 ink). Same semantic role, no new token. */
  color: var(--muted);
  margin: 16px 0 6px;
  transition: opacity 120ms ease;
}
.acc-modal__meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 28px;
  transition: opacity 120ms ease;
}
.acc-modal__meta:empty {
  display: none;
  margin: 0;
}
.acc-modal__meta-sep {
  color: inherit;
}
.acc-modal__actions {
  /* --rule substitute: inline the same 0.2 ink rgba used for section
   * borders elsewhere (per CLAUDE.md). Hairline ties the action row
   * to the rest of the site's editorial divider language. */
  border-top: 1px solid rgba(14, 14, 12, 0.2);
  padding-top: 22px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  transition: opacity 120ms ease;
}
.acc-modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  /* Pill per brand rule #4 (border-radius: 100px on buttons). Modal
   * box itself stays sharp; only the action chips round. */
  border-radius: 100px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, opacity 0.15s;
}
.acc-modal__btn:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 4px;
}
.acc-modal__btn[disabled] {
  cursor: default;
  opacity: 0.6;
}
/* Primary / safe action — site convention: brand-yellow CTA by
 * default (matches header "Book a Session"). Sharp corners here,
 * not 100px pill — modal sub-decisions read square per brand. */
.acc-modal__btn--keep {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}
.acc-modal__btn--keep:hover:not([disabled]) {
  opacity: 0.85;
}
/* Destructive ghost — fills clay on hover/active to signal the
 * irreversible state-change before the user commits. Active/pressed
 * state is the primary touch-feedback on mobile (no hover). */
.acc-modal__btn--cancel {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.acc-modal__btn--cancel:hover:not([disabled]),
.acc-modal__btn--cancel:focus-visible {
  background: var(--clay);
  color: var(--bone);
  border-color: var(--clay);
}
.acc-modal__btn--cancel:active:not([disabled]) {
  background: var(--clay);
  color: var(--bone);
  border-color: var(--clay);
  filter: brightness(0.95);
}
/* Within-24h variant: clay text/border at rest to telegraph the
 * forfeit-credit risk before the user hovers. */
.acc-modal__btn--cancel.acc-modal__btn--cancel-late {
  color: var(--clay);
  border-color: var(--clay);
}
.acc-modal__btn--cancel.acc-modal__btn--cancel-late:hover:not([disabled]),
.acc-modal__btn--cancel.acc-modal__btn--cancel-late:focus-visible {
  background: var(--clay);
  color: var(--bone);
}

/* Transient cancelling state: fade body content while the API
 * call is in flight + the morph prep runs. Cancel button itself
 * stays opaque (it's about to be cloned as the flying ghost). */
.acc-modal--cancelling .acc-modal__eyebrow,
.acc-modal--cancelling .acc-modal__headline,
.acc-modal--cancelling .acc-modal__body,
.acc-modal--cancelling .acc-modal__meta,
.acc-modal--cancelling .acc-modal__btn--keep {
  opacity: 0;
  pointer-events: none;
}
.acc-modal--cancelling .acc-modal__actions {
  border-top-color: transparent;
}

/* Morphing: ghost button has taken over visually; fade the
 * remaining modal box + backdrop so the eye follows the flying
 * button rather than a still-visible dialog. */
.acc-modal--morphing {
  opacity: 0;
  transition: opacity 200ms ease;
}
.acc-modal--morphing::backdrop {
  background: rgba(14, 14, 12, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
}
.acc-modal--morphing .acc-modal__btn--cancel {
  /* Ghost is on flight from the same starting coords; hide the
   * original so they don't overlap during frame 1 of the morph. */
  visibility: hidden;
}

/* The flying ghost. Inline transition is set in JS (220ms with the
 * site's standard easing), but baseline chrome lives here so the
 * cloned element doesn't fight whatever inline styles the original
 * .acc-modal__btn--cancel carried. */
.acc-modal__ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Match the live modal button + the card's CANCELLED pill so the
   * flight path is shape-consistent end to end. */
  border-radius: 100px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  border: 1px solid var(--clay);
  cursor: default;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .acc-modal,
  .acc-modal[open],
  .acc-modal::backdrop,
  .acc-modal--morphing,
  .acc-modal__eyebrow,
  .acc-modal__headline,
  .acc-modal__body,
  .acc-modal__meta,
  .acc-modal__actions,
  .acc-modal__ghost {
    animation: none !important;
    transition: none !important;
  }
}

/* Mobile: bottom sheet, stacked full-width buttons, "Keep" on top.
 * Square corners and no clay halo — the previous mobile modal's
 * clay outline around the safe button read as a warning around the
 * wrong action, which was confusing. Clay only ever appears on the
 * destructive button's hover/active state. */
@media (max-width: 720px) {
  .acc-modal {
    width: 100%;
    max-width: none;
    border: 0;
    border-top: 1px solid var(--ink);
  }
  .acc-modal[open] {
    inset: auto 0 0 0;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;
    animation: acc-modal-sheet-up 260ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  @keyframes acc-modal-sheet-up {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
  }
  .acc-modal__inner {
    padding: 24px 20px 24px;
  }
  .acc-modal__actions {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 8px;
  }
  .acc-modal__actions .acc-modal__btn {
    width: 100%;
    height: 48px;
  }
  /* Suppress the clay focus-visible outline on the bottom-sheet
   * variant. Programmatic .focus() on the Keep button (to land safe
   * default focus on open) was painting the indicator on touch
   * devices that don't have a keyboard interaction context for it. */
  .acc-modal__btn:focus,
  .acc-modal__btn:focus-visible {
    outline: none;
  }
}

.acc-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--bone);
  padding: 14px 22px;
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-align: center;
  max-width: calc(100vw - 32px);
  opacity: 0;
  transition: opacity 0.25s ease-out, transform 0.25s ease-out;
  z-index: 1000;
  pointer-events: none;
}
.acc-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
