/* Account surfaces only. Keep the storefront and guest album unchanged. */
.account-page .purchase-history-panel > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 44px; list-style: none; cursor: pointer; }
.account-page .purchase-history-panel > summary::-webkit-details-marker { display: none; }
.account-page .purchase-history-panel > summary:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 5px; border-radius: 4px; }
.account-page .purchase-history-panel > summary h2 { margin: 0; min-width: 0; }
.account-page .history-toggle { flex-shrink: 0; color: var(--accent-text); font-size: var(--t-sm); }
.account-page .purchase-history-panel[open] > summary { margin-bottom: var(--s-3); }
.account-page .purchase-history-panel[open] .history-expand, .account-page .purchase-history-panel:not([open]) .history-collapse { display: none; }
.account-page .wrap { max-width: 720px; }
.account-page .topbar { margin-bottom: var(--s-5); }
.account-page .journey-step { color: var(--dim); font-size: var(--t-sm); margin-bottom: var(--s-2); }
.account-page h1 { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, ui-serif, serif; }
.account-page h2 { font-size: var(--t-lg); margin-top: 0; }
.account-page h3 { font-size: var(--t-md); margin: 0 0 var(--s-2); }
.account-page .account-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.account-page .account-actions button { width: auto; margin-top: var(--s-2); }
.account-page .purchase-ref, .account-page .account-email, .account-page .hostbar { overflow-wrap: anywhere; }
.account-page .purchase-history + .purchase-history { margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.account-page .purchase-history p { margin: var(--s-2) 0; }
.account-page .manage { color: var(--accent-text); font-size: var(--t-sm); font-weight: 650; flex-shrink: 0; }
.account-page .eventrow .meta b { overflow-wrap: anywhere; }
.account-page [hidden] { display: none !important; }
.account-page #sent:focus { outline: none; }
.checkout-page .sub { overflow-wrap: anywhere; }
.account-page .checkout-inclusions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2) var(--s-5); padding-left: var(--s-4); margin: var(--s-4) 0; font-size: var(--t-sm); }
.account-page .checkout-inclusions li { overflow-wrap: anywhere; }
.account-page .checkout-state, .account-page #purchase-email { overflow-wrap: anywhere; }
.account-page .checkout-state[data-state="pending"] { color: var(--accent-text); }
@media (max-width: 420px) {
  .account-page .checkout-inclusions { grid-template-columns: minmax(0, 1fr); }
  .account-page .eventrow { display: grid; grid-template-columns: 52px minmax(0, 1fr); }
  .account-page .manage { grid-column: 2; margin-left: 0; justify-self: start; }
}
