/* Cairo (OFL, self-hosted: public/assets/fonts) — the Arabic typeface of the app.
   "Cairo" = whole UI in Arabic-script languages; "Cairo Arabic" = only Arabic letters inside other languages (names, data). */
@font-face { font-family: "Cairo"; src: url("/assets/fonts/Cairo.ttf") format("truetype"); font-weight: 200 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Cairo Arabic"; src: url("/assets/fonts/Cairo.ttf") format("truetype"); font-weight: 200 1000; font-style: normal; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F, U+060C, U+061B, U+061F; }

/* ==========================================================================
   Smile Crew — native-feel design system (RTL, light/dark, mobile-first)
   ========================================================================== */
:root {
  --tint: #5b5bf0;
  --tint-2: #a855f7;
  --tint-soft: color-mix(in srgb, var(--tint) 14%, transparent);
  --green: #22c55e; --orange: #f59e0b; --red: #ef4444; --blue: #0a84ff; --pink: #ec4899; --teal: #14b8a6; --gray: #8e8e93; --yellow: #eab308;

  --bg: #f2f2f7;
  --bg-elev: #ffffff;
  --bg-2: #e9e9ef;
  --fill: rgba(120,120,128,.12);
  --fill-2: rgba(120,120,128,.2);
  --label: #0b0b0f;
  --label-2: rgba(60,60,67,.66);
  --label-3: rgba(60,60,67,.36);
  --sep: rgba(60,60,67,.14);
  --bar: rgba(249,249,251,.78);
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px -12px rgba(20,20,60,.18);
  --shadow-lg: 0 24px 60px -20px rgba(20,20,60,.35);

  --r-sm: 10px; --r: 16px; --r-lg: 22px; --r-xl: 28px;
  --tabbar-h: 62px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --font: "Cairo Arabic", -apple-system, BlinkMacSystemFont, "SF Arabic", "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", "Noto Sans Arabic", Tahoma, system-ui, sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #000; --bg-elev: #151518; --bg-2: #232327;
  --fill: rgba(118,118,128,.24); --fill-2: rgba(118,118,128,.32);
  --label: #f5f5f7; --label-2: rgba(235,235,245,.62); --label-3: rgba(235,235,245,.3);
  --sep: rgba(84,84,88,.5); --bar: rgba(20,20,22,.74);
  --shadow: 0 0 0 .5px rgba(255,255,255,.06); --shadow-lg: 0 24px 60px -20px rgba(0,0,0,.8);
  --tint: #7c7cff;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000; --bg-elev: #151518; --bg-2: #232327;
    --fill: rgba(118,118,128,.24); --fill-2: rgba(118,118,128,.32);
    --label: #f5f5f7; --label-2: rgba(235,235,245,.62); --label-3: rgba(235,235,245,.3);
    --sep: rgba(84,84,88,.5); --bar: rgba(20,20,22,.74);
    --shadow: 0 0 0 .5px rgba(255,255,255,.06); --shadow-lg: 0 24px 60px -20px rgba(0,0,0,.8);
    --tint: #7c7cff;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; height: 100%; }
body {
  margin: 0; min-height: 100%; background: var(--bg); color: var(--label);
  font: 400 16px/1.45 var(--font); letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic.sm { width: 17px; height: 17px; } .ic.lg { width: 28px; height: 28px; } .ic.xl { width: 44px; height: 44px; stroke-width: 1.6; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--label-2); } .faint { color: var(--label-3); }
.num { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.hide { display: none !important; }

/* ---------- shell ---------- */
.shell { display: flex; min-height: 100dvh; }
.screen { flex: 1; min-width: 0; padding-bottom: calc(var(--tabbar-h) + var(--safe-b) + 24px); }
.content { padding: 0 16px; max-width: 760px; margin: 0 auto; }
.content.wide { max-width: 1180px; }

/* ---------- app bar (iOS large title) ---------- */
.appbar {
  position: sticky; top: 0; z-index: 30; height: calc(52px + var(--safe-t)); padding: var(--safe-t) 8px 0;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  background: transparent; transition: background .25s, box-shadow .25s;
}
.appbar.scrolled { background: var(--bar); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 .5px 0 var(--sep); }
.appbar .bar-title { grid-column: 2; font-weight: 650; font-size: 16.5px; opacity: 0; transform: translateY(6px); transition: .25s var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 56vw; }
.appbar.scrolled .bar-title { opacity: 1; transform: none; }
.appbar .start { grid-column: 1; display: flex; gap: 2px; justify-self: start; }
.appbar .end { grid-column: 3; display: flex; gap: 2px; justify-self: end; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: transparent; color: var(--tint); cursor: pointer; transition: transform .15s, background .2s;
}
.icon-btn:active { transform: scale(.88); background: var(--fill); }
.icon-btn .dot { position: absolute; top: 7px; inset-inline-end: 7px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--bg); }
.back-btn { display: inline-flex; align-items: center; gap: 0; color: var(--tint); font-size: 17px; padding: 8px 4px; border: 0; background: none; cursor: pointer; }
.back-btn .ic { width: 26px; height: 26px; stroke-width: 2.4; }

.page-head { padding: 4px 4px 14px; }
.page-head h1 { margin: 0; font-size: 32px; line-height: 1.15; font-weight: 800; letter-spacing: -.03em; }
.page-head p { margin: 4px 0 0; color: var(--label-2); font-size: 15px; }
.page-head .row-between { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }

/* ---------- tab bar ---------- */
.tabbar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 40;
  height: calc(var(--tabbar-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  background: var(--bar); backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px);
  box-shadow: 0 -.5px 0 var(--sep);
}
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--gray); font-size: 10.5px; font-weight: 600; position: relative; transition: color .2s; }
.tab .ic { width: 25px; height: 25px; transition: transform .35s var(--spring); }
.tab.on { color: var(--tint); }
.tab.on .ic { transform: translateY(-1px) scale(1.08); stroke-width: 2.2; }
.tab:active .ic { transform: scale(.82); }
.tab .dot { position: absolute; top: 6px; inset-inline-start: calc(50% + 6px); width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

/* ---------- side rail (tablet/desktop admin) ---------- */
.rail { display: none; }
@media (min-width: 960px) {
  .tabbar { display: none; }
  .screen { padding-bottom: 40px; }
  .rail {
    display: flex; flex-direction: column; gap: 2px; width: 264px; flex: none; position: sticky; top: 0; height: 100dvh;
    padding: 20px 12px; border-inline-end: .5px solid var(--sep); background: var(--bg-elev); overflow-y: auto;
  }
  .rail .brand { display: flex; gap: 10px; align-items: center; padding: 4px 10px 18px; font-weight: 800; font-size: 18px; }
  .rail a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--label); font-weight: 550; font-size: 15px; transition: background .15s; }
  .rail a:hover { background: var(--fill); }
  .rail a.on { background: var(--tint-soft); color: var(--tint); }
  .rail a .ic { color: var(--tint); }
  .rail .sp { flex: 1; }
  .rail .me { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: var(--fill); }
  .content { padding: 0 32px; }
  .page-head h1 { font-size: 36px; }
}

/* ---------- brand mark ---------- */
.logo { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--tint), var(--tint-2)); box-shadow: 0 6px 16px -6px var(--tint); }
.logo .ic { width: 22px; height: 22px; stroke-width: 2.2; }
.logo.pf-logo { background: linear-gradient(135deg, #FF8A1F, #FF3D2E); box-shadow: 0 6px 16px -6px #FF3D2E; } .logo.pf-logo img { width: 78%; height: 78%; display: block; }

/* ---------- section + grouped lists ---------- */
.section { margin: 22px 0 8px; }
.section-title { display: flex; justify-content: space-between; align-items: baseline; margin: 0 6px 8px; }
.section-title h2 { margin: 0; font-size: 20px; font-weight: 750; letter-spacing: -.02em; }
.section-title a, .section-title button { color: var(--tint); font-size: 15px; border: 0; background: none; cursor: pointer; }
.caption { margin: 6px 16px 0; color: var(--label-2); font-size: 13px; }
.group-label { margin: 18px 16px 6px; color: var(--label-2); font-size: 13px; text-transform: uppercase; letter-spacing: .02em; }

.list { background: var(--bg-elev); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.row {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 16px;
  background: var(--bg-elev); transition: background .15s; width: 100%; border: 0; text-align: start; cursor: default;
}
a.row, button.row, label.row { cursor: pointer; }
a.row:active, button.row:active, label.row:active { background: var(--fill); }
.row + .row::before { content: ""; position: absolute; top: 0; inset-inline-start: 62px; inset-inline-end: 0; border-top: .5px solid var(--sep); }
.list.plain .row + .row::before { inset-inline-start: 16px; }
.row .body { flex: 1; min-width: 0; }
.row .title { font-size: 16px; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .sub { font-size: 13.5px; color: var(--label-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.row .sub.wrap { white-space: normal; }
.row .trail { display: flex; align-items: center; gap: 6px; color: var(--label-2); font-size: 15px; flex: none; }
.row .chev { color: var(--label-3); width: 18px; height: 18px; stroke-width: 2.4; }
.row.danger { color: var(--red); } .row.danger .title { color: var(--red); }
.row.tint .title { color: var(--tint); }

.tile { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: #fff; flex: none; background: var(--tint); }
.tile .ic { width: 20px; height: 20px; stroke-width: 2.1; }
.tile.lg { width: 46px; height: 46px; border-radius: 13px; } .tile.lg .ic { width: 25px; height: 25px; }
.t-green { background: var(--green); } .t-orange { background: var(--orange); } .t-red { background: var(--red); } .t-blue { background: var(--blue); }
.t-pink { background: var(--pink); } .t-teal { background: var(--teal); } .t-gray { background: var(--gray); } .t-purple { background: #a855f7; } .t-yellow { background: var(--yellow); } .t-indigo { background: var(--tint); }

.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none; background: var(--c, var(--tint)); background-image: linear-gradient(140deg, rgba(255,255,255,.32), transparent 62%); box-shadow: inset 0 -2px 4px rgba(0,0,0,.14), inset 0 1px 1px rgba(255,255,255,.35), 0 3px 8px -4px var(--c, var(--tint)); }
.avatar .ic { width: 56%; height: 56%; stroke-width: 2.1; filter: drop-shadow(0 1px 1px rgba(0,0,0,.18)); }
.avatar.sm { width: 30px; height: 30px; } .avatar.lg { width: 84px; height: 84px; margin: 0 auto 10px; } .avatar.lg .ic { stroke-width: 1.7; } .avatar.xs { width: 24px; height: 24px; border: 2px solid var(--bg-elev); }
.avatar.has-img { overflow: hidden; padding: 0; } .avatar.has-img > img { width: 100%; height: 100%; display: block; border-radius: 50%; object-fit: cover; } /* profile photo or default (accounts) */
/* labelled "my account" pill (home greeting) — avatar + visible label instead of a bare disc */
.me-pill { display: inline-flex; align-items: center; gap: 8px; flex: none; max-width: 46vw; padding: 4px; padding-inline: 4px 12px; border-radius: 99px; background: var(--bg-elev); box-shadow: var(--shadow); color: var(--label); font-size: 14px; font-weight: 700; text-decoration: none; transition: transform .2s; }
.me-pill > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-pill:active { transform: scale(.95); }
.row .sub.crew-line { display: flex; align-items: center; gap: 4px; }
.row .sub.crew-line .ic { flex: none; }

/* ---------- cards ---------- */
.card { background: var(--bg-elev); border-radius: var(--r-lg); padding: 16px; box-shadow: var(--shadow); }
.card + .card { margin-top: 12px; }
.card h3 { margin: 0 0 4px; font-size: 17px; font-weight: 700; }

.hero {
  position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 20px; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, #8b5cf6 0%, transparent 55%), radial-gradient(100% 120% at 0% 100%, #ec4899 0%, transparent 55%), linear-gradient(135deg, #4f46e5, #7c3aed);
  box-shadow: 0 20px 40px -18px #6d28d9;
}
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 15%, rgba(255,255,255,.22), transparent 40%); pointer-events: none; }
.hero .eyebrow { opacity: .85; font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.hero h2 { margin: 6px 0 2px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.hero p { margin: 0; opacity: .9; font-size: 14.5px; }
.hero .hero-row { display: flex; gap: 10px; margin-top: 16px; position: relative; z-index: 1; flex-wrap: wrap; }
.hero.green { background: radial-gradient(120% 140% at 100% 0%, #34d399 0%, transparent 55%), linear-gradient(135deg, #059669, #0d9488); box-shadow: 0 20px 40px -18px #059669; }
.hero.orange { background: radial-gradient(120% 140% at 100% 0%, #fbbf24 0%, transparent 55%), linear-gradient(135deg, #ea580c, #db2777); box-shadow: 0 20px 40px -18px #ea580c; }
.hero.blue { background: radial-gradient(120% 140% at 100% 0%, #38bdf8 0%, transparent 55%), linear-gradient(135deg, #2563eb, #4f46e5); box-shadow: 0 20px 40px -18px #2563eb; }
.glass { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(10px); color: #fff; }

/* KPI tiles */
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kpi { background: var(--bg-elev); border-radius: var(--r-lg); padding: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; min-height: 112px; transition: transform .2s; }
a.kpi:active { transform: scale(.97); }
.kpi .top { display: flex; justify-content: space-between; align-items: center; }
.kpi .val { font-size: 26px; font-weight: 800; letter-spacing: -.03em; line-height: 1; min-width: 0; }
.kpi .lbl { color: var(--label-2); font-size: 13.5px; font-weight: 550; }
.kpi .delta { font-size: 12px; font-weight: 700; padding: 2px 7px; border-radius: 99px; background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green); }

/* quick actions grid (springboard style) */
.springboard { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 8px; padding: 6px 2px; }
@media (min-width: 700px) { .springboard { grid-template-columns: repeat(6, 1fr); } }
.app-icon { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 12px; font-weight: 550; text-align: center; color: var(--label); }
.app-icon .tile { width: 58px; height: 58px; border-radius: 16px; box-shadow: 0 6px 14px -8px rgba(0,0,0,.45); transition: transform .2s var(--spring); }
.app-icon .tile .ic { width: 28px; height: 28px; }
.app-icon:active .tile { transform: scale(.88); }
.app-icon .tile.g1 { background: linear-gradient(145deg, #60a5fa, #2563eb); } .app-icon .tile.g2 { background: linear-gradient(145deg, #34d399, #059669); }
.app-icon .tile.g3 { background: linear-gradient(145deg, #fbbf24, #ea580c); } .app-icon .tile.g4 { background: linear-gradient(145deg, #f472b6, #db2777); }
.app-icon .tile.g5 { background: linear-gradient(145deg, #a78bfa, #7c3aed); } .app-icon .tile.g6 { background: linear-gradient(145deg, #5eead4, #0d9488); }
.app-icon .tile.g7 { background: linear-gradient(145deg, #94a3b8, #475569); } .app-icon .tile.g8 { background: linear-gradient(145deg, #fca5a5, #dc2626); }

/* horizontal scroller */
.hscroll { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 16px 10px; margin: 0 -16px; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; flex: none; }
.mini-card { width: 230px; background: var(--bg-elev); border-radius: var(--r-lg); padding: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.mini-card .when { font-size: 12.5px; font-weight: 700; color: var(--tint); display: flex; gap: 5px; align-items: center; }
.mini-card .what { font-weight: 700; font-size: 16px; line-height: 1.25; }

/* timeline (schedule) */
.timeline { position: relative; }
.tl-item { display: grid; grid-template-columns: 58px 1fr; gap: 10px; position: relative; padding-bottom: 12px; }
.tl-time { text-align: center; font-weight: 700; font-size: 13px; color: var(--label-2); padding-top: 14px; }
.tl-card { background: var(--bg-elev); border-radius: var(--r); padding: 12px 14px; box-shadow: var(--shadow); border-inline-start: 4px solid var(--c, var(--tint)); display: flex; gap: 12px; align-items: center; }
.tl-item.now .tl-card { box-shadow: 0 0 0 2px var(--tint), var(--shadow); }
.tl-item.past { opacity: .55; }

/* ---------- badges / chips / segmented ---------- */
.badge { max-width: 100%; display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 99px; font-size: 12px; font-weight: 700; white-space: nowrap; background: var(--fill); color: var(--label-2); }
.badge.green { background: color-mix(in srgb, var(--green) 16%, transparent); color: #16a34a; }
.badge.orange { background: color-mix(in srgb, var(--orange) 18%, transparent); color: #d97706; }
.badge.red { background: color-mix(in srgb, var(--red) 15%, transparent); color: var(--red); }
.badge.blue { background: color-mix(in srgb, var(--blue) 15%, transparent); color: var(--blue); }
.badge.purple { background: var(--tint-soft); color: var(--tint); }
:root[data-theme="dark"] .badge.green { color: #4ade80; } :root[data-theme="dark"] .badge.orange { color: #fbbf24; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 12px; margin: 0 -16px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 7px 14px; border-radius: 99px; background: var(--bg-elev); box-shadow: var(--shadow); font-size: 14px; font-weight: 600; color: var(--label); white-space: nowrap; transition: .2s; }
.chip.on { background: var(--label); color: var(--bg); }

.segmented { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--fill); border-radius: 10px; padding: 2px; margin-bottom: 14px; }
.segmented a, .segmented label { text-align: center; padding: 7px 6px; border-radius: 8px; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: .2s; }
.segmented .on, .segmented input:checked + span { background: var(--bg-elev); box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.segmented label span { display: block; border-radius: 8px; padding: 7px 4px; margin: -7px -6px; }
.segmented input { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 20px;
  border-radius: 14px; border: 0; cursor: pointer; font-weight: 650; font-size: 16.5px;
  background: var(--tint); color: #fff; transition: transform .15s, opacity .2s, filter .2s; user-select: none;
}
.btn:active { transform: scale(.97); filter: brightness(.92); }
.btn[disabled], .btn.loading { opacity: .5; pointer-events: none; }
.btn.block { width: 100%; }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14.5px; border-radius: 10px; }
.btn.tinted { background: var(--tint-soft); color: var(--tint); }
.btn.gray { background: var(--fill); color: var(--label); }
.btn.green { background: var(--green); } .btn.red { background: var(--red); } .btn.orange { background: var(--orange); }
.btn.white { background: #fff; color: #4338ca; }
.btn.glass { background: rgba(255,255,255,.2); color: #fff; border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px); }
.btn.danger-tinted { background: color-mix(in srgb, var(--red) 14%, transparent); color: var(--red); }
.btn-row { display: flex; gap: 10px; } .btn-row > * { flex: 1; }
.btn.loading::after { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.fab {
  position: fixed; inset-inline-start: 18px; bottom: calc(var(--tabbar-h) + var(--safe-b) + 16px); z-index: 35;
  width: 58px; height: 58px; border-radius: 18px; border: 0; display: grid; place-items: center; cursor: pointer;
  color: #fff; background: linear-gradient(135deg, var(--tint), var(--tint-2)); box-shadow: 0 14px 28px -10px var(--tint);
  transition: transform .25s var(--spring);
}
.fab .ic { width: 28px; height: 28px; stroke-width: 2.3; }
.fab:active { transform: scale(.88) rotate(-8deg); }
@media (min-width: 960px) { .fab { bottom: 28px; inset-inline-start: auto; inset-inline-end: 32px; } }

/* ---------- forms ---------- */
.form-list { background: var(--bg-elev); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.field { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 16px; }
.field + .field::before { content: ""; position: absolute; top: 0; inset-inline-start: 16px; inset-inline-end: 0; border-top: .5px solid var(--sep); }
.field > span:first-child { width: 108px; flex: none; color: var(--label); font-size: 15.5px; }
.field input, .field select, .field textarea {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 10px 0; font-size: 16px; color: var(--label);
}
.field textarea { min-height: 80px; resize: vertical; }
.field select { appearance: none; color: var(--tint); text-align: end; text-align-last: end; cursor: pointer; }
.field input::placeholder, .field textarea::placeholder { color: var(--label-3); }
.field input[type="date"], .field input[type="time"], .field input[type="datetime-local"], .field input[type="number"] { text-align: end; color: var(--tint); }
.field.stacked { flex-direction: column; align-items: stretch; gap: 0; }
.field.stacked > span:first-child { width: auto; font-size: 13px; color: var(--label-2); padding-top: 6px; }

.input-solo { width: 100%; height: 52px; border-radius: 14px; border: 0; padding: 0 16px; background: var(--bg-elev); box-shadow: var(--shadow); font-size: 16.5px; outline: none; transition: box-shadow .2s; }
.input-solo:focus { box-shadow: 0 0 0 3px var(--tint-soft), var(--shadow); }
.search { position: relative; margin: 0 0 14px; }
.search input { width: 100%; height: 38px; border: 0; border-radius: 11px; background: var(--fill); padding: 0 38px 0 12px; font-size: 16px; outline: none; }
.search .ic { position: absolute; inset-inline-start: 10px; top: 9px; width: 19px; height: 19px; color: var(--label-2); }

/* iOS switch */
.switch { position: relative; width: 51px; height: 31px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 99px; background: var(--fill-2); transition: background .25s; }
.switch i::after { content: ""; position: absolute; top: 2px; inset-inline-start: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.15), 0 1px 1px rgba(0,0,0,.16); transition: transform .3s var(--spring); }
.switch input:checked + i { background: var(--green); }
.switch input:checked + i::after { transform: translateX(-20px); }
[dir="ltr"] .switch input:checked + i::after { transform: translateX(20px); }

/* stepper */
.stepper { display: inline-flex; align-items: center; background: var(--fill); border-radius: 10px; overflow: hidden; }
.stepper button { width: 40px; height: 34px; border: 0; background: none; color: var(--label); cursor: pointer; display: grid; place-items: center; }
.stepper input { width: 46px; text-align: center; border: 0; background: none; font-weight: 700; outline: 0; }

/* checkable people picker */
.pick { display: flex; align-items: center; gap: 12px; padding: 10px 16px; position: relative; cursor: pointer; }
.pick + .pick::before { content: ""; position: absolute; top: 0; inset-inline-start: 68px; inset-inline-end: 0; border-top: .5px solid var(--sep); }
.pick input { display: none; }
.pick .check { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--label-3); display: grid; place-items: center; transition: .2s; color: #fff; flex: none; }
.pick .check .ic { width: 15px; height: 15px; stroke-width: 3; opacity: 0; }
.pick input:checked ~ .check { background: var(--tint); border-color: var(--tint); }
.pick input:checked ~ .check .ic { opacity: 1; }
.pick.conflict .sub { color: var(--orange); }

/* ---------- sheets (bottom sheet dialogs) ---------- */
dialog.sheet {
  border: 0; padding: 0; margin: 0; margin-top: auto; width: 100%; max-width: 640px; max-height: 92dvh;
  border-radius: 22px 22px 0 0; background: var(--bg); color: var(--label); inset-inline: 0; margin-inline: auto;
  box-shadow: var(--shadow-lg); overflow: hidden; display: flex; flex-direction: column;
}
dialog.sheet:not([open]) { display: none; }
dialog.sheet[open] { animation: sheet-up .42s var(--ease); }
dialog.sheet.closing { animation: sheet-down .28s var(--ease) forwards; }
dialog.sheet::backdrop { background: rgba(0,0,0,.36); backdrop-filter: blur(2px); animation: fade .3s; }
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes sheet-down { to { transform: translateY(100%); } }
@keyframes fade { from { opacity: 0; } }
@media (min-width: 700px) {
  dialog.sheet { margin: auto; border-radius: 22px; max-height: 86dvh; }
  dialog.sheet[open] { animation: pop .32s var(--spring); }
  @keyframes pop { from { transform: scale(.94); opacity: 0; } }
}
.sheet-grab { width: 38px; height: 5px; border-radius: 3px; background: var(--fill-2); margin: 8px auto 0; flex: none; }
.sheet-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 6px 8px 8px; flex: none; }
.sheet-head h3 { grid-column: 2; margin: 0; font-size: 17px; font-weight: 700; }
.sheet-head .x { grid-column: 3; justify-self: end; }
.sheet-head .x .icon-btn { width: 32px; height: 32px; background: var(--fill); color: var(--label-2); }
.sheet-head .x .ic { width: 16px; height: 16px; stroke-width: 2.6; }
.sheet-body { padding: 4px 16px calc(20px + var(--safe-b)); overflow-y: auto; }
.sheet-body .btn.block { margin-top: 18px; }

/* action sheet (menu) */
.actions-list .row { justify-content: center; }
.actions-list .row .title { color: var(--tint); font-weight: 600; text-align: center; }

/* ---------- empty / misc ---------- */
.empty { text-align: center; padding: 36px 20px; color: var(--label-2); }
.empty .tile { margin: 0 auto 12px; width: 64px; height: 64px; border-radius: 20px; background: var(--fill); color: var(--label-2); }
.empty .tile .ic { width: 32px; height: 32px; }
.empty b { display: block; color: var(--label); font-size: 17px; margin-bottom: 4px; }

.progress { height: 8px; border-radius: 99px; background: var(--fill); overflow: hidden; }
.progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--tint), var(--tint-2)); transition: width .8s var(--ease); }
.ring { --p: 0; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--tint) calc(var(--p) * 1%), var(--fill) 0); flex: none; }
.ring span { width: 50px; height: 50px; border-radius: 50%; background: var(--bg-elev); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.hero .ring { background: conic-gradient(#fff calc(var(--p) * 1%), rgba(255,255,255,.25) 0); }
.hero .ring span { background: transparent; color: #fff; }

.bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; padding-top: 10px; }
.bars .b { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.bars .b i { width: 100%; max-width: 30px; border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, var(--tint-2), var(--tint)); min-height: 4px; transform-origin: bottom; animation: grow .7s var(--ease) both; }
.bars .b span { font-size: 11px; color: var(--label-2); font-weight: 600; }
@keyframes grow { from { transform: scaleY(0); } }

.split { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.split > * { min-width: 0; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; } .split.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

.stat-line { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; }
.stat-line + .stat-line { border-top: .5px solid var(--sep); }

.banner { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r); background: color-mix(in srgb, var(--orange) 14%, var(--bg-elev)); margin-bottom: 12px; }
.banner.red { background: color-mix(in srgb, var(--red) 12%, var(--bg-elev)); }
.banner.blue { background: color-mix(in srgb, var(--blue) 12%, var(--bg-elev)); }
.banner .body { flex: 1; font-size: 14.5px; }

/* check-in screen */
.punch-wrap { display: grid; place-items: center; padding: 18px 0 8px; }
.punch {
  position: relative; width: 200px; height: 200px; border-radius: 50%; border: 0; cursor: pointer; color: #fff;
  background: radial-gradient(circle at 30% 25%, #a5b4fc, transparent 45%), linear-gradient(140deg, #6366f1, #a855f7 60%, #ec4899);
  box-shadow: 0 30px 60px -20px #7c3aed, inset 0 -8px 20px rgba(0,0,0,.18); display: grid; place-items: center;
  transition: transform .3s var(--spring);
}
.punch.out { background: radial-gradient(circle at 30% 25%, #fdba74, transparent 45%), linear-gradient(140deg, #f97316, #ef4444 60%, #db2777); box-shadow: 0 30px 60px -20px #ea580c, inset 0 -8px 20px rgba(0,0,0,.18); }
.punch:active { transform: scale(.94); }
.punch .ic { width: 70px; height: 70px; stroke-width: 1.5; }
.punch .lbl { position: absolute; bottom: 34px; font-weight: 800; font-size: 17px; }
.punch::before, .punch::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid currentColor; opacity: 0; color: #a78bfa; animation: pulse 2.4s var(--ease) infinite; }
.punch.out::before, .punch.out::after { color: #fb923c; }
.punch::after { animation-delay: 1.2s; }
@keyframes pulse { 0% { transform: scale(.9); opacity: .7; } 100% { transform: scale(1.25); opacity: 0; } }
.punch.busy { pointer-events: none; }
.punch.busy .ic { animation: breathe 1s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(.85); opacity: .6; } }
.clock-big { font-size: 46px; font-weight: 800; letter-spacing: -.03em; text-align: center; line-height: 1; margin-top: 4px; }
.cam { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #000; aspect-ratio: 3/4; max-height: 52vh; margin: 0 auto; }
.cam video, .cam img { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.cam .ring-guide { position: absolute; inset: 14% 18%; border: 3px dashed rgba(255,255,255,.7); border-radius: 50%; }
.geo { display: flex; gap: 10px; align-items: center; justify-content: center; font-size: 14px; color: var(--label-2); margin-top: 14px; }
.geo .d { width: 9px; height: 9px; border-radius: 50%; background: var(--gray); }
.geo.ok .d { background: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 25%, transparent); }
.geo.bad .d { background: var(--red); }

/* ---------- toast ---------- */
#toasts { position: fixed; top: calc(10px + var(--safe-t)); inset-inline: 0; z-index: 100; display: grid; justify-items: center; gap: 8px; pointer-events: none; padding: 0 12px; }
.toast {
  pointer-events: auto; display: flex; align-items: center; gap: 10px; max-width: 420px; padding: 11px 16px 11px 14px; border-radius: 18px;
  background: var(--bar); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: var(--shadow-lg), 0 0 0 .5px var(--sep); font-weight: 600; font-size: 15px;
  animation: toast-in .45s var(--spring);
}
.toast .ic { color: var(--green); } .toast.error .ic { color: var(--red); } .toast.info .ic { color: var(--blue); }
.toast.out { animation: toast-out .3s var(--ease) forwards; }
@keyframes toast-in { from { transform: translateY(-120%) scale(.9); opacity: 0; } }
@keyframes toast-out { to { transform: translateY(-120%); opacity: 0; } }

#netbar { position: fixed; top: 0; inset-inline: 0; z-index: 90; height: 3px; background: linear-gradient(90deg, var(--tint), var(--tint-2), var(--pink)); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease), opacity .3s; }
#netbar.go { transform: scaleX(.7); transition-duration: 8s; }
#netbar.done { transform: scaleX(1); opacity: 0; }
.offline-pill { position: fixed; bottom: calc(var(--tabbar-h) + var(--safe-b) + 12px); inset-inline: 0; margin: auto; width: max-content; z-index: 45; display: flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 99px; background: #111; color: #fff; font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow-lg); }

/* ---------- login ---------- */
.auth { min-height: 100dvh; display: grid; place-items: center; padding: 24px 20px calc(24px + var(--safe-b)); background:
  radial-gradient(60% 50% at 100% 0%, color-mix(in srgb, var(--tint-2) 35%, transparent), transparent),
  radial-gradient(60% 50% at 0% 100%, color-mix(in srgb, var(--pink) 25%, transparent), transparent), var(--bg); }
.auth-card { width: 100%; max-width: 400px; }
.auth .logo { width: 84px; height: 84px; border-radius: 26px; margin: 0 auto 18px; }
.auth .logo .ic { width: 50px; height: 50px; stroke-width: 1.8; }
.auth h1 { text-align: center; margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.auth p.lead { text-align: center; color: var(--label-2); margin: 6px 0 26px; }
.auth .stack-fields { display: grid; gap: 10px; }
.pw-wrap { position: relative; } .pw-wrap button { position: absolute; inset-inline-end: 6px; top: 6px; } .pw-wrap input { padding-inline-end: 52px; }

/* ---------- page transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(screen) { animation: vt-out .28s var(--ease) both; }
::view-transition-new(screen) { animation: vt-in .34s var(--ease) both; }
.screen { view-transition-name: screen; }
html.nav-back::view-transition-old(screen) { animation-name: vt-out-back; }
html.nav-back::view-transition-new(screen) { animation-name: vt-in-back; }
html.nav-tab::view-transition-old(screen) { animation: fade-out .18s both; }
html.nav-tab::view-transition-new(screen) { animation: fade-in .22s both; }
@keyframes vt-out { to { transform: translateX(30%); opacity: 0; } }
@keyframes vt-in { from { transform: translateX(-100%); } }
@keyframes vt-out-back { to { transform: translateX(-30%); opacity: 0; } }
@keyframes vt-in-back { from { transform: translateX(100%); } }
/* left-to-right languages: forward navigation slides in from the right, back from the left */
[dir="ltr"]::view-transition-old(screen) { animation-name: vt-out-ltr; }
[dir="ltr"]::view-transition-new(screen) { animation-name: vt-in-ltr; }
html[dir="ltr"].nav-back::view-transition-old(screen) { animation-name: vt-out; }
html[dir="ltr"].nav-back::view-transition-new(screen) { animation-name: vt-in; }
@keyframes vt-out-ltr { to { transform: translateX(-30%); opacity: 0; } }
@keyframes vt-in-ltr { from { transform: translateX(100%); } }
/* flow arrows written as "←" (RTL reading order) point the other way in LTR languages */
.arw { display: inline-block; } [dir="ltr"] .arw { transform: scaleX(-1); }
@keyframes fade-out { to { opacity: 0; } }
@keyframes fade-in { from { opacity: 0; transform: scale(.985); } }
@media (prefers-reduced-motion: reduce) { *, ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; transition: none !important; } }

/* entrance stagger */
.enter > * { animation: rise .5s var(--ease) both; }
.enter > *:nth-child(2) { animation-delay: .04s; } .enter > *:nth-child(3) { animation-delay: .08s; } .enter > *:nth-child(4) { animation-delay: .12s; }
.enter > *:nth-child(5) { animation-delay: .16s; } .enter > *:nth-child(n+6) { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* tables for admin on wide screens */
.table-wrap { overflow-x: auto; background: var(--bg-elev); border-radius: var(--r); box-shadow: var(--shadow); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th { text-align: start; font-weight: 600; color: var(--label-2); font-size: 12.5px; padding: 10px 14px; border-bottom: .5px solid var(--sep); white-space: nowrap; }
.tbl td { padding: 10px 14px; border-bottom: .5px solid var(--sep); white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }

.perm-grid .row .title { font-weight: 500; font-size: 15px; }
.qr-box { background: #fff; padding: 16px; border-radius: var(--r-lg); width: max-content; margin: 0 auto; }
.qr-box canvas, .qr-box img { width: 220px; height: 220px; image-rendering: pixelated; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 15px; }
.kv dt { color: var(--label-2); } .kv dd { margin: 0; text-align: end; font-weight: 600; }
.gap-8 { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); } .gap-12 { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.center { text-align: center; }
.flex { display: flex; align-items: center; gap: 10px; } .flex.between { justify-content: space-between; } .grow { flex: 1; min-width: 0; }

/* ---------- activity attendance ---------- */
.acts { display: grid; gap: 12px; }
.act-card { background: var(--bg-elev); border-radius: var(--r-lg); padding: 14px; box-shadow: var(--shadow); }
.act-card.state-done { opacity: .78; }
.act-card .tile { width: 44px; height: 44px; border-radius: 14px; }
.act-trail { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; font-size: 12.5px; color: var(--label-2); }
.act-trail span { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 99px; background: var(--fill); }
.act-trail .ok { color: #16a34a; } .act-trail .bad { color: var(--red); }
.live-timer { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: var(--label-2); }
.live-timer b { color: var(--label); font-size: 17px; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse-dot 1.6s infinite; }
@keyframes pulse-dot { 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.cap-meta { position: absolute; inset-inline: 10px; bottom: 10px; display: flex; justify-content: space-between; gap: 8px; color: #fff; font-size: 12.5px; font-weight: 600; }
.cap-meta span { background: rgba(0,0,0,.45); padding: 4px 10px; border-radius: 99px; backdrop-filter: blur(6px); }
/* live board */
.lb-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.lb-card { background: var(--bg-elev); border-radius: var(--r-lg); padding: 14px; box-shadow: var(--shadow); display: grid; gap: 10px; }
.lb-state { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; }
.lb-state i { width: 9px; height: 9px; border-radius: 50%; background: var(--gray); }
.lb-state.green i { background: #22c55e; animation: pulse-dot 1.6s infinite; } .lb-state.blue i { background: #3b82f6; } .lb-state.teal i { background: #14b8a6; }
.lb-now { padding: 10px 12px; border-radius: 16px; background: var(--fill); font-size: 14px; }
.lb-dots { display: flex; gap: 5px; flex-wrap: wrap; }
.lb-dots i { width: 22px; height: 6px; border-radius: 99px; background: var(--fill-2); }
.lb-dots i.done { background: #a78bfa; } .lb-dots i.live { background: #22c55e; } .lb-dots i.missed, .lb-dots i.late_missing { background: #ef4444; } .lb-dots i.open { background: #3b82f6; }
.roster-crew { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.crew-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 99px; background: var(--fill); font-size: 13px; }

/* activity page */
a.act-link { color: inherit; text-decoration: none; align-items: center; }
a.act-link .chev { color: var(--label-3); width: 18px; height: 18px; flex: none; }
.place-card .tile { width: 44px; height: 44px; border-radius: 14px; }
.place-card .flex { align-items: center; gap: 12px; }
.place-hint { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--fill); font-size: 14px; line-height: 1.5; white-space: pre-line; }
.avatar.is-live { box-shadow: 0 0 0 2px var(--bg-elev), 0 0 0 4px var(--green); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: 15px; font-weight: 600; color: var(--tint); display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (min-width: 700px) { .tools { grid-template-columns: repeat(6, 1fr); } }
.tools a, .tools button { background: var(--bg-elev); border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 12px 6px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--label); font: inherit; font-size: 12.5px; font-weight: 600; text-align: center; text-decoration: none; cursor: pointer; }
.tools .tile { width: 40px; height: 40px; border-radius: 13px; }
.tools a:active, .tools button:active { transform: scale(.96); }

/* header language switcher */
.lang-btn { position: relative; }
.lang-btn .lang-code { position: absolute; bottom: 1px; inset-inline-end: 0; font-size: 8.5px; font-weight: 800; letter-spacing: .02em; line-height: 1; padding: 2px 3px; border-radius: 6px; background: var(--tint); color: #fff; }
.lang-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 600px) { .lang-grid { grid-template-columns: repeat(3, 1fr); } }
.lang-opt { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid transparent; background: var(--fill); color: var(--label); font: inherit; text-align: start; cursor: pointer; }
.lang-opt b { font-weight: 650; font-size: 15px; flex: 1; }
.lang-opt small { color: var(--label-3); font-size: 11.5px; font-weight: 700; }
.lang-opt.on { border-color: var(--tint); background: color-mix(in srgb, var(--tint) 12%, transparent); }
.lang-opt.on .ic { color: var(--tint); }
.lang-opt:active { transform: scale(.97); }

/* Arabic-script UI: Cairo everywhere (Latin letters and digits included, so mixed lines look even) */
html[lang="ar"], html[lang="fa"], html[lang="ur"] { --font: "Cairo", "Cairo Arabic", "Segoe UI", Tahoma, system-ui, sans-serif; }
html[lang="ar"] body, html[lang="fa"] body, html[lang="ur"] body { letter-spacing: 0; }
