/* SMR Jewellers — feature styles: festive calendar, store locator, account.
   Loaded after styles.css and uses its colour variables (:root). */

/* ---------- Shared bits ---------- */
dialog { color: var(--ink); font-family: var(--sans); }
.utility__item { position: relative; }
.utility__badge { position: absolute; top: 3px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--gold); color: #3A2712 !important; font-size: 10px !important; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.utility__badge[hidden] { display: none; }

/* ============================================================
   Festive calendar (page: festive-calendar/)
   ============================================================ */
.cal { position: relative; font-size: 15px; line-height: 1.5; }
.cal button { font-family: inherit; cursor: pointer; }
.cal-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

.cal-hero { position: relative; background: linear-gradient(120deg, var(--maroon-dark), #7A1633 55%, var(--maroon)); color: #FFFFFF; padding: 28px clamp(18px, 3vw, 32px) 24px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; }
.cal-hero h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; margin-top: 6px; }
.cal-hero p { margin: 8px 0 0; color: var(--rose); max-width: 46ch; font-size: 14px; }
.cal-next { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 18px; padding: 14px 16px; min-width: 250px; }
.cal-next:empty { display: none; }
.cal-next__when { font-family: var(--serif); font-size: 30px; line-height: 1; margin: 4px 0; }
.cal-next__name { font-weight: 600; }
.cal-next__row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.cal-pill { border: 0; border-radius: 999px; padding: 10px 16px; font-weight: 600; font-size: 13.5px; white-space: nowrap; min-height: 40px; transition: background .15s ease; }
.cal-pill--gold { background: var(--gold); color: #3A2712; }
.cal-pill--gold:hover { background: #D8B566; }
.cal-pill--ghost { background: rgba(255,255,255,.14); color: #FFFFFF; }
.cal-pill--ghost:hover { background: rgba(255,255,255,.22); }
.cal-pill--maroon { background: var(--maroon); color: #FFFFFF; }
.cal-pill--maroon:hover { background: var(--maroon-deep); }
.cal-pill--light { background: var(--c-blush, #F6E6EA); color: var(--maroon); }
.cal-pill--light:hover { background: #F0D6DC; }

.cal-strip { display: flex; gap: 10px; overflow-x: auto; padding: 18px clamp(18px, 3vw, 32px) 4px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.cal-up { flex: none; scroll-snap-align: start; display: flex; gap: 10px; align-items: center; background: #FFFFFF; border: 1px solid var(--line); border-radius: 14px; padding: 8px 14px 8px 8px; text-align: left; color: var(--ink); min-height: 60px; }
.cal-up:hover { border-color: var(--gold); }
.cal-up__d { width: 44px; height: 44px; border-radius: 10px; background: var(--c-blush, #F6E6EA); display: grid; place-items: center; line-height: 1; text-align: center; }
.cal-up--gold .cal-up__d { background: var(--c-gold-soft); }
.cal-up__d b { font-family: var(--serif); font-size: 18px; color: var(--maroon); display: block; }
.cal-up__d span { font-size: 9.5px; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.cal-up__t { font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.cal-up__s { font-size: 12px; color: var(--muted); }

.cal-main { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(290px, 1fr); gap: 18px; padding: 16px clamp(18px, 3vw, 32px) 28px; }
.cal-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.cal-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.cal-head h3 { font-family: var(--serif); font-size: 26px; flex: 1; margin: 0; }
.cal-navbtn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #FFFFFF; font-size: 18px; color: var(--maroon); display: grid; place-items: center; }
.cal-navbtn:hover { border-color: var(--gold); }
.cal-todaybtn { border: 1px solid var(--line); background: #FFFFFF; border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 13px; color: var(--ink); min-height: 40px; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-dow div { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-bottom: 6px; }
.cal-day { position: relative; min-height: 88px; border: 1px solid transparent; border-radius: 12px; background: var(--cream); padding: 7px; text-align: left; display: flex; flex-direction: column; gap: 4px; overflow: hidden; color: var(--ink); }
.cal-day:hover { border-color: var(--gold); }
.cal-day--out { background: transparent; color: #C2B8B1; }
.cal-day--out .cal-fest { opacity: .5; }
.cal-day__n { font-weight: 600; font-size: 13px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.cal-day--today .cal-day__n { background: var(--maroon); color: #FFFFFF; }
.cal-day--sel { border: 2px solid var(--maroon); padding: 6px; background: #FFFFFF; }
.cal-day--gold { background: linear-gradient(160deg, var(--c-gold-soft), var(--cream) 80%); }
.cal-day--gold.cal-day--sel { background: linear-gradient(160deg, var(--c-gold-soft), #FFFFFF 80%); }
.cal-fest { font-size: 11.5px; line-height: 1.25; font-weight: 600; color: var(--maroon); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cal-fest--muslim { color: var(--c-muslim); }
.cal-fest--sikh { color: var(--c-sikh); }
.cal-coin { position: absolute; top: 8px; right: 8px; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F3DCA3, var(--gold) 60%, #A9823F); box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.cal-mine { margin-top: auto; font-size: 11px; font-weight: 600; color: var(--c-gold-ink); background: var(--c-gold-soft); border-radius: 6px; padding: 1px 6px; align-self: flex-start; white-space: nowrap; }
.cal-dots { display: none; gap: 3px; justify-content: center; margin-top: auto; }
.cal-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--maroon); }
.cal-dots i.muslim { background: var(--c-muslim); } .cal-dots i.sikh { background: var(--c-sikh); } .cal-dots i.me { background: var(--gold); }
.cal-key { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.cal-key span { display: inline-flex; align-items: center; gap: 6px; }
.cal-key i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.cal-fine { font-size: 11.5px; color: var(--muted); margin: 10px 0 0; }

.cal-side { display: flex; flex-direction: column; gap: 18px; }
.cal-day-title { font-family: var(--serif); font-size: 24px; margin: 4px 0 12px; }
.cal-festcard { padding: 14px; border-radius: 14px; background: var(--cream); margin-bottom: 10px; }
.cal-festcard h4 { font-family: var(--serif); font-size: 19px; margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cal-tag { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 2px 9px; border-radius: 999px; background: var(--gold); color: var(--c-gold-ink); }
.cal-festcard p { margin: 6px 0 10px; font-size: 13.5px; color: var(--muted); }
.cal-ideas { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.cal-ideas a { font-size: 12.5px; font-weight: 600; color: var(--maroon); background: #FFFFFF; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.cal-ideas a:hover { border-color: var(--maroon); }
.cal-quiet { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.cal-plans-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.cal-plans-head h3 { font-family: var(--serif); font-size: 22px; margin: 0; }
.cal-total { font-size: 12.5px; color: var(--muted); text-align: right; }
.cal-total b { display: block; font-family: var(--serif); font-size: 22px; color: var(--maroon); font-variant-numeric: tabular-nums; }
.cal-plan { display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.cal-plan:first-of-type { border-top: 0; }
.cal-plan__d { width: 46px; height: 46px; border-radius: 12px; background: var(--c-blush, #F6E6EA); display: grid; place-items: center; text-align: center; line-height: 1; }
.cal-plan__d b { font-family: var(--serif); font-size: 19px; color: var(--maroon); display: block; }
.cal-plan__d span { font-size: 9.5px; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.cal-plan--past { opacity: .5; }
.cal-plan__w { font-weight: 600; font-size: 14px; }
.cal-plan__m { font-size: 12.5px; color: var(--muted); }
.cal-plan__a { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.cal-soon { font-size: 11.5px; font-weight: 700; color: var(--maroon); background: var(--c-blush, #F6E6EA); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.cal-links { display: flex; gap: 10px; font-size: 12px; }
.cal-links a, .cal-links button { color: var(--muted); background: none; border: 0; padding: 4px 0; text-decoration: underline; text-underline-offset: 2px; font-size: 12px; }
.cal-links a:hover, .cal-links button:hover { color: var(--maroon); }
.cal-cta { border-radius: 18px; padding: 18px; background: linear-gradient(135deg, var(--maroon-dark), var(--maroon)); color: #FFFFFF; }
.cal-cta h3 { font-family: var(--serif); font-size: 20px; margin: 0 0 4px; }
.cal-cta p { margin: 0 0 12px; font-size: 13.5px; color: var(--rose); }
.cal-cta__row { display: flex; flex-wrap: wrap; gap: 8px; }
.cal-cta a.cal-pill { display: inline-flex; align-items: center; }
.cal-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #FFFFFF; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; z-index: 5; }
.cal-toast[hidden] { display: none; }

/* reminder sheet */
.cal-sheet { width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; border: 0; border-radius: 24px; padding: 22px 22px 24px; background: #FFFFFF; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.cal-sheet::backdrop { background: rgba(42,10,22,.55); }
.cal-sheet h3 { font-family: var(--serif); font-size: 24px; margin: 4px 0 16px; }
.cal-field { display: grid; gap: 6px; margin-bottom: 14px; }
.cal-field > span { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.cal-field input, .cal-field select { border: 1px solid var(--line); background: var(--cream); border-radius: 12px; padding: 0 12px; height: 46px; width: 100%; font: inherit; font-size: 16px; color: var(--ink); }
.cal-field input:focus, .cal-field select:focus { border-color: var(--maroon); outline: none; }
.cal-choices { display: flex; flex-wrap: wrap; gap: 6px; }
.cal-choice { border: 1px solid var(--line); background: #FFFFFF; border-radius: 999px; padding: 8px 13px; font-size: 13px; font-weight: 600; color: var(--ink); min-height: 40px; cursor: pointer; }
.cal-choice[aria-pressed="true"] { background: var(--maroon); border-color: var(--maroon); color: #FFFFFF; }
.cal-switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--c-gold-soft); margin-bottom: 14px; font-weight: 600; font-size: 14px; cursor: pointer; }
.cal-switch input { appearance: none; width: 44px; height: 26px; border-radius: 13px; background: #D9CBBD; position: relative; flex: none; cursor: pointer; transition: background .15s; }
.cal-switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: left .15s; }
.cal-switch input:checked { background: var(--maroon); }
.cal-switch input:checked::after { left: 21px; }
.cal-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cal-two[hidden] { display: none; }
.cal-sheet__actions { display: flex; gap: 10px; margin-top: 6px; }
.cal-sheet__actions .cal-pill { flex: 1; padding: 12px; }

@media (max-width: 900px) { .cal-main { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .cal-hero { grid-template-columns: 1fr; padding-top: 24px; } .cal-next { min-width: 0; } .cal-hero p { display: none; } }
@media (max-width: 640px) {
  .cal-card { padding: 14px; } .cal-main, .cal-side { gap: 14px; }
  .cal-head h3 { font-size: 22px; }
  .cal-dow, .cal-grid { gap: 3px; }
  .cal-day { min-height: 50px; padding: 4px 2px; align-items: center; }
  .cal-day--sel { padding: 3px 1px; }
  .cal-fest, .cal-mine { display: none; }
  .cal-dots { display: flex; }
  .cal-coin { top: 3px; right: 3px; width: 9px; height: 9px; }
  .cal-sheet { width: 100%; max-width: none; margin: auto 0 0; border-radius: 24px 24px 0 0; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}
@media (max-width: 420px) { .cal-two { grid-template-columns: 1fr; } }

/* ============================================================
   Store locator
   ============================================================ */
.stores { background: var(--cream); border-top: 1px solid var(--line); }
.stores__inner { padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.stores__head { text-align: center; max-width: 680px; margin: 0 auto 36px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.stores__head h2 { font-size: clamp(30px, 3.4vw, 40px); }
.stores__head p { font-size: 16px; line-height: 1.7; color: var(--muted); }
.stores__chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; background: #FFFFFF; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--maroon); }
.stores__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px; align-items: stretch; }
.store-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 22px; box-shadow: 0 18px 50px rgba(94,16,40,.08); }
.store-card__top { display: flex; gap: 14px; align-items: center; }
.store-card__pin { width: 54px; height: 54px; border-radius: 50%; background: var(--maroon); color: #FFFFFF; display: grid; place-items: center; flex: 0 0 auto; }
.store-card h3 { font-family: var(--serif); font-size: 26px; line-height: 1.15; margin: 0; }
.store-card__sub { font-size: 13px; color: var(--muted); }
.store-rating { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 13px; border-radius: 999px; background: #FFF8E7; border: 1px solid #F0E0B5; font-size: 13px; font-weight: 600; color: #6B4E10; }
.store-rating:hover { color: #6B4E10; border-color: var(--gold); }
.store-rating svg { color: var(--gold); }
.store-list { margin: 0; display: grid; gap: 16px; }
.store-list > div { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.store-list dt { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; background: var(--cream); color: var(--maroon); display: grid; place-items: center; }
.store-list dt span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.store-list dd { margin: 0; font-size: 15px; line-height: 1.55; }
.store-list dd small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.store-list a { color: var(--ink); font-weight: 600; }
.store-list small a { color: var(--maroon); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.store-list a:hover { color: var(--maroon); }
.store-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.store-chips span { padding: 6px 12px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: 12.5px; font-weight: 500; color: var(--ink); }
.store-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.store-actions .btn { padding: 13px 22px; font-size: 14.5px; }
.store-actions button.btn { border: 0; cursor: pointer; font-family: var(--sans); }
.store-map { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: #E9DDD2; min-height: 420px; box-shadow: 0 18px 50px rgba(94,16,40,.08); }
.store-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.store-map__open { position: absolute; left: 16px; bottom: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #FFFFFF; color: var(--maroon); font-size: 13px; font-weight: 600; box-shadow: 0 8px 22px rgba(0,0,0,.2); }
.store-map__open:hover { background: var(--maroon); color: #FFFFFF; }

@media (max-width: 899px) { .stores__grid { grid-template-columns: 1fr; } .store-map { min-height: 340px; } }
@media (max-width: 600px) { .store-actions .btn { flex: 1 1 calc(50% - 5px); justify-content: center; } .store-card { border-radius: 22px; } .store-map { border-radius: 22px; min-height: 300px; } }

/* ============================================================
   Account
   ============================================================ */
.acct { display: grid; grid-template-columns: 340px minmax(0, 1fr); max-height: inherit; min-height: 560px; }
.acct__side { position: relative; background: radial-gradient(500px 300px at 110% -10%, rgba(201,162,77,.35), transparent 60%), linear-gradient(160deg, var(--maroon-dark), var(--maroon-deep) 60%, #7A1633); color: #FFFFFF; padding: 36px 32px; display: flex; flex-direction: column; gap: 18px; }
.acct__logo { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: 3px; color: var(--gold); }
.acct__side h2 { font-size: 32px; line-height: 1.15; }
.acct__side > p { font-size: 14px; line-height: 1.65; color: var(--rose); }
.acct__perks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 14px; }
.acct__perks li { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: var(--rose); }
.acct__perks strong { display: block; color: #FFFFFF; font-weight: 600; font-size: 14px; }
.acct__perk-ico { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; flex: 0 0 auto; color: var(--gold); }
.acct__call { margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); font-size: 13px; color: var(--rose); }
.acct__call a { color: #FFFFFF; font-weight: 600; }
.acct__main { position: relative; padding: 28px clamp(22px, 3vw, 40px) 30px; overflow: auto; overscroll-behavior: contain; }
.acct__tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); margin: 0 48px 22px 0; width: fit-content; max-width: calc(100% - 48px); }
.acct__tab { border: 0; background: transparent; border-radius: 999px; padding: 10px 18px; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; min-height: 40px; white-space: nowrap; }
.acct__tab[aria-selected="true"] { background: var(--maroon); color: #FFFFFF; box-shadow: 0 6px 16px rgba(142,31,61,.3); }
.acct__panel[hidden] { display: none; }
.acct__panel h3 { font-family: var(--serif); font-size: 28px; margin: 0 0 6px; }
.acct__lead { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 18px; }

.acct-form { display: grid; gap: 14px; }
.fld { display: grid; gap: 6px; position: relative; }
.fld__label { font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: .2px; }
.fld__input, .fld__phone { height: 48px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--cream); transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.fld__input { width: 100%; padding: 0 14px; font: inherit; font-size: 16px; color: var(--ink); }
.fld__input:focus, .fld__phone:focus-within { outline: none; border-color: var(--maroon); background: #FFFFFF; box-shadow: 0 0 0 4px rgba(142,31,61,.1); }
.fld__phone { display: flex; align-items: center; overflow: hidden; }
.fld__phone .fld__input { border: 0; background: transparent; box-shadow: none; height: 100%; }
.fld__cc { padding: 0 12px 0 14px; font-weight: 600; font-size: 15px; color: var(--ink); border-right: 1.5px solid var(--line); height: 60%; display: grid; place-items: center; }
.fld--pass .fld__input { padding-right: 70px; }
.fld__wrap { position: relative; }
.fld__toggle { position: absolute; right: 6px; bottom: 6px; height: 36px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: var(--maroon); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.fld__toggle:hover { background: rgba(142,31,61,.08); }
.fld__err { min-height: 0; font-size: 12.5px; color: #B3261E; display: none; }
.fld.is-invalid .fld__err { display: block; }
.fld.is-invalid .fld__input, .fld.is-invalid .fld__phone { border-color: #B3261E; background: #FFF6F5; }
.fld__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.fld__forgot { font-size: 12.5px; font-weight: 600; }
.meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 2px; }
.meter i { height: 4px; border-radius: 2px; background: var(--line); transition: background .2s ease; }
.meter[data-s="1"] i:nth-child(-n+1) { background: #D9534F; }
.meter[data-s="2"] i:nth-child(-n+2) { background: #E8A13B; }
.meter[data-s="3"] i:nth-child(-n+3) { background: #8FB339; }
.meter[data-s="4"] i:nth-child(-n+4) { background: #2F7A5B; }
.meter__txt { font-size: 12px; color: var(--muted); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

.acct-check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.acct-check input { appearance: none; flex: 0 0 auto; width: 22px; height: 22px; margin: 0; border-radius: 7px; border: 1.5px solid #CDBFB3; background: #FFFFFF; display: grid; place-items: center; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.acct-check input::after { content: ""; width: 10px; height: 6px; border-left: 2.5px solid #FFFFFF; border-bottom: 2.5px solid #FFFFFF; transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform .12s ease; }
.acct-check input:checked { background: var(--maroon); border-color: var(--maroon); }
.acct-check input:checked::after { transform: rotate(-45deg) scale(1); }
.acct-check input:focus-visible { outline: 2px solid var(--maroon); outline-offset: 2px; }
.acct-check.is-invalid { color: #B3261E; }
.acct-check a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* "I'm not a robot" */
.robot { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: var(--cream); border: 1.5px solid var(--line); transition: border-color .15s ease, background .15s ease; }
.robot.is-invalid { border-color: #B3261E; background: #FFF6F5; }
.robot.is-ok { border-color: #2F7A5B; background: #F2FAF6; }
.robot__box { position: relative; width: 30px; height: 30px; flex: 0 0 auto; border-radius: 9px; border: 2px solid #BFAF9F; background: #FFFFFF; cursor: pointer; padding: 0; display: grid; place-items: center; transition: border-color .15s ease, background .15s ease; }
.robot__box:hover { border-color: var(--maroon); }
.robot__box:focus-visible { outline: 2px solid var(--maroon); outline-offset: 3px; }
.robot__tick { width: 16px; height: 9px; border-left: 3px solid #FFFFFF; border-bottom: 3px solid #FFFFFF; transform: rotate(-45deg) scale(0); margin-top: -3px; transition: transform .18s cubic-bezier(.3,1.6,.5,1); }
.robot__spin { position: absolute; inset: 3px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--maroon); opacity: 0; animation: robot-spin .7s linear infinite; }
.robot.is-loading .robot__spin { opacity: 1; }
.robot.is-loading .robot__box { border-color: transparent; }
.robot.is-ok .robot__box { background: #2F7A5B; border-color: #2F7A5B; }
.robot.is-ok .robot__tick { transform: rotate(-45deg) scale(1); }
.robot__label { flex: 1; font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer; }
.robot__brand { display: grid; justify-items: center; gap: 1px; font-size: 10px; line-height: 1.2; color: var(--muted); text-align: center; }
.robot__brand svg { color: var(--maroon); }
.robot__brand b { font-size: 10.5px; letter-spacing: .5px; color: var(--maroon-deep); }
@keyframes robot-spin { to { transform: rotate(360deg); } }

.acct-submit { width: 100%; justify-content: center; border: 0; cursor: pointer; font-family: var(--sans); font-size: 15px; padding: 15px 28px; box-shadow: 0 10px 24px rgba(142,31,61,.28); }
.acct-submit[disabled] { opacity: .65; cursor: progress; }
.acct-or { display: flex; align-items: center; gap: 14px; margin: 18px 0; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.acct-or::before, .acct-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.gwrap { display: flex; justify-content: center; }
.gbtn { width: 100%; height: 50px; border-radius: 999px; border: 1.5px solid #DADCE0; background: #FFFFFF; color: #3C4043; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .15s ease, box-shadow .15s ease, border-color .15s ease; }
.gbtn:hover { background: #F8F9FA; border-color: #C4C7CC; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.acct__status { margin-top: 14px; padding: 12px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.55; }
.acct__status[hidden] { display: none; }
.acct__status--info { background: #FFF8E7; border: 1px solid #F0E0B5; color: #5E4710; }
.acct__status--ok { background: #F2FAF6; border: 1px solid #BFE3D0; color: #1F5C44; }
.acct__status--err { background: #FFF6F5; border: 1px solid #F3C9C5; color: #8E1B14; }
.acct__switch { margin-top: 18px; text-align: center; font-size: 14px; color: var(--muted); }
.acct__switch button { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--maroon); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* help tab */
.help-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.help-card { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 18px 10px; border-radius: 18px; background: var(--cream); border: 1px solid var(--line); color: var(--ink); font-size: 13.5px; font-weight: 600; transition: border-color .15s ease, transform .15s ease; }
.help-card:hover { color: var(--ink); border-color: var(--maroon); transform: translateY(-2px); }
.help-card__ico { width: 46px; height: 46px; border-radius: 50%; background: var(--maroon); color: #FFFFFF; display: grid; place-items: center; }
.help-card__txt { display: grid; gap: 2px; }
.help-card small { font-weight: 400; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.faq h4 { font-family: var(--serif); font-size: 19px; margin: 0 0 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 14px 30px 14px 0; font-size: 14.5px; font-weight: 600; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--maroon); transition: transform .15s ease; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 14px; font-size: 14px; line-height: 1.65; color: var(--muted); }

@media (max-width: 820px) {
  .acct { grid-template-columns: 1fr; min-height: 0; }
  .acct__side { display: none; }
  .acct__main { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
  .acct__tabs { width: auto; margin-right: 44px; }
  .acct__tab { padding: 10px 12px; font-size: 13px; }
  .help-cards { grid-template-columns: 1fr; }
  .help-card { flex-direction: row; text-align: left; padding: 12px 14px; }
  .help-card > span:last-child { display: grid; }
  .robot__brand { display: none; }
}
@media (prefers-reduced-motion: reduce) { .robot__spin { animation: none; } }
