/* =============================================================
   LDA Sports Complexes — design system (lsc.org.pk redesign)
   Tokens follow the design handoff and the LDA Sports mobile app.
   ============================================================= */
:root {
  --brand: #2B3A99;
  --brand-deep: #1E2A86;
  --brand-hover: #1C2670;
  --navy: #131A57;
  --navy-deep: #0E1336;
  --tint: #EEF0FB;
  --tint-2: #EEF1F8;
  --tint-line: #DCE0F7;
  --tint-soft: #C9CFF5;
  --green: #1FA45A;
  --green-hover: #178A4B;
  --green-light: #4CC46F;
  --green-tint: #EAF7EF;
  --ok: #15803D;
  --ok-dot: #22A559;
  --ok-tint: #E6F5EC;
  --ok-line: #BFE6CC;
  --ink: #0F1535;
  --ink-2: #2A3150;
  --muted: #5B6180;
  --muted-2: #8A90AB;
  --faint: #9AA0B8;
  --ground: #F3F5FA;
  --card: #FFFFFF;
  --subtle: #F7F8FC;
  --seg: #E8EAF2;
  --border: #E4E6EF;
  --rule: #F0F1F5;
  --red: #D93636;
  --red-text: #C62828;
  --red-tint: #FDECEC;
  --red-line: #F6C9C9;
  --red-dark: #8E1B1B;
  --amber: #B26A00;
  --amber-tint: #FFF1D6;
  --amber-text: #9A5A06;
  --booked: #EFF0F4;
  --padel: #D96E0C; --padel-bg: #FDF0E3;
  --gym: #7C4DDB; --gym-bg: #F1EBFC;
  --pool: #0A8FB0; --pool-bg: #E3F5FA;
  --yoga: #D1386F; --yoga-bg: #FCE9F0;
  --sh-card: 0 1px 2px rgba(15,21,53,.06);
  --sh-raised: 0 1px 2px rgba(15,21,53,.06), 0 18px 40px -24px rgba(15,21,53,.25);
  --sh-green: 0 6px 16px -6px rgba(31,164,90,.6);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-deep); text-decoration: none; }
a:hover { color: #16a34a; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
p { text-wrap: pretty; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[class^="icon-"], [class*=" icon-"] { line-height: 1; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.page { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.wrapflex { display: flex; flex-wrap: wrap; }
.muted { color: var(--muted); }

/* ---------- header (Home v2 lockup, used site-wide) ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid #E4E7F0; }
.hdr-in { height: 80px; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 12px; flex: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo img { width: 52px; height: 52px; border-radius: 999px; box-shadow: 0 2px 8px rgba(15,21,53,.14); }
.logo-t { display: flex; flex-direction: column; line-height: 1.1; }
.logo-t b { font-size: 22px; font-weight: 900; letter-spacing: .01em; color: var(--brand-deep); }
.logo-t span { font-size: 14px; font-weight: 800; letter-spacing: .04em; color: var(--brand-deep); }
.logo-t small { font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.nav { display: none; gap: 2px; margin-left: auto; }
.nav a { height: 80px; padding: 0 11px; display: flex; align-items: center; font-size: 15px; font-weight: 600; color: var(--ink-2); border-bottom: 3px solid transparent; }
.nav a:hover { color: var(--green); }
.nav a.on { font-weight: 800; color: var(--brand-deep); border-bottom-color: var(--green); }
.hdr-search { display: none; width: 44px; height: 44px; border-radius: 999px; place-items: center; font-size: 20px; flex: none; }
.hdr-search:hover { background: var(--tint-2); }
.hdr-login { flex: none; height: 48px; padding: 0 20px; border-radius: 12px; background: var(--green); color: #fff; font-size: 15px; font-weight: 700; display: none; align-items: center; gap: 8px; box-shadow: var(--sh-green); }
.hdr-login:hover { background: var(--green-hover); color: #fff; }
.hdr-mlogin { margin-left: auto; height: 44px; padding: 0 14px; border-radius: 12px; background: var(--green); color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.hdr-mlogin:hover { color: #fff; background: var(--green-hover); }
.hdr-menu { width: 48px; height: 48px; border-radius: 999px; border: 1.5px solid #E4E7F0; display: grid; place-items: center; font-size: 22px; flex: none; }
.hdr-msearch { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; font-size: 20px; flex: none; }
.mnav { border-top: 1px solid #E4E7F0; background: #fff; padding: 10px 24px 22px; display: flex; flex-direction: column; gap: 2px; }
.mnav a { height: 52px; padding: 0 12px; border-radius: 12px; display: flex; align-items: center; justify-content: space-between; font-size: 17px; font-weight: 700; color: var(--ink-2); }
.mnav a.on { color: var(--brand-deep); background: var(--green-tint); }
.mnav a i { color: var(--faint); }
@media (min-width: 1180px) {
  .nav { display: flex; }
  .hdr-search { display: grid; }
  .hdr-login { display: flex; }
  .hdr-mlogin, .hdr-menu, .hdr-msearch, .mnav { display: none !important; }
}
.mnav-search { height: 52px; padding: 0 12px; border-radius: 12px; display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; color: var(--ink-2); width: 100%; }
@media (max-width: 520px) {
  .wrap, .wrap-wide { padding-left: 16px; padding-right: 16px; }
  .hdr-msearch { display: none; }
  .hdr-in { gap: 8px; }
  .hdr-mlogin { padding: 0 12px; }
  .mnav { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 420px) {
  .logo-t small { display: none; }
  .logo img { width: 44px; height: 44px; }
  .logo-t b { font-size: 19px; }
  .logo-t span { font-size: 12px; }
  .hdr-in { gap: 10px; }
}

/* search overlay */
.search { position: fixed; inset: 0; z-index: 80; background: rgba(15,21,53,.45); display: flex; justify-content: center; padding: 90px 16px 16px; }
.search-box { width: 100%; max-width: 640px; background: #fff; border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(15,21,53,.45); overflow: hidden; align-self: flex-start; }
.search-in { display: flex; align-items: center; gap: 10px; padding: 0 18px; height: 64px; border-bottom: 1px solid var(--border); font-size: 20px; }
.search-in input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 18px; font-weight: 600; }
.search-res { max-height: 60vh; overflow: auto; padding: 8px; }
.search-res a { display: flex; flex-direction: column; padding: 12px 14px; border-radius: 12px; color: var(--ink); }
.search-res a:hover, .search-res a.on { background: var(--tint); color: var(--ink); }
.search-res b { font-size: 16px; }
.search-res span { font-size: 13px; color: var(--muted); }

/* ---------- footer ---------- */
.ftr { margin-top: 72px; background: var(--navy-deep); color: #C9CFEA; }
.ftr-in { padding: 52px 24px 26px; display: flex; flex-direction: column; gap: 36px; }
.ftr-cols { display: flex; gap: 40px; flex-wrap: wrap; }
.ftr-brand { flex: 1.4 1 280px; display: flex; flex-direction: column; gap: 14px; }
.ftr-brand .logo img { box-shadow: none; }
.ftr-brand p { margin: 0; max-width: 340px; font-size: 15px; line-height: 1.6; color: #9AA3D6; }
.ftr-contact { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.ftr-contact a, .ftr-contact span { display: flex; gap: 8px; align-items: center; color: #C9CFEA; }
.ftr-contact i { color: var(--green-light); }
.ftr-col { flex: 1 1 160px; display: flex; flex-direction: column; gap: 11px; }
.ftr-col b { font-size: 13px; font-weight: 800; letter-spacing: .08em; color: #fff; }
.ftr-col a { font-size: 15px; color: #9AA3D6; align-self: flex-start; }
.ftr-col a:hover { color: #fff; }
.ftr-bot { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: #7E88C2; }
.ftr-bot a { color: #7E88C2; }
.ftr-bot a:hover { color: #fff; }

/* ---------- buttons ---------- */
.btn { height: 48px; padding: 0 20px; border-radius: 14px; background: var(--brand); color: #fff; font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; transition: background .15s ease; }
.btn:hover { background: var(--brand-hover); color: #fff; }
.btn-lg { height: 56px; padding: 0 26px; border-radius: 16px; font-size: 17px; }
.btn-md { height: 52px; font-size: 16px; }
.btn-sm { height: 44px; padding: 0 14px; border-radius: 12px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-tint { background: var(--tint); color: var(--brand); }
.btn-tint:hover { background: var(--tint-line); color: var(--brand); }
.btn-outline { background: #fff; color: var(--ink); border: 1.5px solid var(--border); }
.btn-outline:hover { background: var(--ground); color: var(--ink); }
.btn-green { background: var(--green); color: #fff; box-shadow: var(--sh-green); }
.btn-green:hover { background: var(--green-hover); color: #fff; }
.btn-white { background: #fff; color: var(--brand-deep); }
.btn-white:hover { background: var(--green-tint); color: var(--green-hover); }
.btn-ghost-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.85); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-danger { background: #fff; color: var(--red-text); border: 1.5px solid var(--border); }
.btn-danger:hover { background: var(--red-tint); color: var(--red-text); }
.btn[disabled], .btn.is-dim { opacity: .45; cursor: not-allowed; }
.btn.is-busy { opacity: .7; cursor: progress; }
.link { color: var(--brand); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- page hero bands (site pages) ---------- */
.band { background: var(--navy); color: #fff; background-size: cover; background-position: center; }
.band-img { background-image: linear-gradient(90deg, rgba(19,26,87,.96) 0%, rgba(19,26,87,.8) 55%, rgba(19,26,87,.4) 100%), var(--img); }
.band-in { padding: 56px 24px 60px; display: flex; flex-direction: column; gap: 12px; }
.band h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -.02em; }
.band p { margin: 0; max-width: 640px; font-size: 18px; line-height: 1.55; color: #DCE0F7; }
.crumbs { font-size: 14px; color: var(--tint-soft); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.crumbs a { color: var(--tint-soft); }
.crumbs a:hover { color: #fff; }
.crumbs b { color: #fff; font-weight: 700; }
.band-branch { background-image: linear-gradient(0deg, rgba(19,26,87,.95) 0%, rgba(19,26,87,.55) 55%, rgba(19,26,87,.15) 100%), var(--img); }
.band-branch .band-in { padding: 150px 24px 40px; }
.pill-open { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ok); background: var(--ok-tint); padding: 5px 11px; border-radius: 999px; }
.pill-open::before { content: ""; width: 8px; height: 8px; border-radius: 9px; background: var(--ok-dot); }

.section { padding-top: 32px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--green); text-transform: uppercase; }
.h2 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 900; letter-spacing: -.01em; }
.bar { width: 56px; height: 4px; border-radius: 4px; background: var(--green); display: block; }

/* ---------- cards & grids ---------- */
.card { background: var(--card); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--sh-card); }
.card h2 { font-size: 22px; font-weight: 800; }
.card h3 { font-size: 19px; font-weight: 800; }
.card p { margin: 0; color: var(--muted); line-height: 1.6; }
.card-tight { padding: 22px; }
.grid { display: grid; gap: 16px; }
.cols-main { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.col-main { flex: 1 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.col-aside { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (min-width: 1000px) { .sticky { position: sticky; top: 100px; } }

.ic { width: 56px; height: 56px; border-radius: 999px; background: var(--bg, var(--tint)); color: var(--fg, var(--brand)); display: grid; place-items: center; font-size: 26px; flex: none; }
.ic-46 { width: 46px; height: 46px; font-size: 21px; }
.ic-40 { width: 40px; height: 40px; font-size: 19px; border-radius: 12px; }
.ic-sq { border-radius: 16px; }
.c-padel { --fg: var(--padel); --bg: var(--padel-bg); }
.c-gym { --fg: var(--gym); --bg: var(--gym-bg); }
.c-pool { --fg: var(--pool); --bg: var(--pool-bg); }
.c-yoga { --fg: var(--yoga); --bg: var(--yoga-bg); }
.c-b { --fg: var(--brand); --bg: var(--tint); }
.c-green { --fg: var(--ok); --bg: var(--ok-tint); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 44px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 700; background: #fff; color: var(--ink); border: 1.5px solid var(--border); display: inline-flex; align-items: center; gap: 6px; }
.chip:hover { border-color: var(--tint-soft); }
.chip.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.tag { font-size: 13px; font-weight: 700; color: var(--fg, var(--brand)); background: var(--bg, var(--tint)); padding: 5px 11px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.tag-sm { font-size: 12px; padding: 4px 10px; }
.t-green { --fg: var(--ok); --bg: var(--ok-tint); }
.t-amber { --fg: var(--amber-text); --bg: var(--amber-tint); }
.t-red { --fg: var(--red-dark); --bg: var(--red-tint); }
.t-grey { --fg: var(--muted); --bg: #EEF0F4; }
.t-blue { --fg: var(--brand); --bg: var(--tint); }
.t-solid-red { --fg: #fff; --bg: var(--red); }

.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--seg); align-self: flex-start; max-width: 100%; overflow-x: auto; }
.seg button { height: 42px; padding: 0 22px; border-radius: 999px; font-size: 15px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.seg button.on { background: #fff; color: var(--brand); box-shadow: 0 1px 3px rgba(15,21,53,.14); }

.toggle { width: 48px; height: 28px; border-radius: 999px; background: #C9CDDB; position: relative; flex: none; transition: background .15s; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(15,21,53,.3); transition: left .15s; }
[aria-pressed="true"] > .toggle, .toggle.on { background: var(--brand); }
[aria-pressed="true"] > .toggle::after, .toggle.on::after { left: 23px; }

/* fee table */
.fees { overflow-x: auto; }
.fees-in { min-width: 520px; }
.fees-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr; padding: 14px 0; font-size: 15px; border-bottom: 1px solid var(--rule); align-items: center; gap: 8px; }
.fees-row b { font-weight: 700; }
.fees-head { padding: 12px 0; font-size: 13px; font-weight: 800; letter-spacing: .04em; color: var(--muted); border-bottom: 1.5px solid var(--border); }
.fees-row .na { color: var(--muted-2); }
.was { font-size: 13px; color: var(--muted-2); text-decoration: line-through; }

/* branch cards */
.bcard { background: #fff; border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--sh-card); }
.bcard img { width: 100%; height: 210px; object-fit: cover; background: var(--tint-line); }
.bcard-b { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bcard-b > b { font-size: 21px; font-weight: 800; }
.addr { font-size: 15px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.addr i { color: var(--brand); }
.bcard-act { display: flex; gap: 10px; margin-top: auto; padding-top: 8px; }
.bcard-act .btn { flex: 1; }
.sq-btn { width: 48px; height: 48px; border-radius: 14px; background: var(--tint); color: var(--brand); display: grid; place-items: center; font-size: 20px; flex: none; }
.sq-btn:hover { background: var(--tint-line); color: var(--brand); }

.hl-tile { background: var(--subtle); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.hl-tile b { font-size: 16px; font-weight: 800; }
.visit-row { display: flex; gap: 12px; }
.visit-row span { display: flex; flex-direction: column; }
.visit-row small { font-size: 13px; color: var(--muted); }
.visit-row strong { font-size: 16px; font-weight: 700; }
.list-card { background: #fff; border-radius: 22px; padding: 8px 18px; box-shadow: var(--sh-card); }
.list-card .lc-h { padding: 12px 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .06em; color: var(--muted); }
.list-card a { display: flex; align-items: center; gap: 12px; min-height: 56px; border-top: 1px solid var(--rule); color: var(--ink); font-size: 15px; font-weight: 700; }
.list-card a:hover { color: var(--brand); }
.list-card a img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; background: var(--tint-line); }
.list-card a span { flex: 1; }
.list-card a i { color: var(--faint); }

/* coach card on branch page */
.coach-card { display: flex; align-items: center; gap: 18px; padding: 14px; border-radius: 18px; background: var(--subtle); color: var(--ink); flex-wrap: wrap; }
.coach-card:hover { background: var(--tint); color: var(--ink); }
.coach-card img { width: 84px; height: 84px; border-radius: 16px; object-fit: cover; object-position: center 22%; flex: none; }
.mini-badge { font-size: 12px; font-weight: 800; padding: 4px 9px; border-radius: 8px; color: var(--fg); background: var(--bg); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #fff; border-radius: 18px; border: 1.5px solid transparent; box-shadow: var(--sh-card); }
.faq details[open] { border-color: var(--tint-soft); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 17px; font-weight: 800; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 32px; height: 32px; border-radius: 999px; background: var(--tint); color: var(--brand); display: grid; place-items: center; font-size: 20px; font-weight: 700; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); line-height: 1.6; }

/* forms */
.field { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 700; }
.field input, .field select, .field textarea { height: 54px; border-radius: 14px; border: 1.5px solid var(--border); padding: 0 16px; font-size: 16px; font-weight: 500; background: #fff; outline: 0; width: 100%; }
.field textarea { height: auto; min-height: 130px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--tint); }
.field .err { font-size: 13px; font-weight: 600; color: var(--red-text); }
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: var(--red); }
.field .hint { font-size: 13px; font-weight: 500; color: var(--muted); }
.pw { position: relative; }
.pw input { padding-right: 56px; }
.pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--muted); font-size: 19px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.banner { border-radius: 16px; padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.banner i { font-size: 19px; margin-top: 1px; flex: none; }
.b-red { background: var(--red-tint); color: var(--red-dark); border: 1.5px solid var(--red-line); }
.b-amber { background: #FFF6E5; color: #7A4A02; border: 1.5px solid #F6DDA8; }
.b-green { background: var(--ok-tint); color: #0F5A2B; border: 1.5px solid var(--ok-line); }
.b-blue { background: var(--tint); color: var(--brand-deep); border: 1.5px solid var(--tint-line); }
.b-grey { background: #F1F2F6; color: var(--ink-2); border: 1.5px solid var(--border); }
.note { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.note i { font-size: 18px; color: var(--brand); flex: none; margin-top: 1px; }

/* prose (long-form legacy content: facility pages, policies, legal) */
.prose { color: var(--muted); font-size: 16px; line-height: 1.7; }
.prose h2 { color: var(--ink); font-size: 22px; font-weight: 800; margin: 26px 0 8px; line-height: 1.25; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--ink); font-size: 18px; font-weight: 800; margin: 20px 0 6px; }
.prose p { margin: 0 0 12px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 22px; }
.prose li { margin: 4px 0; }
.prose strong { color: var(--ink); }
.prose a { color: var(--brand); font-weight: 700; }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--rule); }
.prose th { color: var(--muted); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.tag-list span { font-size: 14px; font-weight: 700; color: var(--brand); background: var(--tint); padding: 6px 12px; border-radius: 999px; }

/* ---------- home v2 ---------- */
.hero { position: relative; background: #0B1030; color: #fff; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,13,44,.94) 0%, rgba(9,13,44,.78) 38%, rgba(9,13,44,.25) 70%, rgba(9,13,44,.1) 100%); }
.hero-shade2 { position: absolute; inset: auto 0 0 0; height: 180px; background: linear-gradient(0deg, rgba(9,13,44,.7), rgba(9,13,44,0)); }
.hero-in { position: relative; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(120px, 12vw, 160px); display: flex; flex-direction: column; gap: 26px; }
.hero-pill { align-self: flex-start; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .12em; color: #BFF0D2; background: rgba(31,164,90,.18); border: 1px solid rgba(110,231,160,.35); padding: 7px 14px; border-radius: 999px; }
.hero-pill::before { content: ""; width: 7px; height: 7px; border-radius: 9px; background: #4ADE80; }
.hero h1 { font-size: clamp(64px, 10vw, 132px); line-height: .9; font-weight: 900; letter-spacing: -.035em; text-shadow: 0 6px 30px rgba(0,0,0,.35); display: flex; flex-direction: column; }
.hero h1 span:nth-child(2) { color: var(--green-light); }
.hero p { margin: 0; max-width: 480px; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.4; font-weight: 600; color: #E6E9F7; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.hero-cta .btn { height: 58px; padding: 0 26px; font-size: 17px; font-weight: 800; }
.hero-cta .btn-green { box-shadow: 0 10px 24px -8px rgba(31,164,90,.7); }
.sports { margin-top: -72px; position: relative; z-index: 2; }
.sports-in { background: #fff; border-radius: 22px; box-shadow: 0 24px 48px -20px rgba(15,21,53,.28); padding: 10px; display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); }
.sports-in a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 4px; border-radius: 16px; color: var(--ink); }
.sports-in a:hover { background: #F0F8F3; color: var(--green-hover); }
.sports-in a span:first-child { width: 54px; height: 54px; border-radius: 999px; background: #EEF1FB; color: var(--brand-deep); display: grid; place-items: center; font-size: 26px; }
.sports-in a span:last-child { font-size: 14px; font-weight: 700; text-align: center; }
.cx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 18px; }
.cx { position: relative; height: 300px; border-radius: 20px; overflow: hidden; display: block; color: #fff; background: var(--brand-deep); box-shadow: 0 10px 24px -14px rgba(15,21,53,.5); transition: box-shadow .2s; }
.cx:hover { color: #fff; box-shadow: 0 22px 36px -14px rgba(15,21,53,.55); }
.cx img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cx::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16,24,92,.96) 0%, rgba(16,24,92,.7) 32%, rgba(16,24,92,0) 62%); }
.cx-t { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; align-items: flex-end; gap: 10px; z-index: 1; }
.cx-t > span:first-child { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cx-t b { font-size: 19px; font-weight: 800; line-height: 1.15; }
.cx-t small { font-size: 13px; color: #D6DBF5; display: flex; align-items: center; gap: 5px; }
.cx-t > span:last-child { width: 40px; height: 40px; border-radius: 999px; background: #fff; color: var(--brand-deep); display: grid; place-items: center; font-size: 19px; flex: none; }
.gymband { margin-top: 72px; background: linear-gradient(90deg, #0E1336 0%, #151B48 55%, #1A2152 100%); color: #fff; }
.gymband-in { max-width: 1320px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: stretch; }
.gymband-t { flex: 1 1 520px; padding: 64px 24px; display: flex; flex-direction: column; gap: 22px; }
.gymband-t h2 { font-size: clamp(32px, 3.6vw, 48px); font-weight: 800; letter-spacing: -.02em; }
.gymband-t p { margin: 0; max-width: 520px; font-size: 18px; line-height: 1.55; color: #D2D7F0; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 22px 20px; margin-top: 10px; }
.feat { display: flex; align-items: center; gap: 14px; }
.feat i { width: 56px; height: 56px; border-radius: 16px; background: var(--c); color: #fff; display: grid; place-items: center; font-size: 26px; flex: none; box-shadow: 0 10px 20px -10px var(--c); }
.feat span { font-size: 15px; font-weight: 600; line-height: 1.35; color: #E9ECF8; }
.gymband-img { flex: 1 1 440px; min-height: 420px; position: relative; }
.gymband-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.25) 22%, rgba(0,0,0,.7) 45%, #000 65%, #000 82%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.25) 22%, rgba(0,0,0,.7) 45%, #000 65%, #000 82%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.mband { margin-top: -40px; position: relative; z-index: 2; }
.mband-in { border-radius: 24px; overflow: hidden; background: linear-gradient(90deg, #EAF7EF 0%, #F4FBF6 60%, #EAF7EF 100%); border: 1px solid #CDEBD7; box-shadow: 0 24px 48px -24px rgba(15,21,53,.3); display: flex; flex-wrap: wrap; align-items: stretch; }
.mband-t { flex: 1 1 340px; padding: 32px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.mband-t h2 { font-size: clamp(26px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.01em; }
.mband-t p { margin: 0; font-size: 16px; line-height: 1.5; color: #3A4560; max-width: 380px; }
.mband-img { flex: 1 1 260px; min-height: 220px; position: relative; }
.mband-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.55) 0%, #000 14%, #000 75%, rgba(0,0,0,.35) 100%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.55) 0%, #000 14%, #000 75%, rgba(0,0,0,.35) 100%); }
.perks { flex: 2 1 460px; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); align-items: center; padding: 24px 16px; }
.perks div { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 12px 8px; text-align: center; border-left: 1px solid #CDEBD7; }
.perks i { font-size: 34px; color: var(--green); }
.perks span { font-size: 15px; font-weight: 700; line-height: 1.3; }
.bookcard { flex: 1 1 480px; border-radius: 24px; overflow: hidden; background: var(--brand-deep); color: #fff; display: flex; flex-wrap: wrap; min-height: 280px; box-shadow: 0 18px 36px -20px rgba(30,42,134,.7); }
.bookcard-t { flex: 1 1 240px; padding: 32px; display: flex; flex-direction: column; gap: 14px; justify-content: center; background: linear-gradient(135deg, #1E2A86, #2B3A99); }
.bookcard-t h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; font-weight: 800; letter-spacing: -.01em; }
.bookcard-t p { margin: 0; font-size: 16px; line-height: 1.5; color: #D6DBF5; }
.bookcard-img { flex: 1 1 220px; min-height: 220px; position: relative; }
.bookcard-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% center; }
.empty { flex: 1; min-height: 220px; background: #fff; border-radius: 18px; box-shadow: var(--sh-card); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 32px 24px; text-align: center; }
.empty .ic { border-radius: 16px; --bg: #EEF1FB; --fg: var(--brand-deep); }
.empty b { font-size: 18px; font-weight: 800; }
.empty span { font-size: 14px; color: var(--muted); max-width: 340px; }

/* ---------- coach ---------- */
.coach-hero { position: relative; background: radial-gradient(120% 90% at 85% 10%, #1E2A86 0%, #0E1336 55%); color: #fff; overflow: hidden; }
.coach-hero-in { display: flex; flex-wrap: wrap-reverse; align-items: stretch; }
.coach-t { flex: 1 1 480px; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 64px 0 72px; position: relative; z-index: 2; }
.coach-t .crumbs, .coach-t .crumbs a { color: #9AA3D6; font-weight: 700; }
.coach-chip { align-self: flex-start; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(31,164,90,.16); border: 1px solid rgba(76,196,111,.4); color: #7DDB9C; font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.coach-t h1 { font-size: clamp(52px, 7vw, 96px); line-height: .95; font-weight: 900; letter-spacing: -.02em; }
.coach-t h1 span { color: var(--green-light); }
.coach-role { margin: 0; font-size: 22px; font-weight: 700; color: #E6E9F8; }
.coach-sum { margin: 0; max-width: 520px; font-size: 17px; line-height: 1.65; color: #B4BBE0; }
.coach-stats { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 14px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.coach-stats div { display: flex; flex-direction: column; gap: 2px; }
.coach-stats b { font-size: 34px; font-weight: 900; }
.coach-stats span { font-size: 14px; font-weight: 600; color: #9AA3D6; }
.coach-photo { flex: 1 1 420px; min-height: 620px; position: relative; margin-right: -24px; }
.coach-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 18%, #000 40%), linear-gradient(180deg, #000 70%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 18%, #000 40%), linear-gradient(180deg, #000 70%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
@media (max-width: 760px) { .coach-photo { min-height: 420px; margin-right: 0; margin-left: -24px; margin-right: -24px; } }
.focus-card .ic { border-radius: 16px; background: var(--c); color: #fff; }
.cert { background: #fff; border-radius: 22px; padding: 10px; box-shadow: var(--sh-raised); }
.cert-in { position: relative; height: 100%; border-radius: 15px; border: 1.5px solid var(--line); padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 16px; overflow: hidden; background: linear-gradient(180deg, var(--wash) 0%, #fff 120px); }
.cert-in::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--c); }
.cert-mono { flex: none; width: 64px; height: 64px; border-radius: 999px; background: var(--c); color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 900; letter-spacing: .04em; box-shadow: 0 0 0 4px #fff, 0 0 0 5.5px var(--line); }
.cert-kind { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--c); }
.cert-issuer { font-size: 15px; font-weight: 700; color: var(--ink-2); }
.cert-year { flex: none; display: flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--green-tint); color: var(--green-hover); font-size: 12px; font-weight: 800; }
.cert-name { font-family: 'Great Vibes', cursive; font-size: 40px; line-height: 1.1; color: var(--ink); }
.cert-small { font-size: 13px; color: #7A809C; }
.cert-title { font-size: 25px; font-weight: 900; line-height: 1.2; letter-spacing: -.01em; }
.cert-meta { border-top: 1.5px dashed #E1E4EE; padding-top: 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px 18px; }
.cert-meta small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--faint); }
.cert-meta b { font-size: 15px; font-weight: 700; color: var(--ink-2); }
.cert-bodies { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.cert-bodies span { height: 28px; padding: 0 10px; border-radius: 8px; background: var(--ground); color: #4A5170; font-size: 12px; font-weight: 800; letter-spacing: .04em; display: flex; align-items: center; }
.greenband { border-radius: 28px; background: linear-gradient(120deg, #1FA45A 0%, #168C4C 100%); color: #fff; padding: 44px clamp(24px, 4vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.greenband p { margin: 0; font-size: 17px; line-height: 1.6; }
.greenband .btn-white { color: #0E5C32; }
.greenband .btn-white:hover { background: var(--green-tint); color: #0E5C32; }
.greenband .btn-ghost-light { border-width: 1.5px; border-color: rgba(255,255,255,.6); }

/* ---------- auth (login/register) ---------- */
.auth { max-width: 1120px; margin: 0 auto; padding: 48px 24px 0; display: flex; flex-wrap: wrap; align-items: stretch; }
.auth-side { flex: 1 1 380px; background: var(--navy); color: #fff; border-radius: 28px 0 0 28px; padding: 40px; display: flex; flex-direction: column; gap: 22px; position: relative; overflow: hidden; min-height: 520px; }
.auth-side::before, .auth-side::after { content: ""; position: absolute; border-radius: 999px; }
.auth-side::before { width: 460px; height: 460px; border: 1px solid rgba(255,255,255,.08); right: -160px; bottom: -160px; }
.auth-side::after { width: 300px; height: 300px; border: 1px solid rgba(255,255,255,.1); right: -80px; bottom: -80px; }
.auth-logo { width: 96px; height: 96px; border-radius: 999px; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(255,255,255,.08); }
.auth-logo img { width: 88px; height: 88px; border-radius: 999px; }
.auth-side h1 { font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.auth-side p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--tint-soft); max-width: 360px; }
.auth-perk { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; position: relative; z-index: 1; }
.auth-perk i { width: 40px; height: 40px; border-radius: 999px; background: rgba(255,255,255,.12); display: grid; place-items: center; font-size: 19px; flex: none; }
.auth-form { flex: 1 1 420px; background: #fff; border-radius: 0 28px 28px 0; padding: 44px 40px; display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.auth-form h2 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.auth-form .sub { margin: 0; font-size: 16px; line-height: 1.5; color: var(--muted); }
.auth-form .btn-lg { height: 58px; font-size: 18px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted-2); font-size: 14px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.fine { margin: 0; font-size: 13px; line-height: 1.5; color: #6B7090; text-align: center; }
@media (max-width: 860px) {
  .auth { padding-top: 24px; }
  .auth-side { border-radius: 28px 28px 0 0; min-height: 0; padding: 28px; }
  .auth-form { border-radius: 0 0 28px 28px; padding: 28px 22px; }
}
.otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; max-width: 420px; }
.otp input { height: 64px; width: 100%; border-radius: 14px; border: 1.5px solid var(--border); text-align: center; font-size: 26px; font-weight: 800; outline: 0; min-width: 0; padding: 0; }
.otp input:focus { border: 2px solid var(--brand); box-shadow: 0 0 0 4px var(--tint); }
.otp input:not(:placeholder-shown) { background: var(--subtle); border-color: var(--tint-line); }
.phone-in { display: flex; height: 60px; border-radius: 16px; border: 1.5px solid var(--border); overflow: hidden; }
.phone-in:focus-within { border: 2px solid var(--brand); box-shadow: 0 0 0 4px var(--tint); }
.phone-in span { display: flex; align-items: center; padding: 0 16px; background: #F4F5F9; font-size: 18px; font-weight: 700; border-right: 1.5px solid var(--border); }
.phone-in input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 16px; font-size: 19px; font-weight: 600; letter-spacing: .03em; }

/* ---------- portal ---------- */
.portal { padding-top: 32px; display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.p-side { flex: 1 1 270px; max-width: 100%; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 1000px) { .p-side { position: sticky; top: 100px; flex: 0 1 290px; } }
.p-me { background: #fff; border-radius: 22px; padding: 18px; display: flex; align-items: center; gap: 12px; box-shadow: var(--sh-card); }
.avatar { width: 56px; height: 56px; border-radius: 999px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 19px; font-weight: 800; flex: none; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.p-nav { background: #fff; border-radius: 22px; padding: 8px; display: flex; flex-direction: column; gap: 2px; box-shadow: var(--sh-card); }
.p-nav a, .p-nav button { min-height: 50px; padding: 0 14px; border-radius: 14px; display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; color: var(--ink); text-align: left; width: 100%; }
.p-nav a:hover, .p-nav button:hover { background: var(--tint); color: var(--ink); }
.p-nav a.on { background: var(--tint); color: var(--brand); }
.p-nav i { font-size: 19px; }
.p-nav span { flex: 1; }
.p-nav .badge { flex: none; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.p-nav .out { color: var(--red-text); border-top: 1px solid var(--rule); margin-top: 4px; border-radius: 0 0 14px 14px; }
.p-nav .out:hover { background: var(--red-tint); color: var(--red-text); }
.p-sep { height: 1px; background: var(--rule); margin: 4px 8px; }
@media (max-width: 999px) {
  .p-nav { flex-direction: row; overflow-x: auto; padding: 6px; scrollbar-width: none; }
  .p-nav::-webkit-scrollbar { display: none; }
  .p-nav a, .p-nav button { width: auto; flex: none; min-height: 44px; }
  .p-nav .p-sep { display: none; }
  .p-nav .out { border-top: 0; margin-top: 0; border-radius: 14px; }
}
.p-main { flex: 3 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.p-title { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; }
.p-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--brand); align-self: flex-start; }
.skel { background: linear-gradient(90deg, #E9EBF2 0%, #F4F5F9 50%, #E9EBF2 100%); background-size: 200% 100%; animation: skel 1.2s ease-in-out infinite; border-radius: 18px; }
@keyframes skel { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.mcard { background: var(--brand); color: #fff; border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.mcard::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 999px; background: rgba(255,255,255,.06); right: -80px; top: -90px; }
.mcard > * { position: relative; }
.mcard small { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--tint-soft); }
.mcard b { font-size: 24px; font-weight: 800; }
.mcard span { font-size: 15px; color: #DCE0F7; }
.qtile { background: #fff; border-radius: 20px; padding: 18px; display: flex; align-items: center; gap: 12px; color: var(--ink); box-shadow: var(--sh-card); font-size: 16px; font-weight: 800; }
.qtile:hover { background: var(--tint); color: var(--ink); }
.brow { background: #fff; border-radius: 20px; padding: 16px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; box-shadow: var(--sh-card); color: var(--ink); }
a.brow:hover { color: var(--ink); background: #FAFBFE; }
.dateblk { width: 64px; height: 70px; border-radius: 14px; background: var(--tint); color: var(--brand); display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; }
.dateblk small { font-size: 12px; font-weight: 700; text-transform: uppercase; }
.dateblk b { font-size: 24px; font-weight: 800; line-height: 1.1; }
.brow-t { flex: 1 1 220px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.brow-t b { font-size: 17px; font-weight: 800; }
.brow-t span { font-size: 14px; color: var(--muted); }
.brow-t small { font-size: 13px; color: var(--muted); }
.kv { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; padding: 6px 0; }
.kv span:first-child { color: var(--muted); }
.kv span:last-child { font-weight: 700; text-align: right; }
.kv.total { border-top: 1.5px dashed #D6D9E4; padding-top: 12px; margin-top: 4px; }
.kv.total span:last-child { font-size: 22px; font-weight: 800; }
.tbl { background: #fff; border-radius: 22px; padding: 6px 22px; box-shadow: var(--sh-card); overflow-x: auto; }
.tbl-row { display: grid; gap: 12px; padding: 14px 0; font-size: 15px; border-bottom: 1px solid var(--rule); align-items: center; min-width: 560px; }
.tbl-row:last-child { border-bottom: 0; }
.tbl-head { font-size: 13px; font-weight: 800; letter-spacing: .04em; color: var(--muted); border-bottom: 1.5px solid var(--border); }
.dates { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.dates button { flex: none; width: 72px; height: 80px; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; background: #fff; color: var(--ink); border: 1.5px solid var(--border); }
.dates button small { font-size: 12px; font-weight: 700; }
.dates button b { font-size: 24px; font-weight: 800; line-height: 1.1; }
.dates button span { font-size: 12px; font-weight: 600; }
.dates button.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.dates button:disabled { opacity: .45; cursor: not-allowed; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.slot { height: 62px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: #fff; border: 1.5px solid #9FD9B4; }
.slot b { font-size: 15px; font-weight: 800; }
.slot small { font-size: 12px; font-weight: 600; color: var(--ok); }
.slot.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.slot.on small { color: #DCE0F7; }
.slot.off { background: #E3E5EC; border-color: #E3E5EC; color: #A3A8BC; cursor: default; }
.slot.off b { text-decoration: line-through; }
.slot.off small { color: #A3A8BC; }
.slot.mine { background: var(--amber-tint); border-color: #F3C79B; cursor: default; }
.slot.mine small { color: var(--amber-text); }
.legend { display: flex; gap: 14px; font-size: 13px; font-weight: 600; color: var(--muted); flex-wrap: wrap; }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i.box { width: 14px; height: 14px; border-radius: 5px; display: inline-block; }
.radio-card { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; border: 1.5px solid var(--border); background: #fff; text-align: left; width: 100%; }
.radio-card.on { border: 2px solid var(--brand); background: var(--subtle); }
.radio-card img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--tint-line); }
.radio-dot { width: 22px; height: 22px; border-radius: 999px; background: #fff; border: 2px solid #B9BED0; flex: none; }
.on > .radio-dot, .on .radio-dot { border: 7px solid var(--brand); }
.pay { background: #fff; border-radius: 20px; border: 1.5px solid var(--border); }
.pay.on { border: 2px solid var(--brand); }
.pay > button { width: 100%; padding: 16px 18px; display: flex; align-items: center; gap: 14px; text-align: left; }
.pay-mark { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; flex: none; font-size: 22px; background: var(--tint); color: var(--brand); }
.pay-body { margin: 0 18px; padding: 14px 0 18px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 10px; }
.stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--seg); border-radius: 999px; padding: 4px; }
.stepper button { width: 40px; height: 40px; border-radius: 999px; background: #fff; display: grid; place-items: center; font-size: 18px; font-weight: 800; color: var(--brand); }
.stepper button:disabled { opacity: .4; }
.stepper b { min-width: 34px; text-align: center; font-size: 18px; }
.qr { background: #fff; border-radius: 20px; padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ink); position: relative; }
.qr svg { width: 200px; height: 200px; }
.qr.locked svg { filter: blur(6px); opacity: .5; }
.qr .lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-weight: 800; color: var(--ink); }
.qr .lock i { font-size: 30px; }
.doc-frame { width: 100%; min-height: 70vh; border: 0; border-radius: 18px; background: #fff; box-shadow: var(--sh-card); }
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline > div { display: flex; gap: 12px; padding: 10px 0; border-left: 2px solid var(--tint-line); margin-left: 8px; padding-left: 16px; position: relative; }
.timeline > div::before { content: ""; position: absolute; left: -7px; top: 14px; width: 12px; height: 12px; border-radius: 999px; background: var(--brand); }
.progress3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.progress3 span { height: 6px; border-radius: 6px; background: var(--seg); }
.progress3 span.on { background: var(--ok-dot); }

/* toast & sheet */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 14px; font-size: 15px; font-weight: 600; box-shadow: 0 16px 32px -12px rgba(15,21,53,.5); max-width: calc(100% - 32px); }
.sheet-bg { position: fixed; inset: 0; z-index: 85; background: rgba(15,21,53,.45); display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: 520px; background: #fff; border-radius: 28px 28px 0 0; padding: 14px 22px 26px; display: flex; flex-direction: column; gap: 14px; max-height: 90vh; overflow: auto; }
.sheet::before { content: ""; width: 44px; height: 5px; border-radius: 9px; background: var(--seg); align-self: center; }
@media (min-width: 700px) { .sheet-bg { align-items: center; } .sheet { border-radius: 28px; } .sheet::before { display: none; } }

.steps { display: flex; gap: 8px; flex-wrap: wrap; }
.steps > div { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 8px; border-radius: 999px; font-size: 15px; font-weight: 700; color: var(--muted); }
.steps > div.on { background: #fff; color: var(--ink); }
.steps > div.done { color: var(--ink); }
.steps > div > span { width: 32px; height: 32px; border-radius: 999px; background: #E3E5EC; color: var(--muted); display: grid; place-items: center; font-size: 14px; font-weight: 800; }
.steps > div.on > span { background: var(--brand); color: #fff; }
.steps > div.done > span { background: var(--ok-dot); color: #fff; }
.success { width: 104px; height: 104px; border-radius: 999px; background: var(--ok-tint); display: grid; place-items: center; }
.success i { width: 76px; height: 76px; border-radius: 999px; background: var(--ok-dot); color: #fff; display: grid; place-items: center; font-size: 40px; }
.fail i { background: var(--red); }
.fail { background: var(--red-tint); }

@media print {
  .hdr, .ftr, .p-side, .no-print { display: none !important; }
  body { background: #fff; }
}
