/* Screen review 8 Nov (USE_UI_REVIEW_8NOV, ur8On()): the shared tokens of the screen review (Gym UI v2 buttons, hairlines, labels), light and dark.
   Every rule under html.uf-ui-review-8nov (lift with :not(#u#r#e) where the skin's rules win). */

/* ============ Tokens (custom properties only: the class alone changes nothing) ============ */
html.uf-ui-review-8nov:not(#u#r#e){
  --u8-blue:#3557F5;--u8-link:#1D5BFF;--u8-ink:#0B0F1A;--u8-mute:#5B6475;--u8-faint:#8A93A6;--u8-hair:#EEF1F6;--u8-soft:#F1F3F8;
  --u8-ok:#127A3E;--u8-ok-bg:#E8F7EE;--u8-bad:#B42318;--u8-card:#FFFFFF;--u8-page:#FFFFFF;--u8-track:#E3E8F1;
  --u8-p1:#4D6BFF;--u8-p2:#3557F5;--u8-pl:#1E3BC4;
  --u8-s1:#FFFFFF;--u8-s2:#F1F3F7;--u8-sl:#D9DFE8;--u8-sink:#0F1A2A;--u8-shi:#FFFFFF;
  --u8-d1:#2A3140;--u8-d2:#0F1A2A;--u8-dl:#05070B;
  --u8-ff:'XB Geist','Geist','Alexandria',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --u8-disp:'Anton','Alexandria',Impact,sans-serif;--u8-ar:'Alexandria',sans-serif;
  --u8-scrim:rgba(250,251,253,.82);--u8-shadow:0 6px 18px rgba(15,26,42,.12);
}
html.uf-ui-review-8nov[data-theme=dark]:not(#u#r#e){
  --u8-ink:#E8EDF5;--u8-mute:#A3AEC2;--u8-faint:#7E889C;--u8-hair:rgba(255,255,255,.08);--u8-soft:#1A2130;--u8-card:#141A26;--u8-page:#0B0F1A;--u8-track:#252E3D;
  --u8-ok:#3CCB7F;--u8-ok-bg:rgba(60,203,127,.14);--u8-bad:#F97066;--u8-blue:#5B78FF;--u8-link:#7C93FF;
  --u8-s1:#222A39;--u8-s2:#171D29;--u8-sl:#2E3747;--u8-sink:#E8EDF5;--u8-shi:rgba(255,255,255,.06);
  --u8-scrim:rgba(11,15,26,.6);--u8-shadow:0 6px 18px rgba(0,0,0,.45);
}
@media (prefers-color-scheme:dark){html.uf-ui-review-8nov:not([data-theme=light]):not(#u#r#e){
  --u8-ink:#E8EDF5;--u8-mute:#A3AEC2;--u8-faint:#7E889C;--u8-hair:rgba(255,255,255,.08);--u8-soft:#1A2130;--u8-card:#141A26;--u8-page:#0B0F1A;--u8-track:#252E3D;
  --u8-ok:#3CCB7F;--u8-ok-bg:rgba(60,203,127,.14);--u8-bad:#F97066;--u8-blue:#5B78FF;--u8-link:#7C93FF;
  --u8-s1:#222A39;--u8-s2:#171D29;--u8-sl:#2E3747;--u8-sink:#E8EDF5;--u8-shi:rgba(255,255,255,.06);
  --u8-scrim:rgba(11,15,26,.6);--u8-shadow:0 6px 18px rgba(0,0,0,.45);
}}

/* ============ Gym UI v2 buttons (48 tall, radius 10, Geist 600 16) ============ */
html.uf-ui-review-8nov .u8-btn:not(#u#r#e){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 18px;border-radius:10px;
  font:600 16px/1 var(--u8-ff);letter-spacing:0;text-transform:none;cursor:pointer;-webkit-tap-highlight-color:transparent;
  transition:transform .12s ease,opacity .12s ease;user-select:none;-webkit-user-select:none}
html.uf-ui-review-8nov .u8-btn:active:not(#u#r#e){transform:scale(.98)}
html.uf-ui-review-8nov .u8-btn:disabled:not(#u#r#e){opacity:.4;cursor:default}
html.uf-ui-review-8nov .u8-btn.pri:not(#u#r#e){background:linear-gradient(#4D6BFF,#3557F5);color:#fff;border:1px solid #1E3BC4;box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 2px 4px rgba(30,59,196,.35)}
html.uf-ui-review-8nov .u8-btn.sec:not(#u#r#e){background:linear-gradient(var(--u8-s1),var(--u8-s2));color:var(--u8-sink);border:1px solid var(--u8-sl);box-shadow:inset 0 1px 0 var(--u8-shi),0 1px 2px rgba(15,26,42,.06)}
html.uf-ui-review-8nov .u8-btn.dark:not(#u#r#e){background:linear-gradient(#2A3140,#0F1A2A);color:#fff;border:1px solid #05070B;box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 2px 4px rgba(15,26,42,.3)}
html.uf-ui-review-8nov .u8-btn.wide:not(#u#r#e){width:100%}
html.uf-ui-review-8nov .u8-btn.sm:not(#u#r#e){min-height:36px;padding:0 12px;font-size:14px;border-radius:9px}
html.uf-ui-review-8nov .u8-btn.round:not(#u#r#e){width:40px;min-height:40px;height:40px;padding:0;border-radius:50%}
/* labels: Geist 700 11 px, .14em, uppercase (Arabic keeps its own letters: no tracking) */
html.uf-ui-review-8nov .u8-lbl:not(#u#r#e){font:700 11px/1.3 var(--u8-ff);letter-spacing:.14em;text-transform:uppercase;color:var(--u8-faint)}
html.uf-ui-review-8nov[lang=ar] .u8-lbl:not(#u#r#e),html.uf-ui-review-8nov [dir=rtl] .u8-lbl:not(#u#r#e){letter-spacing:0;font-family:var(--u8-ar)}
html.uf-ui-review-8nov .u8-hair:not(#u#r#e){border:0;border-top:1px solid var(--u8-hair);margin:0}
html.uf-ui-review-8nov .u8-disp:not(#u#r#e){font-family:var(--u8-disp);font-weight:400;text-transform:uppercase;letter-spacing:0;line-height:.95}
html.uf-ui-review-8nov[lang=ar] .u8-disp:not(#u#r#e){font-family:var(--u8-ar);font-weight:800;text-transform:none}
/* reduced motion: movement replaced by a short fade (every looping animation in this build checks it too) */
@media (prefers-reduced-motion:reduce){html.uf-ui-review-8nov .u8-anim:not(#u#r#e){animation:u8-fade .2s ease both!important}}
@keyframes u8-fade{from{opacity:0}to{opacity:1}}
