/* AY Accounts shared UI kit. Approved design: AY Accounts · Design canvas (1 Nov 2026).
   Dark-first AY tokens, Dubai Font for all text, Bricolage Grotesque for numbers and titles. Self-hosted fonts only. */

@font-face { font-family: 'Dubai'; src: url('/fonts/DubaiW23-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Dubai'; src: url('/fonts/DubaiW23-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Dubai'; src: url('/fonts/DubaiW23-Bold.woff2') format('woff2'); font-weight: 700 800; font-display: swap; }
@font-face { font-family: 'Bricolage Grotesque'; src: url('/fonts/bricolage-grotesque-latin-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Bricolage Grotesque'; src: url('/fonts/bricolage-grotesque-latin-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Bricolage Grotesque'; src: url('/fonts/bricolage-grotesque-latin-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }

.ay-acc {
  --ay-bg: #08090A; --ay-s1: #111413; --ay-s2: #171B19; --ay-s3: #1E2321;
  --ay-mint: #4FFFB0; --ay-mint2: #22C98A; --ay-on-mint: #03271D;
  --ay-lilac: #AFA9EC; --ay-lilac-hi: #C9C4F5; --ay-on-lilac: #1B1640;
  --ay-gold: #FFD27A; --ay-gold2: #F2A93B; --ay-coral: #FF8A7A;
  --ay-text: #F4F7F5; --ay-text2: #A7B0AB; --ay-text3: #8A938E;
  --ay-line: rgba(255,255,255,0.08); --ay-ring: rgba(255,255,255,0.07);
  --ay-font: 'Dubai', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ay-num: 'Bricolage Grotesque', 'Dubai', system-ui, sans-serif;
  --ay-accent: var(--ay-mint);
  font-family: var(--ay-font); color: var(--ay-text);
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  box-sizing: border-box; line-height: 1.45;
}
.ay-acc *, .ay-acc *::before, .ay-acc *::after { box-sizing: inherit; }
.ay-acc[data-accent="lilac"] { --ay-accent: var(--ay-lilac); }
.ay-acc[data-accent="gold"] { --ay-accent: var(--ay-gold); }
.ay-acc button, .ay-acc input, .ay-acc select { font: inherit; color: inherit; }
.ay-acc a { color: var(--ay-mint); text-decoration: none; font-weight: 700; }
.ay-acc :focus-visible { outline: 2px solid var(--ay-mint); outline-offset: 2px; border-radius: 12px; }
.ay-acc [tabindex="-1"]:focus { outline: none; }
.ay-acc bdi { unicode-bidi: isolate; }
.ay-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layers */
.ay-layer { position: fixed; inset: 0; z-index: 2147483000; display: flex; justify-content: center; }
.ay-screen { position: relative; width: 100%; max-width: 480px; height: 100%; background: var(--ay-bg); overflow-y: auto;
  display: flex; flex-direction: column; padding: max(14px, env(safe-area-inset-top)) 20px 0; animation: ay-in .22s ease-out; }
.ay-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.62); animation: ay-fade .2s ease-out; }
.ay-sheet { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: 480px; max-height: calc(100% - 44px);
  overflow-y: auto; background: var(--ay-s1); border-radius: 28px 28px 0 0; box-shadow: 0 -12px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
  padding: 10px 20px max(22px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 16px; animation: ay-up .26s cubic-bezier(.2,.8,.2,1); }
.ay-sheet.tall { max-height: calc(100% - 44px); }
/* Masroof 3.3.10 QA F8: on iOS's short web layer (html.short-layer, set only by Masroof's layer3310.js) iOS's own band
   already covers the home indicator, so the sheets use the app's --pad-bottom (0 there) instead of the safe area, as
   Masroof's own sheets do. Apps that never set html.short-layer are unchanged. The keyboard rule below still wins. */
html.short-layer .ay-sheet { padding-bottom: max(22px, var(--pad-bottom, 0px)); }
html.short-layer .ay-foot { padding-bottom: max(22px, var(--pad-bottom, 0px)); }
/* 3.3.7: keyboard open (the layer follows the visual viewport): the sheet may use the whole visible height and its
   bottom padding drops the home-indicator inset (the keyboard covers it). */
.ay-layer.ay-kb .ay-sheet { max-height: 100%; border-radius: 22px 22px 0 0; padding-bottom: 16px; }
.ay-handle { width: 40px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.18); margin: 0 auto 4px; flex: none; }
@keyframes ay-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes ay-up { from { transform: translate(-50%, 24px); opacity: .4; } to { transform: translate(-50%, 0); opacity: 1; } }
@keyframes ay-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- type */
.ay-h1 { margin: 0; font-family: var(--ay-num); font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; }
.ay-h2 { margin: 0; font-family: var(--ay-num); font-size: 22px; line-height: 1.2; font-weight: 800; }
.ay-h3 { margin: 0; font-family: var(--ay-num); font-size: 17px; line-height: 1.25; font-weight: 700; }
.ay-acc[dir="rtl"] .ay-h1, .ay-acc[dir="rtl"] .ay-h2, .ay-acc[dir="rtl"] .ay-h3 { font-family: var(--ay-font); letter-spacing: 0; }
.ay-body { font-size: 16px; color: var(--ay-text2); margin: 0; }
.ay-small { font-size: 13px; color: var(--ay-text2); margin: 0; }
.ay-hint { font-size: 12px; color: var(--ay-text3); margin: 0; }
.ay-label { font-size: 12px; font-weight: 700; color: var(--ay-text3); text-transform: uppercase; letter-spacing: .06em; padding: 0 4px; }
.ay-acc[dir="rtl"] .ay-label { text-transform: none; letter-spacing: 0; font-size: 13px; }
.ay-num { font-family: var(--ay-num); font-variant-numeric: tabular-nums; }
.ay-center { text-align: center; align-items: center; }
.ay-stack { display: flex; flex-direction: column; gap: 12px; }
.ay-stack.lg { gap: 18px; }
.ay-row { display: flex; align-items: center; gap: 10px; }
.ay-grow { flex: 1; min-width: 0; }

/* ---------- top bar */
.ay-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; flex: none; }
.ay-top .ay-title { font-family: var(--ay-num); font-weight: 700; font-size: 17px; }
.ay-acc[dir="rtl"] .ay-top .ay-title { font-family: var(--ay-font); }
.ay-iconbtn { width: 44px; height: 44px; border-radius: 14px; border: 0; background: var(--ay-s1); box-shadow: inset 0 0 0 1px var(--ay-ring);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.ay-acc .ay-link { background: none; border: 0; padding: 0 4px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--ay-mint); cursor: pointer; }
.ay-acc .ay-link.muted { color: var(--ay-text2); }
.ay-acc .ay-link.coral { color: var(--ay-coral); }
.ay-acc .ay-link.gold { color: var(--ay-gold); }
.ay-acc .ay-link.lilac { color: var(--ay-lilac); }

/* ---------- marks and tiles */
.ay-mark { width: 60px; height: 60px; border-radius: 18px; background: var(--ay-s2); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10);
  display: flex; align-items: center; justify-content: center; font-family: var(--ay-num); font-weight: 800; font-size: 25px; color: var(--ay-mint); letter-spacing: -0.02em; }
.ay-tile { width: 44px; height: 44px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ay-tile.sm { width: 36px; height: 36px; border-radius: 11px; }
.ay-tile.lg { width: 60px; height: 60px; border-radius: 18px; }
.ay-tile.mint { background: linear-gradient(135deg, var(--ay-mint), var(--ay-mint2)); color: var(--ay-on-mint); }
.ay-tile.lilac { background: linear-gradient(135deg, var(--ay-lilac-hi), var(--ay-lilac)); color: var(--ay-on-lilac); }
.ay-tile.gold { background: linear-gradient(135deg, var(--ay-gold), var(--ay-gold2)); color: #3A2600; }
.ay-tile.dark { background: linear-gradient(135deg, #2B312E, var(--ay-s3)); color: var(--ay-text); }
.ay-tile.soft { background: rgba(255,255,255,0.05); color: var(--ay-text2); }
.ay-tile.soft-mint { background: rgba(79,255,176,0.10); color: var(--ay-mint); }
.ay-tile.soft-coral { background: rgba(255,138,122,0.12); color: var(--ay-coral); }
.ay-tile.soft-gold { background: rgba(255,210,122,0.12); color: var(--ay-gold); }
.ay-tile.soft-lilac { background: rgba(175,169,236,0.14); color: var(--ay-lilac); }
.ay-ico { width: 20px; height: 20px; flex: none; }
.ay-acc[dir="rtl"] .ay-flip { transform: scaleX(-1); }

/* ---------- buttons */
.ay-btn { min-height: 54px; width: 100%; border-radius: 18px; border: 0; padding: 0 18px; font-size: 16px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; transition: transform .08s ease, opacity .15s ease; }
.ay-btn:active { transform: scale(.985); }
.ay-btn[disabled] { cursor: not-allowed; }
.ay-btn.primary { background: linear-gradient(135deg, var(--ay-mint), var(--ay-mint2)); color: var(--ay-on-mint); }
.ay-btn.primary[disabled] { background: var(--ay-s3); color: var(--ay-text3); }
.ay-btn.google { background: #F4F7F5; color: #0B0D0C; }
.ay-btn.secondary { background: var(--ay-s2); color: var(--ay-text); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); }
.ay-btn.danger { background: rgba(255,138,122,0.12); color: var(--ay-coral); box-shadow: inset 0 0 0 1px rgba(255,138,122,0.35); }
.ay-btn.danger[disabled] { opacity: .45; }
.ay-btn.lilac { background: linear-gradient(135deg, var(--ay-lilac-hi), var(--ay-lilac)); color: var(--ay-on-lilac); }
.ay-btn .ay-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: ay-rot .8s linear infinite; }
/* Masroof 3.3.6: the same spinner outside a button (sign-in waiting, "Signing you in…"). */
.ay-row > .ay-spin { display: inline-block; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--ay-mint, #4fffb0); border-right-color: transparent; animation: ay-rot .8s linear infinite; }
@keyframes ay-rot { to { transform: rotate(360deg); } }
.ay-foot { position: sticky; bottom: 0; margin: auto -20px 0; padding: 16px 20px max(22px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(8,9,10,0), var(--ay-bg) 30%); display: flex; flex-direction: column; gap: 10px; }
.ay-sheet .ay-foot { margin: 0 -20px -22px; background: linear-gradient(180deg, rgba(17,20,19,0), var(--ay-s1) 30%); }
.ay-divider { display: flex; align-items: center; gap: 10px; color: var(--ay-text3); font-size: 13px; }
.ay-divider::before, .ay-divider::after { content: ''; flex: 1; height: 1px; background: var(--ay-line); }
.ay-divider:empty { gap: 0; }

/* ---------- fields */
.ay-field { display: flex; flex-direction: column; gap: 8px; }
.ay-field label { font-size: 14px; font-weight: 700; color: var(--ay-text2); padding: 0 4px; }
.ay-input { min-height: 54px; border-radius: 16px; border: 0; background: var(--ay-s2); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10);
  color: var(--ay-text); font-size: 16px; padding: 0 16px; width: 100%; }
.ay-input:focus { outline: none; box-shadow: inset 0 0 0 1px rgba(79,255,176,0.45); }
.ay-input.bad { box-shadow: inset 0 0 0 1px rgba(255,138,122,0.6); }
.ay-input[dir="ltr"] { text-align: left; }
.ay-acc[dir="rtl"] .ay-input[dir="ltr"] { text-align: right; }
.ay-err { display: flex; align-items: center; gap: 8px; color: var(--ay-coral); font-size: 14px; font-weight: 700; }

/* code boxes: LTR in both languages */
.ay-code { display: flex; gap: 8px; justify-content: center; direction: ltr; }
.ay-code input { width: 48px; height: 60px; border-radius: 14px; border: 0; background: var(--ay-s2); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10);
  text-align: center; font-family: var(--ay-num); font-size: 24px; font-weight: 800; color: var(--ay-text); caret-color: var(--ay-mint); }
.ay-code input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ay-mint); }
.ay-code.bad input { box-shadow: inset 0 0 0 1px rgba(255,138,122,0.6); }

/* ---------- chips */
.ay-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 10px; font-size: 13px; font-weight: 700; white-space: nowrap;
  background: rgba(255,255,255,0.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); color: var(--ay-text2); }
.ay-chip svg { width: 14px; height: 14px; flex: none; }
.ay-chip.mint { background: rgba(79,255,176,0.10); box-shadow: inset 0 0 0 1px rgba(79,255,176,0.30); color: var(--ay-mint); }
.ay-chip.gold { background: rgba(255,210,122,0.10); box-shadow: inset 0 0 0 1px rgba(255,210,122,0.30); color: var(--ay-gold); }
.ay-chip.lilac { background: rgba(175,169,236,0.12); box-shadow: inset 0 0 0 1px rgba(175,169,236,0.35); color: var(--ay-lilac); }
.ay-chip.coral { background: rgba(255,138,122,0.10); box-shadow: inset 0 0 0 1px rgba(255,138,122,0.32); color: var(--ay-coral); }

/* ---------- banners */
.ay-banner { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--ay-s2); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); }
.ay-banner .ay-btile { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,0.04); display: flex; align-items: center; justify-content: center; flex: none; }
.ay-banner .ay-btile svg { width: 17px; height: 17px; }
.ay-banner .ay-bt { font-size: 14px; font-weight: 700; color: var(--ay-text); }
.ay-banner .ay-bs { font-size: 13px; color: var(--ay-text2); }
.ay-banner.mint { background: rgba(79,255,176,0.07); box-shadow: inset 0 0 0 1px rgba(79,255,176,0.28); color: var(--ay-mint); }
.ay-banner.gold { background: rgba(255,210,122,0.08); box-shadow: inset 0 0 0 1px rgba(255,210,122,0.32); color: var(--ay-gold); }
.ay-banner.lilac { background: rgba(175,169,236,0.08); box-shadow: inset 0 0 0 1px rgba(175,169,236,0.32); color: var(--ay-lilac); }
.ay-banner.coral { background: rgba(255,138,122,0.08); box-shadow: inset 0 0 0 1px rgba(255,138,122,0.32); color: var(--ay-coral); }
.ay-banner.neutral { color: var(--ay-text2); }
.ay-banner .ay-x { width: 44px; height: 44px; margin: -8px; border: 0; background: none; color: var(--ay-text3); display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }

/* ---------- cards and lists */
.ay-card { background: var(--ay-s1); border-radius: 22px; box-shadow: inset 0 0 0 1px var(--ay-ring); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.ay-sheet .ay-card { background: var(--ay-s2); }
.ay-list { background: var(--ay-s1); border-radius: 22px; box-shadow: inset 0 0 0 1px var(--ay-ring); overflow: hidden; }
.ay-sheet .ay-list { background: var(--ay-s2); }
.ay-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 60px; width: 100%; background: none; border: 0; text-align: start; cursor: default; }
button.ay-item, a.ay-item { cursor: pointer; color: var(--ay-text); font-weight: 400; }
.ay-item + .ay-item { box-shadow: inset 0 1px 0 var(--ay-line); }
.ay-item .ay-it { font-size: 15px; font-weight: 700; color: var(--ay-text); }
.ay-item .ay-is { font-size: 13px; color: var(--ay-text2); }
.ay-item .ay-iv { font-size: 14px; color: var(--ay-text2); }
.ay-item.coral .ay-it { color: var(--ay-coral); }
.ay-item.dim .ay-it { color: var(--ay-text2); }
.ay-chev { color: var(--ay-text3); width: 18px; height: 18px; flex: none; }
.ay-acc[dir="rtl"] .ay-chev { transform: scaleX(-1); }

/* switch */
.ay-switch { position: relative; width: 52px; height: 32px; flex: none; }
.ay-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.ay-switch span { position: absolute; inset: 0; border-radius: 16px; background: var(--ay-s3); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); transition: background .15s; }
.ay-switch span::after { content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 26px; height: 26px; border-radius: 50%; background: #F4F7F5; transition: transform .15s; }
.ay-switch input:checked + span { background: linear-gradient(135deg, var(--ay-mint), var(--ay-mint2)); }
.ay-switch input:checked + span::after { transform: translateX(20px); }
.ay-acc[dir="rtl"] .ay-switch input:checked + span::after { transform: translateX(-20px); }
.ay-switch input:focus-visible + span { outline: 2px solid var(--ay-mint); outline-offset: 2px; }

/* segmented */
.ay-seg { display: flex; background: var(--ay-s2); border-radius: 14px; padding: 4px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); }
.ay-seg button { flex: 1; min-height: 40px; border: 0; border-radius: 11px; background: none; color: var(--ay-text2); font-weight: 700; font-size: 14px; cursor: pointer; }
.ay-seg button[aria-pressed="true"] { background: var(--ay-s3); color: var(--ay-text); box-shadow: inset 0 0 0 1px rgba(79,255,176,0.35); }
.ay-seg.sm button { min-height: 34px; padding: 0 12px; }

/* checkbox row */
.ay-check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14px; color: var(--ay-text); }
.ay-check input { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; border-radius: 8px; flex: none; margin: 0; cursor: pointer;
  background: var(--ay-s2); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.22); display: grid; place-items: center; }
.ay-check input:checked { background: rgba(79,255,176,0.12); box-shadow: inset 0 0 0 1.5px var(--ay-mint); }
.ay-check input:checked::after { content: ''; width: 11px; height: 6px; border-left: 2.5px solid var(--ay-mint); border-bottom: 2.5px solid var(--ay-mint); transform: translateY(-2px) rotate(-45deg); }

/* ---------- toast */
.ay-toast-wrap { position: fixed; top: max(12px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); width: calc(100% - 28px); max-width: 452px; z-index: 2147483600; pointer-events: none; }
.ay-toast { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--ay-s3);
  box-shadow: inset 0 0 0 1px rgba(79,255,176,0.30), 0 12px 32px rgba(0,0,0,0.45); animation: ay-in .22s ease-out; pointer-events: auto; }
.ay-toast .ay-tick { width: 34px; height: 34px; border-radius: 17px; background: linear-gradient(135deg, var(--ay-mint), var(--ay-mint2)); display: flex; align-items: center; justify-content: center; flex: none; color: var(--ay-on-mint); }
.ay-toast.coral { box-shadow: inset 0 0 0 1px rgba(255,138,122,0.32), 0 12px 32px rgba(0,0,0,0.45); }

/* ---------- account card */
.ay-avatar { width: 48px; height: 48px; border-radius: 16px; background: linear-gradient(135deg, var(--ay-mint), var(--ay-mint2)); color: var(--ay-on-mint);
  display: flex; align-items: center; justify-content: center; font-family: var(--ay-num); font-weight: 800; font-size: 20px; flex: none; }

/* ---------- plan hero ring */
.ay-hero { display: flex; align-items: center; gap: 18px; padding: 18px; border-radius: 24px; background:
  radial-gradient(120% 120% at 0% 0%, rgba(79,255,176,0.12), rgba(79,255,176,0) 60%), var(--ay-s1); box-shadow: inset 0 0 0 1px rgba(79,255,176,0.18); }
.ay-acc[dir="rtl"] .ay-hero { background: radial-gradient(120% 120% at 100% 0%, rgba(79,255,176,0.12), rgba(79,255,176,0) 60%), var(--ay-s1); }
.ay-hero.gold { box-shadow: inset 0 0 0 1px rgba(255,210,122,0.25); background: radial-gradient(120% 120% at 0% 0%, rgba(255,210,122,0.12), rgba(255,210,122,0) 60%), var(--ay-s1); }
.ay-ring { position: relative; width: 140px; height: 140px; flex: none; }
.ay-ring svg { width: 140px; height: 140px; transform: rotate(-90deg); }
.ay-acc[dir="rtl"] .ay-ring svg { transform: rotate(-90deg) scaleY(-1); }
.ay-ring .ay-ring-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ay-ring .ay-big { font-family: var(--ay-num); font-size: 52px; font-weight: 800; line-height: 1; }
.ay-ring .ay-unit { font-size: 13px; color: var(--ay-text2); }

/* timeline */
.ay-tl { display: flex; flex-direction: column; }
.ay-tl-step { position: relative; display: flex; gap: 14px; padding-bottom: 18px; }
.ay-tl-step:last-child { padding-bottom: 0; }
.ay-tl-step::before { content: ''; position: absolute; inset-inline-start: 10px; top: 24px; bottom: 0; width: 2px; background: rgba(255,255,255,0.10); }
.ay-tl-step:last-child::before { display: none; }
.ay-dot { width: 22px; height: 22px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.22); display: flex; align-items: center; justify-content: center; }
.ay-dot.done { background: linear-gradient(135deg, var(--ay-mint), var(--ay-mint2)); box-shadow: none; color: var(--ay-on-mint); }
.ay-dot.next { box-shadow: inset 0 0 0 2px var(--ay-gold); }
.ay-tl-date { font-family: var(--ay-num); font-size: 13px; color: var(--ay-text3); font-weight: 700; }
.ay-acc[dir="rtl"] .ay-tl-date { font-family: var(--ay-font); }

/* works / paused lists */
.ay-wp { display: flex; flex-direction: column; }
.ay-wp .ay-item { min-height: 52px; padding: 10px 14px; }

/* hexagon (AY.FIT Pro locked) */
.ay-hex { position: relative; width: 112px; height: 124px; margin: 0 auto; }
.ay-hex::before { content: ''; position: absolute; inset: -60px; background: radial-gradient(closest-side, rgba(175,169,236,0.22), rgba(175,169,236,0)); }
.ay-hex svg { position: relative; width: 112px; height: 124px; }

/* pause circle (suspended) */
.ay-pause { width: 104px; height: 104px; border-radius: 50%; margin: 0 auto; background: var(--ay-s1); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10);
  display: flex; align-items: center; justify-content: center; color: var(--ay-text2); }
.ay-pause.lg { width: 120px; height: 120px; }
.ay-ref { display: inline-flex; gap: 8px; align-items: center; justify-content: center; font-size: 14px; color: var(--ay-text2); }
.ay-ref b { font-family: var(--ay-num); color: var(--ay-text); letter-spacing: .04em; direction: ltr; unicode-bidi: isolate; }

/* prices */
.ay-suite { position: relative; padding: 18px; border-radius: 24px; background: radial-gradient(120% 100% at 50% 0%, rgba(255,210,122,0.14), rgba(255,210,122,0) 65%), var(--ay-s1);
  box-shadow: inset 0 0 0 1px rgba(255,210,122,0.35), 0 0 40px rgba(255,210,122,0.06); display: flex; flex-direction: column; gap: 12px; }
.ay-price { font-family: var(--ay-num); font-weight: 800; font-size: 24px; color: var(--ay-gold); }
.ay-strike { text-decoration: line-through; color: var(--ay-text3); font-family: var(--ay-num); }
.ay-amount { font-family: var(--ay-num); font-weight: 800; font-size: 28px; color: var(--ay-gold); }

/* reminders: once a day, never blocking */
.ay-banners { display: flex; flex-direction: column; gap: 8px; }

@media (prefers-reduced-motion: reduce) {
  .ay-screen, .ay-sheet, .ay-backdrop, .ay-toast { animation: none !important; }
  .ay-btn { transition: none; }
}
@media (min-width: 520px) {
  .ay-sheet { bottom: 24px; border-radius: 28px; }
}

/* ---------------------------------------------------------------- 0.2.0 invites and campaigns (canvas section 6) */
.ay-ghex { width: 52px; height: 52px; flex: none; display: inline-flex; align-items: center; justify-content: center; color: #3A2600;
  clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%); background: linear-gradient(135deg, var(--ay-gold), var(--ay-gold2)); }
.ay-ghex.sm { width: 44px; height: 44px; }
.ay-invite-hero { flex-direction: column; align-items: flex-start; gap: 12px; }
.ay-invited { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 20px; margin-bottom: 4px;
  background: radial-gradient(120% 120% at 100% 0%, rgba(255,210,122,0.16), rgba(255,210,122,0) 60%), var(--ay-s1); box-shadow: inset 0 0 0 1px rgba(255,210,122,0.28); }
.ay-acc[dir="rtl"] .ay-invited { background: radial-gradient(120% 120% at 0% 0%, rgba(255,210,122,0.16), rgba(255,210,122,0) 60%), var(--ay-s1); }
.ay-invited .ay-it, .ay-applied .ay-it { font-size: 15px; font-weight: 700; color: var(--ay-text); }
.ay-invited .ay-is { font-size: 13px; color: var(--ay-text2); }
.ay-applied { display: flex; align-items: center; gap: 10px; min-height: 52px; padding-block: 4px; padding-inline: 14px 6px; border-radius: 16px;
  background: var(--ay-s1); box-shadow: inset 0 0 0 1px rgba(79,255,176,0.30); }
.ay-applied .ay-tick { width: 26px; height: 26px; border-radius: 13px; flex: none; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--ay-mint), var(--ay-mint2)); color: var(--ay-on-mint); }
.ay-codetext { font-family: var(--ay-num); letter-spacing: .04em; }
.ay-code-big { font-family: var(--ay-num); font-size: 30px; font-weight: 800; letter-spacing: .04em; color: var(--ay-text); line-height: 1.1; }
.ay-chipbtn { align-self: flex-start; margin-top: 6px; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 0; background: var(--ay-s3);
  box-shadow: inset 0 0 0 1px rgba(79,255,176,0.35); color: var(--ay-mint); font: inherit; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.ay-qr { padding: 8px; border-radius: 14px; background: #F4F7F5; line-height: 0; min-width: 112px; min-height: 112px; }
.ay-qr:empty { display: none; }
.ay-share { gap: 8px; }
.ay-share .ay-btn.primary { flex: 1.4; }
.ay-share .ay-btn.secondary { flex: 1; }
.ay-share .ay-btn.ay-sq { flex: none; width: 54px; padding: 0; }
.ay-steps { gap: 16px; }
.ay-step { display: flex; gap: 12px; align-items: flex-start; position: relative; }
.ay-step:not(:last-child)::after { content: ""; position: absolute; top: 36px; bottom: -14px; inset-inline-start: 15px; width: 2px; background: rgba(255,210,122,0.25); }
.ay-step .ay-it { font-size: 15px; font-weight: 700; color: var(--ay-text); }
.ay-step .ay-is { font-size: 13px; color: var(--ay-text2); }
.ay-stepnum { width: 32px; height: 32px; border-radius: 16px; flex: none; display: flex; align-items: center; justify-content: center;
  background: var(--ay-s3); box-shadow: inset 0 0 0 1px rgba(255,210,122,0.45); font-family: var(--ay-num); font-size: 14px; font-weight: 800; color: var(--ay-gold); }
.ay-stats { display: flex; gap: 8px; }
.ay-stat { flex: 1; min-width: 0; padding: 12px 8px; border-radius: 16px; background: var(--ay-s2); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.ay-statn { font-family: var(--ay-num); font-size: 24px; font-weight: 800; color: var(--ay-text); }
.ay-avatar.sm { width: 36px; height: 36px; font-size: 15px; }
.ay-nowrap, .ay-code-big, .ay-share .ay-btn span { white-space: nowrap; }
.ay-share .ay-btn { font-size: 15px; padding: 0 12px; gap: 8px; }
.ay-invite-hero .ay-ghex { align-self: flex-start; }
.ay-applied .ay-link { min-width: 44px; padding: 0 10px; }
.ay-camp-hero { flex-direction: column; align-items: stretch; gap: 12px; }
.ay-camp-hero .ay-it { font-size: 15px; font-weight: 700; color: var(--ay-text); }
.ay-camp-hero .ay-is { font-size: 13px; color: var(--ay-text2); }
.ay-sep { height: 1px; background: var(--ay-line); }
.ay-ok { color: var(--ay-mint); flex: none; margin-top: 2px; display: inline-flex; }
.ay-share .ay-btn { min-width: 0; }
@media (max-width: 370px) { .ay-share .ay-btn { font-size: 14px; padding: 0 8px; gap: 6px; } }
.ay-share .ay-btn svg { flex: none; }
.ay-dob { gap: 8px; }
.ay-dob .ay-field:nth-child(2) { flex: 1.6; }
.ay-dob select.ay-input { padding: 0 12px; }
.ay-acc a.ay-tap { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }

/* ACCOUNTS-BUG-074: /account home, option B */
.ay-home { display: flex; flex-direction: column; gap: 14px; }
.ay-invite-card { background: linear-gradient(160deg, rgba(79,255,176,0.10) 0%, var(--ay-s1) 70%); box-shadow: inset 0 0 0 1px rgba(79,255,176,0.30); padding: 18px; }
.ay-invite-head { display: flex; align-items: center; gap: 12px; }
.ay-invite-head .ay-it { margin: 0; font-size: 17px; font-weight: 700; color: var(--ay-text); }
.ay-invite-head .ay-is { margin: 0; font-size: 13px; color: var(--ay-text2); }
.ay-invite-card .ay-btn { min-height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.ay-item .ay-manage { margin-top: 2px; font-size: 14px; font-weight: 700; color: var(--ay-mint); } /* UAT-0211-6: says the email card opens Account */
