/* Tessera — "Your Tickets" wallet. Standalone page.
 *
 * This runs inside the Hello Elementor theme + Elementor global kit, which restyles every
 * bare a / button / h1-h3 at specificity (0,1,1). So EVERY rule here is prefixed with
 * `.tt-account` (>= 0,2,0) to out-specify the kit, and a scoped reset up top neutralises
 * the kit's inherited link/button/heading styling. Do not drop the prefixes.
 */

:root {
  --tt-orange: #f26641;
  --tt-orange-dark: #d94e2b;
  --tt-orange-wash: #fdece7;
  --tt-ink: #1b1d22;
  --tt-ink-soft: #565b63;
  --tt-muted: #868c95;
  --tt-faint: #aab0b8;
  --tt-border: #e7e7ea;
  --tt-line: #f0f0f2;
  --tt-card: #ffffff;
  --tt-soft: #f6f6f4;
  --tt-page: #f7f7f5;
  --tt-green: #1a9d5b;
  --tt-red: #d64545;
  --tt-radius: 16px;
  --tt-radius-sm: 12px;
  --tt-shadow: 0 1px 2px rgba(20,22,30,.03), 0 18px 40px -28px rgba(20,22,30,.22);
}

/* Warm page backdrop + reclaim the theme's 1140px/800px content cap (wallet page only). */
body.tessera-tickets-page { background: var(--tt-page); }
body.tessera-tickets-page .site-main,
body.tessera-tickets-page .page-content,
body.tessera-tickets-page .entry-content,
body.tessera-tickets-page .elementor,
body.tessera-tickets-page .e-con,
body.tessera-tickets-page .elementor-widget-container { max-width: none !important; width: auto !important; }

/* ---- Scoped reset: neutralise the Elementor kit's a / button / heading bleed ---- */
.tt-account, .tt-account *, .tt-account *::before, .tt-account *::after { box-sizing: border-box; }
.tt-account a {
  color: inherit; text-decoration: none; font: inherit;
}
.tt-account a:hover { color: inherit; }
.tt-account button {
  font: inherit; color: inherit; background: transparent; border: 0; border-radius: 0;
  margin: 0; padding: 0; text-align: inherit; letter-spacing: inherit; text-transform: none;
  box-shadow: none; cursor: pointer; line-height: inherit;
}
.tt-account h1, .tt-account h2, .tt-account h3,
.tt-account p, .tt-account dl, .tt-account dd, .tt-account ul, .tt-account figure {
  margin: 0; padding: 0; color: inherit; font: inherit; letter-spacing: normal;
}
.tt-account ul { list-style: none; }
.tt-account img { max-width: 100%; height: auto; display: block; }
/* Our component displays (grid/flex) would otherwise beat the UA [hidden] rule; force collapse. */
.tt-account [hidden] { display: none !important; }
.tt-account code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* ---- Page container ---- */
.tt-account {
  font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--tt-ink);
  max-width: 1200px;
  margin: clamp(18px, 4vw, 44px) auto clamp(48px, 8vw, 96px);
  padding-inline: clamp(16px, 4vw, 28px);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

/* ---- Icons ---- */
.tt-account .tt-ic { width: 1em; height: 1em; display: inline-block; vertical-align: -.14em; flex: none; }

/* ---- Account subnav (Tickets / Orders / Profile) ---- */
.tt-account .tt-topnav {
  display: flex; flex-wrap: wrap; gap: clamp(14px, 3vw, 30px);
  border-bottom: 1px solid var(--tt-border);
  margin-bottom: clamp(24px, 4vw, 36px);
}
.tt-account .tt-topnav__item {
  padding: 12px 1px; color: var(--tt-muted);
  font-weight: 600; font-size: 1rem; border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .15s ease, border-color .15s ease;
}
.tt-account .tt-topnav__item:hover { color: var(--tt-ink); }
.tt-account .tt-topnav__item.is-active { color: var(--tt-ink); border-bottom-color: var(--tt-orange); }

/* ---- Header ---- */
.tt-account .tt-head { margin-bottom: clamp(20px, 3vw, 28px); }
.tt-account .tt-head__title {
  font-family: inherit;
  font-size: clamp(1.8rem, 3.6vw, 2.35rem);
  font-weight: 700; letter-spacing: -.025em; margin-bottom: 6px; color: var(--tt-ink); line-height: 1.15;
}
.tt-account .tt-head__sub { color: var(--tt-muted); font-size: 1.05rem; }

/* ---- Filter bar (counters double as tabs) ---- */
.tt-account .tt-tabs {
  display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 48px);
  border-bottom: 1px solid var(--tt-border);
  margin-bottom: clamp(28px, 4vw, 38px);
}
.tt-account .tt-tab {
  display: flex; align-items: baseline; gap: 9px;
  padding: 6px 1px 16px; margin-bottom: -1px;
  border-bottom: 2px solid transparent; color: var(--tt-muted);
  transition: color .15s ease, border-color .15s ease;
}
.tt-account .tt-tab__count { font-size: 1.6rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; color: var(--tt-faint); transition: color .15s ease; }
.tt-account .tt-tab__label { font-size: .98rem; font-weight: 600; }
.tt-account .tt-tab:hover { color: var(--tt-ink); }
.tt-account .tt-tab:hover .tt-tab__count { color: var(--tt-ink-soft); }
.tt-account .tt-tab.is-active { color: var(--tt-ink); border-bottom-color: var(--tt-orange); }
.tt-account .tt-tab.is-active .tt-tab__count { color: var(--tt-ink); }
.tt-account .tt-tab:focus-visible,
.tt-account button:focus-visible,
.tt-account a:focus-visible,
.tt-account [tabindex]:focus-visible {
  outline: 2px solid var(--tt-orange); outline-offset: 3px; border-radius: 3px;
}

/* ---- Empty state ---- */
.tt-account .tt-empty {
  border: 1px solid var(--tt-border); border-radius: var(--tt-radius);
  background: var(--tt-card); padding: 56px 24px; text-align: center; color: var(--tt-muted);
}
.tt-account.tt-account--guest { max-width: 560px; }

/* ---- Section label ---- */
.tt-account .tt-eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--tt-muted); margin-bottom: 14px;
}

/* ---- Next event ---- */
.tt-account .tt-next {
  display: grid; grid-template-columns: 176px 1fr auto; align-items: center; gap: clamp(18px, 3vw, 30px);
  padding: clamp(16px, 2.5vw, 22px);
  border: 1px solid var(--tt-border); border-radius: var(--tt-radius);
  background: var(--tt-card); box-shadow: var(--tt-shadow);
  margin-bottom: clamp(32px, 5vw, 44px);
}
.tt-account .tt-next__media { width: 176px; height: 120px; border-radius: var(--tt-radius-sm); overflow: hidden; background: var(--tt-soft); }
.tt-account .tt-next__media img { width: 100%; height: 100%; object-fit: cover; }
.tt-account .tt-next__title { font-size: clamp(1.35rem, 2.6vw, 1.65rem); font-weight: 700; margin-bottom: 12px; letter-spacing: -.02em; line-height: 1.2; }
.tt-account .tt-next__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--tt-ink-soft); font-size: .98rem; margin-bottom: 12px; }
.tt-account .tt-next__meta li { display: flex; align-items: center; gap: 8px; }
.tt-account .tt-next__meta .tt-ic { color: var(--tt-muted); font-size: 1.05em; }
.tt-account .tt-next__count { display: inline-flex; align-items: center; gap: 8px; font-size: .96rem; font-weight: 600; color: var(--tt-green); }
.tt-account .tt-next__count .tt-dot { background: var(--tt-green); }
.tt-account .tt-next__count em { color: var(--tt-muted); font-style: normal; font-weight: 500; }
.tt-account .tt-next__cta { display: flex; }

/* ---- Buttons ---- */
.tt-account .tt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; border-radius: 11px;
  padding: 12px 20px; border: 1px solid transparent; white-space: nowrap; transition: .15s;
}
.tt-account .tt-btn--primary { background: var(--tt-orange); color: #fff; }
.tt-account .tt-btn--primary:hover { background: var(--tt-orange-dark); color: #fff; }
.tt-account .tt-btn--ghost { background: #fff; color: var(--tt-ink); border-color: var(--tt-border); }
.tt-account .tt-btn--ghost:hover { background: var(--tt-soft); color: var(--tt-ink); }
.tt-account .tt-btn .tt-ic { font-size: 1.05em; }
.tt-account .tt-link {
  color: var(--tt-orange); font-weight: 600; padding: 6px 8px; border-radius: 8px;
  display: inline-flex; align-items: center; gap: 5px;
}
.tt-account .tt-link:hover { background: var(--tt-orange-wash); color: var(--tt-orange); }

/* ---- Event group ---- */
.tt-account .tt-group {
  border: 1px solid var(--tt-border); border-radius: var(--tt-radius);
  background: var(--tt-card); box-shadow: var(--tt-shadow); margin-bottom: 16px; overflow: hidden;
}
.tt-account .tt-group__head {
  width: 100%;
  display: grid; grid-template-columns: 64px 1fr auto auto; align-items: center; gap: 16px;
  padding: 16px clamp(16px, 2.5vw, 22px);
}
.tt-account .tt-group__head:hover { background: var(--tt-soft); }
.tt-account .tt-group__thumb {
  width: 64px; height: 64px; border-radius: var(--tt-radius-sm);
  background: var(--tt-soft) center/cover no-repeat; flex: none;
}
.tt-account .tt-group__title { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tt-account .tt-group__name { font-weight: 700; font-size: 1.08rem; color: var(--tt-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: -.01em; }
.tt-account .tt-group__sub { font-size: .9rem; color: var(--tt-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tt-account .tt-group__meta { text-align: right; display: flex; flex-direction: column; gap: 3px; white-space: nowrap; }
.tt-account .tt-group__count { font-weight: 700; font-size: .98rem; color: var(--tt-ink); }
.tt-account .tt-group__mix { font-size: .84rem; color: var(--tt-muted); }
.tt-account .tt-group__mix .tt-mix-valid { color: var(--tt-green); font-weight: 600; }
.tt-account .tt-group__chevron { color: var(--tt-faint); display: grid; place-items: center; font-size: 22px; transition: transform .2s ease; }
.tt-account .tt-group__head[aria-expanded="true"] .tt-group__chevron { transform: rotate(180deg); }

/* ---- Group body: rows + detail ---- */
.tt-account .tt-group__body {
  display: grid; grid-template-columns: 1fr minmax(300px, 360px); gap: clamp(18px, 2.5vw, 30px);
  align-items: start;
  padding: clamp(8px, 1.5vw, 14px) clamp(16px, 2.5vw, 22px) clamp(18px, 2.5vw, 24px);
  border-top: 1px solid var(--tt-line);
}
.tt-account .tt-panel--muted .tt-group { opacity: .96; }

/* Rows */
.tt-account .tt-rows { min-width: 0; }
.tt-account .tt-rows__head, .tt-account .tt-row {
  display: grid; grid-template-columns: minmax(0,2.2fr) minmax(0,1.5fr) minmax(0,1fr) auto;
  align-items: center; gap: 14px;
}
.tt-account .tt-rows__head {
  padding: 10px 8px 8px 11px; /* left matches .tt-row so the columns line up */
  font-size: .7rem; text-transform: uppercase; letter-spacing: .07em;
  color: var(--tt-faint); font-weight: 700;
}
.tt-account .tt-row {
  padding: 15px 8px 15px 11px; border-top: 1px solid var(--tt-line);
  position: relative; border-left: 3px solid transparent; margin-left: -3px;
  transition: background .12s ease, border-color .12s ease;
}
.tt-account [role="listitem"].tt-row { cursor: pointer; }
.tt-account .tt-row:hover { background: var(--tt-soft); }
.tt-account .tt-row[aria-selected="true"] { background: var(--tt-soft); border-left-color: var(--tt-orange); }
.tt-account .tt-row__attendee { display: flex; align-items: center; gap: 10px; font-weight: 600; min-width: 0; }
.tt-account .tt-row__attendee > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tt-account .tt-row__attendee .tt-ic { color: var(--tt-faint); font-size: 1.2em; }
.tt-account .tt-row__attendee em { color: var(--tt-muted); font-style: normal; font-weight: 500; }
.tt-account .tt-row__type { color: var(--tt-ink-soft); font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tt-account .tt-row__actions { justify-self: end; }
.tt-account .tt-row.is-cancelled .tt-row__attendee { color: var(--tt-ink-soft); }

/* "Show cancelled" toggle */
.tt-account .tt-rows__more {
  display: flex; align-items: center; gap: 7px; color: var(--tt-muted); font-weight: 600; font-size: .88rem;
  padding: 13px 8px; margin-top: 2px; border-top: 1px solid var(--tt-line); width: 100%;
}
.tt-account .tt-rows__more:hover { color: var(--tt-ink); }
.tt-account .tt-rows__more .tt-ic { transition: transform .2s ease; }
.tt-account .tt-rows__more[aria-expanded="true"] .tt-ic { transform: rotate(180deg); }

/* Status: coloured dot + label */
.tt-account .tt-status { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 600; white-space: nowrap; }
.tt-account .tt-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--tt-muted); }
.tt-account .tt-status--valid { color: var(--tt-green); } .tt-account .tt-status--valid .tt-dot { background: var(--tt-green); }
.tt-account .tt-status--cancelled { color: var(--tt-red); } .tt-account .tt-status--cancelled .tt-dot { background: var(--tt-red); }
.tt-account .tt-status--checkedin { color: var(--tt-ink-soft); } .tt-account .tt-status--checkedin .tt-dot { background: var(--tt-ink-soft); }
.tt-account .tt-status--past { color: var(--tt-muted); } .tt-account .tt-status--past .tt-dot { background: var(--tt-faint); }

/* ---- Digital ticket (detail) ---- */
.tt-account .tt-detail { position: relative; }
.tt-account .tt-detail__switch {
  display: none; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px;
}
.tt-account .tt-detail__switch button {
  border: 1px solid var(--tt-border); background: #fff; border-radius: 10px;
  width: 40px; height: 40px; display: grid; place-items: center; color: var(--tt-ink);
}
.tt-account .tt-detail__switch button:hover { background: var(--tt-soft); }
.tt-account .tt-detail__pos { font-size: .9rem; color: var(--tt-muted); font-weight: 600; font-variant-numeric: tabular-nums; }

.tt-account .tt-ticket {
  border: 1px solid var(--tt-border); border-radius: var(--tt-radius); overflow: hidden; background: #fff;
  position: sticky; top: 16px; box-shadow: var(--tt-shadow);
}
.tt-account .tt-ticket__head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 18px; border-bottom: 1px solid var(--tt-line);
}
.tt-account .tt-ticket__brand { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tt-orange); }
.tt-account .tt-ticket__body { padding: 18px 18px 16px; text-align: center; }
.tt-account .tt-ticket__event { font-size: 1.12rem; font-weight: 700; margin-bottom: 4px; letter-spacing: -.01em; line-height: 1.25; }
.tt-account .tt-ticket__attendee { font-size: 1rem; font-weight: 600; margin-top: 8px; }
.tt-account .tt-ticket__attendee em { color: var(--tt-muted); font-style: normal; font-weight: 500; }
.tt-account .tt-ticket__type { color: var(--tt-ink-soft); font-size: .92rem; margin-bottom: 12px; }
.tt-account .tt-ticket__when { color: var(--tt-ink-soft); font-size: .88rem; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.tt-account .tt-ticket__when span { display: inline-flex; align-items: center; gap: 7px; }
.tt-account .tt-ticket__when .tt-ic { color: var(--tt-muted); }

/* QR centrepiece on a perforated stub */
.tt-account .tt-ticket__stub {
  margin-top: 16px; padding: 20px 18px 18px; border-top: 2px dashed var(--tt-border);
  background: var(--tt-soft); position: relative;
}
.tt-account .tt-ticket__stub::before, .tt-account .tt-ticket__stub::after {
  content: ''; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--tt-page); border: 1px solid var(--tt-border);
  clip-path: inset(11px 0 0 0);
}
.tt-account .tt-ticket__stub::before { left: -12px; }
.tt-account .tt-ticket__stub::after { right: -12px; }
.tt-account .tt-qr { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.tt-account .tt-qr__img {
  width: 200px; max-width: 100%; height: auto; aspect-ratio: 1/1; image-rendering: pixelated;
  background: #fff; padding: 12px; border-radius: 12px; border: 1px solid var(--tt-border);
}
.tt-account .tt-qr__img:not([src]) { min-height: 200px; background: #fff; }
.tt-account .tt-qr__code { font-size: 1rem; letter-spacing: .08em; color: var(--tt-ink); font-weight: 500; }
.tt-account .tt-qr__order { font-size: .82rem; color: var(--tt-muted); }
.tt-account .tt-qr--void {
  min-height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; text-align: center; color: var(--tt-muted); font-size: .94rem; padding: 24px;
}
.tt-account .tt-qr--void .tt-ic { font-size: 34px; color: var(--tt-red); }
.tt-account .tt-ticket__actions { margin-top: 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.tt-account .tt-ticket__actions .tt-btn { width: 100%; }
.tt-account .tt-resend__msg { font-size: .86rem; min-height: 1em; text-align: center; }
.tt-account .tt-resend__msg.is-ok { color: var(--tt-green); }
.tt-account .tt-resend__msg.is-error { color: var(--tt-red); }

/* ---- Shared: card, back link, page-head row, flash ---- */
.tt-account .tt-card {
  border: 1px solid var(--tt-border); border-radius: var(--tt-radius);
  background: var(--tt-card); box-shadow: var(--tt-shadow);
}
.tt-account .tt-back {
  display: inline-flex; align-items: center; gap: 5px; color: var(--tt-muted);
  font-weight: 600; font-size: .92rem; margin-bottom: 16px;
}
.tt-account .tt-back:hover { color: var(--tt-ink); }
.tt-account .tt-head--row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tt-account .tt-flash {
  border-radius: var(--tt-radius-sm); padding: 14px 16px; margin-bottom: 20px; font-weight: 600; font-size: .95rem;
}
.tt-account .tt-flash.is-ok { background: #e8f6ee; color: var(--tt-green); }
.tt-account .tt-flash.is-error { background: #fdeeee; color: var(--tt-red); }

/* ---- Orders list ---- */
.tt-account .tt-orders { display: flex; flex-direction: column; gap: 12px; }
.tt-account .tt-order {
  display: grid; grid-template-columns: 1fr auto auto 24px; align-items: center; gap: clamp(14px, 3vw, 28px);
  padding: 18px clamp(16px, 2.5vw, 22px);
  border: 1px solid var(--tt-border); border-radius: var(--tt-radius);
  background: var(--tt-card); box-shadow: var(--tt-shadow);
  transition: border-color .12s ease, background .12s ease;
}
.tt-account .tt-order:hover { border-color: var(--tt-faint); background: var(--tt-soft); }
.tt-account .tt-order__main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tt-account .tt-order__num { font-weight: 700; font-size: 1.02rem; color: var(--tt-ink); }
.tt-account .tt-order__meta { font-size: .88rem; color: var(--tt-muted); }
.tt-account .tt-order__total { font-weight: 700; color: var(--tt-ink); white-space: nowrap; }
.tt-account .tt-order__go { color: var(--tt-faint); display: grid; place-items: center; font-size: 18px; }

/* ---- Order detail ---- */
.tt-account .tt-orddetail { padding: clamp(16px, 2.5vw, 24px); }
.tt-account .tt-oitems { display: flex; flex-direction: column; }
.tt-account .tt-oitem {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px;
  padding: 14px 2px; border-bottom: 1px solid var(--tt-line);
}
.tt-account .tt-oitem:last-child { border-bottom: 0; }
.tt-account .tt-oitem__name { font-weight: 600; color: var(--tt-ink); }
.tt-account .tt-oitem__qty { color: var(--tt-muted); font-size: .9rem; }
.tt-account .tt-oitem__amt { font-weight: 600; color: var(--tt-ink); white-space: nowrap; }
.tt-account .tt-onote { margin: 10px 0 0; font-size: .88rem; line-height: 1.45; color: var(--tt-muted); }
.tt-account .tt-ototals { margin-top: 8px; padding-top: 14px; border-top: 2px solid var(--tt-line); display: grid; gap: 8px; }
.tt-account .tt-ototals__row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.tt-account .tt-ototals__row dt { color: var(--tt-muted); font-size: .92rem; }
.tt-account .tt-ototals__row dd { font-weight: 600; color: var(--tt-ink); }
.tt-account .tt-ototals__row:last-child dt, .tt-account .tt-ototals__row:last-child dd { font-size: 1.05rem; font-weight: 700; }
.tt-account .tt-orddetail__cta { margin-top: 20px; }

/* ---- Profile form ---- */
.tt-account .tt-form { display: flex; flex-direction: column; gap: 20px; max-width: 720px; }
.tt-account .tt-fieldset { padding: clamp(18px, 2.5vw, 26px); }
.tt-account .tt-fieldset__title { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 4px; }
.tt-account .tt-fieldset__hint { color: var(--tt-muted); font-size: .9rem; margin-bottom: 18px; }
.tt-account .tt-fieldset__title + .tt-fields { margin-top: 16px; }
.tt-account .tt-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 20px; }
.tt-account .tt-field { display: flex; flex-direction: column; gap: 7px; }
.tt-account .tt-field label { font-size: .85rem; font-weight: 600; color: var(--tt-ink-soft); }
.tt-account input[type="text"],
.tt-account input[type="email"],
.tt-account input[type="password"] {
  font: inherit; color: var(--tt-ink); background: #fff;
  border: 1px solid var(--tt-border); border-radius: 10px;
  padding: 11px 13px; width: 100%; transition: border-color .12s ease, box-shadow .12s ease;
}
.tt-account input:focus {
  outline: none; border-color: var(--tt-orange);
  box-shadow: 0 0 0 3px var(--tt-orange-wash);
}
.tt-account input::placeholder { color: var(--tt-faint); }
.tt-account .tt-form__actions { display: flex; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .tt-account .tt-order { grid-template-columns: 1fr auto; grid-template-areas: 'main go' 'status total'; row-gap: 8px; }
  .tt-account .tt-order__main { grid-area: main; }
  .tt-account .tt-order__go { grid-area: go; align-self: start; }
  .tt-account .tt-order__status { grid-area: status; }
  .tt-account .tt-order__total { grid-area: total; justify-self: end; }
  .tt-account .tt-fields { grid-template-columns: 1fr; }

  .tt-account .tt-next { grid-template-columns: 96px 1fr; }
  .tt-account .tt-next__cta { grid-column: 1 / -1; }
  .tt-account .tt-next__cta .tt-btn { width: 100%; }
  .tt-account .tt-next__media { width: 96px; height: 96px; }

  .tt-account .tt-group__head { grid-template-columns: 48px 1fr auto; gap: 12px; }
  .tt-account .tt-group__thumb { width: 48px; height: 48px; }
  .tt-account .tt-group__meta { display: none; }

  .tt-account .tt-group__body { grid-template-columns: 1fr; }

  .tt-account .tt-rows__head { display: none; }
  .tt-account .tt-row {
    grid-template-columns: 1fr auto; grid-template-areas: 'who status' 'type status';
    gap: 3px 14px; padding: 15px 8px 15px 11px; align-items: center;
  }
  .tt-account .tt-row__attendee { grid-area: who; }
  .tt-account .tt-row__type { grid-area: type; font-size: .86rem; }
  .tt-account .tt-row__status { grid-area: status; align-self: center; }
  .tt-account .tt-row__actions { display: none; }

  .tt-account .tt-detail { display: none; margin-top: 16px; }
  .tt-account .tt-detail.is-open { display: block; }
  .tt-account .tt-detail__switch:not([hidden]) { display: flex; }
  .tt-account .tt-ticket { position: static; }
  .tt-account .tt-qr__img { width: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  .tt-account .tt-group__chevron, .tt-account .tt-row, .tt-account .tt-btn,
  .tt-account .tt-tab, .tt-account .tt-rows__more .tt-ic { transition: none; }
}
