/* Gym UI v2 (6 Nov, one PR; DESIGN.md §18; references design/gym-ui-v2/*.html, style only). The gym portal and the gym side
   of XBAND Finance in the new look. Every rule sits under html.uf-gym-ui-v2 (USE_GYM_UI_V2 in js/core/flags.js) and the
   portal (.portal-v3, no data-skin), so with the switch off nothing here matches and the portal is exactly as before; the
   four open decisions add their own class (uf-gym-geist, uf-gym-ai-open, uf-gym-roll, uf-gym-slide-tabs) and act only with
   the look on. Shared tokens are overridden here, inside that scope, never in css/tokens.css or css/portal-v3/tokens.css.
   Specificity: this file loads before css/clean-ui.css and after the portal's own sheets, whose rules carry up to five
   impossible ids (:not(#p1)…); each rule here ends in :not(#g#u#i#v#t#w), one selector no element can match that counts
   as six ids, so it wins without !important. Logical properties only, so Arabic mirrors; RTL beside the rule it mirrors.
   Colours: blue, black, grey and white, green for good and red for the one urgent item; never orange or yellow. */

/* ============ 3. Tokens ============ */
html.uf-gym-ui-v2.portal-v3:not([data-skin]):not(#g#u#i#v#t#w){
  --gu-bg:#FAFBFD;--gu-side:#F0F2F6;--gu-card:#FFFFFF;--gu-line:#E3E9F0;--gu-soft:#EEF1F5;--gu-ink:#0F1A2A;--gu-side-ink:#3A4658;--gu-mute:#5A6B80;
  --gu-blue:#3557F5;--gu-blue-2:#2443D6;--gu-sel:#F3F6FE;--gu-t1:#9DB0FB;--gu-t2:#C5D1FD;--gu-t3:#E1E7FE;--gu-ok:#067647;--gu-bad:#B42318;
  --gu-track:#EEF2F7;--gu-cell:#E8EDF4;--gu-tile:#F1F4F8;--gu-nav-on:rgba(15,26,42,.07);--gu-seg:rgba(15,26,42,.06);--gu-base:#CBD3DE;
  --gu-b1:#4D6BFF;--gu-b-line:#1E3BC4;--gu-s1:#FFFFFF;--gu-s2:#F1F3F7;--gu-s-line:#D9DFE8;--gu-s-hi:#FFFFFF;
  /* the portal's tokens */
  --p3-bg:var(--gu-bg);--p3-sidebar:var(--gu-side);--p3-surface:var(--gu-card);--p3-soft:var(--gu-track);--p3-nav-sel:var(--gu-nav-on);--p3-hover:var(--gu-soft);--p3-field:var(--gu-card);
  --p3-line:var(--gu-line);--p3-text:var(--gu-ink);--p3-muted:var(--gu-mute);--p3-faint:var(--gu-mute);
  --p3-primary:var(--gu-blue);--p3-primary-hover:var(--gu-blue-2);--p3-primary-press:var(--gu-blue-2);--p3-link:var(--gu-blue);
  --p3-tint:var(--gu-sel);--p3-tint-2:var(--gu-t3);--p3-tint-line:var(--gu-t2);--p3-ok:var(--gu-ok);--p3-bad:var(--gu-bad);
  --p3-shadow-card:none;--p3-r-card:16px;--p3-r-card-lg:16px;--p3-r-field:10px;--p3-r-tile:10px;--p3-r-chip:10px;
  --p3-title-xl-fs:40px;--p3-title-xl-lh:42px;--p3-title-fs:40px;--p3-title-lh:42px;--p3-card-title-fs:16px;--p3-card-title-lh:22px;
  --p3-label-fs:13px;--p3-label-lh:18px;--p3-th-fs:12px;--p3-th-lh:16px;--p3-body-fs:14px;--p3-body-lh:20px;
  /* the shared tokens the portal's older pieces read (cards, rows, tables, dialogs), inside the portal only */
  --bg:var(--gu-bg);--surface:var(--gu-card);--line:var(--gu-line);--ink:var(--gu-ink);--ink-2:var(--gu-side-ink);--ink-3:var(--gu-mute);
  /* the charts: the current period blue, the past in tints, the grid in the line colour */
  --cv3-cmp:var(--gu-t2);
}
html.uf-gym-ui-v2.portal-v3:not([data-skin])[data-theme=dark]:not(#g#u#i#v#t#w){
  --gu-bg:#0B0F17;--gu-side:#121824;--gu-card:#141A26;--gu-line:#252E3D;--gu-soft:#1E2633;--gu-ink:#E8EDF5;--gu-side-ink:#C3CCD9;--gu-mute:#93A1B5;
  --gu-blue:#5B78FF;--gu-blue-2:#7C93FF;--gu-sel:rgba(91,120,255,.12);--gu-t1:#5468B8;--gu-t2:#3A4A85;--gu-t3:#26305A;--gu-ok:#3CCB7F;--gu-bad:#F97066;
  --gu-track:#1E2633;--gu-cell:#1E2633;--gu-tile:#1A2130;--gu-nav-on:rgba(232,237,245,.08);--gu-seg:rgba(232,237,245,.06);--gu-base:#3A4558;
  --gu-b1:#6E89FF;--gu-b-line:#3557F5;--gu-s1:#1C2433;--gu-s2:#161D2A;--gu-s-line:#2B3546;--gu-s-hi:rgba(255,255,255,.06);
}
@media (prefers-color-scheme:dark){html.uf-gym-ui-v2.portal-v3:not([data-skin]):not([data-theme=light]):not(#g#u#i#v#t#w){
  --gu-bg:#0B0F17;--gu-side:#121824;--gu-card:#141A26;--gu-line:#252E3D;--gu-soft:#1E2633;--gu-ink:#E8EDF5;--gu-side-ink:#C3CCD9;--gu-mute:#93A1B5;
  --gu-blue:#5B78FF;--gu-blue-2:#7C93FF;--gu-sel:rgba(91,120,255,.12);--gu-t1:#5468B8;--gu-t2:#3A4A85;--gu-t3:#26305A;--gu-ok:#3CCB7F;--gu-bad:#F97066;
  --gu-track:#1E2633;--gu-cell:#1E2633;--gu-tile:#1A2130;--gu-nav-on:rgba(232,237,245,.08);--gu-seg:rgba(232,237,245,.06);--gu-base:#3A4558;
  --gu-b1:#6E89FF;--gu-b-line:#3557F5;--gu-s1:#1C2433;--gu-s2:#161D2A;--gu-s-line:#2B3546;--gu-s-hi:rgba(255,255,255,.06);
}}
/* Geist (USE_GYM_GEIST): every portal text; Arabic keeps Noto Kufi Arabic (the Latin digits inside Arabic from Geist) */
html.uf-gym-ui-v2.portal-v3:not([data-skin]).uf-gym-geist:not(#g#u#i#v#t#w){
  --gu-ff:'XB Hyphen','XB Geist','Noto Kufi Arabic','Inter Text','Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --p3-ff:var(--gu-ff);--p3-ff-cond:var(--gu-ff);--cu-text:var(--gu-ff);--cu-disp:var(--gu-ff);--pl-ff:var(--gu-ff);--font:var(--gu-ff);--font-d:var(--gu-ff);--font-text:var(--gu-ff);
  --ty-ff-text:var(--gu-ff);--ty-ff-cond:var(--gu-ff);--ty-ff-disp:var(--gu-ff);--ty-ff-eye:var(--gu-ff)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]).uf-gym-geist[dir=rtl]:not(#g#u#i#v#t#w){
  --gu-ff:'Noto Kufi Arabic','XB Hyphen','XB Geist','Inter Text',system-ui,sans-serif;--cu-ar:var(--gu-ff);--cu-ar-disp:var(--gu-ff)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) body:not(#g#u#i#v#t#w){background:var(--gu-bg)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gym.p3:not(#g#u#i#v#t#w){background:var(--gu-bg)}

/* ============ 3. Type ============ */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-ph-h:not(#g#u#i#v#t#w),html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gym.p3 main h1.p3-title:not(#g#u#i#v#t#w){font-size:40px;line-height:1.05;font-weight:700;letter-spacing:-.035em;color:var(--gu-ink)}
html.uf-gym-ui-v2.portal-v3:not([data-skin])[dir=rtl] .p3-ph-h:not(#g#u#i#v#t#w),html.uf-gym-ui-v2.portal-v3:not([data-skin])[dir=rtl] .gym.p3 main h1.p3-title:not(#g#u#i#v#t#w){letter-spacing:0;line-height:1.3}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-ph-sub:not(#g#u#i#v#t#w){margin:6px 0 0;font-size:15px;line-height:22px;color:var(--gu-mute);text-wrap:balance}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3-card-title,.cv3-ttl,.p3-card>h2,.p3-card>h3,.card>h3):not(#g#u#i#v#t#w){font-size:16px;line-height:22px;font-weight:600;letter-spacing:-.005em;color:var(--gu-ink)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3-small,.cv3-sub,.p3-label):not(#g#u#i#v#t#w){color:var(--gu-mute)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3-big-num,.p3-hero-num):not(#g#u#i#v#t#w){font-family:var(--p3-ff);font-weight:600;letter-spacing:-.02em;font-variant-numeric:tabular-nums lining-nums}
html.uf-gym-ui-v2.portal-v3:not([data-skin])[dir=rtl] :is(.p3-big-num,.p3-hero-num):not(#g#u#i#v#t#w){letter-spacing:0;line-height:1.3}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3-note-txt,.p3-ph-sub,.p3-info-t,.cv3-sub):not(#g#u#i#v#t#w){text-wrap:balance}

/* ============ the page container: 36 px from the sidebar, 8 px under the top bar ============ */
html.uf-gym-ui-v2.portal-v3:not([data-skin]).page-align .gym.p3:not(#g#u#i#v#t#w){--p4-pg-pad:4px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gym.p3 main>.stk>:is(.p3-col,.p3-desk,.p3-rep,.p3-set,.p3f-page,.p3-gs-page,.scr):not(#g#u#i#v#t#w){padding-block:8px 36px}
@media (max-width:767px){html.uf-gym-ui-v2.portal-v3:not([data-skin]).page-align .gym.p3:not(#g#u#i#v#t#w){--p4-pg-pad:0px}}

/* ============ 5.1 The shell ============ */
@media (min-width:1024px){html.uf-gym-ui-v2.portal-v3:not([data-skin]).shell-v3 .gym.p3>aside.p3-side:not(#g#u#i#v#t#w){width:248px;flex-basis:248px}}
html.uf-gym-ui-v2.portal-v3:not([data-skin]).shell-v3 .gym.p3>aside.p3-side:not(#g#u#i#v#t#w){background:var(--gu-side);border:0;box-shadow:none}
html.uf-gym-ui-v2.portal-v3:not([data-skin]).shell-v3 .gym.p3 .p3-switcher:not(#g#u#i#v#t#w){gap:10px;padding:8px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]).shell-v3 .p3-gmark:not(#g#u#i#v#t#w){width:32px;height:32px;border-radius:9px;background:var(--gu-blue);color:#fff;font-weight:600}
html.uf-gym-ui-v2.portal-v3:not([data-skin]).shell-v3 .gym.p3 .p3-sw-t:not(#g#u#i#v#t#w){display:flex;flex-direction:column;min-width:0;font-size:14px;line-height:18px;font-weight:600;color:var(--gu-ink)}
/* the Gym / Finance switch: a segmented control on the sidebar */
html.uf-gym-ui-v2.portal-v3:not([data-skin]).shell-v3 .gym.p3 .p3-side-switch>.p3-seg:not(#g#u#i#v#t#w){padding:3px;border:0;border-radius:10px;background:var(--gu-seg);box-shadow:none}
html.uf-gym-ui-v2.portal-v3:not([data-skin]).shell-v3 .gym.p3 .p3-side-switch>.p3-seg>button:not(#g#u#i#v#t#w){min-height:32px;border-radius:8px;font-size:13px;font-weight:600;color:var(--gu-mute);background:transparent}
html.uf-gym-ui-v2.portal-v3:not([data-skin]).shell-v3 .gym.p3 .p3-side-switch>.p3-seg>button:is(.on,[aria-checked=true],[aria-selected=true]):not(#g#u#i#v#t#w){color:var(--gu-ink)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]).shell-v3 .gym.p3 .p3-side-switch>.p3-seg>:is(.p3-seg-th,.seg-th):not(#g#u#i#v#t#w){border-radius:8px;background:var(--gu-card);box-shadow:0 1px 2px rgba(15,26,42,.1)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]).shell-v3 .gym.p3 .p3-side-switch>.p3-seg>button>svg:not(#g#u#i#v#t#w){display:none}
/* nav rows */
html.uf-gym-ui-v2.portal-v3:not([data-skin]).shell-v3 .gym.p3 .p3-nrow:not(#g#u#i#v#t#w){min-height:36px;padding:8px 10px;gap:10px;border-radius:8px;font-size:14px;line-height:20px;font-weight:500;color:var(--gu-side-ink);background:transparent}
html.uf-gym-ui-v2.portal-v3:not([data-skin]).shell-v3 .gym.p3 .p3-nrow>svg:not(#g#u#i#v#t#w){width:18px;height:18px;stroke-width:2;color:var(--gu-side-ink)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]).shell-v3 .gym.p3 .p3-nrow:hover:not(.on):not(#g#u#i#v#t#w){background:rgba(15,26,42,.04)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]).shell-v3 .gym.p3 .p3-nrow.on:not(#g#u#i#v#t#w){background:var(--gu-nav-on);color:var(--gu-ink);font-weight:500}
html.uf-gym-ui-v2.portal-v3:not([data-skin]).shell-v3 .gym.p3 .p3-nrow.on>svg:not(#g#u#i#v#t#w){color:var(--gu-ink)}
/* the counts beside nav rows: grey numbers, never a red counter (the one urgent item lives on the page) */
html.uf-gym-ui-v2.portal-v3:not([data-skin]).shell-v3 .gym.p3 .p3-nrow .nav-c:not(#g#u#i#v#t#w){min-width:0;height:auto;padding:0;border:0;background:transparent;color:var(--gu-mute);font-size:12px;font-weight:500;box-shadow:none}
html.uf-gym-ui-v2.portal-v3:not([data-skin]).shell-v3 .gym.p3 .p3-ngrp-t:not(#g#u#i#v#t#w){color:var(--gu-mute);font-size:12px;font-weight:500;letter-spacing:0;text-transform:none}
html.uf-gym-ui-v2.portal-v3:not([data-skin]).shell-v3 .gym.p3 .p3-side-end:not(#g#u#i#v#t#w){border-top:1px solid var(--gu-line)}
/* the Getting started card: flat on the sidebar */
html.uf-gym-ui-v2.portal-v3:not([data-skin]).shell-v3 .gym.p3 .p3-gs-card:not(#g#u#i#v#t#w){border:1px solid var(--gu-line);background:var(--gu-card);box-shadow:none}
/* the top bar: no border; search up to 380 px; the bell a 36 px button */
html.uf-gym-ui-v2.portal-v3:not([data-skin]).shell-v3 .gym.p3 .p3-top:not(#g#u#i#v#t#w){border:0;box-shadow:none;background:var(--gu-bg)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]).shell-v3 .gym.p3 .p3-top.scrolled:not(#g#u#i#v#t#w){box-shadow:0 1px 0 var(--gu-line)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]).shell-v3 .gym.p3 .p3-top>.p3-search:not(#g#u#i#v#t#w){max-width:380px;border:1px solid var(--gu-line);border-radius:10px;background:var(--gu-card);box-shadow:none}
html.uf-gym-ui-v2.portal-v3:not([data-skin]).shell-v3 .gym.p3 .p3-top :is(.p3-bell,.p3-bm-btn):not(#g#u#i#v#t#w){width:36px;height:36px;min-width:36px;min-height:36px;border:1px solid var(--gu-line);border-radius:10px;background:var(--gu-card);color:var(--gu-ink)}
@media (pointer:coarse){html.uf-gym-ui-v2.portal-v3:not([data-skin]).shell-v3 .gym.p3 .p3-top :is(.p3-bell,.p3-bm-btn):not(#g#u#i#v#t#w){width:44px;height:44px;min-width:44px;min-height:44px}}

/* ============ 5.2 Buttons: the only raised element on a page ============ */
html.uf-gym-ui-v2.portal-v3:not([data-skin]).pill-v3 :is(.btn,.btn-sm,.btn-pill):not(#g#u#i#v#t#w){--pl-bg:linear-gradient(var(--gu-b1),var(--gu-blue));--pl-bg-h:linear-gradient(var(--gu-blue),var(--gu-blue-2));--pl-bg-p:var(--gu-blue-2);--pl-ink:#FFFFFF;
  border-radius:10px;border:1px solid var(--gu-b-line);box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 2px 4px rgba(30,59,196,.35);font-weight:600}
html.uf-gym-ui-v2.portal-v3:not([data-skin]).pill-v3 :is(.btn.sec,.btn.dashed,.btn-sm:not(.go):not(.danger),.btn.outline:not(.danger),.btn-sm.outline:not(.go):not(.danger)):not(#g#u#i#v#t#w){--pl-bg:linear-gradient(var(--gu-s1),var(--gu-s2));--pl-bg-h:linear-gradient(var(--gu-s2),var(--gu-s2));--pl-bg-p:var(--gu-s2);--pl-ink:var(--gu-ink);
  border:1px solid var(--gu-s-line);box-shadow:inset 0 1px 0 var(--gu-s-hi),0 1px 2px rgba(15,26,42,.06)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]).pill-v3 :is(.btn.sec.danger,.btn-sm.danger:not(.go)):not(#g#u#i#v#t#w){--pl-bg:linear-gradient(var(--gu-s1),var(--gu-s2));--pl-ink:var(--gu-bad);border:1px solid var(--gu-s-line);box-shadow:inset 0 1px 0 var(--gu-s-hi),0 1px 2px rgba(15,26,42,.06)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]).pill-v3 .btn.danger:not(.sec):not(#g#u#i#v#t#w){border-color:transparent;box-shadow:0 2px 4px rgba(180,35,24,.3)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]).pill-v3 :is(.btn,.btn-sm,.btn-pill):not(#g#u#i#v#t#w){min-height:36px;padding:8px 14px;font-size:14px;line-height:20px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]).pill-v3 :is(.btn-sm,.btn-pill):not(#g#u#i#v#t#w){min-height:32px;padding:6px 12px;font-size:13px;line-height:18px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]).pill-v3 :is(.bar-bottom,.gm-foot,.modal-foot) .btn:not(.btn-sm):not(#g#u#i#v#t#w){min-height:40px;padding:10px 16px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]).pill-v3 :is(.btn,.btn-sm,.btn-pill):disabled:not([aria-busy=true]):not(#g#u#i#v#t#w){box-shadow:none}
html.uf-gym-ui-v2.portal-v3:not([data-skin]).pill-v3 :is(.btn,.btn-sm,.btn-pill):focus-visible:not(#g#u#i#v#t#w){box-shadow:0 0 0 2px var(--gu-bg),0 0 0 4px color-mix(in srgb,var(--gu-blue) 60%,transparent)}
/* the light button on a blue card */
html.uf-gym-ui-v2.portal-v3:not([data-skin]).pill-v3 .gu-live :is(.btn,.btn-sm):not(#g#u#i#v#t#w){--pl-bg:#FFFFFF;--pl-ink:#1F3BD1;border-color:transparent;box-shadow:0 1px 2px rgba(0,0,0,.12)}
/* the split button (+ New) keeps its two parts in one raised button */
html.uf-gym-ui-v2.portal-v3:not([data-skin]).pill-v3 .p3-split:not(#g#u#i#v#t#w){border-radius:10px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]).pill-v3 .p3-split>:is(.btn,.btn-sm):not(#g#u#i#v#t#w){border-radius:0}
html.uf-gym-ui-v2.portal-v3:not([data-skin]).pill-v3 .p3-split>:is(.btn,.btn-sm):first-child:not(#g#u#i#v#t#w){border-start-start-radius:10px;border-end-start-radius:10px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]).pill-v3 .p3-split>:is(.btn,.btn-sm):last-child:not(#g#u#i#v#t#w){border-start-end-radius:10px;border-end-end-radius:10px;border-inline-start-color:rgba(255,255,255,.28)}
/* links */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .link:not(.danger):not(.mute):not(.on-navy):not(#g#u#i#v#t#w){color:var(--gu-blue);font-weight:500}

/* ============ the page header: the title row with its actions at the end ============ */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-ph.gu-ph:not(#g#u#i#v#t#w){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px 24px;margin:0 0 20px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-ph.gu-ph>.p3-ph-top:not(#g#u#i#v#t#w){grid-column:1;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-ph.gu-ph>.p3-ph-acts:not(#g#u#i#v#t#w){grid-column:2;grid-row:1;align-self:end;flex-wrap:nowrap;gap:8px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-ph.gu-ph .p3-ph-pills:not(#g#u#i#v#t#w){gap:8px;flex-wrap:wrap;overflow:visible;max-width:100%}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-ph.gu-ph .p3-ph-per:not(#g#u#i#v#t#w){flex-basis:auto}
@media (max-width:899px){html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-ph.gu-ph:not(#g#u#i#v#t#w){grid-template-columns:minmax(0,1fr)}html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-ph.gu-ph>.p3-ph-acts:not(#g#u#i#v#t#w){grid-column:1;grid-row:auto;flex-wrap:wrap}}
/* the header's More menu */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-more:not(#g#u#i#v#t#w){position:relative;display:inline-flex}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-more-pop:not(#g#u#i#v#t#w){position:absolute;top:calc(100% + 6px);inset-inline-end:0;z-index:40;display:flex;flex-direction:column;min-width:220px;padding:6px;border:1px solid var(--gu-line);border-radius:12px;background:var(--gu-card);box-shadow:0 12px 32px rgba(15,26,42,.14)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-more-pop>.p3-mi:not(#g#u#i#v#t#w){display:flex;align-items:center;gap:10px;min-height:40px;padding:8px 10px;border:0;border-radius:8px;background:transparent;color:var(--gu-ink);font:inherit;font-size:14px;text-align:start;cursor:pointer;white-space:nowrap}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-more-pop>.p3-mi:is(:hover,:focus-visible):not(#g#u#i#v#t#w){background:var(--gu-soft);outline:0}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-more-pop>.p3-mi>svg:not(#g#u#i#v#t#w){color:var(--gu-mute)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-more-pop .gu-mi-sp:not(#g#u#i#v#t#w){display:inline-block;width:16px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-more-node:not(#g#u#i#v#t#w){padding:4px}

/* ============ 5.3 The stat strip ============ */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-strip:not(#g#u#i#v#t#w){display:grid;grid-template-columns:1.4fr repeat(var(--gu-n,3),minmax(0,1fr));margin:0 0 20px;padding:22px 0;border-block:1px solid var(--gu-line)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-strip.n1:not(#g#u#i#v#t#w){--gu-n:0;grid-template-columns:minmax(0,1fr)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-strip.n2:not(#g#u#i#v#t#w){--gu-n:1}html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-strip.n3:not(#g#u#i#v#t#w){--gu-n:2}html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-strip.n4:not(#g#u#i#v#t#w){--gu-n:3}html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-strip.n5:not(#g#u#i#v#t#w){--gu-n:4}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-st:not(#g#u#i#v#t#w){display:flex;flex-direction:column;justify-content:flex-end;gap:6px;min-width:0;padding:0 24px;border:0;border-inline-start:1px solid var(--gu-line);background:transparent;color:var(--gu-ink);font:inherit;text-align:start}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-st.lead:not(#g#u#i#v#t#w){padding-inline-start:0;border-inline-start:0}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-st.act:not(#g#u#i#v#t#w){cursor:pointer;border-radius:0}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-st.act:hover .gu-st-v:not(#g#u#i#v#t#w){color:var(--gu-blue)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-st.act:focus-visible:not(#g#u#i#v#t#w){outline:2px solid var(--gu-blue);outline-offset:4px;border-radius:6px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-st-l:not(#g#u#i#v#t#w){font-size:13px;line-height:18px;font-weight:500;color:var(--gu-mute);text-wrap:balance}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-st-v:not(#g#u#i#v#t#w){font-size:28px;line-height:1.1;font-weight:600;letter-spacing:-.02em;white-space:nowrap;font-variant-numeric:tabular-nums lining-nums}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-st.lead .gu-st-v:not(#g#u#i#v#t#w){font-size:clamp(36px,3.9vw,56px);line-height:1.02}
html.uf-gym-ui-v2.portal-v3:not([data-skin])[dir=rtl] .gu-st-v:not(#g#u#i#v#t#w){letter-spacing:0}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-st-n:not(#g#u#i#v#t#w){font-size:13px;line-height:18px;font-weight:600;text-wrap:balance}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.gu-st-n,.gu-tone).ok:not(#g#u#i#v#t#w){color:var(--gu-ok)}html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.gu-st-n,.gu-tone).bad:not(#g#u#i#v#t#w){color:var(--gu-bad)}html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.gu-st-n,.gu-tone).up:not(#g#u#i#v#t#w){color:var(--gu-blue)}html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.gu-st-n,.gu-tone).mute:not(#g#u#i#v#t#w){color:var(--gu-mute)}
@media (max-width:899px){html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-strip:not(#g#u#i#v#t#w){grid-template-columns:repeat(2,minmax(0,1fr));row-gap:20px}
  html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-st:not(#g#u#i#v#t#w){padding-inline:16px}html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-st:nth-child(odd):not(#g#u#i#v#t#w){padding-inline-start:0;border-inline-start:0}
  html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-st.lead:not(#g#u#i#v#t#w){grid-column:1/-1}html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-st.lead~.gu-st:nth-child(even):not(#g#u#i#v#t#w){padding-inline-start:0;border-inline-start:0}html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-st.lead~.gu-st:nth-child(odd):not(#g#u#i#v#t#w){padding-inline-start:16px;border-inline-start:1px solid var(--gu-line)}
  html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-st.lead .gu-st-v:not(#g#u#i#v#t#w){font-size:44px}}
/* the currency word: smaller than its number */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-cur:not(#g#u#i#v#t#w){font-size:.8em;font-weight:500;color:var(--gu-mute);letter-spacing:0}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.gu-st.lead .gu-st-v,.gu-live-n b,.gu-big) .gu-cur:not(#g#u#i#v#t#w){font-size:.5em}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-st-v .gu-cur:not(#g#u#i#v#t#w){font-size:.5em}
/* the KPI chips row of today's pages, as a quiet line when a page keeps it */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .cv3-kpi:not(#g#u#i#v#t#w){border:1px solid var(--gu-line);background:var(--gu-card);box-shadow:none}
/* rolling numbers (USE_GYM_ROLL): RollNum's columns, as the apps draw them */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .rv-roll:not(#g#u#i#v#t#w){display:inline-flex;direction:ltr;unicode-bidi:isolate;font-variant-numeric:tabular-nums lining-nums;white-space:nowrap}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .rv-roll .rv-sr:not(#g#u#i#v#t#w){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .rv-roll-d:not(#g#u#i#v#t#w){position:relative;display:inline-block;height:1em;line-height:1;overflow:hidden;-webkit-mask-image:linear-gradient(transparent,#000 18%,#000 82%,transparent);mask-image:linear-gradient(transparent,#000 18%,#000 82%,transparent)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .rv-roll-d>span:not(#g#u#i#v#t#w){display:flex;flex-direction:column;transition:transform 560ms cubic-bezier(.2,.8,.2,1)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .rv-roll-d>span>i:not(#g#u#i#v#t#w){display:block;height:1em;font-style:normal;line-height:1;text-align:center}
@media (prefers-reduced-motion:reduce){html.uf-gym-ui-v2.portal-v3:not([data-skin]) .rv-roll-d>span:not(#g#u#i#v#t#w){transition:none}}

/* ============ 5.4 Cards and lists: flat, a 1 px line, 16 px corners ============ */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-card:not(#g#u#i#v#t#w){gap:14px;padding:18px 20px 20px;border:1px solid var(--gu-line);border-radius:16px;background:var(--gu-card);box-shadow:none}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gym :is(.card:not(.dark):not(.clay):not(.green),.needs):not(#g#u#i#v#t#w){border:1px solid var(--gu-line);border-radius:16px;background:var(--gu-card);box-shadow:none}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .cv3-frame:not(#g#u#i#v#t#w){border-radius:16px;border-color:var(--gu-line);box-shadow:none;background:var(--gu-card)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-rows>*+*:not(#g#u#i#v#t#w){border-top-color:var(--gu-soft)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-tile:not(#g#u#i#v#t#w){width:36px;height:36px;border-radius:10px;background:var(--gu-tile);color:var(--gu-mute)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-tile.lg:not(#g#u#i#v#t#w){width:52px;height:52px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-av:not(#g#u#i#v#t#w){background:var(--gu-tile);color:var(--gu-ink);font-weight:600}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gym .avatar:not(.dark):not(.em):not(.ph):not(#g#u#i#v#t#w){background:var(--gu-tile);color:var(--gu-ink)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-info:not(#g#u#i#v#t#w){border:1px solid var(--gu-line);background:var(--gu-card);border-radius:16px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-info-ic:not(#g#u#i#v#t#w){color:var(--gu-mute)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-expl:not(#g#u#i#v#t#w){background:var(--gu-card);box-shadow:none}
/* side-by-side cards are the same height: grids stretch their cards */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3-dash-grid,.p3-ov-split,.dsplit,.p3f-grid2,.p3-sum-grid,.gu-row):not(#g#u#i#v#t#w){align-items:stretch}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3-dash-grid,.p3f-grid2,.p3-sum-grid,.gu-row)>:is(.p3-card,.cv3-frame,section):not(#g#u#i#v#t#w){height:100%}

/* ============ rule 3: statuses and changes are words in colour, never pills or outlines ============ */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3-badge,.badge):not(#g#u#i#v#t#w){height:auto;min-height:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:13px;line-height:18px;font-weight:600;white-space:nowrap}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3-badge,.badge)>svg:not(#g#u#i#v#t#w){display:none}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3-badge.ok,.badge.green):not(#g#u#i#v#t#w){background:transparent;color:var(--gu-ok)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3-badge.bad,.badge.red,.badge.clay):not(#g#u#i#v#t#w){background:transparent;color:var(--gu-bad)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3-badge.soft,.badge.gray):not(#g#u#i#v#t#w){background:transparent;color:var(--gu-mute)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3-badge.tint,.badge:not(.green):not(.red):not(.clay):not(.gray)):not(#g#u#i#v#t#w){background:transparent;color:var(--gu-blue)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3-badge.warn,.badge.amber,.badge.warn):not(#g#u#i#v#t#w){background:transparent;color:var(--gu-ink)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .cv3-badge:not(#g#u#i#v#t#w){padding:0;border:0;background:transparent;box-shadow:none;font-weight:600}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .cv3-badge.ok:not(#g#u#i#v#t#w){color:var(--gu-ok)}html.uf-gym-ui-v2.portal-v3:not([data-skin]) .cv3-badge:is(.bad,.behind):not(#g#u#i#v#t#w){color:var(--gu-bad)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .pro-tag:not(#g#u#i#v#t#w){background:transparent;color:var(--gu-blue);padding:0;font-weight:600}
/* changes beside a number */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.delta,.p3-delta):not(#g#u#i#v#t#w){padding:0;border:0;background:transparent;box-shadow:none;font-weight:600}

/* ============ 5.5 Segmented tabs ============ */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3-seg,.p3-tabs):not(#g#u#i#v#t#w){display:inline-flex;align-items:center;gap:0;width:auto;max-width:100%;padding:3px;border:0;border-radius:10px;background:var(--gu-track);box-shadow:none;overflow-x:auto;scrollbar-width:none}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3-seg,.p3-tabs)>button:not(#g#u#i#v#t#w){position:relative;z-index:1;min-height:30px;height:auto;padding:5px 12px;border:0;border-radius:8px;background:transparent;box-shadow:none;color:var(--gu-mute);font-size:13px;line-height:18px;font-weight:500;white-space:nowrap}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3-seg,.p3-tabs)>button:not(#g#u#i#v#t#w)::after{content:none}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-tabs>button:is(.on,[aria-selected=true]):not(#g#u#i#v#t#w){background:var(--gu-card);color:var(--gu-ink);box-shadow:0 1px 2px rgba(0,0,0,.08)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-seg>button:is(.on,[aria-checked=true]):not(#g#u#i#v#t#w){color:var(--gu-ink)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3-seg,.p3-tabs)>:is(.p3-seg-th,.gu-th):not(#g#u#i#v#t#w){position:absolute;z-index:0;top:3px;bottom:3px;left:0;right:auto;height:auto;border-radius:8px;background:var(--gu-card);box-shadow:0 1px 2px rgba(0,0,0,.08);transition:none}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3-seg,.p3-tabs):not(#g#u#i#v#t#w){position:relative}
/* the sliding pill (USE_GYM_SLIDE_TABS): the thumb moves to the chosen option */
html.uf-gym-ui-v2.portal-v3:not([data-skin]).uf-gym-slide-tabs :is(.p3-seg,.p3-tabs)>:is(.p3-seg-th[data-ready],.gu-th[data-ready]):not(#g#u#i#v#t#w){transition:transform 200ms cubic-bezier(.2,.8,.2,1),width 200ms cubic-bezier(.2,.8,.2,1)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]).uf-gym-slide-tabs .p3-tabs:has(>.gu-th)>button:is(.on,[aria-selected=true]):not(#g#u#i#v#t#w){background:transparent;box-shadow:none}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-tabs .p3-cnt:not(#g#u#i#v#t#w){background:transparent;color:var(--gu-mute);padding:0;margin-inline-start:6px;font-weight:500}
@media (prefers-reduced-motion:reduce){html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3-seg,.p3-tabs)>:is(.p3-seg-th,.gu-th):not(#g#u#i#v#t#w){transition:none}}
/* chips are choices: the track look, never wrapping */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.chip:not(.static):not(.saved),.p3-chip):not(#g#u#i#v#t#w){border:1px solid var(--gu-line);background:var(--gu-card);color:var(--gu-ink);border-radius:8px;white-space:nowrap;box-shadow:none}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.chip:not(.static):not(.saved),.p3-chip).on:not(#g#u#i#v#t#w){border-color:var(--gu-ink);background:var(--gu-ink);color:var(--gu-card)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.chip,.p3-chip) :is(small,.cn,.p3-cnt):not(#g#u#i#v#t#w){background:transparent;color:inherit;opacity:.75}

/* ============ 5.6 The XBAND AI card ============ */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-ai:not(#g#u#i#v#t#w){position:relative;padding:1px;border:0;border-radius:16px;background:conic-gradient(from 200deg,#3557F5,#8EA2FF,#22D3EE,#3557F5);box-shadow:0 8px 28px -12px rgba(53,87,245,.55);margin:0 0 20px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-ai-in:not(#g#u#i#v#t#w){display:flex;align-items:center;gap:16px;min-width:0;padding:12px 14px 12px 18px;border-radius:15px;background:var(--gu-card)}
html.uf-gym-ui-v2.portal-v3:not([data-skin])[dir=rtl] .gu-ai-in:not(#g#u#i#v#t#w){padding:12px 18px 12px 14px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-ai-tx:not(#g#u#i#v#t#w){flex:1 1 auto;min-width:0;margin:0;font-size:14px;line-height:20px;color:var(--gu-mute);text-wrap:balance}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-ai-tx>b:not(#g#u#i#v#t#w){margin-inline-end:6px;font-weight:600;color:var(--gu-ink)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-ai-tx .gu-ai-s:not(#g#u#i#v#t#w){display:block}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-ai-tx .gu-ai-s:first-child:not(#g#u#i#v#t#w){display:inline}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-ai-end:not(#g#u#i#v#t#w){display:flex;align-items:center;gap:4px;flex:none}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-ai .p3-note-x:not(#g#u#i#v#t#w){width:32px;height:32px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-ai.sm:not(#g#u#i#v#t#w){margin:0;box-shadow:0 6px 20px -12px rgba(53,87,245,.5)}
@media (max-width:767px){html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-ai-in:not(#g#u#i#v#t#w){flex-wrap:wrap}html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-ai-end:not(#g#u#i#v#t#w){width:100%;justify-content:space-between}}
/* USE_GYM_AI_OPEN off: today's collapsible card with the gradient edge and no sparkle tile */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-xai:not(#g#u#i#v#t#w){padding:1px;border:0;border-radius:16px;background:conic-gradient(from 200deg,#3557F5,#8EA2FF,#22D3EE,#3557F5);box-shadow:0 8px 28px -12px rgba(53,87,245,.55)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-xai>:is(.p3-xai-tog,.p3-xai-body):not(#g#u#i#v#t#w){background:var(--gu-card)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-xai>.p3-xai-tog:not(#g#u#i#v#t#w){border-radius:15px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-xai.is-open>.p3-xai-tog:not(#g#u#i#v#t#w){border-end-start-radius:0;border-end-end-radius:0}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-xai>.p3-xai-body:not(#g#u#i#v#t#w){border-radius:0 0 15px 15px;padding:0 18px 14px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-xai .p3-tile:not(#g#u#i#v#t#w){display:none}

/* ============ 5.7 The bold blue card ============ */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-live:not(#g#u#i#v#t#w){position:relative;display:flex;flex-direction:column;gap:10px;min-width:0;padding:18px 20px 16px;border-radius:16px;background:linear-gradient(135deg,#1F3BD1 0%,#3557F5 55%,#5D7BFF 100%);color:#fff;box-shadow:0 12px 32px -16px rgba(31,59,209,.7);overflow:hidden}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-live-top:not(#g#u#i#v#t#w){display:flex;align-items:center;justify-content:space-between;gap:12px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-live-l:not(#g#u#i#v#t#w){display:flex;align-items:center;gap:8px;margin:0;font-size:13px;line-height:18px;font-weight:600;color:#fff}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-pulse:not(#g#u#i#v#t#w){position:relative;width:8px;height:8px;border-radius:50%;background:#fff;flex:none}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-pulse:not(#g#u#i#v#t#w)::after{content:'';position:absolute;inset:0;border-radius:50%;background:#fff;animation:gu-pulse 1.6s ease-out infinite}
@keyframes gu-pulse{0%{transform:scale(1);opacity:.6}100%{transform:scale(2.6);opacity:0}}
@media (prefers-reduced-motion:reduce){html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-pulse:not(#g#u#i#v#t#w)::after{animation:none;opacity:0}}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-live-chip:not(#g#u#i#v#t#w){padding:4px 10px;border-radius:999px;background:rgba(255,255,255,.16);font-size:12px;line-height:16px;font-weight:600;white-space:nowrap}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-live-n:not(#g#u#i#v#t#w){display:flex;align-items:baseline;gap:10px;padding:0;border:0;background:none;color:#fff;font:inherit;text-align:start;cursor:pointer;width:fit-content}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-live-n:disabled:not(#g#u#i#v#t#w){cursor:default}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-live-n:focus-visible:not(#g#u#i#v#t#w){outline:2px solid #fff;outline-offset:4px;border-radius:6px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-live-n>b:not(#g#u#i#v#t#w){font-size:56px;line-height:1;font-weight:600;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-live-n>span:not(#g#u#i#v#t#w){font-size:16px;font-weight:500;color:rgba(255,255,255,.9)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-live-w:not(#g#u#i#v#t#w){margin:0;font-size:14px;line-height:20px;color:rgba(255,255,255,.9);text-wrap:balance}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-live-ch:not(#g#u#i#v#t#w){display:flex;gap:8px;flex:1 1 auto;min-height:130px;margin-top:4px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-live-y:not(#g#u#i#v#t#w){display:flex;flex-direction:column;justify-content:space-between;padding-bottom:12px;margin-top:-6px;font-size:11px;line-height:1;color:rgba(255,255,255,.7);text-align:end;font-variant-numeric:tabular-nums}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-live-plot:not(#g#u#i#v#t#w){position:relative;flex:1 1 auto;min-width:0}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-live-g:not(#g#u#i#v#t#w){position:absolute;inset-inline:0;height:0;bottom:calc(18px + (100% - 18px) * var(--t,0));border-top:1px dashed rgba(255,255,255,.25)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-live-bars:not(#g#u#i#v#t#w){position:absolute;inset:0;display:flex;align-items:stretch;gap:4px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-live-b:not(#g#u#i#v#t#w){position:relative;flex:1 1 0;display:flex;flex-direction:column;justify-content:flex-end;min-width:0;padding-bottom:18px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-live-b>i:not(#g#u#i#v#t#w){display:block;width:100%;border-radius:4px 4px 0 0;background:rgba(255,255,255,.4)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-live-b.now>i:not(#g#u#i#v#t#w){background:#fff}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-live-b>em:not(#g#u#i#v#t#w){position:absolute;bottom:0;inset-inline:-4px;font-style:normal;font-size:11px;line-height:14px;text-align:center;color:rgba(255,255,255,.7);white-space:nowrap;overflow:hidden}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-live-b.now>em:not(#g#u#i#v#t#w){color:#fff;font-weight:600}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-live-b:nth-child(even)>em:not(#g#u#i#v#t#w){visibility:hidden}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-live-foot:not(#g#u#i#v#t#w){display:flex;gap:16px;flex-wrap:wrap;font-size:13px;color:rgba(255,255,255,.9)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-live-foot button:not(#g#u#i#v#t#w){padding:0;border:0;background:none;color:#fff;font:inherit;font-weight:600;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
/* the row of the live card and today's classes, the same height */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-row:not(#g#u#i#v#t#w){display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;margin:0 0 20px}
@media (max-width:899px){html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-row:not(#g#u#i#v#t#w){grid-template-columns:minmax(0,1fr)}}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-row>.p3-ov-cls:not(#g#u#i#v#t#w){margin:0;justify-content:flex-start}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-row>.p3-ov-cls .p3-ov-clist:not(#g#u#i#v#t#w){display:flex;flex-direction:column;flex:1 1 auto;justify-content:space-around}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-ov-crow+.p3-ov-crow:not(#g#u#i#v#t#w){border-top:1px solid var(--gu-soft)}

/* ============ 5.8 Tables ============ */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3t:not(#g#u#i#v#t#w){--p3t-bg:var(--gu-card)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3t th:not(#g#u#i#v#t#w){height:auto;padding:10px 20px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3t,.tbl) th:not(#g#u#i#v#t#w){border-bottom:1px solid var(--gu-line);background:var(--p3t-bg,var(--gu-card));color:var(--gu-mute);font-size:12px;line-height:16px;font-weight:500;letter-spacing:0;text-transform:none;white-space:nowrap}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3t td:not(#g#u#i#v#t#w){padding:12px 20px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3t,.tbl) td:not(#g#u#i#v#t#w){border-bottom:1px solid var(--gu-line);color:var(--gu-ink)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3t,.tbl) tr:last-child>td:not(#g#u#i#v#t#w){border-bottom:0}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3t-r:hover>td:not(#g#u#i#v#t#w){background:var(--gu-soft)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3t-r:is([aria-selected=true],.sel,.on,.open)>td:not(#g#u#i#v#t#w){background:var(--gu-sel)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3t-r:is([aria-selected=true],.sel,.on,.open)>td:first-child:not(#g#u#i#v#t#w){box-shadow:inset 3px 0 0 var(--gu-blue)}
html.uf-gym-ui-v2.portal-v3:not([data-skin])[dir=rtl] .p3t-r:is([aria-selected=true],.sel,.on,.open)>td:first-child:not(#g#u#i#v#t#w){box-shadow:inset -3px 0 0 var(--gu-blue)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3t-whot:not(#g#u#i#v#t#w){white-space:nowrap;min-width:0;overflow:visible}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3t-who .p3-av:not(#g#u#i#v#t#w){width:32px;height:32px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3t-foot:not(#g#u#i#v#t#w){padding:12px 20px;border-top:1px solid var(--gu-line);color:var(--gu-mute);font-size:13px}

/* ============ 5.9 Members: the selected member's detail under the table ============ */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-below:not(#g#u#i#v#t#w){margin:20px 0 0;border:1px solid var(--gu-line);border-radius:16px;background:var(--gu-card);overflow:hidden}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-below>.p3-sp.gu-sp-below:not(#g#u#i#v#t#w){position:static;inset:auto;z-index:auto;width:auto;max-width:none;height:auto;max-height:none;margin:0;transform:none;animation:none;border:0;border-radius:0;box-shadow:none;background:transparent}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-sp-below .p3-sp-hd:not(#g#u#i#v#t#w){position:static;padding:14px 20px;border-bottom:1px solid var(--gu-line);background:transparent}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-sp-below .p3-sp-back:not(#g#u#i#v#t#w){display:none}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-sp-below>.p3-sp-body:not(#g#u#i#v#t#w){overflow:visible;max-height:none;padding:0}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-mp:not(#g#u#i#v#t#w){display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-mp-a:not(#g#u#i#v#t#w){display:flex;flex-direction:column;gap:16px;min-width:0;padding:20px;border-inline-end:1px solid var(--gu-line)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-mp-b:not(#g#u#i#v#t#w){display:flex;flex-direction:column;gap:16px;min-width:0;padding:20px}
@media (max-width:899px){html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-mp:not(#g#u#i#v#t#w){grid-template-columns:minmax(0,1fr)}html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-mp-a:not(#g#u#i#v#t#w){border-inline-end:0;border-bottom:1px solid var(--gu-line)}}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-visits:not(#g#u#i#v#t#w){display:flex;flex-direction:column;gap:10px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-visits-hd:not(#g#u#i#v#t#w){display:flex;align-items:baseline;justify-content:space-between;gap:12px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-visits-n:not(#g#u#i#v#t#w){display:flex;align-items:baseline;gap:8px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-visits-n>b:not(#g#u#i#v#t#w){font-size:28px;line-height:1.1;font-weight:600}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-visits-n>span:not(#g#u#i#v#t#w){font-size:14px;color:var(--gu-mute)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-heat:not(#g#u#i#v#t#w){display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 8px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-heat-d:not(#g#u#i#v#t#w){display:grid;grid-template-rows:repeat(7,1fr);gap:3px;font-size:11px;line-height:1;color:var(--gu-mute)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-heat-d>span:not(#g#u#i#v#t#w){display:flex;align-items:center}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-heat-g:not(#g#u#i#v#t#w){display:grid;grid-auto-flow:column;grid-template-rows:repeat(7,1fr);grid-auto-columns:minmax(0,1fr);gap:3px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-heat-g>i:not(#g#u#i#v#t#w){display:block;aspect-ratio:1/1;min-height:6px;max-height:18px;border-radius:3px;background:var(--gu-cell)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-heat-g>i.on:not(#g#u#i#v#t#w){background:var(--gu-blue)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-heat-g>i.out:not(#g#u#i#v#t#w){background:transparent}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-heat-m:not(#g#u#i#v#t#w){grid-column:2;display:flex;justify-content:space-between;font-size:11px;color:var(--gu-mute)}

/* ============ 5.10 Charts ============ */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .cv3-bar:not(#g#u#i#v#t#w){rx:6px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .cv3 :is(.cv3-grid,.cv3-gl) line:not(#g#u#i#v#t#w){stroke:var(--gu-line);stroke-dasharray:3 3}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .cv3 .cv3-base:not(#g#u#i#v#t#w){stroke:var(--gu-base)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .cv3 :is(.cv3-ax,.cv3-xl,.cv3-yl) text:not(#g#u#i#v#t#w){fill:var(--gu-mute);font-size:11px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .cv3-heat-c:not(#g#u#i#v#t#w){border-radius:4px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .cv3-legend:not(#g#u#i#v#t#w){font-size:12px;color:var(--gu-mute)}

/* ============ 5.11 Fields ============ */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3-field,.field)>:is(input,select,textarea):not(#g#u#i#v#t#w){border-radius:10px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(input,select,textarea):is(.p3-in,.inp):not(#g#u#i#v#t#w){border-radius:10px;border-color:var(--gu-line);background:var(--gu-card);font-size:14px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(input,select,textarea):focus-visible:not(#g#u#i#v#t#w){outline:0;box-shadow:0 0 0 2px color-mix(in srgb,var(--gu-blue) 30%,transparent)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3-ctl,.p3-fbtn,.p3-svbtn,.p3-pill-btn):not(#g#u#i#v#t#w){border-radius:10px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-pill-btn:not(#g#u#i#v#t#w){border:1px solid var(--gu-line);background:var(--gu-card);box-shadow:none}
/* the header's order: the secondary, then More, then the one primary at the end of the title row */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-ph.gu-ph .p3-ph-pills>*:not(#g#u#i#v#t#w){order:1}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-ph.gu-ph .p3-ph-pills>.gu-more:not(#g#u#i#v#t#w){order:2}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-ph.gu-ph .p3-ph-pills>.go:not(#g#u#i#v#t#w){order:3}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-chev:not(#g#u#i#v#t#w){transform:rotate(90deg)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-card>.cv3-frame:not(#g#u#i#v#t#w){border:0;padding:0;background:transparent;box-shadow:none}
/* a detail under the list is in the page: main keeps its padding (the side panel's room is for the floating panel only) */
@media (min-width:1280px){html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gym.p3 main:has(>.stk:not(.off) .p3-sp.gu-sp-below):not(:has(>.stk:not(.off) .p3-sp:not(.gu-sp-below))):not(#g#u#i#v#t#w){padding-inline-end:var(--s-6,32px)}}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-visits-hd>.p3-label:not(#g#u#i#v#t#w){white-space:nowrap}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-visits-hd>.gu-tone:not(#g#u#i#v#t#w){font-size:13px;font-weight:600;white-space:nowrap}
/* Equipment: the unit-code explanation as a plain card */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3cm-info:not(#g#u#i#v#t#w){display:flex;align-items:flex-start;gap:12px;padding:16px 20px;border:1px solid var(--gu-line);border-radius:16px;background:var(--gu-card);color:var(--gu-mute);font-size:14px;line-height:20px;text-wrap:pretty}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3cm-info>svg:not(#g#u#i#v#t#w){flex:none;margin-top:1px;color:var(--gu-mute)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3cm-info b:not(#g#u#i#v#t#w){color:var(--gu-ink);font-weight:600}

/* ============ rule 2: today's rows of stat boxes become strips (Trainers, Marketing, Targets, Support, Incidents, Ratings,
   Seasons, Finance's Pay pages): one open row between two lines, the first item larger, no card per number ============ */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3sl-stats,.p3cm-stats,.p3fp-stats):not(#g#u#i#v#t#w){display:flex;flex-wrap:nowrap;gap:0;padding:22px 0;border-block:1px solid var(--gu-line)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3sl-stats,.p3cm-stats,.p3fp-stats)>*:not(#g#u#i#v#t#w){flex:1 1 0}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3sl-stats,.p3cm-stats,.p3fp-stats)>:first-child:not(#g#u#i#v#t#w){flex:1.4 1 0}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3sl-stats,.p3cm-stats,.p3fp-stats)>*:not(#g#u#i#v#t#w){min-width:0;margin:0;padding:0 24px;border:0;border-inline-start:1px solid var(--gu-line);border-radius:0;background:transparent;box-shadow:none;justify-content:flex-end}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3sl-stats,.p3cm-stats,.p3fp-stats)>:first-child:not(#g#u#i#v#t#w){padding-inline-start:0;border-inline-start:0}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3sl-stats,.p3cm-stats,.p3fp-stats)>:is(.p3-card,.stat):not(#g#u#i#v#t#w){padding-block:0}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3sl-st-l,.p3cm-sl):not(#g#u#i#v#t#w){font-size:13px;line-height:18px;font-weight:500;color:var(--gu-mute)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3sl-st-v,.p3cm-sv):not(#g#u#i#v#t#w){font-size:28px;line-height:1.15;font-weight:600;letter-spacing:-.02em}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3sl-stats,.p3cm-stats,.p3fp-stats)>:first-child :is(.p3sl-st-v,.p3cm-sv):not(#g#u#i#v#t#w){font-size:clamp(32px,3.6vw,56px);line-height:1.02}
html.uf-gym-ui-v2.portal-v3:not([data-skin])[dir=rtl] :is(.p3sl-st-v,.p3cm-sv):not(#g#u#i#v#t#w){letter-spacing:0}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3sl-st.hit:hover:not(#g#u#i#v#t#w){background:transparent}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3sl-st.hit:hover .p3sl-st-v:not(#g#u#i#v#t#w){color:var(--gu-blue)}
@media (max-width:899px){html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3sl-stats,.p3cm-stats,.p3fp-stats):not(#g#u#i#v#t#w){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));row-gap:20px}
  html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3sl-stats,.p3cm-stats,.p3fp-stats)>:nth-child(odd):not(#g#u#i#v#t#w){padding-inline-start:0;border-inline-start:0}
  html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3sl-stats,.p3cm-stats,.p3fp-stats)>:first-child :is(.p3sl-st-v,.p3cm-sv):not(#g#u#i#v#t#w){font-size:40px}}
/* tab tracks are as wide as their options */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-tabs:not(#g#u#i#v#t#w){width:fit-content}
/* the desk's arrivals without a photo: initials on the icon tile, never a block of blue */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-arr-ph:not(:has(>img)):not(#g#u#i#v#t#w){background:var(--gu-tile);color:var(--gu-ink)}
/* promotion and offer cards are flat cards */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3sl-promo,.p3sl-pt):not(#g#u#i#v#t#w){border:1px solid var(--gu-line);background:var(--gu-card);box-shadow:none}
/* the note's sentences carry no paragraph margins */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-ai-s:not(#g#u#i#v#t#w){margin:0}
/* label above value in the strips that wrote the value first (Support, Incidents, Ratings; Finance's Pay pages) */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3cm-stat,.p3fp-stat):not(#g#u#i#v#t#w){display:flex;flex-direction:column;justify-content:flex-end;gap:6px;min-height:0;text-align:start}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3cm-stat>.p3cm-sl:not(#g#u#i#v#t#w),html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3fp-stat>.p3fp-stat-l:not(#g#u#i#v#t#w){order:-1;margin:0;font-size:13px;line-height:18px;font-weight:500;color:var(--gu-mute)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3cm-ss,.p3fp-stat-s):not(#g#u#i#v#t#w){font-size:13px;line-height:18px;font-weight:600;color:var(--gu-mute)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3fp-stat .p3-amt.hero:not(#g#u#i#v#t#w){font-size:28px;line-height:1.15;font-weight:600;letter-spacing:-.02em}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3fp-stats>:first-child .p3-amt.hero:not(#g#u#i#v#t#w){font-size:clamp(32px,3.6vw,56px);line-height:1.02}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3fp-stat.on:not(#g#u#i#v#t#w){background:transparent}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3fp-stat.on .p3-amt.hero:not(#g#u#i#v#t#w){color:var(--gu-blue)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) button.p3fp-stat:hover:not(#g#u#i#v#t#w){background:transparent}
/* tabs: no underline left from the underline look */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3-seg,.p3-tabs)>button:not(#g#u#i#v#t#w)::before{content:none}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-tabs>button:not(#g#u#i#v#t#w){text-decoration:none;border-bottom:0}

/* numbers in the strips never wrap and never leave their column: the lead's size follows the width */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3sl-st-v,.p3cm-sv,.p3fp-stat .p3-amt):not(#g#u#i#v#t#w){white-space:nowrap;overflow:visible;text-overflow:clip}
/* a table standing on the page sits in a card (overflow clip makes no scroll box, so the sticky header still works);
   a table already inside a card keeps that card only */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3t-box:not(:is(.p3-card,.card,.cv3-frame,.p3-sp,.gu-below) .p3t-box):not(#g#u#i#v#t#w){border:1px solid var(--gu-line);border-radius:16px;background:var(--gu-card);overflow:clip}
/* the permissions matrix keeps fitting its card in Geist (its header sticks only while it fits) */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) table.pmx :is(th,td):not(#g#u#i#v#t#w){padding-inline-end:9px}
/* the permissions matrix's role names may take two lines, so the matrix keeps room to fit its card (and its header stays sticky) on any font */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) table.pmx thead th:not(#g#u#i#v#t#w){white-space:normal}

/* ============ round 2 (the approval page's notes) ============ */
/* a card whose chart fills the free height (GuFillH): the frame is a column and the box takes what is left */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .cv3-frame:has(.gu-fill):not(#g#u#i#v#t#w){display:flex;flex-direction:column}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .cv3-frame:has(.gu-fill) .cv3-body:not(#g#u#i#v#t#w){display:flex;flex-direction:column;flex:1 1 auto;min-height:0}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-fill:not(#g#u#i#v#t#w){position:relative;flex:1 1 0;min-height:var(--gu-fill-min,200px);overflow:hidden}
/* the Dashboard's right-now row with one card (the live card above holds the gauge's numbers) */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-dash-grid.gu-one:not(#g#u#i#v#t#w){grid-template-columns:minmax(0,1fr)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-dash-grid.gu-one>:last-child:nth-child(odd):not(#g#u#i#v#t#w){grid-column:auto}

/* a table that scrolls sideways keeps its first column (the name) in place: sticky at the start edge, on the card's colour,
   with a hairline at its end edge while the rest scrolls under it (P3Table and the older .tbl tables) */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3t-wrap,.tbl-wrap):not(.fits)>table>:is(thead,tbody,tfoot)>tr>:is(th,td):first-child:not(#g#u#i#v#t#w){position:sticky;top:auto;inset-inline-start:0;z-index:2;background:var(--p3t-bg,var(--gu-card));box-shadow:inset -1px 0 0 var(--gu-line)}
html.uf-gym-ui-v2.portal-v3:not([data-skin])[dir=rtl] :is(.p3t-wrap,.tbl-wrap):not(.fits)>table>:is(thead,tbody,tfoot)>tr>:is(th,td):first-child:not(#g#u#i#v#t#w){box-shadow:inset 1px 0 0 var(--gu-line)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3t-wrap,.tbl-wrap):not(.fits)>table>thead>tr>th:first-child:not(#g#u#i#v#t#w){z-index:4}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3t-wrap:not(.fits) .p3t-r:hover>td:first-child:not(#g#u#i#v#t#w){background:var(--gu-soft)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3t-wrap:not(.fits) .p3t-r.open>td:first-child:not(#g#u#i#v#t#w){background:var(--gu-sel);box-shadow:inset 3px 0 0 var(--gu-blue),inset -1px 0 0 var(--gu-line)}
/* names never wrap in a table: the person's name and its second line stay on one line each */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3t,.tbl) :is(.p3t-whot,.p3t-who b,.nm,.who,.p3sl-who):not(#g#u#i#v#t#w){white-space:nowrap}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3t,.tbl) td:first-child:not(#g#u#i#v#t#w){white-space:nowrap}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3t,.tbl) td:first-child :is(span,b,a,small,div):not(#g#u#i#v#t#w){white-space:nowrap;max-width:none}
/* a column's header sits where its cells sit: numbers, amounts and end-aligned columns at the end edge */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3t,.tbl) :is(th,td):is(.end,.num,.r,.amt,.right):not(#g#u#i#v#t#w){text-align:end}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) :is(.p3t,.tbl) th:is(.end,.num,.r,.amt,.right)>.p3t-sort:not(#g#u#i#v#t#w){margin-inline-start:auto;flex-direction:row-reverse}
/* Rows per page (the table's tools): the number in the tool button */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-per .gu-per-n:not(#g#u#i#v#t#w){display:inline-grid;place-items:center;min-width:24px;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
/* the unit histogram (GuDotHist): columns of dots on one baseline, the count over and the words under each */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-dh:not(#g#u#i#v#t#w){display:flex;align-items:stretch;gap:0;min-height:220px;padding-top:8px;border-bottom:1px solid var(--gu-base)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-dh-c:not(#g#u#i#v#t#w){display:flex;flex-direction:column;align-items:center;justify-content:flex-end;flex:1 1 0;min-width:0;gap:6px;padding:0 6px 0}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-dh-n:not(#g#u#i#v#t#w){font-size:13px;font-weight:600;color:var(--gu-ink);font-variant-numeric:tabular-nums}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-dh-dots:not(#g#u#i#v#t#w){display:grid;justify-content:center;align-content:end;direction:ltr;transform:scaleY(-1)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-dh-dots>i:not(#g#u#i#v#t#w){display:block;border-radius:50%;background:var(--gu-dh-c)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-dh-l:not(#g#u#i#v#t#w){order:3;margin-bottom:-26px;font-size:12px;color:var(--gu-mute);white-space:nowrap}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-dh:not(#g#u#i#v#t#w){margin-bottom:28px}
/* Classes: the chosen day's classes first, then the month calendar, both the page's full width */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-cls-grid:not(#g#u#i#v#t#w){flex-direction:column;flex-wrap:nowrap;align-items:stretch}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-cls-grid>.p3-cls-day:not(#g#u#i#v#t#w){order:-1;flex:0 0 auto;width:100%}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-cls-grid>.p3-cls-cal:not(#g#u#i#v#t#w){flex:0 0 auto;width:100%}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-cls-day .p3-cls-list:not(#g#u#i#v#t#w){display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:0 24px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-cls-day .p3-cls-list>*:not(#g#u#i#v#t#w){border-top:0;border-bottom:1px solid var(--gu-soft)}
/* progress in a table cell (GuTBar): a 8 px track with the blue fill, its words after it on one line */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-tbar:not(#g#u#i#v#t#w){display:inline-flex;align-items:center;gap:10px;min-width:220px;white-space:nowrap}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-tbar-t:not(#g#u#i#v#t#w){position:relative;flex:0 0 96px;height:8px;border-radius:999px;background:var(--gu-track);overflow:hidden}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-tbar-t>i:not(#g#u#i#v#t#w){position:absolute;inset-block:0;inset-inline-start:0;border-radius:999px;background:var(--gu-blue)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-tbar-w:not(#g#u#i#v#t#w){font-size:13px;color:var(--gu-ink)}
/* the desk's arrivals: always the full 6 by 2; a place not taken yet is a quiet dashed card */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-arr-empty:not(#g#u#i#v#t#w){border:1px dashed var(--gu-line);border-radius:12px;background:transparent;box-shadow:none}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-arr-empty .p3-arr-ph:not(#g#u#i#v#t#w){background:var(--gu-soft)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-arr-empty .p3-arr-c:not(#g#u#i#v#t#w){color:var(--gu-mute)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-arr-empty .p3-arr-ph:not(#g#u#i#v#t#w){display:grid;place-items:center}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-arr-empty .p3-arr-ph:not(#g#u#i#v#t#w)::after{content:'';width:28px;height:28px;border-radius:50%;border:2px dashed var(--gu-line)}
/* the page header's actions sit centred on the title block (title and subtitle), on every page */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-ph.gu-ph>.p3-ph-acts:not(#g#u#i#v#t#w){align-self:center}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-ph.gu-ph .p3-ph-end:not(#g#u#i#v#t#w){align-items:center}
/* Marketing: promotions and offer cards as coupons (GuCoupon) */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-cpns:not(#g#u#i#v#t#w){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:16px;margin:0 0 20px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-cpn:not(#g#u#i#v#t#w){position:relative;display:grid;grid-template-columns:112px minmax(0,1fr);min-height:148px;border:1px solid var(--gu-line);border-radius:16px;background:var(--gu-card);overflow:hidden}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-cpn-s:not(#g#u#i#v#t#w){position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:12px;background:linear-gradient(160deg,#3557F5,#5D7BFF);color:#fff}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-cpn-s:has(.p3-av,img,svg):not(#g#u#i#v#t#w){background:var(--gu-sel)}
/* the perforation: a dashed edge and two notches cut from the card */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-cpn-s:not(#g#u#i#v#t#w)::after{content:'';position:absolute;inset-block:10px;inset-inline-end:-1px;border-inline-end:2px dashed var(--gu-card)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-cpn:not(#g#u#i#v#t#w)::before,html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-cpn:not(#g#u#i#v#t#w)::after{content:'';position:absolute;inset-inline-start:101px;z-index:1;width:22px;height:22px;border-radius:50%;background:var(--gu-bg);border:1px solid var(--gu-line)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-cpn:not(#g#u#i#v#t#w)::before{top:-12px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-cpn:not(#g#u#i#v#t#w)::after{bottom:-12px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-cpn-v:not(#g#u#i#v#t#w){font-size:30px;line-height:1;font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums;white-space:nowrap}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-cpn-u:not(#g#u#i#v#t#w){font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;opacity:.9}
html.uf-gym-ui-v2.portal-v3:not([data-skin])[dir=rtl] .gu-cpn-u:not(#g#u#i#v#t#w){text-transform:none;letter-spacing:0}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-cpn-b:not(#g#u#i#v#t#w){display:flex;flex-direction:column;gap:6px;min-width:0;padding:16px 18px 14px 22px}
html.uf-gym-ui-v2.portal-v3:not([data-skin])[dir=rtl] .gu-cpn-b:not(#g#u#i#v#t#w){padding:16px 22px 14px 18px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-cpn-t:not(#g#u#i#v#t#w){margin:0;font-size:16px;line-height:22px;font-weight:600;color:var(--gu-ink)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-cpn-sub:not(#g#u#i#v#t#w){margin:0;font-size:13px;line-height:18px;color:var(--gu-mute);text-wrap:balance}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-cpn-m:not(#g#u#i#v#t#w){display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:13px;color:var(--gu-ink)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-cpn-code:not(#g#u#i#v#t#w){padding:3px 10px;border:1.5px dashed var(--gu-blue);border-radius:8px;color:var(--gu-blue);font-size:13px;font-weight:700;letter-spacing:.06em;white-space:nowrap}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-cpn-meter:not(#g#u#i#v#t#w){position:relative;height:6px;border-radius:999px;background:var(--gu-track);overflow:hidden}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-cpn-meter>i:not(#g#u#i#v#t#w){position:absolute;inset-block:0;inset-inline-start:0;border-radius:999px;background:var(--gu-blue)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-cpn-f:not(#g#u#i#v#t#w){display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:8px;border-top:1px solid var(--gu-soft);font-size:13px;color:var(--gu-mute)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-cpn-f:not(#g#u#i#v#t#w){flex-wrap:wrap;row-gap:4px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-cpn-f>.link:not(#g#u#i#v#t#w){white-space:nowrap;margin-inline-start:auto}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .gu-cpn-st:not(#g#u#i#v#t#w){text-wrap:balance}
/* Finance overview: "Where the money is" beside the hero spreads its places over the card's height (no empty half) */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3f-grid2>.p3f-where:not(#g#u#i#v#t#w){display:flex;flex-direction:column}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3f-where>.p3f-accs:not(#g#u#i#v#t#w){display:flex;flex-direction:column;justify-content:space-around;flex:1 1 auto;gap:8px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3f-where .p3f-acc:not(#g#u#i#v#t#w){padding-block:10px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3f-where .p3f-acc+.p3f-acc:not(#g#u#i#v#t#w){border-top:1px solid var(--gu-soft)}
/* Cash and bank (round 2): the methods card and the calendar of money in each take the full width; the calendar's weeks
   share the card's width as square cells (Cv3CalendarHeatmap's fit), so no week is cut off and the key sits under them */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3f-grid2.gu-cal1:not(#g#u#i#v#t#w){grid-template-columns:minmax(0,1fr)}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3f-cal-w:not(#g#u#i#v#t#w){overflow-x:auto;overflow-y:hidden}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .cv3-heat.cal.fit:not(#g#u#i#v#t#w){display:block}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .cv3-heat.cal.fit .cv3-heat-g:not(#g#u#i#v#t#w){width:100%;gap:3px;align-items:center}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .cv3-heat.cal.fit .cv3-heat-g>:is(i,b):not(#g#u#i#v#t#w){height:auto;aspect-ratio:1;border-radius:4px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .cv3-heat.cal.fit .cv3-heat-c.m:not(#g#u#i#v#t#w){min-width:0;align-self:end;padding-bottom:2px}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .cv3-heat.cal.fit .cv3-heat-f:not(#g#u#i#v#t#w){justify-content:flex-start}


/* round 2: a card header's button sits on the middle of its title and the line under it (Sales today at the desk, chart cards' headers) */
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .p3-ci-sh:not(#g#u#i#v#t#w){align-items:center}
html.uf-gym-ui-v2.portal-v3:not([data-skin]) .cv3-hd:not(#g#u#i#v#t#w){align-items:center}
