/* Account page (redesign 2026-10-18).
 *
 * Two columns on desktop: the plan card and listening on the left; profile,
 * sign-in and help in a sidebar. One column under 860px. The plan card is
 * the web twin of the apps' membership card (iOS AccountView.swift, Android
 * MembershipCard.kt) and carries the Premium mark, the gold "bullion"
 * bookmark. All selectors are ac-* or scoped to #account-page so nothing
 * here leaks into other pages. */

#account-page.page--standalone { max-width: 1120px; padding-top: 40px; }

.ac-head { margin-bottom: 28px; }
.ac-head h1 { font: 600 2.6rem/1.05 var(--font-display); letter-spacing: -.015em; color: var(--text); }
.ac-head-email { margin-top: 8px; color: var(--text-2); font-size: .95rem; }

.ac-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.ac-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
#billing-card { display: contents; }
.ac-free { display: flex; flex-direction: column; gap: 20px; }
.ac-free.hidden { display: none; }

.ac-card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 24px;
}
.ac-card-title {
  display: flex; align-items: center; gap: 10px; margin: 0 0 16px;
  font: 650 .72rem/1 var(--font-ui); letter-spacing: .13em; text-transform: uppercase; color: var(--text-3);
}
.ac-card-title::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.ac-card-title .streak-chip { order: 2; letter-spacing: 0; text-transform: none; }
.ac-kicker { font-size: .72rem; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; color: var(--accent); }

/* ── Premium card ─────────────────────────────────────────────── */
.ac-member {
  padding: 30px 32px 26px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(201,162,106,.22) 0%, rgba(201,162,106,.06) 38%, transparent 70%),
    var(--surface);
}
.ac-member > * { position: relative; }
.ac-member > .ac-wm {
  position: absolute; right: -46px; top: -58px; width: 290px; height: 290px;
  opacity: .12; transform: rotate(-8deg); pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 60% 40%, #000 42%, transparent 78%);
          mask-image: radial-gradient(circle at 60% 40%, #000 42%, transparent 78%);
}
.ac-member-top { display: flex; align-items: center; gap: 8px; }
.ac-mark { width: 20px; height: 20px; flex: none; }
.ac-member-title { font: 600 2.9rem/1.05 var(--font-display); letter-spacing: -.015em; margin: 6px 0 0; color: var(--text); }
.ac-plan-line { margin: 6px 0 0; color: var(--text-2); font-size: .95rem; }

.ac-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.ac-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 13px;
  border-radius: 99px; font-size: .85rem; font-weight: 600;
  background: rgba(0,0,0,.22); border: 1px solid var(--border); color: var(--text);
}
.ac-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.ac-pill--good    { color: var(--success); }
.ac-pill--caution { color: var(--accent); }
.ac-pill--alert   { color: #d9786a; }
.ac-pill--muted   { color: var(--text-2); }
.ac-member:has(#status-past-due:not(.hidden)) { border-color: rgba(217,120,106,.45); }

.ac-facts {
  display: grid; grid-template-columns: repeat(3, 1fr); margin: 22px 0 0;
  border: 1px solid var(--border); border-radius: 13px; background: rgba(0,0,0,.18);
}
.ac-facts.hidden { display: none; }
.ac-facts--2 { grid-template-columns: repeat(2, 1fr); }
.ac-facts--1 { grid-template-columns: 1fr; }
.ac-fact { padding: 13px 16px; min-width: 0; }
.ac-fact + .ac-fact { border-left: 1px solid var(--border); }
.ac-fact dt { font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.ac-fact dd { margin: 3px 0 0; font-size: .95rem; font-weight: 550; color: var(--text); }
.ac-fact dd small { color: var(--text-3); font-weight: 400; font-size: .82rem; white-space: nowrap; }

.ac-note { margin: 16px 0 0; color: var(--text-2); font-size: .9rem; line-height: 1.55; max-width: 560px; }
.ac-note strong { color: var(--text); font-weight: 600; }

.ac-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ac-actions .btn { margin-top: 0; white-space: nowrap; }
#account-page .ac-actions .btn-ghost { color: var(--text); }
.ac-quiet {
  margin-left: auto; background: none; border: 0; cursor: pointer;
  color: var(--text-3); font-size: .85rem;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(167,159,144,.4);
}
.ac-quiet:hover { color: var(--text-2); }

.ac-working { height: 4px; border-radius: 4px; margin-top: 22px; background: rgba(0,0,0,.35); overflow: hidden; }
.ac-working span { display: block; width: 40%; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--accent-dim), #e2c28f); animation: ac-work 1.4s ease-in-out infinite; }
@keyframes ac-work { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@media (prefers-reduced-motion: reduce) { .ac-working span { animation: none; width: 60%; } }

/* Check chips (Premium perks) and the stacked checklist (offer) */
.ac-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ac-checks li {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 13px 0 7px;
  border-radius: 99px; font-size: .85rem; font-weight: 500; color: var(--text);
  background: rgba(201,162,106,.07); border: 1px solid rgba(201,162,106,.22);
}
.ac-checks li::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.3l2.6 2.6L14 7.6' fill='none' stroke='%231b1510' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.ac-perks { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.ac-checks--stack { flex-direction: column; gap: 10px; }
.ac-checks--stack li { height: auto; padding: 0; background: none; border: 0; font-size: .95rem; gap: 11px; }

/* ── Free plan ───────────────────────────────────────────────── */
.ac-lapsed { margin: -4px 0 16px; color: var(--text-2); font-size: .9rem; }
.ac-freebook { display: flex; gap: 22px; align-items: center; margin-bottom: 20px; }
.ac-freebook.hidden { display: none; }
.ac-cover {
  width: 96px; aspect-ratio: 2 / 3; flex: none; border-radius: 5px; overflow: hidden;
  background: var(--surface-hi);
  box-shadow: 0 14px 26px -12px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.05);
}
.ac-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ac-fb-meta { min-width: 0; }
.ac-fb-meta h3 { font: 600 1.9rem/1.1 var(--font-display); margin: 6px 0 0; color: var(--text); }
.ac-fb-meta h3 a { color: inherit; text-decoration: none; }
.ac-fb-by { color: var(--text-2); font-size: .92rem; margin-top: 3px; }
.ac-prog { display: flex; align-items: center; gap: 12px; margin-top: 14px; max-width: 420px; }
.ac-prog-track { flex: 1; height: 5px; border-radius: 5px; background: var(--surface-hi); overflow: hidden; }
.ac-prog-track span { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--accent-dim), #e2c28f); }
.ac-prog small { color: var(--text-2); font-size: .82rem; white-space: nowrap; }
.ac-fb-meta .btn { margin-top: 16px; }
.ac-free-note {
  margin: 0; padding: 13px 16px; border-radius: 12px; font-size: .9rem; color: var(--text-2);
  background: rgba(0,0,0,.18); border: 1px solid var(--border);
}
.ac-free-note strong { color: var(--text); font-weight: 600; }

.ac-offer {
  padding: 0; display: grid; grid-template-columns: 1.1fr 1fr; border-color: #574330;
  background: radial-gradient(140% 120% at 100% 0%, #4a3822 0%, #2b2219 45%, #201a14 100%);
}
.ac-offer-pitch { padding: 30px 32px; }
.ac-offer-pitch h2 { font: 600 2.1rem/1.1 var(--font-display); letter-spacing: -.01em; margin: 8px 0 20px; color: var(--text); }
.ac-offer-buy { padding: 26px 28px; background: rgba(0,0,0,.2); border-left: 1px solid rgba(87,67,48,.7); }
.ac-plans { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
/* style.css's .plan-picker is a two-column grid for other pages; the account
   card's plans are full-width rows (radio · name · price). */
.ac-plans.plan-picker { grid-template-columns: 1fr; }
.ac-save { white-space: nowrap; }
.ac-plan {
  display: flex; align-items: center; gap: 12px; padding: 13px 14px; cursor: pointer;
  border: 1px solid var(--border); border-radius: 13px; background: rgba(0,0,0,.18);
  transition: border-color .15s, background .15s;
}
.ac-plan input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; flex: none; }
.ac-plan:has(input:checked) { border-color: var(--accent); background: rgba(201,162,106,.08); }
.ac-plan:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.ac-plan-name { flex: 1; font-weight: 600; color: var(--text); }
.ac-plan-name small { display: block; color: var(--text-3); font-weight: 400; font-size: .8rem; }
.ac-plan-price { font: 600 1.2rem var(--font-display); color: var(--text); white-space: nowrap; }
.ac-plan-price small { font: 400 .8rem var(--font-ui); color: var(--text-3); }
.ac-save { font-size: .66rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #1b1510; background: var(--accent); border-radius: 99px; padding: 2px 7px; margin-left: 6px; vertical-align: 2px; }
.ac-buy { width: 100%; height: 48px; margin-top: 16px; font-size: 1rem; justify-content: center; }
.ac-fine { margin: 12px 0 0; font-size: .75rem; line-height: 1.5; color: var(--text-3); }
.ac-fine strong { color: var(--text-2); font-weight: 600; }
.ac-trust { margin: 8px 0 0; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .78rem; color: var(--text-3); }
.ac-incomplete { margin: 0 0 14px; color: var(--text); font-size: .92rem; }

/* ── Verify banner ───────────────────────────────────────────── */
.ac-verify {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 13px;
  border: 1px solid rgba(217,142,82,.35); background: rgba(217,142,82,.08); font-size: .9rem;
}
.ac-verify.hidden { display: none; }
.ac-verify-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); flex: none; }
.ac-verify-text { flex: 1; color: var(--text-2); }
.ac-verify-text strong { color: var(--text); font-weight: 600; }
.ac-link-btn { background: none; border: 0; cursor: pointer; color: var(--accent); font-weight: 600; font-size: .88rem; white-space: nowrap; }
.ac-link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.ac-link-btn:disabled { color: var(--text-3); text-decoration: none; cursor: default; }

/* ── Listening ───────────────────────────────────────────────── */
#listening-card .listening-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
#listening-card .listening-stat { text-align: left; padding: 14px 16px; background: rgba(0,0,0,.18); border: 1px solid var(--border); border-radius: 13px; }
#listening-card .listening-stat-value { font: 500 1.85rem/1.1 var(--font-display); font-variant-numeric: tabular-nums; color: var(--text); }
#listening-card .listening-stat-value small { font-size: 1rem; color: var(--text-2); margin-left: 1px; }
#listening-card .listening-stat-label { font-size: .8rem; color: var(--text-3); }

/* ── Sidebar ─────────────────────────────────────────────────── */
.ac-side .ac-card { padding: 20px; }
.ac-who { display: flex; align-items: center; gap: 14px; }
.ac-who-text { min-width: 0; }
#account-page .account-avatar { width: 54px; height: 54px; font-size: 1.3rem; position: relative; overflow: visible; box-shadow: none; }
#account-page .account-name { font-size: 1rem; font-weight: 650; }
#account-page .account-email { font-size: .85rem; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; }
.ac-field-label { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 6px; font-size: .82rem; font-weight: 600; color: var(--text); }
.ac-field-label a { color: var(--accent); font-weight: 600; text-decoration: none; }
.ac-field-label a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ac-hint { margin: 6px 0 0; font-size: .78rem; color: var(--text-3); }

.ac-rows { margin: -6px -8px; display: flex; flex-direction: column; }
.ac-row {
  display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 10px;
  color: var(--text); text-decoration: none;
}
.ac-row + .ac-row { border-top: 1px solid rgba(58,49,41,.6); }
a.ac-row:hover { background: rgba(255,255,255,.03); }
a.ac-row:hover .ac-go { color: var(--accent); }
.ac-ic { width: 32px; height: 32px; border-radius: 9px; background: var(--accent-glow); color: var(--accent); display: grid; place-items: center; flex: none; }
.ac-ic svg { width: 17px; height: 17px; }
.ac-row-text { flex: 1; min-width: 0; font-size: .92rem; }
.ac-row-text small { display: block; color: var(--text-3); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; }
.ac-go { color: var(--text-3); font-size: 1.3rem; line-height: 1; }
.ac-ok { font-size: .8rem; font-weight: 600; white-space: nowrap; }
.ac-ok--yes { color: var(--success); }
.ac-ok--no  { color: var(--warn); }
.ac-row .btn-sm { margin: 0; white-space: nowrap; }
.ac-side-foot { padding: 0 2px; }

/* ── Premium mark on the avatar (sidebar + nav) ──────────────── */
#account-page .avatar--premium { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--accent) !important; }
#account-page .avatar-badge {
  position: absolute; right: -6px; bottom: -10px; width: 17px; height: 32px;
  display: block; pointer-events: none; filter: drop-shadow(0 1px 2px rgba(0,0,0,.7));
}
#account-page .avatar-badge svg { display: block; width: 100%; height: 100%; }

/* ── Phones ──────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .ac-grid { grid-template-columns: 1fr; gap: 16px; }
  .ac-col { gap: 16px; }
}
@media (max-width: 640px) {
  #account-page.page--standalone { padding-top: 24px; }
  .ac-head h1 { font-size: 2rem; }
  .ac-card { padding: 20px; }
  .ac-member { padding: 22px 20px 20px; }
  .ac-member-title { font-size: 2.3rem; }
  .ac-member > .ac-wm { width: 190px; height: 190px; right: -34px; top: -40px; }
  .ac-facts { grid-template-columns: 1fr 1fr; }
  .ac-facts .ac-fact:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--border); }
  .ac-facts--1 { grid-template-columns: 1fr; }
  .ac-actions .btn { flex: 1 1 auto; justify-content: center; }
  .ac-quiet { margin: 6px auto 0; width: 100%; text-align: center; }
  .ac-freebook { gap: 16px; align-items: flex-start; }
  .ac-cover { width: 78px; }
  .ac-fb-meta h3 { font-size: 1.5rem; }
  .ac-offer { grid-template-columns: 1fr; }
  .ac-offer-pitch { padding: 24px 20px; }
  .ac-offer-pitch h2 { font-size: 1.75rem; }
  .ac-offer-buy { padding: 20px; border-left: 0; border-top: 1px solid rgba(87,67,48,.7); }
  #listening-card .listening-stats { grid-template-columns: 1fr 1fr; }
}

/* Username: one field with the @ inside it (polish 2026-10-18) */
#account-page .username-form {
  display: flex; align-items: center; gap: 4px; height: 42px; padding: 0 5px 0 12px;
  border: 1px solid var(--border); border-radius: 11px; background: rgba(0,0,0,.2);
}
#account-page .username-form:focus-within { border-color: var(--accent-dim); }
#account-page .username-form .username-at { color: var(--text-3); margin: 0; }
#account-page .username-form input {
  flex: 1; min-width: 0; height: auto; margin: 0; padding: 0;
  border: 0; background: none; outline: none; box-shadow: none; color: var(--text); font-size: .95rem;
}
#account-page .username-form input[aria-invalid="true"] { color: var(--danger); }
#account-page .username-form:has(input[aria-invalid="true"]) { border-color: var(--danger); }
#account-page #btn-save-username { height: 32px; margin: 0; padding: 0 13px; }

/* ── Round 2 (2026-10-18) ────────────────────────────────────── */

/* Loading placeholders in the final layout (replaces the spinner) */
.ac-skel { padding-top: 4px; }
.ac-skel.hidden { display: none; }
.ac-skel-line, .ac-skel-card {
  border-radius: 10px;
  background: linear-gradient(90deg, #211b16 0%, #2b241d 50%, #211b16 100%) 0 0 / 200% 100%;
  animation: ac-shimmer 1.4s ease-in-out infinite;
}
.ac-skel-line { height: 14px; }
.ac-skel-card { border-radius: var(--r-lg); border: 1px solid var(--border); }
@keyframes ac-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .ac-skel-line, .ac-skel-card { animation: none; } }

/* Continue listening */
.ac-continue { display: flex; align-items: center; gap: 18px; padding: 18px 22px; }
.ac-continue.hidden { display: none; }
.ac-cover--sm { width: 56px; }
.ac-continue-body { flex: 1; min-width: 0; }
.ac-continue-title { font: 600 1.4rem/1.15 var(--font-display); margin: 4px 0 0; color: var(--text); }
.ac-continue-title a { color: inherit; text-decoration: none; }
.ac-continue .ac-prog-track { margin-top: 10px; max-width: 360px; height: 4px; }
.ac-continue-play { flex: none; margin: 0; }

/* Your devices */
#devices-card.hidden { display: none; }
.ac-ic--live { background: rgba(127,163,119,.14); color: var(--success); }
.ac-ic--live svg { width: 14px; height: 14px; }
.ac-live { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(127,163,119,.18); flex: none; margin-right: 4px; }
.ac-devices-actions { margin-top: 12px; }
.ac-devices-actions:empty { display: none; }
.ac-devices-actions .btn { margin: 0; }
.ac-confirm-text { margin: 0 0 10px; font-size: .86rem; color: var(--text); }
.ac-confirm-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* Quiet delete link under Sign out */
.ac-side-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ac-delete-link { font-size: .8rem; color: var(--text-3); text-decoration: none; }
.ac-delete-link:hover { color: #d98878; text-decoration: underline; text-underline-offset: 3px; }

/* Keyboard focus: one copper ring everywhere on the page */
#account-page a:focus-visible,
#account-page button:focus-visible,
#account-page .ac-row:focus-visible,
#account-page summary:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 10px;
}
#account-page .ac-quiet:focus-visible,
#account-page .ac-link-btn:focus-visible,
#account-page .ac-delete-link:focus-visible { border-radius: 4px; }
#account-page .username-form:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (max-width: 640px) {
  .ac-continue { flex-wrap: wrap; padding: 16px; gap: 14px; }
  .ac-continue-play { width: 100%; justify-content: center; }
}

/* ── Delete-account page (2026-10-18) ────────────────────────── */
#delete-page.page--standalone { max-width: 640px; padding-top: 36px; }
.dl-back { display: inline-block; color: var(--text-2); font-size: .88rem; text-decoration: none; margin-bottom: 18px; }
.dl-back:hover { color: var(--accent); }
.dl-title { font: 600 2.2rem/1.1 var(--font-display); color: var(--text); }
.dl-lead { margin: 10px 0 24px; color: var(--text-2); font-size: 1rem; }
.dl-card { margin-bottom: 18px; }
.dl-card.hidden { display: none; }
.dl-list { margin: 0; padding-left: 20px; color: var(--text); font-size: .95rem; line-height: 1.8; }
.dl-note { margin: 14px 0 0; color: var(--text-2); font-size: .9rem; line-height: 1.55; }
.dl-note strong { color: var(--text); }
.dl-note a, .dl-help a { color: var(--accent); }
.dl-danger { border-color: rgba(217,120,106,.45); }
.dl-who { margin: 0 0 16px; color: var(--text-2); font-size: .9rem; }
.dl-who strong { color: var(--text); font-weight: 600; }
.dl-label { display: block; margin: 0 0 6px; font-size: .88rem; color: var(--text); }
.dl-input {
  width: 100%; height: 44px; padding: 0 12px; margin-bottom: 16px; border-radius: 11px;
  border: 1px solid var(--border); background: rgba(0,0,0,.2); color: var(--text); font-size: 1rem; letter-spacing: .06em;
}
.dl-input:focus { outline: 2px solid var(--accent); outline-offset: 2px; border-color: transparent; }
.dl-pw.hidden { display: none; }
.dl-check { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--text); margin-bottom: 18px; cursor: pointer; }
.dl-check input { width: 18px; height: 18px; accent-color: #d9786a; }
.dl-btn { width: 100%; height: 46px; justify-content: center; background: #d9786a; color: #1b1510; font-weight: 700; margin: 0; }
.dl-btn:disabled { background: var(--surface-hi); color: var(--text-3); cursor: not-allowed; }
.dl-done-title { font: 600 1.5rem var(--font-display); margin: 0; color: var(--text); }
.dl-done .btn, #dl-done .btn { margin-top: 16px; }
.dl-help { margin: 6px 2px 40px; color: var(--text-3); font-size: .85rem; line-height: 1.55; }
#delete-page a:focus-visible, #delete-page button:focus-visible, #delete-page input[type=checkbox]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Menu actions land here under the sticky nav (2026-10-18). */
#billing-card { scroll-margin-top: calc(var(--nav-h) + 16px); }
/* Zero tiles are left out (2026-10-18): fit the row to what's there. */
#listening-card .listening-stats[data-count="3"] { grid-template-columns: repeat(3, 1fr); }
#listening-card .listening-stats[data-count="2"] { grid-template-columns: repeat(2, 1fr); }
#listening-card .listening-stats[data-count="1"] { grid-template-columns: 1fr; }
@media (max-width: 640px) { #listening-card .listening-stats[data-count="3"] { grid-template-columns: 1fr 1fr; } }

/* ── Password reset: "check your inbox" confirmation ───────────────────── */
.ac-sent {
  display: flex; gap: 12px; align-items: flex-start;
  margin: 4px 8px 10px; padding: 14px;
  border: 1px solid rgba(201,162,106,.28); border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(201,162,106,.09), rgba(201,162,106,.03));
}
.ac-sent.is-in { animation: ac-sent-in .32s cubic-bezier(.2,.8,.2,1); }
@keyframes ac-sent-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.ac-sent-ic {
  position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent-glow); color: var(--accent);
}
.ac-sent-ic > svg { width: 16px; height: 16px; }
.ac-sent-badge {
  position: absolute; right: -3px; bottom: -3px; width: 16px; height: 16px; border-radius: 50%;
  display: grid; place-items: center; background: var(--success); color: var(--bg);
  box-shadow: 0 0 0 2px var(--surface);
}
.ac-sent-badge svg { width: 10px; height: 10px; }
.ac-sent-body { min-width: 0; }
.ac-sent-title { margin: 0 0 3px; font-family: var(--font-display); font-size: 1.02rem; color: var(--text); }
.ac-sent-text { margin: 0; font-size: .84rem; line-height: 1.5; color: var(--text-2); }
.ac-sent-email { display: block; margin: 3px 0 6px; font-size: .9rem; color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.ac-sent-meta {
  margin: 10px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px;
  font-size: .78rem; color: var(--text-3);
}
.ac-sent-open {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--accent); font-weight: 600; text-decoration: none;
}
.ac-sent-open:hover { text-decoration: underline; text-underline-offset: 3px; }
.ac-sent-open svg { width: 13px; height: 13px; }
.ac-btn-wait { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) {
  .ac-sent.is-in { animation: none; }
}
