/* ============================================================
   Sehet Masr — App shell + component system
   Uses logical properties throughout for clean RTL/LTR mirroring.
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--font-app);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--moh-ink);
  background: var(--eand-beige);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
a { color: var(--moh-primary); text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--moh-primary) 55%, transparent); outline-offset: 2px; border-radius: 4px; }

/* ---------- device frame (desktop) ---------- */
#device {
  max-width: var(--app-max);
  margin-inline: auto;
  height: 100dvh;               /* bounded height so .screen scrolls internally
                                   and the bottom tab bar stays pinned */
  background: var(--moh-bg);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-3);
  overflow: hidden;
}
@media (min-width: 520px) {
  body { padding: 18px 0; background: linear-gradient(160deg,#e9ece4,#dfe6e2 60%,#e7ded8); }
  #device { height: calc(100dvh - 36px); border-radius: 34px; border: 10px solid #0c1615; }
}

/* ---------- app bar ---------- */
.appbar {
  position: sticky; top: 0; z-index: 40;
  min-height: var(--appbar-h);
  display: flex; align-items: center; gap: var(--sp-3);
  padding: max(env(safe-area-inset-top), 8px) var(--sp-4) 8px;
  background: var(--moh-surface);
  border-bottom: 1px solid var(--moh-line);
}
.appbar__back { width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--r-pill); color: var(--moh-ink); background: var(--moh-primary-tint); }
.appbar__title { font-size: var(--fs-h3); font-weight: 700; flex: 1; min-width: 0; }
.appbar__title small { display: block; font-size: var(--fs-caption); font-weight: 500; color: var(--moh-ink-2); }
.appbar__actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-pill); color: var(--moh-ink); position: relative; }
.icon-btn:active { background: var(--moh-primary-tint); }
.icon-btn .dot { position: absolute; top: 7px; inset-inline-end: 8px; width: 8px; height: 8px; background: var(--eand-red); border-radius: 50%; border: 2px solid var(--moh-surface); }

/* ---------- scroll area ---------- */
.screen {
  flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 12px);
}
.screen.no-tabs { padding-bottom: calc(env(safe-area-inset-bottom) + 20px); }
.pad { padding: var(--sp-4); }
.section { padding: var(--sp-4); }
.section + .section { padding-top: 0; }
.stack { display: flex; flex-direction: column; gap: var(--sp-3); }
.row { display: flex; align-items: center; gap: var(--sp-3); }
.between { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.muted { color: var(--moh-ink-2); }
.center { text-align: center; }
.hidden { display: none !important; }

/* ---------- section headers ---------- */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: var(--sp-3); }
.sec-head h2 { font-size: var(--fs-h3); font-weight: 700; }
.sec-head a, .sec-head button.link { color: var(--moh-primary); font-size: var(--fs-small); font-weight: 600; }
.eyebrow { font-size: var(--fs-caption); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--moh-primary); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 var(--sp-5); border-radius: var(--r-pill); font-weight: 700; font-size: var(--fs-body); transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast); }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--moh-primary); color: #fff; box-shadow: var(--sh-primary); }
.btn--primary:disabled { background: var(--moh-line); color: var(--moh-ink-2); box-shadow: none; cursor: not-allowed; }
.btn--secondary { background: var(--moh-primary-tint); color: var(--moh-primary-dark); }
.btn--tertiary { background: transparent; color: var(--moh-primary); }
.btn--danger { background: var(--danger); color: #fff; }
.btn--ghost { background: var(--moh-surface); color: var(--moh-ink); border: 1px solid var(--moh-line); }
.btn--block { display: flex; width: 100%; }
.btn--sm { min-height: 38px; font-size: var(--fs-small); padding: 0 var(--sp-4); }
.btn--eand { background: var(--eand-red); color: #fff; }
.btn--uhi { background: var(--uhi-accent); color: #fff; box-shadow: 0 8px 24px rgba(31,111,178,.28); }
.btn[data-loading="1"] { pointer-events: none; opacity: .8; }
.btn .spin { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- cards ---------- */
.card { background: var(--moh-surface); border-radius: var(--r-md); box-shadow: var(--sh-1); padding: var(--sp-4); border: 1px solid color-mix(in srgb, var(--moh-line) 60%, transparent); }
.card--outline { box-shadow: none; border: 1px solid var(--moh-line); }
.card--flat { box-shadow: none; }
.card--tap { transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast); }
.card--tap:active { transform: scale(.985); box-shadow: var(--sh-2); }
.card__media { height: 128px; border-radius: var(--r-sm); background-size: cover; background-position: center; margin: calc(-1 * var(--sp-4)) calc(-1 * var(--sp-4)) var(--sp-3); border-end-start-radius: 0; border-end-end-radius: 0; }

/* ---------- list rows ---------- */
.list { background: var(--moh-surface); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-1); }
.lrow { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); text-align: start; width: 100%; background: none; border-bottom: 1px solid var(--moh-line); }
.lrow:last-child { border-bottom: none; }
.lrow:active { background: var(--moh-primary-tint); }
.lrow__lead { width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--moh-primary-tint); color: var(--moh-primary-dark); display: grid; place-items: center; flex-shrink: 0; font-weight: 700; }
.lrow__lead--round { border-radius: 50%; }
.lrow__body { flex: 1; min-width: 0; }
.lrow__title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lrow__sub { font-size: var(--fs-small); color: var(--moh-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lrow__meta { font-size: var(--fs-small); color: var(--moh-ink-2); flex-shrink: 0; text-align: end; }
.lrow__chev { color: var(--moh-ink-2); flex-shrink: 0; }
html[dir="rtl"] .lrow__chev svg { transform: scaleX(-1); }

/* ---------- chips / segmented ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-block: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 var(--sp-4); border-radius: var(--r-pill); background: var(--moh-surface); border: 1px solid var(--moh-line); font-size: var(--fs-small); font-weight: 600; color: var(--moh-ink-2); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--moh-primary); color: #fff; border-color: var(--moh-primary); }
.seg { display: flex; background: var(--moh-primary-tint); border-radius: var(--r-pill); padding: 4px; gap: 4px; }
.seg button { flex: 1; min-height: 40px; border-radius: var(--r-pill); font-weight: 700; font-size: var(--fs-small); color: var(--moh-primary-dark); }
.seg button.is-active { background: var(--moh-surface); color: var(--moh-primary-dark); box-shadow: var(--sh-1); }

/* ---------- badges / pills ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: var(--r-pill); font-size: var(--fs-caption); font-weight: 700; background: var(--moh-primary-tint); color: var(--moh-primary-dark); }
.badge--gold { background: color-mix(in srgb,var(--moh-gold) 22%, #fff); color: #7a5c15; }
.badge--verified { background: var(--info-tint); color: var(--info); }
.badge--uhi { background: var(--uhi-tint); color: var(--uhi-accent); }
.badge--htag { background: var(--htag-tint); color: var(--htag-teal-dk); }
.badge--success { background: var(--success-tint); color: var(--success); }
.badge--warning { background: var(--warning-tint); color: var(--warning); }
.badge--danger { background: var(--danger-tint); color: var(--danger); }
.badge--muted { background: var(--moh-line); color: var(--moh-ink-2); }

/* ---------- stat / KPI ---------- */
.kpis { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--sp-3); }
.kpi { background: var(--moh-surface); border-radius: var(--r-md); padding: var(--sp-4); box-shadow: var(--sh-1); }
.kpi__val { font-size: var(--fs-h1); font-weight: 800; line-height: 1.1; }
.kpi__lbl { font-size: var(--fs-small); color: var(--moh-ink-2); margin-top: 2px; }
.kpi__ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--moh-primary-tint); color: var(--moh-primary-dark); margin-bottom: 8px; }

/* ---------- quick actions ---------- */
.qa-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--sp-2); }
.qa { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: var(--sp-2); border-radius: var(--r-md); background: var(--moh-surface); box-shadow: var(--sh-1); text-align: center; }
.qa:active { transform: scale(.96); }
.qa__ico { width: 46px; height: 46px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--moh-primary-tint); color: var(--moh-primary-dark); }
.qa__lbl { font-size: var(--fs-caption); font-weight: 600; line-height: 1.2; }

/* ---------- form fields ---------- */
.field { display: block; margin-bottom: var(--sp-4); }
.field > label { display: block; font-size: var(--fs-small); font-weight: 600; margin-bottom: 6px; }
.field .hint { font-size: var(--fs-caption); color: var(--moh-ink-2); margin-top: 4px; }
.field .err { font-size: var(--fs-caption); color: var(--danger); margin-top: 4px; }
.input, .select, textarea.input { width: 100%; min-height: 50px; padding: 0 var(--sp-4); border-radius: var(--r-sm); border: 1.5px solid var(--moh-line); background: var(--moh-surface); transition: border-color var(--dur-fast); }
textarea.input { padding-top: 12px; min-height: 96px; line-height: 1.5; resize: vertical; }
.input:focus, .select:focus, textarea.input:focus { border-color: var(--moh-primary); outline: none; }
.input.is-error { border-color: var(--danger); }
.input-group { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--moh-line); border-radius: var(--r-sm); padding-inline: var(--sp-4); background: var(--moh-surface); min-height: 50px; }
.input-group:focus-within { border-color: var(--moh-primary); }
.input-group input { border: none; flex: 1; min-height: auto; padding: 0; background: none; }
.input-group .adorn { color: var(--moh-ink-2); font-weight: 600; }

/* toggle switch */
.switch { position: relative; width: 50px; height: 30px; flex-shrink: 0; }
.switch input { opacity: 0; width: 100%; height: 100%; }
.switch .track { position: absolute; inset: 0; background: var(--moh-line); border-radius: var(--r-pill); transition: background var(--dur-mid); }
.switch .thumb { position: absolute; top: 3px; inset-inline-start: 3px; width: 24px; height: 24px; background: #fff; border-radius: 50%; box-shadow: var(--sh-1); transition: transform var(--dur-mid) var(--ease); }
.switch input:checked ~ .track { background: var(--moh-primary); }
.switch input:checked ~ .thumb { transform: translateX(20px); }
html[dir="rtl"] .switch input:checked ~ .thumb { transform: translateX(-20px); }

/* OTP */
.otp { display: flex; gap: 10px; direction: ltr; justify-content: center; }
.otp input { width: 46px; height: 56px; text-align: center; font-size: var(--fs-h2); font-weight: 700; border: 1.5px solid var(--moh-line); border-radius: var(--r-sm); background: var(--moh-surface); }
.otp input:focus { border-color: var(--moh-primary); outline: none; }

/* ---------- bottom tab bar ---------- */
.tabbar {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 45;
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  display: flex; background: color-mix(in srgb,var(--moh-surface) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-top: 1px solid var(--moh-line);
}
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--moh-ink-2); position: relative; }
.tab__ico { display: grid; place-items: center; }
.tab__lbl { font-size: 10.5px; font-weight: 600; }
.tab.is-active { color: var(--moh-primary); }
.tab.is-active .tab__ico { transform: translateY(-1px); }
.tab .newdot { position: absolute; top: 8px; inset-inline-end: 22px; width: 7px; height: 7px; border-radius: 50%; background: var(--uhi-accent); }

/* ---------- powered-by lockup ---------- */
.poweredby { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-caption); color: var(--moh-ink-2); }
.eand-mark { font-family: var(--font-en); font-weight: 800; color: var(--eand-red); letter-spacing: -.02em; }
.htag-mark { font-family: var(--font-en); font-weight: 800; color: var(--htag-teal); }

/* ---------- amp watermark ---------- */
.amp-wm { position: absolute; inset-inline-end: -30px; top: -30px; font-family: var(--font-en); font-weight: 800; font-size: 240px; line-height: 1; color: rgba(255,255,255,.08); pointer-events: none; user-select: none; }

/* ---------- skeleton ---------- */
.skel { background: linear-gradient(100deg, var(--moh-line) 30%, color-mix(in srgb,var(--moh-line) 40%, var(--moh-surface)) 50%, var(--moh-line) 70%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: var(--r-sm); }
@keyframes shimmer { to { background-position: -200% 0; } }
.skel-line { height: 12px; margin: 8px 0; }

/* ---------- empty state ---------- */
.empty { text-align: center; padding: var(--sp-8) var(--sp-5); color: var(--moh-ink-2); }
.empty__ico { width: 68px; height: 68px; margin: 0 auto var(--sp-3); border-radius: 50%; display: grid; place-items: center; background: var(--moh-primary-tint); color: var(--moh-primary); }
.empty h3 { color: var(--moh-ink); margin-bottom: 4px; }

/* ---------- toast ---------- */
#toasts { position: fixed; inset-inline: 0; bottom: calc(var(--tabbar-h) + 20px); z-index: 200; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toast { pointer-events: auto; background: var(--moh-ink); color: #fff; padding: 12px 18px; border-radius: var(--r-pill); font-size: var(--fs-small); font-weight: 600; box-shadow: var(--sh-3); display: flex; align-items: center; gap: 8px; animation: toastin var(--dur-mid) var(--ease); max-width: 90%; }
.toast--success { background: var(--success); }
.toast--danger { background: var(--danger); }
@keyframes toastin { from { transform: translateY(16px); opacity: 0; } }

/* ---------- bottom sheet / modal ---------- */
.scrim { position: fixed; inset: 0; z-index: 150; background: rgba(10,20,18,.5); backdrop-filter: blur(2px); display: flex; align-items: flex-end; justify-content: center; animation: fade var(--dur-fast); }
.scrim.center { align-items: center; }
@keyframes fade { from { opacity: 0; } }
.sheet { width: 100%; max-width: var(--app-max); background: var(--moh-surface); border-start-start-radius: var(--r-xl); border-start-end-radius: var(--r-xl); padding: var(--sp-5) var(--sp-4) calc(env(safe-area-inset-bottom) + var(--sp-5)); box-shadow: var(--sh-3); animation: sheetup var(--dur-mid) var(--ease); max-height: 88dvh; overflow-y: auto; }
.sheet.modal { border-radius: var(--r-lg); margin: var(--sp-4); max-height: 84dvh; }
@keyframes sheetup { from { transform: translateY(100%); } }
.sheet__grab { width: 40px; height: 4px; background: var(--moh-line); border-radius: 2px; margin: 0 auto var(--sp-4); }
.sheet h2 { font-size: var(--fs-h2); margin-bottom: var(--sp-2); }

/* ---------- map (styled, pin-plotted, no external tiles) ---------- */
.map { position: relative; width: 100%; height: 300px; border-radius: var(--r-md); overflow: hidden; background:
  radial-gradient(circle at 20% 30%, #dfeae4, transparent 40%),
  radial-gradient(circle at 80% 70%, #e5eef0, transparent 45%),
  repeating-linear-gradient(0deg, transparent 0 38px, rgba(14,124,123,.06) 38px 39px),
  repeating-linear-gradient(90deg, transparent 0 38px, rgba(14,124,123,.06) 38px 39px),
  linear-gradient(160deg,#eef4f0,#e3ede9);
  border: 1px solid var(--moh-line); }
.map__river { position: absolute; inset: 0; }
.pin { position: absolute; transform: translate(-50%,-100%); z-index: 2; }
.pin__dot { width: 30px; height: 30px; border-radius: 50% 50% 50% 2px; background: var(--moh-primary); transform: rotate(45deg); box-shadow: var(--sh-2); display: grid; place-items: center; border: 2px solid #fff; }
.pin__dot span { transform: rotate(-45deg); color: #fff; font-size: 13px; }
.pin.is-uhi .pin__dot { background: var(--uhi-accent); }
.pin.is-htag .pin__dot { background: var(--htag-teal); }
.pin.is-active .pin__dot { background: var(--eand-red); scale: 1.15; }

/* ---------- QR / membership card ---------- */
.qr { width: 120px; height: 120px; border-radius: var(--r-sm); background:
  conic-gradient(from 0deg, #000 25%, #fff 0 50%, #000 0 75%, #fff 0);
  background-size: 12px 12px; border: 6px solid #fff; box-shadow: var(--sh-1); }
.member-card { border-radius: var(--r-lg); padding: var(--sp-5); color: #fff; background: linear-gradient(135deg, var(--htag-teal), var(--htag-teal-dk)); position: relative; overflow: hidden; box-shadow: var(--sh-2); }

/* ---------- video call mock ---------- */
.callstage { position: relative; height: 62dvh; border-radius: var(--r-lg); background: linear-gradient(160deg,#12403e,#0a2b2a); overflow: hidden; display: grid; place-items: center; }
.callstage__remote { color: rgba(255,255,255,.5); text-align: center; }
.callstage__self { position: absolute; inset-block-start: 12px; inset-inline-end: 12px; width: 92px; height: 128px; border-radius: var(--r-md); background: linear-gradient(160deg,#1e6b68,#0e4746); border: 2px solid rgba(255,255,255,.25); display: grid; place-items: center; color: rgba(255,255,255,.6); }
.callbar { display: flex; justify-content: center; gap: var(--sp-3); margin-top: var(--sp-4); }
.callbtn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--moh-primary-tint); color: var(--moh-primary-dark); }
.callbtn--end { background: var(--danger); color: #fff; }

/* ---------- data table -> cards ---------- */
.dtable { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.dtable th, .dtable td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--moh-line); }
.dtable th { font-size: var(--fs-caption); text-transform: uppercase; letter-spacing: .04em; color: var(--moh-ink-2); }
.table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--moh-line); background: var(--moh-surface); }

/* ---------- stepper ---------- */
.stepper { display: flex; align-items: center; gap: 6px; margin-bottom: var(--sp-4); }
.stepper .dot { flex: 1; height: 6px; border-radius: 3px; background: var(--moh-line); }
.stepper .dot.is-done { background: var(--moh-primary); }
.stepper .dot.is-active { background: var(--moh-primary); opacity: .5; }

/* referral / timeline chain */
.chain { position: relative; padding-inline-start: 26px; }
.chain::before { content: ""; position: absolute; inset-inline-start: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--moh-line); }
.chain__step { position: relative; padding-bottom: var(--sp-4); }
.chain__step:last-child { padding-bottom: 0; }
.chain__step::before { content: ""; position: absolute; inset-inline-start: -22px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--moh-surface); border: 3px solid var(--moh-line); }
.chain__step.is-done::before { border-color: var(--success); background: var(--success); }
.chain__step.is-active::before { border-color: var(--moh-primary); }

/* progress ring */
.ring { --p: 0; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--moh-primary) calc(var(--p)*1%), var(--moh-line) 0); }
.ring__in { width: 50px; height: 50px; border-radius: 50%; background: var(--moh-surface); display: grid; place-items: center; font-weight: 800; font-size: var(--fs-small); }

/* trend chart */
.spark { width: 100%; height: 90px; }
.spark path.line { fill: none; stroke: var(--moh-primary); stroke-width: 2.5; }
.spark path.area { fill: color-mix(in srgb,var(--moh-primary) 12%, transparent); stroke: none; }

/* hero surfaces (e& partner) */
.hero-eand { background: linear-gradient(150deg, var(--eand-maroon), #6b1a2c); color: #fff; position: relative; overflow: hidden; }
.hero-moh { background: linear-gradient(150deg, var(--moh-primary), var(--moh-primary-dark)); color: #fff; position: relative; overflow: hidden; }
.hero-uhi { background: linear-gradient(150deg, var(--uhi-accent), #164e80); color: #fff; }

/* UHI reveal animation */
@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.reveal { animation: riseIn var(--dur-mid) var(--ease) both; }
.reveal-1 { animation-delay: .05s; } .reveal-2 { animation-delay: .12s; } .reveal-3 { animation-delay: .19s; }
.reveal-4 { animation-delay: .26s; } .reveal-5 { animation-delay: .33s; } .reveal-6 { animation-delay: .40s; }

/* page transition */
@keyframes pageIn { from { opacity: 0; transform: translateY(6px); } }
.screen > .page { animation: pageIn var(--dur-fast) var(--ease); }

/* lock screen (gated UHI) */
.lock { text-align: center; padding: var(--sp-8) var(--sp-5); }
.lock__ico { width: 74px; height: 74px; border-radius: 50%; margin: 0 auto var(--sp-4); display: grid; place-items: center; background: var(--uhi-tint); color: var(--uhi-accent); }

/* pull spacing helpers */
.mt-2 { margin-top: var(--sp-2); } .mt-3 { margin-top: var(--sp-3); } .mt-4 { margin-top: var(--sp-4); }
.mb-2 { margin-bottom: var(--sp-2); } .mb-3 { margin-bottom: var(--sp-3); } .mb-4 { margin-bottom: var(--sp-4); }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; flex-shrink: 0; }
.h-scroll { display: flex; gap: var(--sp-3); overflow-x: auto; padding-block: 4px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll > * { scroll-snap-align: start; flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
