/* TheNexus UI v4 — design tokens (docs: ui-contract-v4 section 2). Loaded first in the public bundle.
   Rubik (SIL OFL 1.1, assets/fonts/rubik/OFL.txt) is self-hosted as four unicode-range subsets, so a
   page downloads only the scripts it actually renders. */
@font-face{font-family:Rubik;font-style:normal;font-weight:400 700;font-display:optional;src:url("../fonts/rubik/rubik-arabic.woff2") format("woff2");unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:Rubik;font-style:normal;font-weight:400 700;font-display:swap;src:url("../fonts/rubik/rubik-cyrillic.woff2") format("woff2");unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:Rubik;font-style:normal;font-weight:400 700;font-display:swap;src:url("../fonts/rubik/rubik-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:Rubik;font-style:normal;font-weight:400 700;font-display:swap;src:url("../fonts/rubik/rubik-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}
/* UI v4 polish 2 — display faces (SIL OFL 1.1: assets/fonts/exo2/OFL.txt, assets/fonts/changa/OFL.txt), one weight, unicode-range subsets. */
@font-face{font-family:"NX Display";font-style:normal;font-weight:800;font-display:swap;src:url("../fonts/exo2/exo2-800-cyrillic.woff2") format("woff2");unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:"NX Display";font-style:normal;font-weight:800;font-display:swap;src:url("../fonts/exo2/exo2-800-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:"NX Display";font-style:normal;font-weight:800;font-display:swap;src:url("../fonts/exo2/exo2-800-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:"NX Display Arabic";font-style:normal;font-weight:700;font-display:optional;src:url("../fonts/changa/changa-700-arabic.woff2") format("woff2");unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:"NX Display Arabic";font-style:normal;font-weight:700;font-display:optional;src:url("../fonts/changa/changa-700-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}
/* P1 migration shim: legacy rules still name Rajdhani / Poppins / Cairo, which were declared but never
   shipped (they fell back to system fonts). Mapping those names to the same Rubik files makes every
   surface render the one brand face without touching ~100 legacy rules. P6 deletes the legacy rules
   and this shim with them. The files are shared, so nothing downloads twice. */
@font-face{font-family:Rajdhani;font-style:normal;font-weight:400 700;font-display:optional;src:url("../fonts/rubik/rubik-arabic.woff2") format("woff2");unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:Rajdhani;font-style:normal;font-weight:400 700;font-display:swap;src:url("../fonts/rubik/rubik-cyrillic.woff2") format("woff2");unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:Rajdhani;font-style:normal;font-weight:400 700;font-display:swap;src:url("../fonts/rubik/rubik-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:Rajdhani;font-style:normal;font-weight:400 700;font-display:swap;src:url("../fonts/rubik/rubik-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:Poppins;font-style:normal;font-weight:400 700;font-display:optional;src:url("../fonts/rubik/rubik-arabic.woff2") format("woff2");unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:Poppins;font-style:normal;font-weight:400 700;font-display:swap;src:url("../fonts/rubik/rubik-cyrillic.woff2") format("woff2");unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:Poppins;font-style:normal;font-weight:400 700;font-display:swap;src:url("../fonts/rubik/rubik-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:Poppins;font-style:normal;font-weight:400 700;font-display:swap;src:url("../fonts/rubik/rubik-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:Cairo;font-style:normal;font-weight:400 700;font-display:optional;src:url("../fonts/rubik/rubik-arabic.woff2") format("woff2");unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:Cairo;font-style:normal;font-weight:400 700;font-display:swap;src:url("../fonts/rubik/rubik-cyrillic.woff2") format("woff2");unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:Cairo;font-style:normal;font-weight:400 700;font-display:swap;src:url("../fonts/rubik/rubik-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:Cairo;font-style:normal;font-weight:400 700;font-display:swap;src:url("../fonts/rubik/rubik-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}
/* Perf wave 2 (CLS): metric-matched local fallbacks. While Rubik / Exo 2 download, the page paints in these (Arial, scaled to Rubik's advance widths and
   vertical metrics, measured with fontTools on the shipped Latin subsets), so the swap moves nothing the eye or the layout-shift score can see. Latin, Cyrillic
   and punctuation only: Arabic keeps its own faces (above, font-display:optional) and never falls into an Arial scaled for Latin. */
@font-face{font-family:"Rubik Fallback";font-weight:400 500;src:local("Arial"),local("Liberation Sans"),local("Arimo"),local("Helvetica"),local("Roboto");size-adjust:103.9%;ascent-override:90%;descent-override:24.1%;line-gap-override:0%;unicode-range:U+0000-052F,U+1E00-1FFF,U+2000-206F,U+20A0-20CF,U+2100-218F}
@font-face{font-family:"Rubik Fallback";font-weight:600 700;src:local("Arial Bold"),local("Arial-BoldMT"),local("Liberation Sans Bold"),local("Arimo Bold"),local("Helvetica Bold"),local("Roboto Bold");size-adjust:103.5%;ascent-override:90.4%;descent-override:24.2%;line-gap-override:0%;unicode-range:U+0000-052F,U+1E00-1FFF,U+2000-206F,U+20A0-20CF,U+2100-218F}
@font-face{font-family:"NX Display Fallback";font-weight:800;src:local("Arial Bold"),local("Arial-BoldMT"),local("Liberation Sans Bold"),local("Arimo Bold"),local("Helvetica Bold");size-adjust:100.1%;ascent-override:99.8%;descent-override:20.1%;line-gap-override:0%;unicode-range:U+0000-052F,U+1E00-1FFF,U+2000-206F,U+20A0-20CF,U+2100-218F}
:root{
  /* colour (round 3: neutral near-black, no navy tint; round 4: true neutral (the greenish greys read
     muddy next to the brand green), clearer page/card/raised steps, prices in the brand green) */
  /* colour — every surface is opaque; the constellation only shows between panels */
  /* V6 "Quiet Signal" (owner 2026-11-08, docs/DESIGN_V6_REFRESH_2026-11.md): green-black ground, four clearer surface
     steps, neutral green-tinted hairlines and greys tuned to the green (the old greys leaned blue). The home hero keeps
     the V5 values (.nxh-hero below). Field, chevron and panel-line greens are unchanged (old dropdown style). */
  --nx-bg:#060B08; /* owner 2026-11-08 verdict on the V6 board: BEFORE colours, AFTER structure */
  /* round 5 (owner): the boost-page look everywhere - surfaces and lines carry a faint brand-green
     tint; main panels add a green edge and a soft top wash (--nx-panel*), fields get the dark field
     with the green border and chevron (--nx-field*). Text contrast stays AA on every surface. */
  --nx-surface-tint:rgba(69,248,130,.045);
  --nx-s1:#0D1210; --nx-s2:#131A16; --nx-s3:#1A241E; --nx-s4:#212D26;
  --nx-line:#1F2D25; --nx-line-strong:#2F4337; --nx-line-ctl:#3B5546;
  --nx-panel:linear-gradient(180deg,var(--nx-surface-tint),rgba(69,248,130,.01) 280px) var(--nx-s1);
  --nx-panel-line:rgba(69,248,130,.2);
  --nx-field:#0A0F0C; --nx-field-line:rgba(69,248,130,.28);
  --nx-chev:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2345F882' stroke-width='2'/%3E%3C/svg%3E");
  --nx-text:#EEF5F0; --nx-text-2:#A7B7AD; --nx-text-3:#93A49A;
  --nx-signal:#45F882; --nx-signal-hover:#6BFF9C; --nx-signal-pressed:#2FD66A; --nx-price:var(--nx-signal);
  --nx-on-signal:#04140A; --nx-signal-tint:rgba(69,248,130,.10);
  --nx-reward:#FFBE18;
  --nx-info:#C9D6CD; --nx-info-tint:rgba(208,255,226,.08);   /* V6 2026-11-08: info is neutral (was blue #5AB0FF) */
  --nx-warn:#F5B544; --nx-warn-tint:rgba(245,181,68,.12);
  --nx-danger:#FF5C6C; --nx-danger-tint:rgba(255,92,108,.12);
  --nx-scrim:rgba(3,4,4,.74);
  --nx-ring:0 0 0 2px #060B08,0 0 0 4px #6BFF9C;
  /* type */
  --nx-font:Rubik,"Rubik Fallback",ui-sans-serif,system-ui,"Segoe UI",Tahoma,Arial,sans-serif;
  --nx-font-display:"NX Display","NX Display Fallback",Rubik,"Rubik Fallback",ui-sans-serif,system-ui,"Segoe UI",Tahoma,Arial,sans-serif;
  --nx-font-mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --nx-fs-12:12px; --nx-lh-12:18px; --nx-fs-13:13px; --nx-lh-13:18px; --nx-fs-14:14px; --nx-lh-14:20px;
  --nx-fs-16:16px; --nx-lh-16:24px; --nx-fs-18:18px; --nx-lh-18:26px; --nx-fs-20:20px; --nx-lh-20:28px;
  --nx-fs-24:24px; --nx-lh-24:30px; --nx-fs-30:30px; --nx-lh-30:36px; --nx-fs-36:36px; --nx-lh-36:42px;
  --nx-fs-hero:clamp(32px,2.6vw + 22px,56px);
  --nx-track:-0.01em;
  /* space, layout */
  --nx-sp-1:4px; --nx-sp-2:8px; --nx-sp-3:12px; --nx-sp-4:16px; --nx-sp-5:20px; --nx-sp-6:24px;
  --nx-sp-8:32px; --nx-sp-10:40px; --nx-sp-14:56px; --nx-sp-20:80px;
  --nx-container:1280px; --nx-gutter-v4:16px; --nx-section:40px;
  --nx-touch:44px; --nx-input-h:48px;
  --nx-header-h:56px;
  /* radius — only these five */
  --nx-r-badge:6px; --nx-r-control:10px; --nx-r-card:14px; --nx-r-sheet:20px; --nx-r-pill:999px;
  /* elevation */
  --nx-e1:0 8px 24px rgba(0,0,0,.35);
  --nx-e2:0 16px 48px rgba(0,0,0,.55);
  --nx-e3:0 24px 80px rgba(0,0,0,.6);
  --nx-selected:0 0 0 1px var(--nx-signal),0 0 24px rgba(69,248,130,.16);
  /* motion — exit durations are 0.7x the enter durations */
  --nx-t-press:90ms; --nx-t-state:150ms; --nx-t-menu:220ms; --nx-t-drawer:280ms;
  --nx-t-menu-exit:154ms; --nx-t-drawer-exit:196ms;
  --nx-ease-in:cubic-bezier(.16,1,.3,1); --nx-ease-out:cubic-bezier(.4,0,1,1);
  /* z-index — the only values the v4 layer uses */
  --nx-z-bg:-1; --nx-z-filter:20; --nx-z-header:50; --nx-z-buybar:60; --nx-z-dock:70; --nx-z-menu:80;
  --nx-z-scrim:90; --nx-z-drawer:100; --nx-z-dialog:110; --nx-z-toast:120; --nx-z-cookie:130; --nx-z-skip:200;
  /* floating dock: raised by the buy bar / cookie banner (see nexus-v4-shell.js) */
  --nx-dock-offset:0px;
  /* UI-V2 spec-kit names, kept as aliases so both vocabularies resolve to one value */
  --nx-color-canvas:var(--nx-bg); --nx-color-surface-1:var(--nx-s1); --nx-color-surface-2:var(--nx-s2); --nx-color-surface-3:var(--nx-s3);
  --nx-color-border:var(--nx-line); --nx-color-border-strong:var(--nx-line-strong);
  --nx-color-text:var(--nx-text); --nx-color-text-muted:var(--nx-text-2); --nx-color-text-subtle:var(--nx-text-3);
  --nx-color-brand:var(--nx-signal); --nx-color-brand-hover:var(--nx-signal-hover); --nx-color-brand-pressed:var(--nx-signal-pressed); --nx-color-brand-ink:var(--nx-on-signal);
  --nx-color-reward:var(--nx-reward); --nx-color-info:var(--nx-info); --nx-color-warning:var(--nx-warn); --nx-color-danger:var(--nx-danger); --nx-color-success:var(--nx-signal);
  --nx-radius-xs:var(--nx-r-badge); --nx-radius-md:var(--nx-r-control); --nx-radius-pill:var(--nx-r-pill);
  --nx-duration-press:var(--nx-t-press); --nx-duration-fast:var(--nx-t-state); --nx-duration-base:var(--nx-t-menu); --nx-duration-slow:var(--nx-t-drawer); --nx-ease-standard:var(--nx-ease-in);
  --nx-shadow-1:var(--nx-e1); --nx-shadow-2:var(--nx-e2);
  --nx-z-sticky:var(--nx-z-header); --nx-z-popover:var(--nx-z-menu);
}/* V6: the home hero banner stays exactly as it was (owner 2026-11-08), so it keeps the V5 colour values. */
.nxh-hero{--nx-bg:#07080A;--nx-s1:#0D1210;--nx-s2:#131A16;--nx-s3:#1A241E;--nx-line:#1F2D25;--nx-line-strong:#2F4337;--nx-text:#F2F4F6;--nx-text-2:#B2B8BF;--nx-text-3:#98A0A9}

@media (min-width:768px){:root{--nx-gutter-v4:24px;--nx-input-h:44px}}
@media (min-width:1024px){:root{--nx-header-h:64px;--nx-section:80px}}
@media (min-width:1200px){:root{--nx-gutter-v4:32px}}

[lang="ar"]{--nx-font-display:"NX Display Arabic",Rubik,ui-sans-serif,system-ui,Tahoma,Arial,sans-serif}
