/* Smart Court design tokens — docs/design/final-design.html v7.
   Loaded first on every page. Colours, spacing, radii, shadows, type, control
   heights, motion. Dark mode via <html data-theme="dark">. */

html, body { margin: 0; max-width: 100%; overflow-x: clip; }

:root {
  /* brand */
  --tif: #0ABAB5;
  --sc-dot: #0ABAB5;
  --tif-h: #089C97;
  --tif-tint: #e7f8f7;
  --navy: #0A1628;
  --navy-2: #0e1f33;
  --navy-3: #0d3a3f;
  /* portal surfaces (client overrides in public.css) */
  --bg: #f4f7f9;
  --panel: #fff;
  --ink: #0f1f2e;
  --muted: #5b6b78;
  --line: #e1e8ec;
  --ok: #1f9d55;
  --okbg: #e6f6ec;
  --warn: #b9770e;
  --warnbg: #fff3dc;
  --bad: #c0392b;
  --badbg: #fdeceb;
  --amber: #e0a100;
  --star: #f2b01e;
  --starbg: #fff7e0;
  /* spacing 8-pt scale */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 48px;
  --gut: 24px;
  /* radii */
  --r-card: 14px;
  --r-card-lg: 16px;
  --r-ctl: 12px;
  --r-pill: 999px;
  /* shadows */
  --sh-card: 0 12px 30px rgba(10, 22, 40, .08);
  --sh-hero: 0 30px 80px rgba(0, 0, 0, .35);
  --sh-modal: 0 40px 100px rgba(0, 0, 0, .4);
  --ring: 0 0 0 4px rgba(10, 186, 181, .15);
  /* type */
  --f-client: Manrope, "Manrope Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-ar: "IBM Plex Sans Arabic", "IBM Plex Sans Arabic Fallback", "Segoe UI", system-ui, sans-serif;
  --d: "Plus Jakarta Sans", "Plus Jakarta Sans Fallback", "Dubai", Manrope, system-ui, sans-serif;
  --f: "Dubai", "Dubai Fallback", Manrope, "Manrope Fallback", system-ui, sans-serif;
  --n: "Inter Tight", "Inter Tight Fallback", "Dubai", system-ui, sans-serif;
  --w: "Plus Jakarta Sans", "Plus Jakarta Sans Fallback", "Dubai", system-ui, sans-serif;
  /* 2.33: Dubai Font, Plex fallback */
  --ar: "Dubai", "Dubai Fallback", "IBM Plex Sans Arabic", "IBM Plex Sans Arabic Fallback", system-ui, sans-serif;
  --c-main: #1F3F6E;
  --c-ps: #B8914A;
  --c-lab: #0ABAB5;
  --c-adh: #8C1D40;
  --c-main-bg: #E8EEF7;
  --c-ps-bg: #F6EEDC;
  --c-lab-bg: #E3F6F5;
  --c-adh-bg: #F8EBF0;
  --ice: #9FF7F3;
  --tif2: #2BD4CF;
  --deep: #050C1A;
  --mu: #5B6B78;
  --page: #F4F7FA;
  --soft: #E7F8F7;
  --w80: rgba(255, 255, 255, .82);
  --w60: rgba(255, 255, 255, .62);
  --w14: rgba(255, 255, 255, .14);
  --w08: rgba(255, 255, 255, .08);
  --tifd: #067d79;
  --amber: #9A5B00;
  --amberbg: #FDF1DC;
  --red: #A12B2B;
  --redbg: #FDE7E7;
  --f-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  /* control heights */
  --h-client: 52px;
  --h-search: 60px;
  --h-search-btn: 48px;
  --h-chip: 40px;
  --h-secondary: 44px;
  --h-menu-row: 52px;
  --h-tabbar: 64px;
  --h-btn: 36px;
  --h-btn-sm: 30px;
  --h-fld: 36px;
  --h-fld-sm: 34px;
  --h-th: 40px;
  --h-td: 52px;
  --h-nav: 40px;
  --h-bar: 56px;
  --h-brand: 56px;
  --h-me: 64px;
  --h-login-in: 44px;
  --h-login-btn: 48px;
  --h-otp: 60px;
  /* motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-rise: .6s;
}

:root[data-theme="dark"] {
  --bg: #0b141e;
  --panel: #111c28;
  --ink: #e6eef3;
  --muted: #93a4b3;
  --line: #22303d;
  --tif: #2BD4CF;
  --sc-dot: #2BD4CF;
  --okbg: #10301e;
  --warnbg: #3a2a08;
  --badbg: #3a1410;
  --tif-tint: rgba(43, 212, 207, .14);
  --starbg: #3a2a08;
  --sh-card: 0 12px 30px rgba(0, 0, 0, .35);
  --tifd: #2BD4CF;
  --tif2: #2BD4CF;
  --deep: #050C1A;
  --mu: #9fb0bf;
  --page: #0f1a2b;
  --soft: #0f2a2c;
  --w80: rgba(255, 255, 255, .82);
  --w60: rgba(255, 255, 255, .62);
  --w14: rgba(255, 255, 255, .14);
  --w08: rgba(255, 255, 255, .08);
  --amber: #E8B04B;
  --amberbg: #3a2a10;
  --red: #F08A8A;
  --redbg: #3a1414;
}

/* Navy surfaces use the light Tiffany dot. */
.mast, .sh-foot, .lp, .p .sb, .board { --sc-dot: #2BD4CF; }

/* Arabic: Dubai (public, account), Plex (portal) */
html[dir="rtl"] {
  --f-client: "Dubai", "Dubai Fallback", "IBM Plex Sans Arabic", Manrope, system-ui, sans-serif;
  letter-spacing: 0;
  line-height: 1.7;
  font-variant-numeric: tabular-nums;
}
html[dir="rtl"] body {
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] .h {
  font-weight: 600;
  letter-spacing: 0;
}
html[dir="rtl"] .chev,
html[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

/* ---------- motion system ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(10, 186, 181, .55); } 100% { box-shadow: 0 0 0 12px rgba(10, 186, 181, 0); } }
@keyframes glow { 0%, 100% { opacity: .5; transform: translate(0, 0); } 50% { opacity: .85; transform: translate(24px, -16px); } }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes barin { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes dash { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ringin { from { stroke-dashoffset: 565.5; } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.r { animation: rise var(--t-rise) var(--ease) both; }
.d1 { animation-delay: .07s; }
.d2 { animation-delay: .14s; }
.d3 { animation-delay: .21s; }
.d4 { animation-delay: .28s; }
.d5 { animation-delay: .35s; }
.d6 { animation-delay: .42s; }
.grow { transform-origin: 0 50%; animation: grow 1s var(--ease) .3s both; }
html[dir="rtl"] .grow { transform-origin: 100% 50%; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tif); display: inline-block; animation: pulse 1.8s ease-out infinite; }
.shake { animation: shake .4s ease-in-out both; }
.spin { animation: spin 1s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- shared primitives ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.sc-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: absolute; inset-inline-start: 8px; top: -48px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100; font-weight: 700; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--tif); outline-offset: 2px; }
span.brand{display:inline-flex;align-items:baseline;gap:0;white-space:nowrap;line-height:1.1;font-weight:800;letter-spacing:-.02em}
span.brand b{font-style:normal;font-weight:800;color:#0A1628}
span.brand em{font-style:normal;font-weight:800;color:#0ABAB5;margin-inline-start:.08em}
html[data-theme="dark"] span.brand b,
.c header span.brand b,
.p a.brand span.brand b,
.lg .panel span.brand b{color:#fff}
html[dir="rtl"] span.brand, span.brand.ar{flex-direction:column;align-items:flex-start;white-space:normal;gap:2px}
html[dir="rtl"] span.brand em, span.brand.ar em{margin:0;font-size:.7em;line-height:1}
.tagline{margin:8px 0 0;font-size:14px;font-weight:500}
.num, .tabular { font-variant-numeric: tabular-nums; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[hidden] { display: none !important; }

/* interaction layer: focus, press, touch targets */
:root {
  --glow-ring: 0 0 0 4px rgba(10, 186, 181, .18), 0 0 22px -4px rgba(43, 212, 207, .55);
  --press: .97;
}
html body :is(button, .btn, .sh-btn, a.chip-btn, [role="button"], summary):focus-visible {
  outline: 2px solid var(--tif2);
  outline-offset: 3px;
  box-shadow: var(--glow-ring);
}
html body :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]), select, textarea):focus-visible {
  outline: none;
  border-color: var(--tif);
  box-shadow: var(--glow-ring);
}
html body :is(.lg .in, .c .inw, .cu .fldw):focus-within { border-color: var(--tif); box-shadow: var(--glow-ring); }
html body :is(.lg .in, .c .inw, .cu .fldw) input:focus-visible { box-shadow: none; }
:is(button, .btn, .sh-btn, .chip-btn, [role="button"], .pill[href], .tabbar a, .sh-tabbar a) {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
html body :is(button, .btn, .sh-btn, .chip-btn, [role="button"]):not(:disabled):active {
  transform: scale(var(--press));
  transition-duration: .06s;
}
@media (pointer: coarse) {
  .sh-acc button, .cu .gov .rt button, .cu .gov .rt a, .sh-gov .sh-lang { position: relative; }
  .sh-acc button::after, .cu .gov .rt button::after, .cu .gov .rt a::after, .sh-gov .sh-lang::after {
    content: ""; position: absolute; inset: -12px -8px;
  }
}
@media (max-width: 640px) {
  /* iOS Safari zooms the page on focus when a field is under 16px */
  :is(.c, .cu, .p, .lg) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]), select, textarea) { font-size: 16px; }
  .lg .in { font-size: 16px; }
}
@keyframes tick { 0% { color: var(--tif2); text-shadow: 0 0 18px rgba(43, 212, 207, .7); } 100% { text-shadow: 0 0 0 transparent; } }
.is-tick { animation: tick 1.2s var(--ease) both; }

/* toasts (ui.js) */
.toast-region { position: fixed; inset-inline-end: 16px; bottom: 16px; display: grid; gap: 8px; z-index: 90; }
.toast { background: var(--navy); color: #fff; border-radius: 12px; padding: 12px 16px; font-size: 13.5px; box-shadow: var(--sh-card); animation: rise .35s var(--ease) both; max-width: 360px; }
.toast.ok { background: var(--ok); }
.toast.bad { background: var(--bad); }
.toast.warn { background: var(--warn); }

/* modal scaffold (ui.js) */
.modal { position: fixed; inset: 0; background: rgba(10, 22, 40, .5); display: grid; place-items: center; z-index: 80; padding: 16px; }
.modal[hidden] { display: none; }
.mcard { width: min(560px, 100%); background: var(--panel); color: var(--ink); border-radius: 16px; box-shadow: var(--sh-modal); animation: rise .35s var(--ease) both; max-height: 94vh; overflow: auto; }

/* ---------- self-hosted fonts (OFL — see static/fonts/LICENSE.txt) ---------- */
@font-face{font-family:"Inter Tight";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/InterTight-latin-ext-500.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Inter Tight";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/InterTight-latin-500.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Inter Tight";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/InterTight-latin-ext-600.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Inter Tight";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/InterTight-latin-600.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Inter Tight";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/InterTight-latin-ext-700.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Inter Tight";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/InterTight-latin-700.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/PlusJakartaSans-500.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/PlusJakartaSans-700.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/PlusJakartaSans-800.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Manrope";font-style:normal;font-weight:500 800;font-display:swap;src:url(../fonts/Manrope-Variable-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Manrope";font-style:normal;font-weight:500 800;font-display:swap;src:url(../fonts/Manrope-Variable-latin.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/IBMPlexSansArabic-400.woff2) format("woff2");unicode-range:U+0-17E,U+192,U+237,U+2BB-2DD,U+300-328,U+3C0,U+600-6FF,U+750-77F,U+8A0-8FE,U+E3F,U+1E9E,U+2010-203A,U+2044,U+2070-2089,U+20A1-20BF,U+2113-215E,U+2190-21C6,U+2202-222B,U+2248-2265,U+25CA-25CC,U+2713,U+274C,U+2B0E-2B11,U+ECE0,U+EFCC,U+FB01-FB02,U+FB51-FDFD,U+FE70-FEFC}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/IBMPlexSansArabic-500.woff2) format("woff2");unicode-range:U+0-17E,U+192,U+237,U+2BB-2DD,U+300-328,U+3C0,U+600-6FF,U+750-77F,U+8A0-8FE,U+E3F,U+1E9E,U+2010-203A,U+2044,U+2070-2089,U+20A1-20BF,U+2113-215E,U+2190-21C6,U+2202-222B,U+2248-2265,U+25CA-25CC,U+2713,U+274C,U+2B0E-2B11,U+ECE0,U+EFCC,U+FB01-FB02,U+FB51-FDFD,U+FE70-FEFC}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/IBMPlexSansArabic-600.woff2) format("woff2");unicode-range:U+0-17E,U+192,U+237,U+2BB-2DD,U+300-328,U+3C0,U+600-6FF,U+750-77F,U+8A0-8FE,U+E3F,U+1E9E,U+2010-203A,U+2044,U+2070-2089,U+20A1-20BF,U+2113-215E,U+2190-21C6,U+2202-222B,U+2248-2265,U+25CA-25CC,U+2713,U+274C,U+2B0E-2B11,U+ECE0,U+EFCC,U+FB01-FB02,U+FB51-FDFD,U+FE70-FEFC}
@font-face{font-family:"IBM Plex Sans Arabic";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/IBMPlexSansArabic-700.woff2) format("woff2");unicode-range:U+0-17E,U+192,U+237,U+2BB-2DD,U+300-328,U+3C0,U+600-6FF,U+750-77F,U+8A0-8FE,U+E3F,U+1E9E,U+2010-203A,U+2044,U+2070-2089,U+20A1-20BF,U+2113-215E,U+2190-21C6,U+2202-222B,U+2248-2265,U+25CA-25CC,U+2713,U+274C,U+2B0E-2B11,U+ECE0,U+EFCC,U+FB01-FB02,U+FB51-FDFD,U+FE70-FEFC}

/* size-adjust fallbacks: avoid CLS while woff2 loads */
@font-face{font-family:"Plus Jakarta Sans Fallback";src:local("Arial");size-adjust:102%;ascent-override:90%;descent-override:22%;line-gap-override:0%;unicode-range:U+0-24F,U+2000-214F}
@font-face{font-family:"Inter Tight Fallback";src:local("Arial");size-adjust:100%;ascent-override:97%;descent-override:24%;line-gap-override:0%;unicode-range:U+0-24F,U+2000-214F}
@font-face{font-family:"Manrope Fallback";src:local("Arial");size-adjust:104%;ascent-override:92%;descent-override:24%;line-gap-override:0%;unicode-range:U+0-24F,U+2000-214F}
@font-face{font-family:"IBM Plex Sans Arabic Fallback";src:local("Segoe UI");size-adjust:100%;ascent-override:100%;descent-override:40%;line-gap-override:0%}
@font-face{font-family:"Dubai";font-style:normal;font-weight:300;font-display:swap;src:url(../fonts/Dubai-Light.woff2) format("woff2")}
@font-face{font-family:"Dubai";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/Dubai-Regular.woff2) format("woff2")}
@font-face{font-family:"Dubai";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/Dubai-Medium.woff2) format("woff2")}
@font-face{font-family:"Dubai";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/Dubai-Bold.woff2) format("woff2")}
@font-face{font-family:"Dubai Fallback";src:local("Segoe UI");size-adjust:103%;ascent-override:95%;descent-override:25%;line-gap-override:0%}

/* ---------- staff portal (16G) — the :root of docs/design/portal-design-16g.html ----------
   Scoped to the portal body (.p), the staff sign-in (.lg), the reply page and the TV board so the
   public site keeps its own 8-pt scale and Manrope. Dark values are selected per token, not inverted. */
.p, body.lg, body.portal, body.board {
  --navy: #0A1628; --navy-2: #101F36; --deep: #050C1A;
  --tif: #0ABAB5; --tif-h: #089C97; --tif2: #2BD4CF; --tifd: #067571; --tif-tint: #E0F7F6; --ice: #9FF7F3;
  --bg: #EEF3F6; --panel: #FFFFFF; --soft: #F5F8FA;
  --ink: #0A1628; --mu: #4B5D6B; --mu2: #66767F;
  --ln: #DCE5EA; --ln2: #EBF0F3;
  --ok: #147A3F; --ok-bg: #E3F5EA;
  --warn: #8A5A00; --warn-bg: #FFF1D6;
  --orange: #9A3F00; --orange-bg: #FFE8D9;
  --bad: #B42318; --bad-bg: #FDE8E6;
  --info: #1F4FD8; --info-bg: #E4ECFF;
  --violet: #5B3FD1; --violet-bg: #ECE7FF;
  --grey: #5B6B78; --grey-bg: #EEF1F4;
  /* accents on navy and chart marks (never text on panels) */
  --live: #2ED47A; --warn-hi: #F0A400; --warn-meter: #D98F00; --bad-hi: #FF6B62; --bad-solid: #D92D20;
  --orange-hi: #FF8A3D; --info-hi: #6F8FE8; --info-soft: #8FB0FF; --ok-hi: #3FBF74;
  --strip-mid: #0E2240; --strip-end: #0C2A3F; --now-end: #0E2A45;
  --glow: rgba(10, 186, 181, .28); --glow-2: rgba(10, 186, 181, .35);
  --scrim: rgba(10, 22, 40, .5);
  --w80: rgba(255, 255, 255, .82); --w60: rgba(255, 255, 255, .62); --w14: rgba(255, 255, 255, .14); --w08: rgba(255, 255, 255, .08);
  /* type: Inter Tight (UI), Plus Jakarta Sans (titles, numbers), IBM Plex Sans Arabic (ar) */
  --d: "Plus Jakarta Sans", "Plus Jakarta Sans Fallback", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --f: "Inter Tight", "Inter Tight Fallback", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --ar: "IBM Plex Sans Arabic", "IBM Plex Sans Arabic Fallback", system-ui, sans-serif;
  --t-10: 10.5px; --t-11: 11.5px; --t-12: 12.5px; --t-13: 13.5px; --t-14: 14px; --t-body: 14.5px; --t-15: 15px;
  --t-16: 16px; --t-20: 20px; --t-24: 24px; --t-28: 28px; --t-32: 32px; --t-40: 40px;
  /* spacing 4–48, radii, control heights */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s7: 32px; --s8: 48px;
  --r-sm: 10px; --r: 14px; --r-lg: 18px; --r-pill: 999px;
  --h-sm: 30px; --h-ctl: 36px; --h-ctl-lg: 40px; --h-row: 44px; --h-bar: 60px; --w-sb: 248px;
  --h-pill: 26px; --h-badge: 22px; --h-brand: 52px;
  --sh-card: 0 1px 2px rgba(10, 22, 40, .04), 0 8px 24px -16px rgba(10, 22, 40, .18);
  --sh-pop: 0 18px 40px -18px rgba(10, 22, 40, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sc-dot: var(--tif);
  --on-tif: #0A1628;
}
:root[data-theme="dark"] .p, :root[data-theme="dark"] body.lg, :root[data-theme="dark"] body.portal, :root[data-theme="dark"] body.board {
  --bg: #0B1420; --panel: #111D2E; --soft: #15233A;
  --ink: #EEF3F6; --mu: #A7B4BF; --mu2: #7F8D99;
  --ln: #22314A; --ln2: #1B2A40;
  --ok: #5BD08A; --ok-bg: #12331F;
  --warn: #F5C26B; --warn-bg: #3A2A08;
  --orange: #FFA26B; --orange-bg: #3D2211;
  --bad: #FF8A80; --bad-bg: #3E1512;
  --info: #8FB0FF; --info-bg: #152550;
  --violet: #B9A8FF; --violet-bg: #261B4E;
  --grey: #B0BCC6; --grey-bg: #1C2A3B;
  --tif-tint: #0F3735; --tifd: #2BD4CF;
  --scrim: rgba(0, 0, 0, .6);
  --sh-card: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -16px rgba(0, 0, 0, .6);
  --sh-pop: 0 18px 40px -18px rgba(0, 0, 0, .7);
  --sc-dot: var(--tif2);
}

/* Slice 17A — customer account tokens (ported from the approved reference; scoped to body.cu) */
.cu{--navy:#0A1628;--deep:#050C1A;--navy2:#0E1F3A;--tif:#0ABAB5;--tif2:#2BD4CF;--tifd:#087A77;--tint:#E3F7F6;--ice:#9FF7F3;--bg:#EEF3F6;--panel:#fff;--soft:#F5F8FA;--ink:#0F1F2E;--mu:#5B6B7A;--mu2:#7E8B98;--ln:#E3E9EE;--ln2:#D5DEE6;
--ok:#177C4E;--ok-bg:#E6F6EE;--warn:#956319;--warn-bg:#FFF4DE;--orange:#C2410C;--orange2:#F97316;--orange-bg:#FFEDD5;--peach:#FDBA74;--bad:#C0392B;--bad-bg:#FDECEA;--violet:#6D28D9;--violet-bg:#EDE9FE;--info:#1D4ED8;--info-bg:#DBEAFE;
--f:Manrope,"Dubai",system-ui,sans-serif;--d:"Plus Jakarta Sans","Dubai",system-ui,sans-serif;--ar:"Dubai","Dubai Fallback","IBM Plex Sans Arabic",system-ui,sans-serif;--mono:ui-monospace,"Cascadia Mono",Consolas,monospace;
--r:14px;--r-lg:20px;--sh:0 1px 2px rgb(var(--c-0a1628-rgb) / .05),0 18px 44px -28px rgb(var(--c-0a1628-rgb) / .28);--sh-lift:0 2px 4px rgb(var(--c-0a1628-rgb) / .06),0 30px 60px -30px rgb(var(--c-0a1628-rgb) / .45);--wrap:1140px;
  --c-000000:#000000;
  --c-0a1628:#0A1628;
  --c-0a9c98:#0A9C98;
  --c-087a77:#087A77;
  --c-0abab5:#0ABAB5;
  --c-0b1730:#0B1730;
  --c-0b1830:#0B1830;
  --c-0e2a44:#0E2A44;
  --c-0f1e36:#0F1E36;
  --c-0f1f2e:#0F1F2E;
  --c-111111:#111111;
  --c-122745:#122745;
  --c-123056:#123056;
  --c-132340:#132340;
  --c-132a48:#132A48;
  --c-1a2c4a:#1A2C4A;
  --c-1b2a44:#1B2A44;
  --c-2a3a4a:#2A3A4A;
  --c-2bd4cf:#2BD4CF;
  --c-333333:#333333;
  --c-34d399:#34D399;
  --c-5b6b7a:#5B6B7A;
  --c-7c3a0f:#7C3A0F;
  --c-9fb0c0:#9FB0C0;
  --c-9ff7f3:#9FF7F3;
  --c-bdedeb:#BDEDEB;
  --c-bfe9d3:#BFE9D3;
  --c-c7d0d9:#C7D0D9;
  --c-c9d6e2:#C9D6E2;
  --c-d5dee6:#D5DEE6;
  --c-dde6ee:#DDE6EE;
  --c-e3e9ee:#E3E9EE;
  --c-e3f7f6:#E3F7F6;
  --c-e6ebf0:#E6EBF0;
  --c-e8fffe:#E8FFFE;
  --c-eef6f6:#EEF6F6;
  --c-f3f7f9:#F3F7F9;
  --c-f3fbf6:#F3FBF6;
  --c-f4fafa:#F4FAFA;
  --c-f5c6c1:#F5C6C1;
  --c-f5f8fa:#F5F8FA;
  --c-f7fbfb:#F7FBFB;
  --c-f97316:#F97316;
  --c-fafcfd:#FAFCFD;
  --c-fdba74:#FDBA74;
  --c-fdfdfb:#FDFDFB;
  --c-ffedd5:#FFEDD5;
  --c-fff7ed:#FFF7ED;
  --c-fff8f7:#FFF8F7;
  --c-000000-rgb:0 0 0;
  --c-050c1a-rgb:5 12 26;
  --c-0a1628-rgb:10 22 40;
  --c-0abab5-rgb:10 186 181;
  --c-2bd4cf-rgb:43 212 207;
  --c-34d399-rgb:52 211 153;
  --c-4ade80-rgb:74 222 128;
  --c-6d28d9-rgb:109 40 217;
  --c-c2410c-rgb:194 65 12;
  --c-f97316-rgb:249 115 22;
  --c-ffffff-rgb:255 255 255;
}
/* 2.45: no tracking or fake italics in Arabic */
html[dir=rtl] body *:not(svg *){letter-spacing:0!important;font-synthesis:none}
