/* Screen review 10 Nov (USE_UI_REVIEW_10NOV, ur10On()): the build's tokens and shared pieces (js/screens/review-10nov/shared.js).
   Every rule under html.uf-ui-review-10nov, lifted with :not(#u#x#t) where the skin's rules would win. Light and dark;
   Arabic mirrors through logical properties. Only XBAND blue, black, grey and white; green and red only for good and bad. */

/* ============ Tokens (custom properties only: the class alone changes nothing) ============ */
html.uf-ui-review-10nov:not(#u#x#t){
  --u10-blue:#3557F5;--u10-blue-2:#2747E0;--u10-link:#1D5BFF;--u10-ink:#0B0F1A;--u10-mute:#5B6475;--u10-faint:#8A93A6;--u10-hair:#EEF1F6;
  --u10-soft:#F1F3F8;--u10-card:#FFFFFF;--u10-page:#FFFFFF;--u10-track:#E3E8F1;--u10-line:#D9DFE8;
  --u10-good:#127A3E;--u10-bad:#B42318;--u10-bad-soft:rgba(180,35,24,.07);--u10-blue-soft:#EEF2FF;
  --u10-s1:#FFFFFF;--u10-s2:#F1F3F7;--u10-sl:#D9DFE8;--u10-sink:#0F1A2A;--u10-shi:#FFFFFF;
  --u10-ff:'XB Geist','Geist','Alexandria',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --u10-disp:'Anton','Alexandria',Impact,sans-serif;--u10-ar:'Alexandria',sans-serif;
  --u10-foot-h:80px;
}
html.uf-ui-review-10nov[data-theme=dark]:not(#u#x#t){
  --u10-blue:#5B78FF;--u10-blue-2:#4664F5;--u10-link:#7C93FF;--u10-ink:#E8EDF5;--u10-mute:#A3AEC2;--u10-faint:#7E889C;--u10-hair:rgba(255,255,255,.08);
  --u10-soft:#1A2130;--u10-card:#141A26;--u10-page:#0B0F1A;--u10-track:#252E3D;--u10-line:#2E3747;
  --u10-good:#3CCB7F;--u10-bad:#F97066;--u10-bad-soft:rgba(249,112,102,.1);--u10-blue-soft:rgba(91,120,255,.14);
  --u10-s1:#222A39;--u10-s2:#171D29;--u10-sl:#2E3747;--u10-sink:#E8EDF5;--u10-shi:rgba(255,255,255,.06);
}
@media (prefers-color-scheme:dark){html.uf-ui-review-10nov:not([data-theme=light]):not(#u#x#t){
  --u10-blue:#5B78FF;--u10-blue-2:#4664F5;--u10-link:#7C93FF;--u10-ink:#E8EDF5;--u10-mute:#A3AEC2;--u10-faint:#7E889C;--u10-hair:rgba(255,255,255,.08);
  --u10-soft:#1A2130;--u10-card:#141A26;--u10-page:#0B0F1A;--u10-track:#252E3D;--u10-line:#2E3747;
  --u10-good:#3CCB7F;--u10-bad:#F97066;--u10-bad-soft:rgba(249,112,102,.1);--u10-blue-soft:rgba(91,120,255,.14);
  --u10-s1:#222A39;--u10-s2:#171D29;--u10-sl:#2E3747;--u10-sink:#E8EDF5;--u10-shi:rgba(255,255,255,.06);
}}

/* ============ The XBAND AI note: gradient border, title, one line (or two of about equal length), no icon ============ */
html.uf-ui-review-10nov .u10-ai:not(#u#x#t){position:relative;padding:1px;border:0;border-radius:16px;background:conic-gradient(from 200deg,#3557F5,#8EA2FF,#22D3EE,#3557F5);box-shadow:0 8px 28px -14px rgba(53,87,245,.5);margin:16px 0}
html.uf-ui-review-10nov .u10-ai-in:not(#u#x#t){padding:14px 16px;border-radius:15px;background:var(--u10-card)}
html.uf-ui-review-10nov .u10-ai-h:not(#u#x#t){display:block;margin:0 0 4px;font:700 11px/1.3 var(--u10-ff);letter-spacing:.14em;text-transform:uppercase;color:var(--u10-blue)}
html.uf-ui-review-10nov .u10-ai-t:not(#u#x#t){margin:0;font:500 15px/21px var(--u10-ff);color:var(--u10-ink);text-wrap:balance}
html.uf-ui-review-10nov[lang=ar] .u10-ai-h:not(#u#x#t),html.uf-ui-review-10nov [dir=rtl] .u10-ai-h:not(#u#x#t){letter-spacing:0;font-family:var(--u10-ar)}

/* ============ Gym UI v2 pills (the portal's chip): never wrapping, ink fill when chosen ============ */
html.uf-ui-review-10nov .u10-pills:not(#u#x#t){display:flex;flex-wrap:wrap;gap:8px}
html.uf-ui-review-10nov .u10-pill:not(#u#x#t){display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:0 14px;border:1px solid var(--u10-line);border-radius:999px;
  background:var(--u10-card);color:var(--u10-ink);font:500 14px/1 var(--u10-ff);white-space:nowrap;cursor:pointer;box-shadow:none;-webkit-tap-highlight-color:transparent;transition:background .15s ease,color .15s ease,border-color .15s ease,transform .12s ease;position:relative}
html.uf-ui-review-10nov .u10-pill:not(#u#x#t)::after{content:'';position:absolute;inset:-4px 0}
html.uf-ui-review-10nov .u10-pill.on:not(#u#x#t){border-color:var(--u10-ink);background:var(--u10-ink);color:var(--u10-card)}
html.uf-ui-review-10nov .u10-pill:active:not(#u#x#t){transform:scale(.97)}
html.uf-ui-review-10nov .u10-pill:disabled:not(#u#x#t){opacity:.38;cursor:not-allowed}

/* ============ Buttons: Apple-style full pills in XBAND blue (the only raised element on a screen) ============ */
html.uf-ui-review-10nov .u10-btn:not(#u#x#t){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 22px;border-radius:999px;
  font:600 16px/1 var(--u10-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;white-space:nowrap}
html.uf-ui-review-10nov .u10-btn:active:not(#u#x#t){transform:scale(.98)}
html.uf-ui-review-10nov .u10-btn:disabled:not(#u#x#t){opacity:.4;cursor:default}
html.uf-ui-review-10nov .u10-btn.pri:not(#u#x#t){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,.3)}
html.uf-ui-review-10nov .u10-btn.sec:not(#u#x#t){background:linear-gradient(var(--u10-s1),var(--u10-s2));color:var(--u10-sink);border:1px solid var(--u10-sl);box-shadow:inset 0 1px 0 var(--u10-shi),0 1px 2px rgba(15,26,42,.06)}
html.uf-ui-review-10nov .u10-btn.danger:not(#u#x#t){background:none;border:0;color:var(--u10-bad);box-shadow:none}
html.uf-ui-review-10nov .u10-btn.wide:not(#u#x#t){width:100%}
html.uf-ui-review-10nov .u10-btn.sm:not(#u#x#t){min-height:36px;padding:0 14px;font-size:14px}

/* ============ The last action fixed at the bottom of the screen, with the safe area (and above the tab bar) ============ */
html.uf-ui-review-10nov .u10-foot:not(#u#x#t){position:fixed;z-index:var(--z-sticky,30);left:0;right:0;bottom:var(--kb,0px);display:flex;flex-direction:column;gap:8px;
  padding:12px max(var(--gutter,16px),calc(50% - 320px + var(--gutter,16px))) calc(12px + var(--safe-b,env(safe-area-inset-bottom,0px)));background:var(--u10-page);border-top:1px solid var(--u10-hair)}
html.uf-ui-review-10nov .u10-foot.tab:not(#u#x#t){bottom:calc(var(--nav-h,64px) + var(--safe-b,0px));padding-bottom:12px}
html.uf-ui-review-10nov.u10-has-foot .app>.stk:not(.off)>.scr:not(#u#x#t){padding-bottom:calc(var(--u10-foot-h) + var(--safe-b,0px) + 24px)}
html.uf-ui-review-10nov.u10-has-foot .app:has(>.nav:not(.sub))>.stk:not(.off)>.scr:not(#u#x#t){padding-bottom:calc(var(--u10-foot-h) + var(--nav-h,64px) + var(--safe-b,0px) + 24px)}
/* a page's pinned footer (.bar-bottom) stays at the screen's foot when the content is short, never pulled up into it */
html.uf-ui-review-10nov .app>.stk>.scr:has(>.bar-bottom):not(#u#x#t){display:flex;flex-direction:column;min-height:100dvh;box-sizing:border-box}
html.uf-ui-review-10nov .app>.stk>.scr>.bar-bottom:not(#u#x#t){margin-top:auto}

/* ============ Labels, display type, changes ============ */
html.uf-ui-review-10nov .u10-lbl:not(#u#x#t){margin:0;font:700 11px/1.3 var(--u10-ff);letter-spacing:.14em;text-transform:uppercase;color:var(--u10-faint)}
html.uf-ui-review-10nov[lang=ar] .u10-lbl:not(#u#x#t),html.uf-ui-review-10nov [dir=rtl] .u10-lbl:not(#u#x#t){letter-spacing:0;font-family:var(--u10-ar)}
html.uf-ui-review-10nov .u10-disp:not(#u#x#t){font-family:var(--u10-disp);font-weight:400;text-transform:uppercase;letter-spacing:0;line-height:.95}
html.uf-ui-review-10nov[lang=ar] .u10-disp:not(#u#x#t){font-family:var(--u10-ar);font-weight:800;text-transform:none}
html.uf-ui-review-10nov .u10-d:not(#u#x#t){font-weight:600;color:var(--u10-ink);white-space:nowrap}
html.uf-ui-review-10nov .u10-d.good:not(#u#x#t){color:var(--u10-good)}
html.uf-ui-review-10nov .u10-d.bad:not(#u#x#t){color:var(--u10-bad)}
@media (prefers-reduced-motion:reduce){html.uf-ui-review-10nov .u10-anim:not(#u#x#t){animation:none!important;transition:none!important}}

/* ============ No AI sparkle in the apps (Icon draws nothing for it): the tiles and columns that held it close up ============ */
html.uf-ui-review-10nov[data-skin=r] .av3-ai-i:not(#u#x#t){display:none}
html.uf-ui-review-10nov[data-skin=r] .ai-t:not(#u#x#t){grid-template-columns:minmax(0,1fr)}
