/* =====================================================================================================
   LUMEN — the Luminedge staff design system, live in the real app (v1 · 23 Sep 2026)
   ANik approved the direction (DECISIONS.md §84). Spec: outputs/portal-redesign-2026-09-23/design-system.md
   Build log: outputs/lumen-build-2026-09-23/log.md

   HOW IT IS SWITCHED ON. lumen.js puts `lumen` on <body> only while a STAFF shell is on screen (the staff
   top bar carries #tb-cmd; the student top bar never does) and takes it off the moment the exam player
   (#ex-page / #player) mounts. EVERY rule in this file is scoped under body.lumen (or a class only
   lumen.js creates), so: the student portal, the login screen and the exam player cannot be touched by
   it — they render with this file loaded exactly as they rendered without it (pixel-diffed, see log.md).
   Off switch: localStorage "lum-lx" = "0" (menu → Preferences → "Lumen design", or ?lx=0), or a tenant
   brand row with "lumen": false.

   RULES OF THIS FILE
   · Every Lumen token is prefixed --lx-. No token here reuses an app token name EXCEPT the deliberate
     remap block (§3), which re-points the app's own palette tokens (--txt, --mut, --bord, --glass…) at
     Lumen values for staff screens only — that is what re-themes 500 bespoke components at once.
   · --accent is never given a NEW value (it is an RGB triplet used 583×, and the user accent picker owns it).
     The one --accent line (§3, light sidebar) only puts back the app's own light value, 14,116,144, which
     styles.css's dark-chrome block had brightened. (v1.304 integration: wording corrected; harness/lumen.js S3.)
   · Payment logos (logo-bkash/-bracbank/-citybank/-nagad) are never filtered, resized or recoloured:
     no rule here targets <img> except the avatar-photo rounding (img:is(.stu-ava,.rv-av,.ret-av)), and
     no filter/blend/opacity is applied to any ancestor tile. Gate: harness/lumen.js S2 + B4.
   · Controls use FOUR heights: sm 28 · md 32 · lg 36 · xl 44 (phones: 32 · 40 · 44). Nothing else.
   ===================================================================================================== */

@font-face{ font-family:"Lx Inter"; src:url("fonts/lx-inter-var.woff2") format("woff2"); font-weight:100 900; font-style:normal; font-display:swap; }
@font-face{ font-family:"Lx Taka"; src:url("fonts/lx-taka.woff2") format("woff2"); font-weight:100 900; unicode-range:U+09F3; font-display:swap; }

/* ─────────────────────────────── 1 · TOKENS (dark = default, like the app) ─────────────────────────── */
body.lumen{
  --lx-font: "Lx Taka", "Lx Inter", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --lx-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --lx-feat: "cv11" 1, "ss03" 1, "cv05" 1;
  --lx-num: "tnum" 1, "cv11" 1, "ss03" 1;

  --lx-ctl-sm: 28px; --lx-ctl-md: 32px; --lx-ctl-lg: 36px; --lx-ctl-xl: 44px;
  --lx-px-sm: 10px; --lx-px-md: 12px; --lx-px-lg: 14px;
  --lx-fs-sm: 12.5px; --lx-fs-md: 13px; --lx-fs-lg: 14px;
  --lx-nav-h: 32px; --lx-row-h: 44px;
  --lx-r-xs: 4px; --lx-r-sm: 6px; --lx-r-ctl: 8px; --lx-r-card: 12px; --lx-r-panel: 14px;
  --lx-side-w: 240px; --lx-top-h: 52px; --lx-gap: 8px;

  --lx-ease-out: cubic-bezier(.23,1,.32,1); --lx-ease-drawer: cubic-bezier(.32,.72,0,1);
  --lx-d-press: 120ms; --lx-d-hover: 140ms; --lx-d-pop: 180ms; --lx-d-drawer: 280ms;

  --lx-chrome:#0a0c10; --lx-surface:#111419; --lx-surface-2:#161a20; --lx-surface-3:#1d222a; --lx-raised:#181c23;
  --lx-line: rgba(255,255,255,.075); --lx-line-2: rgba(255,255,255,.13);
  --lx-text:#eceef2; --lx-text-2:#a4abb8; --lx-text-3:#858d9b;
  --lx-accent: rgb(var(--accent)); --lx-accent-ink:#04151b; --lx-accent-text: rgb(var(--accent));
  --lx-accent-tint: rgba(var(--accent),.12); --lx-accent-ring: rgba(var(--accent),.45);
  --lx-spark:#face39;
  --lx-primary-bg:#eceef2; --lx-primary-fg:#0b0d11; --lx-primary-hover:#ffffff;
  --lx-ok:#34d399; --lx-ok-tint:rgba(52,211,153,.12); --lx-warn:#fbbf24; --lx-warn-tint:rgba(251,191,36,.12);
  --lx-bad:#fb7185; --lx-bad-tint:rgba(251,113,133,.12); --lx-info:#7dd3fc; --lx-info-tint:rgba(125,211,252,.12);
  --lx-viz-1:#1aa3ba; --lx-viz-2:#8f6fe6; --lx-viz-3:#bb8414; --lx-viz-4:#e0567a; --lx-viz-grid: rgba(255,255,255,.06);
  --lx-e0: 0 0 0 1px var(--lx-line);
  --lx-e1: 0 0 0 1px var(--lx-line), inset 0 1px 0 rgba(255,255,255,.035), 0 1px 2px rgba(0,0,0,.3);
  --lx-e2: 0 0 0 1px var(--lx-line-2), 0 4px 8px -4px rgba(0,0,0,.5), 0 16px 32px -8px rgba(0,0,0,.55);
  --lx-e3: 0 0 0 1px var(--lx-line-2), 0 8px 16px -4px rgba(0,0,0,.5), 0 32px 64px -12px rgba(0,0,0,.7);
  --lx-focus: 0 0 0 2px var(--lx-surface), 0 0 0 4px var(--lx-accent-ring);
  --lx-scrim: rgba(3,5,8,.55);
  --lx-aurora: radial-gradient(60% 120% at 0% 0%, rgba(var(--accent),.10), transparent 60%),
               radial-gradient(50% 120% at 100% 0%, rgba(167,139,250,.09), transparent 60%);
}
html[data-theme="light"] body.lumen{
  --lx-chrome:#f1f2f5; --lx-surface:#ffffff; --lx-surface-2:#f7f8fa; --lx-surface-3:#eef0f3; --lx-raised:#ffffff;
  --lx-line: rgba(15,23,42,.085); --lx-line-2: rgba(15,23,42,.15);
  --lx-text:#0d1117; --lx-text-2:#474f5c; --lx-text-3:#626a77;
  --lx-accent:#0e7490; --lx-accent-ink:#ffffff; --lx-accent-text:#0b6b7a;
  --lx-accent-tint: rgba(14,116,144,.08); --lx-accent-ring: rgba(14,116,144,.40);
  --lx-primary-bg:#0d1117; --lx-primary-fg:#ffffff; --lx-primary-hover:#262c36;
  --lx-ok:#067647; --lx-ok-tint:#ecfdf3; --lx-warn:#9a5b00; --lx-warn-tint:#fff7e6;
  --lx-bad:#b42318; --lx-bad-tint:#fef3f2; --lx-info:#1d4ed8; --lx-info-tint:#eff4ff;
  --lx-viz-1:#0891b2; --lx-viz-2:#7c5cd6; --lx-viz-3:#d4880b; --lx-viz-4:#d4456f; --lx-viz-grid: rgba(15,23,42,.06);
  --lx-e1: 0 0 0 1px var(--lx-line), 0 1px 2px rgba(16,24,40,.04);
  --lx-e2: 0 0 0 1px var(--lx-line), 0 4px 8px -4px rgba(16,24,40,.08), 0 16px 24px -8px rgba(16,24,40,.14);
  --lx-e3: 0 0 0 1px var(--lx-line), 0 8px 16px -4px rgba(16,24,40,.08), 0 32px 56px -12px rgba(16,24,40,.24);
  --lx-scrim: rgba(13,17,23,.28);
  --lx-aurora: radial-gradient(60% 140% at 0% 0%, rgba(34,211,238,.13), transparent 62%),
               radial-gradient(50% 140% at 100% 0%, rgba(167,139,250,.12), transparent 62%);
}
/* the user's accent (menu → Accent colour) flows into Lumen. Dark reads the bright triplet directly;
   light uses a deepened value per accent so accent-as-text stays ≥ 4.5:1 on white. */
html[data-theme="light"] body.lumen.acc-violet { --lx-accent:#6d28d9; --lx-accent-text:#6d28d9; --lx-accent-tint:rgba(109,40,217,.08); --lx-accent-ring:rgba(109,40,217,.40); }
html[data-theme="light"] body.lumen.acc-emerald{ --lx-accent:#047857; --lx-accent-text:#047857; --lx-accent-tint:rgba(4,120,87,.08);  --lx-accent-ring:rgba(4,120,87,.40); }
html[data-theme="light"] body.lumen.acc-amber  { --lx-accent:#b45309; --lx-accent-text:#9a4a07; --lx-accent-tint:rgba(180,83,9,.08);  --lx-accent-ring:rgba(180,83,9,.40); }
html[data-theme="light"] body.lumen.acc-rose   { --lx-accent:#be123c; --lx-accent-text:#be123c; --lx-accent-tint:rgba(190,18,60,.07); --lx-accent-ring:rgba(190,18,60,.40); }
html[data-theme="light"] body.lumen.acc-sky    { --lx-accent:#0369a1; --lx-accent-text:#0369a1; --lx-accent-tint:rgba(3,105,161,.08); --lx-accent-ring:rgba(3,105,161,.40); }

/* phones / touch: every control steps up one size — layout only ever reads the tokens */
@media (max-width:760px){ body.lumen{ --lx-ctl-sm:32px; --lx-ctl-md:40px; --lx-ctl-lg:44px; --lx-nav-h:44px; --lx-row-h:52px; --lx-fs-md:14px; --lx-fs-lg:15px; } }
body.lumen[data-lx-density="compact"]{ --lx-row-h:36px; }

/* ─────────────────────────────── 2 · BASE ────────────────────────────────────────────────────────── */
body.lumen{
  background: var(--lx-chrome) !important; background-image: none !important; color: var(--lx-text);
  font-family: var(--lx-font); font-size: 13px; line-height: 20px; font-feature-settings: var(--lx-feat);
  font-optical-sizing: auto; letter-spacing: -.006em;
}
body.lumen :focus-visible{ outline: none !important; box-shadow: var(--lx-focus) !important; }
body.lumen ::selection{ background: rgba(var(--accent),.22); }
body.lumen #app :is(td, .sf-kpi-v, .fin-pl b, .num, [style*="text-align:right"]){ font-feature-settings: var(--lx-num); }

/* ─────────────────────────────── 3 · APP-TOKEN REMAP (staff screens only) ────────────────────────────
   The app's bespoke components paint from --txt/--mut/--bord/--glass… Re-pointing those at Lumen values
   re-themes every staff view coherently without touching its markup. Dialogs (.overlay, appended to
   <body>) inherit the same values. */
body.lumen{
  --txt: var(--lx-text); --fg: var(--lx-text); --mut: var(--lx-text-2); --muted: var(--lx-text-2); --faint: var(--lx-text-3);
  --bord: var(--lx-line-2); --bord2: var(--lx-line-2);
  --glass: var(--lx-surface); --card: var(--lx-surface); --glass2: var(--lx-surface-3);
  --topbar: var(--lx-surface); --menu: var(--lx-raised); --side: transparent;
  --bg0: var(--lx-chrome); --bg1: var(--lx-chrome); --bg: var(--lx-chrome);
  --shadow: var(--lx-e2); --glow: none;
  --r: var(--lx-r-card); --r2: var(--lx-r-ctl);
  --font-ui: var(--lx-font); --font-display: var(--lx-font);
  --mut-2: var(--lx-text-3); --mut-3: var(--lx-text-3); --mut-4: var(--lx-text-3); --mut-5: var(--lx-text-3); --mut-6: var(--lx-text-2); --mut-7: var(--lx-text-2);
  --mut-9: var(--lx-text-3); --mut-10: var(--lx-text-2);
  --topbar-h: 60px;   /* 8px inset + 52px top bar: the app offsets its own sticky heads by this */
}
@media (max-width:760px){ body.lumen{ --topbar-h: 56px; } }
/* the app re-pins deliberately-dark chrome (.fin-side, .sf-side…) in light mode; Lumen's chrome is not dark */
html[data-theme="light"] body.lumen #app :is(.fin-side, .fin-side-brand, .fin-side-logo){
  --txt: var(--lx-text); --mut: var(--lx-text-2); --bord: var(--lx-line-2); --glass: var(--lx-surface); --glass2: var(--lx-surface-3);
  --accent: 14,116,144; --accent2: 109,40,217;
}

/* ─────────────────────────────── 4 · SHELL (desktop ≥ 761px) ─────────────────────────────────────────
   Inverted L: the sidebar and the page sit on --lx-chrome; the content is ONE raised panel (radius 14,
   inset 8) with a 52px translucent top bar inside it. The window still scrolls (renderAdmin's
   scrollTo(0,0), sticky table heads and every harness keep working); only the chrome is fixed. */
@media (min-width:761px){
  body.lumen.lx-sh[data-lx-side="collapsed"]{ --lx-side-w: 64px; }
  body.lumen.lx-sh::before{ content:""; position:fixed; z-index:39; top:0; left:var(--lx-side-w); right:0; height:var(--lx-gap); background:var(--lx-chrome); pointer-events:none; }
  body.lumen.lx-sh #app > .topbar{
    position:fixed !important; z-index:40; top:var(--lx-gap); left:var(--lx-side-w); right:var(--lx-gap); height:var(--lx-top-h); min-height:0;
    padding:0 10px 0 16px !important; margin:0; gap:8px; border:0 !important; border-radius:var(--lx-r-panel) var(--lx-r-panel) 0 0;
    background: color-mix(in srgb, var(--lx-surface) 84%, transparent) !important;
    -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
    box-shadow: 0 0 0 1px var(--lx-line) !important;
    transition: left var(--lx-d-drawer) var(--lx-ease-drawer);
  }
  /* the two inverse corners above the panel's rounded top — chrome, so scrolled content never peeks out */
  body.lumen.lx-sh #app > .topbar::before, body.lumen.lx-sh #app > .topbar::after{
    content:""; display:block; position:absolute; top:-1px; width:16px; height:16px; pointer-events:none; border:0; background-color:transparent; left:auto; right:auto; bottom:auto; }
  body.lumen.lx-sh #app > .topbar::before{ left:-1px;  background-image: radial-gradient(circle at 100% 100%, transparent 15px, var(--lx-chrome) 15.5px); }
  body.lumen.lx-sh #app > .topbar::after { right:-1px; background-image: radial-gradient(circle at 0 100%,   transparent 15px, var(--lx-chrome) 15.5px); }

  body.lumen.lx-sh #app > .fin-shell{ display:block !important; min-height:100vh; padding: var(--lx-gap) var(--lx-gap) var(--lx-gap) var(--lx-side-w); background:transparent;
    transition: padding-left var(--lx-d-drawer) var(--lx-ease-drawer); }
  body.lumen.lx-sh #app > .fin-shell > .sf-main{
    position:relative; min-height: calc(100vh - 2 * var(--lx-gap)); padding-top: var(--lx-top-h) !important; margin:0 !important;
    background: var(--lx-surface) !important; border-radius: var(--lx-r-panel); box-shadow: var(--lx-e1); border:0; overflow: clip; }
  body.lumen.lx-sh #app > .fin-shell > .sf-main > .sf-wrap{ position:relative; z-index:1; width:100%; box-sizing:border-box; padding: 28px 32px 72px !important; max-width: 1480px !important; margin: 0 auto !important; gap: 20px; }
  /* aurora + dot grid held to the header band (the student portal's glow, one quiet echo of it) */
  body.lumen.lx-sh #app > .fin-shell > .sf-main::before{ content:""; position:absolute; z-index:0; inset:0 0 auto 0; height:280px; pointer-events:none;
    background: radial-gradient(circle at 1px 1px, var(--lx-line-2) 1px, transparent 1.2px) 0 0/22px 22px, var(--lx-aurora);
    -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); opacity:.9; }

  /* sidebar */
  body.lumen.lx-sh #app .fin-side{
    position:fixed !important; z-index:30; top:0; left:0; bottom:0; width:var(--lx-side-w) !important; height:auto !important; max-height:none;
    padding: 60px 8px 16px !important; margin:0; background: transparent !important; border:0 !important; box-shadow:none !important;
    -webkit-backdrop-filter:none !important; backdrop-filter:none !important; overflow-y:auto; overflow-x:hidden; overscroll-behavior:contain;
    scrollbar-width: thin; scrollbar-color: var(--lx-line-2) transparent; display:block !important; transition: width var(--lx-d-drawer) var(--lx-ease-drawer); }
  /* the tenant's own logo (it lives in the top bar's DOM; brandwalk.js reads it there) sits at the top of the sidebar */
  body.lumen.lx-sh #app > .topbar .brand-block{ position:absolute; top:4px; left: calc(14px - var(--lx-side-w)); height:44px; margin:0; padding:0 4px; border-radius:var(--lx-r-ctl);
    flex-direction:row !important; align-items:center; gap:8px; filter:none !important; transition: left var(--lx-d-drawer) var(--lx-ease-drawer); }
  body.lumen.lx-sh #app > .topbar .brand-block:hover{ background: var(--lx-surface-3); }
  body.lumen.lx-sh[data-lx-side="collapsed"] #app > .topbar .brand-block{ left: calc(12px - var(--lx-side-w)); width:40px; overflow:hidden; justify-content:center; }
  body.lumen.lx-sh[data-lx-side="collapsed"] #app > .topbar .brand-block .lum-logo:not(.lum-text){ width:22px; }
  body.lumen.lx-sh[data-lx-side="collapsed"] #app > .topbar .brand-block .lum-logo.lum-text .lum-wordmark{ font-size:0 !important; }
  body.lumen.lx-sh[data-lx-side="collapsed"] #app > .topbar .brand-block .lum-logo.lum-text .lum-wordmark::first-letter{ font-size:18px; }
  body.lumen.lx-sh[data-lx-side="collapsed"] #app > .topbar .build-tag{ display:none; }
}
body.lumen #app > .topbar .build-tag{ font: 500 10.5px/1 var(--lx-mono) !important; color: var(--lx-text-3) !important; background: transparent !important; border:0 !important; padding:0 !important; margin:0 !important; box-shadow:none !important; letter-spacing:0; }

/* sidebar contents (all widths) */
body.lumen #app .fin-side :is(.fin-side-brand, .fin-side-logo){
  display:flex; align-items:baseline; gap:6px; padding: 4px 10px 10px !important; margin:0; font: 500 12px/16px var(--lx-font) !important; color: var(--lx-text-3) !important; letter-spacing:0 !important; white-space:nowrap; }
body.lumen #app .fin-side :is(.fin-side-brand, .fin-side-logo) b{ font: 600 12px/16px var(--lx-font) !important; background:none !important; -webkit-text-fill-color: currentColor !important; color: var(--lx-text) !important; }
body.lumen #app .fin-side .fin-sgroup{ font: 500 11.5px/16px var(--lx-font) !important; letter-spacing:0 !important; text-transform:none !important; color: var(--lx-text-3) !important; padding: 14px 10px 6px !important; margin:0 !important; opacity:1; }
body.lumen #app .fin-side :is(.fin-sitem, .adm-sechead){
  display:flex !important; align-items:center; gap:10px; width:100%; min-height:var(--lx-nav-h); height:auto; padding: 6px 10px !important; margin:0 0 1px !important;
  border:0 !important; border-radius: var(--lx-r-ctl) !important; background: transparent !important; box-shadow:none !important; color: var(--lx-text-2) !important;
  font: 500 13px/18px var(--lx-font) !important; letter-spacing:-.005em !important; text-align:left; transform:none !important;
  transition: background-color var(--lx-d-hover) ease, color var(--lx-d-hover) ease; }
body.lumen #app .fin-side :is(.fin-sitem, .adm-sechead) > span:not(.fin-sitem-ic):not(.adm-caret):not(.th-side-n){ flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body.lumen #app .fin-side .fin-sitem-ic{ width:18px; height:18px; flex:none; display:inline-grid; place-items:center; color: var(--lx-text-3); font-size:14px; line-height:1; background:none !important; box-shadow:none !important; margin:0 !important; }
body.lumen #app .fin-side .fin-sitem-ic svg{ width:16px !important; height:16px !important; color: inherit; filter:none !important; }
body.lumen #app .fin-side :is(.fin-sitem, .adm-sechead):hover{ background: var(--lx-surface-3) !important; color: var(--lx-text) !important; }
body.lumen #app .fin-side :is(.fin-sitem, .adm-sechead):hover .fin-sitem-ic{ color: var(--lx-text-2); }
body.lumen #app .fin-side :is(.fin-sitem.on, .adm-sechead.cur){ background: var(--lx-surface) !important; color: var(--lx-text) !important; box-shadow: var(--lx-e1) !important; font-weight:550 !important; }
body.lumen #app .fin-side :is(.fin-sitem.on, .adm-sechead.cur) .fin-sitem-ic{ color: var(--lx-accent); }
body.lumen #app .fin-side .fin-sitem::before, body.lumen #app .fin-side .fin-sitem::after{ display:none !important; }
/* counts in the sidebar: 18px tabular pills, yellow "hot" when they need action */
body.lumen #app .fin-side :is(.th-side-n, .nb-st){ margin-left:auto; display:inline-grid; place-items:center; min-width:18px; height:18px; padding:0 5px; border-radius:9px; border:0 !important;
  font: 600 11px/1 var(--lx-font) !important; font-feature-settings: var(--lx-num); background: var(--lx-surface-3) !important; color: var(--lx-text-2) !important; box-shadow:none !important; }
body.lumen #app .fin-side :is(.nb-st.bad, .th-side-n){ background: var(--lx-spark) !important; color:#0d1117 !important; }
body.lumen #app .fin-side .sf-soon{ font-size:10px; filter: grayscale(1); opacity:.6; }
/* admin accordion */
body.lumen #app .fin-side .adm-sec{ margin:0 0 1px; border:0 !important; background:none !important; box-shadow:none !important; padding:0 !important; }
body.lumen #app .fin-side .adm-caret{ margin-left:auto; font-size:0 !important; width:16px; height:16px; flex:none; opacity:.7; transition: transform var(--lx-d-hover) ease;
  background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/14px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/14px no-repeat; }
body.lumen #app .fin-side .adm-sec:not(.open) .adm-caret{ transform: rotate(-90deg); }
body.lumen #app .fin-side .adm-sec.open > .adm-secbody{ padding: 2px 0 6px 14px !important; margin:0 0 0 18px !important; border:0 !important; box-shadow: inset 1px 0 0 var(--lx-line-2); background:none !important; }
body.lumen #app .fin-side .adm-secbody .fin-sitem{ min-height:28px; height:28px; padding: 0 10px !important; }
body.lumen #app .fin-side .adm-secbody .fin-sitem-ic{ display:none; }

/* collapsed rail (desktop): `[` or the top-bar button; auto under 1180px */
@media (min-width:761px){
  body.lumen.lx-sh[data-lx-side="collapsed"] #app .fin-side{ padding-left:10px !important; padding-right:10px !important; }
  body.lumen.lx-sh[data-lx-side="collapsed"] #app .fin-side :is(.fin-side-brand, .fin-side-logo){ display:none !important; }
  body.lumen.lx-sh[data-lx-side="collapsed"] #app .fin-side .fin-sgroup{ height:13px; padding:6px 0 !important; overflow:hidden; color:transparent !important; }
  body.lumen.lx-sh[data-lx-side="collapsed"] #app .fin-side .fin-sgroup::after{ content:""; display:block; height:1px; background: var(--lx-line); margin: 0 10px; }
  body.lumen.lx-sh[data-lx-side="collapsed"] #app .fin-side :is(.fin-sitem, .adm-sechead){ justify-content:center; padding: 0 !important; height:36px; position:relative; }
  body.lumen.lx-sh[data-lx-side="collapsed"] #app .fin-side :is(.fin-sitem, .adm-sechead) > span:not(.fin-sitem-ic){ display:none !important; }
  body.lumen.lx-sh[data-lx-side="collapsed"] #app .fin-side :is(.fin-sitem, .adm-sechead) > :is(.th-side-n, .nb-st){ display:grid !important; position:absolute; top:2px; right:2px; min-width:14px; height:14px; font-size:9.5px !important; padding:0 3px; }
  body.lumen.lx-sh[data-lx-side="collapsed"] #app .fin-side .adm-sec.open > .adm-secbody{ margin:0 !important; padding:0 !important; box-shadow:none; }
  body.lumen.lx-sh[data-lx-side="collapsed"] #app .fin-side .adm-secbody .fin-sitem{ height:28px; }
  body.lumen.lx-sh[data-lx-side="collapsed"] #app .fin-side .adm-secbody .fin-sitem-ic{ display:inline-grid; }
}

/* ─────────────────────────────── 5 · TOP BAR (inside the panel) ───────────────────────────────────── */
body.lumen #app > .topbar{ font-family: var(--lx-font); }
body.lumen #app > .topbar .spacer{ flex:1; }
body.lumen #app > .topbar .top-left{ display:flex; align-items:center; gap:8px; margin:0; padding:0; flex-wrap:nowrap; }
body.lumen #app > .topbar :is(.tb-search, .tb-icon, .tb-newlead, .tr-name, .tr-badge, .lx-tb-btn){ height:var(--lx-ctl-md) !important; min-height:var(--lx-ctl-md) !important; margin:0 !important; }
body.lumen #app > .topbar .tb-search{ display:inline-flex; align-items:center; gap:8px; width:260px; padding:0 6px 0 10px !important; border:0 !important; border-radius:var(--lx-r-ctl) !important;
  background: var(--lx-surface-2) !important; color: var(--lx-text-3) !important; box-shadow: inset 0 0 0 1px var(--lx-line) !important; font: 450 13px/1 var(--lx-font) !important; transition: box-shadow var(--lx-d-hover) ease, background-color var(--lx-d-hover) ease; }
body.lumen #app > .topbar .tb-search:hover{ background: var(--lx-surface) !important; box-shadow: inset 0 0 0 1px var(--lx-line-2) !important; }
body.lumen #app > .topbar .tb-search svg{ width:15px !important; height:15px !important; flex:none; }
body.lumen #app > .topbar .tb-search span{ flex:1; text-align:left; }
body.lumen #app > .topbar .tb-search kbd{ display:inline-grid; place-items:center; height:20px; min-width:20px; padding:0 5px; border-radius:5px; border:0 !important; font: 500 11px/1 var(--lx-font) !important;
  color: var(--lx-text-3) !important; background: var(--lx-surface) !important; box-shadow: inset 0 0 0 1px var(--lx-line), inset 0 -1px 0 var(--lx-line) !important; }
body.lumen #app > .topbar .tb-icon{ width:var(--lx-ctl-md) !important; padding:0 !important; display:inline-grid; place-items:center; position:relative; border:0 !important; border-radius:var(--lx-r-ctl) !important;
  background: transparent !important; color: var(--lx-text-2) !important; box-shadow:none !important; }
body.lumen #app > .topbar .tb-icon:hover{ background: var(--lx-surface-3) !important; color: var(--lx-text) !important; }
body.lumen #app > .topbar .tb-icon svg{ width:17px !important; height:17px !important; }
body.lumen #app > .topbar .tb-badge{ position:absolute; top:3px !important; right:2px !important; min-width:16px; height:16px; padding:0 4px; border-radius:8px; font: 600 10px/16px var(--lx-font) !important;
  background: var(--lx-bad) !important; color:#fff !important; box-shadow: 0 0 0 2px var(--lx-surface) !important; border:0 !important; }
body.lumen #app > .topbar .tb-badge:empty{ display:none !important; }
/* v1.324 code review new-issue (layout) — a 3-character count ("99+") grew LEFTWARDS from right:2px and covered the bell; anchor the
   badge's left edge just right of the bell's centre so a longer count grows outwards and the bell stays visible */
body.lumen #app > .topbar .tb-badge{ left:calc(50% + 1px) !important; right:auto !important; }
body.lumen #app > .topbar .tb-newlead{ display:inline-flex; align-items:center; gap:6px; padding:0 var(--lx-px-md) !important; border:0 !important; border-radius:var(--lx-r-ctl) !important;
  background: var(--lx-surface) !important; color: var(--lx-text) !important; box-shadow: var(--lx-e1) !important; font: 500 13px/1 var(--lx-font) !important; letter-spacing:-.005em !important; transform:none !important; filter:none !important; }
body.lumen #app > .topbar .tb-newlead:hover{ background: var(--lx-surface-2) !important; }
body.lumen #app > .topbar .tr-badge{ display:inline-flex; align-items:center; padding:0 10px !important; border-radius:var(--lx-r-ctl) !important; font: 500 12.5px/1 var(--lx-font) !important; }
/* the account chip → one 32px control: 24px avatar + name */
body.lumen #app > .topbar .tr-name{ display:inline-flex !important; align-items:center; gap:8px !important; padding:0 8px 0 4px !important; border:0 !important; border-radius:var(--lx-r-ctl) !important;
  background:transparent !important; box-shadow:none !important; color: var(--lx-text) !important; max-width:240px; }
body.lumen #app > .topbar .tr-name:hover{ background: var(--lx-surface-3) !important; }
body.lumen #app > .topbar .tr-name .avatar{ width:24px !important; height:24px !important; border-radius:50% !important; font: 600 10px/24px var(--lx-font) !important; flex:none; box-shadow: inset 0 0 0 1px var(--lx-line) !important;
  display:inline-grid; place-items:center; background: #a5f3fc !important; color:#0d1117 !important; letter-spacing:0; object-fit:cover; }
body.lumen #app > .topbar .tr-name .who-col{ display:flex !important; flex-direction:column; gap:0 !important; line-height:1 !important; min-width:0; }
body.lumen #app > .topbar .tr-name .tr-uname{ font: 600 12.5px/15px var(--lx-font) !important; letter-spacing:-.005em !important; color: var(--lx-text) !important; max-width:150px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body.lumen #app > .topbar .tr-name .tr-badges{ display:flex; gap:4px; }
body.lumen #app > .topbar .tr-name .tr-badges .tr-badge{ height:auto !important; min-height:0 !important; padding:0 !important; background:none !important; border:0 !important; box-shadow:none !important;
  font: 450 11px/13px var(--lx-font) !important; letter-spacing:0 !important; text-transform:none !important; color: var(--lx-text-3) !important; }
body.lumen #app > .topbar .tr-name .caret{ color: var(--lx-text-3); font-size:10px; }
/* breadcrumb + collapse button that lumen.js adds to the top bar */
body.lumen .lx-crumb{ display:flex; align-items:center; gap:6px; min-width:0; font: 500 13px/1 var(--lx-font); color: var(--lx-text-3); white-space:nowrap; }
body.lumen .lx-crumb b{ color: var(--lx-text); font-weight:600; overflow:hidden; text-overflow:ellipsis; }
body.lumen .lx-crumb svg{ width:14px; height:14px; opacity:.7; flex:none; }
body.lumen .lx-tb-btn{ width:var(--lx-ctl-md); height:var(--lx-ctl-md); display:inline-grid; place-items:center; padding:0; border:0; border-radius:var(--lx-r-ctl); background:transparent; color: var(--lx-text-2); cursor:pointer;
  transition: background-color var(--lx-d-hover) ease, color var(--lx-d-hover) ease, transform var(--lx-d-press) var(--lx-ease-out); flex:none; }
body.lumen .lx-tb-btn:hover{ background: var(--lx-surface-3); color: var(--lx-text); }
body.lumen .lx-tb-btn:active{ transform: scale(.94); }
body.lumen .lx-tb-btn svg{ width:17px; height:17px; }
body:not(.lumen) :is(.lx-crumb, .lx-tb-btn, .lx-tabbar, .lx-ph-ico, .lx-deco, .lx-sheet-scrim){ display:none !important; }
@media (max-width:760px){ body.lumen .lx-crumb, body.lumen .lx-tb-btn.lx-collapse{ display:none; } }
@media (min-width:761px){ body.lumen .lx-tb-btn.lx-menu{ display:none; } }

/* user menu + notifications panel = raised popovers */
body.lumen #user-menu.user-menu, body.lumen .user-menu{ background: var(--lx-raised) !important; border:0 !important; border-radius: 12px !important; box-shadow: var(--lx-e3) !important;
  -webkit-backdrop-filter:none !important; backdrop-filter:none !important; color: var(--lx-text); padding:6px !important; }
body.lumen .user-menu .um-item{ min-height:32px; border-radius:8px !important; font: 500 13px/18px var(--lx-font) !important; color: var(--lx-text-2) !important; }
body.lumen .user-menu .um-item:hover:not([disabled]){ background: var(--lx-surface-3) !important; color: var(--lx-text) !important; }
body.lumen .user-menu .um-item:hover:not([disabled]) svg{ color: var(--lx-accent) !important; }
body.lumen .user-menu .um-sec{ font: 500 11.5px/16px var(--lx-font) !important; text-transform:none !important; letter-spacing:0 !important; color: var(--lx-text-3) !important; }
body.lumen .user-menu .um-head{ border-color: var(--lx-line) !important; }
body.lumen .user-menu .um-ava{ border-radius:50% !important; }
body.lumen .user-menu .um-group{ border-color: var(--lx-line) !important; }
body.lumen .lx-um-lumen .lx-switch{ margin-left:auto; }

/* ─────────────────────────────── 6 · PAGE HEADERS ─────────────────────────────────────────────────── */
body.lumen #app :is(.sf-wrap, .wrap) .h1{
  font: 650 22px/28px var(--lx-font) !important; letter-spacing:-.022em !important; color: var(--lx-text) !important; margin: 0 0 4px !important;
  display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
body.lumen #app :is(.sf-wrap, .wrap) .h1 .grad, body.lumen #app :is(.sf-wrap, .wrap) .grad{ background:none !important; -webkit-background-clip:border-box !important; background-clip:border-box !important;
  -webkit-text-fill-color: currentColor !important; color: inherit !important; }
body.lumen .lx-emo{ display:none !important; }
body.lumen .lx-ph-ico{ width:32px; height:32px; flex:none; display:inline-grid; place-items:center; border-radius:9px; color: var(--lx-accent);
  background: var(--lx-surface); box-shadow: var(--lx-e1), inset 0 -8px 16px -12px rgba(var(--accent),.35); }
body.lumen .lx-ph-ico svg{ width:17px; height:17px; }
body.lumen #app :is(.sf-wrap, .wrap) > .sub, body.lumen #app :is(.sf-wrap, .wrap) .h1 + .sub{ font: 450 14px/22px var(--lx-font) !important; color: var(--lx-text-2) !important; margin: 0 0 8px !important; }
body.lumen #app :is(.sf-wrap, .wrap) .h1 small{ font: 450 13px/18px var(--lx-font); color: var(--lx-text-3); }
body.lumen #app :is(h2, h3, .section-h){ font-family: var(--lx-font) !important; letter-spacing:-.012em; }

/* ─────────────────────────────── 7 · CONTROLS — the size system ─────────────────────────────────────
   .btn → md 32 · .btn.small → sm 28 · dialog buttons → lg 36 · inputs/selects in a page toolbar → md 32
   · inputs inside a table/card row → sm 28 · segmented/tab/chip rows → sm 28 (their inner buttons fill). */
body.lumen :is(#app, .overlay, .lx-scope) .btn{
  display:inline-flex !important; align-items:center; justify-content:center; gap:6px; height:var(--lx-ctl-md) !important; min-height:var(--lx-ctl-md) !important; max-height:none;
  padding: 0 var(--lx-px-md) !important; border:0 !important; border-radius: var(--lx-r-ctl) !important; background: var(--lx-surface) !important; background-image:none !important;
  color: var(--lx-text) !important; box-shadow: var(--lx-e1) !important; font: 500 var(--lx-fs-md)/1 var(--lx-font) !important; letter-spacing:-.005em !important; text-transform:none !important;
  white-space:nowrap; text-decoration:none; transform:none; filter:none !important; opacity:1; cursor:pointer; vertical-align:middle; line-height:1 !important;
  transition: background-color var(--lx-d-hover) ease, box-shadow var(--lx-d-hover) ease, color var(--lx-d-hover) ease, transform var(--lx-d-press) var(--lx-ease-out) !important; }
body.lumen :is(#app, .overlay, .lx-scope) .btn:hover{ background: var(--lx-surface-2) !important; transform:none !important; }
body.lumen :is(#app, .overlay, .lx-scope) .btn:active{ transform: scale(.97) !important; }
body.lumen :is(#app, .overlay, .lx-scope) .btn:disabled, body.lumen :is(#app, .overlay) .btn[disabled]{ opacity:.45 !important; cursor:not-allowed; transform:none !important; }
body.lumen :is(#app, .overlay, .lx-scope) .btn.small{ height:var(--lx-ctl-sm) !important; min-height:var(--lx-ctl-sm) !important; min-width:0 !important; padding:0 var(--lx-px-sm) !important; font-size:var(--lx-fs-sm) !important; }
body.lumen :is(#app, .overlay, .lx-scope) .btn.primary{ background: var(--lx-primary-bg) !important; color: var(--lx-primary-fg) !important;
  box-shadow: 0 0 0 1px var(--lx-primary-bg), inset 0 1px 0 rgba(255,255,255,.12), 0 1px 2px rgba(0,0,0,.18) !important; }
body.lumen :is(#app, .overlay, .lx-scope) .btn.primary:hover{ background: var(--lx-primary-hover) !important; }
body.lumen :is(#app, .overlay, .lx-scope) .btn:is(.ghost, .ghost-b){ background: transparent !important; box-shadow: inset 0 0 0 1px var(--lx-line) !important; color: var(--lx-text-2) !important; }
body.lumen :is(#app, .overlay, .lx-scope) .btn:is(.ghost, .ghost-b):hover{ background: var(--lx-surface-3) !important; color: var(--lx-text) !important; }
body.lumen :is(#app, .overlay, .lx-scope) .btn:is(.danger, .danger-line, .bad){ background: var(--lx-surface) !important; color: var(--lx-bad) !important; box-shadow: 0 0 0 1px color-mix(in srgb, var(--lx-bad) 32%, transparent) !important; }
body.lumen :is(#app, .overlay, .lx-scope) .btn:is(.danger, .danger-line, .bad):hover{ background: var(--lx-bad-tint) !important; }
body.lumen :is(#app, .overlay, .lx-scope) .btn :is(svg, .lu){ width:15px; height:15px; flex:none; }
body.lumen :is(#app, .overlay) a.btn{ text-decoration:none !important; }
body.lumen :is(#app, .overlay) label.btn{ cursor:pointer; }

/* inputs + selects: page-level = md 32; textareas keep their height but get the same skin */
body.lumen :is(#app, .overlay) :is(input:is(:not([type]), [type="text"], [type="search"], [type="email"], [type="tel"], [type="number"], [type="date"], [type="month"], [type="time"], [type="datetime-local"], [type="password"], [type="url"]), select){
  height: var(--lx-ctl-md) !important; min-height: var(--lx-ctl-md) !important; padding-top:0 !important; padding-bottom:0 !important; padding-left: var(--lx-px-md) !important;
  border:0 !important; border-radius: var(--lx-r-ctl) !important; background-color: var(--lx-surface) !important; color: var(--lx-text) !important; box-shadow: var(--lx-e1) !important;
  font: 450 var(--lx-fs-md)/normal var(--lx-font) !important; letter-spacing:-.005em; outline:none !important; transition: box-shadow var(--lx-d-hover) ease !important; }
body.lumen :is(#app, .overlay) input:is(:not([type]), [type="text"], [type="search"], [type="email"], [type="tel"], [type="number"], [type="password"], [type="url"]){ padding-right: var(--lx-px-md) !important; }
/* 10 Nov 2026 show password: a box with the eye toggle keeps its typed text clear of the button (the toggle is 36 px, 44 on a phone, 6 px from the edge) */
body.lumen :is(#app, .overlay) .pw-field input:is([type="password"], [type="text"]){ padding-right: 52px !important; }
body.lumen :is(#app, .overlay) select{ -webkit-appearance:none; appearance:none; padding-right: 30px !important; cursor:pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23858d9b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 6.5 3.5 3.5 3.5-3.5'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat !important; background-position: right 8px center !important; background-size:16px !important; }
body.lumen :is(#app, .overlay) select option{ background: var(--lx-raised); color: var(--lx-text); }
body.lumen :is(#app, .overlay) textarea{ border:0 !important; border-radius: var(--lx-r-ctl) !important; background: var(--lx-surface) !important; color: var(--lx-text) !important; box-shadow: var(--lx-e1) !important;
  font: 450 13.5px/20px var(--lx-font) !important; padding: 9px 12px !important; outline:none !important; }
body.lumen :is(#app, .overlay) :is(input, select, textarea):hover:not(:focus):not([type="checkbox"]):not([type="radio"]):not([type="range"]){ box-shadow: 0 0 0 1px var(--lx-line-2) !important; }
body.lumen :is(#app, .overlay) :is(input, select, textarea):focus:not([type="checkbox"]):not([type="radio"]):not([type="range"]){ box-shadow: 0 0 0 1px var(--lx-accent), 0 0 0 4px var(--lx-accent-tint) !important; }
body.lumen :is(#app, .overlay) :is(input, textarea)::placeholder{ color: var(--lx-text-3) !important; opacity:1; }
body.lumen :is(#app, .overlay) input[type="checkbox"], body.lumen :is(#app, .overlay) input[type="radio"]{ accent-color: var(--lx-accent); }
/* in-row inputs (tables, list rows, key grids) step down to sm 28 */
body.lumen #app :is(td, th, .fin-pl, .lx-row) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="color"]), select){ height: var(--lx-ctl-sm) !important; min-height: var(--lx-ctl-sm) !important;
  padding-left: 8px !important; font-size: var(--lx-fs-sm) !important; }
body.lumen #app :is(td, th, .fin-pl) input:is([type="number"], :not([type])){ padding-right: 6px !important; }
body.lumen #app :is(td, th, .fin-pl) select{ padding-right: 26px !important; background-position: right 6px center !important; }
/* dialogs: forms = lg 36 */
body.lumen .overlay .panel :is(input:is(:not([type]), [type="text"], [type="search"], [type="email"], [type="tel"], [type="number"], [type="date"], [type="month"], [type="time"], [type="datetime-local"], [type="password"], [type="url"]), select){ height: var(--lx-ctl-lg) !important; min-height: var(--lx-ctl-lg) !important; font-size: var(--lx-fs-lg) !important; }
body.lumen .overlay .panel .btn:not(.small){ height: var(--lx-ctl-lg) !important; min-height: var(--lx-ctl-lg) !important; padding: 0 var(--lx-px-lg) !important; font-size: var(--lx-fs-lg) !important; }
body.lumen .overlay .panel td :is(input, select){ height: var(--lx-ctl-sm) !important; min-height: var(--lx-ctl-sm) !important; font-size: var(--lx-fs-sm) !important; }

/* segmented controls / tab rows / filter chips → sm 28, sentence case, pressed = raised or accent tint */
body.lumen #app :is(.fin-tg, .lz-seg, .seg-b, .mkt-mtab, .mkt-vtab, .msgr-phase-b, .hr-subtab, .cx-subtab, .pv-tab, .mb-tab, .mb-vt, .gpa-tab, .mb-fchip, .cx-chip, .bb-chip, .fx-scen-b, .tq-toggle button, .th-seg button, .sf-seg button, .em-tab, .cf-tab, .rv-tab, .lx-chip){
  height: var(--lx-ctl-sm) !important; min-height: var(--lx-ctl-sm) !important; padding: 0 var(--lx-px-sm) !important; display:inline-flex !important; align-items:center; gap:6px;
  border:0 !important; border-radius: var(--lx-r-ctl) !important; background: transparent !important; background-image:none !important; color: var(--lx-text-2) !important;
  box-shadow: inset 0 0 0 1px var(--lx-line-2) !important; font: 500 var(--lx-fs-sm)/1 var(--lx-font) !important; letter-spacing:-.005em !important; text-transform:none !important; white-space:nowrap;
  transform:none !important; filter:none !important; cursor:pointer; transition: background-color var(--lx-d-hover) ease, color var(--lx-d-hover) ease, box-shadow var(--lx-d-hover) ease !important; }
body.lumen #app :is(.fin-tg, .lz-seg, .seg-b, .mkt-mtab, .mkt-vtab, .msgr-phase-b, .hr-subtab, .cx-subtab, .pv-tab, .mb-tab, .mb-vt, .gpa-tab, .mb-fchip, .cx-chip, .bb-chip, .fx-scen-b, .tq-toggle button, .th-seg button, .sf-seg button, .em-tab, .cf-tab, .rv-tab, .lx-chip):hover{ background: var(--lx-surface-2) !important; color: var(--lx-text) !important; }
body.lumen #app :is(.fin-tg.on, .lz-seg.on, .seg-b.active, .seg-b.on, .mkt-mtab.on, .mkt-vtab.on, .msgr-phase-b.on, .hr-subtab.on, .cx-subtab.on, .pv-tab.on, .mb-tab.on, .mb-vt.on, .gpa-tab.on, .mb-fchip.on, .cx-chip.on, .bb-chip.on, .fx-scen-b.on, .tq-toggle button.on, .th-seg button.on, .sf-seg button.on, .em-tab.on, .cf-tab.on, .rv-tab.on, .lx-chip[aria-pressed="true"]){
  background: var(--lx-accent-tint) !important; color: var(--lx-accent-text) !important; box-shadow: inset 0 0 0 1px var(--lx-accent-ring) !important; }
body.lumen #app :is(.lz-seg, .cx-chip, .bb-chip, .mb-fchip) b{ background: var(--lx-surface-3) !important; color: var(--lx-text-2) !important; border-radius:9px; padding:0 6px !important; min-width:18px; height:18px; display:inline-grid; place-items:center; font: 600 11px/1 var(--lx-font) !important; font-feature-settings: var(--lx-num); }
/* toggle groups that live in a bordered track become a real segmented control: track + raised pressed item */
body.lumen #app :is(.fin-tgs, .fin-tg-row, .seg, .sf-seg, .th-seg, .tq-toggle, .mb-vts, .fx-scens, .bs-seg){ display:inline-flex; gap:2px; padding:2px !important; border:0 !important; border-radius: var(--lx-r-ctl) !important;
  background: var(--lx-surface-3) !important; box-shadow: inset 0 0 0 1px var(--lx-line) !important; height: var(--lx-ctl-sm); align-items:center; }
body.lumen #app :is(.fin-tgs, .fin-tg-row, .seg, .sf-seg, .th-seg, .tq-toggle, .mb-vts, .fx-scens, .bs-seg) > :is(button, .fin-tg, .seg-b){ height: calc(var(--lx-ctl-sm) - 4px) !important; min-height:0 !important; box-shadow:none !important; border-radius: calc(var(--lx-r-ctl) - 2px) !important; background:transparent !important; }
body.lumen #app :is(.fin-tgs, .fin-tg-row, .seg, .sf-seg, .th-seg, .tq-toggle, .mb-vts, .fx-scens, .bs-seg) > :is(.on, .active){ background: var(--lx-surface) !important; color: var(--lx-text) !important; box-shadow: var(--lx-e1) !important; }

/* small icon buttons (✎ ✕ 🗑 ‹ ›) → sm square 28 */
body.lumen #app :is(.del-x, .pr-del, .cx-mini, .fdb-acct-edit, .tw-cal-nav, .rv-arrow, .mc2-navbtn, .srv-copy, .fin-tg.fb-step-b){
  min-width: var(--lx-ctl-sm); height: var(--lx-ctl-sm) !important; min-height: var(--lx-ctl-sm) !important; padding: 0 8px !important; display:inline-grid !important; place-items:center; border:0 !important;
  border-radius: var(--lx-r-ctl) !important; background: transparent !important; color: var(--lx-text-2) !important; box-shadow: inset 0 0 0 1px var(--lx-line) !important; font: 500 12.5px/1 var(--lx-font) !important; }
body.lumen #app :is(.del-x, .pr-del, .cx-mini, .fdb-acct-edit, .tw-cal-nav, .rv-arrow, .mc2-navbtn, .srv-copy):hover{ background: var(--lx-surface-3) !important; color: var(--lx-text) !important; }
body.lumen #app :is(.del-x, .pr-del, .cx-rm):hover{ color: var(--lx-bad) !important; background: var(--lx-bad-tint) !important; }
/* ON/OFF pill toggles in tables → a real 28px switch-button */
body.lumen #app .stu-tg{ height: var(--lx-ctl-sm) !important; min-height: var(--lx-ctl-sm) !important; min-width: 44px; padding: 0 10px !important; border:0 !important; border-radius: var(--lx-r-ctl) !important;
  background: transparent !important; color: var(--lx-text-3) !important; box-shadow: inset 0 0 0 1px var(--lx-line-2) !important; font: 600 11.5px/1 var(--lx-font) !important; letter-spacing:.01em; }
body.lumen #app .stu-tg.on{ background: var(--lx-ok-tint) !important; color: var(--lx-ok) !important; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lx-ok) 40%, transparent) !important; }
/* big CTAs that were 46–57px → lg 36 (one per region) */
body.lumen #app :is(.dash-cta, .sf-new, .fdb-newbtn, .as-big, .soon-cta, .rv-act-btn, .acd-opt){ height: var(--lx-ctl-lg) !important; min-height: var(--lx-ctl-lg) !important; padding: 0 var(--lx-px-lg) !important;
  display:inline-flex !important; align-items:center; justify-content:center; gap:8px; border:0 !important; border-radius: var(--lx-r-ctl) !important; font: 500 var(--lx-fs-lg)/1 var(--lx-font) !important;
  background: var(--lx-surface) !important; background-image:none !important; color: var(--lx-text) !important; box-shadow: var(--lx-e1) !important; transform:none !important; filter:none !important; letter-spacing:-.005em !important; }
body.lumen #app :is(.dash-cta.primary, .btn.primary.dash-cta, .sf-new, .fdb-newbtn, .as-big){ background: var(--lx-primary-bg) !important; color: var(--lx-primary-fg) !important; box-shadow: 0 0 0 1px var(--lx-primary-bg), inset 0 1px 0 rgba(255,255,255,.12) !important; }
body.lumen #app :is(.dash-cta, .sf-new, .fdb-newbtn, .as-big, .soon-cta, .rv-act-btn, .acd-opt):hover{ filter:none !important; transform:none !important; }
body.lumen #app .rv-act-btn{ height: var(--lx-ctl-sm) !important; min-height: var(--lx-ctl-sm) !important; font-size: var(--lx-fs-sm) !important; padding: 0 var(--lx-px-sm) !important; }
/* the accent picker swatches are the user's own control — untouched (size, colour, ring) */

/* ─────────────────────────────── 8 · SURFACES: cards, KPI tiles, lists, tables ────────────────────── */
body.lumen #app :is(.card, .sf-card, .bento, .fin-card, .hr-card, .em-card, .mkt-card, .th-card, .fd-card, .cx-card){
  background: var(--lx-surface) !important; background-image:none !important; border:0 !important; border-radius: var(--lx-r-card) !important; box-shadow: var(--lx-e1) !important;
  -webkit-backdrop-filter:none !important; backdrop-filter:none !important; transform:none !important; }
body.lumen #app :is(.card, .sf-card, .bento):hover{ box-shadow: var(--lx-e1) !important; transform:none !important; }
body.lumen #app :is(.card, .sf-card) :is(.card, .sf-card){ background: var(--lx-surface-2) !important; box-shadow: inset 0 0 0 1px var(--lx-line) !important; }
/* card headers: 14/600 sentence case, muted 16px icon, no grey band, no uppercase */
body.lumen #app :is(.sf-card-h, .bento-h){
  display:flex; align-items:center; gap:8px; flex-wrap:wrap; min-height:48px; padding: 12px 16px 8px !important; margin:0 !important; border:0 !important; background: transparent !important;
  font: 600 14px/20px var(--lx-font) !important; letter-spacing:-.01em !important; text-transform:none !important; color: var(--lx-text) !important; }
body.lumen #app :is(.sf-card-h, .bento-h) .row-sub, body.lumen #app .sf-card-h small{ font: 450 12px/16px var(--lx-font) !important; color: var(--lx-text-3) !important; text-transform:none !important; letter-spacing:0 !important; }
body.lumen .lx-h-ico{ display:inline-grid; place-items:center; width:16px; height:16px; color: var(--lx-text-3); flex:none; }
body.lumen .lx-h-ico svg{ width:16px; height:16px; }
body.lumen #app .sf-card-b{ padding: 4px 16px 16px !important; }
body.lumen #app .card > h3, body.lumen #app .card h3:first-child{ font: 600 14px/20px var(--lx-font) !important; letter-spacing:-.01em !important; color: var(--lx-text) !important; text-transform:none !important; display:flex; align-items:center; gap:8px; }
body.lumen #app .card-sub{ font: 450 13px/19px var(--lx-font) !important; color: var(--lx-text-2) !important; }
/* KPI tiles: one surface each, 28/32 tabular values, 12.5 labels in sentence case */
body.lumen #app .sf-kpis{ gap: 12px !important; }
body.lumen #app :is(.sf-kpi, .stat-tile, .th-stat, .mba-kpi, .inv-tile, .hr-kpi, .em-kpi, .mkt-kpi, .fin-kpi, .kpi){
  background: var(--lx-surface) !important; background-image:none !important; border:0 !important; border-radius: var(--lx-r-card) !important; box-shadow: var(--lx-e1) !important;
  -webkit-backdrop-filter:none !important; backdrop-filter:none !important; transform:none !important; }
body.lumen #app :is(.sf-kpi, .stat-tile, .th-stat, .mba-kpi, .inv-tile, .hr-kpi, .em-kpi, .mkt-kpi, .fin-kpi, .kpi)::before{ display:none !important; }
body.lumen #app :is(.sf-kpi, .th-stat){ padding: 16px 18px 14px !important; }
body.lumen #app :is(.sf-kpi-v, .th-stat-n, .st-n, .kpi-v, .hr-kpi-v, .em-kpi-v, .mkt-kpi-v){
  font: 600 28px/32px var(--lx-font) !important; letter-spacing:-.025em !important; font-feature-settings: var(--lx-num) !important;
  background:none !important; -webkit-text-fill-color: currentColor !important; }
body.lumen #app .sf-kpi-v:not([data-cink]){ color: var(--lx-text) !important; }
body.lumen #app :is(.sf-kpi-l, .th-stat-l, .st-l, .kpi-l){ font: 500 12.5px/16px var(--lx-font) !important; letter-spacing:0 !important; text-transform:none !important; color: var(--lx-text-2) !important; margin-top: 6px; }
/* key/value rows */
body.lumen #app .fin-pl{ min-height:40px; padding: 8px 0 !important; border:0 !important; box-shadow: 0 1px 0 var(--lx-line); font: 450 13px/18px var(--lx-font) !important; }
body.lumen #app .fin-pl:last-child{ box-shadow:none; }
body.lumen #app .fin-pl b{ font-weight:600 !important; font-feature-settings: var(--lx-num); }
body.lumen #app .fin-pl.tot{ box-shadow: 0 -1px 0 var(--lx-line-2) !important; font-weight:600 !important; font-size:14px !important; }
/* tables */
body.lumen #app table.list{ width:100%; background: var(--lx-surface) !important; border:0 !important; border-radius: var(--lx-r-card) !important; box-shadow: var(--lx-e1) !important;
  border-collapse: separate !important; border-spacing:0 !important; overflow:hidden; font: 450 13px/18px var(--lx-font) !important; }
body.lumen #app table.list th{ height:36px; padding: 0 12px !important; text-align:left; background: var(--lx-surface-2) !important; color: var(--lx-text-3) !important; border:0 !important;
  box-shadow: inset 0 -1px 0 var(--lx-line) !important; font: 500 12px/16px var(--lx-font) !important; letter-spacing:0 !important; text-transform:none !important; white-space:nowrap; }
body.lumen #app table.list td{ height: var(--lx-row-h); padding: 6px 12px !important; border:0 !important; box-shadow: inset 0 -1px 0 var(--lx-line); color: var(--lx-text); font-size:13px !important; vertical-align:middle; }
body.lumen #app table.list tr:last-child > td{ box-shadow:none; }
body.lumen #app table.list tbody tr, body.lumen #app table.list tr{ transition: background-color var(--lx-d-hover) ease; }
body.lumen #app table.list tr:hover > td{ background: var(--lx-surface-2) !important; }
body.lumen #app :is(.card, .sf-card) table.list{ box-shadow: inset 0 0 0 1px var(--lx-line) !important; }
body.lumen #app :is(.sf-card-b, .card) > table.list:only-child{ box-shadow:none !important; border-radius:0 !important; }

/* status: tags, pills, dots — 20px non-interactive badges, text always present */
body.lumen #app :is(.tag, .lv-pill, .mb-pill, .st-pill, .em-pill, .fin-pill, .hr-pill, .badge){
  display:inline-flex; align-items:center; gap:5px; min-height:20px; padding: 2px 7px !important; border:0 !important; border-radius:6px !important;
  font: 550 11.5px/16px var(--lx-font) !important; letter-spacing:.005em !important; text-transform:none !important; white-space:nowrap; font-feature-settings: var(--lx-num); vertical-align:middle; }
body.lumen #app .tag{ background: var(--lx-surface-3) !important; color: var(--lx-text-2) !important; }

/* banners inside pages (rain, alerts) — quiet wells, not candy */
body.lumen #app :is(.rain-mini, .sf-alert, .fin-alert, .mb-warn){ border-radius: var(--lx-r-card) !important; box-shadow: inset 0 0 0 1px var(--lx-line-2) !important; border:0 !important; }

/* ─────────────────────────────── 9 · OVERLAYS: dialogs, ⌘K, toast, tooltips ────────────────────────── */
body.lumen .overlay{ background: var(--lx-scrim) !important; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); animation: lx-fade var(--lx-d-pop) var(--lx-ease-out); }
body.lumen .overlay > .panel{ background: var(--lx-raised) !important; background-image:none !important; color: var(--lx-text) !important; border:0 !important; border-radius: var(--lx-r-panel) !important;
  box-shadow: var(--lx-e3) !important; font-family: var(--lx-font); animation: lx-pop var(--lx-d-pop) var(--lx-ease-out); }
body.lumen .overlay > .panel h2, body.lumen .overlay > .panel h3{ color: var(--lx-text) !important; font-family: var(--lx-font) !important; letter-spacing:-.015em; }
body.lumen .overlay > .panel h2{ font: 600 16px/24px var(--lx-font) !important; }
body.lumen .overlay .panel label{ color: var(--lx-text-2); }
/* the command palette (app.js commandPalette) */
body.lumen .cmdpal-ov{ background: var(--lx-scrim) !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important; padding-top:14vh !important; animation: lx-fade var(--lx-d-pop) var(--lx-ease-out); }
body.lumen .cmdpal{ width:min(640px, calc(100vw - 24px)) !important; background: var(--lx-raised) !important; border:0 !important; border-radius:14px !important; box-shadow: var(--lx-e3) !important; animation: lx-pop var(--lx-d-pop) var(--lx-ease-out); font-family: var(--lx-font); }
body.lumen .cmdpal-in{ height:52px; padding: 0 16px !important; border:0 !important; box-shadow: 0 1px 0 var(--lx-line); gap:10px; }
body.lumen .cmdpal-ic{ font-size:0 !important; width:16px; height:16px; opacity:1 !important; background: var(--lx-text-3);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3C/svg%3E") center/16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3C/svg%3E") center/16px no-repeat; }
body.lumen .cmdpal-in input{ all:unset; flex:1; height:auto !important; box-shadow:none !important; background:none !important; font: 450 15px/1 var(--lx-font) !important; color: var(--lx-text) !important; }
body.lumen .cmdpal-in input::placeholder{ color: var(--lx-text-3); }
body.lumen .cmdpal-esc{ display:inline-grid; place-items:center; height:20px; padding:0 6px; border-radius:5px; font: 500 11px/1 var(--lx-font) !important; color: var(--lx-text-3) !important;
  background: var(--lx-surface-2) !important; border:0 !important; box-shadow: inset 0 0 0 1px var(--lx-line), inset 0 -1px 0 var(--lx-line); }
body.lumen .cmdpal-list{ padding:6px !important; max-height:380px; }
body.lumen .cmdpal-it{ display:flex !important; align-items:center; gap:10px; width:100%; min-height:40px; padding: 6px 10px !important; border:0 !important; border-radius:8px !important; background:transparent !important;
  color: var(--lx-text-2) !important; font: 500 13.5px/18px var(--lx-font) !important; text-align:left; }
body.lumen .cmdpal-it.on{ background: var(--lx-surface-3) !important; color: var(--lx-text) !important; }
body.lumen .cmdpal-it-ic{ width:28px; height:28px; flex:none; display:inline-grid; place-items:center; border-radius:8px; background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); font-size:14px; }
body.lumen .cmdpal-it-s{ font: 450 12px/16px var(--lx-font) !important; color: var(--lx-text-3) !important; }
body.lumen .cmdpal-it-k{ margin-left:auto; font: 500 11.5px/1 var(--lx-font) !important; color: var(--lx-text-3) !important; background: var(--lx-surface-2) !important; padding: 4px 7px; border-radius:6px; border:0 !important; text-transform:none !important; letter-spacing:0 !important; }
body.lumen .cmdpal-empty{ padding: 28px 16px !important; color: var(--lx-text-3) !important; text-align:center; font: 450 13px/18px var(--lx-font); }
/* toast (app.js toast()) — inverted ink, bottom-right, 44 min */
body.lumen .toast{ left:auto !important; right:16px !important; bottom:16px !important; transform:none !important; min-height:44px; max-width:420px; display:flex; align-items:center; gap:10px;
  padding: 10px 16px !important; border:0 !important; border-radius:12px !important; background: var(--lx-primary-bg) !important; color: var(--lx-primary-fg) !important; box-shadow: var(--lx-e2) !important;
  font: 500 13px/18px var(--lx-font) !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important; animation: lx-toast-in 220ms var(--lx-ease-out) both; }
/* the app's hover tooltips */
body.lumen .sf-main [data-tip]:hover::after{ background: var(--lx-primary-bg) !important; color: var(--lx-primary-fg) !important; border:0 !important; border-radius:8px !important; box-shadow: var(--lx-e2) !important;
  font: 500 12px/16px var(--lx-font) !important; padding: 6px 9px !important; }
body.lumen .sf-main [data-tip]:hover::before{ border-top-color: var(--lx-primary-bg) !important; }
/* floating "you are previewing / switched" banners → a calm pill at the bottom (they sat above the fixed top bar) */
body.lumen #app > :is(.preview-banner, .ram-banner){ position:fixed; z-index:45; left:50%; bottom:16px; transform:translateX(-50%); width:max-content; max-width:calc(100vw - 32px);
  display:flex; align-items:center; gap:10px; padding: 6px 6px 6px 14px !important; margin:0 !important; border:0 !important; border-radius: 12px !important;
  background: var(--lx-raised) !important; color: var(--lx-text) !important; box-shadow: var(--lx-e3) !important; font: 500 13px/18px var(--lx-font) !important; }
body.lumen #app > .ram-banner{ bottom:auto; top:68px; padding: 6px 14px !important; }
body.lumen #app > .preview-banner .pv-exit{ height:32px; padding:0 12px; border:0; border-radius:8px; background: var(--lx-primary-bg); color: var(--lx-primary-fg); font: 500 13px/1 var(--lx-font); cursor:pointer; }

@keyframes lx-fade{ from{ opacity:0; } }
@keyframes lx-pop{ from{ opacity:0; transform: scale(.97) translateY(-4px); } }
@keyframes lx-toast-in{ from{ opacity:0; transform: translateY(8px) scale(.97); } }
@keyframes lx-rise{ from{ opacity:0; transform: translateY(6px); } }

/* page enter: the content panel's first children rise in, staggered (60ms apart, 4 max). Pure
   opacity/transform — no layout. Skipped entirely under reduced motion. */
@media (prefers-reduced-motion: no-preference){
  body.lumen.lx-enter #app .sf-wrap > *{ animation: lx-rise 260ms var(--lx-ease-out) both; }
  body.lumen.lx-enter #app .sf-wrap > :nth-child(2){ animation-delay: 40ms; }
  body.lumen.lx-enter #app .sf-wrap > :nth-child(3){ animation-delay: 80ms; }
  body.lumen.lx-enter #app .sf-wrap > :nth-child(n+4){ animation-delay: 120ms; }
}

/* ─────────────────────────────── 10 · PHONE (≤ 760px) ─────────────────────────────────────────────── */
@media (max-width:760px){
  body.lumen #app > .topbar{ position:sticky !important; top:0; z-index:40; height:56px; min-height:0; padding: 0 8px 0 4px !important; gap:4px; border:0 !important; border-radius:0;
    background: color-mix(in srgb, var(--lx-surface) 88%, transparent) !important; -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--lx-line) !important; }
  body.lumen #app > .topbar .brand-block{ order:1; transform:none; margin:0 !important; }
  body.lumen #app > .topbar .brand-block .build-tag{ display:none; }
  body.lumen #app > .topbar .lx-menu{ order:0; }
  body.lumen #app > .topbar .spacer{ order:2; }
  body.lumen #app > .topbar .top-left{ order:3; gap:2px; }
  body.lumen #app > .topbar :is(.tb-search, .tb-icon, .tb-newlead, .tr-name, .lx-tb-btn){ height:40px !important; min-height:40px !important; }
  body.lumen #app > .topbar .tb-search{ width:40px !important; padding:0 !important; justify-content:center; background:transparent !important; box-shadow:none !important; }
  body.lumen #app > .topbar .tb-search :is(span, kbd){ display:none !important; }
  body.lumen #app > .topbar .tb-search svg{ width:19px !important; height:19px !important; color: var(--lx-text-2); }
  body.lumen #app > .topbar .tb-icon, body.lumen #app > .topbar .lx-tb-btn{ width:40px !important; }
  body.lumen #app > .topbar .tb-newlead{ font-size:0 !important; width:40px; padding:0 !important; justify-content:center; box-shadow:none !important; background:transparent !important; }
  body.lumen #app > .topbar .tb-newlead::before{ content:""; width:19px; height:19px; background: var(--lx-text-2);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M19 8v6M22 11h-6'/%3E%3C/svg%3E") center/19px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M19 8v6M22 11h-6'/%3E%3C/svg%3E") center/19px no-repeat; }
  /* v1.324 code review new-issue (layout) — "↩ Exit to AdminCloud" is a .tb-newlead too, so an admin inside another Cloud saw two
     identical person-plus icons on a phone; it gets a back arrow (same size/position from the shorthand above, only the image changes) */
  body.lumen #app > .topbar .tb-newlead.tb-exitadmin::before{ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 14 4 9l5-5'/%3E%3Cpath d='M4 9h10.5a5.5 5.5 0 0 1 0 11H11'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 14 4 9l5-5'/%3E%3Cpath d='M4 9h10.5a5.5 5.5 0 0 1 0 11H11'/%3E%3C/svg%3E"); }
  body.lumen #app > .topbar .tr-name{ padding:0 !important; width:40px; justify-content:center; }
  body.lumen #app > .topbar .tr-name :is(.who-col, .caret){ display:none !important; }
  body.lumen #app > .topbar .tr-name .avatar{ width:28px !important; height:28px !important; font-size:11px !important; line-height:28px !important; }
  body.lumen #app > .topbar .tr-badge:not(.tr-badges .tr-badge){ font-size:0 !important; width:40px; padding:0 !important; justify-content:center; }
  body.lumen #app > .topbar .tr-badge:not(.tr-badges .tr-badge)::before{ content:"⚠"; font-size:15px; }

  /* the sidebar becomes an off-canvas sheet */
  body.lumen #app .fin-side{ position:fixed !important; z-index:70; top:0; bottom:0; left:0; width:min(300px, 86vw) !important; height:auto !important; max-height:none; margin:0;
    padding: 16px 10px calc(24px + env(safe-area-inset-bottom)) !important; display:block !important; background: var(--lx-chrome) !important; border:0 !important; box-shadow: var(--lx-e3) !important;
    overflow-y:auto; transform: translateX(-104%); transition: transform var(--lx-d-drawer) var(--lx-ease-drawer); visibility:hidden; }
  body.lumen[data-lx-menu="open"] #app .fin-side{ transform:none; visibility:visible; }
  body.lumen #app .fin-side :is(.fin-sitem, .adm-sechead){ min-height:44px; }
  body.lumen .lx-sheet-scrim{ position:fixed; inset:0; z-index:65; background: var(--lx-scrim); opacity:0; pointer-events:none; transition: opacity var(--lx-d-drawer) var(--lx-ease-out); }
  body.lumen[data-lx-menu="open"] .lx-sheet-scrim{ opacity:1; pointer-events:auto; }
  body.lumen #app > .fin-shell{ display:block !important; padding: 0 0 calc(72px + env(safe-area-inset-bottom)) !important; background: var(--lx-surface); min-height:100vh; }
  body.lumen #app > .fin-shell > .sf-main{ background: var(--lx-surface) !important; border:0; box-shadow:none; overflow:visible; }
  body.lumen #app > .fin-shell > .sf-main > .sf-wrap{ padding: 20px 16px 40px !important; max-width:none !important; }
  body.lumen #app :is(.sf-wrap, .wrap) .h1{ font-size:20px !important; line-height:26px !important; }
  body.lumen .lx-ph-ico{ width:28px; height:28px; }
  /* bottom tab bar (first four nav items + More) */
  body.lumen .lx-tabbar{ display:flex; position:fixed; left:0; right:0; bottom:0; z-index:50; height: calc(60px + env(safe-area-inset-bottom)); padding: 4px 6px env(safe-area-inset-bottom);
    background: color-mix(in srgb, var(--lx-surface) 88%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 -1px 0 var(--lx-line); }
  body.lumen .lx-tabbar button{ all:unset; box-sizing:border-box; flex:1; min-width:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; padding: 0 2px; border-radius:10px;
    font: 500 10.5px/1.1 var(--lx-font); color: var(--lx-text-3); cursor:pointer; -webkit-tap-highlight-color: transparent; text-align:center; transition: color var(--lx-d-hover) ease; }
  body.lumen .lx-tabbar button > span:last-child{ max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  body.lumen .lx-tabbar button svg{ width:20px; height:20px; }
  body.lumen .lx-tabbar button[aria-current="page"]{ color: var(--lx-text); }
  body.lumen .lx-tabbar button[aria-current="page"] svg{ color: var(--lx-accent); }
  body.lumen .lx-tabbar button:active{ background: var(--lx-surface-3); }
  body.lumen .toast{ left:12px !important; right:12px !important; bottom: calc(72px + env(safe-area-inset-bottom)) !important; max-width:none; }
  body.lumen #app > .preview-banner{ bottom: calc(72px + env(safe-area-inset-bottom)); }
  body.lumen .overlay > .panel{ border-radius: 16px !important; }
  body.lumen #app table.list td{ padding: 8px 10px !important; }
}
@media (min-width:761px){ body.lumen .lx-tabbar, body.lumen .lx-sheet-scrim{ display:none !important; } }

/* ─────────────────────────────── 11 · FRONT DESK & any shell without a sidebar ──────────────────────── */
@media (min-width:761px){
  body.lumen.lx-nosh #app > .topbar{ position:sticky !important; top:var(--lx-gap); z-index:40; height:var(--lx-top-h); margin: var(--lx-gap) var(--lx-gap) 0 !important; padding: 0 10px 0 12px !important;
    border:0 !important; border-radius: var(--lx-r-panel) var(--lx-r-panel) 0 0; background: color-mix(in srgb, var(--lx-surface) 86%, transparent) !important;
    -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 0 0 1px var(--lx-line) !important; }
  body.lumen.lx-nosh #app > .topbar .brand-block{ flex-direction:row !important; align-items:center; gap:8px; }
  body.lumen.lx-nosh #app > :is(.wrap, main, .lx-main-fallback){ margin: 0 var(--lx-gap) var(--lx-gap) !important; max-width:none !important; min-height: calc(100vh - var(--lx-top-h) - 2 * var(--lx-gap));
    padding: 28px max(32px, calc((100% - 1180px) / 2)) 64px !important; background: var(--lx-surface); border-radius: 0 0 var(--lx-r-panel) var(--lx-r-panel); box-shadow: var(--lx-e1); position:relative; }
}
@media (max-width:760px){ body.lumen.lx-nosh #app > :is(.wrap, main){ padding: 20px 16px 40px !important; background: var(--lx-surface); min-height:100vh; } }

/* ─────────────────────────────── 12 · MOTION, PRINT ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce){
  body.lumen *, body.lumen *::before, body.lumen *::after{ animation-duration:1ms !important; animation-iteration-count:1 !important; transition-duration:1ms !important; }
}
@media print{
  body.lumen #app > .topbar, body.lumen .lx-tabbar, body.lumen #app .fin-side, body.lumen .lx-sheet-scrim{ display:none !important; }
  body.lumen #app > .fin-shell{ padding:0 !important; }
  body.lumen #app > .fin-shell > .sf-main{ padding-top:0 !important; box-shadow:none !important; border-radius:0 !important; }
  body.lumen #app > .fin-shell > .sf-main::before{ display:none; }
  body.lumen{ background:#fff !important; }
}

/* ─────────────────────────────── 13 · lumen.js-owned bits (exist only where lumen.js put them) ────── */
body.lumen .lx-b-ico{ display:inline-grid; place-items:center; width:15px; height:15px; margin-left:-2px; flex:none; }
body.lumen .lx-b-ico svg{ width:15px; height:15px; }
body:not(.lumen) :is(.lx-b-ico, .lx-h-ico){ display:none !important; }
.lx-um-toggle .lx-um-state{ margin-left:auto; font-size:11.5px; font-weight:600; opacity:.75; }
.lx-set-row{ display:flex; align-items:center; gap:12px; margin-top:12px; padding-top:12px; border-top:1px solid var(--bord); }
.lx-set-row > div{ flex:1; min-width:0; }
.lx-set-row b{ display:block; font-weight:600; }
.lx-set-row span{ display:block; font-size:12.5px; color: var(--mut); }

/* ─────────────────────────────── 14 · PORTAL COMPONENTS (the bespoke families, one rule each) ───────── */
/* KPI families → Lumen KPI strip: ONE card, cells split by hairlines (not N floating tiles). The grid
   lines are drawn as each cell's own left+top shadow; the strip clips the outer ones. */
body.lumen #app :is(.sf-kpis, .dash-kpi4, .fin-kpis, .stats.dash){ gap:0 !important; background: var(--lx-surface) !important; border:0 !important; border-radius: var(--lx-r-card) !important;
  box-shadow: var(--lx-e1) !important; overflow:hidden; isolation:isolate; }
body.lumen #app :is(.sf-kpis, .dash-kpi4, .fin-kpis, .stats.dash) > :is(.sf-kpi, .stat, .mba-kpi){ background: transparent !important; border:0 !important; border-radius:0 !important;
  box-shadow: -1px 0 0 var(--lx-line), 0 -1px 0 var(--lx-line) !important; margin:0 !important; animation:none; transition: background-color var(--lx-d-hover) ease; }
body.lumen #app :is(.sf-kpis, .dash-kpi4, .fin-kpis) > :is(.sf-kpi-link, .mba-kpi-btn, .stat-link, [data-aview], [role="button"]):hover{ background: var(--lx-surface-2) !important; cursor:pointer; }
body.lumen #app :is(.stat, .mba-kpi){ text-align:left !important; }
body.lumen #app .stat{ padding: 16px 18px 14px !important; background: var(--lx-surface); border:0 !important; border-radius: var(--lx-r-card); box-shadow: var(--lx-e1); }
body.lumen #app .stat .v{ font: 600 28px/32px var(--lx-font) !important; letter-spacing:-.025em !important; background:none !important; -webkit-background-clip:border-box !important; background-clip:border-box !important;
  -webkit-text-fill-color: currentColor !important; color: var(--lx-text) !important; font-feature-settings: var(--lx-num); }
body.lumen #app .stat .l{ font: 500 12.5px/16px var(--lx-font) !important; letter-spacing:0 !important; text-transform:none !important; color: var(--lx-text-2) !important; margin-top:6px; white-space:normal; }
body.lumen #app .mba-kpi{ padding: 14px 16px !important; gap: 12px; }
body.lumen #app .mba-kpi :is(.mba-kpi-v, b){ font-feature-settings: var(--lx-num); letter-spacing:-.02em; }

/* icon wells (emoji tiles that lumen.js turns into Lucide icons) → one quiet 32px well */
body.lumen #app :is(.mba-kpi-ic, .ex-kpi-ic, .inv-tile-ic, .ab-pf-ic, .ret-idx-ic, .hr-att-ic, .as-tile-ico, .soon-ic, .mt-emo, .sop-scr-ic, .sop-role-ic, .fx-stat-ic, .fin-al-ic, .fin-jump-ic, .fx-act-ic, .fin-qa-ic, .fx-move-ic, .mkt-hstat-ic, .mkt-conn-ic, .pol-ic, .lx-well):not(:has(img)){
  width:32px !important; height:32px !important; min-width:32px; flex:none; display:inline-grid !important; place-items:center; border-radius:9px !important; font-size:16px !important; line-height:1 !important;
  background: var(--lx-surface-2) !important; background-image:none !important; color: var(--lx-text-2) !important; box-shadow: inset 0 0 0 1px var(--lx-line) !important; border:0 !important; filter:none !important; }
body.lumen #app :is(.mba-kpi-ic, .ex-kpi-ic, .inv-tile-ic, .ab-pf-ic, .ret-idx-ic, .hr-att-ic, .as-tile-ico, .soon-ic, .mt-emo, .sop-scr-ic, .sop-role-ic, .fx-stat-ic, .fin-al-ic, .fin-jump-ic, .fx-act-ic, .fin-qa-ic, .fx-move-ic, .mkt-hstat-ic, .mkt-conn-ic, .pol-ic, .lx-well) > svg{ width:16px; height:16px; }
body.lumen #app .mba-kpi.is-good .mba-kpi-ic{ color: var(--lx-ok) !important; background: var(--lx-ok-tint) !important; }
body.lumen #app .mba-kpi:is(.is-warn, .is-act) .mba-kpi-ic{ color: var(--lx-warn) !important; background: var(--lx-warn-tint) !important; }
body.lumen #app .mba-kpi.is-bad .mba-kpi-ic{ color: var(--lx-bad) !important; background: var(--lx-bad-tint) !important; }
body.lumen #app .mba-kpi.is-accent .mba-kpi-ic{ color: var(--lx-accent) !important; background: var(--lx-accent-tint) !important; }
body.lumen .lx-r-ico{ display:inline-grid; place-items:center; width:16px; height:16px; margin-right:8px; color: var(--lx-text-3); vertical-align:-3px; flex:none; }
body.lumen .lx-r-ico svg{ width:15px; height:15px; }
body:not(.lumen) .lx-r-ico{ display:none !important; }

/* date/clock/weather card (admin, sales, teacher dashboards) → an ordinary Lumen card */
body.lumen #app .tw-widget{ background: var(--lx-surface) !important; background-image:none !important; border:0 !important; border-radius: var(--lx-r-card) !important; box-shadow: var(--lx-e1) !important;
  -webkit-backdrop-filter:none !important; backdrop-filter:none !important; color: var(--lx-text) !important; }
body.lumen #app .tw-widget *{ text-shadow:none !important; }
body.lumen #app .tw-widget :is(.tw-time, #tw-time){ font: 600 40px/44px var(--lx-font) !important; letter-spacing:-.035em !important; font-feature-settings: var(--lx-num); color: var(--lx-text) !important; background:none !important; -webkit-text-fill-color: currentColor !important; }
body.lumen #app .tw-widget :is(.tw-fc, .tw-fday, .tw-day){ background: var(--lx-surface-2) !important; border:0 !important; box-shadow: inset 0 0 0 1px var(--lx-line) !important; border-radius:10px !important; }
body.lumen #app .tw-widget .tw-d.tw-today{ background: var(--lx-primary-bg) !important; background-image:none !important; color: var(--lx-primary-fg) !important; box-shadow:none !important; }
body.lumen #app :is(.fin-timew){ background: var(--lx-surface) !important; background-image:none !important; border:0 !important; box-shadow: var(--lx-e1) !important; border-radius: var(--lx-r-card) !important; -webkit-backdrop-filter:none; backdrop-filter:none; }

/* presence chip ("7 staff · 1 student online now") */
body.lumen #app .presence-pill{ height:28px; padding: 0 10px 0 10px !important; gap:8px; border:0 !important; border-radius:999px !important; background: var(--lx-surface) !important;
  box-shadow: inset 0 0 0 1px var(--lx-line-2) !important; color: var(--lx-text-2) !important; font: 500 12.5px/1 var(--lx-font) !important; }
body.lumen #app .presence-pill b{ color: var(--lx-text) !important; font-weight:600; font-feature-settings: var(--lx-num); }
body.lumen #app .presence-pill .pl-dot{ width:7px; height:7px; background: var(--lx-ok) !important; box-shadow: 0 0 0 3px var(--lx-ok-tint) !important; animation: lx-live 2.4s ease-in-out infinite; }
@keyframes lx-live{ 50%{ box-shadow: 0 0 0 5px transparent; } }

/* the dashboard's own search field (sales) → one md search control, not a box in a box */
body.lumen #app .gsearch{ height: var(--lx-ctl-md) !important; padding: 0 0 0 10px !important; gap:8px; border:0 !important; border-radius: var(--lx-r-ctl) !important;
  background: var(--lx-surface) !important; box-shadow: var(--lx-e1) !important; color: var(--lx-text-3); }
body.lumen #app .gsearch:focus-within{ box-shadow: 0 0 0 1px var(--lx-accent), 0 0 0 4px var(--lx-accent-tint) !important; }
body.lumen #app .gsearch .gsearch-input{ height: 100% !important; min-height:0 !important; padding: 0 10px 0 0 !important; background: transparent !important; box-shadow:none !important; border:0 !important; }
body.lumen #app .gsearch-results{ background: var(--lx-raised) !important; border:0 !important; border-radius: 12px !important; box-shadow: var(--lx-e3) !important; }
body.lumen #app .gsearch-item{ border-radius: 8px !important; }
body.lumen #app .gsearch-item:hover{ background: var(--lx-surface-3) !important; }

/* hero bands (HR "one number", finance cockpit, teacher/sales greeting) → a surface card with the aurora
   held inside it, and ONE hero number at 40/44 */
body.lumen #app :is(.fx-hero, .dash-hero, .th-hero, .acx-hero){ background: var(--lx-surface) !important; background-image: var(--lx-aurora) !important; background-size:auto !important; animation:none !important;
  border:0 !important; border-radius: var(--lx-r-card) !important; box-shadow: var(--lx-e1) !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important; }
body.lumen #app :is(.fx-num, .fx-big .fx-num){ font: 600 40px/44px var(--lx-font) !important; letter-spacing:-.035em !important; background:none !important; -webkit-background-clip:border-box !important; background-clip:border-box !important;
  -webkit-text-fill-color: currentColor !important; color: var(--lx-text) !important; font-feature-settings: var(--lx-num); }
body.lumen #app :is(.fx-hero-r, .fx-stat, .fxr, .fx-move, .fx-act){ background: var(--lx-surface) !important; background-image:none !important; border:0 !important; box-shadow: var(--lx-e1) !important; border-radius: var(--lx-r-card) !important;
  -webkit-backdrop-filter:none !important; backdrop-filter:none !important; }
body.lumen #app .fx-stat::before, body.lumen #app .fx-stat::after{ display:none !important; }
body.lumen #app :is(.fx-ring){ filter:none !important; }
body.lumen #app :is(.fx-move-rank){ background: var(--lx-primary-bg) !important; background-image:none !important; color: var(--lx-primary-fg) !important; }

/* inset rows, glance lists, "do next" queues */
body.lumen #app .dash-glance{ background: var(--lx-surface) !important; border:0 !important; border-radius: var(--lx-r-card) !important; box-shadow: var(--lx-e1) !important; padding: 6px 16px !important; }
body.lumen #app .dg-row{ min-height:40px; padding: 8px 0 !important; border:0 !important; box-shadow: 0 -1px 0 var(--lx-line); font: 450 13px/18px var(--lx-font) !important; border-radius:0; }
body.lumen #app .dg-row:first-of-type{ box-shadow:none; }
body.lumen #app .dg-row:hover{ background: transparent !important; }
body.lumen #app .dg-row:hover .dg-l{ color: var(--lx-text) !important; }
body.lumen #app :is(.ex-kpi, .srv-card, .cx-f, .vl-card, .emp-sum, .rv-item, .sq-row, .cf-card, .mc2-cell, .acdm-card, .fin-bank-card, .fin-jump-b, .fin-qa-b, .mkt-sug, .mkt-idea-btn, .bs-kpi, .bs-stat, .msgr-stat){
  border:0 !important; border-radius: 10px !important; box-shadow: inset 0 0 0 1px var(--lx-line) !important; background-image:none !important; animation:none; transform:none !important; }
body.lumen #app :is(.ex-kpi, .srv-card, .cx-f, .vl-card, .emp-sum, .rv-item, .cf-card, .mc2-cell, .acdm-card, .fin-bank-card, .fin-jump-b, .fin-qa-b, .mkt-sug, .mkt-idea-btn, .bs-kpi, .bs-stat, .msgr-stat){ background-color: var(--lx-surface-2) !important; }
body.lumen #app :is(.fin-bank-card, .fin-jump-b, .fin-qa-b, .mkt-idea-btn, .acdm-card, a.rv-item):hover{ background-color: var(--lx-surface-3) !important; box-shadow: inset 0 0 0 1px var(--lx-line-2) !important; }
body.lumen #app :is(.fin-bank-card.on){ background-color: var(--lx-accent-tint) !important; box-shadow: inset 0 0 0 1px var(--lx-accent-ring) !important; }
body.lumen #app :is(.vl-col, .em-col, .mkt-kcol, .cx-kcol, .tt-col, .rt-col, .nb-cell){ background: var(--lx-surface-2) !important; border:0 !important; box-shadow: inset 0 0 0 1px var(--lx-line) !important; border-radius: var(--lx-r-card) !important; }

/* Front Desk quick actions (the four-tile desk) → lg tiles: icon well + title + one line */
body.lumen #app :is(.fd-tile, .pol-card){ border:0 !important; border-radius: var(--lx-r-card) !important; background: var(--lx-surface) !important; box-shadow: var(--lx-e1) !important; transform:none !important;
  transition: box-shadow var(--lx-d-hover) ease, background-color var(--lx-d-hover) ease !important; }
body.lumen #app :is(.fd-tile, .pol-card):hover{ box-shadow: 0 0 0 1px var(--lx-line-2), 0 4px 12px -6px rgba(16,24,40,.18) !important; transform:none !important; }
body.lumen #app :is(.fd-tile, .pol-card):active{ transform: scale(.985) !important; }

/* avatars → pastel discs (the mockups' people palette), ink text */
body.lumen #app :is(.stu-ava, .rv-av, .ret-av, .srv-av):not(img){ border-radius:50% !important; background: #a5f3fc !important; background-image:none !important; color:#0d1117 !important; font-weight:600 !important; box-shadow: inset 0 0 0 1px rgba(15,23,42,.06); }
body.lumen #app :is(tr, li, .rv-item, .srv-card):nth-child(6n+2) :is(.stu-ava, .rv-av, .ret-av, .srv-av):not(img){ background:#ddd6fe !important; }
body.lumen #app :is(tr, li, .rv-item, .srv-card):nth-child(6n+3) :is(.stu-ava, .rv-av, .ret-av, .srv-av):not(img){ background:#fde68a !important; }
body.lumen #app :is(tr, li, .rv-item, .srv-card):nth-child(6n+4) :is(.stu-ava, .rv-av, .ret-av, .srv-av):not(img){ background:#fecdd3 !important; }
body.lumen #app :is(tr, li, .rv-item, .srv-card):nth-child(6n+5) :is(.stu-ava, .rv-av, .ret-av, .srv-av):not(img){ background:#bbf7d0 !important; }
body.lumen #app :is(tr, li, .rv-item, .srv-card):nth-child(6n) :is(.stu-ava, .rv-av, .ret-av, .srv-av):not(img){ background:#e2e8f0 !important; }
body.lumen #app img:is(.stu-ava, .rv-av, .ret-av){ border-radius:50% !important; }

/* bars and meters: one validated series colour, rounded ends, no candy gradients */
body.lumen #app :is(.em-bar-f, .bar-fill, .ex-pipe-bar i, .fn-bar i, .sd-bar i, .bs-bar .fill, .ump-bar span, .sf-fn-fl){ background: var(--lx-viz-1) !important; background-image:none !important; border-radius:3px; }
body.lumen #app :is(.fx-ring, .rv-ring){ --lx-ring: var(--lx-viz-1); }

/* notes, warnings, "soon" plates → quiet wells, status colour only on the text/edge */
body.lumen #app :is(.note, .em-warn, .bt-note, .mkt-note, .rain-note, .soon-note, .sop-note, .as-pw-note, .cc-card, .mkt-organic-ph, .mkt-src-strip){ border:0 !important; border-radius: 10px !important;
  box-shadow: inset 0 0 0 1px var(--lx-line-2) !important; }
/* v1.356 (portal audit 30 Sep): .bt-note has no padding of its own, so the ring above sat flush on its text (Sales, Refunds, VAT,
   Bank, Dashboard footnotes). Staff only — the StudyCloud rules (lx-stu) keep their own treatment. */
body.lumen:not(.lx-stu) #app .bt-note{ padding: 8px 12px; }
body.lumen #app :is(.sop-esc, .note.warn, .em-warn){ box-shadow: inset 3px 0 0 var(--lx-warn), inset 0 0 0 1px var(--lx-line) !important; background: var(--lx-warn-tint) !important; }
body.lumen #app :is(.sop-note, .ret-alert){ box-shadow: inset 3px 0 0 var(--lx-bad), inset 0 0 0 1px var(--lx-line) !important; background: var(--lx-bad-tint) !important; border:0 !important; border-radius:10px !important; }

/* empty states → calm: a 44px icon well, one line of meta */
body.lumen #app :is(.empty, .th-empty){ display:grid; justify-items:center; gap:6px; padding: 28px 16px !important; text-align:center; color: var(--lx-text-3) !important; background: transparent !important;
  border:0 !important; box-shadow: inset 0 0 0 1px var(--lx-line) !important; border-radius: var(--lx-r-card) !important; font: 450 13px/19px var(--lx-font) !important; }
body.lumen #app :is(.empty, .th-empty)::before{ content:""; width:44px; height:44px; border-radius:12px; margin-bottom:6px; box-shadow: inset 0 0 0 1px var(--lx-line); display:block;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23858d9b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-6l-2 3h-4l-2-3H2'/%3E%3Cpath d='M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z'/%3E%3C/svg%3E") center/20px no-repeat, var(--lx-surface-2); }

/* section titles inside pages */
body.lumen #app :is(.section-h, .ex-h, .ret-sech, .dg-h, .cc-h, .rv-h-t, .mba-h, .th-card-t, .cx-gh, .pv-keys-h, .sop-sec-h, .fx-sec, .fxr-grp-h, .fx-moves-h, .fx-card-h, .ab-r-h, .mkt-strip-h, .mkt-tie-h){
  font: 600 14px/20px var(--lx-font) !important; letter-spacing:-.01em !important; text-transform:none !important; color: var(--lx-text) !important; background:none !important; -webkit-text-fill-color: currentColor !important; }
body.lumen #app .section-h{ font-size:15px !important; margin-top: 8px; }
body.lumen #app :is(.section-h, .fx-sec)::before{ display:none !important; }
/* app-drawn icons already inside a title get the same 8px gap and muted ink as ours */
body.lumen #app :is(.sf-card-h, .bento-h, .card > h3, .section-h) svg.lu{ margin-right:2px; color: var(--lx-text-3); flex:none; vertical-align:-3px; }
body.lumen #app :is(.sf-card-h, .bento-h, .card > h3, .section-h) > span:not(.lx-h-ico):not(.lx-emo):first-child:has(> svg.lu:first-child){ display:inline-flex; align-items:center; gap:8px; }
body.lumen .lx-h-ico svg, body.lumen .lx-b-ico svg{ margin:0 !important; }
body.lumen #app .fd-hero > div:first-child:has(> svg){ width:40px; height:40px; flex:none; display:grid; place-items:center; border-radius:11px; font-size:0 !important;
  color: var(--lx-accent); background: var(--lx-surface); box-shadow: var(--lx-e1), inset 0 -8px 16px -12px rgba(var(--accent),.35); }
body.lumen #app .fd-hero > div:first-child > svg{ width:20px; height:20px; }

/* ─────────────────────────────── 15 · PHONE CONTAINMENT (375px, no horizontal scroll) ────────────── */
@media (max-width:760px){
  body.lumen #app > .fin-shell > .sf-main > .sf-wrap{ width:100%; min-width:0; margin:0 !important; }
  body.lumen #app :is(.sf-wrap, .wrap) > *{ min-width:0; max-width:100%; }
  body.lumen #app :is(.th-toprow, .dash-hero, .th-hero, .tw-widget, .th-hero-top, .dash-hero-l) > *{ min-width:0; }
  body.lumen #app .tw-widget{ width:auto !important; max-width:100%; }
  body.lumen #app :is(.sf-card-b, .sf-card, .card, .dash-glance, .bento):has(> table, > div > table){ overflow-x:auto; }
  body.lumen #app :is(.sf-wrap, .wrap) > table.list{ display:block; overflow-x:auto; }
  body.lumen #app :is(.dash-cta, .btn){ max-width:100%; overflow:hidden; }
  /* segmented tracks scroll sideways inside themselves; chip/tab rows and field ranges wrap */
  body.lumen #app :is(.fin-tgs, .fin-tg-row, .seg, .sf-seg, .th-seg, .tq-toggle, .mb-vts, .fx-scens, .bs-seg, .fin-toggle, .msgr-phase-seg){ max-width:100%; overflow-x:auto; scrollbar-width:none; }
  body.lumen #app :is(.fin-tgs, .fin-tg-row, .seg, .sf-seg, .th-seg, .tq-toggle, .mb-vts, .fx-scens, .bs-seg, .fin-toggle, .msgr-phase-seg)::-webkit-scrollbar{ display:none; }
  body.lumen #app :is(.fin-range, .fin-bar, .fin-toolbar, .vp-toolbar, .lz-bar, .tw-search, .lz-segs, .cx-chips):not(.fin-tgs){ flex-wrap:wrap !important; max-width:100%; }
  body.lumen #app :not(.fin-tgs):not(.fin-tg-row):not(.fin-toggle):has(> :is(.fin-tg, .lz-seg, .cx-chip, .bb-chip, .mb-fchip, .hr-subtab, .cx-subtab, .mkt-mtab, .mkt-vtab)){ flex-wrap:wrap !important; max-width:100%; }
  body.lumen #app :is(.fx-orbs){ max-width:100%; overflow:hidden; }
  body.lumen #app select{ max-width:100%; }
  /* kanban boards (pipeline, client files, applications, content, hiring) → swipeable columns */
  body.lumen #app :has(> :is(.vl-col, .cx-kcol, .em-col, .mkt-kcol)){ display:grid !important; grid-template-columns:none !important; grid-auto-flow:column !important;
    grid-auto-columns: minmax(200px, 78%) !important; overflow-x:auto; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; max-width:100%; gap:10px !important; padding-bottom:6px; }
  body.lumen #app :is(.vl-col, .cx-kcol, .em-col, .mkt-kcol){ scroll-snap-align:start; min-width:0; }
  body.lumen #app :not(.sf-wrap):not(.wrap):not(tr):not(td):has(> table.list){ overflow-x:auto; max-width:100%; }
  /* the tenant logo is scaled (never cropped or stretched) so the phone top bar fits five 40px controls */
  body.lumen #app > .topbar .brand-block{ transform: scale(.82); transform-origin: left center; margin-right: -28px !important; }
  body.lumen #app > .topbar{ gap:2px; }
}

/* icon-only buttons (an emoji that became an icon, nothing else) are squares of the row's size */
body.lumen #app .btn.lx-icon-only{ width: var(--lx-ctl-md) !important; min-width: var(--lx-ctl-md) !important; padding:0 !important; }
body.lumen #app .btn.small.lx-icon-only{ width: var(--lx-ctl-sm) !important; min-width: var(--lx-ctl-sm) !important; }
body.lumen #app .btn.lx-icon-only .lx-b-ico{ margin:0; }
body.lumen :is(#app, .overlay) .btn.small{ min-width: var(--lx-ctl-sm) !important; }
/* one primary per region: a primary repeated on every table row reads as a wall of black —
   in rows it becomes a secondary button with a semibold label (still the row's main action) */
body.lumen #app :is(td, .ck-row, li) .btn.primary:not(.lx-keep){ background: var(--lx-surface) !important; color: var(--lx-text) !important; box-shadow: var(--lx-e1) !important; font-weight:600 !important; }
body.lumen #app :is(td, .ck-row, li) .btn.primary:not(.lx-keep):hover{ background: var(--lx-surface-2) !important; }
body.lumen #app :is(td, .ck-row, li) .btn.primary .lx-b-ico{ color: var(--lx-accent); }

/* sentence case everywhere (design-system §1): the app sets ~40 label families in CSS uppercase with
   wide tracking; in Lumen they read as quiet 11.5px meta labels instead. Inputs are exempt (a
   field that uppercases what you type, e.g. a code, keeps doing so). */
body.lumen #app :is(.sf-wrap, .wrap) :not(input):not(textarea):not(select){ text-transform:none !important; }
body.lumen #app :is(.sop-sub, .sop-scr-lbl, .comm-src, .mc2-dow, .fxr-badge, .msgr-stat-l, .mba-foot-t, .fin-plsec, .soon-badge, .msgr-scope, .ex-sub2, .cust-dsec, .cx-sec, .ab-eyebrow, .ab-perf-mo, .dash-eyebrow, .cx-kh > span, .rt-now, .fx-eyebrow, .th-perf-h small, .sf-eyebrow){
  letter-spacing:0 !important; font-family: var(--lx-font) !important; }
body.lumen #app :is(.dash-eyebrow, .ab-eyebrow, .fx-eyebrow, .sf-eyebrow){ font: 500 12.5px/16px var(--lx-font) !important; color: var(--lx-text-3) !important; background:none !important; -webkit-text-fill-color: currentColor !important; }
body.lumen #app .stat .l::first-letter{ text-transform: uppercase; }

/* one height per row: a small button that sits in a toolbar beside a page-level field takes the field's md size */
body.lumen #app :not(td):not(th):not(.fin-pl):has(> :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]), select)) > :is(.btn.small, .fin-tg, .lz-seg),
body.lumen #app :not(td):not(th):not(.fin-pl):not(.overlay *):has(> .btn:not(.small)) > .btn.small{
  height: var(--lx-ctl-md) !important; min-height: var(--lx-ctl-md) !important; padding: 0 var(--lx-px-md) !important; font-size: var(--lx-fs-md) !important; }

/* steppers and one-off buttons that carried their own inline sizes */
body.lumen #app .mv-qty{ display:inline-flex; align-items:center; gap:4px; }
body.lumen #app .mv-qty > button{ width: var(--lx-ctl-md); height: var(--lx-ctl-md) !important; min-height:0 !important; padding:0 !important; border:0 !important; border-radius: var(--lx-r-ctl) !important;
  background: var(--lx-surface) !important; box-shadow: var(--lx-e1) !important; color: var(--lx-text) !important; font: 500 16px/1 var(--lx-font) !important; }
body.lumen #app .mv-qty > input{ width:64px !important; text-align:center; }
body.lumen #app [data-lsretrain]{ height: var(--lx-ctl-md) !important; padding: 0 var(--lx-px-md) !important; border:0 !important; border-radius: var(--lx-r-ctl) !important; background: var(--lx-surface) !important;
  box-shadow: var(--lx-e1) !important; color: var(--lx-text) !important; font: 500 13px/1 var(--lx-font) !important; }
body.lumen #app .as-actions .btn{ height: var(--lx-ctl-lg) !important; min-height: var(--lx-ctl-lg) !important; padding: 0 var(--lx-px-lg) !important; font-size: var(--lx-fs-lg) !important; }
body.lumen #app .bs-seg > button{ padding: 0 var(--lx-px-sm) !important; border:0 !important; font: 500 var(--lx-fs-sm)/1 var(--lx-font) !important; color: var(--lx-text-2) !important; cursor:pointer; }
body.lumen #app .bs-seg > button.on{ color: var(--lx-text) !important; }
/* …and a segmented control beside a page field takes md too (track 32, items 28) */
body.lumen #app :not(td):not(th):has(> :is(input:not([type="checkbox"]):not([type="radio"]), select)) > :is(.fin-tgs, .fin-tg-row, .seg, .sf-seg, .th-seg, .tq-toggle, .mb-vts, .fx-scens, .bs-seg){ height: var(--lx-ctl-md) !important; }
body.lumen #app :not(td):not(th):has(> :is(input:not([type="checkbox"]):not([type="radio"]), select)) > :is(.fin-tgs, .fin-tg-row, .seg, .sf-seg, .th-seg, .tq-toggle, .mb-vts, .fx-scens, .bs-seg) > :is(button, .fin-tg, .seg-b){ height: calc(var(--lx-ctl-md) - 4px) !important; }

/* (a generic sticky table head was tried and REMOVED: most wide tables sit in the app's own overflow-x
   wrappers, which become the sticky scroll-port, so top:60px pushed the head INTO the rows. The app's
   own sticky heads (acc-table) keep working because --topbar-h is set to the real top-bar height.) */
body.lumen #app table.list{ overflow: clip !important; }
/* v1.324 code review new-issue (layout) — Sales › Customers on a phone: the ≤760px "page-level table scrolls sideways" rule lost to the
   clip above, so every column after Contact was cut off. This one table scrolls (text clipping only; nothing else changes). */
@media (max-width:760px){ body.lumen #app :is(.sf-wrap, .wrap) > table.list.cust-table{ overflow-x:auto !important; } }
/* v1.356 (portal audit 30 Sep): the same clip cut every OTHER page-level table on a phone too — AdminCloud › Pending Evaluation lost its
   "Assigned teacher" picker and Status past 358px, Recent Test Attempts / Incidents their right-hand columns. Same one-line cure, all of them. */
@media (max-width:760px){ body.lumen #app :is(.sf-wrap, .wrap) > table.list{ overflow-x:auto !important; } }
body.lumen #app table.acc-table thead th{ background: var(--lx-surface-2) !important; }
/* v1.356 (portal audit 30 Sep): on a phone .acc-wrap scrolls sideways, so it becomes the sticky scroll-port and top:var(--topbar-h)
   pushed the Access Control head ~56px INTO the rows (a blank band above, the first department row hidden under it). */
@media (max-width:760px){ body.lumen #app .acc-wrap table.acc-table thead th{ top:0 !important; } }
/* v1.356 (portal audit 30 Sep): the Access matrix ticks were 13px (tap target) and the Students "Mocks" head clipped its
   "purchased · attended" line mid-word in an 11% column */
body.lumen #app table.acc-table input[type="checkbox"]{ width:18px; height:18px; }
body.lumen #app table.stu-table th:has(> .th-sub){ white-space:normal; }
/* v1.356 (portal audit 30 Sep) — at phone width the % colgroup crushed the roster into 358px (status pill over the toggle, names in 3 lines); keep a readable width and let .lx-tablewrap scroll sideways */
@media (max-width:640px){ body.lumen #app .lx-tablewrap > table.stu-table{ min-width:760px; } }
/* v1.356 (portal audit 30 Sep) — `.cx-gh span` is the count pill; the icon lumen.js injects into the same header caught its grey pill too */
body.lumen #app .cx-gh > .lx-h-ico{ background:none !important; border:0 !important; padding:0 !important; }
/* v1.356 (portal audit 30 Sep) — styles.css drops every .stat-link shadow (`box-shadow:none !important`), and Lumen draws the card edge WITH that shadow: the clickable At-risk tile on Customers had no card at all */
body.lumen #app .stat.stat-link{ box-shadow: var(--lx-e1) !important; }
/* notifications panel (bell) = a raised popover like the account menu */
body.lumen .notif-panel{ background: var(--lx-raised) !important; border:0 !important; border-radius:12px !important; box-shadow: var(--lx-e3) !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important; color: var(--lx-text) !important; font-family: var(--lx-font); }

/* ─────────────────────────────── 16 · CONTRAST (measured: outputs/lumen-build-2026-09-23/measure/contrast-*) ── */
body.lumen #app .fin-side .fin-sitem.sf-tab-lock{ opacity:1 !important; color: var(--lx-text-3) !important; }
body.lumen #app .msgr-scope{ color: var(--lx-info) !important; background: var(--lx-info-tint) !important; }
body.lumen #app :is(.mc2-zero, .mc2-past, .mc2-past *){ opacity:1 !important; }
body.lumen #app .mc2-past .mc2-dnum{ color: var(--lx-text-3) !important; }
body.lumen #app .mc2-zero{ color: var(--lx-text-3) !important; }
body.lumen #app :is(.sop-need){ color: var(--lx-warn) !important; }
body.lumen #app :is(.sop-ok, .sop-rb-done){ color: var(--lx-ok) !important; }
/* app pills and inks that carry their hue in a custom property (--c / --pc) are set in bright
   dark-theme hues; on Lumen's white they are mixed toward ink so the hue survives at ≥ 4.5:1 */
html[data-theme="light"] body.lumen #app .ar-badge{ color: color-mix(in srgb, var(--c) 48%, #0d1117) !important; }
html[data-theme="light"] body.lumen #app [data-cpill]{ color: color-mix(in srgb, var(--pc) 48%, #0d1117) !important; }
html[data-theme="light"] body.lumen #app [data-cink]{ color: color-mix(in srgb, var(--pc) 50%, #0d1117) !important; }
html[data-theme="light"] body.lumen #app .fx-fresh-chip{ color: var(--lx-bad) !important; }
html[data-theme="light"] body.lumen #app .cx-ph b{ color: var(--lx-info) !important; }
html[data-theme="light"] body.lumen #app .fin-tag{ color: var(--lx-accent-text) !important; }
body.lumen #app th *{ opacity:1 !important; }
body.lumen #app .sop-you{ background:#4f46e5 !important; }
/* inline bright text colours (dark-theme hexes written straight into templates) → the Lumen status ink in light mode.
   Matches `color:#hex` only at the start of the style or after ';' / ' ' so background-color / border-color never match. */
html[data-theme="light"] body.lumen #app :is([style^="color:#fbbf24"], [style*=";color:#fbbf24"], [style*="; color:#fbbf24"], [style*=" color:#fbbf24"], [style^="color: #fbbf24"], [style*=";color: #fbbf24"], [style^="color:#f59e0b"], [style*=";color:#f59e0b"], [style*="; color:#f59e0b"], [style*=" color:#f59e0b"], [style^="color: #f59e0b"], [style*=";color: #f59e0b"], [style^="color:#fb923c"], [style*=";color:#fb923c"], [style*="; color:#fb923c"], [style*=" color:#fb923c"], [style^="color: #fb923c"], [style*=";color: #fb923c"], [style^="color:#eab308"], [style*=";color:#eab308"], [style*="; color:#eab308"], [style*=" color:#eab308"], [style^="color: #eab308"], [style*=";color: #eab308"], [style^="color:#facc15"], [style*=";color:#facc15"], [style*="; color:#facc15"], [style*=" color:#facc15"], [style^="color: #facc15"], [style*=";color: #facc15"], [style^="color:#fcd34d"], [style*=";color:#fcd34d"], [style*="; color:#fcd34d"], [style*=" color:#fcd34d"], [style^="color: #fcd34d"], [style*=";color: #fcd34d"], [style^="color:#f97316"], [style*=";color:#f97316"], [style*="; color:#f97316"], [style*=" color:#f97316"], [style^="color: #f97316"], [style*=";color: #f97316"]){ color: var(--lx-warn) !important; }
html[data-theme="light"] body.lumen #app :is([style^="color:#34d399"], [style*=";color:#34d399"], [style*="; color:#34d399"], [style*=" color:#34d399"], [style^="color: #34d399"], [style*=";color: #34d399"], [style^="color:#22c55e"], [style*=";color:#22c55e"], [style*="; color:#22c55e"], [style*=" color:#22c55e"], [style^="color: #22c55e"], [style*=";color: #22c55e"], [style^="color:#10b981"], [style*=";color:#10b981"], [style*="; color:#10b981"], [style*=" color:#10b981"], [style^="color: #10b981"], [style*=";color: #10b981"], [style^="color:#4ade80"], [style*=";color:#4ade80"], [style*="; color:#4ade80"], [style*=" color:#4ade80"], [style^="color: #4ade80"], [style*=";color: #4ade80"], [style^="color:#6ee7b7"], [style*=";color:#6ee7b7"], [style*="; color:#6ee7b7"], [style*=" color:#6ee7b7"], [style^="color: #6ee7b7"], [style*=";color: #6ee7b7"], [style^="color:#16a34a"], [style*=";color:#16a34a"], [style*="; color:#16a34a"], [style*=" color:#16a34a"], [style^="color: #16a34a"], [style*=";color: #16a34a"]){ color: var(--lx-ok) !important; }
html[data-theme="light"] body.lumen #app :is([style^="color:#fb7185"], [style*=";color:#fb7185"], [style*="; color:#fb7185"], [style*=" color:#fb7185"], [style^="color: #fb7185"], [style*=";color: #fb7185"], [style^="color:#f87171"], [style*=";color:#f87171"], [style*="; color:#f87171"], [style*=" color:#f87171"], [style^="color: #f87171"], [style*=";color: #f87171"], [style^="color:#ef4444"], [style*=";color:#ef4444"], [style*="; color:#ef4444"], [style*=" color:#ef4444"], [style^="color: #ef4444"], [style*=";color: #ef4444"], [style^="color:#f43f5e"], [style*=";color:#f43f5e"], [style*="; color:#f43f5e"], [style*=" color:#f43f5e"], [style^="color: #f43f5e"], [style*=";color: #f43f5e"], [style^="color:#fca5a5"], [style*=";color:#fca5a5"], [style*="; color:#fca5a5"], [style*=" color:#fca5a5"], [style^="color: #fca5a5"], [style*=";color: #fca5a5"], [style^="color:#fda4af"], [style*=";color:#fda4af"], [style*="; color:#fda4af"], [style*=" color:#fda4af"], [style^="color: #fda4af"], [style*=";color: #fda4af"]){ color: var(--lx-bad) !important; }
html[data-theme="light"] body.lumen #app :is([style^="color:#38bdf8"], [style*=";color:#38bdf8"], [style*="; color:#38bdf8"], [style*=" color:#38bdf8"], [style^="color: #38bdf8"], [style*=";color: #38bdf8"], [style^="color:#60a5fa"], [style*=";color:#60a5fa"], [style*="; color:#60a5fa"], [style*=" color:#60a5fa"], [style^="color: #60a5fa"], [style*=";color: #60a5fa"], [style^="color:#0ea5e9"], [style*=";color:#0ea5e9"], [style*="; color:#0ea5e9"], [style*=" color:#0ea5e9"], [style^="color: #0ea5e9"], [style*=";color: #0ea5e9"], [style^="color:#7dd3fc"], [style*=";color:#7dd3fc"], [style*="; color:#7dd3fc"], [style*=" color:#7dd3fc"], [style^="color: #7dd3fc"], [style*=";color: #7dd3fc"], [style^="color:#22d3ee"], [style*=";color:#22d3ee"], [style*="; color:#22d3ee"], [style*=" color:#22d3ee"], [style^="color: #22d3ee"], [style*=";color: #22d3ee"], [style^="color:#06b6d4"], [style*=";color:#06b6d4"], [style*="; color:#06b6d4"], [style*=" color:#06b6d4"], [style^="color: #06b6d4"], [style*=";color: #06b6d4"], [style^="color:#3b82f6"], [style*=";color:#3b82f6"], [style*="; color:#3b82f6"], [style*=" color:#3b82f6"], [style^="color: #3b82f6"], [style*=";color: #3b82f6"], [style^="color:#67e8f9"], [style*=";color:#67e8f9"], [style*="; color:#67e8f9"], [style*=" color:#67e8f9"], [style^="color: #67e8f9"], [style*=";color: #67e8f9"]){ color: var(--lx-info) !important; }
html[data-theme="light"] body.lumen #app :is([style^="color:#a78bfa"], [style*=";color:#a78bfa"], [style*="; color:#a78bfa"], [style*=" color:#a78bfa"], [style^="color: #a78bfa"], [style*=";color: #a78bfa"], [style^="color:#8b5cf6"], [style*=";color:#8b5cf6"], [style*="; color:#8b5cf6"], [style*=" color:#8b5cf6"], [style^="color: #8b5cf6"], [style*=";color: #8b5cf6"], [style^="color:#c084fc"], [style*=";color:#c084fc"], [style*="; color:#c084fc"], [style*=" color:#c084fc"], [style^="color: #c084fc"], [style*=";color: #c084fc"], [style^="color:#818cf8"], [style*=";color:#818cf8"], [style*="; color:#818cf8"], [style*=" color:#818cf8"], [style^="color: #818cf8"], [style*=";color: #818cf8"], [style^="color:#a855f7"], [style*=";color:#a855f7"], [style*="; color:#a855f7"], [style*=" color:#a855f7"], [style^="color: #a855f7"], [style*=";color: #a855f7"], [style^="color:#c4b5fd"], [style*=";color:#c4b5fd"], [style*="; color:#c4b5fd"], [style*=" color:#c4b5fd"], [style^="color: #c4b5fd"], [style*=";color: #c4b5fd"]){ color: #6d28d9 !important; }
html[data-theme="light"] body.lumen #app :is([style^="color:#94a3b8"], [style*=";color:#94a3b8"], [style*="; color:#94a3b8"], [style*=" color:#94a3b8"], [style^="color: #94a3b8"], [style*=";color: #94a3b8"], [style^="color:#9ca3af"], [style*=";color:#9ca3af"], [style*="; color:#9ca3af"], [style*=" color:#9ca3af"], [style^="color: #9ca3af"], [style*=";color: #9ca3af"], [style^="color:#cbd5e1"], [style*=";color:#cbd5e1"], [style*="; color:#cbd5e1"], [style*=" color:#cbd5e1"], [style^="color: #cbd5e1"], [style*=";color: #cbd5e1"]){ color: var(--lx-text-3) !important; }
body.lumen #app :is(.cx-mut, .vl-meta){ opacity:1 !important; }
body.lumen #app .cx-mut{ color: var(--lx-text-3) !important; }
html[data-theme="light"] body.lumen #app .emp-stg{ color: color-mix(in srgb, var(--sc) 48%, #0d1117) !important; }
html[data-theme="light"] body.lumen #app .hrw-chip, html[data-theme="light"] body.lumen #app .hrw-chip b{ color: color-mix(in srgb, var(--c) 48%, #0d1117) !important; }
html[data-theme="light"] body.lumen #app :is(.nb-cell-h, .emp-sum-n){ color: var(--lx-text) !important; }
/* the app's own status tokens, in light, take Lumen's AA values (dark keeps the app's) */
html[data-theme="light"] body.lumen{ --ok:#067647; --ok-2:#067647; --warn:#9a5b00; --warn-2:#8a4f00; --bad:#b42318; --bad-2:#b42318; --bad-3:#9f1239; --info:#1d4ed8; --info-2:#1e40af; --viol:#6d28d9; --viol-2:#6d28d9; }
body.lumen #app :is(.row-sub, small span, .cc-dues span, .sop-cadence b, .inv-tile-s){ opacity:1 !important; }
html[data-theme="light"] body.lumen #app .sop-cadence b{ color: #6d28d9 !important; }
body.lumen #app .row-sub{ color: var(--lx-text-3) !important; }
/* …and the reverse in dark: deep light-theme hexes written inline → the bright Lumen status ink */
html:not([data-theme="light"]) body.lumen #app :is([style^="color:#15803d"], [style*=";color:#15803d"], [style*="; color:#15803d"], [style*=" color:#15803d"], [style^="color:#047857"], [style*=";color:#047857"], [style*="; color:#047857"], [style*=" color:#047857"], [style^="color:#166534"], [style*=";color:#166534"], [style*="; color:#166534"], [style*=" color:#166534"], [style^="color:#065f46"], [style*=";color:#065f46"], [style*="; color:#065f46"], [style*=" color:#065f46"], [style^="color:#16a34a"], [style*=";color:#16a34a"], [style*="; color:#16a34a"], [style*=" color:#16a34a"], [style^="color:#059669"], [style*=";color:#059669"], [style*="; color:#059669"], [style*=" color:#059669"], [style^="color:#067647"], [style*=";color:#067647"], [style*="; color:#067647"], [style*=" color:#067647"]){ color: var(--lx-ok) !important; }
html:not([data-theme="light"]) body.lumen #app :is([style^="color:#b91c1c"], [style*=";color:#b91c1c"], [style*="; color:#b91c1c"], [style*=" color:#b91c1c"], [style^="color:#be123c"], [style*=";color:#be123c"], [style*="; color:#be123c"], [style*=" color:#be123c"], [style^="color:#dc2626"], [style*=";color:#dc2626"], [style*="; color:#dc2626"], [style*=" color:#dc2626"], [style^="color:#9f1239"], [style*=";color:#9f1239"], [style*="; color:#9f1239"], [style*=" color:#9f1239"], [style^="color:#991b1b"], [style*=";color:#991b1b"], [style*="; color:#991b1b"], [style*=" color:#991b1b"], [style^="color:#b42318"], [style*=";color:#b42318"], [style*="; color:#b42318"], [style*=" color:#b42318"]){ color: var(--lx-bad) !important; }
html:not([data-theme="light"]) body.lumen #app :is([style^="color:#b45309"], [style*=";color:#b45309"], [style*="; color:#b45309"], [style*=" color:#b45309"], [style^="color:#a16207"], [style*=";color:#a16207"], [style*="; color:#a16207"], [style*=" color:#a16207"], [style^="color:#92400e"], [style*=";color:#92400e"], [style*="; color:#92400e"], [style*=" color:#92400e"], [style^="color:#9a5b00"], [style*=";color:#9a5b00"], [style*="; color:#9a5b00"], [style*=" color:#9a5b00"], [style^="color:#c2410c"], [style*=";color:#c2410c"], [style*="; color:#c2410c"], [style*=" color:#c2410c"], [style^="color:#d97706"], [style*=";color:#d97706"], [style*="; color:#d97706"], [style*=" color:#d97706"]){ color: var(--lx-warn) !important; }
html:not([data-theme="light"]) body.lumen #app :is([style^="color:#1d4ed8"], [style*=";color:#1d4ed8"], [style*="; color:#1d4ed8"], [style*=" color:#1d4ed8"], [style^="color:#0369a1"], [style*=";color:#0369a1"], [style*="; color:#0369a1"], [style*=" color:#0369a1"], [style^="color:#075985"], [style*=";color:#075985"], [style*="; color:#075985"], [style*=" color:#075985"], [style^="color:#1e40af"], [style*=";color:#1e40af"], [style*="; color:#1e40af"], [style*=" color:#1e40af"], [style^="color:#2563eb"], [style*=";color:#2563eb"], [style*="; color:#2563eb"], [style*=" color:#2563eb"], [style^="color:#0e7490"], [style*=";color:#0e7490"], [style*="; color:#0e7490"], [style*=" color:#0e7490"]){ color: var(--lx-info) !important; }
html:not([data-theme="light"]) body.lumen #app :is([style^="color:#6d28d9"], [style*=";color:#6d28d9"], [style*="; color:#6d28d9"], [style*=" color:#6d28d9"], [style^="color:#5b21b6"], [style*=";color:#5b21b6"], [style*="; color:#5b21b6"], [style*=" color:#5b21b6"], [style^="color:#7c3aed"], [style*=";color:#7c3aed"], [style*="; color:#7c3aed"], [style*=" color:#7c3aed"], [style^="color:#4338ca"], [style*=";color:#4338ca"], [style*="; color:#4338ca"], [style*=" color:#4338ca"]){ color: #a78bfa !important; }
html:not([data-theme="light"]) body.lumen #app .sop-cadence b{ color:#a78bfa !important; }
body.lumen #app > .topbar .tb-badge{ background:#d92d20 !important; }
body.lumen #app .mkt-hstat{ background: var(--lx-surface) !important; background-image:none !important; border:0 !important; box-shadow: var(--lx-e1) !important; border-radius: var(--lx-r-card) !important; }
html:not([data-theme="light"]) body.lumen #app .as-tile-caution{ color: var(--lx-bad) !important; }
body.lumen #app .mb-status.draft{ color: var(--lx-text-2) !important; }

/* ─────────────────────────────── 17 · PHASE-0 UI IN LUMEN (v1.304 integration, 23 Sep 2026) ─────────────
   The Phase-0 build (outputs/phase0-2026-09-23/log.md) added markup after this file was written. Styled here:
   .fd-desk/.fd-tile (F06 four-tile desk) · .toast-has-act/.toast-act (F12 Undo) · .en-more (F13 E&M quick-add)
   · .mkt-rptpick (F04 reporting month) · .pacc-ro (F02 read-only access), plus two audit leftovers that are
   purely visual: F23 (things that look clickable but aren't) and F29 (lead card: "Log your work" first).
   Same rules as the rest of the file: scoped under body.lumen, no <img> rule, --accent never redefined. */

/* F06 — the desk. The four tiles ARE the Front Desk's primary actions: accent icon well, a real title, CTA last. */
body.lumen #app .fd-desk .pol-grid{ grid-template-columns: repeat(4, minmax(0,1fr)); gap:10px; }
@media (max-width:1100px){ body.lumen #app .fd-desk .pol-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
body.lumen #app .fd-tile{ padding:16px !important; gap:4px !important; min-height:136px; cursor:pointer; }
body.lumen #app .fd-tile .pol-ic{ background: var(--lx-accent-tint) !important; color: var(--lx-accent-text) !important; box-shadow: inset 0 0 0 1px var(--lx-accent-ring) !important; margin-bottom:8px; }
body.lumen #app .fd-tile .pol-ic svg{ color: var(--lx-accent-text) !important; stroke: currentColor; }
body.lumen #app .fd-tile b{ font: 600 15px/20px var(--lx-font) !important; color: var(--lx-text) !important; display:flex; align-items:center; gap:6px; }
body.lumen #app .fd-tile small{ font: 450 12.5px/17px var(--lx-font) !important; color: var(--lx-text-3) !important; }
body.lumen #app .fd-tile .pol-read{ margin-top:auto !important; padding-top:10px; font: 600 12.5px/16px var(--lx-font) !important; color: var(--lx-accent-text) !important; letter-spacing:0 !important; text-transform:none !important; }
body.lumen #app .fd-tile .fd-tile-n{ font-size:11px !important; min-width:20px; height:20px; padding:0 6px !important; border-radius:999px !important; display:inline-flex; align-items:center; justify-content:center; }
body.lumen #app .fd-tile:focus-visible{ outline:none !important; box-shadow: var(--lx-focus) !important; }
@media (max-width:760px){
  /* phones: a 2×2 thumb grid; the one-line descriptions go, except the live check-in count */
  body.lumen #app .fd-desk .pol-grid{ grid-template-columns: 1fr 1fr; gap:8px; }
  body.lumen #app .fd-tile{ min-height:116px; padding:12px !important; }
  body.lumen #app .fd-tile:not(#fd-t-checkin) small{ display:none !important; }
  body.lumen #app .fd-tile .pol-ic{ margin-bottom:6px; }
}

/* F12 — the Undo toast: one ghost action inside the inverted toast, pushed to the right edge */
body.lumen .toast.toast-has-act{ padding: 6px 6px 6px 16px !important; gap:14px; }
body.lumen .toast.toast-has-act .btn.toast-act{ margin-left:auto; flex:0 0 auto; height: var(--lx-ctl-md) !important; min-height: var(--lx-ctl-md) !important; padding: 0 12px !important;
  border:0 !important; border-radius: 8px !important; background: transparent !important; background-image:none !important; color: inherit !important;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 38%, transparent) !important; font: 600 13px/1 var(--lx-font) !important; }
body.lumen .toast.toast-has-act .btn.toast-act:hover{ background: color-mix(in srgb, currentColor 12%, transparent) !important; }
body.lumen .toast.toast-has-act .btn.toast-act:focus-visible{ outline:none !important; box-shadow: inset 0 0 0 2px currentColor !important; }

/* F13 — E&M quick-add: "More details (optional)" is a quiet disclosure row, not a raw <summary> */
body.lumen .overlay .panel .en-more{ margin-top:12px !important; border-radius:10px; box-shadow: inset 0 0 0 1px var(--lx-line); background: var(--lx-surface); }
body.lumen .overlay .panel .en-more > summary{ list-style:none; cursor:pointer; display:flex; align-items:center; gap:10px; min-height: var(--lx-ctl-lg); padding: 0 12px;
  font: 500 13px/18px var(--lx-font); color: var(--lx-text-2); border-radius:10px; user-select:none; }
body.lumen .overlay .panel .en-more > summary::-webkit-details-marker{ display:none; }
body.lumen .overlay .panel .en-more > summary::before{ content:""; flex:0 0 auto; width:6px; height:6px; margin:0 2px 0 3px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor;
  transform: rotate(-45deg); transition: transform var(--lx-d-hover) var(--lx-ease-out); }
body.lumen .overlay .panel .en-more[open] > summary::before{ transform: rotate(45deg); }
body.lumen .overlay .panel .en-more > summary:hover{ color: var(--lx-text); background: var(--lx-surface-2); }
body.lumen .overlay .panel .en-more > summary:focus-visible{ outline:none; box-shadow: var(--lx-focus); }
body.lumen .overlay .panel .en-more[open] > summary{ border-radius:10px 10px 0 0; box-shadow: inset 0 -1px 0 var(--lx-line); }
body.lumen .overlay .panel .en-more > .cx-fields{ padding:12px; margin-top:0 !important; }
/* phones: dialog field pairs stack (two 130 px columns cut "Australia" and the phone number short) */
@media (max-width:520px){
  body.lumen .overlay .panel .cx-fields{ grid-template-columns: minmax(0,1fr) !important; }
  body.lumen .overlay .panel .cx-fields > .cx-f{ grid-column: 1 / -1 !important; }
  /* 40 px side padding left a 270 px form on a 375 phone; the number field got ~90 px */
  body.lumen .overlay > .panel{ padding-left:18px !important; padding-right:18px !important; }
  body.lumen .overlay .panel .cx-phone select{ min-width:0 !important; width:92px !important; flex:0 0 92px !important; }
}

/* X12 one phone field (P-X, X-18; plan-X §2.12): the Lumen skin of styles.css's .px-* base. Heights from the size system (md: 32 desktop,
   40 phone), the raised popover, the accent only on the selected row's check. */
body.lumen .px-field{ --px-h: var(--lx-ctl-md); }
body.lumen .px-cc{ border:0; border-radius: var(--lx-r-ctl); background: var(--lx-surface); color: var(--lx-text); box-shadow: var(--lx-e1); padding: 0 var(--lx-px-md); font: 500 var(--lx-fs-md)/1 var(--lx-font); transition: background-color var(--lx-d-hover) ease; }
body.lumen .px-cc:hover{ background: var(--lx-surface-2); }
body.lumen :is(.px-cc, .px-in, .px-q):focus-visible{ outline:none; box-shadow: var(--lx-focus) !important; }
body.lumen :is(.px-cc-d, .px-cc svg){ color: var(--lx-text-3); }
body.lumen .px-in{ border:0; border-radius: var(--lx-r-ctl); background: var(--lx-surface); color: var(--lx-text); box-shadow: var(--lx-e1); padding: 0 var(--lx-px-md); font: 450 var(--lx-fs-md)/normal var(--lx-font); }
body.lumen .px-msg{ color: var(--lx-bad); }
body.lumen .px-pop{ background: var(--lx-raised); color: var(--lx-text); border:0; box-shadow: var(--lx-e3); font-family: var(--lx-font); animation: lx-pop var(--lx-d-pop) var(--lx-ease-out); }
body.lumen .px-q-wrap{ border-bottom: 1px solid var(--lx-line); }
body.lumen .px-q{ border:0; border-radius: var(--lx-r-ctl); background: var(--lx-surface-2); color: var(--lx-text); box-shadow: inset 0 0 0 1px var(--lx-line); font: 450 var(--lx-fs-md)/normal var(--lx-font); }
body.lumen .px-opt{ color: var(--lx-text); font: 450 var(--lx-fs-md)/1.3 var(--lx-font); }
body.lumen :is(.px-opt:hover, .px-opt.px-act){ background: var(--lx-surface-3); }
body.lumen .px-o-d{ color: var(--lx-text-3); font-feature-settings: var(--lx-num); }
body.lumen .px-o-k{ color: var(--lx-accent-text); }
body.lumen .px-div{ background: var(--lx-line); }
body.lumen .px-note{ color: var(--lx-text-3); }
body.lumen .px-scrim{ background: var(--lx-scrim); }

/* F04 — the Cockpit's reporting-month picker sits in the header row with the clock */
body.lumen #app .mkt-rptpick{ display:inline-flex; align-items:center; margin:0 !important; }
body.lumen #app .mkt-rptpick select{ min-width:168px; font-weight:500 !important; }

/* F02 — read-only portal access (non-admin viewers): a status pill, not a bare glyph */
body.lumen .pacc-ro{ display:inline-flex; align-items:center; justify-content:center; min-width:28px; height:22px; padding:0 8px; border-radius:999px; font: 600 12px/1 var(--lx-font); }
body.lumen .pacc-ro.on{ color: var(--lx-ok) !important; background: var(--lx-ok-tint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lx-ok) 30%, transparent); }
body.lumen .pacc-ro.off{ color: var(--lx-text-3) !important; }

/* F23 — things that looked clickable and weren't (staff-ux-audit controls.json, 57 instances). What the
   audit listed is either a real control now (the Students KPI tiles are filters, the bank months select) or
   one of these three, which only ever inherited a pointer: */
body.lumen #app div.dg-row{ cursor:default !important; }                                   /* dashboard "learned" rows (a <div>, not the <button> rows) */
body.lumen #app div.dg-row:hover .dg-l{ color: inherit !important; }
body.lumen #app .emp-tbl tbody tr:not([data-hremp]):not([onclick]){ cursor:default !important; }   /* E&M partners / visa requirements / compliance reference tables */
body.lumen #app .radio-row label:has(> input:disabled){ cursor:default !important; }        /* read-only paper viewer answer choices */

/* F29 — the lead card: the most-used action ("Log your work" + follow-up picks) sat ~1,400 px down, under the
   Runway and the pain/fear/objection capture. In Lumen the card reads: header → next best action → [deal &
   invoices | LOG YOUR WORK + timeline] → Runway → capture. Order only; nothing is hidden or removed. */
body.lumen .overlay .panel:has(> .lc-grid2){ display:flex !important; flex-direction:column; }
body.lumen .overlay .panel:has(> .lc-grid2) > *{ flex-shrink:0; }
body.lumen .overlay .panel:has(> .lc-grid2) > .lc-grid2{ order:1; margin-top:12px !important; }
body.lumen .overlay .panel:has(> .lc-grid2) > :is(.lc-runway, .lc-cap){ order:2; margin-top:12px !important; }
@media (max-width:760px){
  /* one column on phones: the log comes before the deal/invoice rail */
  body.lumen .overlay .panel .lc-grid2{ display:flex !important; flex-direction:column; }
  body.lumen .overlay .panel .lc-grid2 > .lc-work{ order:-1; }
}

/* Found at the integration by re-measuring with ONE real lead on the local lx-sales user (the build's sales
   views were empty, so these never rendered for Builder B): */
/* Call / WhatsApp mini-buttons carry fill="#fff" SVGs drawn for a coloured button; Lumen's button is white → invisible icons */
body.lumen #app :is(.cx-mini.call, .cx-mini.wa) svg{ fill: currentColor !important; }
body.lumen #app .cx-mini.call{ color: var(--lx-accent-text) !important; }
body.lumen #app .cx-mini.wa{ color: var(--lx-ok) !important; }
/* the follow-up card's "✓ Call +2d" (a raw #2563eb 34 px button) → an sm secondary like every repeated row action */
body.lumen #app .cx-step{ height: var(--lx-ctl-sm) !important; min-height: var(--lx-ctl-sm) !important; padding: 0 6px 0 10px !important; gap:6px !important; border-radius: var(--lx-r-ctl) !important;
  background: var(--lx-surface) !important; color: var(--lx-text) !important; box-shadow: inset 0 0 0 1px var(--lx-line-2) !important; font: 600 12.5px/1 var(--lx-font) !important; }
body.lumen #app .cx-step:hover{ background: var(--lx-surface-3) !important; }
body.lumen #app .cx-step .cx-step-sp{ background: var(--lx-accent-tint) !important; color: var(--lx-accent-text) !important; border-radius:5px !important; padding: 3px 6px !important; font: 600 11.5px/1 var(--lx-font) !important; }
/* the lead-temperature chip is a BUTTON in the leads table (F30 wires it): sm height; Cold's grey ink up to AA */
body.lumen #app button.cx-temp{ height: var(--lx-ctl-sm) !important; display:inline-flex !important; align-items:center; padding: 0 10px !important; }
body.lumen .cx-temp.cx-Cold{ color: var(--lx-text-2) !important; }
/* owner chips: the pastel owner hue as TEXT on white is 1.5:1 — mixed toward ink in light, like the --c/--pc pills */
html[data-theme="light"] body.lumen .cx-own{ color: color-mix(in srgb, var(--own) 36%, #0d1117) !important; }

/* ─────────────────────────────── 18 · LAYOUT PASS (24 Sep 2026 · DECISIONS §85) ──────────────────────────
   The STRUCTURE the approved mockups carry, rendered by app.js's Lumen helpers (pageHeader · lxKpis ·
   lxCard · lxQueue · lxTabs · lxSeg · the chart kit · drawer). Log: outputs/lumen-layout-2026-09-24/log.md.
   Every selector is under body.lumen and every class is lx-*; nothing here targets <img>. */

/* 18.1 shell — the mockup's sidebar carries search (top) and the user (footer); the top bar keeps the
   breadcrumb + bell + the page's one action. Desktop only; the phone bar is §10. */
@media (min-width:761px){
  body.lumen.lx-sh #app .fin-side{ padding-top: 100px !important; padding-bottom: 104px !important; }
  body.lumen.lx-sh #app > .topbar .top-left{ position:static !important; }
  /* the top bar is a containing block (backdrop-filter), so these are placed like the logo above them:
     absolute, offset back by the sidebar width. Top bar top = 8px, height 52px. */
  body.lumen.lx-sh #app > .topbar .tb-search{ position:absolute; z-index:41; top:48px; left: calc(8px - var(--lx-side-w)); width: calc(var(--lx-side-w) - 16px) !important; transition: left var(--lx-d-drawer) var(--lx-ease-drawer), width var(--lx-d-drawer) var(--lx-ease-drawer); }
  body.lumen.lx-sh[data-lx-side="collapsed"] #app > .topbar .tb-search{ width:40px !important; padding:0 !important; justify-content:center; left: calc(12px - var(--lx-side-w)); }
  body.lumen.lx-sh[data-lx-side="collapsed"] #app > .topbar .tb-search :is(span, kbd){ display:none !important; }
  body.lumen.lx-sh #app > .topbar .tr-name{ position:absolute; z-index:41; left: calc(8px - var(--lx-side-w)); top: calc(100vh - 104px); width: calc(var(--lx-side-w) - 16px); max-width:none !important; height:44px !important; min-height:44px !important;
    padding: 0 10px 0 8px !important; border-radius: 10px !important; justify-content:flex-start; transition: left var(--lx-d-drawer) var(--lx-ease-drawer), width var(--lx-d-drawer) var(--lx-ease-drawer); }
  body.lumen.lx-sh #app > .topbar .tr-name .avatar{ width:28px !important; height:28px !important; line-height:28px !important; font-size:11px !important; }
  body.lumen.lx-sh #app > .topbar .tr-name .who-col{ flex:1; }
  body.lumen.lx-sh #app > .topbar .tr-name .caret{ margin-left:auto; transform: rotate(180deg); }
  body.lumen.lx-sh[data-lx-side="collapsed"] #app > .topbar .tr-name{ width:40px; left: calc(12px - var(--lx-side-w)); padding:0 !important; justify-content:center; }
  body.lumen.lx-sh[data-lx-side="collapsed"] #app > .topbar .tr-name :is(.who-col, .caret){ display:none !important; }
  body.lumen.lx-sh #app > .topbar #user-menu{ position:absolute !important; left: calc(8px - var(--lx-side-w)) !important; right:auto !important; top:auto !important; bottom: calc(160px - 100vh) !important; width:300px;
    max-height: calc(100vh - 120px); overflow:auto; transform-origin: bottom left; z-index:60 !important; }
  /* the footer band is chrome-filled so nav items scrolling under the user chip are masked; it sits BELOW
     the top bar's stacking layer (z 40) so the chip (which lives in the top bar) stays on top of it */
  body.lumen.lx-sh .lx-sidefoot{ position:fixed; z-index:39; left:0; bottom:0; width: var(--lx-side-w); height:108px; display:flex; align-items:flex-end; gap:2px; padding: 0 12px 8px;
    background: var(--lx-chrome); box-shadow: inset 0 1px 0 var(--lx-line); transition: width var(--lx-d-drawer) var(--lx-ease-drawer); }
  body.lumen.lx-sh[data-lx-side="collapsed"] .lx-sidefoot{ width: var(--lx-side-w); padding: 0 16px 8px; }
  body.lumen.lx-sh[data-lx-side="collapsed"] .lx-sidefoot > :not(.lx-sf-keep){ display:none; }
  /* v1.327 I1 — the HEADER band, the footer band's mirror (ANik 26 Sep: "the tab names of the left panel disturb the Luminedge logo
     on the top"). The logo (top 4–48) and the search box (48–80) live in the top bar's layer, but the sidebar is transparent and
     scrolls its nav up under them, so scrolled item names painted through the logo and round the search box. This band is the
     sidebar's own ::before: position:fixed (the desktop .fin-side has no transform, so it pins to the viewport and does not scroll),
     painted above the nav INSIDE the sidebar's stacking context (z 30) and therefore still BELOW the top bar (z 40) — the logo and
     search sit on it. Opaque --lx-chrome, so it matches the sidebar in light and dark. Ends at 92px, above the first item (padding-top
     100). pointer-events stay on, so a click in the band can never land on a hidden nav item underneath. */
  body.lumen.lx-sh #app .fin-side::before{ content:""; display:block; position:fixed; z-index:5; top:0; left:0; width: var(--lx-side-w); height:92px;
    background: var(--lx-chrome); transition: width var(--lx-d-drawer) var(--lx-ease-drawer); }
  body.lumen .lx-sidefoot .lx-tb-btn{ width:32px; height:32px; }
  body.lumen .lx-sidefoot .lx-grow{ flex:1; }
  body.lumen.lx-sh #app > .fin-shell > .sf-main{ min-height: calc(100vh - 2 * var(--lx-gap)); }
}
body:not(.lumen) .lx-sidefoot, body.lumen:not(.lx-sh) .lx-sidefoot{ display:none !important; }
body.lumen .lx-sidefoot button[aria-pressed="true"]{ color: var(--lx-accent); }
@media (max-width:760px){ body.lumen .lx-sidefoot{ display:none !important; } }

/* 18.2 page header */
body.lumen #app .lx-ph{ position:relative; z-index:1; margin: 0 0 20px; display:block; }
body.lumen #app .lx-ph-over{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin: 0 0 8px; font: 500 12px/16px var(--lx-font); color: var(--lx-text-3); }
body.lumen #app .lx-ph-over svg{ width:14px; height:14px; flex:none; }
body.lumen #app .lx-ph-over .lx-dotsep::before{ content:"·"; margin: 0 2px; }
body.lumen #app .lx-ph-row{ display:flex; align-items:flex-start; gap:12px; flex-wrap:wrap; }
body.lumen #app .lx-ph-tile{ width:36px; height:36px; flex:none; display:inline-grid; place-items:center; border-radius:10px; color: var(--lx-accent); margin-top:1px;
  background: var(--lx-surface); box-shadow: var(--lx-e1), inset 0 -8px 16px -12px rgba(var(--accent),.35); }
body.lumen #app .lx-ph-tile svg{ width:18px; height:18px; }
body.lumen #app .lx-ph-main{ flex:1 1 320px; min-width:0; }
body.lumen #app .lx-ph .h1.lx-h1{ margin:0 !important; display:flex; align-items:center; flex-wrap:wrap; gap:8px; font: 650 22px/28px var(--lx-font) !important; letter-spacing:-.022em !important; }
body.lumen #app .lx-ph .lx-ph-rest{ font: 500 13px/18px var(--lx-font); color: var(--lx-text-3); letter-spacing:0; display:inline-flex; align-items:center; gap:6px; flex-wrap:wrap; }
body.lumen #app .lx-ph .lx-ph-rest :is(b, .h1-flags){ font-weight:600; }
body.lumen #app .lx-ph .sub.lx-ph-sub{ margin: 4px 0 0 !important; font: 450 14px/22px var(--lx-font) !important; color: var(--lx-text-2) !important; }
body.lumen #app .lx-ph-act{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-left:auto; padding-top:2px; }
body.lumen #app .lx-ph-act > *{ float:none !important; margin:0 !important; }
body.lumen #app .lx-ph-act .btn{ font-size: var(--lx-fs-md) !important; }
body.lumen #app .lx-ph-act .btn.small{ height: var(--lx-ctl-md) !important; min-height: var(--lx-ctl-md) !important; padding: 0 var(--lx-px-md) !important; font-size: var(--lx-fs-md) !important; }
/* a subtitle the view prints right after its header lines up under the title (not under the tile) */
body.lumen #app .lx-ph + .sub{ margin: -14px 0 18px 48px !important; font: 450 14px/22px var(--lx-font) !important; color: var(--lx-text-2) !important; }
body.lumen #app .lx-ph.lx-ph-hero .h1.lx-h1{ font-size:24px !important; line-height:30px !important; }
body.lumen #app .lx-ph.lx-ph-hero .lx-ph-tile{ display:none; }
@media (max-width:760px){
  body.lumen #app .lx-ph-tile{ width:30px; height:30px; border-radius:8px; }
  body.lumen #app .lx-ph .h1.lx-h1{ font-size:20px !important; line-height:26px !important; }
  body.lumen #app .lx-ph-act{ margin-left:0; width:100%; }
  body.lumen #app .lx-ph + .sub{ margin-left:0 !important; }
}

/* 18.3 grid helpers */
body.lumen #app .lx-grid{ display:grid; gap:16px; margin: 0 0 16px; align-items:start; min-width:0; }
body.lumen #app .lx-g-21{ grid-template-columns: minmax(0,1.62fr) minmax(0,1fr); }
body.lumen #app .lx-g-12{ grid-template-columns: minmax(0,1fr) minmax(0,1.62fr); }
body.lumen #app .lx-g-3{ grid-template-columns: repeat(3, minmax(0,1fr)); }
body.lumen #app .lx-g-2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
body.lumen #app .lx-grid > *{ min-width:0; margin:0 !important; }
body.lumen #app .lx-stackcol{ display:flex; flex-direction:column; gap:16px; min-width:0; }
@media (max-width:1180px){ body.lumen #app .lx-g-3{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width:980px){ body.lumen #app :is(.lx-g-21, .lx-g-12, .lx-g-2, .lx-g-3){ grid-template-columns: minmax(0,1fr); } }
body.lumen #app .lx-sect{ display:flex; align-items:center; gap:10px; margin: 28px 0 12px; font: 600 13px/18px var(--lx-font); color: var(--lx-text-2); }
body.lumen #app .lx-sect::after{ content:""; flex:1; height:1px; background: var(--lx-line); }
body.lumen #app .lx-sect svg{ width:15px; height:15px; color: var(--lx-text-3); }

/* 18.4 KPI strip — one card, hairline dividers */
body.lumen #app .lx-kpis{ display:grid; grid-template-columns: repeat(var(--n,4), minmax(0,1fr)); margin: 0 0 16px; border-radius: var(--lx-r-card); background: var(--lx-surface); box-shadow: var(--lx-e1); overflow:hidden; position:relative; z-index:1; }
body.lumen #app .lx-kpi{ all:unset; box-sizing:border-box; display:flex; flex-direction:column; min-width:0; padding: 16px 18px 14px; position:relative; }
body.lumen #app .lx-kpi + .lx-kpi{ box-shadow: -1px 0 0 var(--lx-line); }
body.lumen #app button.lx-kpi{ cursor:pointer; transition: background-color var(--lx-d-hover) ease; }
body.lumen #app button.lx-kpi:hover{ background: var(--lx-surface-2); }
body.lumen #app button.lx-kpi:focus-visible{ box-shadow: inset 0 0 0 2px var(--lx-accent-ring); }
body.lumen #app .lx-kpi-l{ display:flex; align-items:center; gap:6px; font: 500 12.5px/16px var(--lx-font); color: var(--lx-text-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
body.lumen #app .lx-kpi-l svg{ width:14px; height:14px; color: var(--lx-text-3); flex:none; }
/* v1.356 (portal audit 30 Sep): the label text sits in a <span> flex item, so the parent's ellipsis never showed — "Mock attempts · Septemb" was cut mid-word */
body.lumen #app .lx-kpi-l > span{ min-width:0; overflow:hidden; text-overflow:ellipsis; }
body.lumen #app .lx-kpi-row{ display:flex; align-items:flex-end; justify-content:space-between; gap:8px; margin-top:10px; }
body.lumen #app .lx-kpi-v{ font: 600 28px/32px var(--lx-font); letter-spacing:-.025em; font-feature-settings: var(--lx-num); color: var(--lx-text); white-space:nowrap; display:flex; align-items:baseline; gap:4px; min-width:0; }
body.lumen #app .lx-kpi-u{ font: 500 13px/1 var(--lx-font); color: var(--lx-text-3); letter-spacing:0; }
body.lumen #app .lx-kpi-spark{ color: var(--lx-viz-1); flex:none; line-height:0; margin-bottom:2px; }
body.lumen #app .lx-kpi-d{ display:flex; align-items:center; gap:6px; flex-wrap:wrap; margin-top:8px; font: 450 12px/16px var(--lx-font); color: var(--lx-text-3); }
body.lumen #app .lx-kpi .lx-meter{ margin-top:10px; }
body.lumen #app .lx-kpi.bad .lx-kpi-v{ color: var(--lx-bad); }
body.lumen .lx-delta{ font-weight:600; color: var(--lx-text-2); font-feature-settings: var(--lx-num); white-space:nowrap; }
body.lumen .lx-delta.ok{ color: var(--lx-ok); } body.lumen .lx-delta.bad{ color: var(--lx-bad); }
body.lumen .lx-cur{ font-size:.62em; color: var(--lx-text-3); font-weight:500; margin-right:1px; letter-spacing:0; }
body.lumen .lx-u{ font-size:.55em; color: var(--lx-text-3); font-weight:500; margin-left:2px; letter-spacing:0; }
@media (max-width:980px){ body.lumen #app .lx-kpis{ grid-template-columns: repeat(min(var(--n,4),3), minmax(0,1fr)); } body.lumen #app .lx-kpi{ box-shadow: -1px 0 0 var(--lx-line), 0 -1px 0 var(--lx-line) !important; } }
@media (max-width:760px){ body.lumen #app .lx-kpis{ grid-template-columns: repeat(2, minmax(0,1fr)); } body.lumen #app .lx-kpi{ padding: 14px 14px 12px; } body.lumen #app .lx-kpi-v{ font-size:24px; line-height:28px; } body.lumen #app .lx-kpi-spark{ display:none; } }

/* 18.5 card, queue, lists, empty */
body.lumen #app .lx-card{ position:relative; z-index:1; min-width:0; background: var(--lx-surface); border-radius: var(--lx-r-card); box-shadow: var(--lx-e1); }
body.lumen #app .lx-card-h{ display:flex; align-items:center; gap:8px; min-height:48px; padding: 10px 12px 6px 16px; flex-wrap:wrap; }
body.lumen #app .lx-card-h > svg{ width:16px; height:16px; color: var(--lx-text-3); flex:none; }
body.lumen #app .lx-card-h h3{ margin:0 !important; font: 600 14px/20px var(--lx-font) !important; letter-spacing:-.01em !important; color: var(--lx-text) !important; display:flex; align-items:center; gap:8px; }
body.lumen #app .lx-card-h .lx-meta{ font: 450 12px/16px var(--lx-font); color: var(--lx-text-3); }
body.lumen #app .lx-card-t{ margin-left:auto; display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
body.lumen #app .lx-card-b{ padding: 4px 16px 16px; min-width:0; }
body.lumen #app .lx-card-b.flush{ padding: 0 0 4px; }
body.lumen #app .lx-card-f{ padding: 10px 16px; box-shadow: 0 -1px 0 var(--lx-line); display:flex; align-items:center; gap:14px; flex-wrap:wrap; font: 450 12px/16px var(--lx-font); color: var(--lx-text-3); }
body.lumen #app .lx-card > .lx-card-b > :is(.sf-card, .card, .dash-glance):only-child{ box-shadow:none !important; background:transparent !important; padding:0 !important; margin:0 !important; }
body.lumen .lx-count{ display:inline-grid; place-items:center; min-width:20px; height:20px; padding:0 6px; border-radius:10px; font: 600 11.5px/1 var(--lx-font); font-feature-settings: var(--lx-num); background: var(--lx-surface-3); color: var(--lx-text-2); }
body.lumen .lx-count.hot{ background: var(--lx-spark); color:#0d1117; }
body.lumen #app .lx-queue{ list-style:none; margin:0; padding:0; }
body.lumen #app .lx-q{ display:flex; align-items:center; gap:12px; min-height:56px; padding: 10px 0; box-shadow: 0 1px 0 var(--lx-line); }
body.lumen #app .lx-q:last-child{ box-shadow:none; }
body.lumen #app .lx-q-ic{ width:32px; height:32px; flex:none; display:grid; place-items:center; border-radius:8px; background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); color: var(--lx-text-2); }
body.lumen #app .lx-q.hot .lx-q-ic{ color: var(--lx-bad); background: var(--lx-bad-tint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lx-bad) 22%, transparent); }
body.lumen #app .lx-q-ic svg{ width:16px; height:16px; }
body.lumen #app .lx-q-m{ flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
body.lumen #app .lx-q-m b{ font: 550 13.5px/18px var(--lx-font); color: var(--lx-text); }
body.lumen #app .lx-q-m span{ font: 450 12.5px/17px var(--lx-font); color: var(--lx-text-3); overflow:hidden; text-overflow:ellipsis; }
body.lumen #app .lx-q-b{ flex:none; }
body.lumen #app .lx-q-a{ flex:none; display:flex; gap:6px; }
body.lumen #app .lx-q-clear{ display:flex; flex-wrap:wrap; gap: 6px 18px; margin: 4px -16px -16px; padding: 10px 16px 12px; box-shadow: 0 -1px 0 var(--lx-line); font: 450 12.5px/17px var(--lx-font); color: var(--lx-text-3); }
body.lumen #app .lx-q-clear span{ display:inline-flex; align-items:center; gap:6px; }
body.lumen #app .lx-q-clear svg{ width:14px; height:14px; color: var(--lx-ok); }
body.lumen #app .lx-list{ list-style:none; margin:0; padding:0; }
body.lumen #app .lx-list > li{ display:flex; align-items:center; gap:10px; min-height:40px; padding: 8px 0; box-shadow: 0 1px 0 var(--lx-line); font: 450 13px/18px var(--lx-font); color: var(--lx-text); }
body.lumen #app .lx-list > li:last-child{ box-shadow:none; }
body.lumen #app .lx-list .v{ margin-left:auto; font-weight:600; font-feature-settings: var(--lx-num); white-space:nowrap; }
body.lumen #app .lx-dot{ width:8px; height:8px; border-radius:2px; flex:none; }
body.lumen #app .lx-empty{ display:grid; place-items:center; text-align:center; padding: 28px 16px; gap:4px; }
body.lumen #app .lx-empty-art{ width:44px; height:44px; border-radius:12px; display:grid; place-items:center; background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); color: var(--lx-text-3); margin-bottom:8px; }
body.lumen #app .lx-empty-art svg{ width:20px; height:20px; }
body.lumen #app .lx-empty b{ font: 600 14px/20px var(--lx-font); color: var(--lx-text); }
body.lumen #app .lx-empty p{ margin:0; max-width:38ch; font: 450 13px/19px var(--lx-font); color: var(--lx-text-3); }
body.lumen #app .lx-empty .btn{ margin-top:10px; }
body.lumen .lx-badge{ display:inline-flex; align-items:center; gap:5px; height:20px; padding:0 7px; border-radius:6px; font: 550 11.5px/1 var(--lx-font); white-space:nowrap; background: var(--lx-surface-3); color: var(--lx-text-2); font-feature-settings: var(--lx-num); }
body.lumen .lx-badge.dot::before{ content:""; width:6px; height:6px; border-radius:50%; background: currentColor; }
body.lumen .lx-badge.ok{ background: var(--lx-ok-tint); color: var(--lx-ok); } body.lumen .lx-badge.warn{ background: var(--lx-warn-tint); color: var(--lx-warn); }
body.lumen .lx-badge.bad{ background: var(--lx-bad-tint); color: var(--lx-bad); } body.lumen .lx-badge.info{ background: var(--lx-info-tint); color: var(--lx-info); }
body.lumen .lx-badge.accent{ background: var(--lx-accent-tint); color: var(--lx-accent-text); }
body.lumen .lx-av{ width:28px; height:28px; flex:none; border-radius:50%; display:inline-grid; place-items:center; font: 600 10.5px/1 var(--lx-font); color:#0d1117; letter-spacing:0; }
body.lumen .lx-av-0{ background:#a5f3fc; } body.lumen .lx-av-1{ background:#ddd6fe; } body.lumen .lx-av-2{ background:#fde68a; } body.lumen .lx-av-3{ background:#bbf7d0; } body.lumen .lx-av-4{ background:#fecdd3; } body.lumen .lx-av-5{ background:#e2e8f0; }
body.lumen #app .lx-meter{ height:6px; border-radius:3px; background: var(--lx-surface-3); overflow:hidden; }
body.lumen #app .lx-meter i{ display:block; height:100%; border-radius:3px; background: var(--lx-accent); }

/* 18.6 tabs, segmented, toolbar, chips */
body.lumen #app .lx-tabs{ display:flex; gap:20px; margin: 0 0 16px; box-shadow: inset 0 -1px 0 var(--lx-line); overflow-x:auto; scrollbar-width:none; position:relative; z-index:1; }
body.lumen #app .lx-tabs::-webkit-scrollbar{ display:none; }
body.lumen #app .lx-tab{ all:unset; box-sizing:border-box; height:40px; display:inline-flex; align-items:center; gap:6px; flex:none; cursor:pointer; position:relative; font: 500 13px/1 var(--lx-font); color: var(--lx-text-3); white-space:nowrap; }
body.lumen #app .lx-tab:hover{ color: var(--lx-text); }
body.lumen #app .lx-tab.on{ color: var(--lx-text); }
body.lumen #app .lx-tab.on::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:2px; border-radius:2px; background: var(--lx-text); }
body.lumen #app .lx-tab:focus-visible{ box-shadow: var(--lx-focus); border-radius:6px; }
body.lumen #app .lx-tab svg{ width:14px; height:14px; }
body.lumen #app .lx-tab-n{ display:inline-grid; place-items:center; min-width:20px; height:18px; padding:0 5px; border-radius:9px; font: 600 11px/1 var(--lx-font); font-feature-settings: var(--lx-num); background: var(--lx-surface-3); color: var(--lx-text-2); }
body.lumen #app .lx-tab-n.hot{ background: var(--lx-spark); color:#0d1117; }
body.lumen #app .lx-seg{ display:inline-flex; gap:2px; padding:2px; border-radius: var(--lx-r-ctl); background: var(--lx-surface-3); box-shadow: inset 0 0 0 1px var(--lx-line); height: var(--lx-ctl-md); box-sizing:border-box; align-items:center; }
body.lumen #app .lx-seg > button{ all:unset; box-sizing:border-box; height: calc(var(--lx-ctl-md) - 4px); padding: 0 10px; display:inline-flex; align-items:center; gap:6px; border-radius:6px; cursor:pointer; font: 500 13px/1 var(--lx-font); color: var(--lx-text-2); white-space:nowrap; }
body.lumen #app .lx-seg > button:hover{ color: var(--lx-text); }
body.lumen #app .lx-seg > button.on{ background: var(--lx-surface); color: var(--lx-text); box-shadow: var(--lx-e1); }
body.lumen #app .lx-seg > button:focus-visible{ box-shadow: var(--lx-focus); }
body.lumen #app .lx-seg svg{ width:14px; height:14px; }
body.lumen #app .lx-card-t .lx-seg{ height: var(--lx-ctl-sm); } body.lumen #app .lx-card-t .lx-seg > button{ height: calc(var(--lx-ctl-sm) - 4px); font-size:12.5px; }
body.lumen #app .lx-toolbar{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin: 0 0 12px; position:relative; z-index:1; }
body.lumen #app .lx-toolbar .lx-grow{ flex:1; }
body.lumen #app .lx-toolbar :is(input, select, .btn){ height: var(--lx-ctl-sm) !important; min-height: var(--lx-ctl-sm) !important; font-size: var(--lx-fs-sm) !important; }
body.lumen #app .lx-toolbar .btn{ padding: 0 var(--lx-px-sm) !important; }
body.lumen #app .lx-toolbar :is(input.stu-search, .lx-search){ flex: 0 1 300px !important; min-width:180px !important; padding-left:32px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23858d9b' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3C/svg%3E") !important; background-repeat:no-repeat !important; background-position: 11px center !important; }
/* v1.357 (rulings 30 Sep, admin-7): search boxes outside a .lx-toolbar (their placeholder lost its 🔎 via lxSearchPh) get the same single magnifier; sizing is left alone */
body.lumen #app input.stu-search[data-lxs]{ padding-left:32px !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23858d9b' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3C/svg%3E") !important; background-repeat:no-repeat !important; background-position: 11px center !important; }
body.lumen #app .lx-toolbar select{ flex:none; max-width:200px; }
body.lumen #app .lx-toolbar .lx-chip{ gap:6px; }
body.lumen #app .lx-chip.on, body.lumen #app .lx-chip[aria-pressed="true"]{ background: var(--lx-accent-tint) !important; color: var(--lx-accent-text) !important; box-shadow: inset 0 0 0 1px var(--lx-accent-ring) !important; }
body.lumen #app .lx-chip.dashed{ box-shadow: none !important; outline: 1px dashed var(--lx-line-2); outline-offset:-1px; }
body.lumen #app .lx-banner{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; min-height:44px; margin: 0 0 12px; padding: 6px 8px 6px 14px; border-radius: var(--lx-r-card);
  background: var(--lx-bad-tint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lx-bad) 22%, transparent); font: 500 13px/18px var(--lx-font); color: var(--lx-text); position:relative; z-index:1; }
body.lumen #app .lx-banner > svg{ width:16px; height:16px; color: var(--lx-bad); flex:none; }
body.lumen #app .lx-banner b{ font-weight:600; } body.lumen #app .lx-banner .lx-meta{ color: var(--lx-text-2); }
body.lumen #app .lx-banner .btn{ margin-left:auto; }
body.lumen #app .lx-banner.ok{ background: var(--lx-ok-tint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lx-ok) 22%, transparent); } body.lumen #app .lx-banner.ok > svg{ color: var(--lx-ok); }
body.lumen #app .lx-banner.info{ background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); } body.lumen #app .lx-banner.info > svg{ color: var(--lx-text-3); }

/* 18.7 the table component — sticky head, 44 rows (36 compact), row actions on hover, footer */
body.lumen #app .lx-tablewrap{ position:relative; z-index:1; border-radius: var(--lx-r-card); background: var(--lx-surface); box-shadow: var(--lx-e1); overflow:clip; }
body.lumen #app .lx-tablewrap > table.list{ box-shadow:none !important; border-radius:0 !important; margin:0 !important; }
body.lumen #app :is(.lx-tablewrap, .lx-sticky) table.list th{ position:sticky; top: var(--lx-top-h); z-index:3; }
@media (max-width:760px){ body.lumen #app :is(.lx-tablewrap, .lx-sticky) table.list th{ top:56px; } }
/* v1.356 (portal audit 30 Sep) — on a phone the rule in 18.x (":has(> table.list){ overflow-x:auto }") makes every table's wrapper
   its own scroll box, so the 56px sticky offset is measured INSIDE the wrapper: the head row slid 56px down and covered the first
   data row (Front Desk "Arrivals today" showed only the header). Inside a scrolling wrapper the head sits at its top instead. */
@media (max-width:760px){ body.lumen #app :is(.lx-tablewrap, .lx-sticky):has(> table.list) table.list th,
  body.lumen #app :not(.sf-wrap):not(.wrap):not(tr):not(td):has(> table.list) > table.list th{ top:0; } }
body.lumen #app .lx-tablewrap .lx-tfoot{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; min-height:44px; padding: 6px 12px; box-shadow: 0 -1px 0 var(--lx-line); font: 450 12.5px/16px var(--lx-font); color: var(--lx-text-3); }
body.lumen #app .lx-tfoot kbd, body.lumen #app .lx-kbd{ display:inline-grid; place-items:center; min-width:18px; height:18px; padding:0 4px; border-radius:5px; font: 500 11px/1 var(--lx-font); color: var(--lx-text-3); background: var(--lx-surface); box-shadow: inset 0 0 0 1px var(--lx-line), inset 0 -1px 0 var(--lx-line); }
body.lumen #app .lx-who{ display:flex; align-items:center; gap:10px; min-width:0; }
body.lumen #app .lx-who > div{ min-width:0; display:flex; flex-direction:column; }
body.lumen #app .lx-who b{ font-weight:550; line-height:18px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body.lumen #app .lx-who .cx-ph, body.lumen #app .lx-who > div > span{ font: 450 12px/16px var(--lx-font) !important; color: var(--lx-text-3) !important; margin:0 !important; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
@media (hover:hover) and (min-width:761px){
  body.lumen #app .lx-tablewrap tr :is(.lx-rowact, .lz-acts) > :not(.lx-keep){ opacity:0; transition: opacity var(--lx-d-hover) ease; }
  body.lumen #app .lx-tablewrap tr:is(:hover, :focus-within, .lx-rowsel) :is(.lx-rowact, .lz-acts) > *{ opacity:1; }
}
body.lumen #app tr.lx-rowsel > td{ background: var(--lx-accent-tint) !important; }
body.lumen #app tr.lx-rowsel > td:first-child{ box-shadow: inset 2px 0 0 var(--lx-accent), inset 0 -1px 0 var(--lx-line) !important; }
body.lumen #app .lx-score{ display:inline-flex; align-items:center; gap:8px; font-weight:600; font-feature-settings: var(--lx-num); }
body.lumen #app .lx-score i{ display:inline-block; width:44px; height:4px; border-radius:2px; background: var(--lx-surface-3); position:relative; overflow:hidden; }
body.lumen #app .lx-score i::after{ content:""; position:absolute; inset:0 auto 0 0; width: var(--w); background: var(--lx-accent); border-radius:2px; }
body.lumen[data-lx-density="compact"] #app table.list td{ height:36px; padding-top:3px !important; padding-bottom:3px !important; }

/* 18.8 chart kit */
body.lumen #app .lx-chart{ display:grid; grid-template-columns: auto minmax(0,1fr); grid-template-rows: var(--h,180px) auto; column-gap:8px; row-gap:6px; min-width:0; }
body.lumen #app .lx-yax{ grid-row:1; display:flex; flex-direction:column; justify-content:space-between; align-items:flex-end; margin: -6px 0; font: 450 11px/12px var(--lx-font); color: var(--lx-text-3); font-feature-settings: var(--lx-num); min-width:22px; }
body.lumen #app .lx-plot{ grid-row:1; grid-column:2; position:relative; min-width:0; }
body.lumen #app .lx-plot > .lx-gl{ position:absolute; left:0; right:0; height:0; border-top: 1px solid var(--lx-viz-grid); display:block; }
body.lumen #app .lx-plot > .lx-gl:first-child{ border-top-color: var(--lx-line-2); }
body.lumen #app .lx-barrow{ position:absolute; inset:0; display:flex; align-items:flex-end; }
body.lumen #app .lx-bcol{ flex:1; height:100%; display:flex; align-items:flex-end; justify-content:center; position:relative; }
body.lumen #app .lx-bcol i{ display:block; width: min(28px, 56%); border-radius: 4px 4px 0 0; background: var(--lx-viz-1); transition: opacity var(--lx-d-hover) ease; }
body.lumen #app .lx-bcol.hi i{ background: var(--lx-accent); }
body.lumen #app .lx-barrow:hover .lx-bcol:not(:hover) i{ opacity:.4; }
body.lumen #app .lx-xax{ grid-row:2; grid-column:2; display:flex; font: 450 11px/12px var(--lx-font); color: var(--lx-text-3); font-feature-settings: var(--lx-num); }
body.lumen #app .lx-xax > span{ flex:1; text-align:center; white-space:nowrap; overflow:visible; }
body.lumen #app .lx-xax-pts > span{ flex:1; text-align:center; }
body.lumen #app .lx-xax-pts > span:first-child{ text-align:left; flex:.5; } body.lumen #app .lx-xax-pts > span:last-child{ text-align:right; flex:.5; }
body.lumen #app .lx-areachart svg{ position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
body.lumen #app .lx-area-f{ fill: var(--c); opacity:.10; }
body.lumen #app .lx-area-l{ fill:none; stroke: var(--c); stroke-width:2; stroke-linejoin:round; stroke-linecap:round; }
body.lumen #app .lx-area-l.dash{ stroke-dasharray: 4 4; }
body.lumen #app .lx-hitrow{ position:absolute; inset:0; display:flex; }
body.lumen #app .lx-hitrow > span{ flex:1; position:relative; }
body.lumen #app .lx-hitrow > span:first-child, body.lumen #app .lx-hitrow > span:last-child{ flex:.5; }
body.lumen #app .lx-hitrow > span:hover::after{ content:""; position:absolute; top:0; bottom:0; left:50%; border-left:1px dashed var(--lx-line-2); }
body.lumen #app .lx-hitrow > span:first-child:hover::after{ left:0; } body.lumen #app .lx-hitrow > span:last-child:hover::after{ left:auto; right:0; }
body.lumen #app .lx-legend{ display:flex; gap:14px; flex-wrap:wrap; margin-top:10px; font: 450 12px/16px var(--lx-font); color: var(--lx-text-2); }
body.lumen #app .lx-legend > span{ display:inline-flex; align-items:center; gap:6px; }
body.lumen #app .lx-legend i{ width:10px; height:3px; border-radius:2px; background: var(--c, currentColor); }
body.lumen #app .lx-hbars{ display:flex; flex-direction:column; gap:2px; }
body.lumen #app .lx-hb{ display:grid; grid-template-columns: minmax(84px, 38%) minmax(0,1fr) auto; align-items:center; gap:12px; min-height:34px; font: 450 13px/18px var(--lx-font); color: var(--lx-text); }
body.lumen #app .lx-hb-l{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color: var(--lx-text-2); }
body.lumen #app .lx-hb-t{ position:relative; height:8px; border-radius:4px; background: var(--lx-surface-3); }
body.lumen #app .lx-hb-t > i{ position:absolute; inset:0 auto 0 0; border-radius:4px; background: var(--lx-viz-1); }
body.lumen #app .lx-hb-mk{ position:absolute; top:-5px; bottom:-5px; width:2px; margin-left:-1px; background: var(--lx-text); border-radius:1px; }
body.lumen #app .lx-hb-v{ text-align:right; font-weight:600; font-feature-settings: var(--lx-num); white-space:nowrap; min-width:40px; }
body.lumen #app .lx-stack{ display:flex; gap:2px; height:10px; border-radius:5px; overflow:hidden; margin: 6px 0 10px; }
body.lumen #app .lx-stack > i{ display:block; height:100%; min-width:3px; }
body.lumen #app .lx-bighero{ display:flex; align-items:baseline; gap:6px; font: 600 40px/44px var(--lx-font); letter-spacing:-.035em; font-feature-settings: var(--lx-num); color: var(--lx-text); margin: 6px 0 4px; }
body.lumen #app .lx-bighero .lx-cur{ font-size:.55em; }
body.lumen #app .lx-hero-legend{ display:flex; gap:22px; flex-wrap:wrap; margin-left:auto; }
body.lumen #app .lx-hero-legend > div{ display:flex; flex-direction:column; gap:2px; font: 450 12.5px/16px var(--lx-font); color: var(--lx-text-3); }
body.lumen #app .lx-hero-legend > div > span{ display:inline-flex; align-items:center; gap:6px; }
body.lumen #app .lx-hero-legend > div > span i{ width:10px; height:3px; border-radius:2px; background: var(--c); }
body.lumen #app .lx-hero-legend b{ font: 600 17px/22px var(--lx-font); color: var(--lx-text); font-feature-settings: var(--lx-num); letter-spacing:-.01em; }
body.lumen #app .lx-herotop{ display:flex; gap:16px; flex-wrap:wrap; align-items:flex-start; margin-bottom:10px; }
body.lumen #app .lx-timeline{ list-style:none; margin:0; padding:0; }
body.lumen #app .lx-timeline li{ display:grid; grid-template-columns: 52px 14px minmax(0,1fr); gap:8px; align-items:start; padding: 6px 0; font: 450 13px/18px var(--lx-font); }
body.lumen #app .lx-timeline .t{ color: var(--lx-text-3); font-feature-settings: var(--lx-num); text-align:right; }
body.lumen #app .lx-timeline .d{ width:9px; height:9px; margin-top:4px; border-radius:50%; box-shadow: inset 0 0 0 2px var(--lx-line-2); justify-self:center; }
body.lumen #app .lx-timeline li.now .d{ box-shadow: inset 0 0 0 2px var(--lx-accent); background: var(--lx-accent-tint); }
body.lumen #app .lx-timeline b{ display:block; font-weight:550; } body.lumen #app .lx-timeline span.m{ display:block; font-size:12px; color: var(--lx-text-3); }

/* 18.9 the DRAWER (app.js drawer()) — the page stays live behind it */
body.lumen .overlay.lx-dov{ background: transparent !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important; pointer-events:none; animation:none !important; display:block !important; padding:0 !important; }
body.lumen .overlay.lx-dov > .panel.lx-drawer{ pointer-events:auto; position:fixed !important; top:8px; right:8px; bottom:8px; left:auto; width: min(560px, calc(100vw - 16px)) !important; max-width:none !important; max-height:none !important; margin:0 !important;
  padding:0 !important; display:flex !important; flex-direction:column; overflow:hidden; border-radius: var(--lx-r-panel) !important; box-shadow: var(--lx-e3) !important; animation: lx-drawer-in var(--lx-d-drawer) var(--lx-ease-drawer) both !important; text-align:left; }
body.lumen .overlay.lx-dov > .panel.lx-drawer:focus{ outline:none; }
body.lumen .overlay.lx-dov > .panel.lx-drawer-s360{ width: min(720px, calc(100vw - 16px)) !important; }
body.lumen .overlay.lx-dov > .panel.lx-drawer-lead{ width: min(960px, calc(100vw - 16px)) !important; }   /* lead panel (DECISIONS NEW · 20 Oct 2026): the lead drawer only */
@keyframes lx-drawer-in{ from{ transform: translateX(calc(100% + 16px)); } }
body.lumen .lx-drawer-h{ flex:none; display:flex; align-items:center; gap:8px; height:52px; padding: 0 10px 0 16px; box-shadow: 0 1px 0 var(--lx-line); background: var(--lx-raised); }
body.lumen .lx-drawer-id{ font: 500 12px/1 var(--lx-mono); color: var(--lx-text-3); }
body.lumen .lx-drawer-t{ font: 600 13px/1 var(--lx-font); color: var(--lx-text-2); }
body.lumen .lx-drawer-h .lx-grow{ flex:1; }
body.lumen .lx-dpos{ font: 450 12px/1 var(--lx-font); color: var(--lx-text-3); font-feature-settings: var(--lx-num); margin: 0 4px; }
body.lumen .lx-dsep{ width:1px; height:20px; background: var(--lx-line); margin: 0 2px; }
body.lumen .lx-dbtn{ all:unset; box-sizing:border-box; width:32px; height:32px; display:inline-grid; place-items:center; border-radius:8px; color: var(--lx-text-2); cursor:pointer; position:static !important; }
body.lumen .lx-dbtn:hover{ background: var(--lx-surface-3); color: var(--lx-text); }
body.lumen .lx-dbtn:focus-visible{ box-shadow: var(--lx-focus); }
body.lumen .lx-dbtn[disabled]{ opacity:.35; cursor:default; }
body.lumen .lx-dbtn svg{ width:16px; height:16px; }
body.lumen .lx-drawer-b{ flex:1; min-height:0; overflow:auto; overscroll-behavior:contain; padding: 20px; }
/* the hosted builders were written for a 940–980px modal: in a 560px column their two-column blocks stack */
body.lumen .lx-drawer-b :is(.cx-grid2, .cx-2col, .lc-2col, .s360-grid, .cust-dstats, .em-dgrid, .cx-hdr-chips){ grid-template-columns: minmax(0,1fr) !important; }
body.lumen .lx-drawer-b [style*="grid-template-columns"]:not(.lx-keepgrid){ grid-template-columns: minmax(0,1fr) !important; }
body.lumen .lx-drawer-s360 .lx-drawer-b [style*="grid-template-columns"]{ grid-template-columns: revert-layer !important; }
body.lumen .lx-drawer-b > :first-child{ margin-top:0 !important; }
body.lumen .lx-drawer-b .s360 > div:last-child:has(#dlg-cancel){ position:sticky; bottom:-20px; margin: 16px -20px -20px !important; padding: 12px 16px; background: var(--lx-raised); box-shadow: 0 -1px 0 var(--lx-line); }
/* ══ mc-ws · A-5 the log bar (MigrateCloud v2 ship 3, plan-A §2.3; Hallmark): Lumen tokens only; chips 28 (40 phone) with aria-pressed, inputs and
   Save at the house heights (32 page, 36 drawer, 40 phone), one primary; the drawer copy sticks to the drawer foot; phone: chips scroll sideways,
   date + Save on one row ══ */
body.lumen .mcw-lb{ display:flex; flex-direction:column; gap:8px; margin:16px 0 0; padding:12px; border-radius: var(--lx-r-card); background: var(--lx-surface-2); color: var(--lx-text); box-shadow: inset 0 0 0 1px var(--lx-line); font: 400 var(--lx-fs-md)/20px var(--lx-font); }
body.lumen .mcw-lb [hidden]{ display:none !important; }
body.lumen .lx-drawer-b .mcw-lb.mcw-lb-sticky{ position:sticky; bottom:-20px; z-index:4; margin: 16px -20px -20px; padding: 8px 20px; border-radius:0; background: var(--lx-raised); box-shadow: 0 -1px 0 var(--lx-line); }
body.lumen .mcw-lb.mcw-lb-compact{ margin:4px 0 8px; padding:8px 12px; }
body.lumen .mcw-lb-row{ display:flex; align-items:center; gap:8px; min-width:0; }
body.lumen .mcw-lb-chips{ display:flex; align-items:center; flex-wrap:wrap; gap:6px; flex:1; min-width:0; }
body.lumen .mcw-lb .mcw-lb-chip{ display:inline-flex; align-items:center; height: var(--lx-ctl-sm); padding: 0 var(--lx-px-md); border:0; border-radius: var(--lx-r-ctl); background: transparent; color: var(--lx-text-2); box-shadow: inset 0 0 0 1px var(--lx-line-2); font: 500 var(--lx-fs-sm)/1 var(--lx-font); white-space:nowrap; cursor:pointer; transition: background var(--lx-d-hover), color var(--lx-d-hover); }
body.lumen .mcw-lb .mcw-lb-chip:hover{ background: var(--lx-surface-3); color: var(--lx-text); }
body.lumen .mcw-lb .mcw-lb-chip[aria-pressed="true"]{ background: var(--lx-accent-tint); color: var(--lx-accent-text); box-shadow: inset 0 0 0 1px var(--lx-accent-ring); }
body.lumen .mcw-lb .mcw-lb-chip:focus-visible{ outline:none; box-shadow: var(--lx-focus); }
body.lumen .mcw-lb .mcw-lb-chip:disabled{ opacity:.45; cursor:not-allowed; }
body.lumen .mcw-lb .mcw-lb-more{ flex:none; gap:4px; }
body.lumen .mcw-lb-body{ display:flex; flex-direction:column; gap:8px; }
body.lumen .mcw-lb .mcw-lb-note{ width:100%; min-width:0; }
body.lumen .mcw-lb-next{ display:flex; align-items:flex-end; flex-wrap:wrap; gap:8px; }
body.lumen .mcw-lb-f{ display:flex; flex-direction:column; gap:4px; min-width:0; font: 500 12px/16px var(--lx-font); color: var(--lx-text-2); }
body.lumen .mcw-lb .mcw-lb-f :is(input, select){ width:100%; min-width:0; max-width:none; }
body.lumen .mcw-lb-f.mcw-lb-act{ flex: 1 1 200px; }
body.lumen .mcw-lb-f.mcw-lb-date{ flex: 0 0 156px; }
body.lumen .mcw-lb .mcw-lb-save{ flex:none; }
body.lumen .mcw-lb-msg:empty{ display:none; }
body.lumen .mcw-lb .mcw-lb-bad{ display:flex; align-items:center; gap:8px; margin:0; padding:8px 12px; border-radius: var(--lx-r-ctl); background: var(--lx-bad-tint); color: var(--lx-text); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lx-bad) 22%, transparent); font: 500 13px/18px var(--lx-font); }
body.lumen .mcw-lb .mcw-lb-bad > svg{ width:16px; height:16px; flex:none; color: var(--lx-bad); }
body.lumen .mcw-lb .mcw-lb-ok{ display:flex; align-items:center; gap:6px; background: transparent; color: var(--lx-text-2); font: 500 12px/16px var(--lx-font); }
body.lumen .mcw-lb .mcw-lb-ok > svg{ flex:none; color: var(--lx-ok); }
@media (max-width:760px){
  body.lumen .lx-drawer-b .mcw-lb.mcw-lb-sticky{ bottom: calc(-24px - env(safe-area-inset-bottom)); margin: 16px -16px calc(-24px - env(safe-area-inset-bottom)); padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); }
  body.lumen .mcw-lb-chips{ flex-wrap:nowrap; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:none; }
  body.lumen :is(#app, .overlay) .mcw-lb :is(.mcw-lb-chip, .mcw-lb-more){ flex:none; height: var(--lx-ctl-md) !important; min-height: var(--lx-ctl-md) !important; }
  body.lumen .mcw-lb-f.mcw-lb-act{ flex: 1 1 100%; }
  body.lumen .mcw-lb-f.mcw-lb-date{ flex: 1 1 0; }
}
/* ══ /mc-ws A-5 ══ */
/* ══ mc-ws · A-13 Move, Move back, Ask to move, the file menu, Defer, close and Reopen (MigrateCloud v2 ship 3, plan-A §2.1, §2.13, IF-13;
   Hallmark): Lumen tokens only; a native dialog 480 px on the raised surface (a full-width bottom sheet on phones), dialog controls at the
   house dialog height (36, 44 phone), one primary; the file menu drops from its button (32 px rows) and is a bottom sheet on phones (44 px
   rows); light text never sits on a token background without its own ══ */
body.lumen dialog.mcw-dlg{ width:min(480px, calc(100% - 32px)); max-width:none; max-height: calc(100dvh - 48px); margin:auto; padding:0; border:0; border-radius: var(--lx-r-panel); background: var(--lx-raised); color: var(--lx-text); box-shadow: var(--lx-e3); font: 400 var(--lx-fs-md)/20px var(--lx-font); overflow:auto; overscroll-behavior:contain; }
body.lumen dialog.mcw-dlg::backdrop{ background: var(--lx-scrim); }
body.lumen .mcw-dlg-f{ display:flex; flex-direction:column; margin:0; }
body.lumen .mcw-dlg-hd{ padding: 20px 20px 0; }
body.lumen .mcw-dlg .mcw-dlg-h{ margin:0; font: 600 16px/24px var(--lx-font); color: var(--lx-text); letter-spacing:0; text-transform:none; }
body.lumen .mcw-dlg-sub{ margin: 4px 0 0; font: 400 var(--lx-fs-sm)/16px var(--lx-font); color: var(--lx-text-2); overflow-wrap:anywhere; }
body.lumen .mcw-dlg-b{ display:flex; flex-direction:column; gap:12px; padding: 16px 20px; min-width:0; }
body.lumen .mcw-dlg-p{ margin:0; color: var(--lx-text-2); }
body.lumen .mcw-dlg-fl{ display:flex; flex-direction:column; gap:4px; min-width:0; font: 500 12px/16px var(--lx-font); color: var(--lx-text-2); }
body.lumen .mcw-dlg :is(input:is([type="text"], [type="date"]), select){ box-sizing:border-box; width:100%; min-width:0; height: var(--lx-ctl-lg); min-height: var(--lx-ctl-lg); padding: 0 var(--lx-px-md); border:0; border-radius: var(--lx-r-ctl); background-color: var(--lx-surface); color: var(--lx-text); box-shadow: var(--lx-e1); font: 450 var(--lx-fs-md)/normal var(--lx-font); outline:none; }
body.lumen .mcw-dlg select{ -webkit-appearance:none; appearance:none; padding-right: 30px; cursor:pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23858d9b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 6.5 3.5 3.5 3.5-3.5'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position: right 8px center; background-size:16px; }
body.lumen .mcw-dlg select option{ background: var(--lx-raised); color: var(--lx-text); }
body.lumen .mcw-dlg :is(input, select):focus{ box-shadow: 0 0 0 1px var(--lx-accent), 0 0 0 4px var(--lx-accent-tint); }
body.lumen .mcw-dlg :is(input, select):disabled{ opacity:.55; cursor:not-allowed; }
body.lumen .mcw-dlg input::placeholder{ color: var(--lx-text-3); opacity:1; }
body.lumen .mcw-dlg-ban{ display:flex; align-items:flex-start; gap:8px; padding: 8px 12px; border-radius: var(--lx-r-ctl); background: var(--lx-surface-2); color: var(--lx-text); box-shadow: inset 0 0 0 1px var(--lx-line); font: 400 13px/18px var(--lx-font); }
body.lumen .mcw-dlg-ban.bad{ background: var(--lx-bad-tint); color: var(--lx-text); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lx-bad) 22%, transparent); }
body.lumen .mcw-dlg-ban > svg{ width:16px; height:16px; flex:none; margin-top:1px; color: var(--lx-text-3); }
body.lumen .mcw-dlg-ban.bad > svg{ color: var(--lx-bad); }
body.lumen .mcw-dlg-ban > div{ flex:1; min-width:0; }
body.lumen .mcw-dlg-ban ul{ margin: 4px 0 0; padding-left: 18px; }
body.lumen .mcw-dlg-ban .btn{ flex:none; }
body.lumen .mcw-dlg-tg:empty, body.lumen .mcw-dlg-msg:empty{ display:none; }
body.lumen .mcw-dlg-acts{ display:flex; justify-content:flex-end; gap:8px; padding: 12px 20px 20px; }
body.lumen dialog#mcw-dlg .mcw-dlg-acts .btn{ height: var(--lx-ctl-lg) !important; min-height: var(--lx-ctl-lg) !important; }   /* the id outranks the house :is(#app, .overlay, .lx-scope) .btn (md) */
body.lumen .mcw-mvrow{ display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin: 6px 0 8px; min-width:0; }
body.lumen .mcw-mvrow-t{ flex: 1 1 180px; min-width:0; font: 500 var(--lx-fs-md)/20px var(--lx-font); color: var(--lx-text-2); }
body.lumen .mcw-mvrow-t:empty{ display:none; }
body.lumen .mcw-mvrow-a{ display:flex; align-items:center; flex-wrap:wrap; gap:6px; min-width:0; }
body.lumen .mcw-menu{ position:relative; display:inline-flex; }
body.lumen .mcw-menu-list{ position:absolute; right:0; top: calc(100% + 4px); z-index:40; display:flex; flex-direction:column; min-width:220px; padding:4px; border-radius: var(--lx-r-ctl); background: var(--lx-raised); color: var(--lx-text); box-shadow: var(--lx-e2); }
body.lumen .mcw-menu-list[hidden]{ display:none; }
body.lumen .mcw-menu .mcw-mi{ display:flex; align-items:center; gap:8px; height: var(--lx-ctl-md); min-height: var(--lx-ctl-md); padding: 0 var(--lx-px-sm); border:0; border-radius: var(--lx-r-sm); background: transparent; color: var(--lx-text); font: 450 var(--lx-fs-md)/1 var(--lx-font); text-align:left; white-space:nowrap; cursor:pointer; }
body.lumen .mcw-menu .mcw-mi:is(:hover, :focus-visible){ background: var(--lx-surface-3); color: var(--lx-text); outline:none; }
body.lumen .mcw-menu .mcw-mi > svg{ width:16px; height:16px; flex:none; color: var(--lx-text-3); }
body.lumen .mcw-menu-sep{ height:1px; margin: 4px 0; background: var(--lx-line); }
@media (max-width:760px){
  body.lumen dialog.mcw-dlg{ width:100%; max-height: 92dvh; margin: auto 0 0; border-radius: 16px 16px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  body.lumen .mcw-dlg-hd{ padding: 16px 16px 0; }
  body.lumen .mcw-dlg-b{ padding: 12px 16px; }
  body.lumen .mcw-dlg-acts{ padding: 12px 16px 16px; }
  body.lumen .mcw-dlg-acts .btn{ flex: 1 1 0; }
  body.lumen .mcw-dlg :is(input:is([type="text"], [type="date"]), select){ font-size:16px; }
  body.lumen .mcw-menu-list{ position:fixed; left:0; right:0; top:auto; bottom:0; z-index:90; min-width:0; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); border-radius: 16px 16px 0 0; background: var(--lx-raised); box-shadow: 0 0 0 100vmax var(--lx-scrim), var(--lx-e3); }
  body.lumen .mcw-menu .mcw-mi{ height: var(--lx-ctl-xl); min-height: var(--lx-ctl-xl); }
}
/* ══ /mc-ws A-13 ══ */
/* ══ mcs · V-b lodge reasons with Ask buttons, the Duties seniors picker (MigrateCloud v2 ship 3, plan-S V1; MASTER-v2 §f Hallmark): Lumen
   tokens only; one banner (bad = not lodged or blocked, warn = lodged or will lodge with open items; ANik 13 Nov A1 warn-only), the Ask
   buttons keep the house small height (28, 32 on phones); every text colour sits on the banner's own background ══ */
body.lumen .mcs-lg{ display:flex; flex-direction:column; gap:8px; min-width:0; margin: 8px 0 0; padding: 10px 12px; border-radius: var(--lx-r-ctl); background: var(--lx-warn-tint); color: var(--lx-text); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lx-warn) 22%, transparent); font: 400 13px/18px var(--lx-font); text-align:left; }
body.lumen .mcs-lg.bad{ background: var(--lx-bad-tint); color: var(--lx-text); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lx-bad) 22%, transparent); }
body.lumen .mcs-lg-hd{ display:flex; align-items:flex-start; gap:8px; min-width:0; }
body.lumen .mcs-lg-hd > svg{ width:16px; height:16px; flex:none; margin-top:1px; color: var(--lx-warn); }
body.lumen .mcs-lg.bad .mcs-lg-hd > svg{ color: var(--lx-bad); }
body.lumen .mcs-lg-hd > div{ flex:1; min-width:0; overflow-wrap:anywhere; }
body.lumen .mcs-lg-hd b{ font-weight:600; color: var(--lx-text); }
body.lumen .mcs-lg-list{ display:flex; flex-direction:column; gap:6px; margin:0; padding: 0 0 0 24px; list-style:none; }
body.lumen .mcs-lg-list li{ display:flex; align-items:center; flex-wrap:wrap; gap:6px 10px; min-width:0; }
body.lumen .mcs-lg-why{ flex: 1 1 200px; min-width:0; overflow-wrap:anywhere; }
body.lumen .mcs-lg .btn{ flex:none; }
body.lumen .mcs-lg-msg{ margin:0; padding-left:24px; font: 500 12px/16px var(--lx-font); color: var(--lx-text); overflow-wrap:anywhere; }
body.lumen .mcs-lg-msg:empty{ display:none; }
body.lumen .mcs-lg-msg.bad{ color: var(--lx-bad); }
body.lumen .mcs-sr{ width:16px; height:16px; }
@media (max-width:760px){
  body.lumen .mcs-lg-list, body.lumen .mcs-lg-msg{ padding-left:0; }
}
/* ══ /mcs V-b ══ */
/* ══ mc-ws · A-15 Add a new lead (MigrateCloud v2 ship 3, plan-A §2.5; Hallmark): the 560 px dialog, labels above (12/16), inputs and buttons
   at the dialog height (36, phone 44), destination chips 28 (40 phone) with aria-pressed, the follow-up segment, the phone answer line under
   the field (P-X's personPanelHTML .px-panel, drawn here only), one primary; phone: one column, no sideways scroll. Lumen tokens only. ══ */
body.lumen .mcw-al{ display:flex; flex-direction:column; gap:16px; margin-top:12px; min-width:0; background: transparent; color: var(--lx-text); font: 400 var(--lx-fs-md)/20px var(--lx-font); }
body.lumen .mcw-al [hidden]{ display:none !important; }
body.lumen .overlay .panel .mcw-al-t{ margin:0; padding-right:40px; }
body.lumen .mcw-al-grid{ display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:12px 16px; min-width:0; }
body.lumen .mcw-al-f{ display:flex; flex-direction:column; gap:4px; min-width:0; }
body.lumen .mcw-al-f.mcw-al-wide{ grid-column: 1 / -1; }
body.lumen .overlay .panel .mcw-al-f > label, body.lumen .mcw-al-l{ margin:0; background: transparent; color: var(--lx-text-2); font: 500 12px/16px var(--lx-font); letter-spacing:0; text-transform:none; }
body.lumen .mcw-al-req{ background: transparent; color: var(--lx-bad); }
body.lumen .mcw-al .mcw-al-f :is(input, select, textarea){ width:100%; min-width:0; max-width:none; box-sizing:border-box; margin:0; }
/* the plan's dialog height (36, phone 44): the house :is(#app, .overlay) field rule outranks .overlay .panel's lg rule by its #app, so #dlg here */
body.lumen #dlg .mcw-al .mcw-al-f :is(input:not([type="checkbox"]):not([type="radio"]):not([type="date"]):not([hidden]), input[type="date"], select), body.lumen #dlg .mcw-al-foot > .btn{ height: var(--lx-ctl-lg) !important; min-height: var(--lx-ctl-lg) !important; }
body.lumen .mcw-al-help, body.lumen .mcw-al-meta{ display:flex; align-items:center; gap:6px; margin:0; background: transparent; color: var(--lx-text-3); font: 400 12px/16px var(--lx-font); }
body.lumen .mcw-al-help.bad{ background: transparent; color: var(--lx-bad); }
body.lumen :is(#app, .overlay) .mcw-al [aria-invalid="true"]{ box-shadow: 0 0 0 1px var(--lx-bad) !important; }
body.lumen .mcw-al-chips{ display:flex; flex-wrap:wrap; gap:6px; min-width:0; }
body.lumen .mcw-al .mcw-al-chip{ display:inline-flex; align-items:center; height: var(--lx-ctl-sm); padding: 0 var(--lx-px-md); border:0; border-radius: var(--lx-r-ctl); background: transparent; color: var(--lx-text-2); box-shadow: inset 0 0 0 1px var(--lx-line-2); font: 500 var(--lx-fs-sm)/1 var(--lx-font); white-space:nowrap; cursor:pointer; transition: background var(--lx-d-hover), color var(--lx-d-hover); }
body.lumen .mcw-al .mcw-al-chip:hover{ background: var(--lx-surface-3); color: var(--lx-text); }
body.lumen .mcw-al .mcw-al-chip[aria-pressed="true"]{ background: var(--lx-accent-tint); color: var(--lx-accent-text); box-shadow: inset 0 0 0 1px var(--lx-accent-ring); }
body.lumen .mcw-al .mcw-al-chip[data-main]{ font-weight:600; }
body.lumen .mcw-al .mcw-al-chip:focus-visible, body.lumen .mcw-al .mcw-al-segb:focus-visible{ outline:none; box-shadow: var(--lx-focus); }
body.lumen .mcw-al-none{ background: transparent; color: var(--lx-text-2); font: 400 13px/20px var(--lx-font); }
body.lumen .mcw-al-seg{ display:inline-flex; align-self:flex-start; align-items:center; gap:2px; max-width:100%; height: var(--lx-ctl-lg); padding:2px; box-sizing:border-box; border-radius: var(--lx-r-ctl); background: var(--lx-surface-3); box-shadow: inset 0 0 0 1px var(--lx-line); }
body.lumen .mcw-al .mcw-al-segb{ all:unset; box-sizing:border-box; display:inline-flex; align-items:center; height: calc(var(--lx-ctl-lg) - 4px); padding: 0 10px; border-radius:6px; background: transparent; color: var(--lx-text-2); font: 500 13px/1 var(--lx-font); white-space:nowrap; cursor:pointer; }
body.lumen .mcw-al .mcw-al-segb:hover{ background: transparent; color: var(--lx-text); }
body.lumen .mcw-al .mcw-al-segb[aria-pressed="true"]{ background: var(--lx-surface); color: var(--lx-text); box-shadow: var(--lx-e1); }
body.lumen .mcw-al-ans:empty{ display:none; }
body.lumen .mcw-al-ans .px-panel{ display:flex; flex-direction:column; gap:6px; margin:0; padding:8px 12px; border-radius: var(--lx-r-ctl); background: var(--lx-surface-2); color: var(--lx-text); box-shadow: inset 0 0 0 1px var(--lx-line); }
body.lumen .mcw-al-ans .px-line{ display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:0; background: transparent; color: var(--lx-text); font: 400 12px/16px var(--lx-font); }
body.lumen .mcw-al-ans .px-line > svg{ flex:none; background: transparent; color: var(--lx-text-3); }
body.lumen .mcw-al-ans .px-line > span{ flex:1 1 180px; min-width:0; }
body.lumen .mcw-al-ans .px-line b{ font-weight:600; }
body.lumen .mcw-al-ans .px-line > .btn{ flex:none; margin-left:auto; }
body.lumen .mcw-al-spin{ flex:none; width:14px; height:14px; box-sizing:border-box; border-radius:50%; border:2px solid var(--lx-line-2); border-top-color: var(--lx-text-2); animation: mcw-al-spin .8s linear infinite; }
@keyframes mcw-al-spin{ to{ transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce){ body.lumen .mcw-al-spin{ animation:none; } }
body.lumen .overlay .panel .en-more.mcw-al-more{ margin-top:0 !important; }
body.lumen .mcw-al-more > .mcw-al-grid{ padding: 4px 12px 12px; }
body.lumen .mcw-al-msg:empty{ display:none; }
body.lumen .mcw-al .mcw-al-bad{ display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:0; padding:6px 8px 6px 12px; border-radius: var(--lx-r-ctl); background: var(--lx-bad-tint); color: var(--lx-text); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lx-bad) 22%, transparent); font: 500 13px/18px var(--lx-font); }
body.lumen .mcw-al .mcw-al-bad > svg{ width:16px; height:16px; flex:none; background: transparent; color: var(--lx-bad); }
body.lumen .mcw-al .mcw-al-bad > span{ flex:1 1 200px; min-width:0; }
body.lumen .mcw-al-foot{ display:flex; justify-content:flex-end; align-items:center; gap:8px; }
@media (max-width:760px){
  body.lumen .mcw-al-grid{ grid-template-columns: minmax(0, 1fr); }
  body.lumen :is(#app, .overlay) .mcw-al .mcw-al-chip{ height: var(--lx-ctl-md) !important; min-height: var(--lx-ctl-md) !important; }
  body.lumen .mcw-al-seg{ align-self:stretch; }
  body.lumen .mcw-al .mcw-al-segb{ flex:1 1 0; justify-content:center; }
  body.lumen .mcw-al-foot > .btn{ flex:1 1 0; }
}
/* ══ /mc-ws A-15 ══ */
@media (max-width:760px){
  body.lumen .overlay.lx-dov > .panel.lx-drawer{ top: 6dvh; left:0; right:0; bottom:0; width:100% !important; border-radius: 16px 16px 0 0 !important; animation-name: lx-sheet-in !important; }
  body.lumen .overlay.lx-dov::before{ content:""; position:fixed; inset:0; background: var(--lx-scrim); pointer-events:auto; }
  body.lumen .lx-drawer-b{ padding: 16px 16px calc(24px + env(safe-area-inset-bottom)); }
  body.lumen .lx-dpos{ display:none; }
}
/* 25 Sep (ANik) — a drawer that replaces an open drawer (Student 360 tab change, re-render, next record) stays still: no slide-in */
body.lumen .overlay.lx-dov.lx-dswap > .panel.lx-drawer{ animation:none !important; }
@keyframes lx-sheet-in{ from{ transform: translateY(100%); } }

/* 18.10 Sales — the leads page */
body.lumen #app .lx-leadtbl td .cx-ph{ margin:0 !important; }
body.lumen #app .lx-pooltbl td{ white-space:nowrap; }
body.lumen #app .lx-pooltbl td.lx-wrap{ white-space:normal; }
body.lumen #app .lx-pooltbl .lx-rowact{ display:flex; gap:6px; justify-content:flex-end; align-items:center; }
body.lumen #app .lx-pooltbl .lx-rowact select{ max-width:150px; }
body.lumen #app .lx-wait{ font-feature-settings: var(--lx-num); }

/* 18.11 Front Desk inside the shell */
body.lumen #app .lx-fd-acts{ margin: 0 0 16px; position:relative; z-index:1; }
body.lumen #app .lx-fd-acts .fd-desk{ margin:0 !important; background:none !important; box-shadow:none !important; }
body.lumen #app .lx-fd-acts .fd-desk > .sf-card-h{ display:none !important; }
body.lumen #app .lx-fd-acts .fd-desk > .sf-card-b{ padding:0 !important; }
body.lumen #app .lx-tablewrap.lx-flat{ box-shadow:none; border-radius:0; }

/* 18.12 Teacher — the marking workspace (renderEvaluate): essay column | sticky scoring panel per task */
body.lumen #app .lx-evalws > .we-wrap{ max-width:none !important; margin:0 !important; padding:0 !important; }
body.lumen #app .we-wrap .answer-box{ font: 450 15.5px/28px var(--lx-font) !important; max-width:72ch; white-space:pre-wrap; padding: 16px 18px !important; border-radius:10px !important;
  background: var(--lx-surface-2) !important; box-shadow: inset 0 0 0 1px var(--lx-line) !important; border:0 !important; color: var(--lx-text) !important; }
@media (min-width:1100px){
  body.lumen #app .we-wrap .we-card:not(.we-blank){ display:grid !important; grid-template-columns: minmax(0,1fr) 392px; column-gap:24px; align-items:start; }
  body.lumen #app .we-wrap .we-card:not(.we-blank) > *{ grid-column:1; min-width:0; }
  body.lumen #app .we-wrap .we-card:not(.we-blank) > h3{ grid-column: 1 / -1; }
  body.lumen #app .we-wrap .we-card:not(.we-blank) > .we-split{ grid-column:2; grid-row: 2 / span 3; display:flex !important; flex-direction:column; gap:14px; position:sticky; top: calc(var(--lx-top-h) + 16px);
    margin:0 !important; padding:16px !important; border-radius:12px; background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); }
  body.lumen #app .we-wrap .we-card:not(.we-blank) > .we-split > .we-split-r{ order:-1; }
  body.lumen #app .we-wrap .we-card:not(.we-blank) > .we-remarks{ grid-column:2; }
}
body.lumen #app .we-wrap .we-actions{ position:sticky; bottom:8px; z-index:5; display:flex; justify-content:flex-end; gap:8px; padding: 10px 12px; margin-top:16px; border-radius:12px;
  background: color-mix(in srgb, var(--lx-surface) 90%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--lx-e2); }
/* 18.13 misc */
body.lumen #app .lx-more{ margin-top:8px; }
body.lumen #app .lx-hide{ display:none !important; }
body.lumen #app .lx-inline-note{ font: 450 12.5px/17px var(--lx-font); color: var(--lx-text-3); }
body.lumen #app .lx-link{ all:unset; cursor:pointer; display:inline-flex; align-items:center; gap:4px; font: 500 12.5px/16px var(--lx-font); color: var(--lx-accent-text); }
body.lumen #app .lx-link:hover{ text-decoration:underline; }
body.lumen #app .lx-link svg{ width:14px; height:14px; }
body.lumen #app button.lx-link{ height:28px; box-sizing:border-box; }   /* Lumen control heights (harness/lumen.js B3): a button link is a control (e.g. "Routine →" on Today at the centre); <a> links keep the text line */
body:not(.lumen) :is(.lx-ph-tile, .lx-sidefoot, .lx-drawer-h){ display:none !important; }
/* 18.14 dashboards — bits the eight home screens share */
body.lumen #app .lx-hr-legacy > .fx2 > :is(.fx-orbs, .fin-dash-hd, .fx-hero, .fx-stats){ display:none !important; }
body.lumen #app .lx-hr-legacy > .fx2 > .fx-hero + .fx-sec{ display:none !important; }
body.lumen #app .lx-hr-legacy > .fx2{ padding:0 !important; background:none !important; }
body.lumen #app .lx-presence{ margin:0 0 0 4px !important; height:22px; padding: 0 8px !important; border-radius:11px !important; font: 500 12px/1 var(--lx-font) !important; display:inline-flex !important; align-items:center; gap:6px; cursor:pointer;
  background: var(--lx-surface) !important; box-shadow: inset 0 0 0 1px var(--lx-line) !important; color: var(--lx-text-2) !important; border:0 !important; }
body.lumen #app .lx-live-dot{ width:7px; height:7px; border-radius:50%; background: var(--lx-ok); box-shadow: 0 0 0 3px var(--lx-ok-tint); }
body.lumen #app #lx-wx:empty, body.lumen #app #lx-wx:empty + .lx-dotsep{ display:none; }
body.lumen #app .lx-ph-act .lx-fdbnew{ position:relative; }
body.lumen #app .lx-ph-act .lx-fdbnew .fdb-newbtn{ height: var(--lx-ctl-md) !important; min-height: var(--lx-ctl-md) !important; font-size: var(--lx-fs-md) !important; padding: 0 var(--lx-px-md) !important; }
body.lumen #app .lx-ph-act .lx-gsearch{ width:280px; max-width:100%; }
body.lumen #app .lx-ph-act .lx-gsearch .gsearch-input{ height: var(--lx-ctl-md) !important; min-height: var(--lx-ctl-md) !important; padding-left:34px !important; }
body.lumen #app .lx-ph-act .lx-gsearch .gsearch-ic{ position:absolute; left:10px; top:50%; transform:translateY(-50%); color: var(--lx-text-3); display:inline-grid; }
body.lumen #app .lx-ph-act .lx-gsearch{ position:relative; }
body.lumen #app .lx-donext .ab-q-list{ margin: 0 -4px; }
body.lumen #app .lx-donext .nm-row{ margin: 0 !important; }
body.lumen #app .lx-fin-hero{ cursor:pointer; }
body.lumen #app .lx-cashbank .fdb-acct{ margin:0 !important; box-shadow: 0 1px 0 var(--lx-line); }
body.lumen #app .lx-cashbank .fdb-acct:last-of-type{ box-shadow:none; }
body.lumen #app .lx-card .ab-rcard, body.lumen #app .lx-grid > .ab-rcard{ margin:0 !important; }
body.lumen #app .lx-card > .lx-card-b > .dash-glance > .dg-h{ display:none !important; }
body.lumen #app .lx-card > .lx-card-b > .dash-glance{ margin:0 !important; }
@media (min-width:981px){ body.lumen #app .lx-ph-act{ flex-wrap:nowrap; flex:none; } }
body.lumen #app .lx-tablewrap > table.list{ overflow:visible !important; }
/* 18.15 re-measured with data (layout pass): three leftovers that only render with a campaign / a rep row */
body.lumen #app .mkt-chip{ height: var(--lx-ctl-sm) !important; min-height: var(--lx-ctl-sm) !important; min-width: var(--lx-ctl-sm); padding: 0 8px !important; display:inline-grid !important; place-items:center; border:0 !important;
  border-radius: var(--lx-r-ctl) !important; background: transparent !important; color: var(--lx-text-2) !important; box-shadow: inset 0 0 0 1px var(--lx-line) !important; font: 500 12.5px/1 var(--lx-font) !important; }
body.lumen #app .mkt-pace{ color: var(--lx-text-2) !important; font-size:11.5px !important; }
body.lumen #app [style*="#2e844a"]{ color: var(--lx-ok) !important; }
/* 18.16 drawer + sidebar fit */
body.lumen .lx-drawer-b .cx-cbar .cx-cbtn small{ display:none !important; }   /* the 3-up Call · WhatsApp · Email row fits 560px; the number is on the button's tel:/wa.me link */
body.lumen .lx-drawer-b .cx-cbar .cx-cbtn{ min-width:0; }
@media (min-width:761px){ body.lumen.lx-sh #app > .topbar .tb-search{ min-width:0 !important; max-width: calc(var(--lx-side-w) - 16px) !important; box-sizing:border-box !important; } }
body.lumen .lx-drawer-b :is(.em-neCard, .lc-grid2){ grid-template-columns: minmax(0,1fr) !important; }
body.lumen .lx-drawer-b .cx-addbar{ grid-template-columns: repeat(3, minmax(0,1fr)) !important; }
/* v1.356 (portal audit 30 Sep) — on a phone the 3-up add row clipped to "Add phor…"; let the label wrap inside its button */
@media (max-width:560px){ body.lumen .lx-drawer-b .cx-addbar .cx-cbtn{ padding:8px !important; gap:6px !important; } body.lumen .lx-drawer-b .cx-addbar .cx-cbtn-1l{ white-space:normal !important; line-height:1.15; } }
/* lead panel (DECISIONS NEW · 20 Oct 2026 "Lead panel"; app.js leadPanelBind): the top — who, the call row, the stage, the chips, the tabs —
   stays put while the tab below scrolls; on a phone only the tab bar stays (the top scrolls away: .lc-top becomes its children) */
body.lumen .lx-drawer-lead .lc-top{ position:sticky; top:-20px; z-index:5; margin:-20px -20px 0; padding:14px 20px 0; background: var(--lx-raised); box-shadow: 0 1px 0 var(--lx-line); }
body.lumen .lx-drawer-lead .lc-top .cx-head{ margin-bottom:6px; }
body.lumen .lx-drawer-lead .lc-top .cx-cbar:not(.cx-addbar){ grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)) !important; margin:8px 0 4px; }
body.lumen .lx-drawer-lead .lc-top .cx-stagew{ margin:6px 0 0; padding:8px 12px; }
body.lumen .lx-drawer-lead .lc-tabs{ margin:8px 0 0; border-bottom:0; }
@media (min-width:1100px){ body.lumen .lx-drawer-lead .lx-drawer-b .cx-cbar .cx-cbtn small{ display:inline !important; } }
body.lumen .lx-drawer-lead .lc-callpick{ background: var(--lx-raised) !important; color: var(--lx-text) !important; border-color: var(--lx-line-2, var(--lx-line)) !important; box-shadow: var(--lx-e3) !important; }   /* the Call picker (ANik 12:05) */
body.lumen .lx-drawer-lead .lc-co-who, body.lumen .lx-drawer-lead .lc-callpick-h{ color: var(--lx-text-3) !important; }
/* audit L4: on a short desk screen (≤ 800 px high) the whole top would eat the drawer — only the tab bar stays, as on a phone */
@media (max-height:800px) and (min-width:761px){ body.lumen .lx-drawer-lead .lc-top{ display:contents; }
  body.lumen .lx-drawer-lead .lc-tabs{ position:sticky; top:-20px; z-index:5; margin:8px -20px 0; padding:0 20px; background: var(--lx-raised); box-shadow: 0 1px 0 var(--lx-line); } }
@media (max-width:760px){ body.lumen .lx-drawer-lead .lc-top{ display:contents; }
  body.lumen .lx-drawer-lead .lc-tabs{ position:sticky; top:-16px; z-index:5; margin:8px -16px 0; padding:0 16px; background: var(--lx-raised); box-shadow: 0 1px 0 var(--lx-line); } }
/* lead screen update (Arifur Rahman's brief, 3 Nov 2026; /lead-plan PLAN §3.6) — one marker section per owner; each builder writes only its
   prefix inside its own section. Lumen tokens only (var(--lx-…)), light + dark, no img rules, control heights 28/32/36/44 desktop and
   32/40/44 phone, and a literal background in any rule that sets light text (theme-audit). */
/* ── LS-SHARED ── (.ls-you, .ls-nobdm — integrator) */
/* ── /LS-SHARED ── */
/* ── LS-B ── drawer header, status line, stage bar, menus, tab shell, Call log (.ls-b-) */
/* Hallmark (The Floor) inside Lumen: tokens only, no transition, sentence-case labels, control heights from --lx-ctl-* (28/32/36/44, phone 32/40/44) */
body.lumen .lx-drawer-lead .ls-b-meta{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 0; margin-top:4px; font: 450 var(--lx-fs-sm)/18px var(--lx-font); color: var(--lx-text-2); min-width:0; }
body.lumen .lx-drawer-lead .ls-b-mi{ display:inline-flex; align-items:center; gap:4px; padding:0 10px; box-shadow: inset 1px 0 0 var(--lx-line); }
body.lumen .lx-drawer-lead .ls-b-mi:first-child{ padding-left:0; box-shadow:none; }
body.lumen .lx-drawer-lead .ls-b-est{ font-size:11.5px; color: var(--lx-text-3); }
body.lumen .ls-b-pick{ all:unset; box-sizing:border-box; cursor:pointer; display:inline-flex; align-items:center; gap:4px; height: var(--lx-ctl-sm); padding:0 8px; border-radius: var(--lx-r-ctl); color: var(--lx-text); box-shadow: inset 0 0 0 1px var(--lx-line); }
body.lumen .ls-b-pick:hover{ background: var(--lx-surface-2); }
body.lumen .ls-b-pick:focus-visible{ box-shadow: var(--lx-focus) !important; }
body.lumen .lx-drawer-lead .ls-b-meta .ls-b-pick.ls-b-mi{ margin-left:10px; }
body.lumen .ls-b-car{ font-size:10px; color: var(--lx-text-3); margin-left:2px; }
body.lumen .lx-drawer-lead .ls-b-kv{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:6px; font: 450 var(--lx-fs-sm)/18px var(--lx-font); min-width:0; }
body.lumen .lx-drawer-lead .ls-b-k{ color: var(--lx-text-3); min-width:92px; }
body.lumen .lx-drawer-lead .ls-b-v{ color: var(--lx-text); overflow-wrap:anywhere; min-width:0; }
body.lumen .lx-drawer-lead .ls-b-flags:empty{ display:none; }
body.lumen .lx-drawer-lead .lc-top .cx-cbar.ls-b-cline{ display:flex !important; flex-wrap:wrap; align-items:center; gap:8px; margin:8px 0 4px; padding:0; background:none; box-shadow:none; }
body.lumen .lx-drawer-lead .ls-b-cline > .cx-cbar{ flex:1 1 420px; margin:0 !important; min-width:0; }
body.lumen .lx-drawer-lead .ls-b-cmore{ display:inline-flex; flex-wrap:wrap; gap:8px; }
body.lumen .lx-drawer-lead .ls-b-status{ margin:6px 0 0; padding:7px 12px; border-radius: var(--lx-r-ctl); font: 500 var(--lx-fs-md)/18px var(--lx-font); }
body.lumen .lx-drawer-lead .ls-b-status.ls-b-bad{ color: var(--lx-bad); background: var(--lx-bad-tint); }
body.lumen .lx-drawer-lead .ls-b-status.ls-b-warn{ color: var(--lx-warn); background: var(--lx-warn-tint); }
body.lumen .lx-drawer-lead .ls-b-status.ls-b-mut{ color: var(--lx-text-2); background: var(--lx-surface-2); }
body.lumen .lx-drawer-lead .ls-b-stage .cx-flow{ display:flex; flex-wrap:wrap; align-items:center; gap:4px; }
body.lumen .lx-drawer-lead .ls-b-tabs{ overflow-x:auto; scrollbar-width:none; white-space:nowrap; }
body.lumen .lx-drawer-lead .ls-b-tabs::-webkit-scrollbar{ display:none; }
body.lumen .lx-drawer-lead .ls-b-prev{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
/* the note box */
body.lumen .lx-drawer-lead .ls-b-note{ display:grid; gap:8px; margin:12px 0 4px; padding:12px; border-radius: var(--lx-r-card); background: var(--lx-surface); box-shadow: inset 0 0 0 1px var(--lx-line); }
body.lumen .lx-drawer-lead .ls-b-lbl{ font: 500 var(--lx-fs-sm)/16px var(--lx-font); color: var(--lx-text-2); }
body.lumen .lx-drawer-lead .ls-b-text{ width:100%; box-sizing:border-box; min-height:76px; resize:vertical; padding:8px 10px; border:0; border-radius: var(--lx-r-ctl); font: 450 var(--lx-fs-md)/20px var(--lx-font); color: var(--lx-text); background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); }
body.lumen .lx-drawer-lead .ls-b-stamp{ font: 450 12px/16px var(--lx-font); color: var(--lx-text-3); }
body.lumen .lx-drawer-lead .ls-b-fu{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
body.lumen .lx-drawer-lead .ls-b-quick, body.lumen .lx-drawer-lead .ls-b-when{ display:inline-flex; flex-wrap:wrap; gap:6px; }
body.lumen .lx-drawer-lead :is(.ls-b-q, .ls-b-f, .ls-b-intbtn){ all:unset; box-sizing:border-box; cursor:pointer; display:inline-flex; align-items:center; gap:4px; height: var(--lx-ctl-sm); padding:0 10px; border-radius: var(--lx-r-ctl); font: 500 var(--lx-fs-sm)/1 var(--lx-font); color: var(--lx-text-2); box-shadow: inset 0 0 0 1px var(--lx-line); }
body.lumen .lx-drawer-lead :is(.ls-b-q, .ls-b-f, .ls-b-intbtn):hover{ background: var(--lx-surface-2); }
body.lumen .lx-drawer-lead :is(.ls-b-q, .ls-b-f).on{ color: var(--lx-accent-text); background: var(--lx-accent-tint); box-shadow: inset 0 0 0 1px var(--lx-accent-ring); }
body.lumen .lx-drawer-lead :is(.ls-b-q, .ls-b-f, .ls-b-intbtn):focus-visible{ box-shadow: var(--lx-focus) !important; }
body.lumen .lx-drawer-lead .ls-b-date{ width:150px !important; }
body.lumen .lx-drawer-lead .ls-b-time{ width:128px !important; }
body.lumen .lx-drawer-lead :is(.ls-b-date, .ls-b-time){ max-width:100%; min-width:0; flex:0 1 auto; height: var(--lx-ctl-md); box-sizing:border-box; padding:0 8px; border:0; border-radius: var(--lx-r-ctl); font: 450 var(--lx-fs-md)/1 var(--lx-font); color: var(--lx-text); background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); }
body.lumen .lx-drawer-lead .ls-b-int{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
body.lumen .lx-drawer-lead .ls-b-intsum{ font: 450 var(--lx-fs-sm)/16px var(--lx-font); color: var(--lx-text-2); overflow-wrap:anywhere; min-width:0; }
body.lumen .lx-drawer-lead .ls-b-intsum.ls-b-chg{ color: var(--lx-accent-text); }
body.lumen .lx-drawer-lead .ls-b-intlist{ flex:1 1 100%; display:grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap:10px 14px; padding:10px; border-radius: var(--lx-r-ctl); background: var(--lx-surface-2); }
body.lumen .lx-drawer-lead .ls-b-intlist[hidden]{ display:none; }
body.lumen .lx-drawer-lead .ls-b-igh{ font: 600 var(--lx-fs-sm)/18px var(--lx-font); color: var(--lx-text); margin-bottom:2px; }
body.lumen .lx-drawer-lead .ls-b-ck{ display:flex; align-items:center; gap:8px; min-height: var(--lx-ctl-sm); padding:0 6px; border-radius: var(--lx-r-xs); font: 450 var(--lx-fs-sm)/16px var(--lx-font); color: var(--lx-text-2); cursor:pointer; }
body.lumen .lx-drawer-lead .ls-b-ck.ls-b-add{ color: var(--lx-ok); background: var(--lx-ok-tint); }
body.lumen .lx-drawer-lead .ls-b-ck.ls-b-rm{ color: var(--lx-bad); background: var(--lx-bad-tint); text-decoration: line-through; }
body.lumen .lx-drawer-lead .ls-b-oth{ width:100%; box-sizing:border-box; height: var(--lx-ctl-sm); margin-top:4px; padding:0 8px; border:0; border-radius: var(--lx-r-xs); font: 450 var(--lx-fs-sm)/1 var(--lx-font); color: var(--lx-text); background: var(--lx-surface); box-shadow: inset 0 0 0 1px var(--lx-line); }
body.lumen .lx-drawer-lead .ls-b-err{ padding:8px 10px; border-radius: var(--lx-r-ctl); font: 500 var(--lx-fs-sm)/18px var(--lx-font); color: var(--lx-bad); background: var(--lx-bad-tint); }
body.lumen .lx-drawer-lead .ls-b-err[hidden]{ display:none; }
body.lumen .lx-drawer-lead .ls-b-acts{ display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:10px; }
body.lumen .lx-drawer-lead .ls-b-off{ flex:1 1 200px; font: 450 var(--lx-fs-sm)/16px var(--lx-font); color: var(--lx-warn); }
body.lumen .lx-drawer-lead .ls-b-ask{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:8px 0; padding:8px 12px; border-radius: var(--lx-r-ctl); color: var(--lx-text); background: var(--lx-accent-tint); }
/* the timeline */
body.lumen .lx-drawer-lead .ls-b-tl{ margin-top:14px; }
body.lumen .lx-drawer-lead .ls-b-tlh{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; margin-bottom:8px; }
body.lumen .lx-drawer-lead .ls-b-h{ margin:0; font: 600 var(--lx-fs-lg)/20px var(--lx-font); color: var(--lx-text); }
body.lumen .lx-drawer-lead .ls-b-filt{ display:inline-flex; flex-wrap:wrap; gap:6px; }
body.lumen .lx-drawer-lead .ls-b-list{ list-style:none; margin:0; padding:0; display:grid; gap:2px; }
body.lumen .lx-drawer-lead .ls-b-item[hidden], body.lumen .lx-drawer-lead .ls-b-chats[hidden]{ display:none; }
body.lumen .lx-drawer-lead .ls-b-post{ display:grid; grid-template-columns: auto minmax(0, 1fr); gap:10px; padding:10px 4px; box-shadow: 0 1px 0 var(--lx-line); }
body.lumen .lx-drawer-lead .ls-b-post > .cx-own{ align-self:start; }
body.lumen .lx-drawer-lead .ls-b-ph{ display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 10px; font: 450 var(--lx-fs-sm)/18px var(--lx-font); color: var(--lx-text-3); }
body.lumen .lx-drawer-lead .ls-b-ph b{ color: var(--lx-text); font-weight:600; }
body.lumen .lx-drawer-lead .ls-b-pt{ margin-top:2px; font: 450 var(--lx-fs-md)/20px var(--lx-font); color: var(--lx-text); white-space:pre-wrap; overflow-wrap:anywhere; }
body.lumen .lx-drawer-lead .ls-b-pm{ margin-top:4px; font: 450 var(--lx-fs-sm)/16px var(--lx-font); color: var(--lx-text-2); }
body.lumen .lx-drawer-lead .ls-b-padd{ color: var(--lx-ok); }
body.lumen .lx-drawer-lead .ls-b-prm{ color: var(--lx-bad); }
body.lumen .lx-drawer-lead .ls-b-tag{ padding:1px 6px; border-radius: var(--lx-r-xs); font: 500 11px/16px var(--lx-font); color: var(--lx-text-2); background: var(--lx-surface-2); }
body.lumen .lx-drawer-lead .ls-b-oldtag{ color: var(--lx-warn); background: var(--lx-warn-tint); }
body.lumen .lx-drawer-lead .ls-b-sys{ display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:2px 10px; padding:6px 4px 6px 46px; font: 450 12px/17px var(--lx-font); color: var(--lx-text-3); }
body.lumen .lx-drawer-lead .ls-b-sysd{ min-width:0; overflow-wrap:anywhere; }
body.lumen .lx-drawer-lead .ls-b-sys .cx-own{ transform: scale(.9); }
body.lumen .lx-drawer-lead .ls-b-sys time, body.lumen .lx-drawer-lead .ls-b-ph time{ white-space:nowrap; }
body.lumen .lx-drawer-lead .ls-b-empty{ padding:10px 4px; font: 450 var(--lx-fs-sm)/18px var(--lx-font); color: var(--lx-text-3); }
body.lumen .lx-drawer-lead .ls-b-chats{ margin-bottom:6px; }
/* the header menus (appended to body; .tmp-menu is the shared popover) */
body.lumen .ls-b-menu{ background: var(--lx-raised) !important; color: var(--lx-text) !important; box-shadow: var(--lx-e3) !important; max-height:70vh; overflow:auto; }
body.lumen .ls-b-menu .tmp-o{ min-height: var(--lx-ctl-md); }
body.lumen .ls-b-oth-row{ display:flex; gap:6px; padding:6px 8px; }
body.lumen .ls-b-oth-row input{ flex:1 1 auto; min-width:0; height: var(--lx-ctl-sm); box-sizing:border-box; padding:0 8px; border:0; border-radius: var(--lx-r-xs); color: var(--lx-text); background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); }
body.lumen .tmp-menu .ls-b-why{ max-width:300px; color: var(--lx-text-3); }
/* phone (portal.luminedgedigital.com): the drawer is a full-width sheet; compact header; the tab bar scrolls sideways; the note box first */
@media (max-width:760px){
  body.lumen .lx-drawer-lead .ls-b-k{ min-width:0; }
  body.lumen .lx-drawer-lead .ls-b-cline > .cx-cbar{ flex-basis:100%; }
  body.lumen .lx-drawer-lead .ls-b-fu, body.lumen .lx-drawer-lead .ls-b-when{ width:100%; }
  body.lumen .lx-drawer-lead .ls-b-when > *{ flex:1 1 0; min-width:0; width:auto !important; }
  body.lumen .lx-drawer-lead .ls-b-acts .ls-b-postbtn{ width:100%; justify-content:center; }
  body.lumen .lx-drawer-lead .ls-b-sys{ padding-left:4px; }
}
/* ── /LS-B ── */
/* ── LS-C ── Student overview, Invoice, Student 360, Study Abroad, services admin (.ls-c-) */
/* Hallmark within Lumen (lead screen C, 4 Nov 2026): one quiet system for the four tabs — hairline groups on the drawer surface, muted
   sentence-case labels, tabular numbers, colour only for state (ok / warn / bad / accent). Tokens only; light + dark follow the tokens. */
body.lumen .ls-c{ display:grid; gap:12px; color: var(--lx-text); font-family: var(--lx-font); font-size: var(--lx-fs-md); min-width:0; }
body.lumen .ls-c-bar{ display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap; min-height: var(--lx-ctl-md); }
body.lumen .ls-c-h{ margin:0; font: 600 var(--lx-fs-lg)/1.3 var(--lx-font); color: var(--lx-text); }
body.lumen .ls-c-gh{ margin:0 0 8px; font: 600 var(--lx-fs-md)/1.3 var(--lx-font); color: var(--lx-text); }
body.lumen .ls-c-acts{ display:flex; gap:6px; }
body.lumen .ls-c-mut, body.lumen .ls-c-k{ color: var(--lx-text-3); font-size: var(--lx-fs-sm); line-height:1.4; }
body.lumen .ls-c-k{ display:block; }
body.lumen .ls-c-num{ font-feature-settings: var(--lx-num); }
body.lumen .ls-c-nw{ white-space:nowrap; }
body.lumen .ls-c-ro, body.lumen .ls-c-auto, body.lumen .ls-c-tag{ display:inline-block; padding:1px 7px; border-radius: var(--lx-r-ctl); font-size: var(--lx-fs-sm); line-height:18px;
  color: var(--lx-text-2); background: var(--lx-surface-3); box-shadow: inset 0 0 0 1px var(--lx-line); vertical-align:baseline; }
body.lumen .ls-c-auto{ color: var(--lx-accent-text); background: var(--lx-accent-tint); box-shadow:none; }
body.lumen .ls-c-grid{ display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:12px; }
body.lumen .ls-c-grp{ min-width:0; padding:12px 14px; border-radius: var(--lx-r-card); background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); }
body.lumen .ls-c-grp-w{ grid-column: 1 / -1; }
body.lumen .ls-c-dl{ margin:0; display:grid; gap:6px; }
body.lumen .ls-c-dl2{ grid-template-columns: repeat(2, minmax(0,1fr)); column-gap:16px; }
body.lumen .ls-c-row{ display:grid; grid-template-columns: minmax(96px, 38%) minmax(0,1fr); gap:8px; align-items:baseline; min-width:0; }
body.lumen .ls-c-row dt{ color: var(--lx-text-3); font-size: var(--lx-fs-sm); }
body.lumen .ls-c-row dd{ margin:0; min-width:0; overflow-wrap:anywhere; }
body.lumen .ls-c-row1{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin-bottom:6px; }
body.lumen .ls-c-in{ width:100%; min-width:0; box-sizing:border-box; height: var(--lx-ctl-md); padding:0 8px; border-radius: var(--lx-r-ctl); border:0;
  background: var(--lx-surface); color: var(--lx-text); box-shadow: inset 0 0 0 1px var(--lx-line-2); font: 400 var(--lx-fs-md) var(--lx-font); }
/* focus: the global body.lumen :focus-visible ring (--lx-focus) covers every control here */
body.lumen .ls-c-err{ padding:8px 10px; border-radius: var(--lx-r-ctl); color: var(--lx-bad); background: var(--lx-bad-tint); font-size: var(--lx-fs-sm); }
body.lumen .ls-c-err[hidden]{ display:none; }
body.lumen .ls-c-own{ list-style:none; margin:0; padding:0; display:grid; gap:8px; }
body.lumen .ls-c-own-i{ padding-left:10px; box-shadow: inset 2px 0 0 var(--lx-line-2); }
body.lumen .ls-c-own-i.on{ box-shadow: inset 2px 0 0 var(--lx-accent); }
body.lumen .ls-c-own-t{ color: var(--lx-text-3); font-size: var(--lx-fs-sm); font-feature-settings: var(--lx-num); }
body.lumen .ls-c-rw{ margin-top:10px; padding:8px 10px; border-radius: var(--lx-r-ctl); background: var(--lx-surface-3); display:grid; gap:2px; }
body.lumen .ls-c-rw-v{ font-weight:600; }
body.lumen .ls-c-rw-ok .ls-c-rw-v{ color: var(--lx-ok); }
body.lumen .ls-c-rw-warn .ls-c-rw-v{ color: var(--lx-warn); }
body.lumen .ls-c-rw-bad .ls-c-rw-v{ color: var(--lx-bad); }
body.lumen .ls-c-tot{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:10px; }
body.lumen .ls-c-stat{ min-width:0; padding:10px 12px; border-radius: var(--lx-r-card); background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); display:grid; gap:2px; }
body.lumen .ls-c-stat > b{ font-size: var(--lx-fs-lg); }
body.lumen .ls-c-due > b{ color: var(--lx-bad); }
body.lumen .ls-c-drafts{ display:grid; gap:6px; }
body.lumen .ls-c-draft{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
body.lumen .ls-c-tw{ overflow-x:auto; min-width:0; }
body.lumen .ls-c-t{ width:100%; border-collapse:collapse; font-size: var(--lx-fs-md); }
body.lumen .ls-c-t th{ text-align:left; font-weight:500; color: var(--lx-text-3); font-size: var(--lx-fs-sm); padding:6px 8px; box-shadow: inset 0 -1px 0 var(--lx-line); }
body.lumen .ls-c-t td{ padding:7px 8px; box-shadow: inset 0 -1px 0 var(--lx-line); vertical-align:top; }
body.lumen .ls-c-t .r{ text-align:right; }
body.lumen .ls-c-empty{ padding:12px; border-radius: var(--lx-r-card); color: var(--lx-text-2); background: var(--lx-surface-2); }
body.lumen .ls-c-conv, body.lumen .ls-c-video{ justify-self:start; }
body.lumen .ls-c-lock{ padding:8px 12px; border-radius: var(--lx-r-ctl); color: var(--lx-text-2); background: var(--lx-surface-3); font-size: var(--lx-fs-sm); }
body.lumen .ls-c-on{ color: var(--lx-ok); font-weight:600; }
body.lumen .ls-c-off{ color: var(--lx-text-3); }
body.lumen .ls-c-skills{ display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:8px; margin-top:10px; }
body.lumen .ls-c-skill{ display:grid; gap:2px; padding:8px 10px; border-radius: var(--lx-r-ctl); background: var(--lx-surface); box-shadow: inset 0 0 0 1px var(--lx-line); min-width:0; }
body.lumen .ls-c-q{ margin:0; padding:10px 0 2px; border:0; border-top:1px solid var(--lx-line); min-width:0; display:grid; gap:8px; }
body.lumen .ls-c-q legend{ padding:0; font-weight:600; font-size: var(--lx-fs-md); color: var(--lx-text); }
body.lumen .ls-c-chips{ display:flex; flex-wrap:wrap; gap:6px; }
body.lumen .ls-c-chip{ height: var(--lx-ctl-sm); padding:0 12px; border:0; border-radius: var(--lx-r-ctl); cursor:pointer; font: 500 var(--lx-fs-sm) var(--lx-font);
  color: var(--lx-text-2); background: var(--lx-surface); box-shadow: inset 0 0 0 1px var(--lx-line-2); transition: background-color .12s, box-shadow .12s, color .12s; }
body.lumen .ls-c-chip:hover{ background: var(--lx-surface-3); }
body.lumen .ls-c-chip.on{ color: var(--lx-accent-text); background: var(--lx-accent-tint); box-shadow: inset 0 0 0 1px var(--lx-accent-ring); }
body.lumen .ls-c-line{ display:flex; flex-wrap:wrap; gap:8px; align-items:flex-end; }
body.lumen .ls-c-lab{ display:grid; gap:3px; flex:1 1 140px; min-width:0; color: var(--lx-text-3); font-size: var(--lx-fs-sm); }
body.lumen .ls-c-sm{ flex:0 1 84px; }
body.lumen .ls-c-chk{ display:flex; gap:6px; align-items:center; color: var(--lx-text-2); font-size: var(--lx-fs-sm); min-height: var(--lx-ctl-md); }
body.lumen .ls-c-prefill{ padding:8px 10px; border-radius: var(--lx-r-ctl); background: var(--lx-accent-tint); color: var(--lx-text); font-size: var(--lx-fs-sm); }
body.lumen .ls-c-foot{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; padding-top:10px; border-top:1px solid var(--lx-line); }
body.lumen .ls-c-end{ justify-content:flex-end; }
body.lumen .ls-c-count{ color: var(--lx-text-2); font-size: var(--lx-fs-sm); font-feature-settings: var(--lx-num); }
body.lumen .ls-c-sahead{ display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:10px; }
body.lumen .ls-c-badt, body.lumen .ls-c-badl{ color: var(--lx-bad); }
body.lumen .ls-c-badl{ font-weight:600; }
body.lumen .ls-c-prog{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:4px; }
body.lumen .ls-c-st{ display:grid; gap:1px; padding:6px 10px; border-radius: var(--lx-r-ctl); background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); min-width:0; }
body.lumen .ls-c-st-n{ font-size: var(--lx-fs-sm); font-weight:500; }
body.lumen .ls-c-st-m{ font-size: var(--lx-fs-sm); color: var(--lx-text-3); font-feature-settings: var(--lx-num); min-height:1em; }
body.lumen .ls-c-st-done .ls-c-st-n{ color: var(--lx-ok); }
body.lumen .ls-c-st-cur{ background: var(--lx-accent-tint); box-shadow: inset 0 0 0 1px var(--lx-accent-ring); }
body.lumen .ls-c-st-cur .ls-c-st-n{ color: var(--lx-accent-text); font-weight:600; }
body.lumen .ls-c-st-bad{ background: var(--lx-bad-tint); box-shadow: inset 0 0 0 1px var(--lx-bad); }
body.lumen .ls-c-st-bad .ls-c-st-n{ color: var(--lx-bad); font-weight:600; }
body.lumen .ls-c-st-later{ opacity:.6; }
body.lumen .ls-c-facts{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:10px; }
body.lumen .ls-c-fact{ display:grid; gap:3px; align-content:start; min-width:0; padding:10px 12px; border-radius: var(--lx-r-card); background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); overflow-wrap:anywhere; }
body.lumen .ls-c-apps{ margin:0; padding:0; list-style:none; display:grid; gap:4px; }
body.lumen .ls-c-recap summary{ cursor:pointer; list-style:none; display:flex; gap:6px; align-items:baseline; flex-wrap:wrap; }
body.lumen .ls-c-recap summary::-webkit-details-marker{ display:none; }
body.lumen .ls-c-recap .ls-c-k{ display:inline; }
body.lumen .ls-c-show{ color: var(--lx-accent-text); font-size: var(--lx-fs-sm); }
body.lumen .ls-c-recap[open] .ls-c-show{ display:none; }
body.lumen .ls-c-recap[open] > .ls-c-dl{ margin-top:8px; }
body.lumen .ls-c-svcg{ padding:10px 12px; border-radius: var(--lx-r-card); border:0; background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); }
body.lumen .ls-c-svck{ color: var(--lx-text-3); font: 500 var(--lx-fs-sm) var(--lx-mono); }
body.lumen .ls-c-opt{ padding-left:12px; }
body.lumen .ls-c-hid{ opacity:.6; }
body.lumen .ls-c-guide > summary{ cursor:pointer; }
body.lumen .ls-c-guide .ls-c-gh{ margin-top:12px; }
@media (max-width:760px){
  body.lumen .ls-c-grid, body.lumen .ls-c-dl2, body.lumen .ls-c-sahead, body.lumen .ls-c-facts{ grid-template-columns: minmax(0,1fr); }
  body.lumen .ls-c-tot{ grid-template-columns: repeat(3, minmax(0,1fr)); gap:6px; }
  body.lumen .ls-c-stat{ padding:8px; }
  body.lumen .ls-c-skills{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  body.lumen .ls-c-row{ grid-template-columns: minmax(0,1fr); gap:2px; }
  body.lumen .ls-c-prog{ flex-direction:column; }
}
@media (prefers-reduced-motion: reduce){ body.lumen .ls-c-chip{ transition:none; } }
/* ── /LS-C ── */
/* ── LS-D ── Add-a-lead form, contact line and list, Add phone / email (.ls-d-) */
/* contact line (brief 4.4): numbers and emails are plain selectable text, never ellipsised — they wrap (brief 3) */
body.lumen .cx-cbar.ls-d-line{ display:block !important; grid-template-columns:none !important; position:relative; margin:8px 0 4px; padding:0; }
body.lumen .ls-d-row{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; min-height:var(--lx-ctl-sm); position:relative; color: var(--lx-text); font-size:var(--lx-fs-md); }
body.lumen .ls-d-ic{ display:inline-grid; place-items:center; color: var(--lx-text-3); flex:none; }
body.lumen .ls-d-val{ user-select:text; -webkit-user-select:text; white-space:normal; overflow-wrap:anywhere; min-width:0; font-feature-settings: var(--lx-num); }
body.lumen .ls-d-strong{ font-weight:600; }
body.lumen .ls-d-bad{ text-decoration:line-through; color: var(--lx-text-3); }
body.lumen .ls-d-who{ color: var(--lx-text-2); font-size:var(--lx-fs-sm); }
body.lumen .ls-d-none, body.lumen .ls-d-empty, body.lumen .ls-d-opt{ color: var(--lx-text-3); font-size:var(--lx-fs-sm); font-weight:400; }
body.lumen .ls-d-tag{ font-size:11.5px; padding:1px 7px; border-radius:999px; color: var(--lx-text-2); background: var(--lx-surface-3); }
body.lumen .ls-d-tag-bad{ color: var(--lx-bad); background: var(--lx-bad-tint); }
body.lumen .ls-d-acts{ display:inline-flex; align-items:center; gap:4px; margin-left:auto; }
body.lumen .ls-d-act{ display:inline-flex; align-items:center; height:var(--lx-ctl-sm); padding:0 var(--lx-px-sm); border-radius:var(--lx-r-ctl); color: var(--lx-accent-text); font-size:var(--lx-fs-sm); font-weight:500; text-decoration:none; }
body.lumen .ls-d-act:hover{ background: var(--lx-accent-tint); }
body.lumen :is(#app, .overlay, .tw-overlay) button:is(.ls-d-copy, .ls-d-dots, .ls-d-x){ display:inline-grid; place-items:center; width:var(--lx-ctl-sm); height:var(--lx-ctl-sm); min-height:var(--lx-ctl-sm); padding:0; border:0; border-radius:var(--lx-r-ctl); background:transparent; color: var(--lx-text-3); cursor:pointer; flex:none; }
body.lumen :is(#app, .overlay, .tw-overlay) button:is(.ls-d-copy, .ls-d-dots, .ls-d-x):hover{ background: var(--lx-surface-3); color: var(--lx-text); }
body.lumen .ls-d-foot{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 12px; margin-top:2px; }
body.lumen :is(#app, .overlay) button:is(.ls-d-more, .ls-d-add), body.lumen :is(#app, .overlay, .tw-overlay) button.ls-d-link{ display:inline-flex; align-items:center; gap:4px; height:var(--lx-ctl-sm); min-height:var(--lx-ctl-sm); padding:0 6px; margin-left:-6px; border:0; border-radius:var(--lx-r-ctl); background:transparent; color: var(--lx-text-2); font-size:var(--lx-fs-sm); font-weight:500; cursor:pointer; }
body.lumen :is(#app, .overlay) button:is(.ls-d-more, .ls-d-add):hover, body.lumen :is(#app, .overlay, .tw-overlay) button.ls-d-link:hover{ color: var(--lx-text); background: var(--lx-surface-3); }
body.lumen :is(#app, .overlay) button.ls-d-add{ color: var(--lx-accent-text); margin-left:0; }
body.lumen .ls-d-chev{ display:inline-grid; transition: transform var(--lx-d-hover) var(--lx-ease-out); }
body.lumen .ls-d-more[aria-expanded="true"] .ls-d-chev{ transform: rotate(180deg); }
body.lumen .ls-d-list{ margin-top:4px; padding:6px 10px; border-radius:var(--lx-r-ctl); background: var(--lx-surface-2); box-shadow: var(--lx-e0); }
body.lumen .ls-d-grp{ font-size:var(--lx-fs-sm); font-weight:600; color: var(--lx-text-2); margin:6px 0 2px; }
body.lumen .ls-d-list .ls-d-row + .ls-d-row{ border-top:1px solid var(--lx-line); }
body.lumen .ls-d-menu{ position:absolute; right:0; top:100%; z-index:30; min-width:180px; padding:4px; border-radius:var(--lx-r-ctl); background: var(--lx-raised); box-shadow: var(--lx-e2); display:flex; flex-direction:column; }
body.lumen :is(#app, .overlay) .ls-d-menu :is(a, button).ls-d-mi{ display:flex; align-items:center; height:var(--lx-ctl-md); min-height:var(--lx-ctl-md); padding:0 var(--lx-px-sm); border:0; border-radius:var(--lx-r-sm); background:transparent; color: var(--lx-text); font-size:var(--lx-fs-md); text-align:left; text-decoration:none; cursor:pointer; }
body.lumen :is(#app, .overlay) .ls-d-menu :is(a, button).ls-d-mi:is(:hover, :focus-visible){ background: var(--lx-surface-3); }
body.lumen :is(#app, .overlay) .ls-d-menu button.ls-d-mi-bad{ color: var(--lx-bad); }
body.lumen :is(.ls-d-copy, .ls-d-dots, .ls-d-x, .ls-d-more, .ls-d-add, .ls-d-link, .ls-d-act, .ls-d-mi, .ls-d-chip):focus-visible{ outline:2px solid var(--lx-accent-ring); outline-offset:1px; transition:none; }
body.lumen .ls-d-xtra{ margin-top:4px; }
/* the Add phone / email dialog */
body.lumen .ls-d-dlg{ max-width:480px; }
body.lumen .ls-d-dlg .ls-d-f{ display:grid; gap:10px; margin-top:10px; }
body.lumen .ls-d-dlg label{ font-size:var(--lx-fs-sm); font-weight:600; color: var(--lx-text); }
body.lumen .ls-d-seg{ display:inline-flex; flex-wrap:wrap; gap:2px; padding:2px; border-radius:var(--lx-r-ctl); background: var(--lx-surface-3); }
body.lumen .ls-d-seg label, body.lumen :is(#app, .overlay) .ls-d-seg button{ display:inline-flex; align-items:center; gap:4px; height:var(--lx-ctl-sm); min-height:var(--lx-ctl-sm); padding:0 var(--lx-px-sm); border:0; border-radius:var(--lx-r-sm); background:transparent; color: var(--lx-text-2); font-size:var(--lx-fs-sm); font-weight:500; cursor:pointer; }
body.lumen .ls-d-seg label:has(input:checked), body.lumen :is(#app, .overlay) .ls-d-seg button[aria-pressed="true"]{ background: var(--lx-surface); color: var(--lx-text); box-shadow: var(--lx-e1); }
body.lumen .ls-d-seg input[type="radio"]{ position:absolute; opacity:0; width:1px; height:1px; pointer-events:none; }
body.lumen .ls-d-seg label:has(input:focus-visible){ outline:2px solid var(--lx-accent-ring); }
body.lumen .ls-d-whose{ border:0; margin:0; padding:0; min-width:0; }
body.lumen .ls-d-whose legend{ font-size:var(--lx-fs-sm); font-weight:600; color: var(--lx-text); padding:0; margin-bottom:4px; }
body.lumen .ls-d-pills, body.lumen .ls-d-subs{ display:flex; flex-wrap:wrap; gap:6px; }
body.lumen .ls-d-subs{ margin-top:6px; padding-left:10px; border-left:2px solid var(--lx-line-2); }
body.lumen .ls-d-dlg label.ls-d-pill, body.lumen .ls-d-dlg label.ls-d-tick, body.lumen .ls-d-form label.ls-d-tick{ display:inline-flex; align-items:center; gap:6px; font-weight:500; }
body.lumen .ls-d-dlg label.ls-d-pill{ min-height:var(--lx-ctl-sm); padding:0 10px; border-radius:999px; box-shadow: var(--lx-e0); cursor:pointer; }
body.lumen .ls-d-dlg label.ls-d-pill:has(input:checked){ background: var(--lx-accent-tint); box-shadow: 0 0 0 1px var(--lx-accent-ring); }
body.lumen .ls-d-own{ flex:1 1 160px; }
body.lumen .ls-d-warn{ padding:8px 10px; border-radius:var(--lx-r-ctl); background: var(--lx-warn-tint); color: var(--lx-text); font-size:var(--lx-fs-md); }
body.lumen .ls-d-warnacts{ display:flex; flex-wrap:wrap; gap:6px; margin:6px 0 4px; }
body.lumen .ls-d-hint{ color: var(--lx-text-2); font-size:var(--lx-fs-sm); }
/* Add a lead */
body.lumen .ls-d-form{ display:grid; gap:12px; margin-top:12px; }
body.lumen .ls-d-fld{ display:grid; gap:4px; min-width:0; }
body.lumen .ls-d-fld > label, body.lumen .ls-d-lab{ font-size:var(--lx-fs-sm); font-weight:600; color: var(--lx-text); }
body.lumen .ls-d-req{ color: var(--lx-bad); }
body.lumen .ls-d-2{ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap:12px; }
body.lumen .ls-d-ph{ display:flex; gap:6px; }
body.lumen .ls-d-ph select{ flex:0 0 112px; }
/* 4 Nov 2026 (Arif: "number uthano jache nah"): in the dialog `.overlay .panel :is(input, select, textarea):not(…)` (styles.css) gives the code
   select width:100% and `.overlay .panel .cx-phone select` gives it flex 0 0 auto, so on desktop it took the whole row and the number box shrank
   to ~23px. This selector outranks both (5 classes) and pins the select; the number box takes the rest. */
body.lumen .overlay .panel .ls-d-ph select.stu-sel{ flex:0 0 112px; width:112px; min-width:0; }
body.lumen .overlay .panel .ls-d-ph input.stu-search{ flex:1 1 auto; width:auto; min-width:0; }
body.lumen .overlay .panel .ls-d-xrow select.ls-d-xk{ flex:0 0 96px; width:96px; }   /* same cause: the Phone / Email pick took a whole line */
body.lumen .ls-d-dup{ padding:8px 10px; border-radius:var(--lx-r-ctl); background: var(--lx-bad-tint); color: var(--lx-text); font-size:var(--lx-fs-md); }
body.lumen .ls-d-dup .btn{ margin-left:6px; }
body.lumen .ls-d-xrow{ display:flex; flex-wrap:wrap; gap:6px; align-items:center; padding:6px 0; border-bottom:1px solid var(--lx-line); }
body.lumen .ls-d-xrow > *{ min-width:0; }
body.lumen .ls-d-xp{ display:inline-flex; gap:6px; flex:1 1 220px; }
body.lumen .ls-d-xp select{ flex:0 0 100px; }
body.lumen .ls-d-xem, body.lumen .ls-d-xname, body.lumen .ls-d-xown{ flex:1 1 180px; }
body.lumen .ls-d-xw{ flex:0 1 170px; }
body.lumen .ls-d-chips, body.lumen .ls-d-bdms{ display:flex; flex-wrap:wrap; gap:6px; }
body.lumen :is(#app, .overlay) button.ls-d-chip{ height:var(--lx-ctl-sm); min-height:var(--lx-ctl-sm); padding:0 12px; border:0; border-radius:999px; background: var(--lx-surface-3); color: var(--lx-text-2); font-size:var(--lx-fs-sm); font-weight:500; cursor:pointer; }
body.lumen :is(#app, .overlay) button.ls-d-chip[aria-pressed="true"]{ background: var(--lx-accent-tint); color: var(--lx-accent-text); box-shadow: 0 0 0 1px var(--lx-accent-ring); }
body.lumen .ls-d-bdm{ display:inline-flex; align-items:center; gap:6px; min-height:var(--lx-ctl-md); padding:0 10px 0 4px; border-radius:999px; box-shadow: var(--lx-e0); font-size:var(--lx-fs-md); cursor:pointer; }
body.lumen .ls-d-bdm input{ position:absolute; opacity:0; width:1px; height:1px; pointer-events:none; }
body.lumen .ls-d-bdm:has(input:checked){ background: var(--lx-accent-tint); box-shadow: 0 0 0 1px var(--lx-accent-ring); font-weight:600; }
body.lumen .ls-d-bdm:has(input:focus-visible){ outline:2px solid var(--lx-accent-ring); }
body.lumen .ls-d-bdm .cx-own{ margin:0; }
body.lumen .ls-d-next{ display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
body.lumen .ls-d-next input[type="date"], body.lumen .ls-d-next input[type="time"]{ flex:0 1 150px; }
body.lumen .ls-d-det summary{ cursor:pointer; color: var(--lx-text-2); font-size:var(--lx-fs-sm); font-weight:500; }
body.lumen .ls-d-det[open] summary{ margin-bottom:6px; }
body.lumen .ls-d-errs ul{ margin:0; padding-left:18px; }
body.lumen .ls-d-btns{ display:flex; justify-content:flex-end; gap:8px; margin-top:14px; }
body.lumen .ls-d-form [aria-invalid="true"]{ box-shadow: 0 0 0 1px var(--lx-bad) !important; }
@media (max-width:760px){
  body.lumen .ls-d-2{ grid-template-columns: minmax(0, 1fr); }
  body.lumen .ls-d-acts{ margin-left:0; }
  body.lumen .ls-d-menu{ left:0; right:auto; }
  body.lumen .ls-d-xw{ flex:1 1 100%; }
}
@media (prefers-reduced-motion: reduce){ body.lumen .ls-d-chev{ transition:none; } }
/* ── /LS-D ── */
/* ── LS-E ── All leads, Old leads, Pipeline, owner change dialogs (.ls-e-) */
/* RESTORED tag (Arif §6.2) and the lead-in column's "est." */
body.lumen #app .ls-e-restored{ display:inline-block; margin-left:6px; padding:1px 6px; border-radius: var(--lx-r-xs); font-size:11px; font-weight:600; line-height:16px; color: var(--lx-ok); background: var(--lx-ok-tint); box-shadow: inset 0 0 0 1px var(--lx-line); vertical-align:1px; }
body.lumen #app .ls-e-leadin{ white-space:nowrap; font-variant-numeric: tabular-nums; }
body.lumen #app .ls-e-est{ font-size:11px; }
/* the second filter row: lead-in From / To and Interested in; the Sort by label */
body.lumen #app .ls-e-more{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
body.lumen #app :is(.ls-e-f, .ls-e-sortl){ display:inline-flex; align-items:center; gap:6px; font-size:12.5px; color: var(--lx-text-2); }
body.lumen #app .ls-e-f input[type="date"]{ width:auto; min-width:0; flex:0 0 auto; }
/* owner cell (admin): the pill is a button that opens the BDM list */
body.lumen #app .ls-e-ownbtn{ display:inline-flex; align-items:center; padding:0; border:0; background:transparent; cursor:pointer; border-radius: var(--lx-r-sm); }
body.lumen #app .ls-e-ownbtn:hover .cx-own{ box-shadow: 0 0 0 1px var(--lx-line-2); }
body.lumen #app .ls-e-ownbtn:focus-visible{ outline:none; box-shadow: var(--lx-focus); }
body.lumen .ls-e-ownmenu{ z-index:2000; background: var(--lx-raised); box-shadow: var(--lx-e3); border:1px solid var(--lx-line); }
/* pipeline cards (Arif §8.1): star in the head, the phone + copy, starred = a thin amber edge */
body.lumen #app .ls-e-kc-h{ display:flex; align-items:center; gap:6px; min-width:0; }
body.lumen #app .ls-e-kc-h > b{ flex:1 1 auto; min-width:0; overflow-wrap:break-word; }
body.lumen #app .ls-e-kc-star-b{ flex:0 0 auto; }
body.lumen #app .ls-e-kc-ph{ display:flex; align-items:center; gap:4px; margin-top:4px; font-size:12.5px; color: var(--lx-text-2); font-variant-numeric: tabular-nums; }
body.lumen #app .ls-e-sel{ user-select:text; -webkit-user-select:text; }
body.lumen #app .cx-kc.ls-e-kc-star{ box-shadow: inset 3px 0 0 var(--lx-warn), 0 0 0 1px var(--lx-line); }
body.lumen #app .ls-e-more-b{ display:block; width:100%; margin-top:6px; }
body.lumen #app .ls-e-mine{ display:inline-flex; align-items:center; gap:6px; font-size:12.5px; color: var(--lx-text-2); }
body.lumen #app .ls-e-psegs{ display:flex; flex-wrap:wrap; gap:6px; margin:0; }
/* Old leads: the row opens the lead */
body.lumen #app .ls-e-oldrow{ cursor:pointer; }
body.lumen #app .ls-e-oldrow:hover > td{ background: var(--lx-surface-2); }
body.lumen #app .ls-e-oldrow:focus-visible{ outline:none; box-shadow: inset 0 0 0 2px var(--lx-accent-ring); }
/* bulk Reassign dialog */
body.lumen :is(.ls-e-lab){ display:block; margin:12px 0 6px; font-size:12.5px; font-weight:600; color: var(--lx-text-2); }
body.lumen :is(.ls-e-full){ width:100%; }
@media (max-width:760px){
  body.lumen #app .ls-e-more{ gap:6px; }
  body.lumen #app :is(.ls-e-f, .ls-e-sortl){ flex:1 1 140px; }
  body.lumen #app :is(.ls-e-f, .ls-e-sortl) :is(input, select){ flex:1 1 auto; min-width:0; }
}
/* ── /LS-E ── */
@media (max-width:760px){ body.lumen #app .lx-ph-main{ flex: 1 1 0; } }

/* 18.17 Sales home — kept at its v1.303 structure (ANik 24 Sep: "don't change the salescloud dashboard layout",
   DECISIONS §86). Paint only: the legacy crmActionBoard markup under the Lumen icons lumen.js injects. */
body.lumen #app .ab-r-h-row{ justify-content:flex-start !important; gap:6px; }
body.lumen #app .ab-r-h-row > .lx-h-ico + span{ flex:1 1 auto; min-width:0; }
body.lumen #app .ab-r-h:not(.ab-r-h-row) > .lx-h-ico{ margin-right:6px; vertical-align:-3px; }
body.lumen #app .srv-c-acts .srv-copy{ display:inline-flex !important; align-items:center; justify-content:center; gap:6px; white-space:nowrap; }

/* ─────────────────────────────── 21 · STUDYCLOUD — the student portal in Lumen (29 Sep 2026; DECISIONS §117) ─────────
   specs/student-lumen-build-plan.md. EVERY rule here is scoped to body.lumen.lx-stu, which lumen.js sets only on a student
   shell with the Lumen look chosen. Staff Lumen and the Classic student look must not change by a pixel. One sub-block per
   builder; edit only your own block (crlib.edit on its marker). Tokens: the existing --lx-* set. */
/* 21.S · shell, sidebar, top bar, account menu, phone tab bar, global type + phone sizes */
/* Builder S (29 Sep). lumen.js gives a student screen `lumen lx-stu` + lx-sh (StudyCloud shell) or lx-nosh (profile, report),
   so the staff shell, top bar, breadcrumb, phone tab bar and off-canvas menu apply as they are; this block takes off the
   glass look underneath them and sets the student-wide rules of §117 (black action buttons, phone sizes). */
/* tokens: a solid focus ring (≥3:1 on both surfaces); native controls follow the theme */
body.lumen.lx-stu{ --lx-focus: 0 0 0 2px var(--lx-surface), 0 0 0 4px var(--lx-accent); color-scheme: dark; }
html[data-theme="light"] body.lumen.lx-stu{ color-scheme: light; }
/* the glass shell underneath: the fixed aurora, the frosted sidebar, the gradient product name */
body.lumen.lx-stu #app .stu-glass::before{ content:none; display:none; }
body.lumen.lx-stu #app .stu-glass .fin-side{ -webkit-backdrop-filter:none !important; backdrop-filter:none !important; border-right:0 !important; }
@media (min-width:761px){ body.lumen.lx-stu #app .stu-glass .fin-side{ background:transparent !important; } }   /* phones: the staff sheet's chrome */
body.lumen.lx-stu #app .stu-glass :is(.card, .sf-kpi, .fin-sitem.on, .stu-hc-line, .stu-hc-chip, .buy-preset, .stu-hc-act, .slot){ -webkit-backdrop-filter:none !important; backdrop-filter:none !important; }
body.lumen.lx-stu #app .stu-glass .fin-side-brand b{ background:none !important; -webkit-text-fill-color:currentColor !important; color:var(--lx-text) !important; }
/* sidebar: the collapsible "More" group, the Starred Words due count, the practice lock */
body.lumen.lx-stu #app .fin-side .fin-sgroup.stu-collap{ display:flex !important; align-items:center; width:100%; border:0 !important; background:none !important; border-radius:var(--lx-r-ctl);
  cursor:pointer; text-align:left; min-height:0 !important; }
body.lumen.lx-stu #app .fin-side .fin-sgroup.stu-collap:hover{ color:var(--lx-text) !important; }
body.lumen.lx-stu #app .fin-side .stu-caret{ margin-left:auto; font-size:10px; transition:transform var(--lx-d-hover) ease; }
body.lumen.lx-stu #app .fin-side .stu-collap:not(.open) .stu-caret{ transform:rotate(-90deg); }
body.lumen.lx-stu #app .fin-side .vb-nav-badge{ margin-left:auto; display:inline-grid; place-items:center; min-width:18px; height:18px; padding:0 5px; border-radius:9px; border:0 !important;
  background:var(--lx-accent-tint) !important; color:var(--lx-accent-text) !important; font:600 11px/18px var(--lx-font) !important; box-shadow:none !important; }
body.lumen.lx-stu #app .fin-side .fin-sitem.is-locked{ color:var(--lx-text-3) !important; }
body.lumen.lx-stu #app .fin-side .fin-sitem-lock{ margin-left:auto; color:var(--lx-text-3); display:inline-grid; place-items:center; flex:none; }
body.lumen.lx-stu #app .fin-side .fin-sitem-lock svg{ width:14px; height:14px; }
/* the sidebar footer's density and search are staff tools (a student has no ⌘K) */
body.lumen.lx-stu .lx-sidefoot :is([data-lxsf="density"], [data-lxsf="search"]){ display:none !important; }
/* page header: h1 22/28 with its icon as a 32px tile, the sub line under it */
body.lumen.lx-stu #app :is(.sf-wrap, .wrap) > .h1{ display:flex; align-items:center; gap:10px; font:650 22px/28px var(--lx-font) !important; letter-spacing:-.01em !important; color:var(--lx-text) !important; margin:4px 0 2px !important; }
body.lumen.lx-stu #app :is(.sf-wrap, .wrap) > .h1 .grad{ background:none !important; -webkit-text-fill-color:currentColor !important; color:inherit !important; }
body.lumen.lx-stu #app :is(.sf-wrap, .wrap) > .h1 > svg.lu:first-child{ box-sizing:border-box; width:32px !important; height:32px !important; padding:7px; border-radius:var(--lx-r-ctl); flex:none;
  color:var(--lx-accent); background:var(--lx-surface); box-shadow:var(--lx-e1); }
body.lumen.lx-stu #app :is(.sf-wrap, .wrap) > .h1 + .sub{ margin-top:0 !important; color:var(--lx-text-2) !important; font:400 14px/20px var(--lx-font) !important; }
/* buttons (§117 as amended 29 Sep): every action button is black ink (white in dark); only a pop-up's Cancel stays white,
   an outlined ghost stays outlined, a danger stays red, and a disabled one is grey (not faded). Kept at (1,3,1) so a
   page block after this one can restyle its own buttons with an equal selector. */
body.lumen.lx-stu :is(#app, .overlay) .btn:where(:not(.primary, .ghost, .ghost-b, .danger, .danger-line, .bad, [id$="cancel"])){
  background:var(--lx-primary-bg) !important; color:var(--lx-primary-fg) !important; box-shadow:none !important; border:0 !important; }
body.lumen.lx-stu :is(#app, .overlay) .btn:where(:not(.primary, .ghost, .ghost-b, .danger, .danger-line, .bad, [id$="cancel"])):hover{ background:var(--lx-primary-hover) !important; }
body.lumen.lx-stu :is(#app, .overlay) .btn:is(:disabled, [disabled]){ background:var(--lx-surface-3) !important; color:var(--lx-text-3) !important; box-shadow:none !important; opacity:1 !important; }
body.lumen.lx-stu :is(#app, .overlay) .btn:is(.primary, :not(.ghost)) :is(svg, .lu){ color:currentColor !important; }
/* the account menu: Look (Lumen / Classic) and Theme (Light / Dark) as small segmented pairs; the old switch hides */
body.lumen.lx-stu #user-menu .um-look, body.lumen.lx-stu #user-menu .um-acc:has(.um-seg){ display:flex; align-items:center; gap:10px; }
body.lumen.lx-stu #user-menu .um-seg{ margin-left:auto; display:inline-flex; height:var(--lx-ctl-sm); padding:2px; gap:2px; border-radius:var(--lx-r-ctl); background:var(--lx-surface-3); flex:none; }
body.lumen.lx-stu #app #user-menu .um-seg .btn{ height:auto !important; min-height:0 !important; padding:0 10px !important; border:0 !important; border-radius:6px !important; background:none !important;
  box-shadow:none !important; color:var(--lx-text-2) !important; font:550 12.5px/1 var(--lx-font) !important; }
body.lumen.lx-stu #app #user-menu .um-seg .btn.on{ background:var(--lx-surface) !important; color:var(--lx-text) !important; box-shadow:var(--lx-e1) !important; }
body.lumen.lx-stu #app #user-menu .um-seg .btn:not(.on):hover{ color:var(--lx-text) !important; }
body.lumen.lx-stu #user-menu .um-acc:has(.um-seg) > span[style]:has([data-theme-toggle]){ display:none !important; }
body.lumen.lx-stu #user-menu .acc-swatches{ margin-left:auto; display:inline-flex; flex-wrap:nowrap; gap:4px; }
body.lumen.lx-stu #user-menu .acc-sw{ width:20px !important; height:20px !important; min-width:0 !important; }
/* dialogs: the title's icon (lumen.js puts it in for a leading emoji) */
body.lumen.lx-stu .overlay > .panel > :is(h2, h3, .h2) > .lx-h-ico{ width:18px; height:18px; margin-right:8px; vertical-align:-3px; color:var(--lx-text-2); }
body.lumen.lx-stu .overlay > .panel > :is(h2, h3, .h2) > .lx-h-ico svg{ width:18px; height:18px; }
body.lumen.lx-stu .overlay > .panel .h2 .grad{ background:none !important; -webkit-text-fill-color:currentColor !important; color:inherit !important; }
body.lumen.lx-stu .overlay > .panel .h2{ font:650 18px/24px var(--lx-font) !important; color:var(--lx-text) !important; }
body.lumen.lx-stu .overlay > .panel :is(.sop-sec-h){ display:flex; align-items:center; gap:8px; font:600 14px/20px var(--lx-font) !important; color:var(--lx-text) !important; }
body.lumen.lx-stu .overlay > .panel :is(.sop-scr, .sop-step, .sop-note){ background:var(--lx-surface-2) !important; border:0 !important; box-shadow:var(--lx-e1) !important; border-radius:var(--lx-r-card) !important; color:var(--lx-text-2); }
body.lumen.lx-stu .overlay > .panel .sop-scr-ic{ display:inline-grid; place-items:center; width:28px; height:28px; border-radius:var(--lx-r-ctl); background:var(--lx-surface); box-shadow:var(--lx-e1); color:var(--lx-accent); font-size:0; }
body.lumen.lx-stu .overlay > .panel .sop-scr-ic svg{ width:16px; height:16px; }
body.lumen.lx-stu .overlay > .panel .sop-step-n{ background:var(--lx-primary-bg) !important; color:var(--lx-primary-fg) !important; }
/* profile (renderProfile, .stu-prof): flat Lumen surfaces instead of the gradient hero, rail and steppers */
body.lumen.lx-stu #app .stu-prof .pf-hero{ background:var(--lx-surface) !important; border:0 !important; box-shadow:var(--lx-e1); border-radius:var(--lx-r-panel) !important; }
body.lumen.lx-stu #app .stu-prof .pf-avatar{ background:#a5f3fc !important; border:0 !important; box-shadow:inset 0 0 0 1px var(--lx-line) !important; }
body.lumen.lx-stu #app .stu-prof .pf-avatar > span{ font:650 28px/1 var(--lx-font) !important; color:#0d1117 !important; letter-spacing:0 !important; }
body.lumen.lx-stu #app .stu-prof .pf-cam{ background:var(--lx-primary-bg) !important; color:var(--lx-primary-fg) !important; border-color:var(--lx-surface) !important; box-shadow:none !important; }
body.lumen.lx-stu #app .stu-prof .pf-name-row{ font:650 22px/28px var(--lx-font) !important; letter-spacing:-.01em; }
body.lumen.lx-stu #app .stu-prof .pf-meta{ color:var(--lx-text-3) !important; font-size:12.5px !important; }
body.lumen.lx-stu #app .stu-prof .pf-chip{ height:22px !important; padding:0 8px !important; border:0 !important; font:600 11.5px/22px var(--lx-font) !important; background:var(--lx-surface-3) !important; color:var(--lx-text-2) !important; }
body.lumen.lx-stu #app .stu-prof .pf-chip.ok{ background:var(--lx-ok-tint) !important; color:var(--lx-ok) !important; }
body.lumen.lx-stu #app .stu-prof .pf-chip.ok .pf-dot{ background:var(--lx-ok) !important; box-shadow:none !important; width:6px; height:6px; }
body.lumen.lx-stu #app .stu-prof .pf-chip.pro{ background:var(--lx-warn-tint) !important; color:var(--lx-warn) !important; }
body.lumen.lx-stu #app .stu-prof .pf-chip.warn{ background:var(--lx-bad-tint) !important; color:var(--lx-bad) !important; }
body.lumen.lx-stu #app .stu-prof .pf-navitem{ height:var(--lx-ctl-md); padding:0 10px !important; border:0 !important; border-radius:var(--lx-r-ctl) !important; font:500 13px/18px var(--lx-font) !important; color:var(--lx-text-2) !important; }
body.lumen.lx-stu #app .stu-prof .pf-navitem:hover{ background:var(--lx-surface-3) !important; color:var(--lx-text) !important; }
body.lumen.lx-stu #app .stu-prof .pf-navitem.active{ background:var(--lx-surface) !important; color:var(--lx-text) !important; box-shadow:var(--lx-e1) !important; font-weight:550 !important; }
body.lumen.lx-stu #app .stu-prof .pf-navitem.active .lu{ color:var(--lx-accent); opacity:1; }
body.lumen.lx-stu #app .stu-prof .pf-h{ font:600 14px/20px var(--lx-font) !important; color:var(--lx-text) !important; }
body.lumen.lx-stu #app .stu-prof .pf-h .lu{ color:var(--lx-text-3) !important; }
body.lumen.lx-stu #app .stu-prof .pf-inp{ border:0 !important; box-shadow:var(--lx-e1) !important; border-radius:var(--lx-r-ctl) !important; background:var(--lx-surface) !important; color:var(--lx-text) !important; }
body.lumen.lx-stu #app .stu-prof .pf-inp:focus{ box-shadow:0 0 0 1px var(--lx-accent), 0 0 0 4px var(--lx-accent-tint) !important; }
body.lumen.lx-stu #app .stu-prof .pf-verified{ background:var(--lx-ok-tint) !important; color:var(--lx-ok) !important; border:0 !important; }
body.lumen.lx-stu #app .stu-prof .tgt-btn{ width:var(--lx-ctl-sm); height:var(--lx-ctl-sm); border:0 !important; border-radius:var(--lx-r-ctl) !important; background:var(--lx-surface) !important; box-shadow:var(--lx-e1); color:var(--lx-text) !important; font-size:16px !important; }
body.lumen.lx-stu #app .stu-prof .tgt-btn:hover{ background:var(--lx-surface-2) !important; }
body.lumen.lx-stu #app .stu-prof .tgt-barwrap{ background:var(--lx-surface-3) !important; border:0 !important; }
body.lumen.lx-stu #app .stu-prof .tgt-bar{ background:var(--lx-accent) !important; }
body.lumen.lx-stu #app .stu-prof .tgt-val{ font:600 15px/1 var(--lx-font) !important; font-feature-settings:var(--lx-num); }
body.lumen.lx-stu #app .stu-prof .tgt-ring-bg{ stroke:var(--lx-surface-3) !important; }
body.lumen.lx-stu #app .stu-prof .tgt-ring-fg{ stroke:var(--lx-accent) !important; }
body.lumen.lx-stu #app .stu-prof .tgt-ring-v{ font:650 26px var(--lx-font) !important; fill:var(--lx-text) !important; }
body.lumen.lx-stu #app .stu-prof :is(.scorecard, .scorecard.win){ background:var(--lx-surface-2) !important; border:0 !important; box-shadow:var(--lx-e1); border-radius:var(--lx-r-card) !important; }
body.lumen.lx-stu #app .stu-prof .sk-big{ font:650 40px/1 var(--lx-font) !important; }
body.lumen.lx-stu #app .stu-prof .reg-prog{ background:var(--lx-surface-3) !important; border:0 !important; }
body.lumen.lx-stu #app .stu-prof .reg-prog-bar{ background:var(--lx-accent) !important; }
@media (max-width:860px){
  body.lumen.lx-stu #app .stu-prof .pf-rail{ background:var(--lx-surface) !important; border-bottom:1px solid var(--lx-line) !important; top:0; }
  body.lumen.lx-stu #app .stu-prof .pf-navitem.active{ box-shadow:var(--lx-e1) !important; }
}
/* phones (≤760): the off-canvas sheet shows the full nav (the glass look's horizontal strip rules are undone), every
   control is 40px, body text 15px and fields 16px (no iOS zoom) */
@media (max-width:760px){
  body.lumen.lx-stu{ --lx-ctl-sm:40px; --lx-ctl-md:40px; --lx-fs-sm:13px; --lx-fs-md:15px; --lx-fs-lg:15px; font-size:15px; line-height:22px; }
  body.lumen.lx-stu #app .stu-glass .fin-side-brand{ display:block !important; }
  body.lumen.lx-stu #app .stu-glass .fin-side > .fin-sgroup{ display:block !important; }
  body.lumen.lx-stu #app .stu-glass .fin-side > .fin-sgroup.stu-collap{ display:flex !important; }
  body.lumen.lx-stu #app .stu-glass .fin-sitem{ display:flex !important; width:100% !important; }
  body.lumen.lx-stu #app .stu-glass .stu-megroup{ display:block; }
  body.lumen.lx-stu :is(#app, .overlay) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea){ font-size:16px !important; }
  body.lumen.lx-stu #app :is(.sf-wrap, .wrap) > .h1 + .sub{ font-size:15px !important; line-height:22px !important; }
  body.lumen.lx-stu #user-menu .um-item{ min-height:44px; }
  body.lumen.lx-stu #user-menu .acc-sw{ width:28px !important; height:28px !important; }
  body.lumen.lx-stu #app .stu-prof .pf-navitem{ height:40px; }
  /* a full-page view (profile, report) has no sidebar: the tab bar's and the menu button's targets are not on screen */
  body.lumen.lx-stu.lx-nosh .lx-tabbar, body.lumen.lx-stu.lx-nosh #app > .topbar .lx-menu{ display:none !important; }
}
/* v1.352 — faint edges (ANik 30 Sep: "outlined buttons and field borders are too light … fix it"). Field and outlined-button
   edges measured 1.2:1; WCAG wants 3:1 for UI component boundaries. One edge colour, measured against the surfaces it sits on:
   light #858d9b = 3.34:1 on #fff / 3.15:1 on surface-2; dark #5f6776 = 3.24:1 on #111419 / 3.07:1 on surface-2. */
body.lumen.lx-stu{ --lx-stu-edge:#5f6776; }                                   /* lumen.css convention: dark is the default token set */
html[data-theme="light"] body.lumen.lx-stu{ --lx-stu-edge:#858d9b; }
body.lumen.lx-stu #app :is(input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea),
body.lumen.lx-stu .overlay :is(input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea){ box-shadow: inset 0 0 0 1px var(--lx-stu-edge) !important; }
body.lumen.lx-stu #app :is(.btn.ghost, .btn.secondary, .lxt-req), body.lumen.lx-stu .overlay :is(.btn.ghost, .btn.secondary, #dlg-cancel){ box-shadow: inset 0 0 0 1px var(--lx-stu-edge) !important; }
body.lumen.lx-stu #app :is(input, select, textarea):focus-visible, body.lumen.lx-stu .overlay :is(input, select, textarea):focus-visible{ box-shadow: inset 0 0 0 1px var(--lx-stu-edge), var(--lx-focus) !important; }
/* fix round (30 Sep; specs/student-lumen-audit-ux.md + -parity.md) */
/* §117 "36px in pop-ups": every dialog button, row-size ones included (44 on phones, the staff lg token) */
body.lumen.lx-stu :is(#dlg, .overlay) .panel .btn{ height:var(--lx-ctl-lg) !important; min-height:var(--lx-ctl-lg) !important; }   /* #dlg: outranks the (1,2,1) base .btn height */
/* profile: the set-password message keeps its own colour (a .card-sub rule had greyed it) */
body.lumen.lx-stu #app .stu-prof #stu-setpw-msg[style*="bad"]{ color:var(--lx-bad) !important; }
body.lumen.lx-stu #app .stu-prof #stu-setpw-msg[style*="--ok"]{ color:var(--lx-ok) !important; }
/* account menu headings ≥4.5:1 */
body.lumen.lx-stu #user-menu .um-sec{ color:var(--lx-text-2) !important; }
@media (max-width:760px){
  /* the account menu runs past the tab bar: hide the bar while the menu is open, and let a long menu scroll */
  body.lumen.lx-stu:has(#user-menu:not(.hidden)) .lx-tabbar{ display:none !important; }
  body.lumen.lx-stu #user-menu:not(.hidden){ max-height: calc(100dvh - 72px); overflow-y:auto; overscroll-behavior:contain; }
  /* §117 phone type: body copy 15px, meta 13px, badges 12px — every student view (fields are 16px above) */
  body.lumen.lx-stu #app :is(.sf-wrap, .wrap) :is(p, li, td, label, .btn:not(.lxt-bcb), .card-sub, .sub, .cx-ph, .cx-mut, .note, .bt-note, .shop-why,
    .typ-hist-empty, .w-loading, .dcp-nudge, .lxt-sec, .stg-l, .skill-btn .nm, .pf-navitem > span, .tgt-skill-h > span){ font-size:15px !important; line-height:22px !important; }
  body.lumen.lx-stu #app :is(.sf-wrap, .wrap) :is(small, .meta, .row-sub, .lxt-len, .lxt-foot, .vgx-meta, .pf-meta, .lx-kpi-d, .lx-kpi-l, .lrws-card-n,
    .stu-hc-eyebrow, .lxt-bcn, .shop-cat, .typ-stat-l, .typ-hist-h, .typ-heat-h){ font-size:13px !important; line-height:18px !important; }
  body.lumen.lx-stu #app :is(.sf-wrap, .wrap) :is(.pm-tchip, .lxt-chip, .lxt-badge, .pf-chip, .tag, .shop-tag2), body.lumen.lx-stu #app :is(.sf-wrap, .wrap) .lxt-chips :is(.pm-tchip, .diff, .lxt-chip){ font-size:12px !important; }
  body.lumen.lx-stu .overlay .panel :is(p, li, label, .sub, .card-sub, .cx-ph, .sop-scr-what, .sop-scr-do, .sop-scr-warn, .sop-step, .sop-note){ font-size:15px !important; line-height:22px !important; }
}
/* keyboard focus: the student rules above set box-shadow:none on buttons, nav items and the top bar, which hid the ring.
   A 2px accent outline (≥4.8:1 on both surfaces) that no box-shadow rule can take away. */
body.lumen.lx-stu :is(#app, .overlay, .lx-tabbar, .lx-sidefoot) :is(button, a[href], summary, .btn):focus-visible,
body.lumen.lx-stu :is(#app, .overlay) [tabindex="0"]:focus-visible{
  outline:2px solid var(--lx-accent) !important; outline-offset:2px !important; }
/* 21.S end */
/* 21.H · dashboard, my classes, class materials */
/* Builder H (specs/student-lumen-build/H.md). Markup: app.js stuLxPlain() drops emoji from these three screens (the 👋 stays),
   and the greeting is one h1 "Good evening, Anika 👋". Everything else is the live markup, restyled here. Demo: ext/home.js. */
/* dashboard · hero: greeting / identity / tagline left, the CTA right, then the cockpit strip and the band tiles */
body.lumen.lx-stu #app .dash-hero{ display:grid !important; grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"greet cta" "id cta" "tag cta" "cock cock" "gau gau";
  column-gap:24px; row-gap:0; align-items:end; padding:4px 0 0 !important; margin:0 !important; background:none !important; box-shadow:none !important; border:0 !important; overflow:visible !important; }
body.lumen.lx-stu #app .dash-hero::before, body.lumen.lx-stu #app .dash-hero::after{ display:none !important; }
body.lumen.lx-stu #app .dash-hero-l{ display:contents !important; }
body.lumen.lx-stu #app .dash-greet{ grid-area:greet; margin:0 !important; font:700 32px/40px var(--lx-font) !important; letter-spacing:-.025em !important; color: var(--lx-text) !important;
  background:none !important; -webkit-text-fill-color: currentColor !important; }
body.lumen.lx-stu #app .dash-greet .dash-wave{ font-size:28px; }
body.lumen.lx-stu #app .dash-hero .dash-idstrip{ grid-area:id; margin-top:4px; font: 500 14px/20px var(--lx-font); color: var(--lx-text-2); }
body.lumen.lx-stu #app .dash-hero .dash-tagline{ grid-area:tag; margin-top:4px; font: 400 14px/20px var(--lx-font); color: var(--lx-text-2); max-width:760px; }
body.lumen.lx-stu #app .dash-hero .dash-hero-cta{ grid-area:cta; align-self:end; justify-self:end; margin:0 !important; height: var(--lx-ctl-md) !important; padding:0 14px !important; }
body.lumen.lx-stu #app .dash-hero-r{ grid-area:cock; display:block !important; margin-top:20px; min-width:0; }
body.lumen.lx-stu #app .dash-cockpit{ width:auto !important; max-width:none !important; display:flex !important; flex-direction:row !important; gap:0 !important; padding:0 !important;
  background: var(--lx-surface) !important; background-image:none !important; border:0 !important; border-radius: var(--lx-r-card) !important; box-shadow: var(--lx-e1) !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important; }
body.lumen.lx-stu #app .dash-cockpit > *{ padding:16px 20px !important; margin:0 !important; min-width:0; display:flex; flex-direction:column; justify-content:center; }
body.lumen.lx-stu #app .dash-cockpit > * + *{ border:0 !important; box-shadow: -1px 0 0 var(--lx-line); }
body.lumen.lx-stu #app .dcp-clock{ flex:none; flex-direction:column-reverse !important; align-items:flex-start !important; gap:4px; }
body.lumen.lx-stu #app .dcp-time b{ font: 600 26px/30px var(--lx-font) !important; letter-spacing:-.02em; color: var(--lx-text) !important; font-feature-settings: var(--lx-num); }
body.lumen.lx-stu #app .dcp-ap{ font: 500 12.5px/16px var(--lx-font) !important; color: var(--lx-text-3) !important; }
body.lumen.lx-stu #app .dcp-date{ flex-direction:row !important; gap:6px; font: 400 12.5px/16px var(--lx-font); color: var(--lx-text-3); }
body.lumen.lx-stu #app :is(.dcp-date-full, .dcp-day){ font: inherit !important; color: inherit !important; }
body.lumen.lx-stu #app .dcp-date-full::after{ content:" ·"; }
body.lumen.lx-stu #app .dcp-mid{ flex:1 1 0; }
body.lumen.lx-stu #app .dcp-streak-h{ font: 600 14px/20px var(--lx-font) !important; color: var(--lx-text) !important; }
body.lumen.lx-stu #app .dcp-streak-h b{ color: var(--lx-warn); }
body.lumen.lx-stu #app .dcp-nudge{ font: 400 12.5px/18px var(--lx-font) !important; color: var(--lx-text-3) !important; margin-top:2px; }
body.lumen.lx-stu #app .dcp-stats{ flex:none; display:flex !important; flex-direction:row !important; gap:24px !important; justify-content:flex-start !important; }
body.lumen.lx-stu #app .dcp-stat{ background:none !important; border:0 !important; border-radius:0 !important; padding:0 !important; text-align:left !important; box-shadow:none !important; }
body.lumen.lx-stu #app .dcp-stat b{ display:block; font: 600 22px/28px var(--lx-font) !important; color: var(--lx-text) !important; font-feature-settings: var(--lx-num); }
body.lumen.lx-stu #app .dcp-stat span{ font: 400 12.5px/16px var(--lx-font) !important; color: var(--lx-text-3) !important; }
body.lumen.lx-stu #app .dcp-stat-warn b{ color: var(--lx-warn) !important; }
body.lumen.lx-stu #app .dcp-stat-hot b{ color: var(--lx-bad) !important; }
body.lumen.lx-stu #app .dcp-stat-cta{ cursor:pointer; }
body.lumen.lx-stu #app .dcp-stat-cta span{ text-decoration:underline; text-underline-offset:2px; color: var(--lx-accent-text) !important; }
body.lumen.lx-stu #app .dcp-band{ flex:1 1 0; }
body.lumen.lx-stu #app .dcp-band-l{ font: 400 13px/18px var(--lx-font) !important; color: var(--lx-text-2) !important; margin-bottom:8px !important; gap:12px; }
body.lumen.lx-stu #app .dcp-band-l b{ color: var(--lx-text); font-weight:600; }
body.lumen.lx-stu #app .dcp-band-goal{ font-weight:600 !important; }
body.lumen.lx-stu #app .dcp-band-bar{ height:6px !important; background: var(--lx-surface-3) !important; border-radius:99px; }
body.lumen.lx-stu #app .dcp-band-bar i{ background: var(--lx-accent) !important; border-radius:99px; }
/* the six band tiles (L R W S Current Target): one strip, hairlines between */
body.lumen.lx-stu #app .dash-hero .stg-row{ grid-area:gau; margin-top:16px; padding:0 !important; display:grid !important; grid-template-columns:repeat(6, minmax(0,1fr)); gap:1px !important;
  background: var(--lx-line) !important; border-radius: var(--lx-r-card); box-shadow: var(--lx-e1); overflow:hidden; }
body.lumen.lx-stu #app .dash-hero .stg{ flex-direction:row !important; align-items:center !important; justify-content:flex-start !important; gap:12px !important; padding:14px 16px !important; min-height:76px;
  background: var(--lx-surface) !important; border:0 !important; border-radius:0 !important; box-shadow:none !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important; }
body.lumen.lx-stu #app .dash-hero .stg-svg{ width:48px !important; height:48px !important; flex:none; }
body.lumen.lx-stu #app .dash-hero .stg-svg circle:first-child{ stroke: var(--lx-surface-3); }
body.lumen.lx-stu #app .dash-hero .stg-svg text{ fill: var(--lx-text); font-family: var(--lx-font); font-weight:600; }
body.lumen.lx-stu #app .dash-hero .stg-svg text[fill="#5b6880"]{ fill: var(--lx-text-3); }
body.lumen.lx-stu #app .dash-hero .stg-arc[stroke="#34d399"]{ stroke: var(--lx-ok); }
body.lumen.lx-stu #app .dash-hero .stg-arc[stroke="#fbbf24"]{ stroke: var(--lx-warn); }
body.lumen.lx-stu #app .dash-hero .stg-arc[stroke="#fb7185"]{ stroke: var(--lx-bad); }
body.lumen.lx-stu #app .dash-hero .stg-l{ font: 500 13px/18px var(--lx-font) !important; letter-spacing:0 !important; text-transform:none !important; color: var(--lx-text-2) !important; text-align:left !important; }
body.lumen.lx-stu #app .dash-hero .stg-tgt{ flex-direction:row-reverse !important; justify-content:flex-end !important; }
body.lumen.lx-stu #app .dash-hero .stg-tn{ width:48px; height:48px !important; text-align:center; font: 600 26px/48px var(--lx-font) !important; color: var(--lx-text) !important; font-feature-settings: var(--lx-num); }
/* the page grid: trend / week / readiness left, Where to focus right; study-abroad beside the contact card */
body.lumen.lx-stu #app .sf-wrap:has(> .dash-hero) > .chart-row, body.lumen.lx-stu #app .stu-svc-row{ display:grid !important; grid-template-columns:minmax(0,1.6fr) minmax(0,1fr); gap:16px !important; align-items:start !important; margin:16px 0 0 !important; }
body.lumen.lx-stu #app .sf-wrap:has(> .dash-hero) .cr-left{ gap:16px !important; }
body.lumen.lx-stu #app .sf-wrap:has(> .dash-hero):has(> .smig){ display:grid; grid-template-columns:minmax(0,1.6fr) minmax(0,1fr); column-gap:16px; align-items:stretch; }
body.lumen.lx-stu #app .sf-wrap:has(> .dash-hero):has(> .smig) > *{ grid-column:1 / -1; min-width:0; }
body.lumen.lx-stu #app .sf-wrap:has(> .dash-hero):has(> .smig) > .smig{ grid-column:1; margin-top:16px !important; }
body.lumen.lx-stu #app .sf-wrap:has(> .dash-hero):has(> .smig) > .stu-svc-row{ grid-column:2; display:flex !important; }
body.lumen.lx-stu #app .sf-wrap:has(> .dash-hero):has(> .smig) > .stu-svc-row > .cr-left{ flex:1; }
body.lumen.lx-stu #app .sf-wrap:has(> .dash-hero):has(> .smig) > .stu-svc-row .card{ height:100%; }
body.lumen.lx-stu #app .stu-svc-spacer{ display:none !important; }
/* cards on these screens */
body.lumen.lx-stu #app :is(.sf-wrap:has(> .dash-hero), .sf-wrap:has(.lms-item, .cap-bar, .lms-empty)) :is(.card, .stu-card){ padding:16px 20px !important; border:0 !important; border-radius: var(--lx-r-card) !important;
  background: var(--lx-surface) !important; background-image:none !important; box-shadow: var(--lx-e1) !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important; }
body.lumen.lx-stu #app .sf-wrap:has(> .dash-hero) :is(.card > h3, .rdy-t){ font: 600 14px/20px var(--lx-font) !important; color: var(--lx-text) !important; margin:0 0 10px !important; letter-spacing:0 !important; }
body.lumen.lx-stu #app .sf-wrap:has(> .dash-hero) :is(.card > h3, .rdy-t) small{ font: 400 12.5px/20px var(--lx-font) !important; color: var(--lx-text-3) !important; }
body.lumen.lx-stu #app .sf-wrap:has(> .dash-hero) .card svg text{ font-family: var(--lx-font); }
body.lumen.lx-stu #app .sf-wrap:has(> .dash-hero) :is(.w-loading, .skl-empty){ font: 400 13px/20px var(--lx-font) !important; color: var(--lx-text-3) !important; }
/* first-run card + your mock tests */
body.lumen.lx-stu #app .stu-firstrun{ border-left:0 !important; margin-top:16px !important; }
body.lumen.lx-stu #app .stu-firstrun .dash-eyebrow{ font: 500 12.5px/16px var(--lx-font) !important; color: var(--lx-text-3) !important; }
body.lumen.lx-stu #app .stu-firstrun [style*="font-weight:800"]{ font: 600 16px/22px var(--lx-font) !important; color: var(--lx-text); }
body.lumen.lx-stu #app .stu-card{ margin-top:16px !important; }
body.lumen.lx-stu #app .stu-card > div:first-child > div{ font: 600 14px/20px var(--lx-font) !important; color: var(--lx-text); }
body.lumen.lx-stu #app .stu-card > div + div{ border-top-color: var(--lx-line) !important; }
body.lumen.lx-stu #app .stu-card > div + div b{ font-weight:600; }
body.lumen.lx-stu #app .stu-card > div + div > span[style]{ font: 500 12px/18px var(--lx-font) !important; border:0 !important; background: var(--lx-ok-tint) !important; color: var(--lx-ok) !important; padding:2px 8px !important; border-radius:6px !important; }
body.lumen.lx-stu #app .stu-card > div + div > span[style*="#b45309"]{ background: var(--lx-warn-tint) !important; color: var(--lx-warn) !important; }
body.lumen.lx-stu #app .stu-card > div + div > span[style*="#64748b"]{ background: var(--lx-surface-3) !important; color: var(--lx-text-2) !important; }
/* Where to focus */
body.lumen.lx-stu #app .qt-legend{ gap:14px !important; margin:0 0 8px !important; }
body.lumen.lx-stu #app .qt-lg{ display:inline-flex; align-items:center; gap:6px; background:none !important; border:0 !important; padding:0 !important; font: 500 12px/18px var(--lx-font) !important; color: var(--lx-text-2) !important; }
body.lumen.lx-stu #app .qt-lg::before{ content:""; width:7px; height:7px; border-radius:50%; background: var(--c); }
body.lumen.lx-stu #app .qt-list{ gap:0 !important; }
body.lumen.lx-stu #app .qt-row{ padding:10px 0; }
body.lumen.lx-stu #app .qt-row + .qt-row{ box-shadow: 0 -1px 0 var(--lx-line); }
body.lumen.lx-stu #app .qt-head{ margin-bottom:6px !important; }
body.lumen.lx-stu #app .qt-name{ font: 600 13.5px/20px var(--lx-font) !important; color: var(--lx-text) !important; }
body.lumen.lx-stu #app .qt-tag{ font: 500 12px/18px var(--lx-font) !important; }
body.lumen.lx-stu #app .qt-track{ height:6px !important; background: var(--lx-surface-3) !important; }
body.lumen.lx-stu #app .qt-sub{ font: 400 12px/16px var(--lx-font) !important; color: var(--lx-text-3) !important; }
body.lumen.lx-stu #app .qt-go{ height: var(--lx-ctl-sm); min-width:96px; padding:0 12px !important; border:0 !important; border-radius: var(--lx-r-ctl) !important; background: var(--lx-primary-bg) !important; color: var(--lx-primary-fg) !important;
  font: 500 12.5px/1 var(--lx-font) !important; }
body.lumen.lx-stu #app .qt-go:hover{ background: var(--lx-primary-hover) !important; }
body.lumen.lx-stu #app .qt-done{ min-width:96px; text-align:center; font: 500 12px/18px var(--lx-font) !important; color: var(--lx-ok) !important; }
body.lumen.lx-stu #app .skl-foot{ margin-top:6px; padding-top:10px; box-shadow: 0 -1px 0 var(--lx-line); font: 400 12.5px/18px var(--lx-font); color: var(--lx-text-3); }
/* readiness + class check-in */
body.lumen.lx-stu #app .rdy-big{ font: 600 32px/1 var(--lx-font) !important; font-feature-settings: var(--lx-num); }
body.lumen.lx-stu #app .rdy-pct{ font: 600 18px/1 var(--lx-font) !important; }
body.lumen.lx-stu #app .rdy-pct small{ font: 400 12px/16px var(--lx-font) !important; color: var(--lx-text-3) !important; }
body.lumen.lx-stu #app :is(.rdy-big, .rdy-pct)[style*="#34d399"]{ color: var(--lx-ok) !important; }
body.lumen.lx-stu #app :is(.rdy-big, .rdy-pct)[style*="#fbbf24"]{ color: var(--lx-warn) !important; }
body.lumen.lx-stu #app :is(.rdy-big, .rdy-pct)[style*="#fb7185"]{ color: var(--lx-bad) !important; }
body.lumen.lx-stu #app .rdy-bar{ height:6px !important; background: var(--lx-surface-3) !important; margin-top:6px; }
body.lumen.lx-stu #app .rdy-bar i{ background: var(--lx-text-2) !important; }
body.lumen.lx-stu #app .rdy-bar i[style*="#34d399"]{ background: var(--lx-ok) !important; }
body.lumen.lx-stu #app .rdy-bar i[style*="#fbbf24"]{ background: var(--lx-warn) !important; }
body.lumen.lx-stu #app .rdy-bar i[style*="#fb7185"]{ background: var(--lx-bad) !important; }
body.lumen.lx-stu #app .rdy-tgt{ top:-5px !important; width:2px; height:16px; background: var(--lx-text); border-radius:1px; font-size:0 !important; }
body.lumen.lx-stu #app .rdy-sub{ font: 400 13px/18px var(--lx-font) !important; color: var(--lx-text-2) !important; margin-top:8px !important; }
body.lumen.lx-stu #app .ck-row{ gap:10px !important; flex-wrap:wrap; margin-top:14px !important; padding-top:14px !important; border-top:1px solid var(--lx-line) !important; font: 400 13px/18px var(--lx-font) !important; color: var(--lx-text-2) !important; }
body.lumen.lx-stu #app .ck-row.ok{ color: var(--lx-ok) !important; font-weight:500 !important; }
body.lumen.lx-stu #app .ck-row input{ height: var(--lx-ctl-md) !important; min-height:0 !important; width:96px !important; padding:0 10px !important; border-radius: var(--lx-r-ctl) !important; border:0 !important;
  box-shadow: inset 0 0 0 1px var(--lx-line-2) !important; background: var(--lx-surface) !important; color: var(--lx-text) !important; font: 500 15px/1 var(--lx-mono) !important; letter-spacing:.2em !important; }
body.lumen.lx-stu #app .ck-row input:focus{ box-shadow: var(--lx-focus) !important; }
body.lumen.lx-stu #app .ck-row .btn.primary:not(.lx-keep){ height: var(--lx-ctl-md) !important; background: var(--lx-primary-bg) !important; color: var(--lx-primary-fg) !important; box-shadow:none !important; }
/* study-abroad tracker */
body.lumen.lx-stu #app .smig-h{ margin-bottom:16px !important; }
body.lumen.lx-stu #app .smig-t{ font: 600 14px/20px var(--lx-font) !important; }
body.lumen.lx-stu #app .smig-s{ font: 400 12.5px/18px var(--lx-font) !important; color: var(--lx-text-3) !important; }
body.lumen.lx-stu #app .smig-s b, body.lumen.lx-stu #app .smig-foot b{ color: var(--lx-text-2) !important; font-weight:500; }
body.lumen.lx-stu #app .smig .ret-pill{ background: var(--lx-info-tint) !important; color: var(--lx-info) !important; font: 500 12px/18px var(--lx-font) !important; padding:1px 8px !important; border-radius:6px !important; border:0 !important; }
body.lumen.lx-stu #app .smig-track{ counter-reset: smig; margin:0 0 16px !important; }
body.lumen.lx-stu #app .smig-step{ counter-increment: smig; min-width:52px !important; }
body.lumen.lx-stu #app .smig-dot{ width:26px !important; height:26px !important; border:0 !important; box-shadow: inset 0 0 0 1px var(--lx-line-2) !important; background: var(--lx-surface) !important; color: var(--lx-text-3) !important; font: 500 12px/1 var(--lx-font) !important; }
body.lumen.lx-stu #app .smig-step:not(.done) .smig-dot::before{ content: counter(smig); }
body.lumen.lx-stu #app .smig-step.done .smig-dot{ background: var(--lx-ok) !important; color: var(--lx-surface) !important; box-shadow:none !important; }
body.lumen.lx-stu #app .smig-step.now .smig-dot{ background: var(--lx-surface) !important; color: var(--lx-text) !important; box-shadow: inset 0 0 0 2px var(--lx-text) !important; }
body.lumen.lx-stu #app .smig-lb{ font: 400 12px/16px var(--lx-font) !important; color: var(--lx-text-3) !important; }
body.lumen.lx-stu #app .smig-step:is(.done, .now) .smig-lb{ color: var(--lx-text) !important; font-weight:500 !important; }
body.lumen.lx-stu #app .smig-line{ height:1px !important; background: var(--lx-line-2) !important; margin-top:-16px !important; }
body.lumen.lx-stu #app :is(.smig-docs, .smig-next){ background:none !important; border:0 !important; padding:0 !important; }
body.lumen.lx-stu #app :is(.smig-docs-h, .smig-next-h){ font: 500 13px/18px var(--lx-font) !important; color: var(--lx-text) !important; }
body.lumen.lx-stu #app .smig-next-b{ font: 400 13px/18px var(--lx-font) !important; color: var(--lx-text-2); }
body.lumen.lx-stu #app .smig-docs-bar{ height:6px !important; background: var(--lx-surface-3) !important; }
body.lumen.lx-stu #app .smig-docs-bar i{ background: var(--lx-info) !important; }
body.lumen.lx-stu #app .smig-docs-bar i[style*="#34d399"]{ background: var(--lx-ok) !important; }
body.lumen.lx-stu #app .smig-foot{ border-top:1px solid var(--lx-line) !important; font: 400 12.5px/18px var(--lx-font) !important; color: var(--lx-text-3) !important; }
/* contact person + callback */
body.lumen.lx-stu #app .stu-handler-av{ width:44px !important; height:44px !important; background: var(--lx-accent-tint) !important; color: var(--lx-accent-text) !important; font: 600 15px/1 var(--lx-font) !important; }
body.lumen.lx-stu #app .stu-hc-eyebrow{ font: 500 12.5px/16px var(--lx-font) !important; letter-spacing:0 !important; text-transform:none !important; color: var(--lx-text-3) !important; }
body.lumen.lx-stu #app .stu-handler-card .stu-handler-nm{ font: 600 16px/22px var(--lx-font) !important; color: var(--lx-text) !important; }
body.lumen.lx-stu #app .stu-handler-card .stu-handler-role{ font: 400 12.5px/18px var(--lx-font) !important; color: var(--lx-text-3) !important; }
body.lumen.lx-stu #app .stu-hc-contacts{ gap:2px !important; }
body.lumen.lx-stu #app .stu-hc-line{ padding:6px 0 !important; border:0 !important; background:none !important; font: 400 13.5px/20px var(--lx-font) !important; color: var(--lx-text) !important; }
body.lumen.lx-stu #app .stu-hc-line:hover span{ text-decoration:underline; text-underline-offset:2px; }
body.lumen.lx-stu #app .stu-hc-ic:empty{ display:none; }
body.lumen.lx-stu #app :is(.stu-hc-ta, .stu-hc-fld input, .stu-hc-fld select){ border:0 !important; box-shadow: inset 0 0 0 1px var(--lx-line-2) !important; background: var(--lx-surface) !important; color: var(--lx-text) !important;
  border-radius: var(--lx-r-ctl) !important; font: 400 13.5px/20px var(--lx-font) !important; }
body.lumen.lx-stu #app :is(.stu-hc-fld input, .stu-hc-fld select){ height: var(--lx-ctl-md) !important; }
body.lumen.lx-stu #app :is(.stu-hc-ta, .stu-hc-fld input, .stu-hc-fld select):focus{ box-shadow: var(--lx-focus) !important; outline:0; }
body.lumen.lx-stu #app .stu-hc-fld > span{ font: 500 12px/16px var(--lx-font) !important; letter-spacing:0 !important; text-transform:none !important; color: var(--lx-text-3) !important; }
body.lumen.lx-stu #app .stu-hc-cbbtn{ flex:none !important; height: var(--lx-ctl-md) !important; padding:0 14px !important; border:0 !important; border-radius: var(--lx-r-ctl) !important; background: var(--lx-primary-bg) !important; background-image:none !important;
  color: var(--lx-primary-fg) !important; font: 500 13px/1 var(--lx-font) !important; box-shadow:none !important; }
body.lumen.lx-stu #app .stu-hc-cbbtn:hover{ background: var(--lx-primary-hover) !important; }
body.lumen.lx-stu #app .stu-handler-card > [data-stucallback]{ width:auto !important; align-self:flex-start; height: var(--lx-ctl-md) !important; background-image:none !important; }
/* My Classes */
body.lumen.lx-stu #app .sf-wrap:has(.cap-bar, .lms-item, .lms-empty) .card > div > div > h3, body.lumen.lx-stu #app .sf-wrap:has(.lms-item, .lms-empty) .card > h3{ font: 600 16px/22px var(--lx-font) !important; color: var(--lx-text) !important; }
body.lumen.lx-stu #app .sf-wrap:has(.cap-bar, .lms-item, .lms-empty) .card-sub{ font: 400 13px/20px var(--lx-font) !important; color: var(--lx-text-3) !important; }
body.lumen.lx-stu #app .sf-wrap:has(.cap-bar) .fin-pl{ border-bottom:0 !important; box-shadow: 0 -1px 0 var(--lx-line); font: 400 13.5px/20px var(--lx-font) !important; color: var(--lx-text-2); }
body.lumen.lx-stu #app .sf-wrap:has(.cap-bar) .fin-pl b{ color: var(--lx-text); font-weight:500; }
body.lumen.lx-stu #app .sf-wrap:has(.cap-bar) .cap-bar{ height:6px !important; background: var(--lx-surface-3) !important; }
body.lumen.lx-stu #app .sf-wrap:has(.cap-bar) .cap-bar i{ background: var(--lx-accent) !important; }
body.lumen.lx-stu #app .sf-wrap:has(.cap-bar, .lms-item, .lms-empty) .cust-dsec{ font: 600 13px/18px var(--lx-font) !important; letter-spacing:0 !important; text-transform:none !important; color: var(--lx-text) !important; }
body.lumen.lx-stu #app .sf-wrap:has(.cap-bar) .wa-chip{ font: 500 12px/16px var(--lx-font) !important; padding:3px 8px !important; border-radius:6px !important; background: var(--lx-surface) !important; font-feature-settings: var(--lx-num); }
body.lumen.lx-stu #app .sf-wrap:has(.cap-bar) .card a.btn.primary{ height: var(--lx-ctl-sm) !important; }
/* Class Materials (lms.js studentView) */
body.lumen.lx-stu #app .lms-item{ align-items:center !important; padding:12px 16px !important; margin-top:8px !important; border:0 !important; border-radius:10px !important; background: var(--lx-surface) !important; box-shadow: inset 0 0 0 1px var(--lx-line) !important; }
body.lumen.lx-stu #app .lms-item.lms-lock{ opacity:1 !important; background: var(--lx-surface-2) !important; box-shadow: inset 0 0 0 1px var(--lx-line) !important; }
body.lumen.lx-stu #app .lms-item-t{ font: 600 13.5px/20px var(--lx-font) !important; color: var(--lx-text); }
body.lumen.lx-stu #app :is(.lms-item-m, .lms-asg-meta){ font: 400 12.5px/18px var(--lx-font) !important; color: var(--lx-text-3) !important; }
body.lumen.lx-stu #app .lms-item-m a{ color: var(--lx-accent-text); }
body.lumen.lx-stu #app .lms-lock-why{ font: 400 12.5px/18px var(--lx-font) !important; color: var(--lx-warn) !important; }
body.lumen.lx-stu #app .lms-open-ok{ font: 400 12.5px/18px var(--lx-font) !important; color: var(--lx-ok) !important; }
body.lumen.lx-stu #app .lms-mod-h{ margin-top:18px !important; font: 600 13px/18px var(--lx-font) !important; letter-spacing:0 !important; color: var(--lx-text); }
body.lumen.lx-stu #app .lms-mod-h .lms-mod-n{ font: 400 12.5px/18px var(--lx-font) !important; color: var(--lx-text-3) !important; }
body.lumen.lx-stu #app details.lms-fold > summary{ font: 500 12.5px/20px var(--lx-font) !important; color: var(--lx-accent-text) !important; }
body.lumen.lx-stu #app :is(.lms-sheet-body, .lms-note-body){ font: 400 13.5px/1.55 var(--lx-font) !important; color: var(--lx-text-2) !important; }
body.lumen.lx-stu #app .lms-empty{ font: 400 13px/20px var(--lx-font) !important; color: var(--lx-text-3) !important; padding:10px 0 !important; }
body.lumen.lx-stu #app .lms-item-acts .btn{ height: var(--lx-ctl-sm) !important; min-width:96px; justify-content:center; }
body.lumen.lx-stu #app .lms-item-acts .btn:disabled{ background: var(--lx-surface-3) !important; color: var(--lx-text-3) !important; box-shadow:none !important; opacity:1 !important; }
/* phones: one column, 40px row buttons, 15px text */
@media (max-width: 760px){
  body.lumen.lx-stu #app .dash-hero{ grid-template-columns:minmax(0,1fr); grid-template-areas:"greet" "id" "tag" "cta" "cock" "gau"; }
  body.lumen.lx-stu #app .dash-greet{ font-size:28px !important; line-height:36px !important; }
  body.lumen.lx-stu #app .dash-hero .dash-hero-cta{ justify-self:start; margin-top:12px !important; height:40px !important; }
  body.lumen.lx-stu #app :is(.dash-hero .dash-tagline, .dash-hero .dash-idstrip, .dcp-streak-h, .qt-name, .rdy-sub, .lms-item-t, .stu-hc-line, .smig-next-b, .ck-row){ font-size:15px !important; line-height:22px !important; }
  body.lumen.lx-stu #app .dash-cockpit{ flex-direction:column !important; }
  body.lumen.lx-stu #app .dash-cockpit > * + *{ box-shadow: 0 -1px 0 var(--lx-line); }
  body.lumen.lx-stu #app .dcp-stats{ justify-content:space-between !important; }
  body.lumen.lx-stu #app .dash-hero .stg-row{ grid-template-columns:repeat(3, minmax(0,1fr)); }
  body.lumen.lx-stu #app .dash-hero .stg{ flex-direction:column !important; align-items:center !important; gap:4px !important; padding:12px 6px !important; }
  body.lumen.lx-stu #app .dash-hero .stg-tgt{ flex-direction:column-reverse !important; }
  body.lumen.lx-stu #app .dash-hero .stg-l{ text-align:center !important; }
  body.lumen.lx-stu #app .sf-wrap:has(> .dash-hero) > .chart-row, body.lumen.lx-stu #app .stu-svc-row, body.lumen.lx-stu #app .sf-wrap:has(> .dash-hero):has(> .smig){ grid-template-columns:minmax(0,1fr) !important; }
  body.lumen.lx-stu #app .sf-wrap:has(> .dash-hero):has(> .smig) > :is(.smig, .stu-svc-row){ grid-column:1; }
  body.lumen.lx-stu #app :is(.sf-wrap:has(> .dash-hero), .sf-wrap:has(.lms-item, .cap-bar, .lms-empty)) :is(.card, .stu-card){ padding:16px !important; }
  body.lumen.lx-stu #app :is(.qt-go, .ck-row .btn, .ck-row input, .stu-hc-cbbtn, .lms-item-acts .btn, .stu-handler-card > [data-stucallback], .stu-card .btn, .stu-firstrun .btn, .sf-wrap:has(.cap-bar) .card a.btn){ height:40px !important; min-height:40px !important; font-size:15px !important; }
  body.lumen.lx-stu #app :is(.stu-hc-fld input, .stu-hc-fld select){ height:40px !important; font-size:15px !important; }
  body.lumen.lx-stu #app .stu-hc-line{ min-height:40px; }
  body.lumen.lx-stu #app .smig-grid{ grid-template-columns:minmax(0,1fr) !important; }
  body.lumen.lx-stu #app .sf-wrap:has(.cap-bar) .fin-pl{ flex-wrap:wrap; gap:6px 12px; }
  body.lumen.lx-stu #app .lms-item{ flex-wrap:wrap; }
  body.lumen.lx-stu #app .lms-item-acts{ width:100%; }
  body.lumen.lx-stu #app .lms-item-acts .btn{ flex:1; }
}
/* 21.H end */
/* 21.T · full / partial / section-wise / question-wise / BC tests */
/* Builder T (29 Sep). The Lumen rows app.js emits under stuLx() (lxtFullHTML, the .lxt-* branches of pmCardsHTML, secCardsHTML,
   secSpeakingHTML, speakingCardsHTML, drillCard, qwCardsHTML, renderSetPicker, bcpPageHTML, pmSourceSwitchHTML) plus the live skill
   strip (.skill-btns) restyled as a segmented switch. One card per list (.lxt-tbl) of grid rows (.lxt-tr), book headers as .lxt-sec.
   Row buttons 96px × 28px (40px on phones via 21.S's --lx-ctl-sm). */
body.lumen.lx-stu{ --lxt-bc:#4a33a8; --lxt-bc-ink:#fff; --lxt-bc-soft:#241d3d; --lxt-bc-soft-h:#2e2650; --lxt-bc-soft-ink:#e4ddff; --lxt-bc-band:#7ee9ff; }
html[data-theme="light"] body.lumen.lx-stu{ --lxt-bc:#23085A; --lxt-bc-ink:#fff; --lxt-bc-soft:#E8E3F4; --lxt-bc-soft-h:#DCD4EE; --lxt-bc-soft-ink:#23085A; --lxt-bc-band:#5B3FD1; }
/* the list card, header row, rows, book headers */
body.lumen.lx-stu #app .lxt-tbl{ margin:12px 0 0; background:var(--lx-surface); border-radius:var(--lx-r-card); box-shadow:var(--lx-e1); overflow:hidden; }
body.lumen.lx-stu #app :is(.lxt-th, .lxt-tr){ display:grid; grid-template-columns:minmax(0,1fr) 72px 88px 112px; align-items:center; column-gap:12px; padding:0 16px; }
body.lumen.lx-stu #app .lxt-th{ height:36px; background:var(--lx-surface-2); border-bottom:1px solid var(--lx-line); color:var(--lx-text-3); font:600 12px/16px var(--lx-font); }
body.lumen.lx-stu #app .lxt-th > span:last-child, body.lumen.lx-stu #app .lxt-tr > .lxt-act{ text-align:right; justify-self:end; }
body.lumen.lx-stu #app .lxt-tr{ min-height:var(--lx-row-h); padding-top:8px; padding-bottom:8px; border-top:1px solid var(--lx-line); color:var(--lx-text); font:400 13px/18px var(--lx-font); }
body.lumen.lx-stu #app :is(.lxt-th, .lxt-sec) + .lxt-tr, body.lumen.lx-stu #app .lxt-tbl > .lxt-tr:first-child{ border-top:0; }
body.lumen.lx-stu #app .lxt-tr:hover{ background:var(--lx-surface-2); }
body.lumen.lx-stu #app .lxt-sec{ padding:14px 16px 8px; border-top:1px solid var(--lx-line); background:var(--lx-surface-2); color:var(--lx-text); font:600 13px/18px var(--lx-font); }
body.lumen.lx-stu #app .lxt-th + .lxt-sec, body.lumen.lx-stu #app .lxt-tbl > .lxt-sec:first-child{ border-top:0; }
/* v1.364 — Cambridge materials: every book is its own tile, 8 px apart (ANik 1 Oct, demo "8px is fine"; app.js lxtBooks). The list card
   becomes a plain column; the column header is a plain strip above the tiles; rows inside a tile are unchanged. */
body.lumen.lx-stu #app .lxt-tbl.lxt-tiles{ background:none; box-shadow:none; border-radius:0; overflow:visible; }
body.lumen.lx-stu #app .lxt-tiles > .lxt-th{ background:none; border-bottom:0; height:28px; }
body.lumen.lx-stu #app .lxt-tiles > .lxt-book{ background:var(--lx-surface); border-radius:var(--lx-r-card); box-shadow:var(--lx-e1); overflow:hidden; }
body.lumen.lx-stu #app .lxt-tiles > .lxt-book + .lxt-book{ margin-top:8px; }
body.lumen.lx-stu #app .lxt-tiles .lxt-book > .lxt-sec{ border-top:0; }
/* cells */
body.lumen.lx-stu #app .lxt-main{ min-width:0; }
body.lumen.lx-stu #app :is(.lxt-name, .lxt-nm){ font:600 14px/20px var(--lx-font); color:var(--lx-text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; display:inline-block; vertical-align:top; }
body.lumen.lx-stu #app .lxt-name{ cursor:pointer; border-radius:4px; text-underline-offset:3px; text-decoration-thickness:1.5px; }
body.lumen.lx-stu #app .lxt-name:is(:hover, :focus-visible){ text-decoration:underline; outline:none; }
body.lumen.lx-stu #app :is(.lxt-name, .lxt-sc):focus-visible{ box-shadow:var(--lx-focus); outline:none; }
body.lumen.lx-stu #app .lxt-desc{ display:block; color:var(--lx-text-3); font:400 12.5px/18px var(--lx-font); }
body.lumen.lx-stu #app .lxt-chips{ display:flex; flex-wrap:wrap; gap:6px; margin-top:6px; }
body.lumen.lx-stu #app :is(.lxt-chip, .lxt-chips .pm-tchip, .lxt-chips .diff){ display:inline-flex; align-items:center; height:20px; padding:0 7px !important; border:0 !important; border-radius:6px !important;
  background:var(--lx-surface-3); color:var(--lx-text-2); font:500 11.5px/20px var(--lx-font) !important; letter-spacing:0 !important; white-space:nowrap; }
body.lumen.lx-stu #app .lxt-chips .pm-tchip{ background:color-mix(in srgb, var(--c) 13%, transparent) !important; color:color-mix(in srgb, var(--c) 50%, var(--lx-text)) !important; }   /* FIX2: 50% (was 62%) for 4.5:1 */
body.lumen.lx-stu #app .lxt-chips .diff{ text-transform:lowercase; }
body.lumen.lx-stu #app .lxt-chips .diff::first-letter{ text-transform:uppercase; }
body.lumen.lx-stu #app .lxt-chip.acc{ background:var(--lx-accent-tint); color:var(--lx-accent-text); }
body.lumen.lx-stu #app :is(.lxt-chip, .lxt-badge).ok{ background:var(--lx-ok-tint); color:var(--lx-ok); }
body.lumen.lx-stu #app :is(.lxt-chip, .lxt-badge).warn{ background:var(--lx-warn-tint); color:var(--lx-warn); }
body.lumen.lx-stu #app :is(.lxt-chip, .lxt-badge).bad{ background:var(--lx-bad-tint); color:var(--lx-bad); }
body.lumen.lx-stu #app .lxt-badge{ display:inline-flex; align-items:center; gap:5px; height:20px; padding:0 8px; border-radius:99px; background:var(--lx-surface-3); color:var(--lx-text-2); font:600 11.5px/20px var(--lx-font); white-space:nowrap; }
body.lumen.lx-stu #app .lxt-badge.info{ background:var(--lx-info-tint); color:var(--lx-info); }
body.lumen.lx-stu #app .lxt-badge.acc{ background:var(--lx-accent-tint); color:var(--lx-accent-text); }
body.lumen.lx-stu #app .lxt-badge svg{ width:11px; height:11px; }
body.lumen.lx-stu #app .lxt-len{ color:var(--lx-text-3); font:400 12.5px/18px var(--lx-font); font-feature-settings:var(--lx-num); white-space:nowrap; }
body.lumen.lx-stu #app .lxt-score{ white-space:nowrap; font-feature-settings:var(--lx-num); }
body.lumen.lx-stu #app .nil{ color:var(--lx-text-3); font-weight:450; }
body.lumen.lx-stu #app .lxt-sc{ cursor:pointer; border-radius:6px; display:inline-flex; }
body.lumen.lx-stu #app .lxt-sc .stu-score, body.lumen.lx-stu #app .lxt-acc{ display:inline-flex; align-items:center; height:22px; padding:0 8px; border-radius:6px; font:600 12.5px/22px var(--lx-font); font-feature-settings:var(--lx-num);
  background:var(--lx-surface-3); color:var(--lx-text-2); }
body.lumen.lx-stu #app .lxt-sc .stu-score small{ display:none; }
body.lumen.lx-stu #app .lxt-sc .stu-score b{ font-weight:600; }
body.lumen.lx-stu #app :is(.lxt-sc .stu-score, .lxt-acc).ok{ background:var(--lx-ok-tint); color:var(--lx-ok); }
body.lumen.lx-stu #app :is(.lxt-sc .stu-score, .lxt-acc).mid{ background:var(--lx-warn-tint); color:var(--lx-warn); }
body.lumen.lx-stu #app :is(.lxt-sc .stu-score, .lxt-acc).low{ background:var(--lx-bad-tint); color:var(--lx-bad); }
body.lumen.lx-stu #app .lxt-sc:hover .stu-score{ box-shadow:inset 0 0 0 1px currentColor; }
body.lumen.lx-stu #app .lxt-rec{ color:var(--lx-ok); font:600 12.5px/18px var(--lx-font); }
body.lumen.lx-stu #app .lxt-inert{ display:inline-block; max-width:176px; color:var(--lx-text-3); font:400 12px/16px var(--lx-font); text-align:right; white-space:normal; }
/* row buttons: 96px, the row height of 21.S (28 desktop / 40 phone); wide ones for longer labels */
body.lumen.lx-stu #app .btn.lxt-rb{ width:96px; min-width:96px !important; padding:0 8px !important; }
body.lumen.lx-stu #app .btn.lxt-rb.lxt-wide{ width:120px; min-width:120px !important; }
/* Full Mock Tests: Test · Status · Length · L R W S Band · action */
body.lumen.lx-stu #app :is(.lxt-th, .lxt-tr).lxt-fm{ grid-template-columns:minmax(0,1fr) 140px 64px 260px 176px; }
body.lumen.lx-stu #app .lxt-tr.lxt-pv{ grid-template-columns:minmax(0,1fr) 120px 120px; }
/* 18 Nov 2026 (ANik "this is too wide"): the staff preview of Full Mock Tests (a name and Start per row) is held to 760 px */
body.lumen.lx-stu #app .lxt-pvw{ max-width:760px; }
body.lumen.lx-stu #app .lxt-tr.lxt-lk :is(.lxt-nm){ color:var(--lx-text-2); }
body.lumen.lx-stu #app .lxt-bands{ display:grid; grid-template-columns:repeat(4, 1fr) 1.3fr; gap:4px; text-align:center; font:600 13px/18px var(--lx-font); font-feature-settings:var(--lx-num); }
body.lumen.lx-stu #app .lxt-th .lxt-bands{ font:600 12px/16px var(--lx-font); }
body.lumen.lx-stu #app .lxt-th .lxt-bands > span{ display:inline-flex; align-items:center; justify-content:center; gap:5px; }
body.lumen.lx-stu #app .lxt-th .lxt-bands .sw{ width:8px; height:8px; border-radius:2px; display:inline-block; }
body.lumen.lx-stu #app .lxt-th .lxt-bands .s1{ background:var(--lx-viz-1); } body.lumen.lx-stu #app .lxt-th .lxt-bands .s2{ background:var(--lx-viz-2); }
body.lumen.lx-stu #app .lxt-th .lxt-bands .s3{ background:var(--lx-viz-3); } body.lumen.lx-stu #app .lxt-th .lxt-bands .s4{ background:var(--lx-viz-4); }
body.lumen.lx-stu #app .lxt-tr .lxt-bands i{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; font-style:normal; }
body.lumen.lx-stu #app .lxt-tr .lxt-bands .prov{ color:var(--lx-warn); }
body.lumen.lx-stu #app .lxt-tr .lxt-bands .ov{ border-radius:6px; background:var(--lx-accent-tint); color:var(--lx-accent-text); }
body.lumen.lx-stu #app .lxt-tr .lxt-bands .ov.prov{ background:var(--lx-warn-tint); color:var(--lx-warn); }
body.lumen.lx-stu #app .lxt-tr .lxt-bands .ov:has(.nil){ background:none; }
body.lumen.lx-stu #app .lxt-foot{ margin:10px 2px 0; color:var(--lx-text-3); font:400 12.5px/18px var(--lx-font); }
body.lumen.lx-stu #app .lxt-amb{ color:var(--lx-warn); font-weight:600; }
body.lumen.lx-stu #app .lxt-note{ margin:12px 0 0 !important; }
body.lumen.lx-stu #app .lxt-fhead{ display:flex; gap:24px; align-items:stretch; flex-wrap:wrap; }
body.lumen.lx-stu #app .lxt-fhl{ flex:1 1 340px; min-width:0; display:flex; flex-direction:column; }
body.lumen.lx-stu #app .lxt-fhl > .h1{ display:flex; align-items:center; gap:10px; font:650 22px/28px var(--lx-font) !important; letter-spacing:-.01em !important; color:var(--lx-text) !important; margin:4px 0 2px !important; }
body.lumen.lx-stu #app .lxt-fhl > .h1 .grad{ background:none !important; -webkit-text-fill-color:currentColor !important; color:inherit !important; }
body.lumen.lx-stu #app .lxt-fhl > .h1 > svg.lu:first-child{ box-sizing:border-box; width:32px !important; height:32px !important; padding:7px; border-radius:var(--lx-r-ctl); flex:none; color:var(--lx-accent); background:var(--lx-surface); box-shadow:var(--lx-e1); }
body.lumen.lx-stu #app .lxt-fhl > .sub{ margin:0 0 12px !important; color:var(--lx-text-2) !important; font:400 14px/20px var(--lx-font) !important; }
body.lumen.lx-stu #app .lxt-fhr{ flex:0 1 400px; min-width:260px; display:flex; }
body.lumen.lx-stu #app .lxt-fhr > .card{ margin:0 !important; background:var(--lx-surface) !important; border:0 !important; box-shadow:var(--lx-e1) !important; border-radius:var(--lx-r-card) !important; padding:16px !important; }
body.lumen.lx-stu #app .lxt-fhr .bt-note{ color:var(--lx-text-3) !important; font:400 12.5px/18px var(--lx-font) !important; background:none !important; box-shadow:none !important; padding:0 !important; }
body.lumen.lx-stu #app .lxt-gauges{ margin-top:auto; grid-template-columns:repeat(6, minmax(0, 76px)); gap:8px; }
body.lumen.lx-stu #app .lxt-gauges .stg{ background:var(--lx-surface); border:0; box-shadow:var(--lx-e1); border-radius:var(--lx-r-card); -webkit-backdrop-filter:none; backdrop-filter:none; padding:8px 4px; }
body.lumen.lx-stu #app .lxt-gauges .stg-svg{ width:48px; height:48px; }
body.lumen.lx-stu #app .lxt-gauges .stg-l{ font:500 11.5px/14px var(--lx-font); letter-spacing:0; text-transform:none; color:var(--lx-text-3); }
body.lumen.lx-stu #app .lxt-gauges .stg-tn{ font:650 20px/48px var(--lx-font); height:48px; color:var(--lx-accent-text); }
/* Partial / Section-wise / Question-wise: the skill strip as one segmented switch, on its own row */
body.lumen.lx-stu #app .skill-btns{ display:inline-flex; width:auto; max-width:100%; height:var(--lx-ctl-lg); padding:2px; gap:2px; margin:4px 0 0; border-radius:var(--lx-r-ctl); background:var(--lx-surface-3); }
body.lumen.lx-stu #app .skill-btns .skill-btn{ flex:1 1 auto; min-width:0; min-height:0; height:auto; padding:0 12px; gap:6px; border:0; border-radius:6px; background:none; box-shadow:none; color:var(--lx-text-2); transform:none; cursor:pointer; }
body.lumen.lx-stu #app .skill-btns .skill-btn .nm{ font:550 13px/1 var(--lx-font); }
body.lumen.lx-stu #app .skill-btns .skill-btn .ct{ font:400 11.5px/1 var(--lx-font); letter-spacing:0; color:var(--lx-text-3); }
body.lumen.lx-stu #app .skill-btns .skill-btn .emo{ font-size:0; color:var(--lx-text-3); }
body.lumen.lx-stu #app .skill-btns .skill-btn .emo :is(svg, .skill-ico){ width:15px; height:15px; }
body.lumen.lx-stu #app .skill-btns .skill-btn:hover{ color:var(--lx-text); }
body.lumen.lx-stu #app .skill-btns .skill-btn.active{ background:var(--lx-surface); color:var(--lx-text); box-shadow:var(--lx-e1); }
body.lumen.lx-stu #app .skill-btns .skill-btn.active .ct{ color:var(--lx-text-2); }
body.lumen.lx-stu #app .skill-btns .skill-btn:focus-visible{ box-shadow:var(--lx-focus); outline:none; }
/* Partial: the source switch (brand Exclusive first with its logo tile, then Cambridge), two equal buttons in 480px */
body.lumen.lx-stu #app .pm-src.lxt-src{ display:grid; grid-template-columns:1fr 1fr; grid-auto-flow:row; width:480px; max-width:100%; height:var(--lx-ctl-lg); padding:2px; gap:2px; margin:4px 0 8px;
  border:0; border-radius:var(--lx-r-ctl); background:var(--lx-surface-3); }
body.lumen.lx-stu #app .lxt-src .pm-src-b{ display:inline-flex; align-items:center; justify-content:center; gap:7px; padding:0 8px; min-width:0; border:0; border-radius:6px; background:none; box-shadow:none;
  color:var(--lx-text-2); font:550 13px/1 var(--lx-font); white-space:nowrap; }
body.lumen.lx-stu #app .lxt-src .pm-src-b > span:not(.lxt-logo):not(.lxt-new){ overflow:hidden; text-overflow:ellipsis; line-height:1.35; }   /* v1.364: the button's line-height 1 + overflow:hidden clipped descenders ("Cambridge" lost its g — ANik 1 Oct) */
body.lumen.lx-stu #app .lxt-src .pm-src-b:hover{ color:var(--lx-text); }
body.lumen.lx-stu #app .lxt-src .pm-src-b.active{ background:var(--lx-surface); color:var(--lx-text); box-shadow:var(--lx-e1); }
body.lumen.lx-stu #app .lxt-src .pm-src-b:focus-visible{ box-shadow:var(--lx-focus); outline:none; }
body.lumen.lx-stu #app .lxt-logo{ width:18px; height:18px; flex:none; display:inline-grid; place-items:center; overflow:hidden; border-radius:5px; background:#0d1117; color:var(--lx-spark); }
body.lumen.lx-stu #app .lxt-logo svg{ width:12px; height:12px; }
body.lumen.lx-stu #app .lxt-new{ flex:none; height:18px; padding:0 6px; border-radius:99px; background:var(--lx-accent-tint); color:var(--lx-accent-text); font:600 11px/18px var(--lx-font); }
body.lumen.lx-stu #app .lxt-tr.lxt-soon .lxt-nm{ color:var(--lx-text-2); }
/* Section-wise: part names only, one width; a done part carries a small check dot (the score is in its tooltip) */
body.lumen.lx-stu #app :is(.lxt-th, .lxt-tr).lxt-secr, body.lumen.lx-stu #app .lxt-bc .lxt-tr{ grid-template-columns:minmax(0,1fr) auto; }
body.lumen.lx-stu #app .lxt-parts{ display:flex; align-items:center; gap:6px; justify-content:flex-end; }
body.lumen.lx-stu #app .lxt-tr :is(.lxt-bcb, .btn.lxt-pb, .btn.lxt-rb){ margin:0 !important; }
body.lumen.lx-stu #app .btn.lxt-pb{ width:96px; min-width:96px !important; padding:0 8px !important; }
body.lumen.lx-stu #app .btn.lxt-pb.on::after{ content:""; width:6px; height:6px; border-radius:50%; background:var(--lx-ok); flex:none; }
/* Question-wise: Test · Accuracy · Sets · action; Writing keeps its two task columns */
body.lumen.lx-stu #app .lxt-tr.lxt-qw{ grid-template-columns:minmax(0,1fr) 64px 64px 120px; }
body.lumen.lx-stu #app .lxt-wcols{ gap:16px; }
body.lumen.lx-stu #app .lxt-wcols .w-col-h{ margin:4px 2px 0; color:var(--lx-text); font:600 13px/18px var(--lx-font); background:none; border:0; padding:0; }
body.lumen.lx-stu #app .lxt-wcols .lxt-tr.lxt-qw{ grid-template-columns:minmax(0,1fr) 52px 120px; }
body.lumen.lx-stu #app .lxt-wcols .lxt-tr.lxt-qw > .lxt-len{ display:none; }
/* BC IELTS Ready Premium (§116/§117): indigo 1–25 badge, five 136px soft-indigo buttons 14px apart, label left, band / lock right */
body.lumen.lx-stu #app .lxt-bc .lxt-bcm{ display:flex; align-items:center; gap:12px; }
body.lumen.lx-stu #app .lxt-bcn{ width:28px; height:28px; flex:none; display:inline-grid; place-items:center; border-radius:50%; background:var(--lxt-bc); color:var(--lxt-bc-ink); font:650 12.5px/1 var(--lx-font); font-feature-settings:var(--lx-num); cursor:pointer; }
body.lumen.lx-stu #app .lxt-bc .lxt-parts{ gap:14px; }
body.lumen.lx-stu #app .lxt-bcb{ width:136px; height:var(--lx-ctl-sm); flex:none; display:inline-flex; align-items:center; justify-content:space-between; gap:6px; padding:0 14px; border:0; border-radius:var(--lx-r-ctl);
  background:var(--lxt-bc-soft); color:var(--lxt-bc-soft-ink); font:600 12.5px/1 var(--lx-font); cursor:pointer; transition:background-color var(--lx-d-hover) ease; }
body.lumen.lx-stu #app .lxt-bcb:hover{ background:var(--lxt-bc-soft-h); }
body.lumen.lx-stu #app .lxt-bcb:focus-visible{ box-shadow:var(--lx-focus); outline:none; }
body.lumen.lx-stu #app .lxt-bcb .n{ white-space:nowrap; }
body.lumen.lx-stu #app .lxt-bcb .b{ min-width:22px; display:inline-flex; justify-content:flex-end; align-items:center; color:var(--lxt-bc-band); font:800 12px/1 var(--lx-font); font-feature-settings:var(--lx-num); }
body.lumen.lx-stu #app .lxt-bcb .ip{ width:7px; height:7px; border-radius:50%; background:var(--lx-warn); }
body.lumen.lx-stu #app .lxt-bcb.lk{ background:var(--lx-surface-3); color:var(--lx-text-3); }
body.lumen.lx-stu #app .lxt-bcb.lk .b{ color:var(--lx-text-3); }
body.lumen.lx-stu #app .lxt-bcb:is(.soon, .na){ background:none; box-shadow:inset 0 0 0 1px var(--lx-line-2); color:var(--lx-text-3); font-weight:500; cursor:not-allowed; }
body.lumen.lx-stu #app .lxt-bcb:is(.soon, .na) .b{ color:var(--lx-text-3); font-weight:500; }
/* FIX2: the right slot never shrinks under its text ("Speakingsoon" at 390), and when label + slot don't fit the slot wraps
   under the label instead of running into it — a 6px gap at every width */
body.lumen.lx-stu #app .lxt-bcb{ flex-wrap:wrap; align-content:center; column-gap:6px; row-gap:2px; }
body.lumen.lx-stu #app .lxt-bcb .b{ flex:none; }
/* the speaking practice screen (renderSpeakingSet .lxt-spkp): Lumen surfaces, no glass */
body.lumen.lx-stu #app .lxt-spkp :is(.cue-box, .sp-topic){ background:var(--lx-surface-2) !important; border:0 !important; border-radius:var(--lx-r-ctl) !important; box-shadow:none !important; }
body.lumen.lx-stu #app .lxt-spkp .t-time{ display:inline-flex; align-items:center; height:20px; margin-left:8px; padding:0 7px; border-radius:6px; background:var(--lx-surface-3); color:var(--lx-text-2); font:500 11.5px/20px var(--lx-font); vertical-align:2px; }
body.lumen.lx-stu #app .lxt-spkp .sp-clock{ color:var(--lx-text-2); font:600 13px/18px var(--lx-font); font-feature-settings:var(--lx-num); }
/* phones (≤760): rows stack — name and chips, then the small cells side by side, then a full-width 40px button */
@media (max-width:760px){
  body.lumen.lx-stu #app .lxt-th{ display:none; }
  body.lumen.lx-stu #app .lxt-tr, body.lumen.lx-stu #app .lxt-tr:is(.lxt-fm, .lxt-pv, .lxt-qw, .lxt-secr), body.lumen.lx-stu #app .lxt-wcols .lxt-tr.lxt-qw, body.lumen.lx-stu #app .lxt-bc .lxt-tr{
    grid-template-columns:minmax(0,1fr) auto; row-gap:8px; padding:12px 16px; font-size:15px; line-height:22px; }
  body.lumen.lx-stu #app .lxt-tr > :is(.lxt-main, .lxt-act, .lxt-parts, .lxt-bands){ grid-column:1 / -1; }
  body.lumen.lx-stu #app .lxt-tr > .lxt-act{ justify-self:stretch; text-align:left; }
  body.lumen.lx-stu #app .lxt-tr > .lxt-score{ justify-self:end; }
  body.lumen.lx-stu #app :is(.lxt-name, .lxt-nm){ font-size:15px; line-height:22px; white-space:normal; }
  body.lumen.lx-stu #app .lxt-name{ min-height:40px; display:inline-flex; align-items:center; }
  body.lumen.lx-stu #app .lxt-desc{ font-size:14px; line-height:20px; }
  body.lumen.lx-stu #app :is(.btn.lxt-rb, .btn.lxt-rb.lxt-wide){ width:100%; min-width:0 !important; }
  body.lumen.lx-stu #app .lxt-inert{ max-width:none; text-align:left; font-size:14px; }
  body.lumen.lx-stu #app .lxt-tr .lxt-bands{ gap:6px; }
  body.lumen.lx-stu #app .lxt-tr .lxt-bands > span{ display:flex; flex-direction:column; align-items:center; gap:2px; padding:4px 0; border-radius:6px; background:var(--lx-surface-2); }
  body.lumen.lx-stu #app .lxt-tr .lxt-bands i{ position:static; width:auto; height:auto; clip:auto; display:block; color:var(--lx-text-3); font:500 11px/14px var(--lx-font); }
  body.lumen.lx-stu #app .lxt-tr .lxt-bands.none{ display:none; }
  body.lumen.lx-stu #app .lxt-parts{ display:grid; grid-template-columns:repeat(auto-fit, minmax(0, 1fr)); gap:6px; }
  body.lumen.lx-stu #app .btn.lxt-pb{ width:auto; min-width:0 !important; }
  body.lumen.lx-stu #app .lxt-bc .lxt-parts{ grid-template-columns:repeat(3, minmax(0, 1fr)); gap:8px; }
  body.lumen.lx-stu #app .lxt-bcb{ width:100%; height:40px; padding:0 6px; }   /* FIX2: 6px (was 12) so label + slot fit one line at 390 */
  body.lumen.lx-stu #app .lxt-bcb:is(.soon, .na) .b{ font-size:11px; }
  body.lumen.lx-stu #app .lxt-bcn{ width:32px; height:32px; }
  body.lumen.lx-stu #app :is(.skill-btns, .pm-src.lxt-src){ width:100%; height:40px; }
  body.lumen.lx-stu #app .skill-btns .skill-btn{ flex:1 1 0; padding:0 4px; }
  body.lumen.lx-stu #app .skill-btns .skill-btn :is(.ct, .emo){ display:none; }
  body.lumen.lx-stu #app .lxt-src .pm-src-b{ font-size:13px; gap:5px; padding:0 4px; }
  body.lumen.lx-stu #app .lxt-src .lxt-new{ display:none; }
  body.lumen.lx-stu #app .lxt-fhr{ flex-basis:100%; min-width:0; }
  body.lumen.lx-stu #app .lxt-gauges{ grid-template-columns:repeat(3, minmax(0, 1fr)); }
  body.lumen.lx-stu #app .lxt-wcols{ grid-template-columns:1fr; }
  body.lumen.lx-stu #app .lxt-sc{ min-height:40px; min-width:40px; align-items:center; justify-content:flex-end; }   /* FIX2: phone tap size */
}
/* v1.353 — ANik 30 Sep on the live Partial page: "show in one line" … "yes, fix these".
   (1) a test row is ONE line: the name, then its chips beside it. Most rows carry more question types than fit (median needs
       1153px of 1048 at 1456 wide, n=104 Cambridge Reading rows), so the chips stay on the line and fade out at the edge;
       the full list is the chips' title (app.js pmCardsHTML). Phones keep the two-line row.
   v1.358 (ANik 30 Sep: "make section-wise test layout as partial test layout, one line") — the same one-line rows in the Section-wise table (.lxt-sw).
   (2) the skill switch is the SAME width as the Luminedge Exclusive / Cambridge switch above it (§117: "match button width"),
       both 600px so "Listening 105 mocks" fits in a quarter; full width on phones. */
body.lumen.lx-stu #app :is(.lxt-pm, .lxt-sw) .lxt-main:has(> .lxt-chips){ display:flex; flex-wrap:nowrap; align-items:center; gap:12px; }
body.lumen.lx-stu #app :is(.lxt-pm, .lxt-sw) .lxt-main:has(> .lxt-chips) > :is(.lxt-name, .lxt-nm){ flex:0 0 auto; }
body.lumen.lx-stu #app :is(.lxt-pm, .lxt-sw) .lxt-main > .lxt-chips{ flex:1 1 0; min-width:0; margin-top:0; flex-wrap:nowrap; gap:4px; overflow:hidden;
  -webkit-mask-image:linear-gradient(to right,#000 calc(100% - 36px),transparent); mask-image:linear-gradient(to right,#000 calc(100% - 36px),transparent); }
body.lumen.lx-stu #app :is(.lxt-pm, .lxt-sw) .lxt-main > .lxt-chips > *{ flex:0 0 auto; }
@media (max-width:760px){ body.lumen.lx-stu #app :is(.lxt-pm, .lxt-sw) .lxt-main:has(> .lxt-chips){ flex-wrap:wrap; row-gap:6px; }
  body.lumen.lx-stu #app :is(.lxt-pm, .lxt-sw) .lxt-main > .lxt-chips{ flex-basis:100%; flex-wrap:wrap; overflow:visible; -webkit-mask-image:none; mask-image:none; } }
/* v1.358 — Section-wise's skill switch sized like the Partial one (it was full width): 840px, cells never narrower than their label; 2×2 at ≤1000px */
body.lumen.lx-stu #app .skill-btns:has(> [data-secskill]){ display:grid; grid-template-columns:repeat(4, minmax(max-content,1fr)); width:max-content; min-width:min(840px, 100%); max-width:100%; }
body.lumen.lx-stu #app .skill-btns:has(> [data-secskill]) .skill-btn{ justify-content:center; white-space:nowrap; }
@media (max-width:1000px){ body.lumen.lx-stu #app .skill-btns:has(> [data-secskill]){ width:100%; min-width:0; grid-template-columns:repeat(2, minmax(0,1fr)); height:auto; }
  body.lumen.lx-stu #app .skill-btns:has(> [data-secskill]) .skill-btn{ height:var(--lx-ctl-lg); } }
/* v1.358 — ANik 30 Sep "fix the UI" (Exclusive › Listening): at 600px each skill cell was 148px, but the Exclusive labels
   ("Listening 1 mock · 1 done", "Speaking coming soon") need up to ~210px, so they spilled into the next cell. Both switches are
   now 840px, still one width, and a cell can never be narrower than its label (minmax(max-content,1fr)); a longer label
   later widens the skill switch instead of overlapping. Below 1000px the skill switch is 2×2 at full width. */
/* both switches sit in .lxt-pmsw (app.js, Lumen only): the box is as wide as the wider of the two (at least 840px), and both stretch to it */
body.lumen.lx-stu #app .lxt-pmsw{ display:inline-grid; grid-template-columns:minmax(840px, max-content); max-width:100%; }
body.lumen.lx-stu #app .pm-src.lxt-src{ width:auto; max-width:none; }
body.lumen.lx-stu #app .lxt-src ~ .skill-btns{ display:grid; grid-template-columns:repeat(4, minmax(max-content,1fr)); width:auto; min-width:0; max-width:none; }
body.lumen.lx-stu #app .lxt-src ~ .skill-btns .skill-btn{ justify-content:center; white-space:nowrap; }
@media (max-width:1000px){ body.lumen.lx-stu #app .lxt-pmsw{ display:grid; grid-template-columns:minmax(0,1fr); } body.lumen.lx-stu #app .pm-src.lxt-src{ width:100%; }
  body.lumen.lx-stu #app .lxt-src ~ .skill-btns{ width:100%; min-width:0; grid-template-columns:repeat(2, minmax(0,1fr)); height:auto; }
  body.lumen.lx-stu #app .lxt-src ~ .skill-btns .skill-btn{ height:var(--lx-ctl-lg); } }
/* 21.T end */
/* 21.K · vocabulary, IELTS skills, typing, starred words */
/* Builder K (specs/student-lumen-build/K.md). Vocabulary v2 home is vgTopicsLxHTML (.vgx-*); every other screen keeps its
   Classic markup and is restyled here. Buttons: black actions, outlined minor ones, 28px in rows (40px on phones). */
body.lumen.lx-stu #app :is(.vg-page, .lrws-page, .typ-shell, .fc-wrap, .fc-stats, .fc-list, .fc-empty) :is(.vg-card-name, .vg-top-set, .vg-res-xp-v, .vg-res-accn, .vg-res-cell-v, .vg-thead-ringn, .vg-set-ringn, .lrws-card-n, .lrws-card-name, .lrws-sk-h, .lrws-head-k, .typ-stat-v, .typ-res-wpm-v, .typ-res-cell-v, .vg-combo, .vg-xp){ font-family: var(--lx-font) !important; text-shadow:none !important; }
body.lumen.lx-stu #app .vg-ring.glowring{ box-shadow:none; }
/* shared row button (a span inside a clickable card/row) */
body.lumen.lx-stu #app .vgx-btn{ display:inline-flex; align-items:center; justify-content:center; flex:none; box-sizing:border-box; height:28px; min-width:96px; padding:0 12px; border-radius: var(--lx-r-ctl); background: var(--lx-primary-bg); color: var(--lx-primary-fg); font: 600 12.5px/1 var(--lx-font); white-space:nowrap; transition: background-color var(--lx-d-hover) ease; }

/* ── Vocabulary home (v2) ── */
body.lumen.lx-stu #app .vgx-kpis{ margin-top:16px; }
body.lumen.lx-stu #app .vgx-kpis .lx-kpi-d{ font-feature-settings: var(--lx-num); }
body.lumen.lx-stu #app .vgx-goal{ background: var(--lx-accent-tint); }
body.lumen.lx-stu #app .vgx-goal.hit .lx-meter i{ background: var(--lx-ok); }
body.lumen.lx-stu #app .vgx-seg{ display:inline-flex; gap:2px; padding:2px; border-radius: var(--lx-r-sm); background: var(--lx-surface-3); box-shadow: inset 0 0 0 1px var(--lx-line); }
body.lumen.lx-stu #app .vgx-seg > button{ all:unset; box-sizing:border-box; height:28px; min-width:36px; padding:0 8px; display:inline-grid; place-items:center; border-radius:4px; cursor:pointer; font: 500 12px/1 var(--lx-font); font-feature-settings: var(--lx-num); color: var(--lx-text-2); }
body.lumen.lx-stu #app .vgx-seg > button:hover{ color: var(--lx-text); }
body.lumen.lx-stu #app .vgx-seg > button.on{ background: var(--lx-surface); color: var(--lx-text); box-shadow: var(--lx-e1); }
body.lumen.lx-stu #app .vgx-seg > button:focus-visible{ box-shadow: var(--lx-focus); }
body.lumen.lx-stu #app .vgx-due{ all:unset; box-sizing:border-box; display:flex; align-items:center; gap:12px; width:100%; min-height:60px; padding:12px 16px; margin: 0 0 24px; border-radius: var(--lx-r-card); background: var(--lx-surface); box-shadow: var(--lx-e1); cursor:pointer; font-family: var(--lx-font); }
body.lumen.lx-stu #app .vgx-due.done{ cursor:default; }
body.lumen.lx-stu #app button.vgx-due:hover{ background: var(--lx-surface-2); }
body.lumen.lx-stu #app button.vgx-due:hover .vgx-btn{ background: var(--lx-primary-hover); }
body.lumen.lx-stu #app button.vgx-due:focus-visible{ box-shadow: var(--lx-e1), var(--lx-focus); }
body.lumen.lx-stu #app .vgx-due-ic{ width:32px; height:32px; flex:none; display:grid; place-items:center; border-radius: var(--lx-r-ctl); background: var(--lx-warn-tint); color: var(--lx-warn); }
body.lumen.lx-stu #app .vgx-due.done .vgx-due-ic{ background: var(--lx-ok-tint); color: var(--lx-ok); }
body.lumen.lx-stu #app .vgx-due-t{ flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
body.lumen.lx-stu #app .vgx-due-t b{ font: 600 14px/20px var(--lx-font); color: var(--lx-text); }
body.lumen.lx-stu #app .vgx-due-t small{ font: 450 12.5px/16px var(--lx-font); color: var(--lx-text-3); }
body.lumen.lx-stu #app .vgx-th{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin: 0 0 14px; }
body.lumen.lx-stu #app .vgx-th > b{ font: 600 15px/20px var(--lx-font); color: var(--lx-text); }
body.lumen.lx-stu #app .vgx-meta{ font: 450 12.5px/16px var(--lx-font); color: var(--lx-text-3); font-feature-settings: var(--lx-num); }
body.lumen.lx-stu #app .vgx-filter{ margin-left:auto; display:inline-flex; gap:2px; padding:2px; height:32px; box-sizing:border-box; align-items:center; border-radius: var(--lx-r-ctl); background: var(--lx-surface-3); box-shadow: inset 0 0 0 1px var(--lx-line); }
body.lumen.lx-stu #app .vgx-filter input{ position:absolute; opacity:0; width:1px; height:1px; pointer-events:none; }
body.lumen.lx-stu #app .vgx-filter label{ height:28px; padding:0 10px; display:inline-flex; align-items:center; border-radius:6px; cursor:pointer; font: 500 13px/1 var(--lx-font); color: var(--lx-text-2); white-space:nowrap; }
body.lumen.lx-stu #app .vgx-filter label:hover{ color: var(--lx-text); }
body.lumen.lx-stu #app .vgx-filter input:checked + label{ background: var(--lx-surface); color: var(--lx-text); box-shadow: var(--lx-e1); }
body.lumen.lx-stu #app .vgx-filter input:focus-visible + label{ box-shadow: var(--lx-focus); }
body.lumen.lx-stu #app .vgx-grid{ display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:16px; }
body.lumen.lx-stu #app .vg-page:has(#vgx-f-ip:checked) .vgx-card:not(.lit):not(.mastered),
body.lumen.lx-stu #app .vg-page:has(#vgx-f-new:checked) .vgx-card:is(.lit, .mastered){ display:none; }
body.lumen.lx-stu #app .vgx-none{ display:none; padding:24px 0; text-align:center; font: 450 13px/20px var(--lx-font); color: var(--lx-text-3); }
body.lumen.lx-stu #app .vg-page:has(#vgx-f-ip:checked) .vgx-none.ip, body.lumen.lx-stu #app .vg-page:has(#vgx-f-new:checked) .vgx-none.new{ display:block; }
body.lumen.lx-stu #app .vgx-card{ all:unset; box-sizing:border-box; min-width:0; display:flex; flex-direction:column; gap:12px; padding:18px; border-radius: var(--lx-r-card); background: var(--lx-surface); box-shadow: var(--lx-e1); cursor:pointer; font-family: var(--lx-font); transition: box-shadow var(--lx-d-hover) ease; }
body.lumen.lx-stu #app .vgx-card:hover{ box-shadow: var(--lx-e2); }
body.lumen.lx-stu #app .vgx-card:hover .vgx-btn{ background: var(--lx-primary-hover); }
body.lumen.lx-stu #app .vgx-card:focus-visible{ box-shadow: var(--lx-e1), var(--lx-focus); }
body.lumen.lx-stu #app .vgx-h{ display:flex; align-items:center; gap:12px; min-width:0; }
body.lumen.lx-stu #app .vgx-ic{ width:38px; height:38px; flex:none; display:grid; place-items:center; border-radius:10px; background: var(--lx-accent-tint); color: var(--lx-accent-text); }
body.lumen.lx-stu #app .vgx-hm{ flex:1; min-width:0; }
body.lumen.lx-stu #app .vgx-name{ font: 600 15px/20px var(--lx-font); color: var(--lx-text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
body.lumen.lx-stu #app .vgx-badge{ flex:none; height:20px; padding:0 7px; border-radius:6px; display:inline-flex; align-items:center; font: 600 11.5px/1 var(--lx-font); background: var(--lx-ok-tint); color: var(--lx-ok); }
body.lumen.lx-stu #app .vgx-blurb{ margin:0; font: 450 13px/19px var(--lx-font); color: var(--lx-text-2); min-height:38px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
body.lumen.lx-stu #app .vgx-f{ display:flex; align-items:flex-end; gap:14px; margin-top:auto; }
body.lumen.lx-stu #app .vgx-fp{ flex:1; min-width:0; display:flex; flex-direction:column; gap:6px; }
body.lumen.lx-stu #app .vgx-bar{ display:flex; align-items:center; gap:8px; }
body.lumen.lx-stu #app .vgx-bar .lx-meter{ flex:1; display:block; }
body.lumen.lx-stu #app .vgx-card.mastered .lx-meter i{ background: var(--lx-ok); }
body.lumen.lx-stu #app .vgx-pct{ font: 500 12px/1 var(--lx-font); font-feature-settings: var(--lx-num); color: var(--lx-text-3); }
@media (max-width:1180px){ body.lumen.lx-stu #app .vgx-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); } }

/* ── Vocabulary topic page ── */
body.lumen.lx-stu #app :is(.vg-back, .lrws-back){ all:unset; box-sizing:border-box; display:inline-flex; align-items:center; gap:6px; height:28px; margin-bottom:6px; cursor:pointer; font: 500 13px/1 var(--lx-font); color: var(--lx-text-2); border-radius:6px; }
body.lumen.lx-stu #app .btn.lrws-back{ background: transparent !important; box-shadow:none !important; padding:0 !important; height:28px !important; min-height:28px !important; color: var(--lx-text-2) !important; font-weight:500 !important; }
body.lumen.lx-stu #app :is(.vg-back, .lrws-back):hover{ color: var(--lx-text) !important; }
body.lumen.lx-stu #app :is(.vg-back, .lrws-back):focus-visible{ box-shadow: var(--lx-focus); }
body.lumen.lx-stu #app .vg-thead-ico{ width:52px; height:52px; border-radius:12px; background: var(--lx-accent-tint) !important; color: var(--lx-accent-text) !important; box-shadow:none !important; }
body.lumen.lx-stu #app :is(.vg-thead-ringl, .vg-res-accl){ font: 500 11.5px/16px var(--lx-font); letter-spacing:0; text-transform:none; color: var(--lx-text-3); }
body.lumen.lx-stu #app .vg-ring-fg{ stroke: var(--lx-accent); }
body.lumen.lx-stu #app .vg-ring-bg{ stroke: var(--lx-surface-3); }
body.lumen.lx-stu #app .vg-ring.ok .vg-ring-fg{ stroke: var(--lx-ok); } body.lumen.lx-stu #app .vg-ring.warn .vg-ring-fg{ stroke: var(--lx-warn); } body.lumen.lx-stu #app .vg-ring.bad .vg-ring-fg{ stroke: var(--lx-bad); }
body.lumen.lx-stu #app .vg-sets{ border-radius: var(--lx-r-card); background: var(--lx-surface); box-shadow: var(--lx-e1); border:0; overflow:hidden; }
body.lumen.lx-stu #app .vg-set{ background: transparent; border:0; border-top:1px solid var(--lx-line); font-family: var(--lx-font); color: var(--lx-text); }
body.lumen.lx-stu #app .vg-set:first-child{ border-top:0; }
body.lumen.lx-stu #app .vg-set:hover:not(.locked){ background: var(--lx-surface-2); }
body.lumen.lx-stu #app .vg-set.reco{ background: transparent; }
body.lumen.lx-stu #app .vg-set-ic{ font-size:0; width:38px; height:38px; border-radius:10px; background: var(--lx-surface-3) !important; color: var(--lx-text-2); box-shadow:none !important; border:0 !important; }
body.lumen.lx-stu #app .vg-set-ic .lu{ width:18px; height:18px; }
body.lumen.lx-stu #app .vg-set-name{ font: 600 14px/20px var(--lx-font); color: var(--lx-text); }
body.lumen.lx-stu #app .vg-set-meta, body.lumen.lx-stu #app .vg-set-lockmsg{ font: 450 12.5px/16px var(--lx-font); color: var(--lx-text-3); }
body.lumen.lx-stu #app .vg-set-reco{ height:20px; padding:0 7px; margin-left:8px; border-radius:6px; display:inline-flex; align-items:center; vertical-align:2px; font: 600 11.5px/1 var(--lx-font); letter-spacing:0; text-transform:none; background: var(--lx-accent-tint); color: var(--lx-accent-text); border:0; box-shadow:none; animation:none; }
body.lumen.lx-stu #app .vg-set-cta{ height:28px; min-width:96px; padding:0 12px; justify-content:center; border-radius: var(--lx-r-ctl); background: var(--lx-primary-bg); color: var(--lx-primary-fg); font: 600 12.5px/1 var(--lx-font); }
body.lumen.lx-stu #app .vg-set-cta .vg-cta-arr{ display:none; }
body.lumen.lx-stu #app .vg-set:hover .vg-set-cta{ background: var(--lx-primary-hover); }
body.lumen.lx-stu #app .vg-set-lockic{ opacity:1; display:inline-flex; align-items:center; gap:6px; font: 500 12.5px/1 var(--lx-font); color: var(--lx-text-3); }
body.lumen.lx-stu #app .vg-step-n{ background: var(--lx-surface); box-shadow: inset 0 0 0 1.5px var(--lx-line-2); border:0; color: var(--lx-text-2); font: 600 12px/1 var(--lx-font); }
body.lumen.lx-stu #app .vg-set.done .vg-step-n{ background: var(--lx-ok); color:#fff; box-shadow:none; }

/* ── Vocabulary round + results ── */
body.lumen.lx-stu #app .vg-shell{ background: var(--lx-surface) !important; border:0 !important; box-shadow: var(--lx-e2) !important; border-radius: var(--lx-r-panel) !important; }
body.lumen.lx-stu #app .vg-shell::before{ display:none; }
body.lumen.lx-stu #app .vg-top-back{ background: var(--lx-surface); border:0; box-shadow: var(--lx-e1); border-radius: var(--lx-r-ctl); color: var(--lx-text-2); }
body.lumen.lx-stu #app :is(.vg-combo, .vg-xp){ height:28px; box-sizing:border-box; padding:0 10px; border:0; border-radius: var(--lx-r-ctl); font: 600 12.5px/1 var(--lx-font); font-feature-settings: var(--lx-num); }
body.lumen.lx-stu #app .vg-combo{ background: var(--lx-warn-tint); color: var(--lx-warn); }
body.lumen.lx-stu #app .vg-xp{ background: var(--lx-accent-tint); color: var(--lx-accent-text); }
body.lumen.lx-stu #app .vg-res-hero{ background: var(--lx-surface) !important; border:0 !important; box-shadow: var(--lx-e1) !important; border-radius: var(--lx-r-card) !important; }
body.lumen.lx-stu #app .vg-res-hero::before{ display:none; }
body.lumen.lx-stu #app .vg-res-xp-v{ color: var(--lx-text); font-weight:650; letter-spacing:-.03em; }
body.lumen.lx-stu #app :is(.vg-res-xp-l, .vg-res-cell-l){ font: 500 12px/16px var(--lx-font); letter-spacing:0; text-transform:none; color: var(--lx-text-3); }
body.lumen.lx-stu #app :is(.vg-res-pb, .vg-res-goal, .vg-res-prog){ display:flex; align-items:center; justify-content:center; gap:8px; border:0 !important; box-shadow:none !important; border-radius: var(--lx-r-card); font: 600 13.5px/20px var(--lx-font); }
body.lumen.lx-stu #app .vg-res-pb{ background: var(--lx-accent-tint); color: var(--lx-accent-text); }
body.lumen.lx-stu #app .vg-res-goal{ background: var(--lx-ok-tint); color: var(--lx-ok); }
body.lumen.lx-stu #app .vg-res-prog{ background: var(--lx-surface); box-shadow: var(--lx-e1) !important; color: var(--lx-text); font-weight:500; }
body.lumen.lx-stu #app .vg-res-prog b{ color: var(--lx-text); }
body.lumen.lx-stu #app .vg-res-cell{ background: var(--lx-surface); border:0; box-shadow: var(--lx-e1); border-radius: var(--lx-r-card); }
body.lumen.lx-stu #app .vg-badge{ display:inline-flex; align-items:center; gap:6px; height:28px; padding:0 10px; border:0; border-radius: var(--lx-r-ctl); background: var(--lx-accent-tint); color: var(--lx-accent-text); font: 600 12.5px/1 var(--lx-font); box-shadow:none; }
body.lumen.lx-stu #app .vg-badge::after{ display:none; }
body.lumen.lx-stu #app .vg-res-chip{ border:0; background: var(--lx-warn-tint); color: var(--lx-warn); border-radius:6px; }
body.lumen.lx-stu #app .vg-res-hint{ color: var(--lx-text-3); font-size:12.5px; line-height:18px; }
body.lumen.lx-stu #app .vg-res-actions .btn{ min-height:36px !important; height:36px !important; border-radius: var(--lx-r-ctl) !important; }
body.lumen.lx-stu #app .vg-res-actions .btn[data-vgres="topic"]{ background: transparent !important; color: var(--lx-text) !important; box-shadow: inset 0 0 0 1px var(--lx-line-2) !important; }
body.lumen.lx-stu #app .vg-res-actions .btn[data-vgres="topic"]:hover{ background: var(--lx-surface-3) !important; }
body.lumen.lx-stu #app .vg-res-actions .btn[data-vgres="next"]{ background: var(--lx-primary-bg) !important; color: var(--lx-primary-fg) !important; box-shadow: 0 0 0 1px var(--lx-primary-bg) !important; }
/* celebrations: coloured shapes instead of emoji (vgConfetti / typConfetti append .cfx to <body>) */
body.lumen.lx-stu .cfx i{ font-size:0 !important; width:8px; height:12px; border-radius:2px; background: var(--lx-viz-1); }
body.lumen.lx-stu .cfx i:nth-child(4n+2){ background: var(--lx-viz-2); } body.lumen.lx-stu .cfx i:nth-child(4n+3){ background: var(--lx-viz-3); width:10px; height:10px; border-radius:50%; } body.lumen.lx-stu .cfx i:nth-child(4n){ background: var(--lx-viz-4); }

/* ── IELTS Skills ── */
body.lumen.lx-stu #app .lrws-sk{ margin-top:24px; }
body.lumen.lx-stu #app .lrws-sk-h{ display:flex; align-items:center; gap:8px; font: 600 14px/20px var(--lx-font); letter-spacing:0; color: var(--lx-text); margin-bottom:10px; }
body.lumen.lx-stu #app .lrws-sk-dot{ width:8px; height:8px; border-radius:2px; flex:none; background: var(--lx-viz-1); }
body.lumen.lx-stu #app .lrws-sk-dot.s-R{ background: var(--lx-viz-2); } body.lumen.lx-stu #app .lrws-sk-dot.s-W{ background: var(--lx-viz-3); } body.lumen.lx-stu #app .lrws-sk-dot.s-S{ background: var(--lx-viz-4); }
body.lumen.lx-stu #app .lrws-sk-n{ font: 450 12.5px/16px var(--lx-font); color: var(--lx-text-3); }
body.lumen.lx-stu #app .lrws-grid{ grid-template-columns: repeat(4, minmax(0,1fr)); gap:12px; }
body.lumen.lx-stu #app .lrws-card{ display:flex; flex-direction:column; min-width:0; padding:14px 16px; border:0 !important; border-radius: var(--lx-r-card); background: var(--lx-surface); box-shadow: var(--lx-e1); font-family: var(--lx-font); transition: box-shadow var(--lx-d-hover) ease; }
body.lumen.lx-stu #app .lrws-card:hover{ box-shadow: var(--lx-e2); }
body.lumen.lx-stu #app .lrws-card-n{ font: 600 11.5px/16px var(--lx-font); letter-spacing:.04em; color: var(--lx-text-3); }
body.lumen.lx-stu #app .lrws-card-name{ font: 600 14px/20px var(--lx-font); color: var(--lx-text); margin:2px 0 10px; min-height:40px; }
body.lumen.lx-stu #app .lrws-card-foot{ align-items:center; gap:8px; margin-top:auto; font: 450 12.5px/16px var(--lx-font); color: var(--lx-text-3); font-feature-settings: var(--lx-num); }
body.lumen.lx-stu #app .lrws-card-meta{ display:inline-flex; align-items:center; gap:4px; }
body.lumen.lx-stu #app .lrws-bar{ height:6px; border-radius:3px; background: var(--lx-surface-3); }
body.lumen.lx-stu #app .lrws-bar i{ background: var(--lx-accent); border-radius:3px; }
body.lumen.lx-stu #app .lrws-card.done .lrws-bar i{ background: var(--lx-ok); }
body.lumen.lx-stu #app .lrws-head-k{ font: 600 11.5px/16px var(--lx-font); letter-spacing:.04em; color: var(--lx-text-3); }
@media (max-width:1180px){ body.lumen.lx-stu #app .lrws-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); } }

/* ── Typing Trainer: one centred card (live layout) in Lumen colours ── */
body.lumen.lx-stu #app .typ-shell{ max-width:900px; margin:16px auto 0; padding:24px 28px 28px; border:0; border-radius: var(--lx-r-panel); background: var(--lx-surface); box-shadow: var(--lx-e1); --typ-mono: var(--lx-mono); }
body.lumen.lx-stu #app .typ-seg{ padding:2px; border-radius: var(--lx-r-ctl); background: var(--lx-surface-3); border:0; box-shadow: inset 0 0 0 1px var(--lx-line); }
body.lumen.lx-stu #app .typ-seg-pill{ top:2px; height:calc(100% - 4px); border-radius:6px; background: var(--lx-surface); border:0; box-shadow: var(--lx-e1); }
body.lumen.lx-stu #app .typ-seg-btn{ height:28px; padding:0 12px; font: 500 13px/1 var(--lx-font); color: var(--lx-text-2); }
body.lumen.lx-stu #app .typ-seg-btn.active{ color: var(--lx-text); }
body.lumen.lx-stu #app .typ-dash{ gap:36px; }
body.lumen.lx-stu #app .typ-stat-v{ font: 650 24px/28px var(--lx-font); font-feature-settings: var(--lx-num); color: var(--lx-text); }
body.lumen.lx-stu #app .typ-stat.hero .typ-stat-v{ font-size:44px; line-height:46px; color: var(--lx-accent-text); }
body.lumen.lx-stu #app .typ-stat-v.dim{ color: var(--lx-text-2); }
body.lumen.lx-stu #app :is(.typ-stat-l, .typ-heat-h, .typ-hist-h){ font: 600 10.5px/14px var(--lx-font); letter-spacing:.08em; text-transform:uppercase; color: var(--lx-text-3); }
body.lumen.lx-stu #app .typ-window{ font-size:25px; }
body.lumen.lx-stu #app .typ-ch{ color: var(--lx-text-3); } body.lumen.lx-stu #app .typ-ch.ok{ color: var(--lx-text); }
body.lumen.lx-stu #app .typ-word.err{ text-decoration-color: var(--lx-bad); }
body.lumen.lx-stu #app .typ-caret{ background: var(--lx-accent); box-shadow:none; }
body.lumen.lx-stu #app .typ-hint{ font: 450 13px/20px var(--lx-font); color: var(--lx-text-2); }
body.lumen.lx-stu #app .typ-key{ background: var(--lx-surface); border:0; box-shadow: inset 0 0 0 1px var(--lx-line-2), 0 2px 0 var(--lx-line-2); color: var(--lx-text-2); font-family: var(--lx-mono); }
body.lumen.lx-stu #app .typ-key.h1{ background: color-mix(in srgb, var(--lx-viz-3) 22%, var(--lx-surface)); color: var(--lx-text); }
body.lumen.lx-stu #app .typ-key.h2{ background: color-mix(in srgb, var(--lx-viz-3) 45%, var(--lx-surface)); color: var(--lx-text); }
body.lumen.lx-stu #app .typ-key.h3{ background: color-mix(in srgb, var(--lx-bad) 32%, var(--lx-surface)); color: var(--lx-text); }
body.lumen.lx-stu #app .typ-key.press{ background: var(--lx-accent-tint); box-shadow: inset 0 0 0 1px var(--lx-accent-ring); }
body.lumen.lx-stu #app .typ-kb-legend{ font: 450 12px/16px var(--lx-font); color: var(--lx-text-3); gap:16px; }
body.lumen.lx-stu #app .typ-kb-dot.d1::before{ background: color-mix(in srgb, var(--lx-viz-3) 22%, var(--lx-surface)); box-shadow: inset 0 0 0 1px var(--lx-line-2); }
body.lumen.lx-stu #app .typ-kb-dot.d2::before{ background: color-mix(in srgb, var(--lx-viz-3) 45%, var(--lx-surface)); box-shadow: inset 0 0 0 1px var(--lx-line-2); }
body.lumen.lx-stu #app .typ-kb-dot.d3::before{ background: color-mix(in srgb, var(--lx-bad) 32%, var(--lx-surface)); box-shadow: inset 0 0 0 1px var(--lx-line-2); }
body.lumen.lx-stu #app .typ-histwrap{ border-top:1px solid var(--lx-line); }
body.lumen.lx-stu #app .typ-hist-row{ min-height:36px; padding:0; border-bottom:0; border-top:1px solid var(--lx-line); font: 450 13px/1 var(--lx-font); font-feature-settings: var(--lx-num); color: var(--lx-text); }
body.lumen.lx-stu #app .typ-hist-row:first-child{ border-top:0; }
body.lumen.lx-stu #app .typ-hist-row b{ color: var(--lx-text); font-weight:600; }
body.lumen.lx-stu #app :is(.typ-hist-m, .typ-hist-at){ color: var(--lx-text-3); }
body.lumen.lx-stu #app .typ-results{ background: var(--lx-surface-2) !important; border:0 !important; box-shadow: inset 0 0 0 1px var(--lx-line) !important; border-radius: var(--lx-r-card) !important; }
body.lumen.lx-stu #app .typ-res-wpm-v{ color: var(--lx-accent-text); }
body.lumen.lx-stu #app .typ-res-cell{ background: var(--lx-surface) !important; border:0 !important; box-shadow: var(--lx-e1) !important; }
body.lumen.lx-stu #app .typ-res-pb{ display:flex; align-items:center; justify-content:center; gap:8px; background: var(--lx-accent-tint) !important; color: var(--lx-accent-text) !important; border:0 !important; box-shadow:none !important; }
body.lumen.lx-stu #app .typ-res-chip{ background: var(--lx-warn-tint); color: var(--lx-warn); border:0; }
body.lumen.lx-stu #app .typ-hero{ background: var(--lx-surface) !important; border:0 !important; box-shadow: var(--lx-e1) !important; border-radius: var(--lx-r-card) !important; }

/* ── Starred Words ── */
body.lumen.lx-stu #app .fc-stats{ gap:0; margin:16px 0; border-radius: var(--lx-r-card); background: var(--lx-surface); box-shadow: var(--lx-e1); overflow:hidden; }
body.lumen.lx-stu #app .fc-stat{ border:0; border-radius:0; background:transparent; padding:14px 16px; text-align:left; }
body.lumen.lx-stu #app .fc-stat + .fc-stat{ box-shadow: -1px 0 0 var(--lx-line); }
body.lumen.lx-stu #app .fc-stat-v{ font: 600 24px/28px var(--lx-font); font-feature-settings: var(--lx-num); color: var(--lx-text); }
body.lumen.lx-stu #app .fc-stat-l{ font: 500 12.5px/16px var(--lx-font); letter-spacing:0; text-transform:none; color: var(--lx-text-3); }
body.lumen.lx-stu #app .fc-allclear{ border:0; background: var(--lx-ok-tint); color: var(--lx-text); border-radius: var(--lx-r-card); font: 450 13.5px/20px var(--lx-font); }
body.lumen.lx-stu #app .fc-list{ gap:0; border-radius: var(--lx-r-card); background: var(--lx-surface); box-shadow: var(--lx-e1); overflow:hidden; }
body.lumen.lx-stu #app .fc-li{ border:0; border-top:1px solid var(--lx-line); border-radius:0; background:transparent; min-height:44px; padding:8px 12px 8px 16px; }
body.lumen.lx-stu #app .fc-li:first-child{ border-top:0; }
body.lumen.lx-stu #app .fc-li-w{ font: 600 14px/20px var(--lx-font); color: var(--lx-text); }
body.lumen.lx-stu #app .fc-li-box{ height:20px; padding:0 7px; display:inline-flex; align-items:center; border-radius:6px; font: 600 11.5px/1 var(--lx-font); letter-spacing:0; text-transform:none; background: var(--lx-surface-3); color: var(--lx-text-2); }
body.lumen.lx-stu #app .fc-li-box.mastered{ background: var(--lx-ok-tint); color: var(--lx-ok); }
body.lumen.lx-stu #app .fc-li-gl{ font: 450 13px/18px var(--lx-font); color: var(--lx-text-2); }
body.lumen.lx-stu #app .fc-li-x{ width:28px; height:28px; padding:0; display:grid; place-items:center; border-radius: var(--lx-r-ctl); color: var(--lx-text-3); }
body.lumen.lx-stu #app .fc-li-x:hover{ background: var(--lx-bad-tint); color: var(--lx-bad); }
body.lumen.lx-stu #app .fc-wrap{ width:100%; max-width:480px; }
body.lumen.lx-stu #app .fc-progress{ font: 450 12.5px/16px var(--lx-font); color: var(--lx-text-3); font-feature-settings: var(--lx-num); }
body.lumen.lx-stu #app :is(.fc-front, .fc-back){ background: var(--lx-surface) !important; border:0 !important; box-shadow: var(--lx-e2) !important; border-radius: var(--lx-r-panel) !important; }
body.lumen.lx-stu #app .fc-word{ font: 650 30px/36px var(--lx-font); letter-spacing:-.02em; color: var(--lx-text); }
body.lumen.lx-stu #app .fc-ipa{ color: var(--lx-accent-text); }
body.lumen.lx-stu #app :is(.fc-src, .fc-pos){ color: var(--lx-text-3); }
body.lumen.lx-stu #app .fc-hint{ color: var(--lx-text-2); }
body.lumen.lx-stu #app .fc-gloss{ font: 450 16px/24px var(--lx-font); color: var(--lx-text); }
body.lumen.lx-stu #app .fc-grade button{ height:36px; padding:0 12px; border-radius: var(--lx-r-ctl); font: 600 13px/1 var(--lx-font); transform:none; }
body.lumen.lx-stu #app .fc-g-no{ border:0; background: var(--lx-surface); color: var(--lx-text); box-shadow: inset 0 0 0 1px var(--lx-line-2); }
body.lumen.lx-stu #app .fc-g-no:hover{ background: var(--lx-surface-3); }
body.lumen.lx-stu #app .fc-g-ok{ border:0; background: var(--lx-primary-bg); color: var(--lx-primary-fg); }
body.lumen.lx-stu #app .fc-g-ok:hover{ background: var(--lx-primary-hover); }
body.lumen.lx-stu #app .fc-quit{ display:flex !important; width:max-content; margin:14px auto 0; background: transparent !important; box-shadow: inset 0 0 0 1px var(--lx-line-2) !important; color: var(--lx-text-2) !important; }
/* FIX2: an outlined button keeps readable text on hover (the black-button :hover is (1,4,1); this is (1,5,1)) */
body.lumen.lx-stu #app .btn.fc-quit:hover{ background: var(--lx-surface-3) !important; color: var(--lx-text) !important; }
body.lumen.lx-stu #app .fc-quit:focus-visible{ box-shadow: inset 0 0 0 1px var(--lx-line-2), var(--lx-focus) !important; }
body.lumen.lx-stu #app .fc-empty{ border:0; background: var(--lx-surface); box-shadow: var(--lx-e1); border-radius: var(--lx-r-card); }
body.lumen.lx-stu #app .fc-empty-em{ font-size:0; color: var(--lx-text-3); }
body.lumen.lx-stu #app .fc-empty-em .lu{ width:28px; height:28px; }
body.lumen.lx-stu #app .fc-empty-t{ font: 600 16px/22px var(--lx-font); color: var(--lx-text); }
body.lumen.lx-stu #app .fc-empty-s{ font: 450 13.5px/21px var(--lx-font); color: var(--lx-text-2); }
body.lumen.lx-stu #app .fc-empty .btn{ background: var(--lx-primary-bg) !important; color: var(--lx-primary-fg) !important; box-shadow: 0 0 0 1px var(--lx-primary-bg) !important; }

/* ── phones (≤760px): 40px row buttons and links, 15px text, one topic card per line, two units per line ── */
@media (max-width:760px){
  body.lumen.lx-stu #app .vgx-grid{ grid-template-columns: 1fr; gap:12px; }
  body.lumen.lx-stu #app .lrws-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); gap:10px; }
  body.lumen.lx-stu #app :is(.vgx-btn, .vg-set-cta){ height:40px; font-size:14px; }
  body.lumen.lx-stu #app :is(.vg-back, .vgx-filter label, .typ-seg-btn){ height:40px; }
  body.lumen.lx-stu #app .btn.lrws-back{ height:40px !important; min-height:40px !important; }
  body.lumen.lx-stu #app .vgx-filter{ height:44px; margin-left:0; width:100%; } body.lumen.lx-stu #app .vgx-filter label{ flex:1; justify-content:center; }
  body.lumen.lx-stu #app .vgx-seg > button{ height:40px; min-width:44px; font-size:14px; }
  body.lumen.lx-stu #app :is(.vgx-blurb, .vgx-due-t small, .vg-set-meta, .vg-set-lockmsg, .lrws-card-name, .lrws-card-foot, .typ-hint, .fc-li-gl, .fc-empty-s, .vg-res-hint){ font-size:15px; line-height:22px; }
  body.lumen.lx-stu #app .vgx-blurb{ min-height:44px; }
  body.lumen.lx-stu #app .lrws-card-name{ min-height:44px; }
  body.lumen.lx-stu #app :is(.vgx-name, .vg-set-name, .fc-li-w){ font-size:15px; }
  body.lumen.lx-stu #app :is(.fc-li-x, .vg-top-back){ width:40px; height:40px; }
  body.lumen.lx-stu #app :is(.fc-grade button, .vg-res-actions .btn){ height:44px !important; min-height:44px !important; }
  body.lumen.lx-stu #app .typ-shell{ padding:16px; }
  body.lumen.lx-stu #app .typ-dash{ gap:14px 20px; }
  body.lumen.lx-stu #app .typ-stat.hero .typ-stat-v{ font-size:36px; line-height:40px; }
  body.lumen.lx-stu #app .typ-stat-v{ font-size:20px; line-height:24px; }
  body.lumen.lx-stu #app .vg-set{ grid-template-columns:32px minmax(0,1fr); gap:6px 12px; padding:14px 16px; }
  body.lumen.lx-stu #app .vg-set-ic{ display:none; }
  body.lumen.lx-stu #app .vg-set-end{ grid-column:2; justify-content:space-between; }
  body.lumen.lx-stu #app .vg-set-reco{ margin:4px 0 0; display:flex; width:max-content; }
  body.lumen.lx-stu #app .lrws-card{ padding:12px; }
  body.lumen.lx-stu #app .typ-window{ font-size:20px; }
  body.lumen.lx-stu #app .fc-stat{ padding:12px; }
}
/* 21.K end */
/* 21.R · results + report */
/* My Results + the student report (Builder R). §115: one uniform card, Provisional → Final; §117: steps in the card header after
   "taken <date>" (short labels, full wording on hover), "View result" top-right, L R W S Overall as a divided strip, no gradient boxes.
   The Lumen card markup comes from resFullCardHTML's stuLx() branch (.rs-lx); the report's strip from renderReport (.rep-lx-scores). */
body.lumen.lx-stu #app .rs-card{ padding:0 !important; margin:0 0 16px !important; overflow:hidden; background:var(--lx-surface) !important; background-image:none !important; border:0 !important; border-radius:var(--lx-r-card) !important; box-shadow:var(--lx-e1) !important; }
body.lumen.lx-stu #app .rs-lx .rs-h{ display:flex; flex-wrap:nowrap; align-items:flex-start; gap:10px; padding:14px 16px 0; }
/* title · date · steps wrap inside the left cell, so when the line is full the STEPS drop below the title (the ruling's narrow case)
   while the badge and "View result" stay top-right */
body.lumen.lx-stu #app .rs-lx .rs-hl{ flex:1 1 auto; min-width:0; display:flex; flex-wrap:wrap; align-items:center; gap:4px 10px; min-height:32px; }
body.lumen.lx-stu #app .rs-lx .rs-h > .rs-p{ margin-top:6px; }
body.lumen.lx-stu #app .rs-lx .rs-t{ font:600 14px/20px var(--lx-font); color:var(--lx-text); }
body.lumen.lx-stu #app .rs-lx .rs-d{ font:400 12.5px/20px var(--lx-font); color:var(--lx-text-3); margin:0; }
body.lumen.lx-stu #app .rs-lx .rs-h .btn{ height:var(--lx-ctl-md) !important; min-height:var(--lx-ctl-md) !important; min-width:96px; }
body.lumen.lx-stu #app .rs-steps.rs-steps-h{ display:flex; flex-wrap:wrap; max-width:100%; align-items:center; margin:0 0 0 4px; padding:0; row-gap:4px; font:400 12px/18px var(--lx-font); color:var(--lx-text-3); }
body.lumen.lx-stu #app .rs-steps-h .rs-st{ display:flex; align-items:center; gap:6px; padding:0; white-space:nowrap; cursor:default; }
body.lumen.lx-stu #app .rs-steps-h .rs-st i{ width:15px; height:15px; border-radius:50%; display:grid; place-items:center; flex:none; font:700 9.5px/1 var(--lx-font); font-style:normal; background:none; color:var(--lx-text-3); box-shadow:inset 0 0 0 1.5px var(--lx-line-2); }
body.lumen.lx-stu #app .rs-steps-h .rs-st i svg{ width:10px; height:10px; stroke-width:2.4; vertical-align:0; }
body.lumen.lx-stu #app .rs-steps-h .rs-st.done i{ background:var(--lx-ok); color:#fff; box-shadow:none; }
body.lumen.lx-stu #app .rs-steps-h .rs-st.now{ color:var(--lx-text); font-weight:600; }
body.lumen.lx-stu #app .rs-steps-h .rs-st.now i{ background:none; color:var(--lx-warn); box-shadow:inset 0 0 0 1.5px var(--lx-warn); }
body.lumen.lx-stu #app .rs-steps-h .rs-st + .rs-st::before{ content:""; width:8px; height:1.5px; margin:0 5px; background:var(--lx-line-2); display:inline-block; }

/* the band strip (card + report) */
body.lumen.lx-stu #app .rs-card .rs-bands{ display:grid; grid-template-columns:repeat(4,1fr) 1.2fr; gap:0; margin:12px 0 0; border-top:1px solid var(--lx-line); border-bottom:1px solid var(--lx-line); }
body.lumen.lx-stu #app .rs-card.rep-lx-scores{ margin:16px 0 !important; }
body.lumen.lx-stu #app .rep-lx-scores .rs-bands{ grid-template-columns:repeat(4,1fr) 1.2fr 1fr; margin:0; border:0; }
body.lumen.lx-stu #app .rs-card .rs-b{ padding:12px 16px; margin:0; text-align:left; background:none !important; border:0 !important; border-right:1px solid var(--lx-line) !important; border-radius:0 !important; color:var(--lx-text); box-shadow:none !important; }
body.lumen.lx-stu #app .rs-card .rs-b:last-child{ border-right:0 !important; }
body.lumen.lx-stu #app .rs-card .rs-b.ov{ background:var(--lx-accent-tint) !important; color:var(--lx-text); }
body.lumen.lx-stu #app .rs-card .rs-l{ display:flex; align-items:center; gap:6px; font:600 11px/16px var(--lx-font); letter-spacing:.06em; color:var(--lx-text-2) !important; }
body.lumen.lx-stu #app .rs-card .rs-b:nth-child(-n+4) .rs-l::before{ content:""; width:8px; height:8px; border-radius:2px; flex:none; background:var(--lx-viz-1); }
body.lumen.lx-stu #app .rs-card .rs-b:nth-child(2) .rs-l::before{ background:var(--lx-viz-2); }
body.lumen.lx-stu #app .rs-card .rs-b:nth-child(3) .rs-l::before{ background:var(--lx-viz-3); }
body.lumen.lx-stu #app .rs-card .rs-b:nth-child(4) .rs-l::before{ background:var(--lx-viz-4); }
body.lumen.lx-stu #app .rs-card .rs-v{ font:600 26px/32px var(--lx-font) !important; font-feature-settings:var(--lx-num); margin:4px 0 6px; color:var(--lx-text) !important; -webkit-text-fill-color:currentColor; background:none !important; }
body.lumen.lx-stu #app .rs-card .rs-v.dash{ color:var(--lx-text-3) !important; font-size:22px !important; }
body.lumen.lx-stu #app :is(.rs-card, .rs-h) .rs-p{ display:inline-flex; align-items:center; height:20px; padding:0 8px; border-radius:99px; font:600 11.5px/20px var(--lx-font); white-space:nowrap; background:var(--lx-accent-tint); color:var(--lx-accent-text); }
body.lumen.lx-stu #app :is(.rs-card, .rs-h) .rs-p.fin{ background:var(--lx-ok-tint); color:var(--lx-ok); }
body.lumen.lx-stu #app :is(.rs-card, .rs-h) .rs-p.pro{ background:var(--lx-warn-tint); color:var(--lx-warn); }
body.lumen.lx-stu #app :is(.rs-card, .rs-h) .rs-p.mark{ background:var(--lx-info-tint); color:var(--lx-info); }
body.lumen.lx-stu #app :is(.rs-card, .rs-h) .rs-p.wait{ background:var(--lx-surface-3); color:var(--lx-text-2); }
body.lumen.lx-stu #app .rs-card .rs-f{ display:flex; align-items:center; gap:12px; padding:10px 16px; margin:0; border:0; font:400 13px/20px var(--lx-font); color:var(--lx-text-2); }
body.lumen.lx-stu #app .rs-card .rs-f b{ color:var(--lx-text); font-weight:600; }
/* the practice / question-wise tables: plain numbers, the test name is a link (§117), row buttons 28px × 96px */
body.lumen.lx-stu #app .lx-tname{ all:unset; cursor:pointer; color:var(--lx-text); font:inherit; font-weight:500; text-underline-offset:3px; border-radius:4px; }
body.lumen.lx-stu #app .lx-tname:is(:hover, :focus-visible){ text-decoration:underline; }
body.lumen.lx-stu #app .lx-tname:focus-visible{ box-shadow:var(--lx-focus); }
body.lumen.lx-stu #app :is(#results-sec, #qw-hist-sec) ~ table.list .btn.small{ height:var(--lx-ctl-sm) !important; min-height:var(--lx-ctl-sm) !important; min-width:96px; padding:0 10px !important; }
body.lumen.lx-stu #app :is(#results-sec, #qw-hist-sec) ~ table.list td:not(:first-child){ white-space:nowrap; }
body.lumen.lx-stu #app table.list .res-med{ all:unset; font:600 14px/20px var(--lx-font); font-feature-settings:var(--lx-num); color:var(--lx-text); }
body.lumen.lx-stu #app table.list .res-delta{ margin-left:8px; padding:0 6px; height:18px; display:inline-flex; align-items:center; border-radius:99px; font:600 11px/18px var(--lx-font); background:var(--lx-surface-3); color:var(--lx-text-2); }
body.lumen.lx-stu #app table.list .res-delta.up{ background:var(--lx-ok-tint); color:var(--lx-ok); }
body.lumen.lx-stu #app table.list .res-delta.dn{ background:var(--lx-bad-tint); color:var(--lx-bad); }
/* ── the report ── */
body.lumen.lx-stu #app .rep-head .rep-photo{ width:64px; height:64px; border-radius:12px; font-size:20px; }
body.lumen.lx-stu #app .rep-photo-ph{ background:linear-gradient(135deg,#0e7490,#5b3fd1) !important; color:#fff !important; }
body.lumen.lx-stu #app .stars .star{ width:32px; height:32px; font-size:22px; color:var(--lx-text-3); border-radius:6px; padding:0; }   /* FIX2: was --lx-line-2 (1.4:1) */
body.lumen.lx-stu #app .stars .star.on{ color:#d97706; }
body.lumen.lx-stu #app .stars .star:hover{ transform:none; color:#d97706; }
body.lumen.lx-stu #app .stars .star:focus-visible{ outline:none; box-shadow:var(--lx-focus); }
body.lumen.lx-stu .cfx{ display:none !important; }   /* the emoji confetti; the "Personal best" badge stays, without its emoji */
body.lumen.lx-stu .cfx-badge{ background:var(--lx-primary-bg) !important; color:var(--lx-primary-fg) !important; font:600 14px/20px var(--lx-font) !important; border-radius:99px !important; box-shadow:var(--lx-e2) !important; }
body.lumen.lx-stu #app .rep-fb-h{ font:600 11px/16px var(--lx-font); letter-spacing:.08em; color:var(--lx-text-3); margin:24px 2px 8px; }
body.lumen.lx-stu #app .rep-fbs{ gap:8px; }
body.lumen.lx-stu #app .rep-fb{ flex-direction:row; justify-content:flex-start; flex-wrap:wrap; column-gap:10px; row-gap:0; padding:12px 14px; min-height:56px; text-align:left; background:var(--lx-surface) !important; border:0 !important; border-radius:var(--lx-r-card) !important; box-shadow:var(--lx-e1) !important; cursor:pointer; transition:box-shadow var(--lx-d-hover), background var(--lx-d-hover); }
body.lumen.lx-stu #app .rep-fb:not([disabled]):hover{ background:var(--lx-surface-2) !important; box-shadow:0 0 0 1px var(--lx-line-2) !important; }
body.lumen.lx-stu #app .rep-fb:focus-visible{ outline:none; box-shadow:var(--lx-focus) !important; }
body.lumen.lx-stu #app .rep-fb[disabled]{ opacity:.55; cursor:not-allowed; }
body.lumen.lx-stu #app .rep-fb-ic{ grid-row:span 2; display:grid; place-items:center; width:32px; height:32px; border-radius:8px; background:var(--lx-surface-3); color:var(--lx-text-2); }
body.lumen.lx-stu #app .rep-fb-ic svg{ width:17px; height:17px; }
body.lumen.lx-stu #app .rep-fb .nm{ font:600 14px/20px var(--lx-font); color:var(--lx-text); }
body.lumen.lx-stu #app .rep-fb small{ flex-basis:100%; padding-left:42px; margin-top:-6px; font:400 12px/18px var(--lx-font); color:var(--lx-text-3); }
/* ── the section review ── */
body.lumen.lx-stu #app .rv-hero{ background:var(--lx-surface) !important; border:0 !important; border-radius:var(--lx-r-card) !important; box-shadow:var(--lx-e1) !important; padding:16px 20px !important; }
body.lumen.lx-stu #app .rv-ring-fg{ stroke:var(--lx-viz-1) !important; }
body.lumen.lx-stu #app .rv-ring-bg{ stroke:var(--lx-surface-3) !important; }
body.lumen.lx-stu #app .rv-hero-score b{ font-weight:600; color:var(--lx-text); }
body.lumen.lx-stu #app .rv-bar{ background:var(--lx-surface-3) !important; border-radius:3px; }
body.lumen.lx-stu #app .rv-bar-ok{ background:var(--lx-ok) !important; background-image:none !important; }
body.lumen.lx-stu #app .rv-chip{ height:var(--lx-ctl-md); padding:0 12px; border-radius:var(--lx-r-ctl) !important; border:0 !important; background:var(--lx-surface) !important; box-shadow:var(--lx-e1); color:var(--lx-text-2) !important; font:550 13px/32px var(--lx-font); }
body.lumen.lx-stu #app .rv-chip.active{ background:var(--lx-primary-bg) !important; color:var(--lx-primary-fg) !important; box-shadow:none; }
body.lumen.lx-stu #app .rv-chip:focus-visible{ outline:none; box-shadow:var(--lx-focus); }
body.lumen.lx-stu #app .rv-part-h{ font:600 11px/16px var(--lx-font); letter-spacing:.08em; color:var(--lx-text-3); }
body.lumen.lx-stu #app .rv-rows .rv-card{ background:var(--lx-surface) !important; background-image:none !important; border:0 !important; border-radius:var(--lx-r-card) !important; box-shadow:var(--lx-e1) !important; padding:12px 16px !important; margin:0 0 8px !important; }
body.lumen.lx-stu #app .rv-rows .rv-card.no{ box-shadow:var(--lx-e1), inset 3px 0 0 var(--lx-bad) !important; }
body.lumen.lx-stu #app .rv-num{ width:26px; height:26px; border-radius:50%; font:600 12px/1 var(--lx-font); }
body.lumen.lx-stu #app .rv-num.ok{ background:var(--lx-surface-3); color:var(--lx-text-2); }
body.lumen.lx-stu #app .rv-num.no{ background:var(--lx-bad-tint); color:var(--lx-bad); }
body.lumen.lx-stu #app .rv-q{ color:var(--lx-text); line-height:1.55; }
body.lumen.lx-stu #app .rv-pill{ border-radius:6px; font:500 12.5px/20px var(--lx-font); padding:2px 8px; }
body.lumen.lx-stu #app .rv-pill.ok{ background:var(--lx-ok-tint); color:var(--lx-ok); }
body.lumen.lx-stu #app .rv-pill.no{ background:var(--lx-bad-tint); color:var(--lx-bad); }
body.lumen.lx-stu #app .rv-pill.cor{ background:var(--lx-accent-tint); color:var(--lx-accent-text); }
body.lumen.lx-stu #app :is(.rv-ex, .rv-tip, .rv-primer, .rv-passage){ background:var(--lx-surface-2) !important; border:0 !important; border-radius:10px !important; color:var(--lx-text-2); }
body.lumen.lx-stu #app .rv-quote{ font-style:italic; border-left:2px solid var(--lx-line-2); padding-left:10px; }
/* v1.666 R1 — answer review additions in Lumen tokens (base rules: styles.css, ".rv-sr" onwards) */
body.lumen.lx-stu #app .rv-cost{ color:var(--lx-text); }
body.lumen.lx-stu #app .rv-ev{ background:var(--lx-ok-tint); }
body.lumen.lx-stu #app .rv-ev.no{ background:var(--lx-bad-tint); }
body.lumen.lx-stu #app :is(.rv-ev.on, .rv-ev-h:focus){ outline:2px solid var(--lx-accent-ring); }
body.lumen.lx-stu #app .rv-ev-n{ color:var(--lx-text-2); }
body.lumen.lx-stu #app .rv-tsl{ color:var(--lx-text); }
body.lumen.lx-stu #app .rv-tsl-q{ background:var(--lx-surface); }
body.lumen.lx-stu #app .rv-tsl.on{ outline:2px solid var(--lx-accent-ring); }
body.lumen.lx-stu #app .rv-tsq{ background:var(--lx-ok-tint); color:var(--lx-text); }
body.lumen.lx-stu #app .rv-tsq.no{ background:var(--lx-bad-tint); }
body.lumen.lx-stu #app .rv-tsp-note{ color:var(--lx-text-2); }
body.lumen.lx-stu #app :is(.rv-evgo, .rv-tc-ans > summary){ color:var(--lx-accent-text); }
body.lumen.lx-stu #app .rv-report{ color:var(--lx-text-2); }
body.lumen.lx-stu #app :is(.rv-tcard p, .rv-tcard li){ color:var(--lx-text); }
body.lumen.lx-stu #app .rv-tc-ex{ border-left-color:var(--lx-line-2); }
body.lumen.lx-stu #app :is(.rv-evgo, .rv-report, .rv-tcard > summary, .rv-tc-ans > summary):focus-visible{ outline:2px solid var(--lx-accent-ring); outline-offset:2px; }
body.lumen.lx-stu #app .rv-syn-pair{ display:inline-block; margin:2px 0; padding:0 6px; border-radius:6px; background:var(--lx-surface-3); color:var(--lx-text); }
body.lumen.lx-stu #app .rv-ref{ color:var(--lx-text-3); }
body.lumen.lx-stu #app .am-play{ border-radius:6px; border:0; background:var(--lx-primary-bg); color:var(--lx-primary-fg); height:24px; padding:0 8px; font:600 11.5px/24px var(--lx-font); cursor:pointer; }
body.lumen.lx-stu #app .am-play span{ color:inherit; opacity:.75; margin-left:4px; }
body.lumen.lx-stu #app .am-play:focus-visible{ outline:none; box-shadow:var(--lx-focus); }
/* writing: question first, the answer, teacher marks, AI examiner (§115) */
body.lumen.lx-stu #app .sd-ic{ background:var(--lx-surface-3) !important; color:var(--lx-text-2) !important; border:0 !important; }
body.lumen.lx-stu #app .wq-box{ background:var(--lx-surface-2) !important; box-shadow:none !important; border:0 !important; line-height:1.6; }
body.lumen.lx-stu #app .wq-box > div{ overflow-x:auto; }   /* a Task 1 figure carries an inline max-width:560px; on phones it scrolls instead of being cut off */
body.lumen.lx-stu #app .sd-head .band-big{ color:var(--lx-text) !important; background:none !important; -webkit-text-fill-color:currentColor; }
body.lumen.lx-stu #app :is(.sd-bar-track, .ai-crit-track){ background:var(--lx-surface-3) !important; border-radius:3px; }
body.lumen.lx-stu #app :is(.sd-bar-fill, .ai-crit-bar){ background:var(--lx-viz-1) !important; background-image:none !important; border-radius:3px; }
body.lumen.lx-stu #app :is(.ai-panel, .ai-superseded){ background:var(--lx-surface) !important; background-image:none !important; border:0 !important; border-radius:var(--lx-r-card) !important; box-shadow:var(--lx-e1), inset 3px 0 0 var(--lx-warn) !important; color:var(--lx-text); }
body.lumen.lx-stu #app .ai-superseded{ box-shadow:var(--lx-e1) !important; }
body.lumen.lx-stu #app .ai-title{ color:var(--lx-text) !important; font-weight:600; }
body.lumen.lx-stu #app .ai-src{ background:var(--lx-surface-3) !important; color:var(--lx-text-2) !important; border:0 !important; }
body.lumen.lx-stu #app .ai-band{ color:var(--lx-text) !important; background:none !important; -webkit-text-fill-color:currentColor; }
body.lumen.lx-stu #app .ai-disclaim{ background:var(--lx-surface-2) !important; border:0 !important; color:var(--lx-text-2) !important; border-radius:8px; }
/* the feedback bar after a mock (appended to <body>) */
body.lumen.lx-stu .mfb-bar{ background:var(--lx-surface) !important; color:var(--lx-text) !important; border:0 !important; border-radius:var(--lx-r-panel) !important; box-shadow:var(--lx-e2) !important; font-family:var(--lx-font); -webkit-backdrop-filter:none; backdrop-filter:none; }
body.lumen.lx-stu .mfb-bar small{ color:var(--lx-text-3); }
@media (max-width:760px){
  body.lumen.lx-stu #app .rep-head{ flex-wrap:wrap; align-items:flex-start; }
  body.lumen.lx-stu #app .rep-head .rep-tag{ position:static; order:3; margin:0; }
  body.lumen.lx-stu #app .rep-head .rep-id{ flex:1 1 200px; min-width:0; }
  body.lumen.lx-stu #app .rs-card .rs-bands{ grid-template-columns:1fr 1fr; }
  body.lumen.lx-stu #app .rep-lx-scores .rs-bands{ grid-template-columns:1fr 1fr; }
  body.lumen.lx-stu #app .rs-card .rs-b{ border-bottom:1px solid var(--lx-line) !important; }
  body.lumen.lx-stu #app .rs-card .rs-b:nth-child(2n){ border-right:0 !important; }
  body.lumen.lx-stu #app .rs-lx .rs-b.ov{ grid-column:1 / -1; border-right:0 !important; border-bottom:0 !important; }
  body.lumen.lx-stu #app .rep-lx-scores .rs-b:nth-last-child(-n+2){ border-bottom:0 !important; }
  body.lumen.lx-stu #app .rs-steps-h .rs-st + .rs-st::before{ display:none; }
  body.lumen.lx-stu #app .rs-steps.rs-steps-h{ column-gap:14px; }
  body.lumen.lx-stu #app .rs-lx .rs-h{ flex-wrap:wrap; }
  body.lumen.lx-stu #app .rs-lx .rs-hl{ flex:1 1 100%; }
  body.lumen.lx-stu #app .rs-steps.rs-steps-h{ margin:2px 0 0; }
  body.lumen.lx-stu #app .rs-lx .rs-h > .rs-p{ margin-top:0; }
  body.lumen.lx-stu #app .rs-lx .rs-h .btn{ height:40px !important; min-height:40px !important; flex:1 1 100%; }
  body.lumen.lx-stu #app .rs-card .rs-f{ font-size:15px; line-height:22px; }
  body.lumen.lx-stu #app :is(#results-sec, #qw-hist-sec) ~ table.list .btn.small{ height:40px !important; min-height:40px !important; width:100%; }
  /* the practice and question-wise tables become one card per row: name, then date / status / band, then the button */
  body.lumen.lx-stu #app :is(#results-sec, #qw-hist-sec) ~ table.list :is(tbody, tr, td){ display:block; }
  body.lumen.lx-stu #app :is(#results-sec, #qw-hist-sec) ~ table.list tr:has(> th){ display:none; }
  body.lumen.lx-stu #app :is(#results-sec, #qw-hist-sec) ~ table.list tr{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; padding:12px 14px; border-top:1px solid var(--lx-line); }
  body.lumen.lx-stu #app :is(#results-sec, #qw-hist-sec) ~ table.list tr:has(> th) + tr{ border-top:0; }
  body.lumen.lx-stu #app :is(#results-sec, #qw-hist-sec) ~ table.list td{ padding:0 !important; border:0 !important; box-shadow:none !important; height:auto !important; min-height:0 !important; line-height:1.4 !important; white-space:normal !important; font-size:15px; }
  body.lumen.lx-stu #app :is(#results-sec, #qw-hist-sec) ~ table.list td .row-sub{ display:block; margin-top:2px; }
  body.lumen.lx-stu #app :is(#results-sec, #qw-hist-sec) ~ table.list td:is(:first-child, :last-child){ flex:1 1 100%; }
  body.lumen.lx-stu #app :is(#results-sec, #qw-hist-sec) ~ table.list td:nth-child(2){ color:var(--lx-text-3); font-size:13px; }
  body.lumen.lx-stu #app .lx-tname{ display:inline-flex; align-items:center; min-height:40px; }
  body.lumen.lx-stu #app .stars .star{ width:40px; height:40px; }
  body.lumen.lx-stu #app .rep-fbs{ grid-template-columns:1fr 1fr; }
  body.lumen.lx-stu #app .am-play{ height:40px; min-width:56px; }
  body.lumen.lx-stu #app .rv-chip{ height:40px; line-height:40px; }
  body.lumen.lx-stu #app :is(.rv-q, .rv-ex, .rv-primer p, .rv-passage-body, .answer-box, .wq-box, .ai-tip){ font-size:15px !important; }
  body.lumen.lx-stu #app button.qtp-q{ min-height:40px; min-width:40px; }   /* FIX2: phone tap size */
  body.lumen.lx-stu #app :is(.rv-primer, .rv-passage) > summary{ box-sizing:border-box; min-height:40px; padding:10px 0; }
}
/* 21.R end */
/* 21.M · study plan, feedback, policy, store, refer, profile */
/* Builder M (specs/student-lumen-build/M.md; demo ext/more.js). Markup: stuLxPlain() also runs on plan / fbnight / policy / shop,
   and stuDailyBanner, the notebook rows, the plan's Rebuild, the feedback rows and the two dialogs have Lumen branches
   (lxm-* classes, same ids and data-* hooks). Everything else is the live markup, restyled here. */
/* shared row parts: an icon tile, a title with a sub line, then the badge + one action on the right */
body.lumen.lx-stu #app .lxm-ico{ flex:none; display:inline-grid; place-items:center; width:32px; height:32px; border-radius:var(--lx-r-ctl);
  background:var(--lx-surface); box-shadow:var(--lx-e1); color:var(--lx-text-2); }
body.lumen.lx-stu #app .lxm-t{ flex:1 1 240px; min-width:0; display:flex; flex-direction:column; gap:2px; }
body.lumen.lx-stu #app .lxm-t > b{ font:600 14px/20px var(--lx-font); color:var(--lx-text); }
body.lumen.lx-stu #app .lxm-t > small{ font:400 12.5px/18px var(--lx-font); color:var(--lx-text-3); }
body.lumen.lx-stu #app .lxm-act{ flex:none; margin-left:auto; display:flex; align-items:center; gap:8px; }
body.lumen.lx-stu #app :is(.lxm-dd, .nb-card, .lxm-fbrow) .btn{ min-width:96px !important; height:var(--lx-ctl-sm) !important; padding:0 12px !important; justify-content:center; }
/* badges on these screens: 22px, tinted by state */
body.lumen.lx-stu #app :is(.nb-card, .lxm-fbrow) :is(.nb-st, .mb-pill), body.lumen.lx-stu :is(#app .lxm-dd, .overlay .lb-tabs) .dd-count{
  display:inline-flex; align-items:center; height:22px; padding:0 8px !important; margin:0 !important; border:0 !important; border-radius:6px !important; white-space:nowrap;
  font:600 11.5px/22px var(--lx-font) !important; letter-spacing:0 !important; text-transform:none !important; background:var(--lx-surface-3) !important; color:var(--lx-text-2) !important; box-shadow:none !important; }
body.lumen.lx-stu #app :is(.nb-card, .lxm-fbrow) .nb-st.ok{ background:var(--lx-ok-tint) !important; color:var(--lx-ok) !important; }
body.lumen.lx-stu #app :is(.nb-card, .lxm-fbrow) :is(.nb-st.due, .mb-pill.mb-pend){ background:var(--lx-warn-tint) !important; color:var(--lx-warn) !important; }
body.lumen.lx-stu #app .lxm-fbrow .nb-st.bad{ background:var(--lx-bad-tint) !important; color:var(--lx-bad) !important; }
html[data-theme="light"] body.lumen.lx-stu #app :is(.nb-card, .lxm-fbrow) .nb-st.ok{ color:#047857 !important; }
html[data-theme="light"] body.lumen.lx-stu #app :is(.nb-card, .lxm-fbrow) :is(.nb-st.due, .mb-pill.mb-pend){ color:#92400e !important; }
html[data-theme="light"] body.lumen.lx-stu #app .lxm-fbrow .nb-st.bad{ color:#b91c1c !important; }

/* Study Plan · today's drill: one card row (icon, two lines, countdown, Start / Leaderboard) */
body.lumen.lx-stu #app .dd-banner.lxm-dd{ position:relative; display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin:0 0 16px !important; padding:12px 16px !important;
  border:0 !important; border-radius:var(--lx-r-card) !important; background:var(--lx-surface) !important; box-shadow:var(--lx-e1) !important; font-size:inherit !important; }
body.lumen.lx-stu #app .lxm-dd .dd-live-dot{ position:absolute; top:10px; left:8px; width:6px; height:6px; margin:0; background:var(--lx-ok) !important; box-shadow:none !important; }
/* Study Plan · mistake notebook + the 7-day plan */
body.lumen.lx-stu #app :is(.nb-card, .plan-card) > h3{ display:block !important; font:600 14px/20px var(--lx-font) !important; color:var(--lx-text) !important; margin:0 0 4px !important; }
body.lumen.lx-stu #app :is(.nb-card, .plan-card) > h3 small{ font:400 12.5px/18px var(--lx-font) !important; color:var(--lx-text-3) !important; margin-left:6px; }
body.lumen.lx-stu #app :is(.nb-card, .plan-card) .card-sub{ font:400 13px/20px var(--lx-font) !important; color:var(--lx-text-2) !important; }
body.lumen.lx-stu #app .nb-card .nb-row{ display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; min-height:52px; padding:8px 0 !important; border:0 !important; border-top:1px solid var(--lx-line) !important; }
body.lumen.lx-stu #app .nb-card .nb-nm{ flex:1 1 240px; min-width:0; display:flex; flex-direction:column; gap:2px; font:600 14px/20px var(--lx-font); color:var(--lx-text); }
body.lumen.lx-stu #app .nb-card .nb-nm small{ font:400 12.5px/18px var(--lx-font); color:var(--lx-text-3); }
body.lumen.lx-stu #app .plan-card .card-sub{ display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; }
body.lumen.lx-stu #app .plan-card #plan-rebuild{ margin-left:auto; height:var(--lx-ctl-md) !important; padding:0 12px !important; gap:6px; }
body.lumen.lx-stu #app .plan-card .plan-days{ gap:12px !important; margin-top:12px !important; }
body.lumen.lx-stu #app .plan-card .plan-day{ padding:12px !important; border:0 !important; border-radius:var(--lx-r-card) !important; background:var(--lx-surface) !important; box-shadow:var(--lx-e1) !important; }
body.lumen.lx-stu #app .plan-card .plan-day.on{ box-shadow:0 0 0 1.5px var(--lx-accent) !important; }
body.lumen.lx-stu #app .plan-card .plan-day > b{ font:600 13px/18px var(--lx-font) !important; letter-spacing:0 !important; text-transform:none !important; color:var(--lx-text) !important; margin-bottom:6px !important; }
body.lumen.lx-stu #app .plan-card .plan-it{ display:flex !important; align-items:flex-start; gap:8px; padding:4px 0 !important; font:400 13px/20px var(--lx-font) !important; color:var(--lx-text) !important; cursor:pointer; }
body.lumen.lx-stu #app .plan-card .plan-it input{ flex:none; width:16px; height:16px; margin:2px 0 0 !important; accent-color:var(--lx-primary-bg); }
body.lumen.lx-stu #app .plan-card .plan-it.done span{ color:var(--lx-text-3) !important; text-decoration:line-through; }
/* the leaderboard pop-up: Today / This week as a pair (the chosen one black), rows with the rank, you tinted */
body.lumen.lx-stu .overlay .cx-dn:has(+ .lb-tabs){ font:650 18px/24px var(--lx-font) !important; color:var(--lx-text) !important; background:none !important; -webkit-text-fill-color:currentColor !important; }
body.lumen.lx-stu .overlay .lb-tabs{ display:flex; align-items:center; gap:6px; margin:12px 0 !important; }
body.lumen.lx-stu :is(#app, .overlay) .lb-tabs .btn:not(.primary){ background:var(--lx-surface) !important; color:var(--lx-text) !important; box-shadow:var(--lx-e1) !important; }
body.lumen.lx-stu .overlay .lb-tabs .dd-count{ margin-left:auto !important; }
body.lumen.lx-stu .overlay .lb-row{ gap:12px !important; min-height:44px; padding:8px 12px !important; border:0 !important; border-radius:var(--lx-r-ctl) !important; background:var(--lx-surface) !important;
  box-shadow:var(--lx-e1) !important; font:400 13px/20px var(--lx-font) !important; color:var(--lx-text) !important; }
body.lumen.lx-stu .overlay .lb-row + .lb-row{ margin-top:6px; }
body.lumen.lx-stu .overlay .lb-row.lb-you{ background:var(--lx-accent-tint) !important; box-shadow:0 0 0 1px var(--lx-accent-ring) !important; }
body.lumen.lx-stu .overlay .lb-rank{ min-width:32px; font:600 13px/20px var(--lx-font) !important; color:var(--lx-text-2) !important; font-feature-settings:var(--lx-num); }
body.lumen.lx-stu .overlay .lb-list > .lb-row:nth-child(-n+3) .lb-rank{ color:var(--lx-warn) !important; }
body.lumen.lx-stu .overlay :is(.lb-band, .lb-time){ font:500 13px/20px var(--lx-font) !important; color:var(--lx-text) !important; font-feature-settings:var(--lx-num); }
body.lumen.lx-stu .overlay .lb-time{ color:var(--lx-text-3) !important; }
body.lumen.lx-stu .overlay :is(.lb-anon, .lb-yq){ color:var(--lx-text-3) !important; font-weight:500 !important; }
body.lumen.lx-stu .overlay :is(.lb-foot, .lb-anon-tog){ font:400 12.5px/18px var(--lx-font) !important; color:var(--lx-text-2) !important; border-color:var(--lx-line) !important; }
body.lumen.lx-stu .overlay .lb-anon-tog{ display:flex; align-items:center; gap:8px; min-height:32px; }

/* Feedback Sessions: session / booking / history rows */
body.lumen.lx-stu #app .lxm-fbrow{ display:flex !important; align-items:center; flex-wrap:wrap; gap:8px 12px !important; min-height:56px; padding:10px 0 !important; margin:0 !important;
  border:0 !important; border-top:1px solid var(--lx-line) !important; background:none !important; }
body.lumen.lx-stu #app h3 + .lxm-fbrow{ border-top:0 !important; }
body.lumen.lx-stu #app .lxm-fbrow.lxm-hist{ min-height:44px; flex-wrap:nowrap; }
body.lumen.lx-stu #app .lxm-hist .lxm-t{ flex-basis:0; }
body.lumen.lx-stu #app .lxm-hist .lxm-t > b{ font-weight:500; }
body.lumen.lx-stu #app .lxm-why{ max-width:300px; text-align:right; font:400 12.5px/18px var(--lx-font); color:var(--lx-text-3); }
body.lumen.lx-stu #app .lxm-fbcard{ margin-top:16px !important; }
body.lumen.lx-stu #app :is(.lxm-fbcard, .card:has(.lxm-fbrow)) .bt-note{ font:400 12.5px/18px var(--lx-font) !important; color:var(--lx-text-3) !important; background:none !important; border:0 !important; padding:0 !important; }
body.lumen.lx-stu #app .card:has(.lxm-fbrow, [data-sview="full"]) > h3{ font:600 14px/20px var(--lx-font) !important; color:var(--lx-text) !important; }

/* Mock Test Policy: the terms read as a document; the accepted line is green; the agree bar is one row */
body.lumen.lx-stu #app .sf-card:is(:has(+ .sf-card #pol-chk), :has(+ .note[style*="#16a34a"])) .sf-card-b > div{
  font:400 14px/22px var(--lx-font) !important; color:var(--lx-text) !important; }
body.lumen.lx-stu #app .sf-card:is(:has(+ .sf-card #pol-chk), :has(+ .note[style*="#16a34a"])) .sf-card-b{ padding:20px !important; }
body.lumen.lx-stu #app .note[style*="#16a34a"]{ border:0 !important; border-radius:var(--lx-r-card) !important; background:var(--lx-ok-tint) !important; color:var(--lx-ok) !important;
  font:500 13px/20px var(--lx-font) !important; padding:12px 16px !important; box-shadow:none !important; }
html[data-theme="light"] body.lumen.lx-stu #app .note[style*="#16a34a"]{ color:#047857 !important; }
body.lumen.lx-stu #app .sf-card:has(#pol-chk) .sf-card-b{ gap:12px 16px !important; }
body.lumen.lx-stu #app .sf-card:has(#pol-chk) label{ font:400 14px/20px var(--lx-font); color:var(--lx-text); cursor:pointer; }
body.lumen.lx-stu #app #pol-chk{ width:16px; height:16px; flex:none; accent-color:var(--lx-primary-bg); }
body.lumen.lx-stu #app #pol-agree{ min-width:96px; height:var(--lx-ctl-md) !important; }

/* Store: suggestion / recommendation / catalogue cards */
body.lumen.lx-stu #app .shop-grid{ display:grid !important; grid-template-columns:repeat(auto-fill, minmax(240px, 1fr)) !important; gap:12px !important; }
body.lumen.lx-stu #app .shop-card{ gap:6px !important; padding:16px !important; border:0 !important; border-radius:var(--lx-r-card) !important; background:var(--lx-surface) !important; background-image:none !important; box-shadow:var(--lx-e1) !important; }
body.lumen.lx-stu #app .shop-t{ font:400 14px/20px var(--lx-font) !important; color:var(--lx-text) !important; }
body.lumen.lx-stu #app .shop-t b{ font-weight:600; }
body.lumen.lx-stu #app .shop-by{ display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 6px; font:400 12.5px/18px var(--lx-font) !important; color:var(--lx-text-3) !important; }
body.lumen.lx-stu #app .shop-by b{ font-weight:600; color:var(--lx-text) !important; }
body.lumen.lx-stu #app .shop-by :is(.shop-by-r, .shop-when){ color:var(--lx-text-3) !important; font:inherit !important; }
body.lumen.lx-stu #app .shop-when::before{ content:"· "; }
body.lumen.lx-stu #app .shop-why{ font:400 13px/20px var(--lx-font) !important; color:var(--lx-text-2) !important; font-style:normal !important; }
body.lumen.lx-stu #app :is(.shop-tag, .shop-tag2){ display:inline-flex; align-self:flex-start; align-items:center; height:22px; padding:0 8px !important; border:0 !important; border-radius:6px !important;
  font:600 11.5px/22px var(--lx-font) !important; text-transform:none !important; letter-spacing:0 !important; background:var(--lx-accent-tint) !important; color:var(--lx-accent-text) !important; vertical-align:1px; }
body.lumen.lx-stu #app .shop-f{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; margin-top:auto; padding-top:6px; }
body.lumen.lx-stu #app .shop-f > span:has(.btn){ display:flex; gap:8px; }
body.lumen.lx-stu #app .shop-price{ font:650 18px/24px var(--lx-font) !important; color:var(--lx-text) !important; font-feature-settings:var(--lx-num); }
body.lumen.lx-stu #app .shop-f .btn{ min-width:96px !important; height:var(--lx-ctl-sm) !important; padding:0 12px !important; justify-content:center; }
body.lumen.lx-stu #app .shop-cat{ margin:16px 0 8px !important; font:600 11.5px/16px var(--lx-font) !important; letter-spacing:.04em !important; text-transform:uppercase; color:var(--lx-text-3) !important; }
body.lumen.lx-stu #app .shop-cat:first-child{ margin-top:0 !important; }
body.lumen.lx-stu #app .shop-empty{ margin-top:16px; font:400 13px/20px var(--lx-font); color:var(--lx-text-3); }

/* Store request + Refer a friend pop-ups (the sp2 form): Lumen fields, a black 36px confirm */
body.lumen.lx-stu .overlay .sp2:has(#rq-go, #rf-send) :is(.sp2-title){ font:650 18px/24px var(--lx-font) !important; color:var(--lx-text) !important; background:none !important; -webkit-text-fill-color:currentColor !important; }
body.lumen.lx-stu .overlay .sp2:has(#rq-go, #rf-send) :is(.sp2-sub, .sp2-trust, .sp2-hint){ font:400 13px/20px var(--lx-font) !important; color:var(--lx-text-2) !important; }
body.lumen.lx-stu .overlay .sp2:has(#rq-go, #rf-send) .sp2-trust{ font-size:12.5px !important; color:var(--lx-text-3) !important; }
body.lumen.lx-stu .overlay .sp2:has(#rq-go, #rf-send) .sp2-lbl{ font:600 12.5px/18px var(--lx-font) !important; color:var(--lx-text-2) !important; }
body.lumen.lx-stu .overlay .sp2:has(#rq-go, #rf-send) .sp2-in{ border:0 !important; border-radius:var(--lx-r-ctl) !important; background:var(--lx-surface) !important; color:var(--lx-text) !important;
  box-shadow:0 0 0 1px var(--lx-line-2) !important; font:400 14px/20px var(--lx-font) !important; }
body.lumen.lx-stu .overlay .sp2:has(#rq-go, #rf-send) .sp2-in:not(textarea){ height:var(--lx-ctl-lg) !important; }
body.lumen.lx-stu .overlay .sp2:has(#rq-go, #rf-send) .sp2-in:focus{ outline:0 !important; box-shadow:0 0 0 1px var(--lx-accent), 0 0 0 4px var(--lx-accent-tint) !important; }
body.lumen.lx-stu .overlay .sp2:has(#rq-go, #rf-send) .sp2-reqcard{ border:0 !important; border-radius:var(--lx-r-card) !important; background:var(--lx-surface-2) !important; box-shadow:var(--lx-e1) !important; color:var(--lx-text) !important; }
body.lumen.lx-stu .overlay .sp2:has(#rq-go, #rf-send) .sp2-reqcard-p{ font-weight:650 !important; color:var(--lx-text) !important; font-feature-settings:var(--lx-num); }
body.lumen.lx-stu .overlay .sp2:has(#rq-go, #rf-send) .sp2-err{ border:0 !important; border-radius:var(--lx-r-ctl) !important; background:var(--lx-bad-tint) !important; color:var(--lx-bad) !important; font:500 13px/20px var(--lx-font) !important; }
html[data-theme="light"] body.lumen.lx-stu .overlay .sp2:has(#rq-go, #rf-send) .sp2-err{ color:#b91c1c !important; }
body.lumen.lx-stu .overlay .sp2:has(#rq-go, #rf-send) .sp2-create{ height:var(--lx-ctl-lg) !important; border-radius:var(--lx-r-ctl) !important; background:var(--lx-primary-bg) !important; color:var(--lx-primary-fg) !important;
  box-shadow:none !important; font:600 14px/20px var(--lx-font) !important; filter:none !important; }
body.lumen.lx-stu .overlay .sp2:has(#rq-go, #rf-send) .sp2-create:hover:not(:disabled){ background:var(--lx-primary-hover) !important; }
body.lumen.lx-stu .overlay .sp2:has(#rq-go, #rf-send) .sp2-create:disabled{ background:var(--lx-surface-3) !important; color:var(--lx-text-3) !important; opacity:1 !important; }
body.lumen.lx-stu .overlay .sp2:has(#rf-send) .sp2-orshare{ border-color:var(--lx-line) !important; }
body.lumen.lx-stu .overlay .sp2:has(#rf-send) .sp2-hint{ color:var(--lx-text-3) !important; }
body.lumen.lx-stu .overlay .sp2:has(#rf-send) .sp2-wa-share{ height:var(--lx-ctl-md); border-radius:var(--lx-r-ctl) !important; background:var(--lx-surface) !important; box-shadow:0 0 0 1px var(--lx-line-2) !important; border:0 !important; color:var(--lx-text) !important; font:600 13px/20px var(--lx-font) !important; }
body.lumen.lx-stu .overlay .sp2:has(#rf-send) .sp2-wa-share svg{ color:#25d366; }

/* phones (≤760): rows wrap, the actions sit under the text on the right; the drill banner's action is full width */
@media (max-width:760px){
  body.lumen.lx-stu #app .lxm-fbrow .lxm-act{ width:100%; justify-content:flex-end; flex-wrap:wrap; }
  body.lumen.lx-stu #app .lxm-why{ max-width:none; }
  body.lumen.lx-stu #app .nb-card .nb-row .nb-st{ margin-left:auto !important; }
  body.lumen.lx-stu #app .lxm-dd .lxm-t{ flex-basis:calc(100% - 44px); }
  body.lumen.lx-stu #app .lxm-dd [data-start], body.lumen.lx-stu #app .lxm-dd [data-ddboard]{ flex:1; }
  body.lumen.lx-stu #app :is(.lxm-t > b, .nb-nm, .shop-t, .plan-card .plan-it){ font-size:15px !important; line-height:22px !important; }
  body.lumen.lx-stu #app .plan-card .plan-it{ min-height:40px; align-items:center; }
  body.lumen.lx-stu #app .plan-card .plan-it input{ margin:0 4px 0 2px !important; transform:scale(1.25); }   /* a 20px box; the tap target is the whole 40px label row */
  body.lumen.lx-stu #app .shop-grid{ grid-template-columns:1fr !important; }
  body.lumen.lx-stu #app .sf-card:has(#pol-chk) #pol-agree{ width:100%; }
}
/* 21.M end */

/* ─────────────────────────────── 19 · BOARDCLOUD — the directors' report hub (26 Sep; specs/board-report-hub-plan.md §4 + AMENDMENT 1) ──
   Screen: the left-panel search + draggable portal tabs, the phone chip row, tiles grouped Workload/Results, portal cards, tables with a
   sticky header + first column and a filter box, the employee drawer. Tokens only (light + dark). The print block follows. */
body.lumen #app .fin-side .bd-search{ position:relative; margin: 2px 0 10px; }
body.lumen #app .bd-search .bd-q{ width:100%; box-sizing:border-box; height: var(--lx-ctl-md); padding: 0 30px 0 32px !important; border-radius: var(--lx-r-ctl) !important; border:0 !important;
  background: var(--lx-surface) !important; color: var(--lx-text) !important; box-shadow: inset 0 0 0 1px var(--lx-line-2) !important; font: 400 var(--lx-fs-md)/1 var(--lx-font) !important; }
body.lumen #app .bd-search .bd-q:focus{ outline:none; box-shadow: inset 0 0 0 1px var(--lx-accent), var(--lx-focus) !important; }
body.lumen #app .bd-search .bd-q::-webkit-search-cancel-button{ -webkit-appearance:none; }
body.lumen #app .bd-search-ic{ position:absolute; left:10px; top:50%; transform:translateY(-50%); color: var(--lx-text-3); display:inline-grid; pointer-events:none; }
body.lumen #app .bd-search kbd{ position:absolute; right:8px; top:50%; transform:translateY(-50%); font: 500 11px/16px var(--lx-mono); padding: 0 5px; border-radius:4px; color: var(--lx-text-3); box-shadow: inset 0 0 0 1px var(--lx-line-2); background: var(--lx-surface-2); pointer-events:none; }
body.lumen #app .bd-search .bd-q:focus ~ kbd{ display:none; }
body.lumen #app .bd-sres{ position:absolute; z-index:90; left:0; top: calc(100% + 6px); width: min(420px, calc(100vw - 32px)); max-height: min(70vh, 520px); overflow:auto; padding:6px;
  border-radius: var(--lx-r-panel); background: var(--lx-raised); box-shadow: var(--lx-e3); }
body.lumen #app .bd-sres[hidden]{ display:none; }
body.lumen #app .bd-sg + .bd-sg{ margin-top:4px; padding-top:4px; box-shadow: 0 -1px 0 var(--lx-line); }
body.lumen #app .bd-sg-h{ font: 600 11px/16px var(--lx-font); letter-spacing:.02em; color: var(--lx-text-3); padding: 6px 10px 4px; text-transform:uppercase; }
body.lumen #app .bd-sr{ all:unset; box-sizing:border-box; display:flex; flex-direction:column; gap:2px; width:100%; padding: 7px 10px; border-radius: var(--lx-r-ctl); cursor:pointer; color: var(--lx-text); }
body.lumen #app .bd-sr b{ font: 550 13px/18px var(--lx-font); }
body.lumen #app .bd-sr span{ font: 400 12px/16px var(--lx-font); color: var(--lx-text-2); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body.lumen #app .bd-sr.on, body.lumen #app .bd-sr:hover{ background: var(--lx-accent-tint); }
body.lumen #app .bd-snote{ padding: 8px 10px; font: 400 12.5px/18px var(--lx-font); color: var(--lx-text-2); }
body.lumen #app .fin-side .bd-tab{ position:relative; touch-action: pan-y; user-select:none; -webkit-user-select:none; }
body.lumen #app .fin-side .bd-grip{ margin-left:auto; flex:none; display:inline-grid; place-items:center; width:22px; height:24px; border-radius:5px; color: var(--lx-text-3); opacity:0; cursor:grab; touch-action:none; transition: opacity var(--lx-d-hover) ease; }
body.lumen #app .fin-side .bd-tab:hover .bd-grip, body.lumen #app .fin-side .bd-tab:focus-visible .bd-grip, body.lumen #app .fin-side .bd-tab.bd-dragging .bd-grip{ opacity:1; }
@media (hover:none){ body.lumen #app .fin-side .bd-grip{ opacity:.8; } }
body.lumen #app .fin-side .bd-tabs.bd-dnd .bd-tab{ transition: none; }
body.lumen #app .fin-side .bd-tab.bd-dragging{ background: var(--lx-surface) !important; box-shadow: var(--lx-e2) !important; cursor:grabbing; z-index:2; }
body.lumen #app .fin-side .bd-reset{ all:unset; display:block; margin: 4px 10px 0; font: 500 12px/18px var(--lx-font); color: var(--lx-accent-text); cursor:pointer; }
body.lumen #app .fin-side .bd-reset:hover{ text-decoration:underline; }
body.lumen #app .fin-side .bd-reset:focus-visible{ box-shadow: var(--lx-focus); border-radius:4px; }
/* the collapsed rail (lumen.js "[" / < 1180 px): the search is an icon that opens wide on focus; grips and Reset hide */
@media (min-width:761px){
  body.lumen.lx-sh[data-lx-side="collapsed"] #app .fin-side .bd-search .bd-q{ padding: 0 !important; color: transparent !important; cursor:pointer; }
  body.lumen.lx-sh[data-lx-side="collapsed"] #app .fin-side .bd-search .bd-q::placeholder{ color: transparent; }
  body.lumen.lx-sh[data-lx-side="collapsed"] #app .fin-side .bd-search .bd-q:focus{ position:relative; z-index:95; width:320px; padding: 0 12px 0 32px !important; color: var(--lx-text) !important; box-shadow: inset 0 0 0 1px var(--lx-accent), var(--lx-e3) !important; }
  body.lumen.lx-sh[data-lx-side="collapsed"] #app .fin-side .bd-search .bd-q:focus::placeholder{ color: var(--lx-text-3); }
  body.lumen.lx-sh[data-lx-side="collapsed"] #app .fin-side .bd-search-ic{ z-index:96; }
  body.lumen.lx-sh[data-lx-side="collapsed"] #app .fin-side .bd-search .bd-q:not(:focus) ~ .bd-search-ic, body.lumen.lx-sh[data-lx-side="collapsed"] #app .fin-side .bd-search-ic{ left:50%; transform:translate(-50%,-50%); }
  body.lumen.lx-sh[data-lx-side="collapsed"] #app .fin-side .bd-search:focus-within .bd-search-ic{ left:10px; transform:translateY(-50%); }
  body.lumen.lx-sh[data-lx-side="collapsed"] #app .fin-side :is(.bd-search kbd, .bd-grip, .bd-reset){ display:none !important; }
  /* v1.356 (portal audit 30 Sep): on the collapsed rail (auto under 1180 px) the premium layer's "BoardCloud" brand (display:flex !important)
     and the global !important placeholder colour out-ranked the two rules above — the rail showed "BoardC" and "Searc" over the icon */
  body.lumen.lx-sh[data-lx-side="collapsed"]:has(#app > .bd-shell) #app .fin-side .fin-side-brand{ display:none !important; }
  body.lumen.lx-sh[data-lx-side="collapsed"] #app .fin-side .bd-search .bd-q:not(:focus)::placeholder{ color: transparent !important; }
}
body.lumen .bd-live{ position:absolute; width:1px; height:1px; overflow:hidden; clip: rect(0 0 0 0); white-space:nowrap; }
/* phones: search + chip row above the page */
body.lumen .bd-mtop{ display:none; }
@media (max-width:760px){
  body.lumen #app .bd-mtop{ display:block; margin: -4px 0 14px; }
  body.lumen #app .bd-mtop .bd-search{ position:relative; margin-bottom:10px; }
  body.lumen #app .bd-mtop .bd-search .bd-q{ height: var(--lx-ctl-lg); }
  body.lumen #app .bd-mtop .bd-search kbd{ display:none; }
  body.lumen #app .bd-chips{ display:flex; gap:6px; overflow-x:auto; margin: 0 -16px; padding: 2px 16px 4px; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
  body.lumen #app .bd-chips::-webkit-scrollbar{ display:none; }
  body.lumen #app .bd-chip-n{ all:unset; flex:none; box-sizing:border-box; height:34px; padding: 0 12px; display:inline-flex; align-items:center; border-radius:17px; font: 500 13px/1 var(--lx-font);
    color: var(--lx-text-2); background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); cursor:pointer; }
  body.lumen #app .bd-chip-n.on{ color: var(--lx-text); background: var(--lx-accent-tint); box-shadow: inset 0 0 0 1px var(--lx-accent-ring); }
}
/* page */
body.lumen #app .bd-tools{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
body.lumen #app .bd-persel{ display:none; }
@media (max-width:760px){ body.lumen #app .bd-tools .lx-seg{ display:none; } body.lumen #app .bd-persel{ display:block; height: var(--lx-ctl-md); } body.lumen #app .bd-tools{ width:100%; } body.lumen #app .bd-tools .bd-persel{ flex:1; } }
body.lumen #app .bd-dl{ position:relative; }
body.lumen #app .bd-dl > summary{ list-style:none; display:inline-flex; align-items:center; gap:6px; cursor:pointer; }
body.lumen #app .bd-dl > summary::-webkit-details-marker{ display:none; }
body.lumen #app .bd-dl-m{ position:absolute; right:0; top: calc(100% + 6px); z-index:60; width:260px; padding:6px; border-radius: var(--lx-r-panel); background: var(--lx-raised); box-shadow: var(--lx-e3); }
body.lumen #app .bd-dl-m button{ all:unset; box-sizing:border-box; width:100%; display:flex; gap:10px; align-items:flex-start; padding: 8px 10px; border-radius: var(--lx-r-ctl); cursor:pointer; color: var(--lx-text); font: 550 13px/18px var(--lx-font); }
body.lumen #app .bd-dl-m button svg{ margin-top:2px; color: var(--lx-text-3); flex:none; }
body.lumen #app .bd-dl-m button small{ display:block; font: 400 12px/16px var(--lx-font); color: var(--lx-text-2); }
body.lumen #app .bd-dl-m button:hover, body.lumen #app .bd-dl-m button:focus-visible{ background: var(--lx-surface-3); }
body.lumen #app .bd-perline{ display:flex; align-items:flex-start; gap:8px; margin: -4px 0 16px; font: 400 12.5px/18px var(--lx-font); color: var(--lx-text-2); }
body.lumen #app .bd-perline svg{ margin-top:2px; flex:none; color: var(--lx-text-3); }
body.lumen #app .bd-perline b{ color: var(--lx-text); font-weight:550; }
body.lumen #app .bd-live-tag{ color: var(--lx-ok); }
body.lumen #app .bd-blurb{ margin: -6px 0 6px; font: 400 13px/18px var(--lx-font); color: var(--lx-text-2); }
body.lumen #app .bd-kg-h{ margin: 0 0 8px; }
body.lumen #app .bd-kg-chip{ display:inline-flex; align-items:center; height:22px; padding: 0 9px; border-radius:11px; font: 600 11.5px/1 var(--lx-font); letter-spacing:.02em; color: var(--lx-text-2); background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); }
@media (min-width:761px){ body.lumen #app .bd-kg .lx-kpis{ grid-template-columns: repeat(min(var(--n,4), 5), minmax(0,1fr)); } }
@media (max-width:760px){ body.lumen #app .bd-kg .lx-kpis{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
body.lumen #app .bd-chart .lx-xax > span{ min-width:0; }
body.lumen #app .bd-dense .lx-xax-pts span:is(:not(:nth-child(4n+1)), :nth-last-child(-n+3)):not(:last-child){ visibility:hidden; }
body.lumen #app .bd-tw table.list td:first-child{ min-width: 150px; }
body.lumen #app .bd-more-b .lx-kpi-v{ white-space:normal; overflow-wrap:anywhere; }
body.lumen #app .bd-target{ display:flex; flex-direction:column; gap:8px; }
body.lumen #app .bd-target-n{ font: 400 14px/20px var(--lx-font); color: var(--lx-text-2); }
body.lumen #app .bd-target-n b{ font: 600 22px/28px var(--lx-font); color: var(--lx-text); }
body.lumen #app .bd-pgrid{ display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:12px; margin: 0 0 16px; }
@media (max-width:1180px){ body.lumen #app .bd-pgrid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width:420px){ body.lumen #app .bd-pgrid{ grid-template-columns: minmax(0,1fr); } }
body.lumen #app .bd-pc{ all:unset; box-sizing:border-box; display:flex; flex-direction:column; gap:8px; padding: 14px 16px; border-radius: var(--lx-r-card); background: var(--lx-surface); box-shadow: var(--lx-e1); cursor:pointer; min-width:0;
  transition: box-shadow var(--lx-d-hover) ease, background-color var(--lx-d-hover) ease; }
body.lumen #app .bd-pc:hover{ background: var(--lx-surface-2); box-shadow: var(--lx-e2); }
body.lumen #app .bd-pc:focus-visible{ box-shadow: var(--lx-focus); }
body.lumen #app .bd-pc-h{ display:flex; align-items:center; gap:8px; color: var(--lx-text); font: 600 13.5px/18px var(--lx-font); }
body.lumen #app .bd-pc-h svg{ width:16px; height:16px; color: var(--lx-accent); flex:none; }
body.lumen #app .bd-pc-h svg:last-child{ margin-left:auto; color: var(--lx-text-3); }
body.lumen #app .bd-pc-r{ display:flex; align-items:baseline; gap:8px; min-width:0; font: 400 12.5px/18px var(--lx-font); color: var(--lx-text-2); }
body.lumen #app .bd-pc-l{ flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body.lumen #app .bd-pc-v{ font: 600 15px/20px var(--lx-font); color: var(--lx-text); font-feature-settings: var(--lx-num); }
body.lumen #app .bd-more{ margin: 0 0 12px; border-radius: var(--lx-r-card); background: var(--lx-surface); box-shadow: var(--lx-e1); }
body.lumen #app .bd-more > summary{ list-style:none; display:flex; align-items:center; gap:8px; padding: 12px 16px; cursor:pointer; font: 550 13.5px/18px var(--lx-font); color: var(--lx-text); }
body.lumen #app .bd-more > summary::-webkit-details-marker{ display:none; }
body.lumen #app .bd-more > summary svg{ color: var(--lx-text-3); transition: transform var(--lx-d-hover) ease; }
body.lumen #app .bd-more[open] > summary svg{ transform: rotate(90deg); }
body.lumen #app .bd-more-b{ padding: 0 16px 16px; }
body.lumen #app .bd-more-b .lx-kpis{ box-shadow: inset 0 0 0 1px var(--lx-line); }
body.lumen #app .bd-expl{ margin: 4px 0 8px 18px; font: 400 12.5px/19px var(--lx-font); color: var(--lx-text-2); }
body.lumen #app .bd-tabsrow{ margin: 8px 0 12px; overflow-x:auto; }
body.lumen #app .bd-weeknav{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; padding: 10px 14px; }
body.lumen #app .bd-page > .bd-weeknav{ padding: 0; margin: 0 0 12px; }
/* tables: filter box, sticky header + first column, clickable rows */
body.lumen #app .bd-filter{ position:relative; display:inline-flex; align-items:center; gap:6px; }
body.lumen #app .bd-filter input{ width: 190px; height: var(--lx-ctl-sm); box-sizing:border-box; padding: 0 8px 0 28px !important; border:0 !important; border-radius: var(--lx-r-ctl) !important;
  background: var(--lx-surface-2) !important; color: var(--lx-text) !important; box-shadow: inset 0 0 0 1px var(--lx-line) !important; font: 400 12.5px/1 var(--lx-font) !important; }
body.lumen #app .bd-filter input:focus{ outline:none; box-shadow: inset 0 0 0 1px var(--lx-accent), var(--lx-focus) !important; }
body.lumen #app .bd-filter-ic{ position:absolute; left:9px; top:50%; transform:translateY(-50%); color: var(--lx-text-3); display:inline-grid; pointer-events:none; }
body.lumen #app .bd-fcount{ font: 400 12px/1 var(--lx-font); color: var(--lx-text-3); white-space:nowrap; }
@media (max-width:760px){ body.lumen #app .bd-tcard .lx-card-h{ flex-wrap:wrap; } body.lumen #app .bd-tcard .lx-card-t{ width:100%; margin-left:0; } body.lumen #app .bd-filter, body.lumen #app .bd-filter input{ width:100%; } }
body.lumen #app .bd-tw{ max-height: 620px; overflow:auto; -webkit-overflow-scrolling:touch; }
body.lumen #app .bd-tw table.list{ margin:0 !important; }
body.lumen #app .bd-tw table.list tr:first-child > th{ position:sticky; top:0; z-index:2; background: var(--lx-surface-2) !important; box-shadow: 0 1px 0 var(--lx-line); }
body.lumen #app .bd-tw table.list :is(th, td):first-child{ position:sticky; left:0; z-index:1; background: var(--lx-surface); box-shadow: 1px 0 0 var(--lx-line); }
body.lumen #app .bd-tw table.list tr:first-child > th:first-child{ z-index:3; background: var(--lx-surface-2) !important; }
body.lumen #app .bd-tw th a{ color: inherit !important; text-decoration:none; white-space:nowrap; }
body.lumen #app .bd-tw td.num, body.lumen #app .bd-tw th[style*="right"]{ font-feature-settings: var(--lx-num); white-space:nowrap; text-align:right; }
body.lumen #app .bd-tw tr.bd-click{ cursor:pointer; }
body.lumen #app .bd-tw tr.bd-click:hover > td{ background: var(--lx-surface-2); }
body.lumen #app .bd-tw tr.bd-click:focus-visible{ outline: 2px solid var(--lx-accent-ring); outline-offset:-2px; }
body.lumen #app .bd-tw [hidden], body.lumen #app .bd-ecards [hidden]{ display:none !important; }
body.lumen #app .bd-tw td.bd-mail{ max-width: 220px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body.lumen #app .bd-tw td.bd-spark{ color: var(--lx-viz-1); }
body.lumen #app .bd-tag{ display:inline-flex; align-items:center; height:18px; padding: 0 6px; border-radius:9px; font: 500 11px/1 var(--lx-font); color: var(--lx-text-2); background: var(--lx-surface-3); vertical-align:1px; white-space:nowrap; }
body.lumen .bd-tag.ok{ color: var(--lx-ok); background: var(--lx-ok-tint); }
body.lumen .bd-tag.bad{ color: var(--lx-bad); background: var(--lx-bad-tint); }
body.lumen #app .bd-inactive{ margin: 0; border-radius:0; box-shadow: 0 -1px 0 var(--lx-line); }
body.lumen #app .bd-ecards{ display:none; }
@media (max-width:760px){
  body.lumen #app .bd-emp-t > table.list, body.lumen #app .bd-emp-t > .cm-scroll{ display:none !important; }   /* v1.324 B4 ROI: cmTable wraps the table (.cm-scroll), so phones showed the table AND the cards */
  body.lumen #app .bd-emp-t{ max-height:none; }
  body.lumen #app .bd-ecards{ display:flex; flex-direction:column; }
  body.lumen #app .bd-ecard{ display:flex; flex-direction:column; gap:8px; padding: 12px 14px; box-shadow: 0 1px 0 var(--lx-line); cursor:pointer; }
  body.lumen #app .bd-ecard-h{ display:flex; align-items:center; gap:10px; }
  body.lumen #app .bd-ecard-h b{ display:block; font: 600 14px/18px var(--lx-font); color: var(--lx-text); }
  body.lumen #app .bd-ecard-h small{ display:block; font: 400 12.5px/16px var(--lx-font); color: var(--lx-text-2); }
  body.lumen #app .bd-ecard-r{ display:flex; align-items:center; gap:10px; justify-content:space-between; font: 500 13px/18px var(--lx-font); }
  body.lumen #app .bd-ecard-r a{ display:inline-flex; align-items:center; gap:6px; min-height:32px; }
  body.lumen #app .bd-ecard-g{ color: var(--lx-text-2); font-feature-settings: var(--lx-num); }
}
body.lumen #app .bd-skel{ display:grid; gap:12px; margin-top:12px; }
body.lumen #app .bd-skel i{ display:block; height:96px; border-radius: var(--lx-r-card); background: var(--lx-surface-2); box-shadow: var(--lx-e0); }
/* the employee / record drawer */
body.lumen .bd-dhead{ display:flex; gap:12px; align-items:flex-start; margin: 2px 0 14px; }
body.lumen .bd-dname{ font: 600 18px/24px var(--lx-font); color: var(--lx-text); }
body.lumen .bd-dtags{ display:flex; gap:6px; flex-wrap:wrap; margin-top:6px; }
body.lumen .bd-dsec{ margin: 0 0 14px; padding: 12px 14px; border-radius: var(--lx-r-card); background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); }
body.lumen .bd-dsec h4{ display:flex; align-items:center; gap:8px; margin: 0 0 8px; font: 600 13px/18px var(--lx-font); color: var(--lx-text); }
body.lumen .bd-dsec h4 svg{ color: var(--lx-text-3); }
body.lumen .bd-kv{ display:grid; grid-template-columns: minmax(120px, 38%) minmax(0,1fr); gap: 6px 12px; margin:0; font: 400 13px/19px var(--lx-font); }
body.lumen .bd-kv dt{ color: var(--lx-text-2); }
body.lumen .bd-kv dd{ margin:0; color: var(--lx-text); overflow-wrap:anywhere; }
body.lumen .bd-dsec table.list{ margin: 0 0 8px !important; }
body.lumen .bd-dbars{ margin: 10px 0 6px; }
body.lumen .bd-contact{ display:flex; flex-wrap:wrap; gap:6px 4px; font: 500 13.5px/20px var(--lx-font); }
body.lumen .bd-dfoot{ font-size:12px; margin: 4px 0 10px; }
body.lumen .bd-dclose{ display:flex; gap:8px; justify-content:flex-end; }
body.lumen .lx-drawer .bd-dclose #dlg-cancel{ display:none; }   /* the drawer has its own × — the button is for the legacy dialog layout */
@media (max-width:420px){ body.lumen .bd-kv{ grid-template-columns: minmax(0,1fr); gap: 0 0; } body.lumen .bd-kv dd{ margin-bottom:6px; } }
body.lumen .bd-print-head, body.lumen .bd-print-foot{ display:none; }
body.lumen #app .bd-printing .bd-print-head{ display:block; margin: 0 0 16px; padding: 0 0 12px; box-shadow: 0 1px 0 var(--lx-line); font: 400 12.5px/18px var(--lx-font); color: var(--lx-text-2); }
body.lumen #app .bd-printing .bd-print-head h1{ margin: 2px 0; font: 600 22px/28px var(--lx-font); color: var(--lx-text); }
body.lumen #app .bd-printing .bd-print-head .bd-noprint{ margin-top:8px; }

/* ─────────────────────────────── 20 · BOARDCLOUD PREMIUM — the directors' edition of Lumen (26 Sep; DECISIONS §103 revisions:
   "the boardcloud should look stunning. give a premium vibe. and improved version of lumen theme") ──────────────────────────────────
   SCOPE: every rule below is keyed on body.lumen:has(#app > .bd-shell) — the BoardCloud shell renderAdmin prints only for the board
   portal — or on a bd-* class only the BOARDCLOUD block renders, so no other portal changes by a pixel. The token block re-points
   Lumen's own --lx-* tokens (deep ink · warm neutral · one indigo accent; dark mode stepped separately, not flipped); chart hues are the
   dataviz reference categorical slots 1–3 (blue · orange · aqua; validated all-pairs in both modes). Raw colours appear ONLY in the
   two token declarations. */
body.lumen:has(#app > .bd-shell){
  --lx-chrome:#0b0c0f; --lx-surface:#121419; --lx-surface-2:#171a20; --lx-surface-3:#1f232a; --lx-raised:#181b21;
  --lx-line: rgba(255,255,255,.07); --lx-line-2: rgba(255,255,255,.12);
  --lx-text:#eef0f4; --lx-text-2:#aab0bb; --lx-text-3:#8b919c;
  --lx-accent:#8a9ef2; --lx-accent-text:#a3b3f6; --lx-accent-ink:#0b0c0f; --lx-accent-tint: rgba(138,158,242,.13); --lx-accent-ring: rgba(138,158,242,.45);
  --lx-viz-1:#3987e5; --lx-viz-2:#d95926; --lx-viz-3:#199e70; --lx-viz-grid: rgba(255,255,255,.06);
  --lx-e1: 0 0 0 1px var(--lx-line), 0 1px 2px rgba(0,0,0,.35), 0 10px 24px -16px rgba(0,0,0,.6);
  --lx-e2: 0 0 0 1px var(--lx-line-2), 0 4px 10px -4px rgba(0,0,0,.45), 0 22px 44px -18px rgba(0,0,0,.7);
  --lx-aurora: radial-gradient(60% 140% at 0% 0%, rgba(138,158,242,.10), transparent 62%), radial-gradient(50% 140% at 100% 0%, rgba(214,178,120,.07), transparent 62%);
  --bd-gold: #d6b278;
}
html[data-theme="light"] body.lumen:has(#app > .bd-shell){
  --lx-chrome:#f3f1ec; --lx-surface:#ffffff; --lx-surface-2:#faf9f6; --lx-surface-3:#f0ede6; --lx-raised:#ffffff;
  --lx-line: rgba(33,28,20,.085); --lx-line-2: rgba(33,28,20,.15);
  --lx-text:#15171c; --lx-text-2:#4a4e57; --lx-text-3:#646873;
  --lx-accent:#3451b2; --lx-accent-text:#2e48a3; --lx-accent-ink:#ffffff; --lx-accent-tint: rgba(52,81,178,.075); --lx-accent-ring: rgba(52,81,178,.35);
  --lx-viz-1:#2a78d6; --lx-viz-2:#eb6834; --lx-viz-3:#1baf7a; --lx-viz-grid: rgba(33,28,20,.07);
  --lx-e1: 0 0 0 1px var(--lx-line), 0 1px 2px rgba(33,28,20,.04), 0 10px 26px -16px rgba(33,28,20,.14);
  --lx-e2: 0 0 0 1px var(--lx-line-2), 0 4px 10px -4px rgba(33,28,20,.08), 0 24px 44px -18px rgba(33,28,20,.22);
  --lx-aurora: radial-gradient(60% 140% at 0% 0%, rgba(52,81,178,.07), transparent 62%), radial-gradient(50% 140% at 100% 0%, rgba(190,150,90,.10), transparent 62%);
  --bd-gold: #9a7437;
}
/* rail */
body.lumen:has(#app > .bd-shell) #app .fin-side .fin-side-brand{ display:flex !important; align-items:center; gap:9px; padding: 4px 10px 12px !important; }
/* 26 Sep (ANik: "ditch the emoji with BoardCloud text") — no mark before the product name */
body.lumen:has(#app > .bd-shell) #app .fin-side .fin-side-brand b{ font: 680 14px/18px var(--lx-font) !important; letter-spacing:-.01em !important; text-transform:none !important; }   /* the product name reads "BoardCloud" exactly (ANik) */
body.lumen:has(#app > .bd-shell) #app .fin-side .fin-sitem{ position:relative; height:36px; min-height:36px; border-radius:10px !important; font: 500 13.5px/18px var(--lx-font) !important; transition: background-color var(--lx-d-hover) ease, color var(--lx-d-hover) ease, box-shadow var(--lx-d-hover) ease; }
body.lumen:has(#app > .bd-shell) #app .fin-side .fin-sitem.on{ background: var(--lx-surface) !important; box-shadow: var(--lx-e1) !important; font-weight:600 !important; }
body.lumen:has(#app > .bd-shell) #app .fin-side .fin-sitem.on::before{ display:block !important; content:""; position:absolute; left:-8px; top:9px; bottom:9px; width:3px; border-radius:0 3px 3px 0; background: var(--lx-accent); }
body.lumen:has(#app > .bd-shell) #app .fin-side .bd-search .bd-q{ height:36px; border-radius:10px !important; background: var(--lx-surface) !important; box-shadow: var(--lx-e1) !important; }
/* page header */
body.lumen:has(#app > .bd-shell) #app .bd-page .lx-ph{ margin-bottom:6px; position:relative; z-index:30; }   /* its FinYear / Download menus open over the tiles (the KPI strip is its own z-index:1 layer) */
body.lumen:has(#app > .bd-shell) #app .bd-page .lx-h1{ font: 650 28px/34px var(--lx-font) !important; letter-spacing:-.024em !important; color: var(--lx-text) !important; }
body.lumen:has(#app > .bd-shell) #app .bd-page .lx-h1 .grad{ background:none !important; -webkit-text-fill-color: currentColor !important; color: inherit !important; }
body.lumen:has(#app > .bd-shell) #app .bd-page .lx-ph-sub{ font: 400 14.5px/22px var(--lx-font) !important; color: var(--lx-text-2) !important; max-width: 78ch; }
body.lumen:has(#app > .bd-shell) #app .bd-page .lx-ph-tile{ width:42px; height:42px; border-radius:12px; background: var(--lx-accent-tint) !important; color: var(--lx-accent) !important; box-shadow: inset 0 0 0 1px var(--lx-accent-ring) !important; }
body.lumen:has(#app > .bd-shell) #app .bd-page .bd-blurb{ font-size:13.5px; margin-top:8px; }   /* v1.356 (portal audit 30 Sep): margin — it touched the header text above it */
/* period switch · FinYear · download */
body.lumen:has(#app > .bd-shell) #app .bd-tools .lx-seg{ background: var(--lx-surface-2) !important; box-shadow: inset 0 0 0 1px var(--lx-line) !important; border-radius:11px !important; padding:3px !important; }
body.lumen:has(#app > .bd-shell) #app .bd-tools .lx-seg > button{ border-radius:8px !important; font-weight:500 !important; }
body.lumen:has(#app > .bd-shell) #app .bd-tools .lx-seg > button.on{ background: var(--lx-surface) !important; box-shadow: var(--lx-e1) !important; color: var(--lx-text) !important; font-weight:600 !important; }
body.lumen #app .bd-fy{ position:relative; }
body.lumen #app .bd-fy > summary{ list-style:none; display:inline-flex; align-items:center; gap:7px; height: var(--lx-ctl-lg); padding: 0 12px; border-radius:11px; cursor:pointer; font: 500 13px/1 var(--lx-font);
  color: var(--lx-text-2); background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); transition: background-color var(--lx-d-hover) ease, color var(--lx-d-hover) ease; white-space:nowrap; }
body.lumen #app .bd-fy > summary::-webkit-details-marker{ display:none; }
body.lumen #app .bd-fy > summary:hover{ color: var(--lx-text); background: var(--lx-surface-3); }
body.lumen #app .bd-fy > summary:focus-visible{ box-shadow: var(--lx-focus); outline:none; }
body.lumen #app .bd-fy.on > summary{ color: var(--lx-accent-text); background: var(--lx-accent-tint); box-shadow: inset 0 0 0 1px var(--lx-accent-ring); font-weight:600; }
body.lumen #app .bd-fy[open] > summary svg:last-child{ transform: rotate(180deg); }
body.lumen #app .bd-fy-m{ position:absolute; right:0; top: calc(100% + 6px); z-index:70; width:340px; padding:6px; border-radius: var(--lx-r-panel); background: var(--lx-raised); box-shadow: var(--lx-e3); }
body.lumen #app .bd-fy-h{ padding: 8px 10px 6px; font: 600 11px/16px var(--lx-font); letter-spacing:.08em; text-transform:uppercase; color: var(--lx-text-3); }
body.lumen #app .bd-fy-m button{ all:unset; box-sizing:border-box; width:100%; display:flex; align-items:center; gap:10px; padding: 9px 10px; border-radius: var(--lx-r-ctl); cursor:pointer; color: var(--lx-text); }
body.lumen #app .bd-fy-m button b{ display:block; font: 600 13.5px/18px var(--lx-font); }
body.lumen #app .bd-fy-m button small{ display:block; font: 400 12px/16px var(--lx-font); color: var(--lx-text-2); }
body.lumen #app .bd-fy-m button > span{ flex:1; min-width:0; }
body.lumen #app .bd-fy-m button svg{ color: var(--lx-accent); flex:none; }
body.lumen #app .bd-fy-m button:hover, body.lumen #app .bd-fy-m button:focus-visible{ background: var(--lx-surface-3); }
body.lumen #app .bd-fy-m button.on{ background: var(--lx-accent-tint); }
@media (max-width:760px){ body.lumen #app .bd-fy{ display:none; } }
/* KPI tiles: separate soft cards, sparkline, delta pill */
body.lumen:has(#app > .bd-shell) #app .bd-kg .lx-kpis{ gap:12px; grid-template-columns: repeat(min(var(--n,4), 6), minmax(0,1fr)); background: transparent !important; box-shadow:none !important; overflow:visible !important; border-radius:0 !important; }
/* v1.356 (portal audit 30 Sep): the rule above out-ranks the 980/760 px column rules (§20 .bd-kg), so a phone got 4–6 tiles in one row ("Invoi…", "R.", deltas past the screen edge) */
@media (max-width:980px){ body.lumen:has(#app > .bd-shell) #app .bd-kg .lx-kpis{ grid-template-columns: repeat(min(var(--n,4), 3), minmax(0,1fr)); } }
@media (max-width:760px){ body.lumen:has(#app > .bd-shell) #app .bd-kg .lx-kpis{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
/* v1.356 (portal audit 30 Sep): labels that read "Collections (net of re…" / "Education & Migra…" / "Collections (net of refun…" on a phone or in a 4-up card — a tile or bar with no hover on touch
   gave no way to read the rest; they wrap instead (BoardCloud only) */
body.lumen:has(#app > .bd-shell) #app .bd-pc-l{ white-space:normal; overflow:visible; text-overflow:clip; overflow-wrap:anywhere; }
/* v1.356 (portal audit 30 Sep): the sidebar search box's "/" hint is for a keyboard — hidden on a phone, where the panel is the off-canvas sheet */
@media (max-width:760px){ body.lumen #app .bd-search-side kbd{ display:none; } }
/* v1.356 (portal audit 30 Sep): the sortable column names were 15 px-high links; the hit area now fills the header cell without changing the row height */
body.lumen #app .bd-tw th > a[data-bd-tsort], body.lumen #app .bd-tw th > a[data-bd-sort]{ display:inline-block; padding:10px 0; margin:-10px 0; }
@media (max-width:760px){
  body.lumen:has(#app > .bd-shell) #app .bd-kg .lx-kpi-l, body.lumen:has(#app > .bd-shell) #app .bd-kg .lx-kpi-l > span{ white-space:normal; overflow:visible; text-overflow:clip; }
  body.lumen:has(#app > .bd-shell) #app .bd-page .lx-hb-l{ white-space:normal; overflow:visible; text-overflow:clip; }
}
body.lumen:has(#app > .bd-shell) #app .bd-kg .lx-kpi{ background: var(--lx-surface) !important; border-radius:14px !important; box-shadow: var(--lx-e1) !important; padding: 16px 18px 14px !important; transition: box-shadow var(--lx-d-hover) ease, transform var(--lx-d-hover) ease; }
body.lumen:has(#app > .bd-shell) #app .bd-kg button.lx-kpi:hover{ transform: translateY(-1px); box-shadow: var(--lx-e2) !important; }
body.lumen:has(#app > .bd-shell) #app .bd-kg .lx-kpi-l{ font: 550 12.5px/16px var(--lx-font) !important; color: var(--lx-text-2) !important; }
body.lumen:has(#app > .bd-shell) #app .bd-kg .lx-kpi-v{ font: 650 30px/36px var(--lx-font) !important; letter-spacing:-.028em !important; }
body.lumen:has(#app > .bd-shell) #app .bd-kg .lx-kpi-d{ gap:8px; align-items:center; flex-wrap:wrap; }
body.lumen:has(#app > .bd-shell) #app .bd-kg .lx-kpi-d > span:not(.lx-delta){ color: var(--lx-text-3); font-size:12px; }
body.lumen:has(#app > .bd-shell) .lx-delta{ display:inline-flex; align-items:center; gap:3px; padding: 2px 8px; border-radius:999px; background: var(--lx-surface-3); font: 600 11.5px/16px var(--lx-font) !important; }
body.lumen:has(#app > .bd-shell) .lx-delta.ok{ background: var(--lx-ok-tint); }
body.lumen:has(#app > .bd-shell) .lx-delta.bad{ background: var(--lx-bad-tint); }
body.lumen:has(#app > .bd-shell) #app .bd-kg-chip{ height:auto !important; padding:0 !important; background:none !important; box-shadow:none !important; font: 600 11px/16px var(--lx-font) !important; letter-spacing:.1em !important; text-transform:uppercase; color: var(--lx-text-3) !important; gap:8px; }
body.lumen:has(#app > .bd-shell) #app .bd-kg-chip::before{ content:""; width:6px; height:6px; border-radius:50%; background: var(--lx-accent); }
/* cards, charts, tables */
body.lumen:has(#app > .bd-shell) #app .bd-page .lx-card{ border-radius:16px !important; background: var(--lx-surface) !important; box-shadow: var(--lx-e1) !important; }
body.lumen:has(#app > .bd-shell) #app .bd-page .lx-card-h h3{ font: 620 14.5px/20px var(--lx-font) !important; letter-spacing:-.006em; color: var(--lx-text) !important; }
body.lumen:has(#app > .bd-shell) #app .bd-page .lx-gl{ background: var(--lx-viz-grid) !important; }
body.lumen:has(#app > .bd-shell) #app .bd-page .lx-hb-t, body.lumen:has(#app > .bd-shell) #app .bd-page .lx-hb-t > i{ border-radius:999px !important; }
body.lumen:has(#app > .bd-shell) #app .bd-page .lx-hb{ min-height:36px; }
body.lumen:has(#app > .bd-shell) #app .bd-page .lx-hb[data-bd-drill]:hover .lx-hb-l{ color: var(--lx-accent-text); }
body.lumen:has(#app > .bd-shell) #app .bd-page .lx-area-f{ opacity:.08 !important; }
body.lumen:has(#app > .bd-shell) #app .bd-page .lx-legend{ gap:14px; }
body.lumen:has(#app > .bd-shell) #app .bd-tw table.list tr:first-child > th{ font: 600 12px/16px var(--lx-font) !important; color: var(--lx-text-2) !important; }
body.lumen:has(#app > .bd-shell) #app .bd-tw table.list td{ height:44px; }
body.lumen:has(#app > .bd-shell) #app .bd-perline{ margin-bottom:20px; }
/* portals at a glance */
body.lumen:has(#app > .bd-shell) #app .bd-pc{ border-radius:16px; padding: 16px 18px; transition: transform var(--lx-d-pop) var(--lx-ease-out), box-shadow var(--lx-d-pop) ease; }
body.lumen:has(#app > .bd-shell) #app .bd-pc:hover{ transform: translateY(-2px); background: var(--lx-surface); box-shadow: var(--lx-e2); }
body.lumen:has(#app > .bd-shell) #app .bd-pc-h svg:first-child{ width:30px !important; height:30px !important; padding:7px; box-sizing:border-box; border-radius:9px; background: var(--lx-accent-tint); color: var(--lx-accent); }
body.lumen:has(#app > .bd-shell) #app .bd-more{ border-radius:16px; }
@media (prefers-reduced-motion: reduce){ body.lumen:has(#app > .bd-shell) #app :is(.bd-pc, .bd-kg .lx-kpi):hover{ transform:none !important; } }
/* skeletons (no spinner, no layout jump) */
body.lumen .bd-sk{ display:block; border-radius:12px; background: linear-gradient(90deg, var(--lx-surface-2) 0%, var(--lx-surface-3) 45%, var(--lx-surface-2) 90%); background-size: 220% 100%; animation: bd-shimmer 1.3s ease-in-out infinite; }
@keyframes bd-shimmer{ from{ background-position: 110% 0; } to{ background-position: -110% 0; } }
@media (prefers-reduced-motion: reduce){ body.lumen .bd-sk{ animation:none; } }
body.lumen #app .bd-skel{ display:block; margin:0; }
body.lumen .bd-sk-line{ display:inline-block; width: min(520px, 70%); height:14px; border-radius:7px; vertical-align:middle; }
body.lumen .bd-sk-per{ width: min(640px, 80%); height:16px; border-radius:8px; margin: 2px 0 20px; }
body.lumen .bd-sk-chip{ width:80px; height:12px; border-radius:6px; }
body.lumen .bd-sk-tiles{ display:grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap:12px; margin: 8px 0 16px; }
body.lumen .bd-sk-tile{ height:122px; border-radius:14px; }
body.lumen .bd-sk-charts{ display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:16px; margin-bottom:16px; }
body.lumen .bd-sk-chart{ height:300px; border-radius:16px; }
body.lumen .bd-sk-table{ height:320px; border-radius:16px; }
body.lumen .bd-sk-rows{ display:flex; flex-direction:column; gap:8px; padding:14px; }
body.lumen .bd-sk-row{ height:40px; border-radius:8px; }
@media (max-width:760px){ body.lumen .bd-sk-tiles{ grid-template-columns: repeat(2, minmax(0,1fr)); } body.lumen .bd-sk-charts{ grid-template-columns: minmax(0,1fr); } }
body.lumen .bd-sr-only{ position:absolute; width:1px; height:1px; overflow:hidden; clip: rect(0 0 0 0); white-space:nowrap; }
/* chart tooltip */
body.lumen .bd-tip{ position:fixed; left:0; top:0; z-index:300; max-width:280px; padding: 7px 10px; border-radius:9px; pointer-events:none; opacity:0; transition: opacity 120ms ease;
  background: var(--lx-text); color: var(--lx-surface); font: 500 12.5px/17px var(--lx-font); font-feature-settings: var(--lx-num); box-shadow: var(--lx-e2); }
body.lumen .bd-tip.on{ opacity:1; }
/* ── Student 360 ── */
body.lumen:has(#app > .bd-shell) .overlay.lx-dov .panel.lx-drawer.lx-drawer-bdstudent{ width: min(1040px, 96vw) !important; max-width:none !important; }
body.lumen .bd-s-head{ display:flex; gap:14px; align-items:flex-start; }
body.lumen .bd-s-head .bd-s-av{ width:56px !important; height:56px !important; font-size:19px !important; border-radius:16px !important; flex:none; }
body.lumen .bd-s-id{ flex:1; min-width:0; display:flex; flex-direction:column; gap:4px; }
body.lumen .bd-s-name{ font: 650 22px/28px var(--lx-font); letter-spacing:-.018em; color: var(--lx-text); }
body.lumen .bd-s-sub{ font: 400 13px/18px var(--lx-font); color: var(--lx-text-2); }
body.lumen .bd-s-act{ flex:none; }
body.lumen .bd-s-contacts{ display:flex; flex-wrap:wrap; gap:8px; margin: 14px 0 4px; }
body.lumen .bd-cpill{ display:inline-flex; align-items:center; gap:8px; padding: 6px 12px 6px 10px; border-radius:12px; background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); color: var(--lx-text) !important; text-decoration:none !important; font: 550 13px/17px var(--lx-font); font-feature-settings: var(--lx-num); transition: box-shadow var(--lx-d-hover) ease, background-color var(--lx-d-hover) ease; }
body.lumen .bd-cpill small{ display:block; font: 500 10.5px/13px var(--lx-font); letter-spacing:.04em; text-transform:uppercase; color: var(--lx-text-3); }
body.lumen .bd-cpill svg{ color: var(--lx-accent); flex:none; }
body.lumen .bd-cpill:hover{ background: var(--lx-accent-tint); box-shadow: inset 0 0 0 1px var(--lx-accent-ring); }
body.lumen .bd-cpill:focus-visible{ outline:none; box-shadow: var(--lx-focus); }
body.lumen .bd-s-tabs{ position:sticky; top:-1px; z-index:4; display:flex; align-items:center; gap:8px; margin-top:12px; padding-top:4px; background: var(--lx-raised); box-shadow: 0 1px 0 var(--lx-line); }
body.lumen .bd-s-tabs .lx-tabs{ flex:1; min-width:0; display:flex; gap:2px; overflow-x:auto; scrollbar-width:none; box-shadow:none !important; margin:0 !important; }
body.lumen .bd-s-tabs .lx-tab{ all:unset; box-sizing:border-box; flex:none; display:inline-flex; align-items:center; gap:7px; height:42px; padding: 0 12px; cursor:pointer; font: 500 13.5px/1 var(--lx-font); color: var(--lx-text-2); box-shadow: inset 0 -2px 0 transparent; transition: color var(--lx-d-hover) ease, box-shadow var(--lx-d-hover) ease; }
body.lumen .bd-s-tabs .lx-tab svg{ width:15px; height:15px; color: var(--lx-text-3); }
body.lumen .bd-s-tabs .lx-tab:hover{ color: var(--lx-text); }
body.lumen .bd-s-tabs .lx-tab:focus-visible{ box-shadow: var(--lx-focus); border-radius:8px; }
body.lumen .bd-s-tabs .lx-tab.on{ color: var(--lx-text); font-weight:620; box-shadow: inset 0 -2px 0 var(--lx-accent); }
body.lumen .bd-s-tabs .lx-tab.on svg{ color: var(--lx-accent); }
body.lumen .bd-s-tabs .lx-tab-n{ display:inline-grid; place-items:center; min-width:20px; height:18px; padding: 0 6px; border-radius:9px; background: var(--lx-surface-3); font: 600 11px/1 var(--lx-font); color: var(--lx-text-2); }
body.lumen .bd-s-sec table.list th{ text-transform:none !important; letter-spacing:0 !important; font: 600 12px/16px var(--lx-font) !important; color: var(--lx-text-2) !important; background: var(--lx-surface-2) !important; }
body.lumen .bd-s-sec table.list td{ font: 400 13px/18px var(--lx-font); color: var(--lx-text); }
body.lumen .bd-s-tabs .bd-s-xl{ flex:none; }
body.lumen .bd-s-tiles{ display:grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap:10px; margin: 16px 0 6px; }
body.lumen .bd-s-tile{ display:flex; flex-direction:column; gap:2px; padding: 12px 14px; border-radius:12px; background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); min-width:0; }
body.lumen .bd-s-tile > span{ font: 550 12px/16px var(--lx-font); color: var(--lx-text-2); }
body.lumen .bd-s-tile > b{ font: 650 19px/26px var(--lx-font); letter-spacing:-.015em; color: var(--lx-text); font-feature-settings: var(--lx-num); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body.lumen .bd-s-tile > small{ font: 400 12px/16px var(--lx-font); color: var(--lx-text-3); }
body.lumen .bd-s-sec{ margin: 16px 0 0; }
body.lumen .bd-s-sec > h4{ display:flex; align-items:center; gap:8px; margin: 0 0 8px; font: 620 13.5px/18px var(--lx-font); color: var(--lx-text); }
body.lumen .bd-s-sec > h4 svg{ color: var(--lx-text-3); }
body.lumen .bd-s-sec table.list{ margin:0 !important; }
body.lumen .bd-s-sec .lx-tablewrap, body.lumen .bd-s-sec .cm-scroll{ border-radius:12px; box-shadow: inset 0 0 0 1px var(--lx-line); overflow:auto; }
body.lumen .bd-s-sec td.num{ text-align:right; font-feature-settings: var(--lx-num); white-space:nowrap; }
body.lumen .bd-s-cols{ display:grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap:16px; }
body.lumen .bd-s-cols > .bd-s-sec{ padding: 14px 16px; border-radius:14px; background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); }
body.lumen .bd-s-recent{ list-style:none; margin:0 0 10px; padding:0; display:flex; flex-direction:column; gap:10px; }
body.lumen .bd-s-recent li{ display:grid; grid-template-columns: 26px minmax(0,1fr); gap:10px; font: 400 13px/18px var(--lx-font); color: var(--lx-text); }
body.lumen .bd-s-recent small{ display:block; font-size:12px; color: var(--lx-text-3); }
body.lumen .bd-s-empty{ padding: 14px 2px; font: 400 13px/18px var(--lx-font); color: var(--lx-text-3); }
body.lumen .bd-s-empty.big{ display:flex; flex-direction:column; align-items:center; gap:6px; padding: 36px 16px; text-align:center; }
body.lumen .bd-s-empty.big b{ color: var(--lx-text); font-weight:600; }
@media (max-width:760px){ body.lumen .bd-s-cols{ grid-template-columns: minmax(0,1fr); } body.lumen .bd-s-head{ flex-wrap:wrap; } body.lumen .bd-s-tabs{ flex-wrap:wrap; } }
/* v1.356 (portal audit 30 Sep): Student 360 on a phone — the six section tabs shared one row with the "… · Excel" button, so only "Overview" and half of "Money" showed and the button sat over the rest;
   the tabs take the full row and the button drops to its own line, right-aligned */
@media (max-width:760px){ body.lumen .bd-s360 .bd-s-tabs .lx-tabs{ flex:1 1 100%; } body.lumen .bd-s360 .bd-s-tabs .bd-s-xl{ margin:6px 0 6px auto; } }
/* the communication chain */
body.lumen .bd-chfilter{ display:flex; flex-wrap:wrap; gap:6px; margin: 16px 0 4px; }
body.lumen .bd-chip-f{ all:unset; box-sizing:border-box; display:inline-flex; align-items:center; gap:6px; height:30px; padding: 0 11px; border-radius:999px; cursor:pointer; font: 500 12.5px/1 var(--lx-font); color: var(--lx-text-2); background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); transition: background-color var(--lx-d-hover) ease; }
body.lumen .bd-chip-f > span{ font-weight:650; color: var(--lx-text-3); font-feature-settings: var(--lx-num); }
body.lumen .bd-chip-f:hover{ background: var(--lx-surface-3); }
body.lumen .bd-chip-f:focus-visible{ box-shadow: var(--lx-focus); }
body.lumen .bd-chip-f.on{ background: var(--lx-accent-tint); color: var(--lx-accent-text); box-shadow: inset 0 0 0 1px var(--lx-accent-ring); }
body.lumen .bd-tl-day{ margin-top:14px; }
body.lumen .bd-tl-dh{ position:sticky; top:44px; z-index:3; display:flex; justify-content:space-between; align-items:center; padding: 7px 0; background: var(--lx-raised); font: 620 12.5px/16px var(--lx-font); color: var(--lx-text); }
body.lumen .bd-tl-dh > span{ font-weight:500; color: var(--lx-text-3); }
body.lumen .bd-tl{ list-style:none; margin:0; padding:0; position:relative; }
body.lumen .bd-tl::before{ content:""; position:absolute; left:14px; top:6px; bottom:6px; width:1px; background: var(--lx-line-2); }
body.lumen .bd-tl-i{ position:relative; display:grid; grid-template-columns: 29px minmax(0,1fr); gap:12px; padding: 8px 0; }
body.lumen .bd-tl-dot{ position:relative; z-index:1; width:29px; height:29px; border-radius:50%; display:inline-grid; place-items:center; background: color-mix(in srgb, currentColor 13%, var(--lx-surface)); box-shadow: 0 0 0 3px var(--lx-raised); }
body.lumen :is(.bd-tl-dot, .bd-chip-f).fam-talk{ color: var(--lx-viz-1); }
body.lumen :is(.bd-tl-dot, .bd-chip-f).fam-money{ color: var(--lx-viz-3); }
body.lumen :is(.bd-tl-dot, .bd-chip-f).fam-study{ color: var(--lx-viz-2); }
body.lumen :is(.bd-tl-dot, .bd-chip-f).fam-sys{ color: var(--lx-text-3); }
body.lumen .bd-chip-f[class*="fam-"]:not(.on){ color: var(--lx-text-2); }
body.lumen .bd-chip-f[class*="fam-"] svg{ color: inherit; }
body.lumen .bd-chip-f.fam-talk:not(.on) svg{ color: var(--lx-viz-1); } body.lumen .bd-chip-f.fam-money:not(.on) svg{ color: var(--lx-viz-3); } body.lumen .bd-chip-f.fam-study:not(.on) svg{ color: var(--lx-viz-2); }
body.lumen .bd-tl-m{ min-width:0; padding-top:4px; }
body.lumen .bd-tl-top{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; font: 400 13px/18px var(--lx-font); color: var(--lx-text-2); }
body.lumen .bd-tl-top > b{ font-weight:620; color: var(--lx-text); }
body.lumen .bd-tl-top time{ margin-left:auto; color: var(--lx-text-3); font-feature-settings: var(--lx-num); }
body.lumen .bd-tl-who{ color: var(--lx-text-2); }
body.lumen .bd-dir{ display:inline-flex; align-items:center; gap:2px; height:18px; padding: 0 7px 0 5px; border-radius:999px; background: var(--lx-surface-3); font: 600 11px/1 var(--lx-font); color: var(--lx-text-2); }
body.lumen .bd-dir.out svg{ transform: rotate(-45deg); } body.lumen .bd-dir.in svg{ transform: rotate(135deg); }
body.lumen .bd-tl-sum{ margin-top:3px; font: 400 13.5px/20px var(--lx-font); color: var(--lx-text); overflow-wrap:anywhere; }
body.lumen .bd-tl-ref{ margin-top:2px; font: 400 11.5px/15px var(--lx-mono); color: var(--lx-text-3); }
body.lumen .bd-tl-foot{ display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:14px; padding-top:12px; box-shadow: 0 -1px 0 var(--lx-line); font: 400 12.5px/18px var(--lx-font); color: var(--lx-text-2); }
body.lumen .bd-s-print .bd-s-psec{ margin-top:18px; }
body.lumen .bd-s-print .bd-s-psec > h2{ margin: 0 0 6px; font: 650 17px/22px var(--lx-font); color: var(--lx-text); }

/* date of birth + upcoming birthdays (§103 last addendum) */
body.lumen .bd-dob{ font-feature-settings: var(--lx-num); white-space:nowrap; }
body.lumen .bd-bday{ display:inline-flex; align-items:center; gap:4px; margin-left:6px; padding: 1px 8px 1px 6px; border-radius:999px; background: color-mix(in srgb, var(--bd-gold, var(--lx-warn)) 16%, var(--lx-surface)); color: var(--lx-text); font: 600 11.5px/16px var(--lx-font); white-space:nowrap; vertical-align:1px; }
body.lumen .bd-bday svg{ color: var(--bd-gold, var(--lx-warn)); }
body.lumen .bd-sub{ margin-top:2px; font: 400 12px/16px var(--lx-font); color: var(--lx-text-2); }
body.lumen .bd-sres .bd-srdob{ display:flex; align-items:center; gap:5px; font: 400 12px/16px var(--lx-font); color: var(--lx-text-2); }
body.lumen .bd-sres .bd-srdob > svg{ color: var(--lx-text-3); flex:none; }
body.lumen #app .bd-tw td.bd-dobc{ white-space:nowrap; font-size:13px; }
body.lumen #app .bd-emp-t td:nth-child(2){ white-space:nowrap; }   /* Joined (v1.324 B4 ROI: 2nd column now that Phone / Email moved into the first) */
body.lumen #app .bd-emp-t td:first-child{ min-width:210px; }
/* v1.324 B4 ROI — the Employees first column stacks designation · ID · phone · e-mail; ROI (roster, By person, Business Summary) is
   coloured by sign, "—" (support role) muted; the working is in the title tooltip */
body.lumen #app .bd-emp-t .bd-ec{ display:flex; align-items:center; gap:5px; margin-top:2px; max-width:260px; font: 400 12.5px/17px var(--lx-font); color: var(--lx-text-2); font-feature-settings: var(--lx-num); }
body.lumen #app .bd-emp-t .bd-ec > svg{ flex:none; color: var(--lx-text-3); }
body.lumen #app .bd-emp-t .bd-ec a{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color: var(--lx-text-2); text-decoration:none; }
body.lumen #app .bd-emp-t .bd-ec a:hover, body.lumen #app .bd-emp-t .bd-ec a:focus-visible{ color: var(--lx-accent-text); text-decoration:underline; }
body.lumen #app .bd-roi{ font-weight:620; font-feature-settings: var(--lx-num); white-space:nowrap; cursor:pointer; }   /* v1.357 (rulings 30 Sep, board-4): tap opens the working */
body.lumen #app .bd-roi.pos{ color: var(--lx-ok); }
body.lumen #app .bd-roi.neg{ color: var(--lx-bad); }
body.lumen #app .bd-roi.na{ color: var(--lx-text-3); font-weight:500; }
body.lumen #app .bd-ecard-r a.bd-mail{ display:block; flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body.lumen #app .bd-ecard-r a.bd-mail > svg{ vertical-align:-2px; margin-right:6px; }
body.lumen #app .bd-ecard-r .bd-ecard-g{ flex:none; white-space:nowrap; }
body.lumen #app .bd-bdcard{ all:unset; box-sizing:border-box; width:100%; display:flex; align-items:center; gap:16px; margin: 0 0 16px; padding: 14px 18px; border-radius:16px; cursor:pointer;
  background: var(--lx-surface); box-shadow: var(--lx-e1); transition: box-shadow var(--lx-d-pop) ease, transform var(--lx-d-pop) var(--lx-ease-out); }
body.lumen #app .bd-bdcard:hover{ box-shadow: var(--lx-e2); transform: translateY(-1px); }
body.lumen #app .bd-bdcard:focus-visible{ box-shadow: var(--lx-focus); }
@media (prefers-reduced-motion: reduce){ body.lumen #app .bd-bdcard:hover{ transform:none; } }
body.lumen .bd-bdcard-ic{ width:40px; height:40px; flex:none; display:inline-grid; place-items:center; border-radius:12px; color: var(--bd-gold, var(--lx-warn)); background: color-mix(in srgb, var(--bd-gold, var(--lx-warn)) 14%, var(--lx-surface)); }
body.lumen .bd-bdcard-ic.big{ width:56px; height:56px; border-radius:16px; }
body.lumen #app .bd-bdcard-m{ flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
body.lumen #app .bd-bdcard-m b{ font: 620 14.5px/20px var(--lx-font); color: var(--lx-text); }
body.lumen #app .bd-bdcard-m small{ font: 400 12.5px/16px var(--lx-font); color: var(--lx-text-2); }
body.lumen #app .bd-bdcard-n{ display:flex; flex-direction:column; align-items:flex-end; min-width:64px; }
body.lumen #app .bd-bdcard-n b{ font: 650 24px/28px var(--lx-font); letter-spacing:-.02em; color: var(--lx-text); font-feature-settings: var(--lx-num); }
body.lumen #app .bd-bdcard-n small{ font: 500 12px/16px var(--lx-font); color: var(--lx-text-3); }
body.lumen #app .bd-bdcard-go{ display:inline-flex; align-items:center; gap:4px; font: 600 13px/1 var(--lx-font); color: var(--lx-accent-text); white-space:nowrap; }
@media (max-width:760px){ body.lumen #app .bd-bdcard{ flex-wrap:wrap; gap:12px; } body.lumen #app .bd-bdcard-go{ width:100%; } }
body.lumen:has(#app > .bd-shell) .overlay.lx-dov .panel.lx-drawer.lx-drawer-bdbdays{ width: min(760px, 96vw) !important; max-width:none !important; }
body.lumen .bd-bdlist{ list-style:none; margin: 12px 0 0; padding:0; display:flex; flex-direction:column; gap:6px; }
body.lumen .bd-bdrow{ display:grid; grid-template-columns: 52px minmax(0,1fr) auto; align-items:center; gap:14px; padding: 10px 12px; border-radius:12px; cursor:pointer; background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); transition: background-color var(--lx-d-hover) ease; }
body.lumen .bd-bdrow:hover{ background: var(--lx-surface-3); }
body.lumen .bd-bdrow:focus-visible{ outline:none; box-shadow: var(--lx-focus); }
body.lumen .bd-bdrow.bd-soon{ box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bd-gold, var(--lx-warn)) 45%, transparent); }
body.lumen .bd-bddate{ display:flex; flex-direction:column; align-items:center; justify-content:center; height:52px; border-radius:12px; background: var(--lx-surface); box-shadow: inset 0 0 0 1px var(--lx-line); }
body.lumen .bd-bddate b{ font: 700 19px/22px var(--lx-font); color: var(--lx-text); font-feature-settings: var(--lx-num); }
body.lumen .bd-bddate small{ font: 600 11px/13px var(--lx-font); letter-spacing:.06em; text-transform:uppercase; color: var(--lx-text-3); }
body.lumen .bd-bdm{ min-width:0; display:flex; flex-direction:column; gap:2px; }
body.lumen .bd-bdm b{ font: 600 14px/19px var(--lx-font); color: var(--lx-text); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body.lumen .bd-bdm small, body.lumen .bd-bdt small{ font: 400 12px/16px var(--lx-font); color: var(--lx-text-2); }
body.lumen .bd-bdt{ display:flex; flex-direction:column; align-items:flex-end; gap:2px; text-align:right; }
body.lumen .bd-bdt b{ font: 600 13px/18px var(--lx-font); color: var(--lx-text); }
body.lumen .bd-bdt small{ display:inline-flex; align-items:center; gap:4px; }
body.lumen .bd-bdt small svg{ color: var(--bd-gold, var(--lx-warn)); }
@media (max-width:520px){ body.lumen .bd-bdrow{ grid-template-columns: 48px minmax(0,1fr); } body.lumen .bd-bdt{ grid-column: 2; align-items:flex-start; text-align:left; } }

/* Plans (§103: every portal's day, team, month and other plans) */
body.lumen #app .bd-pview{ margin: 4px 0 14px; }
body.lumen #app .bd-pl-ctl{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin: 0 0 14px; }
body.lumen #app .bd-pl-ctl .lx-tabs{ flex:1; min-width:0; margin:0 !important; }
/* v1.356 (portal audit 30 Sep): the Employees card sat flush against the table card above it (no gap; the two borders touched) */
body.lumen #app .bd-page .bd-tcard + .bd-tcard, body.lumen #app .bd-page .bd-tcard + .lx-card, body.lumen #app .bd-page .lx-card + .bd-tcard{ margin-top:14px; }
/* v1.356 (portal audit 30 Sep): the pack-member table (name · e-mail · Weekly · Monthly · Save) ran off a phone's right edge, so the tick boxes and Save were out of sight — each person becomes a small card */
body.lumen #app .bd-pk-g{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
@media (max-width:760px){
  body.lumen #app .bd-pkm table.list > tbody > tr:first-child:has(> th){ display:none; }
  body.lumen #app .bd-pkm table.list, body.lumen #app .bd-pkm table.list > tbody{ display:block; }
  body.lumen #app .bd-pkm table.list tr[data-bd-pkrow]{ display:grid; grid-template-columns: auto auto 1fr; gap:8px 16px; align-items:center; padding:12px 14px; border-bottom:1px solid var(--lx-line); }
  body.lumen #app .bd-pkm table.list tr[data-bd-pkrow] > td{ display:block; padding:0 !important; border:0 !important; text-align:left !important; background:transparent !important; box-shadow:none !important; position:static !important; min-height:0 !important; }
  body.lumen #app .bd-pkm table.list tr[data-bd-pkrow] > td:nth-child(1), body.lumen #app .bd-pkm table.list tr[data-bd-pkrow] > td:nth-child(2){ grid-column: 1 / -1; }
  body.lumen #app .bd-pkm table.list tr[data-bd-pkrow] > td:nth-child(3)::before{ content:"Weekly "; color: var(--lx-text-2); font-size:13px; }
  body.lumen #app .bd-pkm table.list tr[data-bd-pkrow] > td:nth-child(4)::before{ content:"Monthly "; color: var(--lx-text-2); font-size:13px; }
  body.lumen #app .bd-pkm table.list tr[data-bd-pkrow] > td:nth-child(5){ justify-self:end; }
  body.lumen #app .bd-pkm table.list tr[data-bd-pkrow] input[type=email]{ min-width:0 !important; }
}
body.lumen #app .bd-pl-f{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
/* v1.356 (portal audit 30 Sep): on a phone the four plan tabs shared a row with the date box + Excel, which sat over "Team plan / Month plan / Other plans"; tabs take their own row */
@media (max-width:760px){ body.lumen #app .bd-pl-ctl .lx-tabs{ flex:1 1 100%; } }
body.lumen #app .bd-pl-f label{ display:inline-flex; align-items:center; gap:6px; height: var(--lx-ctl-md); padding: 0 10px; border-radius:10px; background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); color: var(--lx-text-2); }
body.lumen #app .bd-pl-f input, body.lumen #app .bd-pl-f select{ border:0 !important; background:transparent !important; color: var(--lx-text) !important; font: 500 13px/1 var(--lx-font) !important; height: var(--lx-ctl-sm); box-shadow:none !important; }
body.lumen #app .bd-pl-f select{ height: var(--lx-ctl-md); padding: 0 10px !important; border-radius:10px !important; background: var(--lx-surface-2) !important; box-shadow: inset 0 0 0 1px var(--lx-line) !important; }
body.lumen #app .bd-pl-banner{ display:flex; gap:8px; align-items:flex-start; margin: 0 0 14px; padding: 10px 14px; border-radius:12px; background: var(--lx-warn-tint); color: var(--lx-text); font: 400 13px/19px var(--lx-font); }
body.lumen #app .bd-pl-banner svg{ color: var(--lx-warn); flex:none; margin-top:2px; }
body.lumen #app .bd-pl-banner.info{ background: var(--lx-accent-tint); } body.lumen #app .bd-pl-banner.info svg{ color: var(--lx-accent); }
body.lumen #app .bd-pl-card{ margin: 0 0 14px; padding: 16px 18px; border-radius:16px; background: var(--lx-surface); box-shadow: var(--lx-e1); }
body.lumen #app .bd-pl-h{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
body.lumen #app .bd-pl-who{ display:flex; flex-direction:column; min-width:160px; }
body.lumen #app .bd-pl-who b{ font: 620 14.5px/20px var(--lx-font); color: var(--lx-text); }
body.lumen #app .bd-pl-who small, body.lumen #app .bd-pl-fill small{ font: 400 12px/16px var(--lx-font); color: var(--lx-text-2); }
body.lumen #app .bd-pl-fill{ margin-left:auto; display:flex; flex-direction:column; align-items:flex-end; gap:4px; min-width:220px; }
body.lumen .bd-fill{ position:relative; display:block; width:100%; min-width:120px; height:8px; border-radius:999px; background: var(--lx-surface-3); overflow:hidden; }
body.lumen .bd-fill i{ position:absolute; inset:0 auto 0 0; border-radius:999px; }
body.lumen .bd-fill i.p{ background: color-mix(in srgb, var(--lx-viz-1) 35%, var(--lx-surface-3)); }
body.lumen .bd-fill i.d{ background: var(--lx-viz-1); }
body.lumen #app .bd-pl-note{ margin-top:8px; font: 400 12px/16px var(--lx-font); color: var(--lx-text-3); }
body.lumen #app .bd-pl-blocks{ display:flex; flex-direction:column; gap:8px; margin-top:14px; position:relative; }
body.lumen #app .bd-pl-blk{ position:relative; display:grid; grid-template-columns: 210px minmax(0,1fr); gap:6px 20px; align-items:start; padding: 12px 16px 12px 30px; border-radius:12px; background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); }
body.lumen #app .bd-pl-blk::before{ content:""; position:absolute; left:13px; top:17px; width:8px; height:8px; border-radius:50%; background: var(--lx-viz-1); box-shadow: 0 0 0 3px var(--lx-surface-2); }
body.lumen #app .bd-pl-blk::after{ content:""; position:absolute; left:16px; top:29px; bottom:-9px; width:2px; background: var(--lx-line); }
body.lumen #app .bd-pl-blk:last-child::after{ display:none; }
body.lumen #app .bd-pl-blk.off::before{ background: var(--lx-text-3); }
body.lumen #app .bd-pl-blk > .bd-s-empty{ padding:0; min-height:0; text-align:left; justify-content:flex-start; font: 400 12.5px/18px var(--lx-font); color: var(--lx-text-3); }
@media (max-width:760px){ body.lumen #app .bd-pl-blk{ grid-template-columns: minmax(0,1fr); } }
body.lumen #app .bd-pl-blk.off{ opacity:.6; }
body.lumen #app .bd-pl-bh{ display:grid; grid-template-columns: minmax(0,1fr) auto; align-items:baseline; column-gap:8px; row-gap:2px; }
body.lumen #app .bd-pl-bh b{ grid-column: 1 / -1; }
body.lumen #app .bd-pl-bh b{ font: 620 13.5px/18px var(--lx-font); color: var(--lx-text); }
body.lumen #app .bd-pl-bh span{ font: 500 12.5px/16px var(--lx-font); color: var(--lx-text-2); font-feature-settings: var(--lx-num); }
body.lumen #app .bd-pl-bh small{ white-space:nowrap; font: 400 12px/16px var(--lx-font); color: var(--lx-text-3); }
body.lumen #app .bd-pl-items{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; position:relative; }
body.lumen #app .bd-pl-items li{ display:grid; grid-template-columns: 44px minmax(0,1fr) auto; gap:10px; align-items:start; padding-left:2px; }
body.lumen #app .bd-pl-items time{ font: 600 12.5px/18px var(--lx-font); color: var(--lx-text-2); font-feature-settings: var(--lx-num); }
body.lumen #app .bd-pl-it{ display:flex; flex-direction:column; gap:2px; min-width:0; }
body.lumen #app .bd-pl-it b{ font: 550 13px/18px var(--lx-font); color: var(--lx-text); }
body.lumen #app .bd-pl-it small{ font: 400 12px/16px var(--lx-font); color: var(--lx-text-2); overflow-wrap:anywhere; }
body.lumen #app .bd-pl-meta{ display:flex; flex-direction:column; align-items:flex-end; gap:2px; }
body.lumen #app .bd-pl-meta small{ font: 400 11.5px/15px var(--lx-font); color: var(--lx-text-3); }
body.lumen #app .bd-pl-wf, body.lumen #app .bd-pl-eod{ margin-top:12px; padding: 10px 12px; border-radius:12px; background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); font: 400 12.5px/18px var(--lx-font); color: var(--lx-text-2); }
body.lumen #app .bd-pl-wf b, body.lumen #app .bd-pl-eod b{ display:flex; align-items:center; gap:6px; color: var(--lx-text); font-weight:600; margin-bottom:4px; }
body.lumen #app .bd-pl-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
body.lumen #app .bd-pl-list li{ display:flex; gap:10px; align-items:flex-start; }
body.lumen #app .bd-pl-list li > span:last-child{ display:flex; flex-direction:column; min-width:0; font: 400 13px/18px var(--lx-font); color: var(--lx-text); }
body.lumen #app .bd-pl-list small{ font-size:12px; color: var(--lx-text-2); }
body.lumen #app .bd-pl-tg{ display:flex; flex-direction:column; gap:12px; }
body.lumen #app .bd-pl-tgr{ display:grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); gap:16px; align-items:center; padding: 12px 14px; border-radius:12px; background: var(--lx-surface); box-shadow: var(--lx-e1); }
body.lumen #app .bd-pl-tgl b{ display:block; font: 600 13.5px/18px var(--lx-font); color: var(--lx-text); }
body.lumen #app .bd-pl-tgl small{ display:block; font: 400 12px/16px var(--lx-font); color: var(--lx-text-3); }
body.lumen #app .bd-pl-tgb{ display:flex; flex-direction:column; gap:6px; }
body.lumen #app .bd-pl-tgb small{ font: 400 12.5px/16px var(--lx-font); color: var(--lx-text-2); font-feature-settings: var(--lx-num); }
body.lumen #app .bd-pl-bar{ display:block; height:10px; border-radius:999px; background: var(--lx-surface-3); overflow:hidden; }
body.lumen #app .bd-pl-bar i{ display:block; height:100%; border-radius:999px; background: var(--lx-viz-1); }
@media (max-width:760px){ body.lumen #app .bd-pl-tgr{ grid-template-columns: minmax(0,1fr); } body.lumen #app .bd-pl-fill{ margin-left:0; width:100%; align-items:flex-start; } }
body.lumen #app .bd-cal{ border-radius:14px; background: var(--lx-surface); box-shadow: var(--lx-e1); overflow:hidden; }
body.lumen #app .bd-cal-hd, body.lumen #app .bd-cal-g{ display:grid; grid-template-columns: repeat(7, minmax(0,1fr)); }
body.lumen #app .bd-cal-hd span{ padding: 8px 10px; font: 600 11.5px/16px var(--lx-font); letter-spacing:.06em; text-transform:uppercase; color: var(--lx-text-3); background: var(--lx-surface-2); }
body.lumen #app .bd-cal-c{ min-height:92px; padding: 6px 8px; box-shadow: inset -1px -1px 0 var(--lx-line); display:flex; flex-direction:column; gap:3px; min-width:0; }
body.lumen #app .bd-cal-c.pad{ background: var(--lx-surface-2); }
body.lumen #app .bd-cal-c.hol{ background: color-mix(in srgb, var(--lx-bad-tint) 60%, var(--lx-surface)); }
body.lumen #app .bd-cal-c.today .bd-cal-d{ background: var(--lx-accent); color: var(--lx-accent-ink); }
body.lumen #app .bd-cal-d{ align-self:flex-start; min-width:22px; height:22px; padding:0 5px; border-radius:11px; display:inline-grid; place-items:center; font: 600 12px/1 var(--lx-font); color: var(--lx-text-2); font-feature-settings: var(--lx-num); }
body.lumen #app .bd-cal-e{ display:block; padding: 2px 6px; border-radius:6px; font: 500 11.5px/15px var(--lx-font); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color: var(--lx-text); background: color-mix(in srgb, currentColor 0%, var(--lx-surface-3)); box-shadow: inset 2px 0 0 var(--lx-text-3); }
body.lumen #app .bd-cal-e.fam-talk{ box-shadow: inset 2px 0 0 var(--lx-viz-1); } body.lumen #app .bd-cal-e.fam-money{ box-shadow: inset 2px 0 0 var(--lx-viz-3); } body.lumen #app .bd-cal-e.fam-study{ box-shadow: inset 2px 0 0 var(--lx-viz-2); }
body.lumen #app .bd-cal-more{ font: 500 11px/14px var(--lx-font); color: var(--lx-text-3); }
@media (max-width:760px){ body.lumen #app .bd-cal-c{ min-height:54px; padding:4px; } body.lumen #app .bd-cal-e{ font-size:0; height:5px; padding:0; border-radius:3px; } body.lumen #app .bd-cal-more{ display:none; } }

/* v1.326 C1 — the Chairman's capital register card on the Business Summary (ANik 26 Sep "Yes it can appear"): a position strip (as at the
   period end, the two derived figures raised), the open-requests line, the in-period tiles (the Summary's own tile look, one step down
   inside the card) and the dated event list. Tokens only; every rule keyed on a bd-cap* class the BOARDCLOUD block alone renders. */
body.lumen #app .bd-cap{ margin: 0 0 16px; }
body.lumen #app .bd-cap .lx-card-h .lx-meta{ color: var(--lx-text-3); }
body.lumen #app .bd-cap-sh, body.lumen #app .bd-cap-lh{ display:flex; align-items:center; gap:7px; margin: 2px 0 10px; font: 600 12.5px/16px var(--lx-font); color: var(--lx-text); }
body.lumen #app .bd-cap-sh small{ font-weight:400; color: var(--lx-text-3); }
body.lumen #app .bd-cap-sh svg, body.lumen #app .bd-cap-lh svg{ color: var(--bd-gold, var(--lx-accent)); flex:none; }
body.lumen #app .bd-cap-lh{ margin-top:18px; }
body.lumen #app .bd-cap-pos{ display:grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap:10px; }
body.lumen #app .bd-cap-p{ display:flex; flex-direction:column; gap:3px; min-width:0; padding: 12px 14px; border-radius:12px; background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); cursor:help; }
body.lumen #app .bd-cap-p > span{ font: 550 12px/16px var(--lx-font); color: var(--lx-text-2); }
body.lumen #app .bd-cap-p > b{ font: 650 18px/24px var(--lx-font); letter-spacing:-.015em; color: var(--lx-text); font-feature-settings: var(--lx-num); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body.lumen #app .bd-cap-p > small{ font: 400 11.5px/15px var(--lx-font); color: var(--lx-text-3); font-feature-settings: var(--lx-num); }
body.lumen #app .bd-cap-p.key{ background: color-mix(in srgb, var(--bd-gold, var(--lx-accent)) 9%, var(--lx-surface)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bd-gold, var(--lx-accent)) 32%, transparent); }
body.lumen #app .bd-cap-inv{ margin-top:10px; }
body.lumen #app .bd-cap-rq{ display:flex; align-items:flex-start; gap:8px; margin-top:12px; padding: 9px 12px; border-radius:10px; background: var(--lx-surface-2); font: 400 12.5px/18px var(--lx-font); color: var(--lx-text-2); font-feature-settings: var(--lx-num); }
body.lumen #app .bd-cap-rq svg{ color: var(--lx-text-3); flex:none; margin-top:2px; }
body.lumen #app .bd-cap-rq b{ color: var(--lx-text); font-weight:600; }
body.lumen #app .bd-cap-kg{ margin-top:18px; }
body.lumen #app .bd-cap-kg .bd-kg-h{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:8px; }
body.lumen #app .bd-cap-cmp{ font: 400 12px/16px var(--lx-font); color: var(--lx-text-3); }
body.lumen #app .bd-cap-kg .lx-kpis{ margin:0 !important; }
body.lumen:has(#app > .bd-shell) #app .bd-cap-kg .lx-kpis{ grid-template-columns: repeat(4, minmax(0,1fr)); }
body.lumen:has(#app > .bd-shell) #app .bd-cap-kg .lx-kpi{ background: var(--lx-surface-2) !important; box-shadow: inset 0 0 0 1px var(--lx-line) !important; }
body.lumen:has(#app > .bd-shell) #app .bd-cap-kg .lx-kpi-v{ font-size:24px !important; line-height:30px !important; }
body.lumen #app .bd-cap-ev table.list{ margin:0 !important; }
body.lumen #app .bd-cap-ev td{ vertical-align:top; font: 400 13px/18px var(--lx-font); }
body.lumen #app .bd-cap-ev td.num{ text-align:right; white-space:nowrap; font-weight:600; font-feature-settings: var(--lx-num); }
body.lumen #app .bd-cap-d{ white-space:nowrap; font-feature-settings: var(--lx-num); color: var(--lx-text-2); }
body.lumen #app .bd-cap-n{ min-width:220px; overflow-wrap:anywhere; color: var(--lx-text-2); }
body.lumen #app .bd-cap-t{ display:inline-flex; align-items:center; gap:6px; white-space:nowrap; font-weight:600; color: var(--lx-text); }
body.lumen #app .bd-cap-t::before{ content:""; width:7px; height:7px; border-radius:50%; background: var(--lx-ok); flex:none; }
body.lumen #app .bd-cap-t.out::before{ background: var(--bd-gold, var(--lx-warn)); }
body.lumen #app .bd-cap .lx-card-f{ font: 400 12px/17px var(--lx-font); color: var(--lx-text-3); }
@media (max-width:1100px){ body.lumen #app .bd-cap-pos{ grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width:760px){ body.lumen #app .bd-cap-pos{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  body.lumen:has(#app > .bd-shell) #app .bd-cap-kg .lx-kpis{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  /* the dated list stacks on a phone: date + amount on one line, type, then the narration — no sideways scroll */
  body.lumen #app .bd-cap-ev{ max-height:none; overflow:visible; }
  body.lumen #app .bd-cap-ev table.list, body.lumen #app .bd-cap-ev tbody{ display:block; width:100%; }
  body.lumen #app .bd-cap-ev tr:first-child{ display:none; }
  body.lumen #app .bd-cap-ev tr:not(:first-child){ display:grid; grid-template-columns: minmax(0,1fr) auto; gap:2px 12px; padding: 10px 2px; box-shadow: 0 -1px 0 var(--lx-line); }
  body.lumen #app .bd-cap-ev td{ display:block; height:auto !important; padding:0 !important; border:0 !important; position:static !important; box-shadow:none !important; background:none !important; }
  body.lumen #app .bd-cap-ev td.bd-cap-d{ grid-column:1; grid-row:1; font-size:12.5px; }
  body.lumen #app .bd-cap-ev td.num{ grid-column:2; grid-row:1 / span 2; align-self:center; }
  body.lumen #app .bd-cap-ev td:nth-child(2){ grid-column:1; grid-row:2; }
  body.lumen #app .bd-cap-ev td.bd-cap-n{ grid-column: 1 / -1; min-width:0; font-size:12.5px; }
  body.lumen #app .bd-cap-ev td:nth-child(5){ grid-column: 1 / -1; font-size:12px; color: var(--lx-text-3); } }
@media print{ html.printing:has(.bd-printing) body.lumen #app .bd-cap-pos{ grid-template-columns: repeat(6, minmax(0,1fr)); }
  html.printing:has(.bd-printing) body.lumen #app .bd-cap-kg .lx-kpis{ grid-template-columns: repeat(4, minmax(0,1fr)) !important; } }

/* BOARDCLOUD PRINT — the A4 board pack (plan §4): bdPrint() renders every section expanded (all MigrateCloud tabs in sequence, the full
   roster) and calls printArea(); these rules shape the page (a NAMED page, so other prints of the portal keep their own layout). Colours are forced to the light palette so a dark-theme session still
   prints ink on white; charts keep their colour.
   EVERY rule is scoped html.printing:has(.bd-printing) — printArea() also drives the other portals' dialog prints (payslips, rep report,
   certificates, drawers: styles.css reveals .overlay for them), and none of this may touch those (verify H1, 26 Sep). */
@page bdpack { size: A4 landscape; margin: 12mm; @bottom-right { content: "Confidential — board · page " counter(page); font: 9pt sans-serif; color: #555; } }
@media print{
  html.printing:has(.bd-printing) body.lumen:has(#app > .bd-shell){   /* the ID in :has() out-ranks the premium token blocks, so print is always ink on white */
    --lx-surface:#ffffff; --lx-surface-2:#f6f7f9; --lx-surface-3:#eef0f3; --lx-raised:#ffffff; --lx-chrome:#ffffff;
    --lx-line: rgba(15,23,42,.14); --lx-line-2: rgba(15,23,42,.2);
    --lx-text:#0d1117; --lx-text-2:#3f4753; --lx-text-3:#5b6370;
    --lx-ok:#067647; --lx-ok-tint:#ecfdf3; --lx-bad:#b42318; --lx-bad-tint:#fef3f2; --lx-warn:#9a5b00;
    --lx-viz-1:#0891b2; --lx-viz-2:#7c5cd6; --lx-viz-3:#d4880b; --lx-viz-grid: rgba(15,23,42,.08);
    --lx-e1: 0 0 0 1px rgba(15,23,42,.14); --lx-e2: 0 0 0 1px rgba(15,23,42,.14);
    background:#fff !important; color:#0d1117;
  }
  html.printing:has(.bd-printing) body.lumen{ page: bdpack; }   /* the named page: only the board pack gets A4 landscape + the confidential footer */
  html.printing:has(.bd-printing) body.lumen #app .bd-page, html.printing:has(.bd-printing) body.lumen #app .bd-page *{ -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  html.printing:has(.bd-printing) body.lumen #app :is(.fin-side, .bd-mtop, .bd-tools, .bd-filter, .bd-noprint, .lx-ph-act, .bd-weeknav button, .bd-weeknav select, .bd-weeknav label, .lx-tabs), html.printing:has(.bd-printing) body.lumen .lx-tabbar, html.printing:has(.bd-printing) body.lumen .overlay{ display:none !important; }
  html.printing:has(.bd-printing) body.lumen #app .bd-printing .bd-print-head{ display:block; box-shadow:none; border-bottom: 1px solid rgba(15,23,42,.2); }
  html.printing:has(.bd-printing) body.lumen #app .bd-printing .bd-print-foot{ display:block; margin-top:14px; font: 400 9pt/1.4 var(--lx-font); color:#555; }
  html.printing:has(.bd-printing) body.lumen #app > .fin-shell > .sf-main > .sf-wrap{ padding: 0 !important; max-width:none !important; }
  html.printing:has(.bd-printing) body.lumen #app .bd-page :is(.lx-card, .lx-kpis, .bd-pc, .bd-more){ box-shadow: 0 0 0 1px rgba(15,23,42,.16) !important; break-inside: avoid; }
  html.printing:has(.bd-printing) body.lumen #app .bd-page .bd-tcard{ break-inside: auto; }
  html.printing:has(.bd-printing) body.lumen #app .bd-page .bd-tw{ max-height:none !important; overflow:visible !important; }
  html.printing:has(.bd-printing) body.lumen #app .bd-page .bd-tw table.list :is(th, td){ position:static !important; box-shadow:none !important; }
  html.printing:has(.bd-printing) body.lumen #app .bd-page table.list tr{ break-inside: avoid; }
  html.printing:has(.bd-printing) body.lumen #app .bd-page .bd-ecards{ display:none !important; }
  html.printing:has(.bd-printing) body.lumen #app .bd-page .bd-emp-t > table.list{ display:table !important; }
  html.printing:has(.bd-printing) body.lumen #app .bd-page .bd-emp-t > .cm-scroll{ display:block !important; }
  html.printing:has(.bd-printing) body.lumen #app .bd-page .bd-pgrid{ grid-template-columns: repeat(4, minmax(0,1fr)); }
  html.printing:has(.bd-printing) body.lumen #app .bd-page .lx-g-2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  html.printing:has(.bd-printing) body.lumen #app .bd-page .bd-kg .lx-kpis{ grid-template-columns: repeat(min(var(--n,4), 5), minmax(0,1fr)); }
  html.printing:has(.bd-printing) body.lumen #app .bd-page .bd-more > summary svg{ display:none; }
  html.printing:has(.bd-printing) body.lumen #app .bd-page .lx-ph :is(.lx-ph-tile, .lx-h1){ display:none !important; }   /* the print head already names the page */
  html.printing:has(.bd-printing) body.lumen #app .bd-dense .lx-xax-pts span:is(:not(:nth-child(4n+1)), :nth-last-child(-n+3)):not(:last-child){ color: transparent !important; }   /* styles.css forces visibility:visible in print */
  html.printing:has(.bd-printing) body.lumen #app .bd-page [hidden]{ display:revert !important; }
  html.printing:has(.bd-printing) body.lumen #app .bd-s-print .bd-s-psec + .bd-s-psec{ break-before: page; }
  html.printing:has(.bd-printing) body.lumen #app .bd-page :is(.bd-tl-dh, .bd-s-tabs){ position:static !important; }
  html.printing:has(.bd-printing) body.lumen #app .bd-page .bd-tl-i{ break-inside: avoid; }
}

/* v1.356 (portal audit 30 Sep) — TeachCloud dashboard "Writing queue" on a phone: badge + Claim + Evaluate left the
   student's name ~50px, one word per line. Let the row wrap so the actions drop under the name. */
@media (max-width:520px){ body.lumen #app .th-wq .lx-q{ flex-wrap:wrap; } body.lumen #app .th-wq .lx-q-m{ flex:1 1 calc(100% - 44px); } body.lumen #app .th-wq .lx-q-b{ margin-left:44px; } body.lumen #app .th-wq .lx-q-a{ margin-left:auto; } }

/* v1.356 (portal audit 30 Sep) — TeachCloud.
   (1) Marking workspace, desktop: the sticky scoring column spans three grid rows, and when it is taller than the essay column
       (a long auto-estimate panel) the grid stretched those rows, pushing "Student's answer" ~900px below the question. Rows now
       keep their natural height and the spare space sits below.
   (2) Phone: the Writing queue / Evaluated / Speaking tables scrolled sideways and the primary button (Evaluate, Accept …) was
       off-screen. They become one card per row, as the student results tables do: student, then the details, then the buttons. */
@media (min-width:1100px){ body.lumen #app .we-wrap .we-card:not(.we-blank){ align-content:start; } }
@media (max-width:760px){
  body.lumen #app :is(#th-writing, #th-evaluated, #th-speaking, #th-spk-appt, #th-spk-wait, #th-wblank, #th-fbnights) table.list{ display:block; overflow:visible !important; }
  body.lumen #app :is(#th-writing, #th-evaluated, #th-speaking, #th-spk-appt, #th-spk-wait, #th-wblank, #th-fbnights) table.list :is(tbody, tr, td){ display:block; }
  body.lumen #app :is(#th-writing, #th-evaluated, #th-speaking, #th-spk-appt, #th-spk-wait, #th-wblank, #th-fbnights) table.list tr:has(> th){ display:flex; flex-wrap:wrap; gap:4px 14px; padding:8px 14px; background:var(--lx-surface-2); }
  body.lumen #app :is(#th-writing, #th-evaluated, #th-speaking, #th-spk-appt, #th-spk-wait, #th-wblank, #th-fbnights) table.list tr:has(> th) > th{ display:inline-block; height:auto !important; padding:0 !important; background:none !important; }
  body.lumen #app :is(#th-writing, #th-evaluated, #th-speaking, #th-spk-appt, #th-spk-wait, #th-wblank, #th-fbnights) table.list tr:not(:has(> th)){ display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; padding:12px 14px; border-top:1px solid var(--lx-line); }
  body.lumen #app :is(#th-writing, #th-evaluated, #th-speaking, #th-spk-appt, #th-spk-wait, #th-wblank, #th-fbnights) table.list td{ padding:0 !important; height:auto !important; min-height:0 !important; box-shadow:none !important; white-space:normal !important; }
  body.lumen #app :is(#th-writing, #th-evaluated, #th-speaking, #th-spk-appt, #th-spk-wait, #th-wblank, #th-fbnights) table.list td{ background:transparent !important; }
  body.lumen #app :is(#th-writing, #th-wblank, #th-fbnights) table.list tr.row-overdue{ background:rgba(220,38,38,.06); }
  body.lumen #app :is(#th-writing, #th-evaluated, #th-speaking, #th-spk-appt, #th-spk-wait, #th-wblank, #th-fbnights) table.list td:first-child{ flex:1 1 100%; font-weight:600; font-size:14px; }
  body.lumen #app :is(#th-writing, #th-evaluated, #th-speaking, #th-spk-appt, #th-spk-wait, #th-wblank, #th-fbnights) table.list td:last-child{ flex:1 1 100%; display:flex; flex-wrap:wrap; gap:8px; justify-content:flex-start; text-align:left !important; }
  body.lumen #app :is(#th-writing, #th-evaluated, #th-speaking, #th-spk-appt, #th-spk-wait, #th-wblank, #th-fbnights) table.list td:last-child .btn{ flex:1 1 auto; min-height:40px; }
}
@media (max-width:760px){ body.lumen #app #th-fbnights table.list tr:has(> th){ display:none; } }   /* the column labels do not map onto the stacked cells */
/* v1.477 (audit LOW) — in the stacked rows the L / R cells lose their column headers: show the small key teachLRTd prints */
@media (max-width:760px){ body.lumen #app :is(#th-writing, #th-evaluated, #th-speaking, #th-spk-appt, #th-spk-wait, #th-wblank, #th-fbnights) table.list .tlr-k{ display:inline; margin-right:4px; font-size:11px; font-weight:600; color:var(--lx-text-3); } }
/* 21.T-teach end */
/* 29 Oct 2026 (ANik 11:26–11:47, concept 2) — the admin dashboard's "Pending follow-ups" card (lxDashFuCard): a stack of small lead cards,
   newest first; name · phone · status pill / course · source · when / fact chips / the BDM chip. Tokens only (light + dark); the initials
   circle is lx-av (literal pastel background, dark ink). */
body.lumen #app .lx-dashfu .lx-card-h .lx-meta{ display:inline-flex; }
body.lumen #app .lx-dashfu .fu-clear{ display:inline-flex; align-items:center; height:22px; padding:0 9px; border-radius:11px; border:1px solid var(--lx-line); background: var(--lx-surface-2); color: var(--lx-text-2); font: 550 12px/1 var(--lx-font); cursor:pointer; }
body.lumen #app .lx-dashfu .fu-clear:hover{ color: var(--lx-text); border-color: var(--lx-line-2); }
body.lumen #app .lx-dashfu .fu-all{ font-weight:550; display:inline-flex; align-items:center; height:28px; box-sizing:border-box; }
body.lumen #app .lx-dashfu .fu-stack{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
body.lumen #app .lx-dashfu .fu-stack.fu-scroll{ max-height:640px; overflow-y:auto; overscroll-behavior:contain; padding-right:4px; scrollbar-width:thin; }
body.lumen #app .lx-dashfu .fu-card{ display:flex; flex-direction:column; gap:6px; padding:12px 14px; border:1px solid var(--lx-line); border-radius:12px; background: var(--lx-surface); cursor:pointer; min-width:0;
  transition: border-color var(--lx-d-hover,.15s) ease, background-color var(--lx-d-hover,.15s) ease, box-shadow var(--lx-d-hover,.15s) ease; }
body.lumen #app .lx-dashfu .fu-card:hover{ border-color: var(--lx-line-2); }
body.lumen #app .lx-dashfu .fu-card:focus-visible{ outline:none; box-shadow: var(--lx-focus); }
body.lumen #app .lx-dashfu .fu-l1{ display:flex; align-items:center; gap:12px; min-width:0; }
body.lumen #app .lx-dashfu .fu-name{ font: 600 14px/20px var(--lx-font); color: var(--lx-text); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
body.lumen #app .lx-dashfu .fu-ph{ font: 450 12.5px/18px var(--lx-mono); color: var(--lx-text-2); white-space:nowrap; font-feature-settings: var(--lx-num); }
body.lumen #app .lx-dashfu .fu-l2{ display:flex; align-items:center; flex-wrap:wrap; gap:6px; min-width:0; }
body.lumen #app .lx-dashfu :is(.fu-ad, .fu-src){ display:inline-flex; align-items:center; gap:5px; height:22px; max-width:100%; padding:0 8px; border-radius:6px; font: 550 12px/1 var(--lx-font); white-space:nowrap; text-decoration:none; }
body.lumen #app .lx-dashfu .fu-ad{ background: var(--lx-info-tint); color: var(--lx-info); border:1px solid transparent; cursor:pointer; }
body.lumen #app .lx-dashfu .fu-ad .fu-adn{ overflow:hidden; text-overflow:ellipsis; max-width:220px; }
body.lumen #app .lx-dashfu a.fu-ad:hover{ border-color: var(--lx-info); }
body.lumen #app .lx-dashfu .fu-ad.off{ cursor:default; }
body.lumen #app .lx-dashfu .fu-src{ background: var(--lx-surface-2); color: var(--lx-text-2); border:1px solid var(--lx-line); }
body.lumen #app .lx-dashfu .fu-l4{ display:flex; align-items:center; gap:10px; min-width:0; }
body.lumen #app .lx-dashfu .fu-bdm{ display:inline-flex; align-items:center; gap:7px; height:28px; padding:0 11px 0 3px; border-radius:14px; border:1px solid var(--lx-line); background: var(--lx-surface); color: var(--lx-text); font: 550 12.5px/1 var(--lx-font); cursor:pointer; }
body.lumen #app .lx-dashfu .fu-bdm .lx-av{ width:22px; height:22px; font-size:9.5px; }
body.lumen #app .lx-dashfu .fu-bdm:hover{ border-color: var(--lx-accent); background: var(--lx-accent-tint); }
body.lumen #app .lx-dashfu .fu-bdm.none{ padding:0 11px; color: var(--lx-text-3); background: var(--lx-surface-2); cursor:default; border-style:dashed; }
body.lumen #app .lx-dashfu .fu-bdm.was{ filter: grayscale(1); opacity:.55; cursor:default; }
body.lumen #app .lx-dashfu .fu-bdm.was.more{ padding:0 10px; color: var(--lx-text-2); font-feature-settings: var(--lx-num); }
body.lumen #app .lx-dashfu .fu-arr{ color: var(--lx-text-3); font: 400 14px/1 var(--lx-font); margin:0 -2px; }
body.lumen #app .lx-dashfu .fu-l4{ flex-wrap:wrap; row-gap:6px; }
body.lumen #app .lx-dashfu .fu-more{ display:block; margin:12px auto 0; padding:6px 12px; border:0; background:none; color: var(--lx-accent-text); font: 600 13px/18px var(--lx-font); cursor:pointer; border-radius:8px; }
body.lumen #app .lx-dashfu .fu-more:hover{ background: var(--lx-accent-tint); }
/* 29 Oct 2026 12:00–12:06 (ANik, concepts 6–8) — "Leads with numbers": the three tabs (a full-width segmented control with counts), the round
   40 px picture with name + number in two lines beside it, the two-line product button at the right (product ›, then the potential, orange
   on a hot lead). (The 12:06 status-pill fact row was replaced at 12:10–12:11 by the Cost chip and the waiting pill, below.) */
body.lumen #app .lx-dashfu .fu-tabs{ display:grid; grid-template-columns:repeat(3,1fr); gap:2px; padding:3px; margin:0 0 12px; border-radius:10px; background: var(--lx-surface-3); box-shadow: inset 0 0 0 1px var(--lx-line); }
body.lumen #app .lx-dashfu .fu-tab{ all:unset; box-sizing:border-box; height:32px; display:inline-flex; align-items:center; justify-content:center; gap:5px; border-radius:7px; cursor:pointer; font: 550 13px/1 var(--lx-font); color: var(--lx-text-2); white-space:nowrap; min-width:0; }
body.lumen #app .lx-dashfu .fu-tab:hover{ color: var(--lx-text); }
body.lumen #app .lx-dashfu .fu-tab.on{ background: var(--lx-surface); color: var(--lx-text); box-shadow: var(--lx-e1); font-weight:600; }
body.lumen #app .lx-dashfu .fu-tab:focus-visible{ box-shadow: var(--lx-focus); }
body.lumen #app .lx-dashfu .fu-tn{ font-feature-settings: var(--lx-num); color: inherit; }
body.lumen #app .lx-dashfu .fu-tn.bad{ color: var(--lx-bad); font-weight:700; }
body.lumen #app .lx-dashfu .fu-pic{ position:relative; width:40px; height:40px; flex:none; font-size:14px; overflow:hidden; }
body.lumen #app .lx-dashfu .fu-pic .fu-picimg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border-radius:50%; }
body.lumen #app .lx-dashfu .fu-id{ display:flex; flex-direction:column; justify-content:center; min-width:0; flex:1 1 auto; height:40px; }
body.lumen #app .lx-dashfu .fu-id .fu-name{ font: 600 14px/20px var(--lx-font); }
body.lumen #app .lx-dashfu .fu-id .fu-ph{ font: 450 12.5px/18px var(--lx-mono); overflow:hidden; text-overflow:ellipsis; }
body.lumen #app .lx-dashfu .fu-prod{ all:unset; box-sizing:border-box; flex:none; display:inline-flex; flex-direction:column; align-items:flex-end; justify-content:center; gap:1px; min-height:40px; max-width:46%; padding:4px 10px; border-radius:8px; border:1px solid var(--lx-line-2); background: var(--lx-surface); color: var(--lx-text); cursor:pointer; text-align:right; }
body.lumen #app .lx-dashfu .fu-prod .fu-pn{ font: 600 12.5px/17px var(--lx-font); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }
body.lumen #app .lx-dashfu .fu-prod .fu-pv{ font: 650 13px/17px var(--lx-font); font-feature-settings: var(--lx-num); white-space:nowrap; }
body.lumen #app .lx-dashfu button.fu-prod:hover{ border-color: var(--lx-accent); background: var(--lx-accent-tint); }
body.lumen #app .lx-dashfu button.fu-prod:focus-visible{ box-shadow: var(--lx-focus); }
body.lumen #app .lx-dashfu .fu-prod.off{ cursor:default; color: var(--lx-text-2); }
body.lumen #app .lx-dashfu .fu-prod.hot{ background: var(--lx-warn-tint); border-color: color-mix(in srgb, var(--lx-warn) 45%, transparent); }
body.lumen #app .lx-dashfu .fu-prod.hot .fu-pv{ color: var(--lx-warn); }
body.lumen #app .lx-dashfu button.fu-prod.hot:hover{ background: var(--lx-warn-tint); border-color: var(--lx-warn); }
@media (max-width:760px){ body.lumen #app .lx-dashfu .fu-card{ padding:12px; } body.lumen #app .lx-dashfu .fu-prod{ max-width:42%; } body.lumen #app .lx-dashfu .fu-tab{ font-size:12.5px; } }
/* 12:07 (concept 9) — Connect in sits on top of the product button at the top right, right-aligned: chip, then button */
body.lumen #app .lx-dashfu .fu-side{ margin-left:auto; flex:none; display:flex; flex-direction:column; align-items:flex-end; gap:6px; max-width:48%; min-width:0; }
body.lumen #app .lx-dashfu .fu-side .fu-prod{ max-width:100%; }
body.lumen #app .lx-dashfu .fu-ci{ display:inline-flex; align-items:center; height:22px; max-width:100%; padding:0 8px; border-radius:11px; background: var(--lx-surface-3); color: var(--lx-text); font: 600 12px/1 var(--lx-font); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-feature-settings: var(--lx-num); }
body.lumen #app .lx-dashfu .fu-ci.warn{ background: var(--lx-warn-tint); color: var(--lx-warn); }
body.lumen #app .lx-dashfu .fu-ci.bad{ background: var(--lx-bad-tint); color: var(--lx-bad); }
/* 12:10–12:11 (concepts 10–11) — line 2 = the ad / source + the Cost chip; the last line = the BDM chips + the waiting pill */
body.lumen #app .lx-dashfu .fu-cost{ display:inline-flex; align-items:center; gap:4px; height:22px; padding:0 8px; border-radius:6px; border:1px solid var(--lx-line); background: var(--lx-surface-2); color: var(--lx-text-2); font: 450 12px/1 var(--lx-font); white-space:nowrap; font-feature-settings: var(--lx-num); }
body.lumen #app .lx-dashfu .fu-cost b{ color: var(--lx-text); font-weight:600; }
body.lumen #app .lx-dashfu .fu-wait{ display:inline-flex; align-items:center; gap:5px; height:28px; padding:0 11px; border-radius:14px; border:1px solid transparent; font: 600 12.5px/1 var(--lx-font); white-space:nowrap; font-feature-settings: var(--lx-num); }
body.lumen #app .lx-dashfu .fu-wait.warn{ background: var(--lx-warn-tint); color: var(--lx-warn); border-color: color-mix(in srgb, var(--lx-warn) 35%, transparent); }
body.lumen #app .lx-dashfu .fu-wait.bad{ background: var(--lx-bad-tint); color: var(--lx-bad); border-color: color-mix(in srgb, var(--lx-bad) 30%, transparent); }
body.lumen #app .lx-dashfu .fu-wait.ok{ background: var(--lx-ok-tint); color: var(--lx-ok); border-color: color-mix(in srgb, var(--lx-ok) 30%, transparent); }
/* 12:32 (concept 13) — the waiting pill is the third line of the name block, a small pill under the phone number */
body.lumen #app .lx-dashfu .fu-id{ height:auto; min-height:40px; align-items:flex-start; }
body.lumen #app .lx-dashfu .fu-id .fu-wait{ height:20px; margin-top:3px; padding:0 7px; gap:4px; border-radius:10px; font: 600 11.5px/1 var(--lx-font); max-width:100%; }
/* 12:34–12:41 (concepts 15–16, ANik's alignment pass) — a fixed 124 px right column: ⇄ Reassign (26 px) over the product button (46 px),
   both full width, radius 8, centred; Ad / Cost 26 px, radius 8; BDM chips and the Connect-in chip 28 px on one even line; 10 px above
   the Ad row; the name is a link (hover underline); 💬 opens the Messenger chat. Tokens only (light + dark). */
body.lumen #app .lx-dashfu .fu-l1{ align-items:flex-start; }
body.lumen #app .lx-dashfu .fu-id{ padding-top:2px; }
body.lumen #app .lx-dashfu .fu-nrow{ display:flex; align-items:center; gap:6px; min-width:0; }
body.lumen #app .lx-dashfu .fu-name{ cursor:pointer; text-underline-offset:2px; }
body.lumen #app .lx-dashfu .fu-name:hover{ text-decoration:underline; color: var(--lx-accent-text); }
body.lumen #app .lx-dashfu .fu-chat{ all:unset; box-sizing:border-box; flex:none; display:inline-grid; place-items:center; width:22px; height:22px; border-radius:6px; font-size:13px; line-height:1; cursor:pointer; background: var(--lx-surface-2); border:1px solid var(--lx-line); }
body.lumen #app .lx-dashfu .fu-chat:hover{ border-color: var(--lx-info); background: var(--lx-info-tint); }
body.lumen #app .lx-dashfu .fu-chat:focus-visible{ box-shadow: var(--lx-focus); }
body.lumen #app .lx-dashfu .fu-side{ width:124px; flex:0 0 124px; max-width:none; align-items:stretch; gap:6px; }
body.lumen #app .lx-dashfu .fu-rwrap{ position:relative; display:block; }
body.lumen #app .lx-dashfu .fu-rsg{ all:unset; box-sizing:border-box; width:100%; height:28px; display:flex; align-items:center; justify-content:center; gap:5px; padding:0 10px; border-radius:8px; border:1px solid color-mix(in srgb, var(--lx-info) 30%, transparent); background: var(--lx-info-tint); color: var(--lx-info); font: 600 12px/1 var(--lx-font); cursor:pointer; white-space:nowrap; }
body.lumen #app .lx-dashfu .fu-rsg:hover{ border-color: var(--lx-info); }
body.lumen #app .lx-dashfu .fu-rsg:focus-visible{ box-shadow: var(--lx-focus); }
body.lumen #app .lx-dashfu .fu-rmenu{ left:auto; right:0; top:calc(100% + 4px); background: var(--lx-raised); border-color: var(--lx-line-2); color: var(--lx-text); }
body.lumen #app .lx-dashfu .fu-side .fu-prod{ width:100%; max-width:none; height:46px; min-height:0; border-radius:8px; align-items:center; text-align:center; padding:4px 8px; }
body.lumen #app .lx-dashfu .fu-l2{ margin-top:4px; }
body.lumen #app .lx-dashfu :is(.fu-ad, .fu-src, .fu-cost){ height:26px; padding:0 10px; border-radius:8px; box-sizing:border-box; }
body.lumen #app .lx-dashfu .fu-l4{ gap:6px; }
body.lumen #app .lx-dashfu .fu-l4 .fu-bdm{ height:28px; box-sizing:border-box; }
/* Lumen control heights (harness/lumen.js B3): 28/32/36/44 at desktop, 32/40/44 on a phone */
@media (max-width:760px){ body.lumen #app .lx-dashfu .fu-rsg, body.lumen #app .lx-dashfu .fu-bdm, body.lumen #app .lx-dashfu .fu-l4 .fu-bdm, body.lumen #app .lx-dashfu .fu-tab, body.lumen #app .lx-dashfu .fu-all{ height:32px; } }
body.lumen #app .lx-dashfu .fu-l4 .fu-ci{ height:28px; padding:0 10px; border-radius:999px; box-sizing:border-box; }
/* AdminCloud Build 1 (29 Oct 2026, specs/admincloud-simplify-plan.md) — the 8 doors, the door tab strip, the Today home. Tokens only (both themes). */
body.lumen #app .adm-doorstrip{ margin: 0 0 14px; }
body.lumen #app .adm-doorstrip .lx-tabs{ overflow-x:auto; scrollbar-width:none; }
body.lumen #app .fin-side .adm-door .adm-sechead .nb-st{ margin-left:auto; }
body.lumen #app .fin-side .adm-menuswitch{ display:block; width:calc(100% - 12px); margin: 14px 6px 6px; padding: 6px 10px; border:1px dashed var(--lx-line-2, #d0d5dd); border-radius: var(--lx-r-ctl, 8px); background: var(--lx-surface, #fff); color: var(--lx-text-2, #475467); font: 500 12px/16px var(--lx-font); text-align:left; cursor:pointer; }
body.lumen #app .fin-side .adm-menuswitch:hover{ background: var(--lx-surface-3, #f2f4f7); color: var(--lx-text, #0d1117); }
body.lumen.lx-sh[data-lx-side="collapsed"] #app .fin-side .adm-menuswitch{ display:none; }
body.lumen #app .adm-today-fu{ margin-bottom: 16px; }
body.lumen #app .adm-fu-tbl{ width:100%; font: 400 13px/18px var(--lx-font); }
body.lumen #app .adm-fu-tbl :is(th, td){ padding: 7px 8px; white-space:nowrap; }
body.lumen #app .adm-fu-tbl .num{ text-align:right; font-variant-numeric: tabular-nums; }
body.lumen #app .adm-fu-tbl .adm-fu-row{ cursor:pointer; }
body.lumen #app .adm-fu-tbl .adm-fu-row:hover td{ background: var(--lx-surface-3, #f2f4f7); }
body.lumen #app .adm-fu-tbl .adm-fu-row:focus-visible{ outline: 2px solid var(--lx-focus, #2563eb); outline-offset:-2px; }
body.lumen #app .adm-fu-bad{ color: var(--lx-bad, #b42318); font-weight:600; }
body.lumen #app .adm-today-fold{ margin: 22px 0 0; }
body.lumen #app .adm-today-fold > summary{ display:flex; align-items:center; gap:10px; cursor:pointer; list-style:none; padding: 8px 0; font: 600 13px/18px var(--lx-font); color: var(--lx-text-2, #475467); }
body.lumen #app .adm-today-fold > summary::-webkit-details-marker{ display:none; }
body.lumen #app .adm-today-fold > summary::after{ content:"▾"; color: var(--lx-text-3, #667085); transform: rotate(-90deg); transition: transform .15s; }
body.lumen #app .adm-today-fold[open] > summary::after{ transform:none; }
body.lumen #app .adm-today-slot .lx-card-b{ border:1px dashed var(--lx-line-2, #d0d5dd); border-radius: var(--lx-r-ctl, 8px); }
body.lumen #app .adm-fu-quiet{ margin-top:8px; font: 400 12px/16px var(--lx-font); color: var(--lx-text-3, #667085); }
/* AdminCloud Build 2 (29 Oct 2026) — the Sales strip's chip row, the door counts, Follow-ups' one-BDM title and lead-alerts line. Tokens only (both themes). */
body.lumen #app .adm-salesstrip .adm-doorchips{ margin-top:8px; overflow-x:auto; scrollbar-width:none; }
body.lumen #app .adm-salesstrip .adm-doorchips .lx-seg{ flex-wrap:nowrap; }
body.lumen #app .crm-fu-who{ color: var(--lx-text-2, #475467); font-weight:600; }
body.lumen #app .crm-fu-alerts{ display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; margin: 0 0 14px; padding: 8px 12px; border:1px solid var(--lx-line, #e4e7ec); border-radius: var(--lx-r-card, 12px); background: var(--lx-surface, #fff); color: var(--lx-text-2, #475467); font: 400 13px/18px var(--lx-font); }
body.lumen #app .crm-fu-alerts.hot{ border-color: var(--lx-bad, #b42318); }
body.lumen #app .crm-fu-alerts .crm-fu-al-t{ font-weight:600; color: var(--lx-text, #0d1117); }
body.lumen #app .crm-fu-alerts .crm-fu-al-b{ flex:1 1 auto; min-width:0; }
body.lumen #app .crm-fu-alerts.hot .crm-fu-al-b b{ color: var(--lx-bad, #b42318); }
/* E1 BDM meter page (Arif 3 Nov 2026) — Hallmark floor inside Lumen: every colour a Lumen token, focus-visible on every control, no tracked
   capitals, one container recipe (.bm-card), the table before cards; the funnel bar is the page's one signature object */
body.lumen #app .bm{display:flex;flex-direction:column;gap:12px;min-width:0}
body.lumen #app .bm-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
body.lumen #app .bm-seg{display:inline-flex;border-radius:var(--lx-r-ctl);box-shadow:var(--lx-e0);overflow:hidden}
body.lumen #app .bm-segb{appearance:none;border:0;background:var(--lx-surface);color:var(--lx-text-2);font:inherit;font-size:var(--lx-fs-md);min-height:var(--lx-ctl-md);padding:0 var(--lx-px-md);cursor:pointer}
body.lumen #app .bm-segb+.bm-segb{box-shadow:inset 1px 0 0 var(--lx-line)}
body.lumen #app .bm-segb[aria-pressed="true"]{background:var(--lx-accent-tint);color:var(--lx-accent-text);font-weight:600}
body.lumen #app .bm-segb:focus-visible,body.lumen #app .bm-ncb:focus-visible,body.lumen #app .bm-how summary:focus-visible,body.lumen #app .bm input:focus-visible,body.lumen #app .bm select:focus-visible{outline:none;box-shadow:var(--lx-focus)}
body.lumen #app .bm-lab,body.lumen #app .bm-chk{display:inline-flex;align-items:center;gap:6px;font-size:var(--lx-fs-md);color:var(--lx-text-2)}
body.lumen #app .bm input,body.lumen #app .bm select{min-height:var(--lx-ctl-md);font:inherit;font-size:var(--lx-fs-md);color:var(--lx-text);background:var(--lx-surface);border:1px solid var(--lx-line-2);border-radius:var(--lx-r-ctl);padding:0 8px}
body.lumen #app .bm input[type=checkbox]{min-height:0}
body.lumen #app .bm-card{background:var(--lx-surface);box-shadow:var(--lx-e1);border-radius:var(--lx-r-card);padding:12px 14px;min-width:0}
body.lumen #app .bm-state{display:flex;flex-wrap:wrap;align-items:center;gap:10px;color:var(--lx-text-2)}
body.lumen #app .bm-skel{display:grid;gap:10px}
body.lumen #app .bm-skl{height:28px;border-radius:var(--lx-r-sm);background:var(--lx-surface-3)}
body.lumen #app .bm-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:var(--lx-surface);box-shadow:var(--lx-e1);border-radius:var(--lx-r-card)}
body.lumen #app .bm-kpi{display:flex;flex-direction:column;gap:4px;padding:12px 14px;min-width:0}
body.lumen #app .bm-kpi+.bm-kpi{box-shadow:inset 1px 0 0 var(--lx-line)}
body.lumen #app .bm-kl{font-size:var(--lx-fs-sm);color:var(--lx-text-3)}
body.lumen #app .bm-kv{font-size:20px;font-weight:650;color:var(--lx-text);font-feature-settings:var(--lx-num)}
body.lumen #app .bm-scroll{overflow-x:auto}
body.lumen #app .bm-t{width:100%;border-collapse:collapse;font-size:var(--lx-fs-md);font-feature-settings:var(--lx-num)}
body.lumen #app .bm-cap{text-align:left;font-size:var(--lx-fs-sm);color:var(--lx-text-3);padding-bottom:6px}
body.lumen #app .bm-t th,body.lumen #app .bm-t td{padding:8px 10px;border-bottom:1px solid var(--lx-line);vertical-align:top;text-align:left;white-space:nowrap}
body.lumen #app .bm-t thead th{font-size:var(--lx-fs-sm);font-weight:500;color:var(--lx-text-3)}
body.lumen #app .bm-t tbody th{font-weight:600;color:var(--lx-text)}
body.lumen #app .bm-team th,body.lumen #app .bm-team td{background:var(--lx-surface-2);font-weight:600}
body.lumen #app .bm-n{color:var(--lx-text)}
body.lumen #app .bm-sub{display:block;font-size:var(--lx-fs-sm);color:var(--lx-text-3);font-weight:400;white-space:normal}
body.lumen #app .bm-name{display:block}
body.lumen #app .bm-hot{color:var(--lx-bad)}
body.lumen #app .bm-chip{display:inline-block;padding:0 6px;border-radius:var(--lx-r-xs);background:var(--lx-surface-3);color:var(--lx-text)}
body.lumen #app .bm-chip.ok{background:var(--lx-ok-tint);color:var(--lx-ok)}
body.lumen #app .bm-chip.warn{background:var(--lx-warn-tint);color:var(--lx-warn)}
body.lumen #app .bm-chip.bad{background:var(--lx-bad-tint);color:var(--lx-bad)}
body.lumen #app .bm-f{min-width:150px}
body.lumen #app .bm-fun{position:relative;height:14px;border-radius:var(--lx-r-xs);background:var(--lx-surface-3);overflow:hidden}
body.lumen #app .bm-fun-b{position:absolute;inset:0 auto 0 0;width:var(--w)}
body.lumen #app .bm-fun-n{background:var(--lx-viz-grid)}
body.lumen #app .bm-fun-c{background:var(--lx-viz-1)}
body.lumen #app .bm-fun-s{background:var(--lx-viz-3)}
body.lumen #app .bm-fun-t{font-size:var(--lx-fs-sm);color:var(--lx-text-3);margin-top:4px;white-space:normal}
body.lumen #app .bm-h2{font-size:var(--lx-fs-lg);font-weight:600;margin:0 0 8px;color:var(--lx-text)}
body.lumen #app .bm-nc{list-style:none;margin:0;padding:0;display:grid;gap:4px}
body.lumen #app .bm-ncb{appearance:none;border:0;background:var(--lx-surface-2);color:var(--lx-text);font:inherit;text-align:left;width:100%;min-height:var(--lx-ctl-xl);padding:6px 10px;border-radius:var(--lx-r-ctl);cursor:pointer}
body.lumen #app .bm-ncb:hover{background:var(--lx-surface-3)}
body.lumen #app .bm-how summary{cursor:pointer;font-weight:600;color:var(--lx-text);min-height:var(--lx-ctl-md);display:flex;align-items:center}
body.lumen #app .bm-how ul{margin:8px 0 0;padding-left:18px;color:var(--lx-text-2);font-size:var(--lx-fs-md);display:grid;gap:4px}
body.lumen #app .bm-set{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-top:8px}
@media (max-width:760px){ body.lumen #app .bm-kpis{grid-template-columns:repeat(2,minmax(0,1fr))} body.lumen #app .bm-kpi+.bm-kpi{box-shadow:inset 0 1px 0 var(--lx-line)} body.lumen #app .bm-segb{min-height:var(--lx-ctl-xl)} body.lumen #app .bm input,body.lumen #app .bm select{min-height:var(--lx-ctl-xl)} }
body.lumen #app .bm-note{margin:0;font-size:var(--lx-fs-md);color:var(--lx-text-2)}

/* ══ lead-fix2 builder blocks (5 Nov 2026; specs/lead-fix2/CONTRACT.md §5.3) — each builder writes only inside its own block ══ */
/* ══ LF2-B1 ══ */
/* lead-fix2 item 2 (B1, 5 Nov 2026; Hallmark within Lumen): Study Abroad after the hand-off — who is handling it now, and the progress line
   (Arif 4 Nov, figure 1). Tokens only, no motion, no images. The line: one node per stage; done = ok, current = accent (red when the file
   went wrong), later = hairline. Desktop: across, the segment into a node takes that node's state; phone (≤ 760 px): down, the strip stacks. */
body.lumen .lf2-sa-now{ display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 10px; min-width:0; }
body.lumen .lf2-sa-now .ls-c-k{ display:inline; }
body.lumen .lf2-sa-nm{ display:inline-flex; flex-wrap:wrap; align-items:baseline; gap:2px 6px; min-width:0; overflow-wrap:anywhere; }
body.lumen .lf2-sa-who{ font-weight:600; color: var(--lx-text); }
body.lumen .lf2-sa-now .lf2-sa-who{ font-size: var(--lx-fs-lg); }
body.lumen .lf2-sa-team{ color: var(--lx-text-2); font-size: var(--lx-fs-sm); }
body.lumen .lf2-sa-stage{ color: var(--lx-accent-text); font-weight:600; }
body.lumen .lf2-sa-stage.ls-c-badt{ color: var(--lx-bad); }
body.lumen .lf2-sa-sub{ display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 10px; margin-top:-6px; }
body.lumen .lf2-sa-sub .lf2-sa-who{ font-weight:500; }
body.lumen .lf2-sa-via{ color: var(--lx-warn); }
body.lumen .ls-c-prog.lf2-sa-line{ display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); gap:0; overflow-x:auto; padding:2px 0 4px; }
body.lumen .lf2-sa-line .ls-c-st{ position:relative; display:flex; flex-direction:column; align-items:center; text-align:center; gap:1px; padding:22px 2px 0; min-width:56px;
  background:none; box-shadow:none; border-radius:0; opacity:1; }
body.lumen .lf2-sa-line .ls-c-st::before{ content:""; position:absolute; z-index:1; top:5px; left:calc(50% - 7px); width:14px; height:14px; border-radius:50%; box-sizing:border-box;
  background: var(--lx-surface); border:2px solid var(--lx-line-2); }
body.lumen .lf2-sa-line .ls-c-st::after{ content:""; position:absolute; top:11px; left:calc(-50% + 7px); right:calc(50% + 7px); height:2px; background: var(--lx-line-2); }
body.lumen .lf2-sa-line .ls-c-st:first-child::after{ display:none; }
body.lumen .lf2-sa-line .ls-c-st-done::before{ background: var(--lx-ok); border-color: var(--lx-ok); }
body.lumen .lf2-sa-line .ls-c-st-done::after, body.lumen .lf2-sa-line .ls-c-st-cur::after, body.lumen .lf2-sa-line .ls-c-st-bad::after{ background: var(--lx-ok); }
body.lumen .lf2-sa-line .ls-c-st-cur::before{ background: var(--lx-accent); border-color: var(--lx-accent); box-shadow: 0 0 0 4px var(--lx-accent-tint); }
body.lumen .lf2-sa-line .ls-c-st-bad::before{ background: var(--lx-bad); border-color: var(--lx-bad); box-shadow: 0 0 0 4px var(--lx-bad-tint); }
body.lumen .lf2-sa-line .ls-c-st-n{ font-size: var(--lx-fs-sm); line-height:1.25; overflow-wrap:anywhere; }
body.lumen .lf2-sa-line .ls-c-st-done .ls-c-st-n{ color: var(--lx-text); }
body.lumen .lf2-sa-line .ls-c-st-later .ls-c-st-n{ color: var(--lx-text-3); font-weight:400; }
body.lumen .lf2-sa-by{ font-size: var(--lx-fs-sm); color: var(--lx-text-2); line-height:1.25; overflow-wrap:anywhere; }
body.lumen .lf2-sa-line .ls-c-st-cur .lf2-sa-by, body.lumen .lf2-sa-line .ls-c-st-cur .ls-c-st-m{ color: var(--lx-accent-text); font-weight:600; }
body.lumen .lf2-sa-line .ls-c-st-bad .lf2-sa-by, body.lumen .lf2-sa-line .ls-c-st-bad .ls-c-st-m{ color: var(--lx-bad); font-weight:600; }
@media (max-width:760px){
  body.lumen .ls-c-prog.lf2-sa-line{ grid-auto-flow:row; grid-auto-columns:auto; overflow-x:visible; padding:0; }
  body.lumen .lf2-sa-line .ls-c-st{ flex-direction:row; flex-wrap:wrap; align-items:baseline; text-align:left; gap:0 8px; padding:2px 0 10px 26px; min-width:0; }
  body.lumen .lf2-sa-line .ls-c-st::before{ top:3px; left:0; }
  body.lumen .lf2-sa-line .ls-c-st::after{ top:17px; bottom:-3px; left:6px; right:auto; width:2px; height:auto; }
  body.lumen .lf2-sa-line .ls-c-st:first-child::after{ display:block; }
  body.lumen .lf2-sa-line .ls-c-st:last-child::after{ display:none; }
  body.lumen .lf2-sa-line .ls-c-st-cur::after, body.lumen .lf2-sa-line .ls-c-st-bad::after{ background: var(--lx-line-2); }
  body.lumen .lf2-sa-line .ls-c-st-n{ font-weight:500; }
  body.lumen .lf2-sa-sub{ margin-top:-4px; }
}
/* ══ /LF2-B1 ══ */
/* ══ LF2-B2 ══ */
/* lead-fix2 item 9 (B2): the name's Edit control (a btn small: 28 desktop / 32 phone), its inline form, and the ⋯ menu's lock line (text) */
body.lumen .ls-b-pen{ margin-left:6px; }
body.lumen .lf2-rt-name{ display:inline-flex; flex-wrap:wrap; align-items:center; gap:6px; min-width:0; }
body.lumen .lf2-rt-name .lf2-rt-in{ box-sizing:border-box; height:var(--lx-ctl-md); min-height:var(--lx-ctl-md); width:min(280px, 100%); padding:0 8px; border:0; border-radius:var(--lx-r-ctl); background:var(--lx-surface); color:var(--lx-text); font:600 var(--lx-fs-lg)/1.2 var(--lx-font); box-shadow:inset 0 0 0 1px var(--lx-line); }
body.lumen .lf2-rt-name .lf2-rt-in:focus-visible{ outline:none; box-shadow:var(--lx-focus); transition:none; }
body.lumen .lf2-rt-name .lf2-rt-in[aria-invalid="true"]{ box-shadow:inset 0 0 0 1px var(--lx-bad); }
body.lumen .lf2-rt-err{ flex-basis:100%; font-size:var(--lx-fs-sm); color:var(--lx-bad); }
body.lumen .ls-d-menu .ls-d-lock{ max-width:240px; margin-top:2px; padding:6px var(--lx-px-sm) 4px; border-top:1px solid var(--lx-line); font-size:var(--lx-fs-sm); line-height:1.35; color:var(--lx-text-2); }
/* ══ /LF2-B2 ══ */
/* ══ LF2-B3 ══ */
/* lead-fix2 item 6 (Arif 4 Nov): Add a lead — the message under a required field (tokens only), the BDM group's ring when none is picked */
body.lumen .ls-d-ferr{ color: var(--lx-bad); font-size: var(--lx-fs-sm); line-height: 1.35; }
body.lumen .ls-d-ferr[hidden]{ display: none; }
body.lumen .ls-d-form .ls-d-bdms[aria-invalid="true"]{ box-shadow: 0 0 0 1px var(--lx-bad) !important; border-radius: var(--lx-r-ctl); }
/* ══ /LF2-B3 ══ */
/* ══ LF2-B4 ══ */
/* lead-fix2 item 8 (Arif 4 Nov) — All leads Clean view: seven fixed columns (290 · 110 · 120 · 130 · 105 · 105 · rest), names on one line, the
   sub-line and the chat line cut with an ellipsis, "in Nd" in text colour. The Clean | Detailed switch is the house chip (.lz-seg.lx-chip). Hallmark:
   house tokens only, no new face, no motion. The table scrolls inside .lx-tablewrap on a phone (min-width) */
body.lumen #app .lx-leadtbl table.ls-clean{ table-layout:fixed; min-width:970px; }
body.lumen #app .lx-leadtbl .ls-clean col.lf2-cv-lead{ width:290px; }
body.lumen #app .lx-leadtbl .ls-clean col.lf2-cv-pri{ width:110px; }
body.lumen #app .lx-leadtbl .ls-clean col.lf2-cv-st{ width:120px; }
body.lumen #app .lx-leadtbl .ls-clean col.lf2-cv-own{ width:130px; }
body.lumen #app .lx-leadtbl .ls-clean col.lf2-cv-lc{ width:105px; }
body.lumen #app .lx-leadtbl .ls-clean col.lf2-cv-nx{ width:105px; }
body.lumen #app .lx-leadtbl .ls-clean .ls-clean-n{ display:flex; align-items:center; min-width:0; white-space:nowrap; }
body.lumen #app .lx-leadtbl .ls-clean .ls-clean-n > b{ min-width:0; overflow:hidden; text-overflow:ellipsis; }
body.lumen #app .lx-leadtbl .ls-clean .ls-clean-n > span{ flex:none; }
body.lumen #app .lx-leadtbl .ls-clean td .cx-ph{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
body.lumen #app .lx-leadtbl .ls-clean .bf-a-lrow{ max-width:100%; }
body.lumen #app .lx-leadtbl .ls-clean .cx-due.up{ color: var(--lx-text); }
body.lumen #app .lf2-cv-sw{ display:inline-flex; gap:4px; flex:none; }
/* ══ /LF2-B4 ══ */
/* lead-fix4 (9 Nov 2026, specs/lead-fix4/CONTRACT.md §5): one block per builder; new rules ONLY inside your own block, prefixed as owned
   (B1 .gsearch-* resets + .lf4-sa-* · B2 .lf4-al-* · B3 .lf4-help-* · B4 .fu4-* · B5 .dn4-*). Light text needs a literal background (theme-audit). */
/* ══ LF4-B1 ══ */
/* lead-fix4 #1 (Arif 9 Nov 2026): the search panel is WHITE in Lumen light (.gsearch-results above) but styles.css (~10300) re-scopes it to the
   classic navy panel's light-on-dark tokens — near-white names on white. Reset every group to Lumen ink in both themes. */
body.lumen #app .gsearch-results .gsearch-grp{ color: var(--lx-text-3) !important; }
body.lumen #app .gsearch-results .gsearch-it-n{ color: var(--lx-text) !important; font-weight: 600 !important; }
body.lumen #app .gsearch-results .gsearch-it-s{ color: var(--lx-text-2) !important; }
body.lumen #app .gsearch-results .gsearch-av{ background: var(--lx-surface-3) !important; color: var(--lx-text) !important; border-radius: 50% !important; }
body.lumen #app .gsearch-results .gsearch-av.gsearch-av-own{ background: color-mix(in srgb, var(--own) 30%, var(--lx-raised)) !important; color: var(--lx-text) !important; }
body.lumen #app .gsearch-results .gsearch-it-type{ background: var(--lx-accent-tint) !important; color: var(--lx-accent-text) !important; }
body.lumen #app .gsearch-results .gsearch-empty{ color: var(--lx-text-2) !important; }
body.lumen #app .gsearch-results .gsearch-who{ display:flex; align-items:center; gap:6px; min-width:0; margin-top:3px; }
body.lumen #app .gsearch-results .gsearch-who .cx-own{ font-size:11px; line-height:1.5; max-width:60%; overflow:hidden; text-overflow:ellipsis; }
body.lumen #app .gsearch-results .gsearch-stage{ font-size:11px; font-weight:600; color: var(--lx-text-2) !important; background: none !important; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
body.lumen #app .gsearch-results .gsearch-item:focus-visible{ outline: 2px solid var(--lx-accent); outline-offset: -2px; }
/* lead-fix4 #10 (Arif 9 Nov, Figure 10b): the Study Abroad tab — one Now handling line, 13 stages on the lf2 progress line (horizontal, scrolls
   inside the tab on a narrow drawer; vertical below 760 px, lf2 rules), the credit marker, the "n of 5 · optional" bar, details in one line */
body.lumen .lf4-sa-now{ margin:0; display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 6px; min-width:0; overflow-wrap:anywhere; }
body.lumen .lf4-sa-now .ls-c-k{ display:inline; }
body.lumen .lf4-sa-now .lf2-sa-who{ font-size: var(--lx-fs-lg); }
/* audit r1 M1 / r2: 13 equal cells with no minimum (lf2's 56-px li minimum × 13 = 728 px > the 705-px drawer box at 761 px), words may break
   anywhere inside a cell (break-word keeps a whole word's min-content, so "Admissions" spilled into its neighbour) */
body.lumen .ls-c-prog.lf4-sa-line{ grid-auto-columns: minmax(0, 1fr); }
body.lumen .lf4-sa-line .ls-c-st{ min-width: 0; }
body.lumen .lf4-sa-line .ls-c-st-n, body.lumen .lf4-sa-line .lf2-sa-by, body.lumen .lf4-sa-line .ls-c-st-m{ font-size: 11.5px; overflow-wrap: anywhere; hyphens: auto; }
body.lumen .lf4-sa-line .lf4-sa-role{ color: var(--lx-text-3); font-style: normal; }
body.lumen .lf4-sa-mark{ display:inline-block; margin-top:2px; padding:0 6px; border-radius:999px; font-size:11px; line-height:16px; font-weight:600;
  color: var(--lx-text-2); background: var(--lx-surface-3); box-shadow: inset 0 0 0 1px var(--lx-line-2); }
body.lumen .lf4-sa-mark.lf4-sa-mark-ok{ color: var(--lx-ok); background: var(--lx-ok-tint); box-shadow: inset 0 0 0 1px var(--lx-ok); }
body.lumen .lf4-sa-cred{ color: var(--lx-text); font-size: var(--lx-fs-sm); }
body.lumen .lf4-sa-via{ margin:0; }
body.lumen .lf4-sa-fill{ display:inline-flex; align-items:center; gap:6px; min-width:0; }
body.lumen .lf4-sa-fill .ls-c-mut{ font-size: var(--lx-fs-sm); }
body.lumen .lf4-sa-bar{ display:inline-block; width:56px; height:4px; border-radius:2px; background: var(--lx-surface-3); overflow:hidden; flex:none; }
body.lumen .lf4-sa-bar > i{ display:block; height:100%; background: var(--lx-accent); }
body.lumen .lf4-sa-sent{ min-width:0; max-width:100%; overflow:hidden; }
body.lumen .lf4-sa-sent summary{ flex-wrap:nowrap; min-width:0; }
body.lumen .lf4-sa-sent summary .ls-c-k{ flex:none; white-space:nowrap; }
body.lumen .lf4-sa-sent .lf4-sa-sentl{ flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body.lumen .lf4-sa-sent[open] .lf4-sa-sentl{ white-space:normal; }
body.lumen .lf4-sa-sent summary:focus-visible{ outline: 2px solid var(--lx-accent); outline-offset: 2px; border-radius: 4px; }
/* ══ /LF4-B1 ══ */
/* ══ LF4-B2 ══ */
/* lead-fix4 #5 (Arif 9 Nov): Add a lead — ~880 px, two columns from a 900 px viewport (one column below; only then may it scroll), the whole
   form visible at 1366 × 768 at 100 %; the footer (More details · Cancel · Save lead) sticks to the panel's bottom edge. Lumen tokens only. */
body.lumen .overlay > .panel.lf4-al-dlg{ padding:18px 24px 0 !important; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
body.lumen .lf4-al-dlg .lf4-al-h{ margin:0 32px 0 0; font: 600 16px/24px var(--lx-font); color: var(--lx-text); }
body.lumen .ls-d-form.lf4-al-form{ gap:8px 16px; margin-top:10px; }
@media (min-width:900px){ body.lumen .ls-d-form.lf4-al-form{ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items:start; } }
body.lumen .lf4-al-form .lf4-al-wide{ grid-column: 1 / -1; }
body.lumen .lf4-al-form .lf4-al-wide:empty{ display:none; }
body.lumen .lf4-al-form .ls-d-fld{ gap:3px; }
body.lumen .lf4-al-form .ls-d-fld > label, body.lumen .lf4-al-form .ls-d-lab{ line-height:18px; }
body.lumen .lf4-al-form textarea#ls-d-note{ min-height:0; height:auto; resize:vertical; }
body.lumen .lf4-al-form #cx-ref-wrap{ flex-direction:column; gap:3px; margin-top:6px; }
body.lumen .lf4-al-phl{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:2px 12px; }
body.lumen .lf4-al-phl .ls-d-tick{ font-size: var(--lx-fs-sm); color: var(--lx-text-2); }
/* the two dropdowns */
body.lumen .lf4-al-dd{ position:relative; min-width:0; }
body.lumen .overlay .panel button.lf4-al-ddb{ display:flex; align-items:center; gap:8px; width:100%; height: var(--lx-ctl-lg); min-height: var(--lx-ctl-lg); padding:0 30px 0 8px; border:0; border-radius: var(--lx-r-ctl);
  background-color: var(--lx-surface); color: var(--lx-text); box-shadow: var(--lx-e1); font: 450 var(--lx-fs-lg)/1 var(--lx-font); text-align:left; cursor:pointer; position:relative; }
body.lumen .overlay .panel button.lf4-al-ddb::after{ content:""; position:absolute; right:12px; top:50%; width:6px; height:6px; margin-top:-5px; border-right:1.6px solid var(--lx-text-3); border-bottom:1.6px solid var(--lx-text-3); transform: rotate(45deg); }
body.lumen .overlay .panel button.lf4-al-ddb:focus-visible{ outline:none; box-shadow: 0 0 0 1px var(--lx-accent), 0 0 0 4px var(--lx-accent-tint); }
body.lumen .lf4-al-ddb .cx-own, body.lumen .lf4-al-opt .cx-own{ margin:0; flex:none; }
body.lumen .lf4-al-v{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body.lumen .lf4-al-ph{ color: var(--lx-text-3); font-size: var(--lx-fs-md); }
body.lumen .lf4-al-box{ display:flex; align-items:center; gap:4px; min-height: var(--lx-ctl-lg); padding:2px 2px 2px 4px; box-sizing:border-box; border-radius: var(--lx-r-ctl);
  background: var(--lx-surface); box-shadow: var(--lx-e1); cursor:pointer; }
body.lumen .lf4-al-box:focus-within{ box-shadow: 0 0 0 1px var(--lx-accent), 0 0 0 4px var(--lx-accent-tint); }
body.lumen .lf4-al-tags{ display:flex; flex-wrap:wrap; gap:4px; flex:1 1 auto; min-width:0; }
body.lumen .lf4-al-tag{ display:inline-flex; align-items:center; gap:2px; max-width:100%; height: var(--lx-ctl-sm); padding:0 0 0 10px; box-sizing:border-box; border-radius:999px; background: var(--lx-accent-tint); color: var(--lx-accent-text);
  font: 500 var(--lx-fs-sm)/1 var(--lx-font); white-space:nowrap; }
body.lumen .overlay .panel button.lf4-al-tx, body.lumen .overlay .panel button.lf4-al-car{ display:inline-grid; place-items:center; flex:none; padding:0; border:0; background:transparent; color:inherit; cursor:pointer; }
body.lumen .overlay .panel button.lf4-al-tx{ width:24px; height: var(--lx-ctl-sm); border-radius:999px; }
body.lumen .overlay .panel button.lf4-al-car{ width:28px; height:28px; border-radius: var(--lx-r-sm); color: var(--lx-text-3); }
body.lumen .overlay .panel :is(button.lf4-al-tx, button.lf4-al-car):focus-visible{ outline:2px solid var(--lx-accent-ring); outline-offset:0; }
body.lumen .lf4-al-pop{ position:absolute; z-index:6; left:0; right:0; top: calc(100% + 4px); max-height:260px; overflow:auto; padding:6px; border-radius: var(--lx-r-ctl);
  background: var(--lx-raised); color: var(--lx-text); box-shadow: var(--lx-e2); }
body.lumen .lf4-al-pop[hidden]{ display:none; }
body.lumen .lf4-al-pop.lf4-al-list{ right:auto; width: min(540px, calc(100vw - 64px)); }   /* the option rows fit one line each */
body.lumen .lf4-al-opt{ display:flex; align-items:center; gap:8px; min-height: var(--lx-ctl-md); padding:0 8px; border-radius: var(--lx-r-sm); font-size: var(--lx-fs-md); cursor:pointer; }
body.lumen .lf4-al-opt:hover{ background: var(--lx-surface-3); }
body.lumen .lf4-al-opt[aria-selected="true"]{ background: var(--lx-accent-tint); font-weight:600; }
body.lumen .lf4-al-opt:focus-visible{ outline:2px solid var(--lx-accent-ring); outline-offset:-2px; }
/* Interested in: one row per programme with its options (the Call log's ls-b rows) */
body.lumen .lf4-al-list .ls-b-ig{ display:flex; flex-wrap:wrap; align-items:center; gap:2px 6px; padding:3px 2px; border-bottom:1px solid var(--lx-line); }
body.lumen .lf4-al-list .ls-b-ig:last-child{ border-bottom:0; }
body.lumen .lf4-al-list .ls-b-igh{ flex:0 0 112px; font: 600 var(--lx-fs-sm)/18px var(--lx-font); color: var(--lx-text); }
body.lumen .lf4-al-list .ls-b-ck{ display:inline-flex; align-items:center; gap:6px; min-height: var(--lx-ctl-sm); padding:0 6px; border-radius: var(--lx-r-xs); font: 450 var(--lx-fs-sm)/16px var(--lx-font); color: var(--lx-text-2); cursor:pointer; }
body.lumen .lf4-al-list .ls-b-ck:has(input:checked){ color: var(--lx-text); background: var(--lx-accent-tint); }
body.lumen .lf4-al-list .ls-b-ck:has(input:focus-visible){ outline:2px solid var(--lx-accent-ring); }
body.lumen .overlay .panel .lf4-al-list input.ls-b-oth{ flex:1 1 140px; width:auto; min-width:0; }
/* Next follow-up | Lead in */
body.lumen .lf4-al-form .ls-d-next{ flex-wrap:nowrap; gap:6px; }
body.lumen .lf4-al-form .ls-d-next > .ls-d-seg{ flex:none; flex-wrap:nowrap; }
body.lumen .overlay .panel .lf4-al-form input.lf4-al-when{ flex:1 1 0; min-width:0; width:auto; padding-left:8px !important; padding-right:4px !important; }
body.lumen .lf4-al-form .ph-hint:empty{ display:none; }
body.lumen .lf4-al-lock{ display:flex; align-items:center; gap:6px; min-height: var(--lx-ctl-lg); color: var(--lx-text); font-size: var(--lx-fs-lg); }
body.lumen .lf4-al-lock svg{ color: var(--lx-text-3); }
/* the sticky footer: errors (full width), More details (left), Cancel · Save lead (right) */
body.lumen .lf4-al-dlg .ls-d-btns.lf4-al-foot{ position:sticky; bottom:0; z-index:5; flex-wrap:wrap; align-items:center; margin:12px -24px 0; padding:10px 24px 16px;
  background: var(--lx-raised); box-shadow: 0 -1px 0 var(--lx-line); }
body.lumen .lf4-al-foot .cx-err{ flex:1 1 100%; margin:0; }
body.lumen .lf4-al-foot .lf4-al-more{ flex:1 1 auto; min-width:0; }
body.lumen .lf4-al-foot .lf4-al-more[open] .ls-d-fld{ max-width:420px; }
body.lumen .lf4-al-more summary:focus-visible{ outline:2px solid var(--lx-accent-ring); outline-offset:2px; border-radius: var(--lx-r-xs); }
@media (max-width:899px){ body.lumen .lf4-al-form .ls-d-next{ flex-wrap:wrap; } }
/* lead-fix4 #4: the "✓ Primary" / "needs Mobile" rows in a number's ⋯ menu are ls-d-lock text rows (no extra rule beyond the lock line's) */
/* lead-fix4 #7: the Pipeline "Today" card tags */
body.lumen .lf4-al-tds{ display:flex; flex-wrap:wrap; gap:4px; margin:2px 0 4px; }
body.lumen .lf4-al-td{ display:inline-flex; align-items:center; height:20px; padding:0 8px; border-radius:999px; background: var(--lx-accent-tint); color: var(--lx-accent-text); font: 550 11.5px/16px var(--lx-font); }
body.lumen .lf4-al-td.lf4-al-td-due{ background: var(--lx-warn-tint); color: var(--lx-warn); }
/* ══ /LF4-B2 ══ */
/* ══ LF4-B3 ══ */
/* lead-fix4 #9 (B3) — the helper's "Log a call for <owner>" box on the Call log tab, the invoice tab's credit line, the Routing card. Lumen tokens
   only; no light text (the box takes the drawer's own text colour on its accent tint, as .ls-b-ask). */
body.lumen .lx-drawer-lead .lf4-help-log{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 12px; margin:8px 0 12px; padding:10px 12px; border-radius: var(--lx-r-card); color: var(--lx-text); background: var(--lx-accent-tint); }
body.lumen .lx-drawer-lead .lf4-help-log-tx{ display:flex; flex-direction:column; gap:2px; min-width:0; flex:1 1 220px; }
body.lumen .lx-drawer-lead .lf4-help-log-tx span{ color: var(--lx-text-2); font-size:13px; }
body.lumen .lx-drawer-lead .lf4-help-inv{ margin:4px 0 8px; }
/* ══ /LF4-B3 ══ */
/* ══ LF4-B4 ══ */
/* ══ /LF4-B4 ══ */
/* ══ LF4-B5 ══ */
/* lead-fix4 #6 — Lumen paint for the Do next column (app.js dn4*): Lumen tokens only */
body.lumen #app .ab-pf-val.dn4-late{ color: var(--lx-bad); }
body.lumen #app .dn4-h{ color: var(--lx-text); }
body.lumen #app .dn4-name{ min-height: var(--lx-ctl-sm); }   /* integrator (lf4-dash-browser): the name button at the control height */
body.lumen #app .dn4-link{ color: var(--lx-accent-text); }
body.lumen #app .dn4-bk-f{ color: var(--lx-text-2); }
body.lumen #app :is(.dn4-ctr, .dn4-link, .dn4-name, .dn4-btn):focus-visible{ outline: 2px solid var(--lx-focus); outline-offset: 2px; }
/* ══ /LF4-B5 ══ */
/* ══ mc-ws A-8 ══ */
/* MigrateCloud v2 ship 3 A-8 (plan-A §2.7): the student file (app.js emFileView, drawer kind "emfile"). Lumen tokens only, no light text. Only the
   name row and the tab strip stick (r2 B-M-14: 48 + 44 px desktop, 44 + 40 phone); the rest of the top region scrolls away. */
body.lumen .overlay.lx-dov > .panel.lx-drawer-emfile{ width: min(1080px, calc(100% - 16px)) !important; }
body.lumen .mcw-file{ display:flex; flex-direction:column; min-width:0; color: var(--lx-text); font: 450 13px/20px var(--lx-font); }
body.lumen .mcw-name{ position:sticky; top:-20px; z-index:6; display:flex; align-items:center; gap:8px; height:48px; margin:-20px -20px 0; padding:0 20px; background: var(--lx-raised); }
body.lumen .mcw-n{ margin:0; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font: 600 20px/28px var(--lx-font); color: var(--lx-text); }
body.lumen .mcw-grow{ flex:1 1 auto; }
body.lumen .mcw-meta{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 0; font: 450 12.5px/18px var(--lx-font); color: var(--lx-text-2); }
body.lumen .mcw-mi{ display:inline-flex; align-items:center; gap:4px; padding:0 10px; box-shadow: inset 1px 0 0 var(--lx-line); }
body.lumen .mcw-mi:first-child{ padding-left:0; box-shadow:none; }
body.lumen .mcw-contact{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:12px 0 0; }
body.lumen .mcw-num{ margin-right:4px; font: 550 14px/20px var(--lx-font); font-feature-settings: var(--lx-num); color: var(--lx-text); }
body.lumen .mcw-contact .btn{ display:inline-flex; align-items:center; gap:6px; text-decoration:none; }
/* S3 fix r1: the WhatsApp templates menu on the contact line (A-13 mcw-menu; links, not buttons) */
body.lumen .mcw-wa-menu .mcw-mi{ text-decoration:none; box-shadow:none; }
body.lumen .mcw-also{ margin:12px 0 0; }
body.lumen .mcw-stage{ margin:16px 0 0; padding:12px 0 0; box-shadow: inset 0 1px 0 var(--lx-line); }
body.lumen .mcw-steps{ display:grid; grid-template-columns: repeat(8, minmax(0,1fr)); gap:4px; margin:0; padding:0; list-style:none; }
body.lumen .mcw-st{ display:flex; flex-direction:column; gap:2px; min-width:0; }
body.lumen .mcw-bar{ display:block; height:4px; border-radius:2px; background: var(--lx-line); }
body.lumen .mcw-st.done .mcw-bar{ background: var(--lx-primary-bg); }
body.lumen .mcw-st.now .mcw-bar{ background: var(--lx-accent); }
body.lumen .mcw-sl, body.lumen .mcw-sh{ min-height:16px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font: 450 12px/16px var(--lx-font); color: var(--lx-text-3); }
body.lumen .mcw-st.done .mcw-sl{ color: var(--lx-text-2); }
body.lumen .mcw-st.now .mcw-sl{ color: var(--lx-text); font-weight:600; }
body.lumen .mcw-nowrow{ display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; min-height:32px; margin-top:8px; }
body.lumen .mcw-now-ph{ display:none; }
body.lumen .mcw-applyby{ color: var(--lx-text-2); }
body.lumen .mcw-tabsw{ position:sticky; top:28px; z-index:5; margin:12px -20px 0; padding:0 20px; background: var(--lx-raised); box-shadow: inset 0 -1px 0 var(--lx-line); }
body.lumen .mcw-tabs{ display:flex; gap:20px; overflow-x:auto; scrollbar-width:none; }
body.lumen .mcw-tabs::-webkit-scrollbar{ display:none; }
body.lumen .mcw-tabs .lx-tab{ all:unset; box-sizing:border-box; height:44px; display:inline-flex; align-items:center; gap:6px; flex:none; position:relative; cursor:pointer; white-space:nowrap; font: 500 13px/1 var(--lx-font); color: var(--lx-text-3); }
body.lumen .mcw-tabs .lx-tab:hover, body.lumen .mcw-tabs .lx-tab.on{ color: var(--lx-text); }
body.lumen .mcw-tabs .lx-tab.on::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:2px; border-radius:2px; background: var(--lx-text); }
body.lumen .mcw-tabs .lx-tab:focus-visible{ box-shadow: var(--lx-focus); border-radius:6px; }
body.lumen .mcw-tabs .lx-tab-n{ display:inline-grid; place-items:center; min-width:20px; height:18px; padding:0 5px; border-radius:9px; font: 600 11px/1 var(--lx-font); font-feature-settings: var(--lx-num); background: var(--lx-surface-3); color: var(--lx-text-2); }
body.lumen .mcw-body{ min-height:240px; padding:16px 0 0; }
body.lumen .mcw-body:focus{ outline:none; }
body.lumen .mcw-ov{ display:grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap:16px 24px; align-items:start; }
body.lumen .mcw-sec{ margin:0 0 16px; padding:0 0 16px; box-shadow: inset 0 -1px 0 var(--lx-line); }
body.lumen .mcw-sec:last-child{ margin-bottom:0; box-shadow:none; }
body.lumen .mcw-h{ display:flex; align-items:center; gap:8px; margin:0 0 8px; font: 600 14px/20px var(--lx-font); color: var(--lx-text); }
body.lumen .mcw-h svg{ color: var(--lx-text-3); }
body.lumen .mcw-c{ font: 450 12px/16px var(--lx-font); color: var(--lx-text-3); }
body.lumen .mcw-next-a{ margin-bottom:6px; font: 600 14px/20px var(--lx-font); color: var(--lx-text); }
body.lumen .mcw-mut{ font-size:12.5px; color: var(--lx-text-3); }
body.lumen .mcw-hint{ margin-left:8px; }
body.lumen .mcw-cl, body.lumen .mcw-tl{ margin:0; padding:0; list-style:none; }
body.lumen .mcw-ci{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; min-height:44px; padding:6px 0; box-shadow: inset 0 -1px 0 var(--lx-line); }
body.lumen .mcw-ci:last-child{ box-shadow:none; }
body.lumen .mcw-ck{ display:inline-grid; place-items:center; flex:none; width:16px; height:16px; border-radius:4px; box-shadow: inset 0 0 0 1.5px var(--lx-line-2); color: var(--lx-ok); }
body.lumen .mcw-ci.done .mcw-ck{ box-shadow:none; background: var(--lx-ok-tint); }
body.lumen .mcw-ci:is(.done, .waived) .mcw-cl-l{ color: var(--lx-text-2); }
body.lumen .mcw-why{ flex:1 1 100%; padding-left:24px; }
body.lumen .mcw-wv{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; flex:1 1 100%; padding:4px 0 6px 24px; }
body.lumen .mcw-wv input{ flex:1 1 220px; min-width:0; }
body.lumen .mcw-err{ flex:1 1 100%; font-size:12.5px; color: var(--lx-bad); }
body.lumen .mcw-tl li{ display:grid; grid-template-columns: 64px minmax(0,1fr); gap:8px; padding:6px 0; }
body.lumen .mcw-tl time{ font-size:12px; font-feature-settings: var(--lx-num); color: var(--lx-text-3); }
body.lumen .mcw-tl b{ margin-right:6px; font-weight:550; }
body.lumen .mcw-by{ display:block; font-size:12px; color: var(--lx-text-3); }
body.lumen .mcw-dl{ display:grid; gap:6px; margin:0; }
body.lumen .mcw-dl > div{ display:grid; grid-template-columns: 112px minmax(0,1fr); gap:8px; }
body.lumen .mcw-dl dt{ color: var(--lx-text-3); }
body.lumen .mcw-dl dd{ margin:0; min-width:0; overflow-wrap:anywhere; }
body.lumen .mcw-pf{ display:grid; grid-template-columns: 112px minmax(0,1fr) 64px; align-items:center; gap:8px; margin-bottom:8px; }
body.lumen .mcw-pf input{ width:100%; min-width:0; box-sizing:border-box; }
body.lumen .mcw-saved{ display:inline-flex; align-items:center; gap:4px; font-size:12px; color: var(--lx-ok); }
body.lumen .mcw-file .lx-banner{ display:flex; flex-wrap:wrap; align-items:center; gap:10px; min-height:44px; margin:12px 0 0; padding:6px 8px 6px 14px; border-radius: var(--lx-r-card);
  background: var(--lx-bad-tint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lx-bad) 22%, transparent); font: 500 13px/18px var(--lx-font); color: var(--lx-text); }
body.lumen .mcw-file .lx-banner > svg{ flex:none; width:16px; height:16px; color: var(--lx-bad); }
body.lumen .mcw-file .lx-banner .btn{ margin-left:auto; }
body.lumen .mcw-file .lx-empty{ display:grid; place-items:center; gap:4px; padding:28px 16px; text-align:center; }
body.lumen .mcw-file .lx-empty-art{ display:grid; place-items:center; width:44px; height:44px; margin-bottom:8px; border-radius:12px; background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); color: var(--lx-text-3); }
body.lumen .mcw-file .lx-empty b{ font: 600 14px/20px var(--lx-font); color: var(--lx-text); }
body.lumen .mcw-file .lx-empty p{ max-width:38ch; margin:0; font: 450 13px/19px var(--lx-font); color: var(--lx-text-3); }
body.lumen .mcw-sk{ display:block; border-radius:8px; background: var(--lx-surface-2); }
body.lumen .mcw-sk-name{ width:40%; height:20px; }
body.lumen .mcw-sk-line{ width:60%; height:12px; margin:12px 0 0; }
body.lumen .mcw-sk-blk{ height:120px; margin:0 0 12px; border-radius:12px; }
body.lumen .mcw-sk-row{ width:40%; height:12px; margin:16px 0; }
@media (max-width:900px){ body.lumen .mcw-ov{ grid-template-columns: minmax(0,1fr); } }
@media (max-width:760px){
  body.lumen .overlay.lx-dov > .panel.lx-drawer-emfile{ width:100% !important; }
  body.lumen .mcw-name{ top:-16px; height:44px; margin:-16px -16px 0; padding:0 16px; }
  body.lumen .mcw-n{ font-size:18px; line-height:24px; }
  body.lumen .mcw-tabsw{ margin:12px -16px 0; padding:0 16px; }
  body.lumen .mcw-tabs .lx-tab{ height:40px; }
  body.lumen .mcw-steps, body.lumen .mcw-now{ display:none; }
  body.lumen .mcw-now-ph{ display:inline; }
  body.lumen .mcw-pf{ grid-template-columns: minmax(0,1fr); gap:4px; }
  body.lumen .mcw-dl > div{ grid-template-columns: 96px minmax(0,1fr); }
}
/* ══ /mc-ws A-8 ══ */
/* ══ mc-ws A-6 ══ */
/* MigrateCloud v2 ship 3 A-6 (plan-A §2.4): the counsellor dashboard (app.js emDashView, visadash with mc_ws.on). Lumen tokens only, no new colour.
   Counters 3 across (phone too, about 64 px); Follow up now rows 64 (phone: number, Copy and WhatsApp hidden, Call and Log 44); bars ink (With me) and
   teal (With a stage team), the figure printed on its own bar; every text colour sits with its background in the same rule. */
body.lumen #app .mcw-d{ min-width:0; background: transparent; color: var(--lx-text); }
body.lumen #app .lx-ph.mcw-d-ph{ z-index:6; }
body.lumen #app .mcw-d-n{ display:inline-grid; place-items:center; min-width:20px; height:18px; margin-left:2px; padding:0 5px; border-radius:9px; background: var(--lx-surface-3); color: var(--lx-text); font: 600 11px/1 var(--lx-font); font-feature-settings: var(--lx-num); }
body.lumen #app .mcw-d-q{ position:relative; flex: 0 1 240px; min-width:180px; }
body.lumen #app .mcw-d .mcw-d-qi{ width:100%; box-sizing:border-box; margin:0; padding-left:32px !important;   /* the generic Lumen input rule gives height, surface, shadow and focus */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23858d9b' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position: 11px 50%; }
body.lumen #app .mcw-d-qr{ position:absolute; top: calc(100% + 4px); right:0; z-index:40; width: min(360px, calc(100vw - 32px)); max-height:360px; overflow:auto; box-sizing:border-box; padding:6px; border-radius: var(--lx-r-card); background: var(--lx-raised); color: var(--lx-text); box-shadow: var(--lx-e3); }
body.lumen #app .mcw-d-qr[hidden]{ display:none; }
body.lumen #app .mcw-d-qg + .mcw-d-qg{ margin-top:4px; padding-top:4px; box-shadow: inset 0 1px 0 var(--lx-line); }
body.lumen #app .mcw-d-qh{ padding: 6px 8px 4px; background: transparent; color: var(--lx-text-3); font: 600 12px/16px var(--lx-font); }
body.lumen #app .mcw-d-qhit{ all:unset; box-sizing:border-box; display:flex; flex-direction:column; justify-content:center; width:100%; min-height:44px; padding: 4px 8px; border-radius: var(--lx-r-ctl); cursor:pointer; background: transparent; color: var(--lx-text); }
body.lumen #app .mcw-d-qhit:hover, body.lumen #app .mcw-d-qhit:focus-visible{ background: var(--lx-surface-2); color: var(--lx-text); outline:none; }
body.lumen #app .mcw-d-qhit b{ font: 600 13px/18px var(--lx-font); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body.lumen #app .mcw-d-qhit span{ font: 450 12px/16px var(--lx-font); background: transparent; color: var(--lx-text-3); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body.lumen #app .mcw-d-qmsg{ margin: 4px 8px 8px; background: transparent; color: var(--lx-text-2); font: 450 12.5px/18px var(--lx-font); }
body.lumen #app .mcw-d-qr .btn{ display:inline-flex; align-items:center; gap:6px; margin: 0 8px 8px; }
body.lumen #app .mcw-d-biz{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin: 0 0 16px; padding: 8px 12px; border-radius: var(--lx-r-card); background: var(--lx-surface-2); color: var(--lx-text-2); box-shadow: inset 0 0 0 1px var(--lx-line); font: 450 13px/18px var(--lx-font); }
body.lumen #app .mcw-d-biz .btn{ display:inline-flex; align-items:center; gap:6px; }
body.lumen #app .mcw-d-fu .lx-card-h svg{ width:16px; height:16px; background: transparent; color: var(--lx-text-2); }
body.lumen #app .mcw-d-fu .lx-card-h h3{ margin:0; font: 600 14px/20px var(--lx-font); }
body.lumen #app .mcw-d-tabs{ margin: 0 0 4px; }
body.lumen #app .mcw-d-rows{ list-style:none; margin: 0 -16px; padding:0; }
body.lumen #app .mcw-d-row + .mcw-d-row{ box-shadow: inset 0 1px 0 var(--lx-line); }
body.lumen #app .mcw-d-line{ display:flex; align-items:center; gap:12px; min-height:64px; box-sizing:border-box; padding: 8px 16px; min-width:0; }
body.lumen #app .mcw-d-av{ width:32px; height:32px; font-size:11.5px; }
body.lumen #app .mcw-d-who{ flex:1 1 auto; min-width:0; }
body.lumen #app .mcw-d-nm{ display:flex; align-items:center; gap:8px; min-width:0; }
body.lumen #app .mcw-d-name{ all:unset; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; cursor:pointer; border-radius:4px; background: transparent; color: var(--lx-text); font: 600 14px/20px var(--lx-font); }
body.lumen #app .mcw-d-name:hover{ text-decoration:underline; }
body.lumen #app .mcw-d-name:focus-visible{ box-shadow: var(--lx-focus); }
body.lumen #app .lx-badge.mcw-d-sub{ flex:none; background: transparent; color: var(--lx-text-2); box-shadow: inset 0 0 0 1px var(--lx-line-2); }
body.lumen #app .mcw-d-meta{ display:flex; flex-wrap:wrap; align-items:center; gap:2px 0; margin-top:2px; background: transparent; color: var(--lx-text-3); font: 450 12px/16px var(--lx-font); }
body.lumen #app .mcw-d-mi{ display:inline-flex; align-items:center; padding: 0 8px; box-shadow: inset 1px 0 0 var(--lx-line); }
body.lumen #app .mcw-d-mi:first-child{ padding-left:0; box-shadow:none; }
body.lumen #app .mcw-d-clip{ max-width:320px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; display:inline-block; }
body.lumen #app .mcw-d-tools{ display:flex; align-items:center; gap:8px; flex:none; }
body.lumen #app .mcw-d-num{ background: transparent; color: var(--lx-text); font: 550 13px/20px var(--lx-font); font-feature-settings: var(--lx-num); white-space:nowrap; }
body.lumen #app .mcw-d-num.mcw-d-mut{ background: transparent; color: var(--lx-text-3); font-weight:450; }
body.lumen #app .mcw-d-ic{ all:unset; box-sizing:border-box; display:inline-grid; place-items:center; width: var(--lx-ctl-md); height: var(--lx-ctl-md); flex:none; border-radius: var(--lx-r-ctl); cursor:pointer; background: transparent; color: var(--lx-text-2); box-shadow: inset 0 0 0 1px var(--lx-line-2); transition: background var(--lx-d-hover), color var(--lx-d-hover); }
body.lumen #app .mcw-d-ic:hover{ background: var(--lx-surface-2); color: var(--lx-text); }
body.lumen #app .mcw-d-ic:focus-visible{ box-shadow: var(--lx-focus); }
body.lumen #app .mcw-d .btn.mcw-d-log{ height: var(--lx-ctl-md) !important; min-height: var(--lx-ctl-md) !important; flex:none; }
body.lumen #app .mcw-d-lbslot{ padding: 0 16px 8px 60px; }
body.lumen #app .mcw-d-lbslot[hidden]{ display:none; }
body.lumen #app .mcw-d-lbslot .mcw-lb{ margin:0; }
body.lumen #app .mcw-d-foot{ gap:12px; }
body.lumen #app .mcw-d-nodate{ margin-left:auto; background: transparent; color: var(--lx-text-2); font: 450 12.5px/18px var(--lx-font); }
body.lumen #app .mcw-d-g2{ display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:16px; margin-top:16px; align-items:start; }
@media (max-width:900px){ body.lumen #app .mcw-d-g2{ grid-template-columns: minmax(0,1fr); } }
body.lumen #app .mcw-d-g2 > :empty{ display:none; }
body.lumen #app .mcw-d-leg{ display:flex; flex-wrap:wrap; gap:4px 16px; margin: 0 0 8px; background: transparent; color: var(--lx-text-2); font: 450 12px/16px var(--lx-font); }
body.lumen #app .mcw-d-key{ display:inline-block; width:10px; height:10px; margin-right:6px; border-radius:3px; vertical-align:-1px; }
body.lumen #app .mcw-d-key.me{ background: var(--lx-primary-bg); }
body.lumen #app .mcw-d-key.team{ background: var(--lx-accent); }
body.lumen #app .mcw-d-bars{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:2px; }
body.lumen #app .mcw-d-bar{ all:unset; box-sizing:border-box; display:grid; grid-template-columns: 96px minmax(0,1fr); align-items:center; gap:8px; width:100%; min-height: var(--lx-ctl-md); padding: 2px 4px; border-radius: var(--lx-r-ctl); cursor:pointer; background: transparent; color: var(--lx-text-2); }
body.lumen #app .mcw-d-bar:hover{ background: var(--lx-surface-2); color: var(--lx-text); }
body.lumen #app .mcw-d-bar:focus-visible{ box-shadow: var(--lx-focus); }
body.lumen #app .mcw-d-bl{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font: 450 13px/16px var(--lx-font); }
body.lumen #app .mcw-d-tr{ display:block; min-width:0; }
body.lumen #app .mcw-d-fill{ display:flex; height:20px; min-width:24px; border-radius:4px; overflow:hidden; }
body.lumen #app .mcw-d-seg{ display:flex; align-items:center; justify-content:center; min-width:20px; font: 600 11.5px/1 var(--lx-font); font-feature-settings: var(--lx-num); }
body.lumen #app .mcw-d-seg.me{ background: var(--lx-primary-bg); color: var(--lx-primary-fg); }
body.lumen #app .mcw-d-seg.team{ background: var(--lx-accent); color: var(--lx-accent-ink); }
body.lumen #app .mcw-d-tgs{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
body.lumen #app .mcw-d-tgl{ display:flex; align-items:baseline; justify-content:space-between; gap:8px; margin-bottom:6px; background: transparent; color: var(--lx-text-2); font: 450 13px/18px var(--lx-font); }
body.lumen #app .mcw-d-tgl b{ background: transparent; color: var(--lx-text); font-weight:600; font-feature-settings: var(--lx-num); }
body.lumen #app .mcw-d-sk{ display:block; border-radius:6px; background: var(--lx-surface-2); }
body.lumen #app .mcw-d-sk-l{ width:40%; height:12px; }
body.lumen #app .mcw-d-sk-v{ width:25%; height:24px; margin-top:10px; }
body.lumen #app .mcw-d-sk-s{ width:20%; height:12px; margin-left:auto; }
body.lumen #app .mcw-d-sk-av{ width:32px; height:32px; flex:none; border-radius:50%; }
body.lumen #app .mcw-d-skrow{ display:flex; align-items:center; gap:12px; min-height:64px; padding: 8px 16px; box-sizing:border-box; }
@media (max-width:760px){
  body.lumen #app .mcw-d-q{ flex: 1 1 100%; min-width:0; }
  body.lumen #app .mcw-d-qr{ left:0; right:0; width:auto; }
  body.lumen #app .lx-kpis.mcw-d-kpis{ grid-template-columns: repeat(3, minmax(0,1fr)); }
  body.lumen #app .mcw-d-kpis .lx-kpi{ min-height:64px; padding: 10px 10px 8px; }
  body.lumen #app .mcw-d-kpis .lx-kpi-v{ font-size:20px; line-height:24px; }
  body.lumen #app .mcw-d-kpis .lx-kpi-l{ align-items:flex-start; font-size:11.5px; line-height:14px; white-space:normal; overflow:visible; background: transparent; color: var(--lx-text-2); }
  body.lumen #app .mcw-d-kpis .lx-kpi-l svg{ display:none; }
  body.lumen #app .mcw-d-tabs{ gap:12px; }
  body.lumen #app .mcw-d-mi:nth-child(3){ flex-basis:100%; padding-left:0; box-shadow:none; }
  body.lumen #app .mcw-d-kpis .lx-kpi-d{ display:none; }
  body.lumen #app .mcw-d-line{ flex-wrap:wrap; gap:8px 12px; }
  body.lumen #app .mcw-d-who{ flex: 1 1 calc(100% - 48px); }
  body.lumen #app .mcw-d-tools{ flex: 1 1 100%; justify-content:flex-end; padding-left:44px; }
  body.lumen #app .mcw-d-tools > .lx-badge{ order:-1; margin-right:auto; }
  body.lumen #app .mcw-d-tools :is(.mcw-d-num, .mcw-d-copy, .mcw-d-wa){ display:none; }
  body.lumen #app .mcw-d-ic{ width: var(--lx-ctl-lg); height: var(--lx-ctl-lg); }
  body.lumen #app .mcw-d .btn.mcw-d-log{ height: var(--lx-ctl-lg) !important; min-height: var(--lx-ctl-lg) !important; }
  body.lumen #app .mcw-d-lbslot{ padding: 0 16px 8px; }
  body.lumen #app .mcw-d-nodate{ margin-left:0; flex: 1 1 100%; }
  body.lumen #app .mcw-d-clip{ max-width:100%; }
}
/* ══ /mc-ws A-6 ══ */
/* ══ mc-ws A-11 ══ */
/* MigrateCloud v2 ship 3 A-11 (plan-A §2.10, r2 B-M-5): the Documents tab and the compliance block (app.js emDocsTabHTML). Lumen tokens only, no
   new colour, no light text. Rows are one item per line; on a phone Upload and View become 44 px icon buttons and the compliance block (it heads
   the Compliance group) spans the full width. */
body.lumen .mcw-docs{ display:block; min-width:0; }
body.lumen .mcw-doc-top{ margin:0 0 12px; }
body.lumen .mcw-doc-l{ margin:0; padding:0; list-style:none; }
body.lumen .mcw-doc-i{ padding:8px 0; box-shadow: inset 0 -1px 0 var(--lx-line); }
body.lumen .mcw-doc-i:last-child{ box-shadow:none; }
body.lumen .mcw-doc-i:focus{ outline:none; border-radius: var(--lx-r-sm); box-shadow: var(--lx-focus); }
body.lumen .mcw-doc-h{ display:flex; align-items:center; gap:8px; min-height:28px; }
body.lumen .mcw-doc-m{ display:flex; flex:1 1 auto; flex-wrap:wrap; align-items:center; gap:4px 8px; min-width:0; }
body.lumen .mcw-doc-n{ min-width:0; overflow-wrap:anywhere; font: 550 13px/20px var(--lx-font); color: var(--lx-text); }
body.lumen .mcw-doc-who{ font: 450 12px/16px var(--lx-font); color: var(--lx-text-3); }
body.lumen .mcw-doc-f{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; margin:6px 0 0; padding:6px 8px; border-radius: var(--lx-r-sm); background: var(--lx-surface-2); color: var(--lx-text-2); }
body.lumen .mcw-doc-fn{ min-width:0; overflow-wrap:anywhere; font: 500 12.5px/18px var(--lx-font); color: var(--lx-text-2); }
body.lumen .mcw-doc-note{ flex:1 1 100%; }
body.lumen .mcw-doc-b{ display:inline-flex; align-items:center; gap:6px; }
body.lumen .mcw-doc-form, body.lumen .mcw-cmp-form{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:6px 0 0; padding:4px 0; }
body.lumen .mcw-doc-form label{ flex:1 1 100%; font-size:12.5px; color: var(--lx-text-2); }
body.lumen .mcw-doc-form input{ flex:1 1 220px; min-width:0; }
body.lumen .mcw-doc-sk{ padding:4px 0; }
body.lumen .mcw-cmp{ margin:0 0 12px; padding:12px 14px; border-radius: var(--lx-r-card); background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); color: var(--lx-text); }
body.lumen .mcw-cmp-h{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 6px; }
body.lumen .mcw-cmp-t{ display:inline-flex; align-items:center; gap:6px; margin:0; font: 600 13px/20px var(--lx-font); color: var(--lx-text); }
body.lumen .mcw-cmp-t svg{ color: var(--lx-text-3); }
body.lumen .mcw-cmp-by, body.lumen .mcw-cmp-note{ margin:0 0 6px; font-size:12.5px; color: var(--lx-text-2); overflow-wrap:anywhere; }
body.lumen .mcw-cmp-lapse{ display:flex; align-items:flex-start; gap:6px; margin:0 0 8px; padding:6px 8px; border-radius: var(--lx-r-sm); background: var(--lx-warn-tint); color: var(--lx-text); font-size:12.5px; }
body.lumen .mcw-cmp-lapse svg, body.lumen .mcw-cmp-wh svg{ flex:none; margin-top:2px; color: var(--lx-warn); }
body.lumen .mcw-cmp-dl{ margin:0 0 8px; }
body.lumen .mcw-cmp-ck{ display:grid; gap:2px; margin:0 0 4px; padding:0; list-style:none; }
body.lumen .mcw-cmp-ck li{ display:grid; grid-template-columns: 16px minmax(0,auto) minmax(0,1fr); align-items:center; gap:8px; min-height:28px; }
body.lumen .mcw-cmp-tick{ display:inline-grid; place-items:center; width:16px; height:16px; border-radius:4px; box-shadow: inset 0 0 0 1.5px var(--lx-line-2); color: var(--lx-ok); }
body.lumen .mcw-cmp-ck li.ok .mcw-cmp-tick{ box-shadow:none; background: var(--lx-ok-tint); }
body.lumen .mcw-cmp-cl{ font-size:13px; color: var(--lx-text); }
body.lumen .mcw-cmp .mcw-sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip: rect(0 0 0 0); white-space:nowrap; }
body.lumen .mcw-cmp-warn{ margin:8px 0; padding:8px 10px; border-radius: var(--lx-r-sm); background: var(--lx-warn-tint); color: var(--lx-text); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lx-warn) 30%, transparent); }
body.lumen .mcw-cmp-wh{ display:flex; align-items:center; gap:6px; margin:0 0 4px; font: 600 12.5px/18px var(--lx-font); color: var(--lx-text); }
body.lumen .mcw-cmp-warn ul{ margin:0 0 4px; padding-left:20px; font-size:12.5px; line-height:18px; color: var(--lx-text); }
body.lumen .mcw-cmp p.mcw-mut{ margin:0 0 6px; }
body.lumen .mcw-cmp-warn p.mcw-mut{ margin:0; }
body.lumen .mcw-cmp-acts{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:8px 0 0; }
body.lumen .mcw-cmp-f{ display:grid; gap:4px; min-width:0; flex:1 1 180px; }
body.lumen .mcw-cmp-fw, body.lumen .mcw-cmp-form > p, body.lumen .mcw-cmp-form > .mcw-cmp-acts, body.lumen .mcw-cmp-form > .mcw-err{ flex:1 1 100%; }
body.lumen .mcw-cmp-form > .mcw-cmp-acts{ margin:0; }
body.lumen .mcw-cmp-f label{ font-size:12.5px; color: var(--lx-text-2); }
body.lumen .mcw-cmp-f textarea, body.lumen .mcw-cmp-f select{ width:100%; min-width:0; box-sizing:border-box; }
@media (max-width:760px){
  body.lumen :is(#app, .overlay, .lx-scope) .mcw-docs .btn.mcw-doc-b{ justify-content:center; width: var(--lx-ctl-lg) !important; min-width: var(--lx-ctl-lg) !important; height: var(--lx-ctl-lg) !important; min-height: var(--lx-ctl-lg) !important; padding:0 !important; }
  body.lumen .mcw-docs .btn.mcw-doc-b > span{ position:absolute; width:1px; height:1px; overflow:hidden; clip: rect(0 0 0 0); white-space:nowrap; }
  body.lumen .mcw-cmp{ margin-left:0; margin-right:0; padding:12px; }
  body.lumen .mcw-cmp-ck li{ grid-template-columns: 16px minmax(0,1fr); }
  body.lumen .mcw-cmp-ck li > .mcw-mut{ grid-column: 2; }
}
/* ══ /mc-ws A-11 ══ */
/* ══ MigrateCloud v2 S-3: the Study Abroad setup page's Old values and Universities sections and their dialogs (plan-S S3, S5). table.list
   rows; the Map to select 32 px (phone 40); the More menu is a 32 px (phone 40) menuitem list under its button; the skeleton is rows of
   44 px with a 12 px bar at 40 % and 25 %; phone: every row stacks as a card, each cell with its column name on the left. ══ */
body.lumen #app .mcs-lead{ margin:0 0 12px; }
body.lumen #app :is(.mcs-om, .mcs-un) .mcs-num, body.lumen .overlay .mcs-num{ text-align:right; font-feature-settings: var(--lx-num); white-space:nowrap; }
body.lumen #app .mcs-sel{ min-width:200px; }
body.lumen #app .mcs-foot{ display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:12px; margin-top:12px; }
body.lumen #app .mcs-last{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-right:auto; }
body.lumen #app .mcs-last .btn, body.lumen #app .mcs-act .btn{ display:inline-flex; align-items:center; gap:6px; }
body.lumen #app .mcs-skr{ display:flex; align-items:center; gap:16px; height:44px; box-shadow: inset 0 -1px 0 var(--lx-line); }
body.lumen #app .mcs-skb{ width:40%; height:12px; border-radius:6px; }
body.lumen #app .mcs-skb2{ width:25%; }
body.lumen #app .mcs-act{ width:1%; text-align:right; white-space:nowrap; }
body.lumen #app .mcs-mhost{ position:relative; display:inline-block; }
/* the menu hangs below its row: the table must not clip it, and the open card sits above the next card */
body.lumen #app .mcs-un table.list.mcs-t{ overflow: visible !important; }
body.lumen #app .lx-card.mcs-un.mcs-open{ z-index:3; }
body.lumen #app .mcs-menu{ position:absolute; right:0; top:calc(100% + 4px); z-index:30; display:flex; flex-direction:column; min-width:220px; padding:4px;
  background: var(--lx-surface); border-radius: var(--lx-r-card); box-shadow: var(--lx-e2); }
body.lumen #app .mcs-menu [role=menuitem]{ display:flex; align-items:center; gap:8px; height: var(--lx-ctl-md); padding:0 12px; border:0; border-radius: var(--lx-r-ctl);
  background: transparent; color: var(--lx-text); font: 500 13px/20px var(--lx-font); text-align:left; white-space:nowrap; cursor:pointer; }
body.lumen #app .mcs-menu [role=menuitem]:hover{ background: var(--lx-surface-2); }
body.lumen #app .mcs-menu [role=menuitem]:focus-visible{ outline:0; box-shadow: var(--lx-focus); }
body.lumen #app .mcs-menu [role=menuitem]:disabled{ color: var(--lx-text-3); cursor:default; background: transparent; }
body.lumen .overlay .mcs-lead{ margin:0 0 12px; color: var(--lx-text-2); }
body.lumen .overlay .mcs-note{ display:flex; align-items:center; gap:8px; margin:0 0 12px; padding:8px 12px; border-radius: var(--lx-r-card); background: var(--lx-warn-tint); color: var(--lx-text); }
body.lumen .overlay .mcs-note > svg{ width:16px; height:16px; flex:none; color: var(--lx-warn); }
body.lumen .overlay .mcs-dwrap{ max-height:50vh; overflow:auto; }
body.lumen .overlay .mcs-dt{ width:100%; border-collapse:collapse; }
body.lumen .overlay .mcs-dt th{ padding:8px 12px; text-align:left; font: 500 12px/16px var(--lx-font); color: var(--lx-text-3); background: var(--lx-surface-2); }
body.lumen .overlay .mcs-dt td{ padding:8px 12px; vertical-align:top; box-shadow: inset 0 -1px 0 var(--lx-line); color: var(--lx-text); font-size:13px; }
body.lumen .overlay .mcs-pair{ display:inline-flex; align-items:center; gap:8px; }
body.lumen .overlay .mcs-pair > svg{ width:14px; height:14px; color: var(--lx-text-3); }
body.lumen .overlay .mcs-fees{ margin:4px 0 0; padding-left:16px; font: 400 12px/16px var(--lx-font); color: var(--lx-text-2); }
body.lumen .overlay .mcs-sel{ width:100%; height:36px; }
body.lumen .overlay .mcs-dfoot{ display:flex; justify-content:flex-end; gap:8px; margin-top:16px; }
@media (max-width:760px){
  body.lumen #app .mcs-t thead{ display:none; }
  body.lumen #app :is(.mcs-om, .mcs-un) table.mcs-t, body.lumen #app .mcs-t tbody, body.lumen #app .mcs-t tr{ display:block; width:100%; box-shadow:none !important; }
  body.lumen #app .mcs-t tr{ margin:0 0 8px; padding:4px 12px; border-radius: var(--lx-r-card); box-shadow: inset 0 0 0 1px var(--lx-line) !important; }
  body.lumen #app table.list.mcs-t td{ display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; height:auto; min-height:44px; padding:4px 0 !important; text-align:left; white-space:normal; }
  body.lumen #app .mcs-t td[data-l]::before{ content: attr(data-l); flex:none; font: 500 12px/16px var(--lx-font); color: var(--lx-text-3); }
  body.lumen #app table.list.mcs-t td.mcs-act{ justify-content:flex-end; }
  body.lumen #app .mcs-mhost{ display:flex; flex-direction:column; align-items:flex-end; width:100%; }
  body.lumen #app .mcs-menu{ position:static; width:100%; margin-top:8px; }
  body.lumen #app .mcs-menu [role=menuitem]{ height:44px; }
  body.lumen #app .mcs-sel{ flex:1 1 auto; min-width:0; max-width:65%; }
  body.lumen .overlay .mcs-sel{ height:40px; }
  body.lumen #app .mcs-foot .btn.primary{ flex:1 1 100%; }
}
/* ══ /S-3 ══ */
/* ══ MigrateCloud v2 C-1: role chips in Access Control (plan-C-roles.md §2.1). One lx-chip row under a person's Migration column: 28 px on
   a desktop, 40 px on a phone (--lx-ctl-md there), scrolling sideways in its row; the skeleton is five 72 px chips; the derived Sales /
   Finance role is plain meta text under the tick. ══ */
body.lumen #app .mcr-chips{ display:flex; flex-wrap:nowrap; align-items:center; gap:8px; overflow-x:auto; padding:0 0 8px; }
body.lumen #app .mcr-chips .lx-chip{ flex:none; }
body.lumen #app .mcr-sk{ flex:none; width:72px; height: var(--lx-ctl-sm); border-radius: var(--lx-r-ctl); }
body.lumen #app .mcr-derived{ margin-top:4px; font: 400 12px/16px var(--lx-font); color: var(--lx-text-3); background: transparent; white-space:nowrap; }
body.lumen #app table.acc-table tr.mcr-tr > td{ padding-top:0; border-top:0; }
@media (max-width:760px){
  body.lumen #app .mcr-chips{ position:sticky; left:0; max-width: calc(100vw - 48px); }
  body.lumen #app .mcr-chips .lx-chip{ height: var(--lx-ctl-md) !important; min-height: var(--lx-ctl-md) !important; }
  body.lumen #app .mcr-sk{ height: var(--lx-ctl-md); }
}
/* ══ /C-1 ══ */
/* ══ MigrateCloud v2 S-2 (13 Nov 2026): the Study Abroad setup page (emSetupView; plan-S S1, S2, S4). Left section list 200 px on
   desktop, one horizontal scrolling lx-tab row on a phone; tables become cards under 760 px; tokens only, controls at the house heights. ══ */
body.lumen #app .mcs-page{ display:grid; grid-template-columns: 200px minmax(0, 1fr); gap:24px; align-items:start; }
body.lumen #app .mcs-body{ min-width:0; display:grid; gap:16px; }
body.lumen #app .mcs-nav{ position:sticky; top:16px; min-width:0; }
body.lumen #app .mcs-nav .lx-tabs{ flex-direction:column; gap:2px; margin:0; box-shadow:none; overflow:visible; }
body.lumen #app .mcs-nav .lx-tab{ width:100%; height: var(--lx-ctl-lg); padding: 0 12px; border-radius: var(--lx-r-ctl); white-space:normal; line-height:1.2; }
body.lumen #app .mcs-nav .lx-tab:hover{ background: var(--lx-surface-2); }
body.lumen #app .mcs-nav .lx-tab.on{ background: var(--lx-surface-2); color: var(--lx-text); font-weight:600; }
body.lumen #app .mcs-nav .lx-tab.on::after{ left:0; right:auto; top:8px; bottom:8px; width:2px; height:auto; background: var(--lx-accent); }
body.lumen #app .mcs-sec{ min-width:0; }
body.lumen #app .mcs-note{ margin: 0 0 12px; }
body.lumen #app .mcs-soon{ margin: 4px 0 8px; }
body.lumen #app .mcs-sk{ height:44px; display:flex; align-items:center; box-shadow: inset 0 -1px 0 var(--lx-line); }
body.lumen #app .mcs-sk-bar{ width:40%; height:12px; border-radius:6px; }
body.lumen #app .mcs-sk-bar.mcs-sk-s{ width:25%; }
body.lumen #app .mcs-tw{ min-width:0; overflow-x:auto; }
body.lumen #app table.list.mcs-cards{ width:100%; }
body.lumen #app .mcs-dt :is(.mcs-name, .mcs-code, .mcs-grp, .mcs-wk), body.lumen #app .mcs-gt .mcs-wk{ box-sizing:border-box; }
body.lumen #app .mcs-dt .mcs-name{ width:100%; min-width:100px; }
body.lumen #app .mcs-dt .mcs-code{ width:56px; }   /* merge fix: no CSS uppercase (Hallmark floor, bdm-meter-rules W11); the input has autocapitalize=characters */
body.lumen #app .mcs-dt .mcs-grp{ width:100%; min-width:88px; }
body.lumen #app :is(.mcs-dt, .mcs-gt) .mcs-wk{ width:64px; }
body.lumen #app .mcs-mo{ display:flex; flex-wrap:wrap; gap:4px; width:288px; }
body.lumen #app .mcs-mo .lx-chip{ min-width:40px; justify-content:center; }
body.lumen #app .mcs-tog{ width:20px; height:20px; margin:0; accent-color: var(--lx-accent); cursor:pointer; }
body.lumen #app .mcs-rmc{ width:44px; text-align:right; }
body.lumen #app .mcs-sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
body.lumen #app .mcs-foot{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:12px; }
body.lumen #app .mcs-foot .mcs-dirty, body.lumen #app .mcs-foot .mcs-grow{ flex:1; min-width:0; }
body.lumen #app .mcs-tools{ margin-left:auto; display:flex; gap:8px; flex-wrap:wrap; }
body.lumen #app .mcs-acts{ display:flex; gap:8px; flex-wrap:wrap; justify-content:center; margin-top:8px; }
body.lumen #app .mcs-dt [aria-invalid="true"], body.lumen #app .mcs-gt [aria-invalid="true"]{ box-shadow: inset 0 0 0 1px var(--lx-bad) !important; }
body.lumen .overlay .mcs-dlg-h{ margin: 0 0 8px; font: 600 16px/24px var(--lx-font); color: var(--lx-text); }
body.lumen .overlay .mcs-dlg-p{ margin: 0 0 12px; font: 400 13px/20px var(--lx-font); color: var(--lx-text-2); }
body.lumen .overlay .mcs-fld{ display:grid; gap:4px; margin: 0 0 12px; }
body.lumen .overlay .mcs-fld label{ font: 500 12px/16px var(--lx-font); color: var(--lx-text-2); }
body.lumen .overlay .mcs-err{ margin: 0 0 8px; min-height:20px; font: 500 13px/20px var(--lx-font); color: var(--lx-bad); }
body.lumen .overlay .mcs-gen-t{ width:100%; margin: 0 0 16px; }
body.lumen .overlay .mcs-gen-t .mcs-num{ text-align:right; font-feature-settings: var(--lx-num); }
body.lumen .overlay .mcs-dlg-f{ display:flex; justify-content:flex-end; gap:8px; flex-wrap:wrap; }
@media (max-width:760px){
  body.lumen #app .mcs-page{ grid-template-columns: minmax(0, 1fr); gap:12px; }
  body.lumen #app .mcs-nav{ position:static; }
  body.lumen #app .mcs-nav .lx-tabs{ flex-direction:row; gap:20px; overflow-x:auto; box-shadow: inset 0 -1px 0 var(--lx-line); }
  body.lumen #app .mcs-nav .lx-tab{ width:auto; height: var(--lx-ctl-md); padding:0; border-radius:0; white-space:nowrap; }
  body.lumen #app .mcs-nav .lx-tab:hover, body.lumen #app .mcs-nav .lx-tab.on{ background:transparent; }
  body.lumen #app .mcs-nav .lx-tab.on::after{ left:0; right:0; top:auto; bottom:0; width:auto; height:2px; }
  body.lumen #app table.list.mcs-cards, body.lumen #app table.list.mcs-cards tbody{ display:block; width:100%; }
  body.lumen #app table.list.mcs-cards thead{ display:none; }
  body.lumen #app table.list.mcs-cards tr{ display:grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap:8px 12px; padding:12px 0; box-shadow: inset 0 -1px 0 var(--lx-line); }
  body.lumen #app table.list.mcs-cards td{ display:block; height:auto; min-width:0; padding:0 !important; box-shadow:none; }
  body.lumen #app table.list.mcs-cards td.mcs-wide{ grid-column: 1 / -1; }
  body.lumen #app table.list.mcs-cards td[data-l]::before{ content: attr(data-l); display:block; margin-bottom:4px; font: 500 12px/16px var(--lx-font); color: var(--lx-text-3); }
  body.lumen #app table.list.mcs-cards td.mcs-rmc{ width:auto; text-align:left; }
  body.lumen #app .mcs-dt :is(.mcs-name, .mcs-grp, .mcs-code), body.lumen #app :is(.mcs-dt, .mcs-gt) .mcs-wk{ width:100%; min-width:0; }
  body.lumen #app .mcs-tw{ overflow-x:visible; }
  body.lumen #app .mcs-mo{ width:auto; }
  body.lumen #app .mcs-mo .lx-chip{ min-width:44px; }
  body.lumen #app .mcs-tools{ margin-left:0; width:100%; }
}
/* ══ /S-2 ══ */
/* ══ MigrateCloud v2 S-4 (13 Nov 2026): the setup page's Document checklists and Fees sections (plan-S S6, S7). Pickers in a row, a stage
   heading per group, the who chip pair, the fee inputs; on a phone the rows are S-2's cards (.mcs-cards) and the pickers stack. ══ */
body.lumen #app .mcs-clbar{ display:flex; flex-wrap:wrap; gap:12px 16px; margin: 0 0 12px; }
body.lumen #app .mcs-clf{ display:grid; gap:4px; min-width:0; }
body.lumen #app .mcs-clf label{ font: 500 12px/16px var(--lx-font); color: var(--lx-text-2); }
body.lumen #app .mcs-clf select{ min-width:200px; }
body.lumen #app .mcs-clh{ margin: 16px 0 4px; font: 600 13px/20px var(--lx-font); color: var(--lx-text); }
body.lumen #app table.list.mcs-cl{ table-layout:fixed; }
body.lumen #app .mcs-cl th:nth-child(2){ width:200px; }
body.lumen #app .mcs-cl th:nth-child(3){ width:104px; }
body.lumen #app .mcs-cl th:nth-child(4){ width:168px; }
body.lumen #app .mcs-cl th:nth-child(5){ width:56px; }
body.lumen #app .mcs-cl .mcs-clst{ box-sizing:border-box; width:100%; }
body.lumen #app .mcs-cl .mcs-cllab{ box-sizing:border-box; width:100%; min-width:0; }
body.lumen #app .mcs-cl .mcs-clfrom{ display:block; margin-top:2px; font-size:12px; }
body.lumen #app .mcs-who{ display:flex; gap:4px; flex-wrap:nowrap; }
body.lumen #app .mcs-ft .mcs-fee{ box-sizing:border-box; width:168px; text-align:right; font-feature-settings: var(--lx-num); }
body.lumen #app .mcs-vat{ margin: 8px 0 0; }
@media (max-width:760px){
  body.lumen #app .mcs-clbar{ display:grid; grid-template-columns: minmax(0, 1fr); }
  body.lumen #app .mcs-clf select{ min-width:0; width:100%; }
  body.lumen #app .mcs-cl .mcs-cllab, body.lumen #app .mcs-ft .mcs-fee{ width:100%; min-width:0; }
  body.lumen #app .mcs-who .lx-chip{ min-width:44px; justify-content:center; }
  body.lumen #app table.list.mcs-cl td.mcs-rmc:empty{ display:none; }
}
/* ══ /S-4 ══ */
/* ══ MigrateCloud v2 S-6 (13 Nov 2026): the setup page's Targets grid, the Analytics targets cell (plan-S S8 client), the student file's
   Commission tab and Overview line (plan-S K2). Tokens only, no new colour, no new control height; on a phone the grid rows are S-2's
   cards (.mcs-cards: one destination per card, the four boxes 2 x 2) and the claims table stacks. ══ */
body.lumen #app .mtg-bar{ display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; margin: 0 0 12px; }
body.lumen #app .mtg-bar label{ font: 500 12px/16px var(--lx-font); color: var(--lx-text-2); }
body.lumen #app .mtg-bar select{ min-width:160px; }
body.lumen #app .mtg-gt .mtg-in{ box-sizing:border-box; width:88px; text-align:right; font-feature-settings: var(--lx-num); }
body.lumen #app .mtg-gt [aria-invalid="true"]{ box-shadow: inset 0 0 0 1px var(--lx-bad) !important; }
body.lumen #app .mtg-gt .mtg-spc{ text-align:right; white-space:nowrap; }
body.lumen #app .mtg-gt .mtg-spc .btn{ display:inline-flex; align-items:center; gap:4px; }
body.lumen #app table.list tr.mtg-sub > td:first-child{ padding-left:28px !important; color: var(--lx-text-2); }
body.lumen #app .mtg-un td{ color: var(--lx-text-3); }
body.lumen #app .mtg-left{ font-feature-settings: var(--lx-num); color: var(--lx-text-2); }
body.lumen #app .mtg-over{ font-weight:600; color: var(--lx-bad); }
body.lumen #app .mtg-sr, body.lumen .mc6-sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
body.lumen #app .mtg-an{ margin-top:16px; }
body.lumen #app .mtg-ct td{ vertical-align:top; }
body.lumen #app .mtg-v{ display:flex; align-items:baseline; gap:2px; margin: 0 0 4px; font-feature-settings: var(--lx-num); color: var(--lx-text); }
body.lumen #app .mtg-ct .lx-meter{ max-width:120px; }
body.lumen .mc6-tab{ display:block; min-width:0; }
body.lumen .mc6-facts{ display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap:8px 16px; margin: 0 0 12px; }
body.lumen .mc6-facts div{ min-width:0; }
body.lumen .mc6-facts dt{ font: 500 12px/16px var(--lx-font); color: var(--lx-text-3); }
body.lumen .mc6-facts dd{ margin:0; font: 450 13px/20px var(--lx-font); color: var(--lx-text); overflow-wrap:anywhere; }
body.lumen .mc6-sh{ margin: 12px 0 8px; font: 600 13px/20px var(--lx-font); color: var(--lx-text); }
body.lumen .mc6-evl{ display:grid; gap:4px; margin:0; padding:0; list-style:none; }
body.lumen .mc6-evl li{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; font: 450 13px/20px var(--lx-font); }
body.lumen .mc6-evl li.ok svg{ color: var(--lx-ok); }
body.lumen .mc6-evl li.no svg{ color: var(--lx-bad); }
body.lumen .mc6-evn{ font-weight:600; color: var(--lx-text); }
body.lumen .mc6-tw{ min-width:0; overflow-x:auto; }
body.lumen table.list.mc6-tbl{ width:100%; }
body.lumen .mc6-tbl .mc6-num{ text-align:right; white-space:nowrap; font-feature-settings: var(--lx-num); }
body.lumen .mc6-tbl .mc6-act{ text-align:right; white-space:nowrap; }
body.lumen .mc6-ln{ display:flex; align-items:center; gap:8px; margin:0; font: 500 13px/20px var(--lx-font); color: var(--lx-text); }
body.lumen .mc6-ln svg{ color: var(--lx-text-3); }
body.lumen .mc6-line{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; min-width:0; }
@media (max-width:760px){
  body.lumen #app .mtg-bar select{ min-width:0; flex:1 1 100%; }
  body.lumen #app .mtg-gt .mtg-in{ width:100%; min-width:0; }
  body.lumen #app .mtg-gt .mtg-spc{ text-align:left; }
  body.lumen #app .mtg-gt td.mtg-spc:empty{ display:none; }
  body.lumen #app table.list tr.mtg-sub > td:first-child{ padding-left:0 !important; }
  body.lumen .mc6-facts{ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  body.lumen table.list.mc6-tbl, body.lumen table.list.mc6-tbl tbody{ display:block; width:100%; }
  body.lumen table.list.mc6-tbl thead{ display:none; }
  body.lumen table.list.mc6-tbl tr{ display:grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap:8px 12px; padding:12px 0; box-shadow: inset 0 -1px 0 var(--lx-line); }
  body.lumen table.list.mc6-tbl td{ display:block; height:auto; min-width:0; padding:0 !important; box-shadow:none; text-align:left; }
  body.lumen table.list.mc6-tbl td.mc6-wide, body.lumen table.list.mc6-tbl td.mc6-act{ grid-column: 1 / -1; }
  body.lumen table.list.mc6-tbl td[data-l]::before{ content: attr(data-l); display:block; margin-bottom:4px; font: 500 12px/16px var(--lx-font); color: var(--lx-text-3); }
}
/* ══ /S-6 ══ */
/* ══ mc-s1 M-d (MigrateCloud v2 ship 1, 13 Nov 2026): the drawer fee line, E&M Sales Missing fees / Review / banners / ledger line, the
   waive / void / catch-up dialogs. Lumen tokens only; no new colour, no new control height (buttons are .btn / .btn.small). ══ */
body.lumen .mcs-sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
body.lumen .mcs-fee{ margin: 8px 0 4px; }
body.lumen .mcs-fee-r{ display:flex; align-items:center; flex-wrap:wrap; gap:8px; min-height:36px; padding:4px 0; border-top:1px solid var(--lx-line); font: 400 13px/20px var(--lx-font); color: var(--lx-text); }
body.lumen .mcs-fee-r:first-of-type{ border-top:0; }
body.lumen .mcs-fee-k{ min-width:112px; font-weight:600; color: var(--lx-text); }
body.lumen .mcs-fee-m{ display:inline-flex; align-items:center; font: 400 12px/16px var(--lx-font); color: var(--lx-text-3); font-feature-settings: var(--lx-num); }
body.lumen .mcs-fee-m + .mcs-fee-m{ padding-left:8px; box-shadow: inset 1px 0 0 var(--lx-line); }
body.lumen .mcs-skel{ display:inline-block; width:40%; max-width:180px; height:12px; border-radius:6px; background: var(--lx-surface-2); }
body.lumen .mcs-skel-rows{ display:grid; gap:12px; padding: 4px 16px 16px; }
body.lumen .mcs-skel-rows > span{ display:block; height:12px; width:40%; border-radius:6px; background: var(--lx-surface-2); }
body.lumen .mcs-skel-rows > span:nth-child(2n){ width:25%; }
body.lumen #app .mcs-card{ margin: 0 0 12px; }
body.lumen #app .mcs-card-h{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; padding: 12px 16px; }
body.lumen #app .mcs-card-t{ font: 600 14px/20px var(--lx-font); color: var(--lx-text); }
body.lumen .mcs-grow{ flex:1 1 auto; }
body.lumen #app .mcs-line{ margin: 0 16px 12px; font: 400 13px/20px var(--lx-font); color: var(--lx-text-2); }
body.lumen #app .mcs-tw{ overflow-x:auto; }
body.lumen #app .mcs-tbl td{ vertical-align:top; }
body.lumen #app .mcs-tbl td .mcs-fee-m{ display:block; padding:0; box-shadow:none; }
body.lumen #app .mcs-num{ text-align:right; font-feature-settings: var(--lx-num); }
body.lumen #app .mcs-td-cb{ width:44px; text-align:center; }
body.lumen #app .mcs-foot{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; padding: 12px 16px; border-top:1px solid var(--lx-line); }
body.lumen #app .mcs-ledger{ display:flex; align-items:center; gap:8px; min-height:36px; margin: 0 0 14px; font: 500 13px/20px var(--lx-font); color: var(--lx-text-2); font-feature-settings: var(--lx-num); }
body.lumen #app .mcs-ledger > svg{ width:16px; height:16px; color: var(--lx-text-3); flex:none; }
body.lumen #app .mcs-banner{ margin: 0 0 12px; }
body.lumen .mcs-dlg-p{ margin: 8px 0 12px; font: 400 13px/20px var(--lx-font); color: var(--lx-text-2); }
body.lumen .mcs-lbl{ display:block; margin: 0 0 4px; font: 500 12px/16px var(--lx-font); color: var(--lx-text-2); }
body.lumen .mcs-ta{ display:block; width:100%; box-sizing:border-box; padding:8px 10px; border-radius: var(--lx-r-ctl, 8px); border:1px solid var(--lx-line-2); background: var(--lx-surface); color: var(--lx-text); font: 400 13px/20px var(--lx-font); resize:vertical; }
body.lumen .mcs-ta:focus-visible{ outline:none; box-shadow: var(--lx-focus); }
body.lumen .mcs-hint{ margin-top:4px; font: 400 12px/16px var(--lx-font); color: var(--lx-text-3); }
body.lumen .mcs-err{ margin-top:4px; font: 500 12px/16px var(--lx-font); color: var(--lx-bad); }
body.lumen .mcs-err:empty{ display:none; }
body.lumen .mcs-dlg-acts{ display:flex; justify-content:flex-end; gap:8px; flex-wrap:wrap; margin-top:16px; }
@media (max-width: 600px){
  body.lumen #app .mcs-tbl thead{ display:none; }
  body.lumen #app .mcs-tbl, body.lumen #app .mcs-tbl tbody, body.lumen #app .mcs-tbl tr, body.lumen #app .mcs-tbl td{ display:block; width:auto; }
  body.lumen #app .mcs-tbl tr{ padding: 8px 16px; border-top:1px solid var(--lx-line); }
  body.lumen #app .mcs-tbl td{ padding: 2px 0; border:0; text-align:left; }
  body.lumen #app .mcs-tbl td[data-l]:not([data-l=""])::before{ content: attr(data-l); display:block; font: 500 12px/16px var(--lx-font); color: var(--lx-text-3); }
  body.lumen #app .mcs-td-cb{ width:auto; }
  body.lumen #app .mcs-tw{ overflow-x:visible; }
  body.lumen .mcs-fee-k{ min-width:0; width:100%; }
}
/* ══ /mc-s1 M-d ══ */
/* ══ C-5 "Show" chip (MigrateCloud v2 ship 2; plan-C-roles.md §2.4 C4-1): app.js emShowChip, beside a masked number in the E&M file drawer.
   The drawer is an .overlay, outside #app, so the house chip rule above does not reach it: the same chip here, 28 desktop, 40 phone. ══ */
body.lumen :is(#app, .overlay) .lx-chip.em-showchip{ height: var(--lx-ctl-sm) !important; min-height: var(--lx-ctl-sm) !important; padding: 0 var(--lx-px-sm) !important; display:inline-flex !important; align-items:center; align-self:center; gap:6px;
  border:0 !important; border-radius: var(--lx-r-ctl) !important; background: transparent !important; color: var(--lx-text-2) !important; box-shadow: inset 0 0 0 1px var(--lx-line-2) !important;
  font: 500 var(--lx-fs-sm)/1 var(--lx-font) !important; text-transform:none !important; white-space:nowrap; cursor:pointer; }
body.lumen :is(#app, .overlay) .lx-chip.em-showchip:hover{ background: var(--lx-surface-2) !important; color: var(--lx-text) !important; }
body.lumen :is(#app, .overlay) .lx-chip.em-showchip:focus-visible{ outline: 2px solid var(--lx-focus); outline-offset: 2px; }
body.lumen :is(#app, .overlay) .lx-chip.em-showchip:disabled{ opacity:.6; cursor:default; }
@media (max-width:760px){ body.lumen :is(#app, .overlay) .lx-chip.em-showchip{ height: var(--lx-ctl-md) !important; min-height: var(--lx-ctl-md) !important; } }
/* ══ /C-5 ══ */
/* ══ MigrateCloud v2 C-7 · Access log tab in Access Control (plan-C-roles.md §2.5; tokens only; phone rows stack) ══ */
body.lumen #app .acl-nav .lx-tabs{ margin: 0 0 16px; }
body.lumen #app .acl-tools .acl-dt{ display:inline-flex; align-items:center; gap:6px; font: 500 12px/16px var(--lx-font); color: var(--lx-text-2); }
body.lumen #app .acl-tools .acl-dt input{ width:140px; box-sizing:border-box; }
body.lumen #app .acl-sk{ background: var(--lx-surface); border-radius: var(--lx-r-card); box-shadow: var(--lx-e1); }
body.lumen #app table.list.acl-table{ width:100%; }
body.lumen #app table.list.acl-table td.acl-when{ white-space:nowrap; font-feature-settings: var(--lx-num); color: var(--lx-text-2); }
body.lumen #app table.list.acl-table td.acl-det{ color: var(--lx-text-2); overflow-wrap:anywhere; }
body.lumen #app .acl-link{ color: var(--lx-accent-text); font-weight:500; text-decoration:none; border-radius:4px; }
body.lumen #app .acl-link:hover{ text-decoration:underline; }
body.lumen #app .acl-link:focus-visible{ outline:none; box-shadow: var(--lx-focus); }
body.lumen #app .acl-pager{ display:flex; align-items:center; justify-content:flex-end; gap:8px; margin-top:12px; }
@media (max-width:760px){
  body.lumen #app .lx-toolbar.acl-tools > *{ flex: 1 1 calc(50% - 4px) !important; min-width:0 !important; max-width:none !important; }
  body.lumen #app .lx-toolbar.acl-tools > input.stu-search{ flex-basis:100% !important; }
  body.lumen #app .acl-tools .acl-dt input{ flex:1; width:auto; min-width:0; }
  body.lumen #app table.list.acl-table thead{ display:none; }
  body.lumen #app table.list.acl-table, body.lumen #app table.list.acl-table tbody{ display:block; width:100%; }
  body.lumen #app table.list.acl-table tr{ display:grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap:12px; row-gap:2px; padding:10px 12px; box-shadow: inset 0 -1px 0 var(--lx-line); }
  body.lumen #app table.list.acl-table td{ display:block; height:auto; min-width:0; padding:0 !important; box-shadow:none; overflow-wrap:break-word; }
  body.lumen #app table.list.acl-table td.acl-when{ grid-column:1; grid-row:1; }
  body.lumen #app table.list.acl-table td.acl-act{ grid-column:2; grid-row:1; text-align:right; font-weight:500; }
  body.lumen #app table.list.acl-table td.acl-who{ grid-column:1; grid-row:2; }
  body.lumen #app table.list.acl-table td.acl-rec{ grid-column:2; grid-row:2; text-align:right; }
  body.lumen #app table.list.acl-table td.acl-det{ grid-column: 1 / -1; grid-row:3; }
  body.lumen #app table.list.acl-table td.acl-det:empty{ display:none; }
  body.lumen #app .acl-pager{ justify-content:space-between; }
}
/* ══ /C-7 ══ */
/* ══ MigrateCloud v2 C-10: the export / import reason dialog (exportGate; plan-C-roles.md §2.9). A native <dialog> in #app: a 440 px
   panel (the width less 16 px gutters on a phone), title 18/24 600, one 36 px field (44 on a phone) with the error line and the count
   under it, actions at the dialog height (36, 44 on a phone), Cancel then the one primary. Tokens only. ══ */
body.lumen #app dialog.xg-dlg{ width:440px; max-width: calc(100vw - 32px); box-sizing:border-box; margin:auto; padding:24px; border:1px solid var(--lx-line); border-radius: var(--lx-r-panel); background: var(--lx-surface); color: var(--lx-text); box-shadow: var(--lx-e3); }
body.lumen #app dialog.xg-dlg::backdrop{ background: var(--lx-scrim); }   /* merge fix: token only, no literal fallback (Hallmark floor; --lx-scrim is set in both themes) */
body.lumen #app .xg-t{ margin:0 0 8px; font: 600 18px/24px var(--lx-font); color: var(--lx-text); background: transparent; }
body.lumen #app .xg-p{ margin:0 0 16px; font: 400 var(--lx-fs-md)/20px var(--lx-font); color: var(--lx-text-2); background: transparent; }
body.lumen #app .xg-l{ display:block; margin:0 0 6px; font: 500 12px/16px var(--lx-font); color: var(--lx-text-2); background: transparent; }
body.lumen #app dialog.xg-dlg .xg-in{ display:block; width:100%; box-sizing:border-box; height: var(--lx-ctl-lg) !important; min-height: var(--lx-ctl-lg) !important; padding: 0 var(--lx-px-md); border:1px solid var(--lx-line-2); border-radius: var(--lx-r-ctl); background: var(--lx-surface); color: var(--lx-text); font: 400 var(--lx-fs-lg)/20px var(--lx-font); }
body.lumen #app dialog.xg-dlg .xg-in:focus-visible{ outline:2px solid var(--lx-focus); outline-offset:1px; }
body.lumen #app dialog.xg-dlg .xg-in[aria-invalid="true"]{ border-color: var(--lx-bad); }
body.lumen #app .xg-under{ display:flex; gap:12px; align-items:flex-start; min-height:16px; margin:6px 0 0; }
body.lumen #app .xg-err{ flex:1; font: 500 12px/16px var(--lx-font); color: var(--lx-bad); background: transparent; }
body.lumen #app .xg-n{ flex:none; font: 400 12px/16px var(--lx-font); color: var(--lx-text-3); background: transparent; font-variant-numeric: tabular-nums; }
body.lumen #app .xg-acts{ display:flex; justify-content:flex-end; gap:8px; margin:20px 0 0; }
body.lumen #app dialog.xg-dlg .xg-acts .btn{ height: var(--lx-ctl-lg) !important; min-height: var(--lx-ctl-lg) !important; padding: 0 var(--lx-px-lg) !important; }
@media (max-width:760px){
  body.lumen #app dialog.xg-dlg{ padding:20px 16px; }
  body.lumen #app .xg-acts .btn{ flex:1; }
}
/* ══ /C-10 ══ */
/* ══ mc-ws A-14 ══ */
/* MigrateCloud v2 ship 3 A-14 (plan-A §2.6): Plan my day follow-ups (app.js emFollowView) and Intake deadlines (emIntakeListHTML). Lumen tokens
   only; controls on the 28/32 desk and 32/40/44 phone system; rows 64 (phone 64, stacked); the week strip scrolls sideways on a phone. */
body.lumen .mcw-fu-segbar{ display:flex; align-items:center; margin:0 0 12px; min-width:0; }
body.lumen .mcw-fu, body.lumen .mcw-ik{ min-width:0; color: var(--lx-text); font: 450 13px/20px var(--lx-font); }
body.lumen .mcw-fu-strip{ display:grid; grid-template-columns: repeat(8, minmax(72px, 1fr)); gap:6px; margin:0 0 16px; min-width:0; overflow-x:auto; scrollbar-width:none; }
body.lumen .mcw-fu-strip::-webkit-scrollbar{ display:none; }
body.lumen .mcw-fu-col{ all:unset; box-sizing:border-box; display:flex; flex-direction:column; justify-content:center; gap:0; height:44px; padding:2px 10px; border-radius: var(--lx-r-ctl); background: var(--lx-surface); color: var(--lx-text-2); box-shadow: inset 0 0 0 1px var(--lx-line); cursor:pointer; transition: background var(--lx-d-hover); }
body.lumen .mcw-fu-col:hover{ background: var(--lx-surface-2); color: var(--lx-text); }
body.lumen .mcw-fu-col:focus-visible{ box-shadow: var(--lx-focus); }
body.lumen .mcw-fu-col[aria-pressed="true"]{ background: var(--lx-accent-tint); color: var(--lx-accent-text); box-shadow: inset 0 0 0 1px var(--lx-accent-ring); }
body.lumen .mcw-fu-cl{ font: 500 11.5px/14px var(--lx-font); white-space:nowrap; }
body.lumen .mcw-fu-cn{ font: 600 15px/20px var(--lx-font); font-feature-settings: var(--lx-num); color: var(--lx-text); }
body.lumen .mcw-fu-col.bad .mcw-fu-cl, body.lumen .mcw-fu-col.bad .mcw-fu-cn{ color: var(--lx-bad); }
body.lumen .mcw-fu-tabs{ margin:0 0 8px; }
body.lumen .mcw-fu-filt{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 8px; font: 500 12.5px/18px var(--lx-font); color: var(--lx-text-2); }
body.lumen .mcw-fu-list, body.lumen .mcw-fu-olist{ margin:0; padding:0; list-style:none; }
body.lumen .mcw-fu-row{ padding:0; box-shadow: inset 0 -1px 0 var(--lx-line); }
body.lumen .mcw-fu-row:last-child{ box-shadow:none; }
body.lumen .mcw-fu-main{ display:flex; align-items:center; gap:12px; min-height:64px; padding:8px 4px; min-width:0; }
body.lumen .mcw-fu-av{ display:inline-grid; place-items:center; flex:none; width:32px; height:32px; border-radius:50%; background: var(--lx-surface-3); color: var(--lx-text-2); font: 600 12px/1 var(--lx-font); }
body.lumen .mcw-fu-txt{ display:flex; flex-direction:column; gap:2px; flex:1 1 auto; min-width:0; }
body.lumen .mcw-fu-l1{ display:flex; align-items:center; gap:8px; min-width:0; }
body.lumen .mcw-fu-name{ all:unset; box-sizing:border-box; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; cursor:pointer; border-radius:4px; font: 600 14px/20px var(--lx-font); color: var(--lx-text); }
body.lumen .mcw-fu-name:hover{ text-decoration:underline; }
body.lumen .mcw-fu-name:focus-visible{ box-shadow: var(--lx-focus); }
body.lumen .mcw-fu-sub{ flex:none; background: transparent; color: var(--lx-text-2); box-shadow: inset 0 0 0 1px var(--lx-line-2); }
body.lumen .mcw-fu-meta{ display:flex; flex-wrap:wrap; align-items:center; gap:2px 0; min-width:0; font: 450 12.5px/18px var(--lx-font); color: var(--lx-text-2); }
body.lumen .mcw-fu-mi{ display:inline-flex; align-items:center; min-width:0; padding:0 8px; box-shadow: inset 1px 0 0 var(--lx-line); }
body.lumen .mcw-fu-mi:first-child{ padding-left:0; box-shadow:none; }
body.lumen .mcw-fu-when{ flex:none; }
body.lumen .mcw-fu-act{ display:flex; align-items:center; gap:6px; flex:none; }
body.lumen #app .mcw-fu-act .mcw-fu-ib{ display:inline-grid; place-items:center; width:32px; height:32px; padding:0; text-decoration:none; }
body.lumen .mcw-fu-row .mcw-lb.mcw-lb-compact{ margin:0 4px 12px 48px; }
body.lumen .mcw-fu-fold{ margin:16px 0 0; padding:0; border-radius: var(--lx-r-card); background: var(--lx-surface); box-shadow: inset 0 0 0 1px var(--lx-line); }
body.lumen .mcw-fu-fold > summary{ display:flex; align-items:center; gap:8px; min-height:44px; padding:0 12px; cursor:pointer; list-style:none; border-radius: var(--lx-r-card); font: 600 13px/20px var(--lx-font); color: var(--lx-text); }
body.lumen .mcw-fu-fold > summary::-webkit-details-marker{ display:none; }
body.lumen .mcw-fu-fold > summary:focus-visible{ outline:none; box-shadow: var(--lx-focus); }
body.lumen .mcw-fu-fold > summary svg{ color: var(--lx-text-3); }
body.lumen .mcw-fu-olist{ padding:0 12px 4px; }
body.lumen .mcw-fu-orow{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 12px; min-height:44px; padding:6px 0; box-shadow: inset 0 1px 0 var(--lx-line); }
body.lumen .mcw-fu-skc{ height:44px; }
body.lumen .mcw-fu-skr{ display:block; height:48px; margin:8px 0; }
body.lumen .mcw-ik-skr{ display:block; height:36px; margin:0 0 8px; }
body.lumen .mcw-fu-ban, body.lumen .mcw-ik-ban{ display:flex; flex-wrap:wrap; align-items:center; gap:10px; min-height:44px; margin:0 0 12px; padding:6px 8px 6px 14px; border-radius: var(--lx-r-card); background: var(--lx-bad-tint); color: var(--lx-text); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lx-bad) 22%, transparent); }
body.lumen .mcw-fu-ban > svg, body.lumen .mcw-ik-ban > svg{ flex:none; color: var(--lx-bad); }
body.lumen .mcw-fu-ban .btn, body.lumen .mcw-ik-ban .btn{ margin-left:auto; }
body.lumen .mcw-ik-in{ font-weight:600; }
body.lumen .mcw-ik-n{ text-align:right; font-feature-settings: var(--lx-num); }
@media (max-width:760px){
  body.lumen .mcw-fu-strip{ display:flex; margin:0 -16px 12px; padding:0 16px; }
  body.lumen .mcw-fu-col{ flex:0 0 76px; }
  body.lumen .mcw-fu-main{ flex-wrap:wrap; gap:4px 12px; padding:8px 0; }
  body.lumen .mcw-fu-txt{ flex:1 1 calc(100% - 44px); }
  body.lumen .mcw-fu-when{ margin-left:44px; }
  body.lumen .mcw-fu-act{ margin-left:auto; }
  body.lumen #app .mcw-fu-act .mcw-fu-ib{ width:40px; height:40px; }
  body.lumen #app .mcw-fu-act .mcw-fu-wa{ display:none !important; }
  body.lumen .mcw-fu-row .mcw-lb.mcw-lb-compact{ margin:0 0 12px; }
  body.lumen #app table.mcw-ik-t, body.lumen #app table.mcw-ik-t tbody{ display:block; box-shadow:none !important; background: transparent !important; }
  body.lumen #app table.mcw-ik-t thead{ display:none; }
  body.lumen #app table.mcw-ik-t tr{ display:grid; grid-template-columns: 96px minmax(0,1fr); gap:2px 8px; margin:0 0 8px; padding:8px 12px; border-radius: var(--lx-r-card); background: var(--lx-surface); box-shadow: inset 0 0 0 1px var(--lx-line); }
  body.lumen #app table.mcw-ik-t td{ display:contents; height:auto; padding:0 !important; box-shadow:none; }
  body.lumen #app table.mcw-ik-t td::before{ content: attr(data-l); color: var(--lx-text-3); font: 500 12px/20px var(--lx-font); }
  body.lumen #app table.mcw-ik-t td.mcw-ik-n{ text-align:left; }
}
/* ══ /mc-ws A-14 ══ */
/* ══ mc-ws A-7b ══ */
/* MigrateCloud v2 ship 3 A-7b (plan-A §2.6 Client files; r2 B-M-5): the Client files list (app.js emListHTML). Lumen tokens only; toolbar
   28 (phone 32/40), step chips 28 that scroll sideways on a phone, rows 44 (desk) and stacked 72 px rows on a phone; no horizontal page scroll. */
body.lumen .mcw-cf{ min-width:0; color: var(--lx-text); font: 450 13px/20px var(--lx-font); }
body.lumen #app .lx-toolbar.mcw-cf-tools input.mcw-cf-q{ flex: 1 1 260px !important; max-width:360px; }
body.lumen #app .mcw-cf-tools .mcw-cf-seg{ height: var(--lx-ctl-sm); }
body.lumen #app .mcw-cf-tools .mcw-cf-seg > button{ height: calc(var(--lx-ctl-sm) - 4px); }
body.lumen #app .mcw-cf-tools .mcw-cf-hsel{ max-width:220px; }
body.lumen .mcw-cf-chips{ display:flex; flex-wrap:wrap; gap:6px; margin:0 0 12px; min-width:0; }
body.lumen #app .mcw-cf-chips .lx-chip, body.lumen #app .mcw-cf-fil .lx-chip, body.lumen #app .mcw-cf-tools .lx-chip{ height: var(--lx-ctl-sm) !important; min-height: var(--lx-ctl-sm) !important; gap:6px; }
body.lumen .mcw-cf-cn{ font-feature-settings: var(--lx-num); color: var(--lx-text-3); font-weight:600; }
body.lumen #app .mcw-cf-chips .lx-chip[aria-pressed="true"] .mcw-cf-cn{ background: var(--lx-accent-tint); color: var(--lx-accent-text); }
body.lumen .mcw-cf-fil{ display:flex; flex-wrap:wrap; gap:6px; margin:0 0 12px; }
body.lumen #app table.mcw-cf-t tr.mcw-cf-tr{ cursor:pointer; }
body.lumen #app table.mcw-cf-t td{ vertical-align:middle; }
body.lumen .mcw-cf-who{ min-width:0; }
body.lumen .mcw-cf-name, body.lumen .mcw-cf-lnk{ all:unset; box-sizing:border-box; cursor:pointer; border-radius:4px; color: var(--lx-text); }
body.lumen .mcw-cf-name{ display:block; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font: 600 13px/20px var(--lx-font); }
body.lumen .mcw-cf-lnk{ font-weight:600; text-decoration:underline; }
body.lumen :is(.mcw-cf-name, .mcw-cf-lnk):hover{ text-decoration:underline; }
body.lumen :is(.mcw-cf-name, .mcw-cf-lnk):focus-visible{ box-shadow: var(--lx-focus); }
body.lumen .mcw-cf-no, body.lumen .mcw-cf-sub{ display:block; font: 450 12px/16px var(--lx-font); color: var(--lx-text-3); font-feature-settings: var(--lx-num); }
body.lumen .mcw-cf-st{ display:block; font-weight:600; }
body.lumen .mcw-cf-next{ white-space:nowrap; }
body.lumen .mcw-cf-nx{ display:block; max-width:240px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font: 450 12px/16px var(--lx-font); color: var(--lx-text-2); margin-top:2px; }
body.lumen .mcw-cf-mi{ display:inline-flex; align-items:center; padding:0 8px; box-shadow: inset 1px 0 0 var(--lx-line); }
body.lumen .mcw-cf-mi:first-child{ padding-left:0; box-shadow:none; }
body.lumen .mcw-cf-mut{ color: var(--lx-text-3); }
body.lumen .mcw-cf-vob{ margin-top:2px; background: transparent; color: var(--lx-text-2); box-shadow: inset 0 0 0 1px var(--lx-line-2); }
body.lumen .mcw-cf-items .lx-badge{ margin-bottom:2px; }
body.lumen .mcw-cf-act{ text-align:right; white-space:nowrap; }
body.lumen .mcw-cf-more{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; margin:12px 0 0; font: 450 12px/16px var(--lx-font); }
body.lumen .mcw-cf-vh{ display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 12px; margin:24px 0 8px; }
body.lumen .mcw-cf-h3{ margin:0; font: 600 14px/20px var(--lx-font); color: var(--lx-text); }
body.lumen .mcw-cf-skel{ display:flex; flex-direction:column; gap:8px; }
body.lumen .mcw-cf-skr{ display:block; height:44px; }
body.lumen .mcw-cf-ban, body.lumen .mcw-cf-warn{ display:flex; flex-wrap:wrap; align-items:center; gap:10px; min-height:44px; margin:0 0 12px; padding:6px 8px 6px 14px; border-radius: var(--lx-r-card); color: var(--lx-text); }
body.lumen .mcw-cf-ban{ background: var(--lx-bad-tint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lx-bad) 22%, transparent); }
body.lumen .mcw-cf-warn{ background: var(--lx-warn-tint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lx-warn) 22%, transparent); }
body.lumen .mcw-cf-ban > svg{ flex:none; color: var(--lx-bad); }
body.lumen .mcw-cf-warn > svg{ flex:none; color: var(--lx-warn); }
body.lumen .mcw-cf-warn > span{ flex:1 1 240px; min-width:0; }
body.lumen .mcw-cf-ban .btn{ margin-left:auto; }
body.lumen .mcw-cf-sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
@media (max-width:760px){
  body.lumen #app .lx-toolbar.mcw-cf-tools input.mcw-cf-q{ flex:1 1 100% !important; max-width:none; min-width:0 !important; height:40px !important; min-height:40px !important; }
  body.lumen #app .mcw-cf-tools .mcw-cf-seg{ max-width:100%; height: var(--lx-ctl-md); overflow-x:auto; scrollbar-width:none; }
  body.lumen #app .mcw-cf-tools .mcw-cf-seg > button{ height: calc(var(--lx-ctl-md) - 4px); }
  body.lumen .mcw-cf-chips{ flex-wrap:nowrap; overflow-x:auto; margin:0 -16px 12px; padding:0 16px; scrollbar-width:none; }
  body.lumen .mcw-cf-chips::-webkit-scrollbar{ display:none; }
  body.lumen #app .mcw-cf-chips .lx-chip{ flex:none; }
  body.lumen #app table.mcw-cf-t, body.lumen #app table.mcw-cf-t tbody{ display:block; overflow:visible !important; box-shadow:none !important; background: transparent !important; }
  body.lumen #app table.mcw-cf-t thead{ display:none; }
  body.lumen #app table.mcw-cf-t tr{ display:flex; flex-wrap:wrap; align-items:flex-start; gap:2px 8px; min-height:72px; margin:0 0 8px; padding:10px 12px; border-radius: var(--lx-r-card); background: var(--lx-surface); box-shadow: inset 0 0 0 1px var(--lx-line); }
  body.lumen #app table.mcw-cf-t td{ display:block; flex:0 0 100%; height:auto; padding:0 !important; box-shadow:none; min-width:0; }
  body.lumen #app table.mcw-cf-t tr:hover > td{ background: transparent !important; }
  body.lumen #app table.mcw-cf-t tr:hover{ background: var(--lx-surface-2); }
  body.lumen #app table.mcw-cf-t td.mcw-cf-who{ flex:1 1 0; }
  body.lumen #app table.mcw-cf-t td.mcw-cf-stg{ flex:0 1 auto; max-width:50%; text-align:right; }
  body.lumen #app table.mcw-cf-t td.mcw-cf-next{ order:1; display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; white-space:normal; }
  body.lumen #app table.mcw-cf-t td.mcw-cf-next .mcw-cf-nx{ margin:0; max-width:100%; }
  body.lumen #app table.mcw-cf-t :is(td.mcw-cf-dest, td.mcw-cf-with, td.mcw-cf-last, td.mcw-cf-items){ order:2; font: 450 12px/18px var(--lx-font); color: var(--lx-text-2); }
  body.lumen #app table.mcw-cf-t tr.mcw-cf-tr:not([data-mcwcf-mv]) :is(td.mcw-cf-dest, td.mcw-cf-with, td.mcw-cf-last){ flex:0 1 auto; padding-right:8px !important; }
  body.lumen #app table.mcw-cf-t tr.mcw-cf-tr:not([data-mcwcf-mv]) :is(td.mcw-cf-with, td.mcw-cf-last){ padding-left:8px !important; box-shadow: inset 1px 0 0 var(--lx-line); }
  body.lumen #app table.mcw-cf-t tr.mcw-cf-tr:not([data-mcwcf-mv]) :is(.mcw-cf-no, td.mcw-cf-stg .mcw-cf-sub){ display:none; }
  body.lumen #app table.mcw-cf-t td.mcw-cf-with::before{ content: attr(data-l) ": "; color: var(--lx-text-3); }
  body.lumen #app table.mcw-cf-t td.mcw-cf-last::before{ content: "Last contact: "; color: var(--lx-text-3); }
  body.lumen #app table.mcw-cf-t td.mcw-cf-act{ order:3; text-align:left; }
  body.lumen #app table.mcw-cf-t td.mcw-cf-act .btn{ height:40px; min-height:40px; }
  body.lumen #app .mcw-cf-more .btn{ height:40px; min-height:40px; }
}
/* ══ /mc-ws A-7b ══ */
/* ══ mc-ws A-12 ══ */
/* MigrateCloud v2 ship 3 A-12 (plan-A §2.11, r2 B-M-5): the Visa & arrival tab inside the student file (app.js emVisaTabHTML). Lumen tokens only,
   no light text. Desktop: the Visa card left, Before departure and After arrival stacked right; at 900 px and below one column. */
body.lumen .mcw-vt{ display:grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap:16px; align-items:start; }
body.lumen .mcw-vt-side{ display:flex; flex-direction:column; gap:16px; min-width:0; }
body.lumen .mcw-vt-card{ min-width:0; padding:16px; border-radius: var(--lx-r-card); background: var(--lx-surface); color: var(--lx-text); box-shadow: inset 0 0 0 1px var(--lx-line); }
body.lumen .mcw-vt-card .mcw-h .lx-badge{ flex:none; }
body.lumen .mcw-vt-h4{ margin:16px 0 8px; font: 600 13px/20px var(--lx-font); color: var(--lx-text); }
body.lumen .mcw-vt-chk{ margin:12px 0 0; padding:0 0 4px; box-shadow: inset 0 -1px 0 var(--lx-line); }
body.lumen .mcw-vt-st dd{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
body.lumen .mcw-vt-warn{ display:flex; flex-direction:column; gap:6px; margin:8px 0; padding:0; list-style:none; }
body.lumen .mcw-vt-warn li{ display:flex; align-items:flex-start; gap:8px; font: 450 13px/19px var(--lx-font); color: var(--lx-text); }
body.lumen .mcw-vt-warn .lx-badge{ flex:none; }
body.lumen .mcw-vt-acts{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:8px 0; }
body.lumen .mcw-vt-ups{ margin-bottom:8px; }
body.lumen .mcw-vt-form{ display:flex; flex-direction:column; gap:8px; margin:8px 0 0; padding:12px; border-radius: var(--lx-r-card); background: var(--lx-surface-2); color: var(--lx-text); box-shadow: inset 0 0 0 1px var(--lx-line); }
body.lumen .mcw-vt-fr{ display:flex; flex-wrap:wrap; align-items:flex-end; gap:8px; }
body.lumen .mcw-vt-f{ display:flex; flex-direction:column; gap:4px; min-width:0; font: 500 12px/16px var(--lx-font); color: var(--lx-text-2); }
body.lumen .mcw-vt-f.mcw-vt-grow{ flex:1 1 200px; }
body.lumen .mcw-vt-f :is(input, select){ width:100%; min-width:0; box-sizing:border-box; }
body.lumen .mcw-vt-form .mcw-err[hidden]{ display:none; }
body.lumen .mcw-vt-mcf{ grid-template-columns: 112px minmax(0,1fr) auto; }
body.lumen .mcw-vt-mc{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; min-height:32px; }
body.lumen .mcw-vt-mc > span:first-child{ width:112px; color: var(--lx-text-3); }
body.lumen .mcw-vt-seg{ display:inline-flex; flex-wrap:wrap; gap:2px; max-width:100%; margin:0 0 12px; padding:2px; border-radius: var(--lx-r-ctl); background: var(--lx-surface-3); color: var(--lx-text-2); box-shadow: inset 0 0 0 1px var(--lx-line); box-sizing:border-box; }
body.lumen .mcw-vt-seg > button{ all:unset; box-sizing:border-box; height: var(--lx-ctl-sm); padding:0 10px; display:inline-flex; align-items:center; border-radius:6px; cursor:pointer; white-space:nowrap; font: 500 13px/1 var(--lx-font); background: transparent; color: var(--lx-text-2); }
body.lumen .mcw-vt-seg > button:hover{ background: var(--lx-surface-2); color: var(--lx-text); }
body.lumen .mcw-vt-seg > button.on{ background: var(--lx-surface); color: var(--lx-text); box-shadow: var(--lx-e1); }
body.lumen .mcw-vt-seg > button:focus-visible{ box-shadow: var(--lx-focus); }
body.lumen .mcw-file .lx-banner.mcw-vt-ban{ align-items:flex-start; margin:0 0 12px; padding:10px 12px; }
body.lumen .mcw-vt-vb{ margin:0 0 12px; }
body.lumen .mcw-vt-bt{ display:flex; flex-direction:column; gap:4px; flex:1 1 220px; min-width:0; }
body.lumen .mcw-vt-bt ul{ margin:0; padding-left:18px; }
body.lumen .mcw-file .lx-banner.mcw-vt-ban .mcw-vt-acts{ flex:1 1 100%; margin:4px 0 0; }
body.lumen .mcw-file .lx-banner.mcw-vt-ban .mcw-vt-acts .btn{ margin-left:0; }
@media (max-width:900px){ body.lumen .mcw-vt{ grid-template-columns: minmax(0,1fr); } }
@media (max-width:760px){
  body.lumen .mcw-vt-card{ padding:12px; }
  body.lumen .mcw-vt-mcf{ grid-template-columns: minmax(0,1fr) auto; }
  body.lumen .mcw-vt-mcf label{ grid-column: 1 / -1; }
  body.lumen .mcw-vt-fr{ flex-direction:column; align-items:stretch; }
  body.lumen .mcw-vt-seg > button{ height: var(--lx-ctl-md); }
  body.lumen .mcw-tl.mcw-vt-ups li{ grid-template-columns: minmax(0,1fr); gap:2px; }
}
/* ══ /mc-ws A-12 ══ */
/* ══ mc-ws A-10 ══ */
/* MigrateCloud v2 ship 3 A-10 (plan-A §2.9, §2.6): the student file's Applications tab (app.js emAppsTabHTML) and the counter row of MigrateCloud →
   Applications (apListView with mc_ws.on). Lumen tokens only, no light text. Rows are two lines on a surface card; the accepted row carries the
   deposit and CoE block (surface-2). Controls 32 desktop, 40 phone; phone rows wrap (university, then status), the block 2 columns, counters 3 across. */
body.lumen .mcw-ap{ display:flex; flex-direction:column; min-width:0; }
body.lumen .mcw-ap-head{ display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:0 0 8px; }
body.lumen .mcw-ap-head .mcw-h{ flex:1 1 auto; margin:0; }
body.lumen .mcw-ap-rule{ display:flex; align-items:center; gap:6px; margin:0 0 8px; font: 450 12.5px/18px var(--lx-font); color: var(--lx-text-3); }
body.lumen .mcw-ap-list{ display:flex; flex-direction:column; gap:8px; }
body.lumen .mcw-ap-row{ display:flex; flex-direction:column; gap:6px; min-width:0; padding:12px; border-radius: var(--lx-r-card); background: var(--lx-surface); box-shadow: inset 0 0 0 1px var(--lx-line); }
body.lumen .mcw-ap-row.acc{ box-shadow: inset 0 0 0 1px var(--lx-accent-ring); }
body.lumen .mcw-ap-l1{ display:flex; align-items:center; gap:8px 12px; min-width:0; }
body.lumen .mcw-ap-uni{ display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 8px; flex:1 1 auto; min-width:0; }
body.lumen .mcw-ap-uni b{ font: 600 14px/20px var(--lx-font); color: var(--lx-text); overflow-wrap:anywhere; }
body.lumen .mcw-ap-prog{ font: 450 12.5px/18px var(--lx-font); color: var(--lx-text-2); }
body.lumen .mcw-ap-st{ flex:none; max-width:100%; }
body.lumen .mcw-ap-sel{ height:32px; min-width:176px; max-width:100%; box-sizing:border-box; }
body.lumen .mcw-ap-l2{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 0; font: 450 12.5px/18px var(--lx-font); color: var(--lx-text-2); }
body.lumen .mcw-ap-cond{ margin:0; font: 450 12.5px/18px var(--lx-font); color: var(--lx-text-2); overflow-wrap:anywhere; }
body.lumen .mcw-ap-cond span{ margin-right:4px; color: var(--lx-text-3); }
body.lumen .mcw-ap-foot{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 8px; min-width:0; }
body.lumen .mcw-ap-acts{ display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin-left:auto; }
body.lumen .mcw-ap-acts .btn, body.lumen .mcw-ap-foot > .btn{ display:inline-flex; align-items:center; gap:6px; }
body.lumen .mcw-ap-note{ font: 450 12.5px/18px var(--lx-font); color: var(--lx-text-3); }
body.lumen .mcw-ap-acc{ margin:4px 0 0; padding:12px; border-radius: var(--lx-r-ctl); background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); }
body.lumen .mcw-ap-acc-h{ margin:0 0 8px; font: 600 13px/18px var(--lx-font); color: var(--lx-text); }
body.lumen .mcw-ap-grid{ display:grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap:8px 12px; }
body.lumen .mcw-ap-f{ display:flex; flex-direction:column; gap:4px; min-width:0; font: 500 12px/16px var(--lx-font); color: var(--lx-text-2); }
body.lumen .mcw-ap-f.wide{ grid-column: span 2; }
body.lumen .mcw-ap-f :is(input, select){ width:100%; min-width:0; max-width:none; height:32px; box-sizing:border-box; }
body.lumen .mcw-ap-f [aria-invalid="true"]{ box-shadow: inset 0 0 0 1px var(--lx-bad); }
body.lumen .mcw-ap-fe{ font: 450 12px/16px var(--lx-font); color: var(--lx-bad); }
body.lumen .mcw-ap-fe:empty{ display:none; }
body.lumen .mcw-ap-tip{ display:flex; align-items:flex-start; gap:6px; margin:8px 0 0; font: 450 12.5px/18px var(--lx-font); color: var(--lx-text-3); }
body.lumen .mcw-ap-tip svg{ flex:none; margin-top:2px; }
body.lumen .mcw-ap-accf{ display:flex; align-items:center; justify-content:flex-end; gap:8px; margin-top:8px; }
body.lumen .mcw-ap-msg:empty{ display:none; }
body.lumen .mcw-ap .ap-det{ margin-top:4px; }
body.lumen .mcw-ap-skr{ gap:10px; }
body.lumen .mcw-ap-sk1{ width:45%; height:14px; }
body.lumen .mcw-ap-sk2{ width:70%; height:12px; }
body.lumen #app .mcw-apk .lx-kpi{ padding: 12px 14px 10px; }
body.lumen #app .mcw-apk .lx-kpi-v{ font-size:22px; line-height:28px; }
body.lumen #app .mcw-apk button.lx-kpi[aria-pressed="true"]{ background: var(--lx-accent-tint); box-shadow: inset 0 -2px 0 var(--lx-accent); }
body.lumen #app .mcw-apk .lx-kpi .mcw-sk{ display:block; border-radius:6px; background: var(--lx-surface-2); }
body.lumen #app .mcw-apk .lx-kpi .mcw-ap-sk2{ margin-top:12px; height:22px; width:40%; }
@media (max-width:760px){
  body.lumen .mcw-ap-l1{ flex-wrap:wrap; }
  body.lumen .mcw-ap-st{ flex:1 1 100%; }
  body.lumen .mcw-ap-sel{ width:100%; height:40px; }
  body.lumen .mcw-ap-acts{ margin-left:0; width:100%; }
  body.lumen :is(#app, .overlay) .mcw-ap :is(.btn, .mcw-ap-f input, .mcw-ap-f select){ height:40px !important; min-height:40px !important; }
  body.lumen .mcw-ap-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  body.lumen .mcw-ap-f.wide{ grid-column: 1 / -1; }
  body.lumen .mcw-ap-accf .btn{ flex:1 1 auto; justify-content:center; }
  body.lumen #app .mcw-apk{ grid-template-columns: repeat(3, minmax(0,1fr)); }
  body.lumen #app .mcw-apk .lx-kpi:nth-child(3n+1){ box-shadow:none; }
  body.lumen #app .mcw-apk .lx-kpi:nth-child(n+4){ box-shadow: 0 -1px 0 var(--lx-line); }
  body.lumen #app .mcw-apk .lx-kpi:nth-child(n+5){ box-shadow: -1px 0 0 var(--lx-line), 0 -1px 0 var(--lx-line); }
}
/* ══ /mc-ws A-10 ══ */
/* ══ mc-ws A-9 ══ */
/* MigrateCloud v2 ship 3 A-9 (plan-A §2.8, r2 B-M-5): the Profile tab inside the student file (app.js emProfileHTML). Lumen tokens only, no light
   text. Seven <details> sections (heads 44), fields two to a row on desktop, one per row at 760 px and below (inputs 40 there, the house token). */
body.lumen .mcw-pr{ display:flex; flex-direction:column; gap:8px; min-width:0; }
body.lumen .mcw-pr-sec{ min-width:0; border-radius: var(--lx-r-card); background: var(--lx-surface); color: var(--lx-text); box-shadow: inset 0 0 0 1px var(--lx-line); }
body.lumen .mcw-pr-sum{ display:flex; align-items:center; gap:8px; min-height:44px; padding:0 12px; border-radius: var(--lx-r-card); cursor:pointer; list-style:none; font: 600 14px/20px var(--lx-font); color: var(--lx-text); }
body.lumen .mcw-pr-sum::-webkit-details-marker{ display:none; }
body.lumen .mcw-pr-sum::marker{ content:""; }
body.lumen .mcw-pr-sum > svg{ flex:none; color: var(--lx-text-3); }
body.lumen .mcw-pr-chev{ display:inline-flex; flex:none; color: var(--lx-text-3); transition: transform var(--lx-d-hover) ease; }
body.lumen details.mcw-pr-sec[open] > .mcw-pr-sum > .mcw-pr-chev{ transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce){ body.lumen .mcw-pr-chev{ transition:none; } }
body.lumen .mcw-pr-sum:focus-visible{ outline:none; box-shadow: var(--lx-focus); }
body.lumen .mcw-pr-t{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body.lumen .mcw-pr-st{ display:inline-flex; align-items:center; margin-left:auto; text-align:right; font: 450 12.5px/16px var(--lx-font); color: var(--lx-text-3); }
body.lumen .mcw-pr-lock .mcw-pr-sum{ cursor:default; }
body.lumen .mcw-pr-skel{ display:flex; align-items:center; min-height:44px; padding:0 12px; }
body.lumen .mcw-pr-skel .mcw-sk-row{ margin:0; }
body.lumen .mcw-pr-b{ display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:0 24px; padding:4px 12px 12px; }
body.lumen .mcw-pr-chk, body.lumen .mcw-pr-sub, body.lumen .mcw-pr-multi, body.lumen .mcw-pr-f:has(textarea){ grid-column: 1 / -1; }
body.lumen .mcw-pr-chk{ display:flex; align-items:center; gap:8px; min-height:32px; margin:0 0 8px; }
body.lumen .mcw-pr-cby{ display:inline-flex; align-items:center; gap:6px; font: 450 12.5px/16px var(--lx-font); color: var(--lx-text-2); }
body.lumen .mcw-pr-cby svg{ color: var(--lx-ok); }
body.lumen .mcw-pr .mcw-pf{ grid-template-columns: 128px minmax(0,1fr) 56px; align-items:start; }
body.lumen .mcw-pr .mcw-pf > label{ padding-top:6px; color: var(--lx-text-2); }
body.lumen .mcw-pr .mcw-pf :is(input, select, textarea){ width:100%; min-width:0; max-width:none; box-sizing:border-box; }
body.lumen .mcw-pr .mcw-pf textarea{ min-height:56px; resize:vertical; }
body.lumen .mcw-pr .mcw-saved{ min-height: var(--lx-ctl-md); }
body.lumen .mcw-pr .mcw-pf > .lx-badge{ grid-column: 2 / -1; justify-self:start; }
body.lumen .mcw-pr-e{ grid-column: 2 / -1; display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
body.lumen .mcw-pr-e[hidden]{ display:none; }
body.lumen .mcw-pr-ro{ display:grid; grid-template-columns: 128px minmax(0,1fr) auto; align-items:center; gap:8px; min-height:32px; margin-bottom:4px; }
body.lumen .mcw-pr-rl{ color: var(--lx-text-3); }
body.lumen .mcw-pr-rv{ min-width:0; overflow-wrap:anywhere; white-space:pre-line; color: var(--lx-text); }
body.lumen .mcw-pr-sub{ margin:0 0 8px; padding:0 0 8px; box-shadow: inset 0 -1px 0 var(--lx-line); }
body.lumen .mcw-pr-sub:last-child{ margin-bottom:0; padding-bottom:0; box-shadow:none; }
body.lumen .mcw-pr-h4{ margin:4px 0 8px; font: 600 13px/20px var(--lx-font); color: var(--lx-text); }
body.lumen .mcw-pr-sub .mcw-pr-f, body.lumen .mcw-pr-sub .mcw-pr-ro{ max-width:640px; }
body.lumen .mcw-pr-multi{ min-width:0; margin:0 0 8px; padding:0; border:0; }
body.lumen .mcw-pr-multi legend{ padding:0; margin-bottom:6px; color: var(--lx-text-2); }
body.lumen .mcw-pr-ms{ display:flex; flex-wrap:wrap; gap:4px 16px; }
body.lumen .mcw-pr-m{ display:inline-flex; align-items:center; gap:6px; min-height:32px; cursor:pointer; }
body.lumen .mcw-pr-multi > .mcw-saved{ min-height:0; }
body.lumen .mcw-pr-multi > .mcw-saved:empty{ display:none; }
body.lumen .mcw-pr-refs{ display:flex; flex-direction:column; margin:0 0 8px; padding:0; list-style:none; }
body.lumen .mcw-pr-refs li{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 12px; min-height:44px; padding:6px 0; box-shadow: inset 0 -1px 0 var(--lx-line); }
body.lumen .mcw-pr-refs li > span{ flex:1 1 200px; min-width:0; color: var(--lx-text-2); }
body.lumen .mcw-pr-refs li .btn{ margin-left:auto; }
body.lumen .mcw-pr-reff{ display:flex; flex-direction:column; gap:8px; margin:8px 0; padding:12px; border-radius: var(--lx-r-card); background: var(--lx-surface-2); color: var(--lx-text); box-shadow: inset 0 0 0 1px var(--lx-line); }
body.lumen .mcw-pr-rr{ display:flex; flex-wrap:wrap; align-items:flex-end; gap:8px; }
body.lumen .mcw-pr-rf{ display:flex; flex-direction:column; gap:4px; flex:1 1 140px; min-width:0; font: 500 12px/16px var(--lx-font); color: var(--lx-text-2); }
body.lumen .mcw-pr-rf.mcw-pr-ry{ flex:0 1 88px; }
body.lumen .mcw-pr-rf.mcw-pr-grow{ flex:2 1 220px; }
body.lumen .mcw-pr-rf input{ width:100%; min-width:0; box-sizing:border-box; }
body.lumen .mcw-pr-reff .mcw-err[hidden]{ display:none; }
body.lumen .mcw-pr-acts{ display:flex; flex-wrap:wrap; gap:8px; }
@media (max-width:900px){ body.lumen .mcw-pr-b{ grid-template-columns: minmax(0,1fr); } }
@media (max-width:760px){
  body.lumen .mcw-pr-b{ padding:4px 12px 12px; }
  body.lumen .mcw-pr .mcw-pf{ grid-template-columns: minmax(0,1fr) auto; gap:4px 8px; }
  body.lumen .mcw-pr .mcw-pf > label{ grid-column: 1 / -1; padding-top:0; }
  body.lumen .mcw-pr .mcw-pf > :is(input, select, textarea, .px-field){ grid-column: 1; }
  body.lumen .mcw-pr .mcw-pf > .lx-badge, body.lumen .mcw-pr-e{ grid-column: 1 / -1; }
  body.lumen .mcw-pr-ro{ grid-template-columns: minmax(0,1fr) auto; gap:2px 8px; }
  body.lumen .mcw-pr-rl{ grid-column: 1 / -1; }
  body.lumen .mcw-pr-m{ min-height:44px; }
  body.lumen .mcw-pr-rr{ flex-direction:column; align-items:stretch; }
  body.lumen .mcw-pr-rf.mcw-pr-ry{ flex:1 1 auto; }
}
/* ══ /mc-ws A-9 ══ */
/* ══ mc-ws A-4 ══ */
/* MigrateCloud v2 ship 4 A-4 (plan-A §2.8, §2.10, r2 B-H-2 / B-M-5): "Request missing from student" (Documents tab) and "Send form to student"
   (Profile tab), app.js emDocReqHTML / emSendFormHTML; drawn only while mc_ws.student is ON. Lumen tokens only, no new colour, no light text.
   Desktop buttons are .btn.small (28); on a phone every button and tick row is full width at 44 px. */
body.lumen .mcw-a4{ min-width:0; }
body.lumen .mcw-a4-sf{ margin:0 0 12px; padding:12px 14px; border-radius: var(--lx-r-card); background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); color: var(--lx-text); }
body.lumen .mcw-a4-acts{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:8px 0 0; }
body.lumen .mcw-a4-sf > .mcw-a4-acts:first-child{ margin-top:0; }
body.lumen .mcw-a4-b{ display:inline-flex; align-items:center; gap:6px; }
body.lumen .mcw-a4-asked{ display:flex; align-items:flex-start; gap:6px; margin:0 0 4px; font-size:12.5px; line-height:18px; color: var(--lx-text-2); overflow-wrap:anywhere; }
body.lumen .mcw-a4-asked svg{ flex:none; margin-top:2px; color: var(--lx-text-3); }
body.lumen .mcw-a4-form{ margin:8px 0 0; }
body.lumen .mcw-a4-fs{ display:grid; gap:2px; margin:0; padding:0; border:0; min-width:0; }
body.lumen .mcw-a4-fs > legend{ margin:0 0 4px; padding:0; font: 500 12.5px/18px var(--lx-font); color: var(--lx-text-2); }
body.lumen .mcw-a4-it{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; min-height:28px; cursor:pointer; font-size:13px; color: var(--lx-text); }
body.lumen .mcw-a4 .mcw-err[hidden]{ display:none; }
body.lumen .mcw-a4-send{ margin:8px 0 0; padding:12px 14px; border-radius: var(--lx-r-card); background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); color: var(--lx-text); }
body.lumen .mcw-a4-sf .mcw-a4-send{ margin:0; padding:0; background: transparent; box-shadow:none; }
body.lumen .mcw-a4-ok{ display:flex; align-items:center; gap:6px; margin:0 0 6px; font: 600 13px/20px var(--lx-font); color: var(--lx-text); }
body.lumen .mcw-a4-ok svg{ color: var(--lx-ok); }
body.lumen .mcw-a4-send p.mcw-mut{ margin:0 0 6px; }
body.lumen .mcw-a4-txt{ margin:0; padding:8px 10px; border-radius: var(--lx-r-sm); background: var(--lx-surface); box-shadow: inset 0 0 0 1px var(--lx-line); color: var(--lx-text); font-size:12.5px; line-height:18px; white-space:pre-wrap; overflow-wrap:anywhere; }
@media (max-width:760px){
  body.lumen .mcw-a4-sf, body.lumen .mcw-a4-send{ padding:12px; }
  body.lumen .mcw-a4-acts{ flex-direction:column; align-items:stretch; }
  body.lumen :is(#app, .overlay, .lx-scope) .mcw-a4 .btn.mcw-a4-b{ justify-content:center; width:100%; height: var(--lx-ctl-lg) !important; min-height: var(--lx-ctl-lg) !important; }
  body.lumen .mcw-a4-it{ min-height:44px; }
}
/* ══ /mc-ws A-4 ══ */
/* ══ mc-ws X-21 ══ */
/* MigrateCloud v2 ship 4 X-21 (plan-X §2.6 r4): "Create student login" / "Use this account" under A-4's "Send form to student" (app.js
   x21LoginHTML). Lumen tokens only, no new colour; the buttons are A-4's .mcw-a4-b (28 desktop, 44 full width on a phone). */
body.lumen .mcw-x21{ display:grid; gap:8px; margin:8px 0 0; min-width:0; }
body.lumen .mcw-x21 > .mcw-a4-acts{ margin:0; }
body.lumen .mcw-x21-line{ display:flex; align-items:center; gap:6px; margin:0; background: transparent; color: var(--lx-text-2); font: 400 12.5px/18px var(--lx-font); overflow-wrap:anywhere; }
body.lumen .mcw-x21-line > svg{ flex:none; background: transparent; color: var(--lx-text-3); }
body.lumen .mcw-x21-line b{ font-weight:600; background: transparent; color: var(--lx-text); }
body.lumen .mcw-x21 .mcw-x21-bad{ display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:0; min-height:0; padding:6px 8px 6px 12px; border-radius: var(--lx-r-ctl); background: var(--lx-bad-tint); color: var(--lx-text); box-shadow: inset 0 0 0 1px var(--lx-line); font: 500 13px/18px var(--lx-font); }
body.lumen .mcw-x21 .mcw-x21-bad > svg{ width:16px; height:16px; flex:none; background: transparent; color: var(--lx-bad); }
body.lumen .mcw-x21 .mcw-x21-bad > span{ flex:1 1 200px; min-width:0; }
body.lumen .mcw-x21 > .mcw-err{ margin:0; }
/* ══ /mc-ws X-21 ══ */
/* ══ X-10 (MigrateCloud v2 ship 4; plan-X §2.9 X9): the "Also with" strip, under the lead drawer's header and the Study Abroad file's header.
   One row: "Also with", then one line per other record (its kind's icon and word, its facts as separate meta spans with a 1 px inset rule,
   no dot strings). A line the reader may open is one button (28 px desk, 40 px phone); others are plain text. Loading = one 20 px skeleton
   line. Lumen tokens only. ══ */
body.lumen .px-also{ display:flex; flex-wrap:wrap; align-items:flex-start; gap:4px 12px; margin:12px 0 0; padding:6px 12px; border-radius: var(--lx-r-card); background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); font: 450 var(--lx-fs-sm)/18px var(--lx-font); color: var(--lx-text-2); min-width:0; max-width:100%; box-sizing:border-box; }
body.lumen .px-also-h{ display:inline-flex; align-items:center; min-height: var(--lx-ctl-sm); font-weight:600; color: var(--lx-text); white-space:nowrap; }
body.lumen .px-also-l{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; flex:1 1 300px; min-width:0; }
body.lumen .px-also-r{ display:flex; min-width:0; margin:0; padding:0; }
body.lumen .px-also .px-also-go{ display:flex; flex-wrap:wrap; align-items:center; gap:2px 0; min-height: var(--lx-ctl-sm); max-width:100%; min-width:0; box-sizing:border-box; text-align:left; color: var(--lx-text-2); }
body.lumen .px-also button.px-also-go{ all:unset; display:flex; flex-wrap:wrap; align-items:center; gap:2px 0; min-height: var(--lx-ctl-sm); max-width:100%; min-width:0; box-sizing:border-box; cursor:pointer; border-radius: var(--lx-r-xs); color: var(--lx-accent-text); }
body.lumen .px-also button.px-also-go:hover .px-also-k{ text-decoration:underline; }
body.lumen .px-also .px-also-go svg{ width:14px; height:14px; flex:none; margin-right:6px; color: var(--lx-text-3); }
body.lumen .px-also-k{ font-weight:600; padding-right:10px; }
body.lumen .px-also-txt .px-also-k{ color: var(--lx-text); }
body.lumen .px-also-mi{ display:inline-flex; align-items:center; padding:0 10px; box-shadow: inset 1px 0 0 var(--lx-line); color: var(--lx-text-2); overflow-wrap:anywhere; }
body.lumen .px-also-load{ align-items:center; min-height:32px; }
body.lumen .px-also-skel{ display:block; width:40%; max-width:260px; height:20px; border-radius: var(--lx-r-sm); background: var(--lx-surface-3); }
body.lumen .mcw-also > .px-also{ margin-top:0; }   /* A-8's file header wrapper already spaces it */
body.lumen .px-sheet-act{ display:flex; justify-content:flex-end; margin-top:12px; }
@media (max-width:760px){
  body.lumen .px-also{ flex-direction:column; gap:2px; padding:6px 12px; }
  body.lumen .px-also .px-also-go, body.lumen .px-also button.px-also-go{ min-height: var(--lx-ctl-md); padding:4px 0; }
}
/* ══ /X-10 ══ */
/* ══ MC v2 ship 4 X-5 ══ */
/* MigrateCloud v2 ship 4 X-5 (plan-X §2.2 "X2 · Every entry point", client half): the BDM Add a lead panel "Already with …" under the phone
   (app.js pxBdmPanelHTML, drawn only while contacts.known_rule.le is on), and the three staff dialogs (a known number on save, the Old leads
   join, "Use this account"). Lumen tokens only, no new colour, no light text; .btn.small (28) on desktop, 44 px full width on a phone. */
body.lumen .px-bdm-slot{ min-width:0; }
body.lumen .px-bdm-slot:empty{ display:none; }
body.lumen .px-bdm{ margin:8px 0 0; padding:8px 12px; border-radius: var(--lx-r-ctl); background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); color: var(--lx-text); }
body.lumen .px-bdm-h{ background: transparent; margin:0 0 4px; font: 600 13px/18px var(--lx-font); color: var(--lx-text); }
body.lumen .px-bdm-list{ display:grid; gap:6px; margin:0; padding:0; list-style:none; }
body.lumen .px-bdm-line{ background: transparent; display:flex; flex-wrap:wrap; align-items:center; gap:6px 8px; margin:0; font: 400 12.5px/18px var(--lx-font); color: var(--lx-text); }
body.lumen .px-bdm-line > svg{ background: transparent; flex:none; color: var(--lx-text-3); }
body.lumen .px-bdm-line > span:not(.px-bdm-acts){ flex:1 1 200px; min-width:0; overflow-wrap:anywhere; }
body.lumen .px-bdm-line b, body.lumen .px-bdm-dlg b{ font-weight:600; }
body.lumen .px-bdm-acts{ display:flex; flex-wrap:wrap; align-items:center; gap:6px; }
body.lumen .px-bdm-acts .btn, body.lumen .px-bdm-foot .btn, body.lumen .px-bdm-ban .btn{ display:inline-flex; align-items:center; gap:6px; }
body.lumen .px-bdm-meta{ background: transparent; margin:6px 0 0; font: 400 12.5px/18px var(--lx-font); color: var(--lx-text-2); }
body.lumen .px-bdm-none{ background: transparent; display:flex; align-items:center; gap:6px; margin:8px 0 0; font: 400 12.5px/18px var(--lx-font); color: var(--lx-text-2); }
body.lumen .px-bdm-none svg{ background: transparent; flex:none; color: var(--lx-ok); }
body.lumen .px-bdm-sk{ background: transparent; display:flex; align-items:center; gap:8px; margin:8px 0 0; font: 400 12.5px/18px var(--lx-font); color: var(--lx-text-2); }
body.lumen .px-bdm-skl{ display:block; width:120px; height:10px; border-radius: var(--lx-r-xs); background: var(--lx-surface-3); }
body.lumen .px-bdm-ban{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:8px 0 0; padding:6px 8px 6px 12px; border-radius: var(--lx-r-ctl); background: var(--lx-bad-tint); box-shadow: inset 0 0 0 1px var(--lx-line-2); color: var(--lx-text); font: 500 12.5px/18px var(--lx-font); }
body.lumen .px-bdm-ban[hidden]{ display:none; }
body.lumen .px-bdm-ban > svg{ background: transparent; flex:none; color: var(--lx-bad); }
body.lumen .px-bdm-ban > span{ flex:1 1 180px; min-width:0; }
body.lumen .px-bdm-dlg{ background: transparent; min-width:0; color: var(--lx-text); }
body.lumen .px-bdm-p{ background: transparent; margin:8px 0 0; font: 400 13px/20px var(--lx-font); color: var(--lx-text); overflow-wrap:anywhere; }
body.lumen .px-bdm-p > svg{ background: transparent; vertical-align:-2px; color: var(--lx-ok); }
body.lumen .px-bdm-dlg > .px-bdm-acts{ margin:12px 0 0; }
body.lumen .px-bdm-ovr{ margin:12px 0 0; padding:8px 12px; border-radius: var(--lx-r-ctl); background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); color: var(--lx-text); }
body.lumen .px-bdm-ovr > summary{ background: transparent; cursor:pointer; font: 500 13px/20px var(--lx-font); color: var(--lx-text); }
body.lumen .px-bdm-ovr label{ background: transparent; display:block; margin:8px 0 4px; font: 500 12.5px/18px var(--lx-font); color: var(--lx-text-2); }
body.lumen .px-bdm-ovr select{ width:100%; max-width:280px; }
body.lumen .px-bdm-ovr > .btn{ margin:8px 0 0; }
body.lumen .px-bdm-fs{ display:grid; gap:4px; margin:12px 0 0; padding:0; border:0; min-width:0; }
body.lumen .px-bdm-fs > legend{ background: transparent; margin:0 0 4px; padding:0; font: 500 12.5px/18px var(--lx-font); color: var(--lx-text-2); }
body.lumen .px-bdm-opt{ background: transparent; display:flex; align-items:center; gap:8px; min-height:28px; cursor:pointer; font: 400 13px/18px var(--lx-font); color: var(--lx-text); }
body.lumen .px-bdm-opt input{ flex:none; width:auto; margin:0; }
body.lumen .px-bdm-foot{ display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:center; gap:8px; margin:16px 0 0; }
@media (max-width:760px){
  body.lumen .px-bdm-acts, body.lumen .px-bdm-foot{ flex-direction:column; align-items:stretch; width:100%; }
  body.lumen :is(#app, .overlay, .lx-scope) :is(.px-bdm-acts, .px-bdm-foot, .px-bdm-ban, .px-bdm-ovr) .btn{ justify-content:center; width:100%; height: var(--lx-ctl-xl) !important; min-height: var(--lx-ctl-xl) !important; }
  body.lumen .px-bdm-opt{ min-height:44px; }
  body.lumen .px-bdm-ovr select{ max-width:none; }
}
/* ══ /MC v2 ship 4 X-5 ══ */
/* ══ X-7 ══ */
/* MigrateCloud v2 ship 4 X-7 (plan-X §2.4 / §2.5): the BDM's read-only Study Abroad file sheet (app.js emReadSheetHTML, drawer kind "emread":
   480 px on the right, a bottom sheet on a phone through the lx-dov phone rule) and the Send to Language team dialog's tick rows. Lumen tokens
   only, no new colour; every text colour sits with its background in the same rule. Steps 4 by 2 so each label reads at 480 and at 390. */
body.lumen .overlay.lx-dov > .panel.lx-drawer-emread{ width: min(480px, calc(100vw - 16px)) !important; }
body.lumen .px-rs{ display:flex; flex-direction:column; gap:12px; min-width:0; background: transparent; color: var(--lx-text); font: 450 var(--lx-fs-sm)/18px var(--lx-font); }
body.lumen .px-rs-sk{ display:block; width:100%; height:12px; border-radius: var(--lx-r-sm); background: var(--lx-surface-2); }
body.lumen .px-rs-sk-h{ width:55%; height:20px; }
body.lumen .px-rs-sk-s{ width:70%; }
body.lumen .px-rs-h{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; min-width:0; }
body.lumen .px-rs-n{ min-width:0; overflow-wrap:anywhere; font: 600 var(--lx-fs-lg)/22px var(--lx-font); color: var(--lx-text); background: transparent; }
body.lumen .px-rs-chip{ flex:none; }
body.lumen .px-rs-line{ min-width:0; }
body.lumen .px-rs-steps{ display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:8px 4px; margin:0; padding:0; list-style:none; }
body.lumen .px-rs-st{ display:flex; flex-direction:column; gap:4px; min-width:0; margin:0; }
body.lumen .px-rs-bar{ display:block; height:4px; border-radius:2px; background: var(--lx-line); }
body.lumen .px-rs-st.done .px-rs-bar{ background: var(--lx-primary-bg); }
body.lumen .px-rs-st.now .px-rs-bar{ background: var(--lx-accent); }
body.lumen .px-rs-sl{ min-height:16px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font: 450 12px/16px var(--lx-font); color: var(--lx-text-3); background: transparent; }
body.lumen .px-rs-st.done .px-rs-sl{ color: var(--lx-text-2); background: transparent; }
body.lumen .px-rs-st.now .px-rs-sl{ font-weight:600; color: var(--lx-text); background: transparent; }
body.lumen .px-rs-now{ margin:8px 0 0; color: var(--lx-text); background: transparent; }
body.lumen .px-rs-of{ color: var(--lx-text-2); background: transparent; }
body.lumen .px-rs-dl{ display:grid; gap:6px; margin:0; padding:12px 0 0; box-shadow: inset 0 1px 0 var(--lx-line); }
body.lumen .px-rs-r{ display:grid; grid-template-columns: 112px minmax(0,1fr); gap:8px; min-width:0; }
body.lumen .px-rs-r dt{ margin:0; color: var(--lx-text-2); background: transparent; }
body.lumen .px-rs-r dd{ margin:0; min-width:0; overflow-wrap:anywhere; color: var(--lx-text); background: transparent; }
body.lumen .px-rs-r dd.px-rs-mut{ color: var(--lx-text-3); background: transparent; }
body.lumen .px-rs-r dd.px-rs-num{ font-feature-settings: var(--lx-num); }
body.lumen .px-rs-hint{ margin:0; color: var(--lx-text-2); background: transparent; }
body.lumen .px-rs-note{ display:flex; flex-direction:column; gap:6px; padding:12px 0 0; box-shadow: inset 0 1px 0 var(--lx-line); }
body.lumen .px-rs-lab{ font-weight:600; color: var(--lx-text); background: transparent; }
body.lumen .overlay .panel textarea.px-rs-ta, body.lumen textarea.px-rs-ta{ width:100%; min-height:72px; box-sizing:border-box; resize:vertical; }
body.lumen .px-rs-foot{ display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:8px; }
body.lumen .px-rs-msg{ flex:1 1 200px; min-width:0; color: var(--lx-text-2); background: transparent; }
body.lumen .px-rs-msg.bad{ color: var(--lx-bad); background: transparent; }
body.lumen :is(#app, .overlay) .px-rs .btn.px-rs-add{ height: var(--lx-ctl-lg) !important; min-height: var(--lx-ctl-lg) !important; }
body.lumen .px-rs-bad{ margin:0; }
body.lumen .xr-le-sub{ margin:8px 0 12px; }
body.lumen .xr-le-f{ margin:12px 0; }
body.lumen .xr-le-h{ margin:0 0 4px; font: 600 var(--lx-fs-sm)/18px var(--lx-font); color: var(--lx-text-2); background: transparent; }
body.lumen .xr-le-ints{ display:block; padding:0; }
body.lumen .xr-le-act{ display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; margin-top:14px; }
body.lumen .xr-le .xr-prev{ margin-top:10px; }
@media (max-width:760px){
  body.lumen .px-rs-r{ grid-template-columns: 96px minmax(0,1fr); }
  body.lumen .px-rs-foot > .btn{ flex:1 1 100%; }
  body.lumen .xr-le-ints .ls-b-igh{ flex:1 1 100%; }
  body.lumen :is(#app, .overlay) .xr-le-ints .ls-b-ck{ min-height: var(--lx-ctl-md); }
  body.lumen .xr-le-act > .btn{ flex:1 1 0; }
}
/* ══ /X-7 ══ */
/* ══ MigrateCloud v2 ship 6 X-14: the Duplicates page (app.js personDupView, block "MC v2 ship 6 X-14"; plan-X §2.10; MASTER-v2 §f
   Hallmark row 6) and its merge dialog. Lumen tokens only, no light text, no new colour. Page and card actions 32, pager 28, dialog actions
   36; a phone (760 px and under): one column, every row and card action full width at 44, the dialog's actions too. Skeletons are flat
   blocks (no shimmer). ══ */
body.lumen #app .pdup-nav .lx-tabs{ margin: 0 0 16px; }
body.lumen #app .pdup-grid{ display:grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap:16px; align-items:start; }
body.lumen #app .pdup-rows{ list-style:none; margin:0; padding:0; }
body.lumen #app .pdup-row{ display:flex; align-items:center; gap:12px; min-height:44px; padding:8px 0; box-shadow: inset 0 -1px 0 var(--lx-line); }
body.lumen #app .pdup-row:last-child{ box-shadow:none; }
body.lumen #app .pdup-list .pdup-rows{ padding: 0 16px; }
body.lumen #app .pdup-row-m{ flex:1 1 auto; min-width:0; display:grid; gap:2px; }
body.lumen #app .pdup-who{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; min-width:0; }
body.lumen #app .pdup-and{ display:inline-flex; color: var(--lx-text-3); }
body.lumen #app .pdup-name{ background: transparent; border:0; padding:0; margin:0; font: 600 13px/20px var(--lx-font); color: var(--lx-text); cursor:pointer; text-align:left; overflow-wrap:anywhere; border-radius: var(--lx-r-xs); }
body.lumen #app .pdup-name:hover{ text-decoration:underline; }
body.lumen #app .pdup-name:focus-visible{ outline:none; box-shadow: var(--lx-focus); }
body.lumen #app .pdup-num{ font: 600 13px/20px var(--lx-font); color: var(--lx-text); font-feature-settings: var(--lx-num); }
body.lumen #app .pdup-meta{ display:flex; flex-wrap:wrap; align-items:center; min-width:0; font: 400 12px/16px var(--lx-font); color: var(--lx-text-3); }
body.lumen #app .pdup-mi{ display:inline-flex; align-items:center; padding:0 8px; box-shadow: inset 1px 0 0 var(--lx-line); overflow-wrap:anywhere; }
body.lumen #app .pdup-mi:first-child{ padding-left:0; box-shadow:none; }
body.lumen #app .pdup-acts{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; flex:none; }
body.lumen #app .pdup-card .pdup-acts{ margin-top:12px; }
body.lumen #app .pdup-bar{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin: 0 0 12px; }
body.lumen #app .pdup-pager{ display:flex; align-items:center; justify-content:flex-end; gap:8px; margin-top:12px; }
body.lumen #app .pdup-nm{ margin: 0 0 16px; }
body.lumen #app .pdup-nm .lx-card-b{ padding:16px; }
body.lumen #app .pdup-l{ display:block; margin:0 0 6px; padding:0; font: 500 12px/16px var(--lx-font); color: var(--lx-text-2); }
body.lumen #app .pdup-nm-row{ display:flex; align-items:flex-start; gap:8px; flex-wrap:wrap; }
body.lumen #app .pdup-nm-f{ flex: 1 1 260px; min-width:0; max-width:420px; }
body.lumen #app .pdup-nm-in{ width:100%; box-sizing:border-box; }
body.lumen #app .pdup-err{ margin:6px 0 0; min-height:16px; font: 500 12px/16px var(--lx-font); color: var(--lx-bad); }
body.lumen #app .pdup-err:empty{ display:none; }
body.lumen #app .pdup-sk{ display:block; height:12px; width:40%; border-radius:6px; background: var(--lx-surface-2); }
body.lumen #app .pdup-sk-card{ display:grid; gap:12px; padding:16px; min-height:132px; box-sizing:border-box; background: var(--lx-surface); border-radius: var(--lx-r-card); box-shadow: var(--lx-e1); }
body.lumen #app .pdup-sk-card .pdup-sk:nth-child(2n), body.lumen #app .pdup-sk-row .pdup-sk:nth-child(2n){ width:25%; }
body.lumen #app .pdup-sk-row{ display:grid; gap:8px; align-content:center; min-height:44px; padding: 8px 16px; box-shadow: inset 0 -1px 0 var(--lx-line); }
body.lumen #app .pdup-sk-row:last-child{ box-shadow:none; }
body.lumen #app dialog.pdup-dlg{ width:560px; max-width: calc(100vw - 32px); max-height: calc(100vh - 48px); overflow:auto; box-sizing:border-box; margin:auto; padding:24px; border:1px solid var(--lx-line); border-radius: var(--lx-r-panel); background: var(--lx-surface); color: var(--lx-text); box-shadow: var(--lx-e3); }
body.lumen #app dialog.pdup-dlg::backdrop{ background: var(--lx-scrim); }
body.lumen #app .pdup-t{ margin:0 0 12px; font: 600 18px/24px var(--lx-font); color: var(--lx-text); background: transparent; }
body.lumen #app .pdup-p{ margin:0 0 12px; font: 400 13px/20px var(--lx-font); color: var(--lx-text-2); background: transparent; }
body.lumen #app .pdup-pick{ margin:0 0 12px; padding:0; border:0; display:grid; gap:4px; }
body.lumen #app .pdup-radio{ display:flex; align-items:center; gap:8px; min-height:36px; font: 500 13px/20px var(--lx-font); color: var(--lx-text); cursor:pointer; }
body.lumen #app .pdup-dt{ width:100%; margin: 0 0 12px; }
body.lumen #app .pdup-dt .pdup-n{ text-align:right; font-feature-settings: var(--lx-num); }
body.lumen #app .pdup-coll{ margin:0 0 12px; padding-left:20px; font: 400 12px/18px var(--lx-font); color: var(--lx-text-2); }
body.lumen #app .pdup-dsk{ display:grid; gap:12px; padding: 8px 0 16px; }
body.lumen #app .pdup-dacts{ display:flex; justify-content:flex-end; gap:8px; margin:20px 0 0; }
body.lumen #app dialog.pdup-dlg .pdup-dacts .btn{ height: var(--lx-ctl-lg) !important; min-height: var(--lx-ctl-lg) !important; padding: 0 var(--lx-px-lg) !important; }
@media (max-width:760px){
  body.lumen #app .pdup-grid{ grid-template-columns: minmax(0, 1fr); }
  body.lumen #app .pdup-row{ flex-direction:column; align-items:stretch; }
  body.lumen #app .pdup-acts{ flex-direction:column; align-items:stretch; width:100%; }
  body.lumen #app .pdup-acts > .btn, body.lumen #app .pdup-bar > .btn, body.lumen #app .pdup-nm-row > .btn{ width:100%; height: var(--lx-ctl-lg) !important; min-height: var(--lx-ctl-lg) !important; }
  body.lumen #app .pdup-bar{ flex-direction:column; align-items:stretch; }
  body.lumen #app .pdup-nm-f{ flex-basis:100%; max-width:none; }
  body.lumen #app .pdup-pager{ justify-content:space-between; }
  body.lumen #app dialog.pdup-dlg{ padding:20px 16px; }
  body.lumen #app .pdup-dacts .btn{ flex:1; }
}
/* ══ /X-14 ══ */
/* ══ MC v2 ship 5 H-8 · nudges (plan-H §2.3; MASTER-v2 §f ship 5; Hallmark: Lumen tokens only, controls 28/32/36 desktop and 32/40/44
   phone through the --lx-ctl-* tokens, light text never without a literal background in the same rule). The dialog lives in <body>
   (A's dialog.mcw-dlg), so its rules are body.lumen .mch-ndlg; the strip, the Plan my day line and My nudges are under #app. ══ */
body.lumen .mch-ndlg .mch-fl{ display:flex; flex-direction:column; gap:6px; min-width:0; }
body.lumen .mch-ndlg .mch-chips{ display:flex; flex-wrap:wrap; align-items:center; gap:6px; }
body.lumen .mch-ndlg .lx-chip.mch-chip{ display:inline-flex; align-items:center; height: var(--lx-ctl-md); min-height: var(--lx-ctl-md); padding: 0 var(--lx-px-md); border:0; border-radius: var(--lx-r-ctl);
  background: transparent; color: var(--lx-text-2); box-shadow: inset 0 0 0 1px var(--lx-line-2); font: 500 var(--lx-fs-sm)/1 var(--lx-font); text-transform:none; white-space:nowrap; cursor:pointer;
  transition: background-color var(--lx-d-hover) ease, color var(--lx-d-hover) ease, box-shadow var(--lx-d-hover) ease; }
body.lumen .mch-ndlg .lx-chip.mch-chip:hover{ background: var(--lx-surface-2); color: var(--lx-text); }
body.lumen .mch-ndlg .lx-chip.mch-chip[aria-pressed="true"]{ background: var(--lx-accent-tint); color: var(--lx-accent-text); box-shadow: inset 0 0 0 1px var(--lx-accent-ring); }
body.lumen .mch-ndlg .lx-chip.mch-chip:focus-visible{ outline: 2px solid var(--lx-focus); outline-offset: 2px; }
body.lumen dialog.mch-ndlg .mch-chips input.mch-date{ width:auto; flex: 0 1 160px; height: var(--lx-ctl-md); min-height: var(--lx-ctl-md); }
body.lumen .mch-ndlg textarea.mch-msg, body.lumen .mch-ndlg textarea[data-mchn-msg]{ box-sizing:border-box; width:100%; min-width:0; min-height:96px; padding: 8px var(--lx-px-md); border:0; border-radius: var(--lx-r-ctl);
  background-color: var(--lx-surface); color: var(--lx-text); box-shadow: var(--lx-e1); font: 450 var(--lx-fs-md)/20px var(--lx-font); resize:vertical; outline:none; }
body.lumen .mch-ndlg textarea.mch-msg:focus{ box-shadow: 0 0 0 1px var(--lx-accent), 0 0 0 4px var(--lx-accent-tint); }
body.lumen .mch-ndlg .mch-help, body.lumen #app .mch-help{ margin:0; background: transparent; color: var(--lx-text-3); font: 400 12px/16px var(--lx-font); }
body.lumen .mch-ndlg .mch-fs{ margin:0; padding:0; border:0; min-width:0; }
body.lumen .mch-ndlg .mch-fs legend{ padding:0; margin-bottom:6px; }
body.lumen .mch-ndlg .mch-fpick{ list-style:none; margin:0; padding:0; max-height:200px; overflow:auto; border-radius: var(--lx-r-ctl); box-shadow: inset 0 0 0 1px var(--lx-line); }
body.lumen .mch-ndlg .mch-fpl{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; min-height: var(--lx-ctl-lg); padding: 4px 12px; box-shadow: inset 0 -1px 0 var(--lx-line); cursor:pointer; background: transparent; color: var(--lx-text); font: 450 13px/18px var(--lx-font); }
body.lumen .mch-ndlg .mch-fpl input{ margin:0; width:16px; height:16px; flex:none; accent-color: var(--lx-accent); }
body.lumen .mch-ndlg .mch-fpn{ font-weight:600; }
body.lumen .mch-ndlg .mch-fpx{ background: transparent; color: var(--lx-text-3); font-size:12px; }
body.lumen .mch-ndlg .mch-fsk{ display:flex; flex-direction:column; gap:8px; }
body.lumen :is(#app, .mch-ndlg) .mch-sk{ display:block; height:12px; width:60%; border-radius:6px; background: var(--lx-surface-2); }
body.lumen :is(#app, .mch-ndlg) .mch-sk-s{ width:35%; margin-top:8px; }
body.lumen #app .mch-strip{ margin: 0 0 16px; }
body.lumen #app .mch-strip:empty{ display:none; }
body.lumen #app .mch-strip-l{ display:flex; flex-direction:column; gap:8px; }
body.lumen #app .lx-card.mch-nc{ padding: 12px 16px; background: var(--lx-warn-tint); color: var(--lx-text); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lx-warn) 24%, transparent); }
body.lumen #app .lx-card.mch-nc.bad{ background: var(--lx-bad-tint); color: var(--lx-text); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lx-bad) 24%, transparent); }
body.lumen #app .lx-card.mch-nc-sk{ background: var(--lx-surface); box-shadow: var(--lx-e1); }
body.lumen #app .mch-nc-h{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; }
body.lumen #app .mch-nc-ic{ display:inline-flex; background: transparent; color: var(--lx-warn); }
body.lumen #app .mch-nc.bad .mch-nc-ic{ background: transparent; color: var(--lx-bad); }
body.lumen #app .mch-nc .mch-nc-t{ margin:0; background: transparent; color: var(--lx-text); font: 600 14px/20px var(--lx-font); text-transform:none; }
body.lumen #app .mch-nc-due{ background: transparent; color: var(--lx-text-2); font: 500 12.5px/18px var(--lx-font); }
body.lumen #app :is(.mch-nc-due, .mch-due).warn{ background: transparent; color: var(--lx-warn); }
body.lumen #app :is(.mch-nc-due, .mch-due).bad{ background: transparent; color: var(--lx-bad); }
body.lumen #app .mch-due.ok{ background: transparent; color: var(--lx-ok); }
body.lumen #app .mch-nc-f{ display:flex; flex-wrap:wrap; align-items:center; gap:2px 12px; margin-top:4px; background: transparent; color: var(--lx-text-2); font: 450 13px/20px var(--lx-font); }
body.lumen #app .mch-flink{ all:unset; box-sizing:border-box; display:inline-flex; align-items:center; min-height:24px; cursor:pointer; background: transparent; color: var(--lx-text); font: 600 13px/20px var(--lx-font); text-decoration: underline; text-decoration-color: var(--lx-line-2); text-underline-offset: 3px; }
body.lumen #app .mch-flink:hover{ text-decoration-color: currentColor; }
body.lumen #app .mch-flink:focus-visible{ outline: 2px solid var(--lx-focus); outline-offset: 2px; border-radius:4px; }
body.lumen #app .mch-nc-m{ margin: 4px 0 0; background: transparent; color: var(--lx-text); font: 400 13px/20px var(--lx-font); white-space: pre-line; overflow-wrap:anywhere; }
body.lumen #app .mch-nc-r{ margin: 4px 0 0; background: transparent; color: var(--lx-text-2); font: 400 12.5px/18px var(--lx-font); overflow-wrap:anywhere; }
body.lumen #app .mch-nc-a{ display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
body.lumen #app .mch-more{ align-self:flex-start; }
body.lumen #app .mch-line{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:8px; flex-basis:100%; }
body.lumen #app input.mch-in{ box-sizing:border-box; flex: 1 1 220px; min-width:0; height: var(--lx-ctl-sm); min-height: var(--lx-ctl-sm); padding: 0 var(--lx-px-md); border:0; border-radius: var(--lx-r-ctl);
  background-color: var(--lx-surface); color: var(--lx-text); box-shadow: var(--lx-e1); font: 450 var(--lx-fs-md)/normal var(--lx-font); outline:none; }
body.lumen #app input.mch-in:focus{ box-shadow: 0 0 0 1px var(--lx-accent), 0 0 0 4px var(--lx-accent-tint); }
body.lumen #app .mch-err{ flex-basis:100%; background: transparent; color: var(--lx-bad); font: 500 12px/16px var(--lx-font); }
body.lumen #app .mch-err:empty{ display:none; }
body.lumen #app .mch-ta{ display:contents; }
body.lumen #app .mch-my .lx-card-b{ padding: 4px 16px 16px; }
body.lumen #app .mch-tw{ min-width:0; }
body.lumen #app table.list.mch-tbl{ box-shadow:none !important; }
body.lumen #app .mch-tbl .mch-sub{ display:block; background: transparent; color: var(--lx-text-3); font: 400 12px/16px var(--lx-font); }
body.lumen #app .mch-tbl .mch-lr{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; max-width:260px; background: transparent; color: var(--lx-text-2); font: 400 12.5px/18px var(--lx-font); }
body.lumen #app .mch-tbl .mch-num{ font-feature-settings: var(--lx-num); white-space:nowrap; }
body.lumen #app .mch-tbl td.mch-acts{ white-space:nowrap; text-align:right; }
body.lumen #app .mch-tbl td.mch-acts .btn + .btn{ margin-left:6px; }
body.lumen :is(#app, .mch-ndlg) .mch-vh{ position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
body.lumen #app .mch-tsk{ display:flex; flex-direction:column; }
body.lumen #app .mch-tskr{ display:flex; flex-direction:column; justify-content:center; min-height:44px; box-shadow: inset 0 -1px 0 var(--lx-line); }
@media (max-width:760px){
  body.lumen #app .mch-nc-a .btn, body.lumen #app .mch-line .btn{ height: var(--lx-ctl-md) !important; min-height: var(--lx-ctl-md) !important; }
  body.lumen #app input.mch-in{ height: var(--lx-ctl-md); min-height: var(--lx-ctl-md); font-size:16px; flex-basis:100%; }
  body.lumen #app .mch-flink{ min-height: var(--lx-ctl-md); }
  body.lumen .mch-ndlg .mch-fpl{ min-height: var(--lx-ctl-xl); }
  body.lumen .mch-ndlg textarea.mch-msg{ font-size:16px; }
  body.lumen dialog.mch-ndlg .mch-chips input.mch-date{ flex-basis:100%; font-size:16px; }
  body.lumen #app table.list.mch-tbl, body.lumen #app .mch-tbl tbody, body.lumen #app .mch-tbl tr, body.lumen #app .mch-tbl td{ display:block; width:auto; }
  body.lumen #app .mch-tbl thead{ display:none; }
  body.lumen #app .mch-tbl tr{ padding: 8px 0; box-shadow: inset 0 -1px 0 var(--lx-line); }
  body.lumen #app table.list.mch-tbl td{ height:auto !important; padding: 2px 0 !important; box-shadow:none; }   /* merge fix 14 Nov: Lumen's table.list td height outranked the stacked rows' auto (H-9 found the overflow on phones) */
  body.lumen #app .mch-tbl td[data-l]::before{ content: attr(data-l); display:block; background: transparent; color: var(--lx-text-3); font: 500 11.5px/16px var(--lx-font); }
  body.lumen #app .mch-tbl .mch-lr{ max-width:none; }
  body.lumen #app .mch-tbl td.mch-acts{ text-align:left; white-space:normal; padding-top:8px !important; }
  body.lumen #app .mch-tbl td.mch-acts .btn{ height: var(--lx-ctl-md) !important; min-height: var(--lx-ctl-md) !important; }
}
/* ══ /MC v2 ship 5 H-8 ══ */
/* ══ MC v2 ship 5 H-7 · the Admin / Head desk (plan-H §2.2; MASTER-v2 §f ship 5; Hallmark: Lumen tokens only, no literal colour, control
   heights through the --lx-ctl-* tokens (28/32/36/44 desktop, 32/40/44 phone), state colours only as text with words; phone 390 px: the
   counters 2 by 2, the side cards after the list, every table stacked into rows, no horizontal page scroll). ══ */
body.lumen #app .mch-d{ display:block; min-width:0; }
body.lumen #app .mch-d-tabs .lx-tabs{ margin: 0 0 16px; }
body.lumen #app .mch-d-tools{ gap:8px; }
body.lumen #app .mch-d-tools select{ max-width:220px; min-width:0; }
body.lumen #app .mch-d-tf{ display:inline-flex; align-items:center; gap:8px; min-width:0; }
body.lumen #app .mch-d-tl{ background: transparent; color: var(--lx-text-2); font: 500 12px/16px var(--lx-font); }
body.lumen #app .mch-d-sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip: rect(0 0 0 0); white-space:nowrap; }
body.lumen #app .mch-d-bad, body.lumen #app .mch-d-low{ background: transparent; color: var(--lx-bad); }
body.lumen #app .mch-d-low{ font-weight:600; }
body.lumen #app .mch-d-g{ align-items:start; }
body.lumen #app .mch-d-ptabs{ padding: 0 16px; }
body.lumen #app .mch-d-ptabs .lx-tabs{ margin:0; gap:0 16px; flex-wrap:wrap; overflow:visible; }
body.lumen #app .mch-d-tbl{ width:100%; box-shadow:none !important; border-radius:0 !important; }
body.lumen #app .mch-d-tbl td{ vertical-align:middle; }
body.lumen #app .mch-d-name{ all:unset; box-sizing:border-box; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; cursor:pointer; border-radius:4px; background: transparent; color: var(--lx-text); font: 600 13px/18px var(--lx-font); }
body.lumen #app .mch-d-name:hover{ text-decoration:underline; }
body.lumen #app :is(.mch-d-name, .mch-d-why, .mch-d-bar, .mch-d-ic):focus-visible{ outline:none; box-shadow: var(--lx-focus); }
body.lumen #app .mch-d-c-st{ min-width:0; }
body.lumen #app .mch-d-c-st .lx-badge.mch-d-step{ margin-left:6px; background: transparent; color: var(--lx-text-2); box-shadow: inset 0 0 0 1px var(--lx-line-2); }
body.lumen #app .mch-d-dst{ display:block; background: transparent; color: var(--lx-text); white-space:nowrap; }
body.lumen #app .mch-d-why{ display:block; background: transparent; color: var(--lx-bad); font: 500 13px/18px var(--lx-font); border-radius:4px; }
body.lumen #app .mch-d-sub{ display:block; background: transparent; color: var(--lx-text-3); font: 450 12px/16px var(--lx-font); }
body.lumen #app .mch-d-who{ display:block; background: transparent; color: var(--lx-text); font: 500 13px/18px var(--lx-font); white-space:nowrap; }
body.lumen #app .mch-d-c-rs{ min-width:112px; }
body.lumen #app .mch-d-role{ display:block; background: transparent; color: var(--lx-text-3); font: 450 12px/16px var(--lx-font); }
body.lumen #app .mch-d-c-ac{ width:1%; white-space:nowrap; text-align:right; }
body.lumen #app .mch-d-acts{ display:inline-flex; align-items:center; gap:4px; }
body.lumen #app .mch-d-mm{ position:relative; display:inline-block; }
body.lumen #app .mch-d-mm > summary{ list-style:none; }
body.lumen #app .mch-d-mm > summary::-webkit-details-marker{ display:none; }
body.lumen #app .mch-d-ic{ box-sizing:border-box; display:inline-grid; place-items:center; width: var(--lx-ctl-md); height: var(--lx-ctl-md); border-radius: var(--lx-r-ctl); cursor:pointer; background: transparent; color: var(--lx-text-2); }
body.lumen #app .mch-d-ic:hover{ background: var(--lx-surface-2); color: var(--lx-text); }
body.lumen #app .mch-d-menu{ position:absolute; right:0; top: calc(100% + 4px); z-index:40; display:flex; flex-direction:column; min-width:180px; padding:4px; border-radius: var(--lx-r-card); background: var(--lx-raised); color: var(--lx-text); box-shadow: var(--lx-e2); text-align:left; }
body.lumen #app .mch-d-menu > button{ all:unset; box-sizing:border-box; display:flex; align-items:center; gap:8px; min-height: var(--lx-ctl-lg); padding: 0 10px; border-radius: var(--lx-r-ctl); cursor:pointer; background: transparent; color: var(--lx-text); font: 450 13px/18px var(--lx-font); white-space:nowrap; }
body.lumen #app .mch-d-menu > button:hover, body.lumen #app .mch-d-menu > button:focus-visible{ background: var(--lx-surface-2); color: var(--lx-text); outline:none; }
body.lumen #app .mch-d-of{ margin-right:auto; background: transparent; color: var(--lx-text-3); }
body.lumen #app .mch-d-back{ margin: 0 0 16px; }
body.lumen #app :is(.mch-d-back, .mch-d-push, .mch-d-monthc, .mch-d-destc) .btn{ display:inline-flex; align-items:center; gap:6px; }
body.lumen #app .mch-d-bars{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:2px; }
body.lumen #app .mch-d-bar{ all:unset; box-sizing:border-box; display:grid; grid-template-columns: 92px minmax(0,1fr) auto; align-items:center; gap:8px; width:100%; min-height: var(--lx-ctl-md); padding: 2px 4px; border-radius: var(--lx-r-ctl); cursor:pointer; background: transparent; color: var(--lx-text-2); }
body.lumen #app .mch-d-bar:hover{ background: var(--lx-surface-2); color: var(--lx-text); }
body.lumen #app .mch-d-bar[disabled]{ cursor:default; background: transparent; color: var(--lx-text-3); }
body.lumen #app .mch-d-bl{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font: 450 13px/16px var(--lx-font); }
body.lumen #app .mch-d-tr{ display:block; height:10px; min-width:0; border-radius:3px; background: var(--lx-surface-3); overflow:hidden; }
body.lumen #app .mch-d-tr i{ display:block; height:100%; border-radius:3px; background: var(--lx-accent); }
body.lumen #app .mch-d-bar.slow .mch-d-tr i{ background: var(--lx-warn); }
body.lumen #app .mch-d-bv{ display:inline-flex; align-items:baseline; gap:6px; justify-content:flex-end; min-width:72px; background: transparent; color: var(--lx-text-3); font: 450 12px/16px var(--lx-font); font-feature-settings: var(--lx-num); }
body.lumen #app .mch-d-bv b{ background: transparent; color: var(--lx-text); font: 600 13px/16px var(--lx-font); }
body.lumen #app .mch-d-slow{ display:block; padding: 0 4px 4px 104px; background: transparent; color: var(--lx-warn); font: 500 12px/16px var(--lx-font); }
body.lumen #app .mch-d-dest td{ vertical-align:middle; }
body.lumen #app .mch-d-num{ display:block; background: transparent; color: var(--lx-text); font-feature-settings: var(--lx-num); }
body.lumen #app .mch-d-dest .lx-meter{ display:block; width:100%; max-width:96px; margin-top:4px; }
body.lumen #app .mch-d-dest :is(th, td){ padding-left:8px !important; padding-right:8px !important; }
body.lumen #app .mch-d-dest :is(th, td):first-child{ padding-left:16px !important; }
body.lumen #app .mch-d-month > li{ justify-content:space-between; }
body.lumen #app .mch-d-month .v{ background: transparent; color: var(--lx-text); font-feature-settings: var(--lx-num); text-align:right; }
body.lumen #app .mch-d-tteam .mch-d-n{ font-feature-settings: var(--lx-num); }
body.lumen #app table.list td.mch-d-c-l{ background: transparent; color: var(--lx-text-2); white-space:nowrap; }
body.lumen #app .mch-d-bizc{ margin-top:16px; }
body.lumen #app .mch-d-sk{ display:block; border-radius:6px; background: var(--lx-surface-2); }
body.lumen #app .mch-d-sk-l{ width:40%; height:12px; }
body.lumen #app .mch-d-sk-v{ width:25%; height:24px; margin-top:10px; }
body.lumen #app .mch-d-sk-s{ width:25%; height:12px; margin-left:auto; }
body.lumen #app .mch-d-sk-b{ flex:1 1 auto; height:10px; }
body.lumen #app .mch-d-skrow{ display:flex; align-items:center; gap:12px; min-height:44px; padding: 8px 16px; box-sizing:border-box; }
body.lumen #app .mch-d-skbar{ display:flex; align-items:center; gap:12px; min-height:28px; }
body.lumen #app .mch-d-skbar .mch-d-sk-s{ margin-left:0; flex:none; width:80px; }
body.lumen #app .mch-d-nb{ display:block; margin-top:4px; }
body.lumen #app :is(.mch-d-push, .mch-d-team) > .lx-card-b{ container: mchd / inline-size; }
body.lumen #app .mch-d-push :is(th, td){ padding-left:8px !important; padding-right:8px !important; }
body.lumen #app .mch-d-push :is(th, td):first-child{ padding-left:16px !important; }
body.lumen #app .mch-d-push th{ white-space:nowrap; }
/* a card narrower than its table (1366 with the sidebar keeps 5 columns; a tablet or a phone does not): rows stack, no sideways scroll */
@container mchd (max-width:620px){
  body.lumen #app .mch-d-push .mch-d-tbl thead{ display:none; }
  body.lumen #app .mch-d-push :is(.mch-d-tbl, .mch-d-tbl tbody){ display:block; width:100%; }
  body.lumen #app .mch-d-push .mch-d-tbl tr{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 12px; padding: 10px 12px; box-shadow: inset 0 -1px 0 var(--lx-line); }
  body.lumen #app .mch-d-push table.list.mch-d-tbl td{ display:block; height:auto; padding:0 !important; box-shadow:none !important; min-width:0; }
  body.lumen #app .mch-d-push .mch-d-tbl :is(.mch-d-c-st, .mch-d-c-rs){ flex: 1 1 100%; }
  body.lumen #app .mch-d-push .mch-d-tbl .mch-d-c-de :is(.mch-d-dst, .mch-d-sub){ display:inline; }
  body.lumen #app .mch-d-push .mch-d-tbl .mch-d-c-de .mch-d-sub{ margin-left:8px; padding-left:8px; box-shadow: inset 1px 0 0 var(--lx-line); }
  body.lumen #app .mch-d-push .mch-d-tbl .mch-d-c-de{ flex: 1 1 100%; order:-1; padding-top:0 !important; }
  body.lumen #app .mch-d-push .mch-d-tbl .mch-d-c-st{ order:-2; }
  body.lumen #app .mch-d-push .mch-d-tbl .mch-d-c-wi{ flex: 1 1 auto; }
  body.lumen #app .mch-d-push .mch-d-tbl .mch-d-c-ac{ width:auto; margin-left:auto; }
}
@container mchd (max-width:860px){
  body.lumen #app .mch-d-tteam thead{ display:none; }
  body.lumen #app .mch-d-tteam, body.lumen #app .mch-d-tteam tbody{ display:block; width:100%; }
  body.lumen #app table.list.mch-d-tteam tr{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 16px; padding: 10px 12px; box-shadow: inset 0 -1px 0 var(--lx-line); }
  body.lumen #app table.list.mch-d-tteam td{ display:block; height:auto; padding:0 !important; box-shadow:none !important; min-width:0; }
  body.lumen #app table.list.mch-d-tteam td.mch-d-c-p{ flex: 1 1 50%; }
  body.lumen #app table.list.mch-d-tteam td.mch-d-c-r{ flex: 1 1 30%; background: transparent; color: var(--lx-text-3); }
  body.lumen #app .mch-d-tteam td[data-l]:not(.mch-d-c-p):not(.mch-d-c-r)::before{ content: attr(data-l) " "; background: transparent; color: var(--lx-text-3); font-weight:450; }
  body.lumen #app table.list.mch-d-tteam td.mch-d-c-ac{ width:auto; margin-left:auto; }
  body.lumen #app .mch-d-tteam td.mch-d-c-ac:empty{ display:none; }
}
@media (max-width:760px){
  body.lumen #app .mch-d-tools{ flex-wrap:wrap; }
  body.lumen #app .mch-d-tf{ flex: 1 1 100%; }
  body.lumen #app .mch-d-tf .mch-d-tl{ flex: 0 0 52px; }
  body.lumen #app .mch-d-tools .mch-d-tf select{ flex: 1 1 auto; max-width:none; }
  body.lumen #app .mch-d-ptabs{ padding: 0 12px; }
  body.lumen #app .mch-d-kpis .lx-kpi-l{ align-items:flex-start; white-space:normal; overflow:visible; background: transparent; color: var(--lx-text-2); }
  body.lumen #app .mch-d-ic{ width: var(--lx-ctl-xl); height: var(--lx-ctl-xl); }
  body.lumen #app .mch-d-name{ min-height: var(--lx-ctl-xl); display:inline-flex; align-items:center; }
  body.lumen #app .mch-d-slow{ padding-left:4px; }
  body.lumen #app .mch-d-bar{ grid-template-columns: 84px minmax(0,1fr) auto; min-height: var(--lx-ctl-xl); }
}
/* ══ /MC v2 ship 5 H-7 ══ */
/* ══ MC v2 ship 5 H-9 · Waiting for my decision + Team review (plan-H §2.4 / §2.5; MASTER-v2 §f ship 5; Hallmark: Lumen tokens only, no
   literal colour, controls from the --lx-ctl-* tokens 28/32/36 desktop and 32/40/44 phone). Reuses H-8's .mch-tbl / .mch-line / .mch-sk;
   the files drawer lives in <body> (#dlg), so its rules are body.lumen .lx-drawer-mchr. ══ */
body.lumen #app .mch-dec .lx-card-b, body.lumen #app .mch-rcard{ padding: 4px 16px 16px; }
body.lumen #app .mch-dtbl .mch-what{ font-weight:600; background: transparent; color: var(--lx-text); }
body.lumen #app .mch-dtbl td.mch-acts-line{ white-space:normal; min-width:280px; }
body.lumen #app .mch-dtbl td.mch-acts .mch-err{ display:block; margin-top:4px; text-align:left; }
body.lumen #app .mch-flash{ margin: 8px 0; background: transparent; color: var(--lx-text-2); font: 500 12.5px/18px var(--lx-font); }
body.lumen #app .mch-links{ list-style:none; margin: 12px 0 0; padding:0; }
body.lumen #app .mch-links li{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 12px; min-height:44px; box-shadow: inset 0 1px 0 var(--lx-line); background: transparent; color: var(--lx-text-2); font: 450 13px/20px var(--lx-font); }
body.lumen #app .mch-links li .btn{ margin-left:auto; }
body.lumen #app .mch-rtabs{ margin-bottom:16px; }
body.lumen #app .mch-rtw{ overflow-x:auto; }
body.lumen #app .mch-rtbl td.mch-rc{ vertical-align:top; }
body.lumen #app .mch-rtbl .mch-rsub{ display:none; }
body.lumen #app .mch-fig{ all:unset; box-sizing:border-box; display:inline-flex; align-items:center; gap:4px; min-height: var(--lx-ctl-sm); padding: 0 6px; margin-left:-6px; border-radius: var(--lx-r-ctl); cursor:pointer;
  background: transparent; color: var(--lx-text); font: 600 13px/20px var(--lx-font); font-feature-settings: var(--lx-num); text-decoration: underline; text-decoration-color: var(--lx-line-2); text-underline-offset: 3px; }
body.lumen #app .mch-fig:hover{ background: var(--lx-surface-2); text-decoration-color: currentColor; }
body.lumen #app .mch-fig:focus-visible{ outline: 2px solid var(--lx-focus); outline-offset: 2px; }
body.lumen #app :is(.mch-fig, .mch-fig0).bad{ background: transparent; color: var(--lx-bad); }
body.lumen #app .mch-fig svg, body.lumen #app .mch-fig0 svg{ width:14px; height:14px; flex:none; }
body.lumen #app .mch-fig0{ display:inline-flex; align-items:center; gap:4px; min-height: var(--lx-ctl-sm); background: transparent; color: var(--lx-text-3); font: 450 13px/20px var(--lx-font); font-feature-settings: var(--lx-num); }
body.lumen #app .mch-rnote{ min-width:180px; max-width:280px; }
body.lumen #app .mch-note{ display:block; margin-bottom:4px; background: transparent; color: var(--lx-text); font: 400 13px/18px var(--lx-font); overflow-wrap:anywhere; }
body.lumen #app .mch-rfoot{ display:flex; flex-direction:column; gap:4px; margin-top:12px; }
body.lumen .overlay.lx-dov > .panel.lx-drawer-mchr{ width: min(480px, calc(100vw - 16px)) !important; }
body.lumen .lx-drawer-mchr .mch-fhead{ margin: 0 0 12px; background: transparent; color: var(--lx-text-2); font: 500 13px/20px var(--lx-font); }
body.lumen .lx-drawer-mchr .mch-flist{ list-style:none; margin:0; padding:0; }
body.lumen .lx-drawer-mchr .mch-fr{ display:flex; align-items:center; gap:12px; min-height:56px; padding: 8px 0; box-shadow: inset 0 -1px 0 var(--lx-line); }
body.lumen .lx-drawer-mchr .mch-frm{ flex:1; min-width:0; display:flex; flex-wrap:wrap; align-items:center; gap:2px 8px; background: transparent; color: var(--lx-text); font: 450 13px/20px var(--lx-font); }
body.lumen .lx-drawer-mchr .mch-frf{ flex-basis:100%; background: transparent; color: var(--lx-text-2); font: 400 12.5px/18px var(--lx-font); }
body.lumen .lx-drawer-mchr .mch-sub{ background: transparent; color: var(--lx-text-3); font: 400 12px/16px var(--lx-font); }
body.lumen .lx-drawer-mchr .mch-help{ margin: 8px 0 0; background: transparent; color: var(--lx-text-3); font: 400 12px/16px var(--lx-font); }
body.lumen .lx-drawer-mchr .mch-tsk{ display:flex; flex-direction:column; }
body.lumen .lx-drawer-mchr .mch-tskr{ display:flex; flex-direction:column; justify-content:center; min-height:44px; box-shadow: inset 0 -1px 0 var(--lx-line); }
body.lumen .lx-drawer-mchr .mch-sk{ display:block; height:12px; width:60%; border-radius:6px; background: var(--lx-surface-2); }
body.lumen .lx-drawer-mchr .mch-sk-s{ width:35%; margin-top:8px; }
@media (max-width:760px){
  body.lumen #app .mch-dtbl td.mch-acts-line{ min-width:0; }
  body.lumen #app table.list:is(.mch-dtbl, .mch-rtbl) td{ height:auto !important; min-height:0; }   /* Lumen's table.list td height outranks the stacked rows' auto */
  body.lumen #app table.list:is(.mch-dtbl, .mch-rtbl) td{ box-shadow:none; padding: 4px 0 !important; }
  body.lumen #app table.list.mch-rtbl td[data-l]::before{ white-space:normal; overflow-wrap:anywhere; }
  body.lumen #app .mch-links li .btn{ margin-left:0; height: var(--lx-ctl-md) !important; min-height: var(--lx-ctl-md) !important; }
  body.lumen #app .mch-rtw{ overflow-x:visible; }
  body.lumen #app .mch-rtbl tr{ display:grid !important; grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap:12px; }
  body.lumen #app .mch-rtbl td.mch-rp, body.lumen #app .mch-rtbl td.mch-rnote{ grid-column: 1 / -1; max-width:none; }
  body.lumen #app .mch-rtbl td.mch-rrole{ display:none !important; }
  body.lumen #app .mch-rtbl .mch-rsub{ display:block; }
  body.lumen #app .mch-rtbl td.mch-rp::before{ display:none !important; }
  body.lumen #app .mch-fig, body.lumen #app .mch-fig0{ min-height: var(--lx-ctl-md); }
  body.lumen #app .mch-rnote .btn{ height: var(--lx-ctl-md) !important; min-height: var(--lx-ctl-md) !important; }
  body.lumen .lx-drawer-mchr .mch-fr .btn{ height: var(--lx-ctl-md) !important; min-height: var(--lx-ctl-md) !important; }
}
/* ══ /MC v2 ship 5 H-9 ══ */
/* ══ MC v2 ship 5 H-10 · the file menu's dialogs (My follow-up, Override a checklist item, Who opened this) and Study Abroad setup's Follow-up
   rules (plan-H §2.7; MASTER-v2 §f ship 5; Hallmark: Lumen tokens only, no literal colour, controls through the --lx-ctl-* tokens, light text
   never without a literal background in the same rule). The dialogs are A's dialog.mcw-dlg with H-8's .mch-ndlg (chips, date, help line,
   skeleton) plus .mch-adlg; the rules section sits in S-2's setup page (.mcs-sec, .mcs-cards, .mcs-foot) under #app. ══ */
body.lumen .mch-ldlg .mch-log{ min-width:0; max-height:360px; overflow:auto; }
body.lumen .mch-ldlg table.list.mch-lt{ width:100%; box-shadow:none !important; }
body.lumen .mch-ldlg .mch-lt td{ vertical-align:top; }
body.lumen .mch-ldlg .mch-lt .mch-lw{ white-space:nowrap; font-feature-settings: var(--lx-num); background: transparent; color: var(--lx-text-2); }
body.lumen .mch-ldlg .mch-lt .mch-ld{ display:block; background: transparent; color: var(--lx-text-3); font: 400 12px/16px var(--lx-font); overflow-wrap:anywhere; }
body.lumen .mch-ldlg .lx-empty{ padding: 16px 0; }
body.lumen #app .mch-rules .mch-rf + .mch-rf{ margin-top:24px; padding-top:16px; box-shadow: inset 0 1px 0 var(--lx-line); }
body.lumen #app .mch-rules .mch-rh{ margin: 0 0 8px; background: transparent; color: var(--lx-text); font: 600 14px/20px var(--lx-font); text-transform:none; }
body.lumen #app .mch-rules .mch-rv{ display:inline-flex; flex-wrap:wrap; align-items:center; gap:8px; }
body.lumen #app .mch-rules input.mch-rin{ box-sizing:border-box; width:80px; min-width:0; font-feature-settings: var(--lx-num); }   /* height, skin and focus: the house input rules (in a row sm, on the page md) */
body.lumen #app .mch-rules input.mch-tin{ width:112px; }
body.lumen #app .mch-rules input.mch-rin[aria-invalid="true"]{ box-shadow: 0 0 0 1px var(--lx-bad) !important; }
body.lumen #app .mch-rules .mch-ru{ background: transparent; color: var(--lx-text-2); font: 450 13px/18px var(--lx-font); }
body.lumen #app .mch-rules .mch-dg{ display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; }
body.lumen #app .mch-rules .mch-dg label{ background: transparent; color: var(--lx-text); font: 450 13px/18px var(--lx-font); }
body.lumen #app .mch-rules .mch-help{ margin-top:6px; }
@media (max-width:760px){
  body.lumen #app .mch-rules .mch-et input.mch-rin{ width:100%; }
  body.lumen #app .mch-rules .mcs-foot .btn{ height: var(--lx-ctl-md) !important; min-height: var(--lx-ctl-md) !important; }
}
/* ══ /MC v2 ship 5 H-10 ══ */
/* ══ MC v2 ship 5 P-a · the three Analytics cards (emHeadPartnerCard, emHeadRefusalCard, emHeadClaimsCard; plan-S P2, MASTER-v2 IF-15, §f ship 5).
   Hallmark floor (bdm-meter-rules W11 as written there): Lumen tokens only. The partner
   table reuses S-2's .mcs-cards (one partner per card on a phone); the four refusal groups sit two by two, one column on a phone. ══ */
body.lumen #app .mcs-hp{ margin-top:16px; }
body.lumen #app .mcs-hp .lx-kpis{ margin: 0 0 12px; box-shadow:none; }
body.lumen #app .mcs-hp-h{ margin: 16px 0 8px; font: 600 14px/20px var(--lx-font); color: var(--lx-text); }
body.lumen #app .mcs-hp-h:first-child{ margin-top:0; }
body.lumen #app .mcs-hp-n{ font-feature-settings: var(--lx-num); font-weight:600; color: var(--lx-text); }
body.lumen #app .mcs-hp-gap{ color: var(--lx-warn); }
body.lumen #app .mcs-hp-note{ margin: 4px 0 0; }
body.lumen #app .mcs-hp-t td{ vertical-align:top; }
body.lumen #app .mcs-hp-t td .lx-badge{ margin-left:4px; }
body.lumen #app .mcs-hp-gs{ display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:16px 24px; }
body.lumen #app .mcs-hp-g{ min-width:0; }
body.lumen #app .mcs-hp-g .mcs-hp-h{ margin-top:0; }
body.lumen #app table.list.mcs-hp-gt{ width:100%; table-layout:fixed; }
body.lumen #app table.list.mcs-hp-gt th:not(:first-child), body.lumen #app table.list.mcs-hp-gt td:not(:first-child){ width:72px; text-align:right; font-feature-settings: var(--lx-num); }
body.lumen #app table.list.mcs-hp-gt td:first-child{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
@media (max-width:760px){
  body.lumen #app .mcs-hp-gs{ grid-template-columns: minmax(0, 1fr); }
  body.lumen #app table.list.mcs-hp-gt th:not(:first-child), body.lumen #app table.list.mcs-hp-gt td:not(:first-child){ width:56px; }
  body.lumen #app .mcs-hp-t td .lx-badge{ margin: 4px 4px 0 0; }
}
/* ══ /MC v2 ship 5 P-a ══ */
/* ══ MC v2 ship 5 C-15 · the File clean-up card (Business tab of the Admin desk) and the archived segment of Old E&M Leads (plan-C §2.14;
   Build 3 §2·22 "Client (H-C3)"; DESIGN-hallmark (h); MASTER-v2 §f ship 5; Hallmark: Lumen tokens only, no literal colour, controls through
   the --lx-ctl-* tokens (28 in the toolbar, 32/40/44 on phones), state colours only as text with words; phone 390 px: every table stacks
   into labelled rows, no horizontal page scroll). The confirms are A's dialog.mcw-dlg with .mcc-dp / .mcc-dl / .mcc-sl inside. ══ */
body.lumen #app .mcc-cl{ grid-column: 1 / -1; min-width:0; }
body.lumen #app .mcc-cl-b{ container: mcc / inline-size; min-width:0; }
body.lumen #app .mcc-tabs .lx-tabs, body.lumen #app .mcc-seg .lx-tabs{ margin: 0 0 16px; flex-wrap:wrap; }
body.lumen #app .mcc-tools{ gap:8px 12px; }
body.lumen #app .mcc-tf{ display:inline-flex; align-items:center; gap:8px; min-width:0; }
body.lumen #app .mcc-tl{ background: transparent; color: var(--lx-text-2); font: 500 12px/16px var(--lx-font); }
body.lumen #app .mcc-tools input[type="date"]{ box-sizing:border-box; width:148px; min-width:0; font-feature-settings: var(--lx-num); }
body.lumen #app .mcc-ck{ display:inline-flex; align-items:center; gap:8px; min-height: var(--lx-ctl-sm); background: transparent; color: var(--lx-text); font: 450 13px/18px var(--lx-font); cursor:pointer; }
body.lumen #app .lx-toolbar .mcc-ck input[type="checkbox"]{ width:16px; height:16px !important; min-height:0 !important; margin:0; }
body.lumen #app .mcc-tools .btn{ display:inline-flex; align-items:center; gap:6px; }
body.lumen #app .mcc-hint, body.lumen #app .mcc-note{ margin: 0 0 12px; background: transparent; color: var(--lx-text-3); font: 450 12px/16px var(--lx-font); }
body.lumen #app .mcc-note{ color: var(--lx-text-2); font-size:13px; line-height:18px; }
body.lumen #app .mcc-g{ margin: 0 0 12px; }
body.lumen #app .mcc-reg{ min-width:0; }
body.lumen #app .mcc-h4{ margin: 8px 0 8px; background: transparent; color: var(--lx-text); font: 600 13px/18px var(--lx-font); text-transform:none; }
body.lumen #app table.list.mcc-tbl{ width:100%; box-shadow:none !important; }
body.lumen #app .mcc-tbl td{ vertical-align:middle; }
body.lumen #app .mcc-tbl :is(th, td).mcc-n{ text-align:right; font-feature-settings: var(--lx-num); white-space:nowrap; }
body.lumen #app .mcc-mut{ background: transparent; color: var(--lx-text-3); }
body.lumen #app .mcc-cnt .mcc-mut{ margin-left:8px; padding-left:8px; box-shadow: inset 1px 0 0 var(--lx-line); }
body.lumen #app .mcc-who{ margin-right:6px; background: transparent; color: var(--lx-text); }
body.lumen #app .mcc-id{ background: transparent; color: var(--lx-text); font-feature-settings: var(--lx-num); white-space:nowrap; }
body.lumen #app .mcc-ac{ width:1%; white-space:nowrap; text-align:right; }
body.lumen #app .mcc-sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip: rect(0 0 0 0); white-space:nowrap; }
body.lumen #app .mcc-ntools{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 12px; margin: 0 0 12px; }
body.lumen #app .mcc-cnt{ background: transparent; color: var(--lx-text-2); font: 500 13px/18px var(--lx-font); font-feature-settings: var(--lx-num); }
body.lumen #app .mcc-names tr.mcc-open td:first-child b{ background: transparent; color: var(--lx-text); }
body.lumen #app .mcc-dec select{ width:100%; max-width:240px; min-width:0; }
body.lumen #app .mcc-run{ margin: 0 0 16px; padding: 12px 16px; border-radius: var(--lx-r-card); background: var(--lx-surface-2); box-shadow: inset 0 0 0 1px var(--lx-line); }
body.lumen #app .mcc-q{ margin: 0 0 8px; background: transparent; color: var(--lx-text); font: 600 14px/20px var(--lx-font); font-feature-settings: var(--lx-num); }
body.lumen #app .mcc-runa{ display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; margin: 0 0 8px; }
body.lumen #app .mcc-runa .btn{ display:inline-flex; align-items:center; gap:6px; }
body.lumen #app .mcc-why{ background: transparent; color: var(--lx-text-2); font: 500 13px/18px var(--lx-font); }
body.lumen #app .mcc-run .mcc-hint{ margin:0; }
body.lumen #app .mcc-pager{ display:flex; align-items:center; gap:12px; margin-top:12px; }
body.lumen #app .mcc-look{ margin-top:12px; }
body.lumen #app .mcc-ban{ margin: 0 0 12px; }
body.lumen #app .mcc-sk{ display:block; width:40%; height:12px; border-radius:6px; background: var(--lx-surface-2); }
body.lumen #app .mcc-sk-s{ width:25%; margin-left:auto; }
body.lumen #app .mcc-sktbl td{ height:44px; }
body.lumen .mcw-dlg .mcc-dp{ margin: 0 0 8px; background: transparent; color: var(--lx-text-2); font: 450 13px/18px var(--lx-font); }
body.lumen .mcw-dlg .mcc-dp.mcc-mut{ color: var(--lx-text-3); }
body.lumen .mcw-dlg .mcc-dl{ list-style:none; margin: 0 0 12px; padding:0; display:flex; flex-direction:column; }
body.lumen .mcw-dlg .mcc-dl li{ display:flex; align-items:center; justify-content:space-between; min-height: var(--lx-ctl-lg); padding: 0 4px; box-shadow: inset 0 -1px 0 var(--lx-line); background: transparent; color: var(--lx-text-2); }
body.lumen .mcw-dlg .mcc-dl b{ background: transparent; color: var(--lx-text); font: 600 14px/20px var(--lx-font); font-feature-settings: var(--lx-num); }
body.lumen .mcw-dlg .mcc-sl{ margin: 0 0 8px; padding-left:18px; background: transparent; color: var(--lx-text-2); font: 450 12px/16px var(--lx-font); }
/* a card narrower than its tables (the phone, a tablet, the desk's half column): rows stack with their labels, no sideways scroll */
@container mcc (max-width:720px){
  body.lumen #app :is(.mcc-names, .mcc-bts) thead{ display:none; }
  body.lumen #app :is(.mcc-names, .mcc-bts), body.lumen #app :is(.mcc-names, .mcc-bts) tbody{ display:block; width:100%; }
  body.lumen #app table.list:is(.mcc-names, .mcc-bts) tr{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 16px; padding: 10px 4px; box-shadow: inset 0 -1px 0 var(--lx-line); }
  body.lumen #app table.list:is(.mcc-names, .mcc-bts) td{ display:block; height:auto; padding:0 !important; box-shadow:none !important; min-width:0; text-align:left; }
  body.lumen #app :is(.mcc-names, .mcc-bts) td[data-l]:not(:first-child)::before{ content: attr(data-l) " "; background: transparent; color: var(--lx-text-3); font-weight:450; }
  body.lumen #app :is(.mcc-names, .mcc-bts) td:first-child{ flex: 1 1 100%; }
  body.lumen #app .mcc-names td.mcc-dec{ flex: 1 1 100%; }
  body.lumen #app .mcc-names td.mcc-dec::before{ display:block; margin-bottom:4px; }
  body.lumen #app .mcc-dec select{ max-width:none; }
  body.lumen #app table.list.mcc-bts td.mcc-ac{ width:auto; margin-left:auto; }
}
/* the archived segment sits in the page, not in a card */
@media (max-width:860px){
  body.lumen #app .mcc-atbl thead{ display:none; }
  body.lumen #app .mcc-atbl, body.lumen #app .mcc-atbl tbody{ display:block; width:100%; }
  body.lumen #app table.list.mcc-atbl tr{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 16px; padding: 10px 4px; box-shadow: inset 0 -1px 0 var(--lx-line); }
  body.lumen #app table.list.mcc-atbl td{ display:block; height:auto; padding:0 !important; box-shadow:none !important; min-width:0; overflow-wrap:anywhere; }
  body.lumen #app .mcc-atbl td[data-l]:not(:first-child)::before{ content: attr(data-l) " "; background: transparent; color: var(--lx-text-3); font-weight:450; }
  body.lumen #app .mcc-atbl td:first-child{ flex: 1 1 100%; }
  body.lumen #app table.list.mcc-atbl td.mcc-ac{ width:auto; margin-left:auto; }
}
@media (max-width:760px){
  body.lumen #app .mcc-tools{ flex-wrap:wrap; }
  body.lumen #app .mcc-tf{ flex: 1 1 100%; }
  body.lumen #app .mcc-tf .mcc-tl{ flex: 0 0 96px; }
  body.lumen #app .mcc-tools .mcc-tf :is(select, input){ flex: 1 1 auto; width:auto; max-width:none; }
  body.lumen #app .mcc-ck{ min-height: var(--lx-ctl-xl); }
  body.lumen #app .mcc-tools .btn, body.lumen #app .mcc-ntools .btn, body.lumen #app .mcc-runa .btn{ flex: 1 1 100%; justify-content:center; }
  body.lumen #app .mcc-pager{ flex-wrap:wrap; }
}
/* ══ /MC v2 ship 5 C-15 ══ */
