/* fz-shell.css — App shell: sidebar, ＋Create, user block, mobile bar, bottom bar, notification panel. Owner: shell agent.
   sidebar.jsx, app.jsx (shell parts), ops-bottombar.jsx, notifications.jsx (panel only).
   Loaded AFTER nova-shell.css (see index.php), so equal-specificity rules here win.
   Light is the base theme; dark lives under [data-theme="dark"] (app.jsx always sets it on <html>).

   Refine v3.10 (4 Okt 2026, reference 1): sidebar 240px (224 tablet), 42px
   nav rows / 20px icons / 4px rhythm, SOFT neutral pill for the selected item
   (was a full lime slab; accent only on its icon), no divider lines,
   outline-free pod / Create / account controls, Jump-to-client anchored
   beside the bell (not on the Clients list, which has its own search),
   opaque phone drawer, wordmark left-aligned in the phone bar, soft
   bottom-bar capsule, no text under 12px in the shell, phone scroll-padding
   clear of the top and bottom bars.

   Only --fz-* tokens (fz-tokens.css), spacing included (--fz-s-* ladder). The
   only px left in spacing are the 2px hairline gaps between stacked list items
   / text lines (below the 4px first step, like the 1px borders) — deliberate.
   The legacy layers paint the sidebar with
   !important at up to (0,14,1) — `html[data-theme="dark"] .xcs-sidebar *:not(…)`
   recolours EVERY descendant in dark — so every colour inside the sidebar below
   carries !important on a `:root .xcs-app .xcs-sidebar …` chain.

   LOCKED, NOT TOUCHED HERE: position / size / z-index of .xcs-notif-bell and
   .fsw-assist-fab, and the 70/84px right rail of .xcs-main-inner (nova-shell §1,
   ops-theme A1/A2). Only their COLOURS on the phone top bar are set (§10), because
   that bar is now light in the light theme.

   Sections
     1. App grid + main canvas
    1b. Top utility row (Jump to client, desktop)
     2. Sidebar surface
     3. Brand
     4. Pod switcher
     5. ＋ Create
     6. Primary nav, badges, collapsible groups
    6b. Next Level — silver shine item (opsplan)
     7. User block
     8. Popovers (Create menu, pod menu, account menu + theme switch)
     9. brand.css leftovers (cyan active marker)
    10. Phone top bar (≤768)
    11. Phone bottom bar (≤768)
    12. Notification panel
    13. Motion / print
    14. My Workload — Next Level QC rows (finished tint) */


/* ═══ 1. APP GRID + MAIN CANVAS ═══════════════════════════════════════════════
   Refine v3.10 (4 Okt 2026): sidebar 256 → 240px (referensi 180–240), 224px di
   pita tablet 769–1024 supaya isi tidak terjepit. */
@media (min-width: 1025px) {
  :root .xcs-app:not(.xcs-app-standalone) { grid-template-columns: 240px minmax(0, 1fr); }
}
@media (min-width: 769px) and (max-width: 1024px) {
  :root .xcs-app:not(.xcs-app-standalone) { grid-template-columns: 224px minmax(0, 1fr); }
}
/* Phone/tablet: one column, two rows in flow — the top bar and .xcs-main (the
   sidebar, bell, FAB, bottom bar and scrims are all fixed). With the legacy
   implicit `auto` rows and min-height 100dvh, a page shorter than the screen
   split the spare height between BOTH rows, so the bar grew to 150–340px with
   its icons centred in it (QA r1). The bar row is now always content-height and
   .xcs-main takes the rest; the footer rule below pins the footer to the bottom. */
@media (max-width: 768px) {
  :root .xcs-app:not(.xcs-app-standalone) { grid-template-rows: auto minmax(0, 1fr); }
  :root .xcs-app:not(.xcs-app-standalone) > .xcs-mobile-bar { align-self: start; }
}
:root .xcs-app .xcs-main { background: var(--fz-bg) !important; background-image: none !important; }
/* Page gutter = --fz-page-pad (28 desktop / 16 phone). Only top + left on
   desktop: padding-right IS the bell/FAB rail (70/84px, nova-shell §1) and
   padding-bottom belongs to the bottom-bar rail on phones. `screen` only, so the
   print rule in ops-theme (padding 0 !important) keeps winning on paper. */
@media screen and (min-width: 769px) {
  :root .xcs-app .xcs-main-inner {
    max-width: var(--fz-content-max);
    padding-top: var(--fz-page-pad) !important;
    padding-left: var(--fz-page-pad) !important;
  }
}
/* Laptop & up: the gutter next to the sidebar opens to 40px so the first card
   column does not hug the sidebar edge (reference: generous rhythm). The right
   side stays the locked 70px bell/FAB rail. */
@media screen and (min-width: 1280px) {
  :root .xcs-app .xcs-main-inner { padding-left: var(--fz-s-8) !important; }
}
@media screen and (max-width: 768px) {
  :root .xcs-app .xcs-main-inner {
    padding-left: var(--fz-page-pad) !important;
    padding-right: var(--fz-page-pad) !important;
  }
}
/* Short pages: the footer sits at the bottom of the canvas instead of floating
   mid-screen under the last card. (Width 100% is required: the inner's auto
   side margins would otherwise shrink it to its content in a flex column.) */
@media screen {
  :root .xcs-app .xcs-main { display: flex; flex-direction: column; min-width: 0; }
  :root .xcs-app .xcs-main > .xcs-main-inner { flex: 1 0 auto; width: 100%; box-sizing: border-box; }
  :root .xcs-app .xcs-main > .xcs-footer { flex: none; }
}
/* 12px (--fz-fs-micro, the floor): styles.css set 11.5px desktop / 11px phone. */
:root .xcs-app .xcs-footer { color: var(--fz-text-3); border-top-color: var(--fz-border); font-size: var(--fz-fs-micro); }

/* ═══ 1b. TOP UTILITY ROW (desktop, app.jsx .fz-topbar) ═══════════════════════
   One "Jump to client" for every screen, in the same place: top-right, on the
   locked bell's line (bell = fixed, top 16px, 38px tall — not touched). The row
   is in flow (it reserves the 38px), so nothing can overlap it at any width;
   the field itself is anchored next to the bell (below); the page header
   follows 12px below. Pulled up from the 28px page gutter to the bell's 16px with a
   negative top margin (no padding change: the padding IS the bell/FAB rail).
   While the row is there, the header Jump boxes of Today / Clients would be a
   second copy, so they are hidden (desktop only — phones keep the page's own
   header untouched, and the row itself is hidden there: the bell lives in the
   top bar on phones). */
.fz-topbar { display: none; }
@media screen and (min-width: 769px) {
  :root .xcs-app .xcs-main-inner > .fz-topbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 38px;
    /* bottom: .xcs-main-inner is a flex column with a 24px gap (styles.css:253);
       the margin takes it back to 12px under the row. */
    margin: calc(var(--fz-s-4) - var(--fz-page-pad)) 0 calc(var(--fz-s-3) - 24px);
  }
  /* Refine v3.10: the field is anchored to the WINDOW's top-right, 12px left of
     the fixed bell (bell = right 20 + 38px wide → 70px), not to the right edge
     of the centred content column. On 1920 the content column ends ~100px
     before the bell, and the old in-flow box floated alone in that gap; now
     search + bell read as one chrome group at every width. The row above stays
     in flow at the same 38px, so nothing below moves and nothing can overlap
     it. .xcs-main is already position:relative in dark (nova.css:346); set
     here for light too. */
  :root .xcs-app .xcs-main { position: relative; }
  :root .xcs-app .fz-topbar-find {
    position: absolute; z-index: 30;
    top: var(--fz-s-4);
    right: 70px;
    width: 320px;
    max-width: calc(100% - 70px - var(--fz-s-6));
    min-width: 0;
  }
  /* The CONTAINER is the capsule (fill + hairline), at a deliberately LOW
     specificity (0,2,0): hud-skins.css repaints `.fsw-jump` itself per skin
     (Silver smoked capsule, Premium Light frosted capsule, (0,3,0)) and must
     win. Before, those skin fills drew a SQUARE frame around this pill input.
     The input inside is transparent; focus rings the whole capsule. */
  .fz-topbar .fsw-jump {
    background: var(--fz-surface-2);
    border: 1px solid var(--fz-border);
    box-shadow: none;
    transition: border-color var(--fz-t-fast) var(--fz-ease), background-color var(--fz-t-fast) var(--fz-ease);
  }
  .fz-topbar .fsw-jump:hover { background: var(--fz-surface-hover); border-color: var(--fz-border-strong); }
  :root .xcs-app .fz-topbar .fsw-jump {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    height: 38px;
    border-radius: var(--fz-r-pill);
  }
  :root .xcs-app .fz-topbar .fsw-jump:focus-within {
    border-color: var(--fz-focus);
    box-shadow: 0 0 0 1px var(--fz-focus);
  }
  /* Search glyph inside the capsule, at the bell's 38px so the pair reads as
     one line. */
  :root .xcs-app .fz-topbar .fsw-jump::before {
    content: '';
    position: absolute;
    left: var(--fz-s-3);
    top: 50%;
    width: 15px;
    height: 15px;
    transform: translateY(-50%);
    background-color: var(--fz-text-3);
    -webkit-mask: var(--fz-ico-search) center / contain no-repeat;
    mask: var(--fz-ico-search) center / contain no-repeat;
    pointer-events: none;
  }
  :root .xcs-app .fz-topbar .fsw-jump input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0 var(--fz-s-4) 0 calc(var(--fz-s-3) + 15px + var(--fz-s-2));
    background: transparent;
    border: 0;
    border-radius: var(--fz-r-pill);
    box-shadow: none;
    outline: none;
    color: var(--fz-text-1);
    font-family: var(--fz-font-body);
    font-size: var(--fz-fs-body);
    line-height: 1.2;
  }
  :root .xcs-app .fz-topbar .fsw-jump input:hover:not(:focus),
  :root .xcs-app .fz-topbar .fsw-jump input:focus { background: transparent; border: 0; box-shadow: none; outline: none; }
  :root .xcs-app .fz-topbar .fsw-jump input::placeholder { color: var(--fz-text-3); opacity: 1; }
  :root .xcs-app .xcs-main-inner > .fz-topbar ~ * .xcs-pagehead .xcs-pagehead-cta > .fsw-jump { display: none; }
  /* Refine v3.10 (judge): the Clients LIST has its own "Search clients" field
     (name, code and @handle) 150px below — two search boxes doing one job.
     There the Jump field steps aside; the row itself stays, so the page title
     keeps the same 66px start as every other screen and the bell is untouched.
     The client DETAIL page (.fz-cd) and every other screen keep Jump. */
  :root .xcs-app .xcs-main-inner:has(> .fz-clh) > .fz-topbar > .fz-topbar-find { display: none; }
}


/* ═══ 2. SIDEBAR SURFACE ══════════════════════════════════════════════════════
   Light theme = light sidebar (--fz-sidebar + --fz-text-*), dark theme = the
   dark --fz-sidebar, one step lighter than the canvas. Separated from the page
   by one hairline (hud-skins.css repaints the surface per skin).
   Refine v3.10: 240px wide, 20/16px inset, a calmer list (see §6). */
:root .xcs-app .xcs-sidebar {
  --xcs-sidebar-bg: var(--fz-sidebar);
  --xcs-side-bg: var(--fz-sidebar);
  background: var(--fz-sidebar) !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: var(--fz-text-2) !important;
  font-family: var(--fz-font-body);
  gap: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--fz-border-strong) transparent;
}
/* The hairline edge (and no shadow) for every skin EXCEPT Silver: its sidebar is
   part of the glass slab and draws its own edge in hud-skins.css (a .10 white
   border + a .05 inner rim), which an unscoped !important here used to flatten.
   Burgundy and Premium Light restate theirs at (0,4,0) !important in the later
   file and still win; Core keeps this hairline. The phone drawer's shadow
   (below, (0,6,0)) still applies to every skin. */
:root:not([data-hud-skin="silver"]) .xcs-app .xcs-sidebar {
  border-right: 1px solid var(--fz-border) !important;
  box-shadow: none !important;
}
/* Silver writes that edge WITHOUT !important, and nova-shell.css §2 pins every
   sidebar to `border-right: var(--xcs-line-1) !important; box-shadow: none
   !important` at (0,3,0) — so Silver's own values are restated here at (0,4,0)
   !important. Keep in step with hud-skins.css "sidebar is part of the slab". */
:root[data-hud-skin="silver"] .xcs-app .xcs-sidebar {
  border-right: 1px solid rgba(255, 255, 255, .10) !important;
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, .05) !important;
}
:root .xcs-app .xcs-sidebar::-webkit-scrollbar-thumb { background: var(--fz-border-strong); border-radius: var(--fz-r-pill); }
@media (min-width: 769px) {
  :root .xcs-app .xcs-sidebar { padding: var(--fz-s-5) var(--fz-s-4) var(--fz-s-4) !important; }
}
/* Phone drawer: the drawer itself (fixed, translateX, z 80, overflow) stays
   exactly as styles.css builds it; only its inner padding and surface are set.
   The bottom bar is hidden while the drawer is open, so no 90px reserve.
   The drawer slides OVER the page, so it must be opaque: the Core skin's .86
   and Silver's .52 desktop tints (hud-skins.css, meant for a sidebar that
   sits BESIDE the canvas) let the page title show through the logo. (0,5,0)
   + !important outranks those (0,3,0)/(0,4,0) skin rules on phones only. */
@media (max-width: 768px) {
  :root .xcs-app .xcs-sidebar {
    padding: calc(var(--fz-s-4) + env(safe-area-inset-top, 0px)) var(--fz-s-4) calc(var(--fz-s-4) + env(safe-area-inset-bottom, 0px)) !important;
    width: 288px;
  }
  :root:root .xcs-app .xcs-sidebar.fz-sb {
    background: var(--fz-sidebar) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: var(--fz-shadow-pop) !important;
  }
}
.fz-sb-top { display: flex; flex-direction: column; gap: var(--fz-s-3); flex: none; }
/* The dark-theme sweep also recolours every <path> inside an icon, and
   `stroke: currentColor` resolves on the path itself — so icon paths must
   inherit the colour of their button explicitly. */
:root .xcs-app .xcs-sidebar svg,
:root .xcs-app .xcs-sidebar svg * { color: inherit !important; }


/* ═══ 3. BRAND ═════════════════════════════════════════════════════════════════ */
.fz-sb-brandrow { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--fz-s-2); }
:root .xcs-app .xcs-sidebar .fz-sb-close {
  appearance: none;
  display: none;
  width: 44px; height: 44px; flex: none;
  place-items: center;
  margin: calc(-1 * var(--fz-s-2)) calc(-1 * var(--fz-s-2)) 0 0;
  border: 0; border-radius: var(--fz-r-pill);
  background: transparent;
  color: var(--fz-text-2) !important;
  cursor: pointer;
  transition: background-color var(--fz-t-fast) var(--fz-ease);
}
:root .xcs-app .xcs-sidebar .fz-sb-close:hover { background: var(--fz-surface-hover); color: var(--fz-text-1) !important; }
:root .xcs-app .xcs-sidebar .fz-sb-close:active { background: var(--fz-surface-3); }
:root .xcs-app .xcs-sidebar .fz-sb-close:focus-visible { outline: 2px solid var(--fz-focus); outline-offset: -2px; }
@media (max-width: 768px) {
  :root .xcs-app .xcs-sidebar .fz-sb-close { display: grid; }
}
:root .xcs-app .xcs-sidebar .xcs-brand.fz-sb-brand {
  appearance: none;
  display: flex; align-items: center;
  flex: 1; min-width: 0;
  margin: 0 !important;
  /* Left inset = nav item inset, so the wordmark lines up with the nav icons. */
  padding: var(--fz-s-1) var(--fz-s-3) var(--fz-s-3) !important;
  border: 0 !important;
  background: transparent;
  border-radius: var(--fz-r-sm);
  cursor: pointer;
}
:root .xcs-app .xcs-sidebar .xcs-brand.fz-sb-brand:focus-visible { outline: 2px solid var(--fz-focus); outline-offset: 2px; }
:root .xcs-app .xcs-sidebar .fz-sb-logo { display: block; min-height: 0; }
/* The lockup's "WORKSPACE" line was 9px (brand.css .fsw-lockup-sm) — the
   smallest text on every page. 12px = the --fz-fs-micro floor; the tracking
   comes down (.22 → .14em) so the line still ends inside the wordmark's width.
   Dark: back to the lockup's own muted silver (brand.css #8B949E ≈ text-3) —
   the styles.css dark sweep had turned it .85 white, which at 12px would
   compete with the wordmark. Light keeps brand.css #626C66. */
:root .xcs-app .xcs-sidebar .fz-sb-logo .fsw-lockup-tag { font-size: var(--fz-fs-micro); letter-spacing: .14em; line-height: 1; }
:root[data-theme="dark"] .xcs-app .xcs-sidebar .fz-sb-logo .fsw-lockup-tag { color: var(--fz-text-3) !important; }
/* Two wordmark variants are rendered; the theme picks one. */
:root[data-theme="dark"] .fz-logo-on-light,
:root:not([data-theme="dark"]) .fz-logo-on-dark { display: none !important; }


/* ═══ 4. POD SWITCHER — dicabut 14 Nov 2026 (pemilik: pod lama diganti sistem POD
   baru, ops-plan.jsx). Aturan .fz-sb-pod* untuk OpsPodPicker dihapus. */


/* ═══ 5. ＋ CREATE ════════════════════════════════════════════════════════════
   Secondary pill (QA r1). The sidebar keeps ONE accent fill area — the active
   nav item — and every page brings its own primary CTA (Add client, Meeting,
   Create account…) (DESIGN-SYSTEM §11: one primary CTA per view).
   Refine v3.10: no outline any more — a soft raised fill (surface-1 + shadow in
   light, surface-2 in dark); the only accent is the plus in an accent TINT
   disc, so it still reads as "make something new". Menu unchanged. */
.fz-sb-create-w { display: block; }
:root .xcs-app .xcs-sidebar .fz-sb-create {
  appearance: none;
  display: flex; align-items: center; gap: var(--fz-s-3);
  width: 100%; min-height: 44px;
  /* 4px left inset = the pod row's, so both 32px tiles share one edge. */
  padding: var(--fz-s-1) var(--fz-s-3) var(--fz-s-1) var(--fz-s-1);
  /* 12px radius = the same shape as the pod row above and the nav pills
     below (reference: buttons radius ~12), instead of a lone full pill. */
  border: 1px solid transparent; border-radius: var(--fz-r-sm);
  background: var(--fz-surface-1);
  color: var(--fz-text-1) !important;
  font: inherit; font-size: var(--fz-fs-body); font-weight: var(--fz-fw-semi);
  text-align: left; cursor: pointer;
  box-shadow: var(--fz-shadow-soft);
  transition: background-color var(--fz-t-fast) var(--fz-ease), border-color var(--fz-t-fast) var(--fz-ease);
}
:root[data-theme="dark"] .xcs-app .xcs-sidebar .fz-sb-create { background: var(--fz-surface-2); box-shadow: none; }
:root .xcs-app .xcs-sidebar .fz-sb-create > span { flex: 1; min-width: 0; color: inherit !important; }
:root .xcs-app .xcs-sidebar .fz-sb-create svg { color: inherit !important; flex: none; }
:root .xcs-app .xcs-sidebar .fz-sb-create .fz-sb-create-plus {
  width: 32px; height: 32px; padding: 7px; box-sizing: border-box;
  border-radius: var(--fz-r-xs);
  background: var(--fz-accent-soft);
  color: var(--fz-accent-ink) !important;
  transition: background-color var(--fz-t-fast) var(--fz-ease);
}
:root .xcs-app .xcs-sidebar .fz-sb-create .fz-sb-create-chev { color: var(--fz-text-3) !important; }
:root .xcs-app .xcs-sidebar .fz-sb-create:hover,
:root .xcs-app .xcs-sidebar .fz-sb-create[aria-expanded="true"] { background: var(--fz-surface-hover); border-color: var(--fz-border); }
:root[data-theme="dark"] .xcs-app .xcs-sidebar .fz-sb-create:hover,
:root[data-theme="dark"] .xcs-app .xcs-sidebar .fz-sb-create[aria-expanded="true"] { background: var(--fz-surface-3); }
:root .xcs-app .xcs-sidebar .fz-sb-create:active { background: var(--fz-surface-3); }
:root .xcs-app .xcs-sidebar .fz-sb-create .fz-sb-create-chev { transition: transform var(--fz-t-fast) var(--fz-ease); }
:root .xcs-app .xcs-sidebar .fz-sb-create[aria-expanded="true"] .fz-sb-create-chev { transform: rotate(180deg); }
:root .xcs-app .xcs-sidebar .fz-sb-create:focus-visible { outline: 2px solid var(--fz-focus); outline-offset: 2px; }
/* Dark: the raised sidebar controls (Create, account row) get
   the faint top-edge light of the card system instead of an outline. */
:root[data-theme="dark"] .xcs-app .xcs-sidebar .fz-sb-create,
:root[data-theme="dark"] .xcs-app .xcs-sidebar .fz-sb-userbtn {
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--fz-text-1) 5%, transparent);
}


/* ═══ 6. PRIMARY NAV, BADGES, GROUPS ═══════════════════════════════════════════
   Icon + label. New class names (.fz-nav-*) on purpose: the legacy
   .xcs-nav-item carries ±40 !important rules across styles/nova-shell/brand.
   Refine v3.10 (reference 1): 42px rows, 20px icons, 4px between rows, 12px
   radius. Muted at rest (text-2 label, text-3 icon). Selected = a soft NEUTRAL
   pill (text-1 at 8%), text-1 label, accent-ink icon — instead of the old full
   lime slab; the accent stays recognisable without shouting. The Silver and
   Premium Light skins repaint the selected pill themselves (hud-skins.css). */
:root .xcs-app .xcs-sidebar .fz-sb-nav {
  display: flex; flex-direction: column; gap: var(--fz-s-1);
  flex: 1 0 auto;
  margin: var(--fz-s-5) 0 0; padding: 0 !important;
}
:root .xcs-app .xcs-sidebar .fz-sb-sec {
  padding: 0 var(--fz-s-3) var(--fz-s-2);
  font-size: var(--fz-fs-meta); font-weight: var(--fz-fw-medium);
  letter-spacing: .06em; text-transform: uppercase; line-height: 1.2;
  color: var(--fz-text-3) !important;
}
:root .xcs-app .xcs-sidebar .fz-nav-it,
:root .xcs-app .xcs-sidebar .fz-nav-grp-h {
  appearance: none;
  display: flex; align-items: center; gap: var(--fz-s-3);
  width: 100%; min-height: 42px;
  margin: 0; padding: 0 var(--fz-s-2) 0 var(--fz-s-3);
  border: 0; border-radius: var(--fz-r-sm);
  background: transparent;
  font: inherit; font-size: var(--fz-fs-body); font-weight: var(--fz-fw-medium);
  line-height: 1.2; text-align: left; cursor: pointer;
  color: var(--fz-text-2) !important;
  transition: background-color var(--fz-t-fast) var(--fz-ease), color var(--fz-t-fast) var(--fz-ease), box-shadow var(--fz-t-fast) var(--fz-ease);
}
:root .xcs-app .xcs-sidebar .fz-nav-ic {
  width: 20px; height: 20px; flex: none;
  display: grid; place-items: center;
  color: var(--fz-text-3) !important;
  transition: color var(--fz-t-fast) var(--fz-ease);
}
:root .xcs-app .xcs-sidebar .fz-nav-ic svg { width: 20px; height: 20px; }
:root .xcs-app .xcs-sidebar .fz-nav-ic svg,
:root .xcs-app .xcs-sidebar .fz-nav-ic > span { color: inherit !important; }
:root .xcs-app .xcs-sidebar .fz-nav-l {
  flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: inherit !important;
}
:root .xcs-app .xcs-sidebar .fz-nav-it:hover,
:root .xcs-app .xcs-sidebar .fz-nav-grp-h:hover { background: var(--fz-surface-hover); color: var(--fz-text-1) !important; }
:root .xcs-app .xcs-sidebar .fz-nav-it:hover .fz-nav-ic,
:root .xcs-app .xcs-sidebar .fz-nav-grp-h:hover .fz-nav-ic { color: var(--fz-text-2) !important; }
:root .xcs-app .xcs-sidebar .fz-nav-it:active,
:root .xcs-app .xcs-sidebar .fz-nav-grp-h:active { background: var(--fz-surface-3); }
:root .xcs-app .xcs-sidebar .fz-nav-it:focus-visible,
:root .xcs-app .xcs-sidebar .fz-nav-grp-h:focus-visible { outline: 2px solid var(--fz-focus); outline-offset: -2px; }

/* Selected: a soft NEUTRAL filled pill (reference 1) — text-1 at 8% over the
   sidebar, one step above the hover fill, no rim. The accent lives only on the
   icon. (Was accent tint + 1px lime rim + solid lime counter: it read as an
   outlined green box, the loudest thing in the sidebar — judge r2.) */
:root .xcs-app .xcs-sidebar .fz-nav-it.is-active,
:root .xcs-app .xcs-sidebar .fz-nav-it.is-active:hover,
:root .xcs-app .xcs-sidebar .fz-nav-it.is-active:active {
  background: color-mix(in srgb, var(--fz-text-1) 8%, transparent);
  color: var(--fz-text-1) !important;
  font-weight: var(--fz-fw-semi);
  box-shadow: none;
}
:root .xcs-app .xcs-sidebar .fz-nav-it.is-active .fz-nav-ic { color: var(--fz-accent-ink) !important; }
:root .xcs-app .xcs-sidebar .fz-nav-it.is-active:focus-visible { outline-offset: 2px; }

/* Counters: 20px pills, 12px figures (no 11px text). Neutral = surface-3 +
   text-2; red list / overdue = soft red tint + red ink at rest. On the selected
   pill a neutral counter is one more neutral step (text-1 at 14% — surface-3
   alone would melt into the 8% pill) with text-1 figures, and a red one turns
   solid red so it never sinks into the pill. */
:root .xcs-app .xcs-sidebar .fz-nav-n {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: var(--fz-s-6); height: var(--fz-s-5); padding: 0 var(--fz-s-2);
  box-sizing: border-box;
  border-radius: var(--fz-r-pill);
  background: var(--fz-surface-3);
  color: var(--fz-text-2) !important;
  font-size: var(--fz-fs-meta); font-weight: var(--fz-fw-semi);
  font-variant-numeric: tabular-nums; line-height: 1;
}
:root .xcs-app .xcs-sidebar .fz-nav-n.is-red { background: var(--fz-crit-soft); color: var(--fz-crit-ink) !important; }
:root .xcs-app .xcs-sidebar .fz-nav-it.is-active .fz-nav-n:not(.is-red) { background: color-mix(in srgb, var(--fz-text-1) 14%, transparent); color: var(--fz-text-1) !important; }
:root .xcs-app .xcs-sidebar .fz-nav-it.is-active .fz-nav-n.is-red { background: var(--fz-crit-ink); color: var(--fz-surface-1) !important; }
:root[data-theme="dark"] .xcs-app .xcs-sidebar .fz-nav-it.is-active .fz-nav-n.is-red { background: var(--fz-crit); color: var(--fz-text-on-accent) !important; }

/* Divider = whitespace only (reference: few/no separators), then the
   collapsible groups (More / Community / Appreciation). */
:root .xcs-app .xcs-sidebar .fz-sb-div { height: 0; margin: var(--fz-s-3) 0 0; background: none; border: 0; }
:root .xcs-app .xcs-sidebar .fz-nav-grp { display: flex; flex-direction: column; }
:root .xcs-app .xcs-sidebar .fz-nav-grp-h { color: var(--fz-text-2) !important; }
:root .xcs-app .xcs-sidebar .fz-nav-grp-chev {
  flex: none; color: var(--fz-text-3) !important;
  transform: rotate(-90deg);
  transition: transform var(--fz-t-fast) var(--fz-ease);
}
:root .xcs-app .xcs-sidebar .fz-nav-grp.is-open > .fz-nav-grp-h .fz-nav-grp-chev { transform: none; }
:root .xcs-app .xcs-sidebar .fz-nav-grp.has-active-child > .fz-nav-grp-h { color: var(--fz-text-1) !important; }
/* Community / Appreciation: quieter (text-3) so Operations leads. */
:root .xcs-app .xcs-sidebar .fz-nav-grp.is-quiet > .fz-nav-grp-h { color: var(--fz-text-3) !important; }
:root .xcs-app .xcs-sidebar .fz-nav-grp.is-quiet > .fz-nav-grp-h:hover { color: var(--fz-text-1) !important; }
/* Children are indented so their icons line up under the group's LABEL
   (12px inset + 20px icon + 12px gap = 44px = 32px margin + 12px inset):
   hierarchy by alignment, no guide line. */
:root .xcs-app .xcs-sidebar .fz-nav-grp-b:not([hidden]) {
  display: flex; flex-direction: column; gap: var(--fz-s-1);
  margin: var(--fz-s-1) 0 var(--fz-s-2) var(--fz-s-7);
  padding: 0;
  border: 0;
}
:root .xcs-app .xcs-sidebar .fz-nav-it.is-child { min-height: 40px; padding-left: var(--fz-s-3); }
:root .xcs-app .xcs-sidebar .fz-nav-it.is-child .fz-nav-ic { width: 18px; height: 18px; }
:root .xcs-app .xcs-sidebar .fz-nav-it.is-child .fz-nav-ic svg { width: 18px; height: 18px; }

/* ─── 6b. NEXT LEVEL — pelat perak mengilap (23 Nov 2026) ─────────────────────
   Pemilik: item sidebar "Next Level" (dulu POD, layar opsplan) diberi latar
   khusus — perak, mengilap, dengan kilau yang bergerak — tapi tulisan "Next
   Level" harus tetap terbaca. Susunannya:
     · latar  = gradasi krom vertikal (terang → "cakrawala" gelap di tengah →
       terang), cincin terang 1px lewat inset box-shadow (bukan border, supaya
       ikon tetap lurus dengan item lain);
     · kilau  = ::after miring yang menyapu dari kiri ke kanan (3,6 dtk). Item
       memakai isolation + z-index -1 pada ::after, jadi kilaunya dilukis DI
       ATAS latar tapi DI BAWAH ikon & tulisan — teks tidak pernah tertutup;
     · teks & ikon hampir hitam + bayangan terang 1px → tajam di atas perak.
   Hover dan halaman aktif = krom lebih kontras + cincin penuh + pendar.
   Selector diawali :root:not([data-hud-skin="pixelate"]) → (0,6,0)+, menang
   atas §6 di atas dan atas pil aktif kulit Silver / Premium Light
   (hud-skins.css, (0,6,0)–(0,7,0) !important); semua warna memakai !important
   karena lapisan lama mewarnai ulang isi sidebar. Pixelate sengaja dibiarkan
   memakai tampilan 8-bit-nya sendiri (hover/aktifnya !important di sana). */
:root:not([data-hud-skin="pixelate"]) .xcs-app .xcs-sidebar .fz-nav-it.is-opsplan {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(180deg, #F6F7F9 0%, #E1E5EA 34%, #C2C8D0 52%, #D6DBE1 70%, #EEF0F3 100%) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .78),
    inset 0 -1px 0 rgba(40, 46, 54, .22),
    0 1px 2px rgba(0, 0, 0, .28) !important;
  color: #101317 !important;
  font-weight: var(--fz-fw-semi);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .7);
  transition: box-shadow var(--fz-t-fast) var(--fz-ease), filter var(--fz-t-fast) var(--fz-ease);
}
:root:not([data-hud-skin="pixelate"]) .xcs-app .xcs-sidebar .fz-nav-it.is-opsplan .fz-nav-ic,
:root:not([data-hud-skin="pixelate"]) .xcs-app .xcs-sidebar .fz-nav-it.is-opsplan:hover .fz-nav-ic,
:root:not([data-hud-skin="pixelate"]) .xcs-app .xcs-sidebar .fz-nav-it.is-opsplan.is-active .fz-nav-ic {
  color: #14181D !important;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .65));
}
:root:not([data-hud-skin="pixelate"]) .xcs-app .xcs-sidebar .fz-nav-it.is-opsplan .fz-nav-l { color: inherit !important; }
:root:not([data-hud-skin="pixelate"]) .xcs-app .xcs-sidebar .fz-nav-it.is-opsplan .fz-nav-n:not(.is-red) {
  background: rgba(16, 19, 23, .14); color: #101317 !important;
}
/* Kilau: pita cahaya miring selebar ~55% item, menyapu dalam 70% siklus lalu
   jeda sebentar — terus-menerus, halus (ease-in-out), di luar item saat jeda. */
:root:not([data-hud-skin="pixelate"]) .xcs-app .xcs-sidebar .fz-nav-it.is-opsplan::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: 0;
  width: 55%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, .18) 30%,
    rgba(255, 255, 255, .92) 50%,
    rgba(255, 255, 255, .18) 70%,
    rgba(255, 255, 255, 0) 100%);
  transform: translateX(-140%) skewX(-18deg);
  animation: fz-nl-kilau 3.6s cubic-bezier(.45, .05, .3, 1) infinite;
}
@keyframes fz-nl-kilau {
  0%       { transform: translateX(-140%) skewX(-18deg); }
  70%, 100% { transform: translateX(240%) skewX(-18deg); }
}
/* Hover & ditekan: krom lebih terang + cincin putih penuh + pendar tipis. */
:root:not([data-hud-skin="pixelate"]) .xcs-app .xcs-sidebar .fz-nav-it.is-opsplan:hover,
:root:not([data-hud-skin="pixelate"]) .xcs-app .xcs-sidebar .fz-nav-it.is-opsplan:active {
  background:
    linear-gradient(180deg, #FFFFFF 0%, #E9EDF1 32%, #C6CCD4 52%, #DDE2E7 70%, #F7F8FA 100%) !important;
  box-shadow:
    inset 0 0 0 1px #FFFFFF,
    inset 0 -1px 0 rgba(40, 46, 54, .24),
    0 0 0 1px rgba(255, 255, 255, .22),
    0 4px 14px rgba(210, 218, 228, .28) !important;
  color: #0B0D10 !important;
}
/* Halaman aktif: krom paling kontras (cakrawala lebih gelap), tebal, cincin
   putih + lingkar luar + pendar — jelas lebih kuat dari diam dan hover. */
:root:not([data-hud-skin="pixelate"]) .xcs-app .xcs-sidebar .fz-nav-it.is-opsplan.is-active,
:root:not([data-hud-skin="pixelate"]) .xcs-app .xcs-sidebar .fz-nav-it.is-opsplan.is-active:hover,
:root:not([data-hud-skin="pixelate"]) .xcs-app .xcs-sidebar .fz-nav-it.is-opsplan.is-active:active {
  background:
    linear-gradient(180deg, #FFFFFF 0%, #E6EAEE 28%, #AEB6C0 50%, #CED4DB 66%, #F4F6F8 100%) !important;
  box-shadow:
    inset 0 0 0 1px #FFFFFF,
    inset 0 -2px 0 rgba(40, 46, 54, .26),
    0 0 0 2px rgba(255, 255, 255, .38),
    0 6px 20px rgba(214, 222, 232, .36) !important;
  color: #07090B !important;
  font-weight: var(--fz-fw-bold);
}
:root:not([data-hud-skin="pixelate"]) .xcs-app .xcs-sidebar .fz-nav-it.is-opsplan:focus-visible { outline: 2px solid var(--fz-focus); outline-offset: 2px; }
/* Tema terang: sidebar terang → pelatnya digelapkan setingkat dan diberi tepi
   abu baja + bayangan, supaya perak tetap menonjol dari latar yang juga terang. */
:root:not([data-theme="dark"]):not([data-hud-skin="pixelate"]) .xcs-app .xcs-sidebar .fz-nav-it.is-opsplan {
  background:
    linear-gradient(180deg, #F3F5F7 0%, #D5DAE0 34%, #AEB5BF 52%, #C9CFD6 70%, #E8EBEE 100%) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .85),
    0 0 0 1px #9AA2AD,
    0 2px 5px rgba(30, 36, 44, .2) !important;
}
:root:not([data-theme="dark"]):not([data-hud-skin="pixelate"]) .xcs-app .xcs-sidebar .fz-nav-it.is-opsplan:hover,
:root:not([data-theme="dark"]):not([data-hud-skin="pixelate"]) .xcs-app .xcs-sidebar .fz-nav-it.is-opsplan:active {
  background:
    linear-gradient(180deg, #FAFBFC 0%, #DDE2E7 32%, #B4BBC5 52%, #D0D6DC 70%, #F1F3F5 100%) !important;
  box-shadow:
    inset 0 0 0 1px #FFFFFF,
    0 0 0 1px #8A939E,
    0 4px 12px rgba(30, 36, 44, .22) !important;
}
:root:not([data-theme="dark"]):not([data-hud-skin="pixelate"]) .xcs-app .xcs-sidebar .fz-nav-it.is-opsplan.is-active,
:root:not([data-theme="dark"]):not([data-hud-skin="pixelate"]) .xcs-app .xcs-sidebar .fz-nav-it.is-opsplan.is-active:hover,
:root:not([data-theme="dark"]):not([data-hud-skin="pixelate"]) .xcs-app .xcs-sidebar .fz-nav-it.is-opsplan.is-active:active {
  background:
    linear-gradient(180deg, #FFFFFF 0%, #D9DEE4 28%, #9EA7B2 50%, #BFC6CE 66%, #EDF0F2 100%) !important;
  box-shadow:
    inset 0 0 0 1px #FFFFFF,
    0 0 0 2px #7E8894,
    0 5px 14px rgba(30, 36, 44, .26) !important;
}
@media (prefers-reduced-motion: reduce) {
  /* Perak diam: tanpa sapuan kilau, tanpa transisi. */
  :root:not([data-hud-skin="pixelate"]) .xcs-app .xcs-sidebar .fz-nav-it.is-opsplan { transition: none; }
  :root:not([data-hud-skin="pixelate"]) .xcs-app .xcs-sidebar .fz-nav-it.is-opsplan::after { animation: none; display: none; }
}


/* ═══ 7. USER BLOCK ════════════════════════════════════════════════════════════
   Photo (OpsAvatar from the FRESH boot user), name, role. One button → the
   account menu (§8). Pinned to the sidebar bottom (desktop and drawer). */
:root .xcs-app .xcs-sidebar .xcs-userblock.fz-sb-user {
  display: block;
  margin: auto 0 0;
  padding: var(--fz-s-4) 0 0 !important;
  background: transparent !important;
  border: 0 !important; border-radius: 0 !important;
  box-shadow: none !important;
  flex: none;
}
@media (min-width: 769px) {
  /* Sticky to the sidebar bottom (Chrome measures sticky against the padding box,
     hence -s-4 = the sidebar's bottom padding, §2); its own s-4 pad (cancelled
     by the negative margin when nothing scrolls) keeps the same gap while the
     nav scrolls underneath on short laptop screens. Keep all three in step
     with the sidebar padding.
     Transparent by default: an opaque block here drew a visible band on the
     skins whose sidebar is translucent (Core .86, Silver .52, Premium Light
     .72). Only while the sidebar really scrolls (`.is-overflow`, measured in
     sidebar.jsx) does it get a covering fill + one hairline, so nav rows
     never show through behind the account row. */
  :root .xcs-app .xcs-sidebar .xcs-userblock.fz-sb-user {
    position: sticky; z-index: 2;
    bottom: calc(-1 * var(--fz-s-4));
    padding-bottom: var(--fz-s-4) !important;
    margin-bottom: calc(-1 * var(--fz-s-4));
  }
  :root .xcs-app .xcs-sidebar.is-overflow .xcs-userblock.fz-sb-user {
    background: var(--fz-sidebar) !important;
    box-shadow: 0 -1px 0 var(--fz-border) !important;
  }
}
@media (max-width: 768px) {
  /* Phone drawer: the same sticky recipe, measured against the drawer's own
     bottom padding (s-4 + safe area, §2). With More open the drawer is taller
     than an 844px screen, and a static block left "name / role" cut in half at
     the screen edge (QA r1); now the account row always sits whole at the
     bottom and the nav scrolls underneath it. */
  :root .xcs-app .xcs-sidebar .xcs-userblock.fz-sb-user {
    position: sticky; z-index: 2;
    bottom: calc(-1 * (var(--fz-s-4) + env(safe-area-inset-bottom, 0px)));
    margin: auto 0 calc(-1 * (var(--fz-s-4) + env(safe-area-inset-bottom, 0px))) !important;
    padding-bottom: calc(var(--fz-s-4) + env(safe-area-inset-bottom, 0px)) !important;
    background: var(--fz-sidebar) !important;
  }
}
:root .xcs-app .xcs-sidebar .fz-sb-userbtn {
  appearance: none;
  display: flex; align-items: center; gap: var(--fz-s-3);
  width: 100%; min-height: 56px;
  padding: var(--fz-s-2) var(--fz-s-3) var(--fz-s-2) var(--fz-s-2);
  border: 1px solid transparent; border-radius: var(--fz-r-md);
  background: var(--fz-surface-2);
  font: inherit; text-align: left; cursor: pointer;
  color: var(--fz-text-1) !important;
  transition: background-color var(--fz-t-fast) var(--fz-ease), border-color var(--fz-t-fast) var(--fz-ease);
}
:root .xcs-app .xcs-sidebar .fz-sb-userbtn:hover,
:root .xcs-app .xcs-sidebar .fz-sb-userbtn[aria-expanded="true"] { background: var(--fz-surface-hover); border-color: var(--fz-border); }
:root .xcs-app .xcs-sidebar .fz-sb-userbtn:active { background: var(--fz-surface-3); }
:root .xcs-app .xcs-sidebar .fz-sb-userbtn:focus-visible { outline: 2px solid var(--fz-focus); outline-offset: 2px; }
:root .xcs-app .xcs-sidebar .fz-sb-userbtn .fsw-avatar { flex: none; }
:root[data-theme="dark"] .xcs-app .xcs-sidebar .fz-sb-userbtn .fsw-avatar:not(.has-photo) { background: var(--fz-surface-3) !important; }
:root .xcs-app .xcs-sidebar .fz-sb-usermeta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
:root .xcs-app .xcs-sidebar .fz-sb-username {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: var(--fz-fs-body); font-weight: var(--fz-fw-semi); line-height: 1.25;
  color: var(--fz-text-1) !important;
}
:root .xcs-app .xcs-sidebar .fz-sb-userrole {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: var(--fz-fs-meta); line-height: 1.25;
  color: var(--fz-text-3) !important;
}
:root .xcs-app .xcs-sidebar .fz-sb-userchev { flex: none; color: var(--fz-text-3) !important; }

/* Gamified widgets (only when Appreciation is switched on). */
:root .xcs-app .xcs-sidebar .xcs-balance-chip { margin-top: var(--fz-s-3); border-radius: var(--fz-r-sm); }


/* ═══ 8. POPOVERS ═══════════════════════════════════════════════════════════════
   Portalled to <body> (OpsShellPop), so nothing of the sidebar's legacy colour
   war reaches them. z 1100: above sidebar / drawer (80) / bottom bar (75) /
   bell (61), below the overlay ladder (drawer 1150, modal 1200). */
.fz-pop {
  position: fixed; z-index: 1100;
  display: flex; flex-direction: column; gap: 2px;
  min-width: 220px; max-width: calc(100vw - 16px);
  max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px);
  overflow-y: auto;
  padding: var(--fz-s-2);
  background: var(--fz-surface-1);
  color: var(--fz-text-1);
  border: 1px solid var(--fz-border);
  border-radius: var(--fz-r-md);
  box-shadow: var(--fz-shadow-pop);
  font-family: var(--fz-font-body);
  font-size: var(--fz-fs-body);
  text-align: left;
  animation: fz-shell-pop-in var(--fz-t-fast) var(--fz-ease);
}
/* Opacity only — a transform here would become the containing block of the
   crop modal that OpsAvatarUpload renders inside the account menu. */
@keyframes fz-shell-pop-in { from { opacity: 0; } to { opacity: 1; } }
.fz-pop .fz-pop-it {
  appearance: none;
  display: flex; align-items: center; gap: var(--fz-s-3);
  width: 100%; min-height: 40px;
  margin: 0; padding: 0 var(--fz-s-3);
  border: 0; border-radius: var(--fz-r-xs);
  background: transparent;
  font: inherit; font-size: var(--fz-fs-body); font-weight: var(--fz-fw-medium);
  line-height: 1.2; text-align: left; cursor: pointer;
  color: var(--fz-text-1);
  transition: background-color var(--fz-t-fast) var(--fz-ease);
}
.fz-pop .fz-pop-it > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fz-pop .fz-pop-it > svg { flex: none; color: var(--fz-text-3); }
.fz-pop .fz-pop-it:hover { background: var(--fz-surface-hover); }
.fz-pop .fz-pop-it:hover > svg { color: var(--fz-text-1); }
.fz-pop .fz-pop-it:focus-visible { outline: 2px solid var(--fz-focus); outline-offset: -2px; }
.fz-pop .fz-pop-it.is-danger,
.fz-pop .fz-pop-it.is-danger > svg { color: var(--fz-crit-ink); }
.fz-pop .fz-pop-it.is-danger:hover { background: var(--fz-crit-soft); }

/* Create menu: icon tile + label. */
.fz-create-pop .fz-create-it { min-height: 44px; padding: 0 var(--fz-s-2); gap: var(--fz-s-3); }
.fz-create-pop .fz-create-ic {
  width: 32px; height: 32px; flex: none;
  display: grid; place-items: center;
  border-radius: var(--fz-r-xs);
  background: var(--fz-surface-2);
  color: var(--fz-text-2);
  transition: background-color var(--fz-t-fast) var(--fz-ease), color var(--fz-t-fast) var(--fz-ease);
}
.fz-create-pop .fz-create-it:hover .fz-create-ic,
.fz-create-pop .fz-create-it:focus-visible .fz-create-ic { background: var(--fz-accent-soft); color: var(--fz-accent-ink); }

/* Account menu. */
.fz-pop.fz-umenu { width: 288px; gap: 0; padding: var(--fz-s-2); }
.fz-umenu-h { display: flex; align-items: center; gap: var(--fz-s-3); padding: var(--fz-s-2) var(--fz-s-2) var(--fz-s-3); }
.fz-umenu-h .fz-avup,
.fz-umenu-h .fsw-avatar { flex: none; }
.fz-umenu-who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fz-umenu-name {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: var(--fz-font-display); font-size: var(--fz-fs-card); font-weight: var(--fz-fw-semi); line-height: 1.25;
  color: var(--fz-text-1);
}
.fz-umenu-meta {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: var(--fz-fs-meta); line-height: 1.3;
  color: var(--fz-text-3);
}
.fz-umenu-list { display: flex; flex-direction: column; gap: 2px; padding: var(--fz-s-1) 0; border-top: 1px solid var(--fz-border); }
.fz-umenu-theme { display: flex; flex-direction: column; gap: var(--fz-s-2); padding: var(--fz-s-2) var(--fz-s-2) var(--fz-s-3); border-top: 1px solid var(--fz-border); }
.fz-umenu-tl { font-size: var(--fz-fs-meta); font-weight: var(--fz-fw-medium); color: var(--fz-text-3); }
/* Theme = segmented control (DESIGN-SYSTEM §11: neutral raise, never lime). */
.fz-umenu .xcs-theme-switch {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px;
  margin: 0; padding: var(--fz-s-1);
  background: var(--fz-surface-3);
  border: 0; border-radius: var(--fz-r-pill);
  position: static;
}
:root[data-theme="dark"] .fz-umenu .xcs-theme-switch { background: var(--fz-surface-sunken); }
.fz-umenu .xcs-theme-switch .xcs-theme-opt {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--fz-s-2);
  min-height: 32px; padding: 0 var(--fz-s-2);
  border: 0; border-radius: var(--fz-r-pill);
  background: transparent; box-shadow: none;
  font: inherit; font-size: var(--fz-fs-meta); font-weight: var(--fz-fw-medium);
  color: var(--fz-text-2);
  cursor: pointer;
  transition: background-color var(--fz-t-fast) var(--fz-ease), color var(--fz-t-fast) var(--fz-ease);
}
.fz-umenu .xcs-theme-switch .xcs-theme-opt:hover { color: var(--fz-text-1); background: transparent; }
.fz-umenu .xcs-theme-switch .xcs-theme-opt.on {
  background: var(--fz-surface-1); color: var(--fz-text-1);
  box-shadow: var(--fz-shadow-soft); font-weight: var(--fz-fw-semi);
}
:root[data-theme="dark"] .fz-umenu .xcs-theme-switch .xcs-theme-opt.on { background: var(--fz-surface-3); box-shadow: none; }
.fz-umenu .xcs-theme-switch .xcs-theme-opt:focus-visible { outline: 2px solid var(--fz-focus); outline-offset: 1px; }
.fz-umenu-foot { padding-top: var(--fz-s-1); border-top: 1px solid var(--fz-border); }
@media (max-width: 768px) {
  .fz-pop .fz-pop-it { min-height: 44px; }
  .fz-umenu .xcs-theme-switch .xcs-theme-opt { min-height: 40px; }
}


/* ═══ 9. brand.css LEFTOVERS ═══════════════════════════════════════════════════
   brand.css:120-129 still paints the pre-Nova cyan (#36DEFC) as a left marker
   on an active legacy nav item and on its counter. The shell no longer renders
   .xcs-nav-item, but any legacy page that does gets the system accent. */
:root .xcs-app .xcs-sidebar .xcs-nav-item.is-active::after { background: var(--fz-accent-line); }
:root .xcs-app .xcs-sidebar .xcs-nav-item.is-active .xcs-pill:not(.is-red):not(.is-amber) {
  background: var(--fz-text-on-accent) !important; color: var(--fz-accent) !important; border-color: transparent !important;
}


/* ═══ 10. PHONE TOP BAR (≤768) ═══════════════════════════════════════════════
   Continues the sidebar surface: light in light, dark in dark. The bell and the
   assistant button sit IN this bar (ops-theme A1/A2): only their colours change
   here, never position / size / z-index. */
@media (max-width: 768px) {
  :root .xcs-app .xcs-mobile-bar {
    background: var(--fz-sidebar) !important;
    background-image: none !important;
    border-bottom: 1px solid var(--fz-border) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    color: var(--fz-text-1) !important;
  }
  :root .xcs-app .xcs-mobile-bar .xcs-icon-btn-lg {
    display: grid; place-items: center;
    background: transparent !important;
    color: var(--fz-text-1) !important;
    border-radius: var(--fz-r-sm);
  }
  :root .xcs-app .xcs-mobile-bar .xcs-icon-btn-lg:hover { background: var(--fz-surface-hover) !important; }
  /* styles.css paints every svg stroke in this bar white !important (it used
     to be always dark) — the hamburger follows its button colour again. */
  :root .xcs-app .xcs-mobile-bar svg { stroke: currentColor !important; }
  /* The legacy logo "pulse" (6s infinite) and its glow ring: no looping motion. */
  :root .xcs-app .xcs-mobile-bar > .xcs-mobile-brand { animation: none !important; background: none !important; }
  /* Refine v3.10: the wordmark sits next to the menu button at EVERY phone /
     tablet width. ops-theme centres it in the middle column above 400px, so
     at 430 it drifted and at 768 it floated alone mid-bar; ≤400 it was
     already start-aligned. The right-side reserve for bell + assistant
     (ops-theme margin-right) is untouched. */
  :root .xcs-app .xcs-mobile-bar > .xcs-mobile-brand { justify-self: start; margin-left: var(--fz-s-1); }
  /* `.xcs-mobile-brand span { color: #fff !important }` also hits the lockup's
     "×" glyph: give it back the brand accent (ink in light, lime in dark). */
  :root .xcs-app .xcs-mobile-bar .xcs-mobile-brand .fsw-lockup .fsw-lockup-x {
    color: var(--fz-accent-ink) !important; font-weight: var(--fz-fw-regular) !important; text-shadow: none;
  }
  :root .xcs-app .xcs-mobile-bar .xcs-acct-btn { display: grid; place-items: center; border-radius: var(--fz-r-pill); }
  :root .xcs-app .xcs-mobile-bar .xcs-acct-btn:hover { transform: none; }
  :root .xcs-app .xcs-mobile-bar .xcs-acct-btn:focus-visible { outline: 2px solid var(--fz-focus); outline-offset: 0; }
  :root .xcs-app .xcs-mobile-bar .xcs-acct-btn .fsw-avatar { box-shadow: 0 0 0 1px var(--fz-border); }
  /* Colour only (A1/A2 lock): legacy paints both icons white for the old
     always-dark bar — invisible on the light bar. */
  :root .xcs-app .xcs-notif-bell {
    color: var(--fz-text-2) !important;
    background: transparent !important; border-color: transparent !important; box-shadow: none !important;
  }
  :root .xcs-app .xcs-notif-bell:hover { background: var(--fz-surface-hover) !important; border-color: transparent !important; color: var(--fz-text-1) !important; }
  :root .xcs-app .xcs-notif-badge { border-color: var(--fz-sidebar); }
  :root .xcs-app .fsw-assist-fab { color: var(--fz-accent-ink); }
}


/* ═══ 11. PHONE BOTTOM BAR (≤768) ═════════════════════════════════════════════
   Floating rounded bar on surface-1; icon + label; the active icon sits in a
   soft accent capsule. Height budget unchanged (--fsw-bbar-h 78px: 10px outer pad +
   6/6 inner + 48.5px item = 72.5px), as are the hide rules
   (body.fsw-overlay-open / .nav-open) and z-index. */
@media (max-width: 768px) {
  :root .fsw-bbar-in {
    max-width: 560px; margin: 0 auto;
    /* One equal column per item (lead 5, editor 4) instead of the legacy fixed
       repeat(5, 1fr), which left an empty fifth slot for a 4-item bar. */
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
    background: var(--fz-surface-1);
    border: 1px solid var(--fz-border);
    border-radius: var(--fz-r-xl);
    box-shadow: var(--fz-shadow-pop);
  }
  :root .fsw-bbar-it { color: var(--fz-text-3); border-radius: var(--fz-r-md); }
  :root .fsw-bbar-it .fsw-bbar-ico { width: 52px; border-radius: var(--fz-r-pill); transition: background-color var(--fz-t-fast) var(--fz-ease), color var(--fz-t-fast) var(--fz-ease); }
  :root .fsw-bbar-it .fsw-bbar-ico svg { width: 20px; height: 20px; }
  /* 12px labels (refine v3.10: no 11px text); "Calendar" fits the 70px
     column at 375px with room to spare. */
  :root .fsw-bbar-it .fsw-bbar-l { font-size: var(--fz-fs-meta); font-weight: var(--fz-fw-medium); letter-spacing: 0; }
  :root .fsw-bbar-it.is-on { color: var(--fz-text-1); }
  /* Selected = a soft accent capsule (tint + faint rim + accent icon), not a
     solid lime block. Deliberately keeps the tint the sidebar pill dropped in
     refine v3.10: on a 5-item bar the capsule is the only selection cue the
     thumb sees, the label weight alone is too quiet. */
  :root .fsw-bbar-it.is-on .fsw-bbar-ico {
    background: var(--fz-accent-soft); color: var(--fz-accent-ink);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fz-accent) 16%, transparent);
  }
  :root .fsw-bbar-it.is-on .fsw-bbar-l { font-weight: var(--fz-fw-semi); }
  :root .fsw-bbar-it:focus-visible { outline: 2px solid var(--fz-focus); outline-offset: -2px; }
  /* Badge figures 12px (was 10.5px, nova-shell / ops-theme): the box grows
     15 → 18px to keep the figure centred; it still sits inside the item. */
  :root .fsw-bbar-it .fsw-bbar-n,
  :root .fsw-bbar-it.is-on .fsw-bbar-n {
    min-width: 18px; height: 18px; padding: 0 var(--fz-s-1);
    box-sizing: border-box;
    background: var(--fz-text-1); color: var(--fz-surface-1);
    border: 1.5px solid var(--fz-surface-1);
    font-size: var(--fz-fs-micro); font-weight: var(--fz-fw-semi);
  }
  /* Focus / scrollIntoView / find-in-page land ABOVE the fixed bottom bar
     (75px + safe area) and below the 57px sticky top bar, not under them
     (WCAG 2.4.11). The bottom reserve only while the bar is mounted. */
  html { scroll-padding-top: calc(57px + var(--fz-s-2)); }
  html:has(> body.has-fsw-bottombar) { scroll-padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px) + var(--fz-s-2)); }
  :root .fsw-bbar-it .fsw-bbar-n.is-red { background: var(--fz-crit-ink); color: var(--fz-surface-1); }
  :root[data-theme="dark"] .fsw-bbar-it .fsw-bbar-n.is-red { background: var(--fz-crit); color: var(--fz-text-on-accent); }
}


/* ═══ 12. NOTIFICATION PANEL (panel + list only — the bell is locked) ═════════ */
:root .xcs-notif-panel.fz-notif {
  width: min(400px, calc(100vw - 32px));
  overflow: hidden;
  background: var(--fz-surface-1) !important;
  background-image: none !important;
  border: 1px solid var(--fz-border) !important;
  border-radius: var(--fz-r-xl) !important;
  box-shadow: var(--fz-shadow-pop) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: var(--fz-text-1);
  font-family: var(--fz-font-body);
  animation: fz-shell-pop-in var(--fz-t-med) var(--fz-ease);
}
@media (max-width: 768px) {
  /* Directly under the 57px top bar (the old 110px was measured against a
     floating bell that no longer exists). */
  :root .xcs-notif-panel.fz-notif {
    top: calc(64px + env(safe-area-inset-top, 0px)) !important;
    left: var(--fz-s-2) !important; right: var(--fz-s-2) !important;
    width: auto !important; max-width: none !important;
    max-height: calc(100vh - 80px - env(safe-area-inset-top, 0px)) !important;
    max-height: calc(100dvh - 80px - env(safe-area-inset-top, 0px)) !important;
  }
}
:root .fz-notif .xcs-notif-head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--fz-s-3);
  padding: var(--fz-s-4) var(--fz-s-3) var(--fz-s-3) var(--fz-s-5);
  border-bottom: 1px solid var(--fz-border);
}
.fz-notif-ht { display: flex; align-items: center; gap: var(--fz-s-2); min-width: 0; }
:root .fz-notif .xcs-notif-title {
  font-family: var(--fz-font-display) !important;
  font-size: var(--fz-fs-section); font-weight: var(--fz-fw-semi); letter-spacing: -.01em;
  color: var(--fz-text-1) !important;
}
.fz-notif-n {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: var(--fz-s-6); height: var(--fz-s-5); padding: 0 var(--fz-s-1);
  border-radius: var(--fz-r-pill);
  background: var(--fz-surface-3); color: var(--fz-text-2);
  font-size: var(--fz-fs-meta); font-weight: var(--fz-fw-semi); font-variant-numeric: tabular-nums;
}
.fz-notif-act { display: flex; align-items: center; gap: var(--fz-s-1); flex: none; }
:root .fz-notif .xcs-notif-clear {
  height: 36px; padding: 0 var(--fz-s-3);
  border: 1px solid var(--fz-border-strong); border-radius: var(--fz-r-pill);
  background: transparent;
  font: inherit; font-size: var(--fz-fs-meta); font-weight: var(--fz-fw-medium);
  color: var(--fz-text-2);
}
:root .fz-notif .xcs-notif-clear:hover:not(:disabled) { background: var(--fz-surface-hover); color: var(--fz-text-1); }
:root .fz-notif .xcs-notif-clear:disabled { opacity: .45; }
.fz-notif-close {
  appearance: none;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 0; border-radius: var(--fz-r-pill);
  background: transparent; color: var(--fz-text-2);
  cursor: pointer;
}
.fz-notif-close:hover { background: var(--fz-surface-hover); color: var(--fz-text-1); }
:root .fz-notif .xcs-notif-list { padding: var(--fz-s-2); gap: 2px; }
:root .xcs-notif-panel.fz-notif .xcs-notif-card {
  display: flex; align-items: flex-start; gap: var(--fz-s-3);
  padding: var(--fz-s-3) var(--fz-s-2) var(--fz-s-3) var(--fz-s-3);
  background: transparent !important;
  border: 0 !important;
  border-radius: var(--fz-r-sm);
  color: var(--fz-text-1) !important;
}
:root .xcs-notif-panel.fz-notif .xcs-notif-card:hover { background: var(--fz-surface-hover) !important; }
:root .xcs-notif-panel.fz-notif .xcs-notif-card.unread { background: var(--fz-surface-2) !important; }
:root .xcs-notif-panel.fz-notif .xcs-notif-card.unread:hover { background: var(--fz-surface-hover) !important; }
.fz-notif-ic {
  width: 32px; height: 32px; flex: none;
  display: grid; place-items: center;
  border-radius: var(--fz-r-pill);
  background: var(--fz-neutral-soft); color: var(--fz-neutral-ink);
}
.fz-notif-card.is-ok .fz-notif-ic { background: var(--fz-ok-soft); color: var(--fz-ok-ink); }
.fz-notif-card.is-warn .fz-notif-ic { background: var(--fz-warn-soft); color: var(--fz-warn-ink); }
.fz-notif-card.is-crit .fz-notif-ic { background: var(--fz-crit-soft); color: var(--fz-crit-ink); }
.fz-notif-card.is-info .fz-notif-ic { background: var(--fz-info-soft); color: var(--fz-info-ink); }
.fz-notif-card.is-violet .fz-notif-ic { background: var(--fz-violet-soft); color: var(--fz-violet-ink); }
:root .fz-notif .xcs-notif-card-title {
  font-size: var(--fz-fs-body); font-weight: var(--fz-fw-medium); line-height: 1.35; letter-spacing: 0;
  color: var(--fz-text-1) !important;
}
:root .fz-notif .xcs-notif-card.unread .xcs-notif-card-title { font-weight: var(--fz-fw-semi); }
:root .fz-notif .xcs-notif-card-body {
  margin-top: 2px;
  font-size: var(--fz-fs-meta); line-height: 1.5;
  color: var(--fz-text-2) !important;
}
:root .xcs-notif-panel.fz-notif .xcs-notif-card-foot {
  justify-content: flex-start; gap: var(--fz-s-2);
  margin-top: var(--fz-s-1);
  font-size: var(--fz-fs-meta);
  color: var(--fz-text-3) !important;
}
:root .fz-notif .xcs-notif-dot { width: 8px; height: 8px; border-radius: var(--fz-r-pill); background: var(--fz-accent-ink); }
:root .fz-notif .xcs-notif-x {
  flex: none;
  width: 28px; height: 28px; padding: 0;
  display: grid; place-items: center;
  border-radius: var(--fz-r-pill);
  line-height: 1;
  color: var(--fz-text-3);
}
:root .fz-notif .xcs-notif-x:hover { background: var(--fz-crit-soft); color: var(--fz-crit-ink); }
:root .fz-notif .fz-notif-empty {
  display: flex; flex-direction: column; align-items: center; gap: var(--fz-s-1);
  padding: var(--fz-s-7) var(--fz-s-5);
  text-align: center;
}
.fz-notif-empty-ic {
  width: 44px; height: 44px; margin-bottom: var(--fz-s-2);
  display: grid; place-items: center;
  border-radius: var(--fz-r-pill);
  background: var(--fz-surface-2); color: var(--fz-text-3);
}
.fz-notif-empty-t { font-size: var(--fz-fs-body); font-weight: var(--fz-fw-semi); color: var(--fz-text-1); }
:root .fz-notif .fz-notif-empty small { margin: 0; font-size: var(--fz-fs-meta); color: var(--fz-text-3); }
@media (max-width: 768px) {
  :root .fz-notif .xcs-notif-x { width: 40px; height: 40px; }
  .fz-notif-close { width: 44px; height: 44px; }
  :root .fz-notif .xcs-notif-clear { height: 44px; }
}


/* ═══ 13. MOTION / PRINT ═══════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .fz-pop, :root .xcs-notif-panel.fz-notif { animation: none; }
  :root .xcs-app .xcs-sidebar .fz-nav-it,
  :root .xcs-app .xcs-sidebar .fz-nav-grp-h,
  :root .xcs-app .xcs-sidebar .fz-nav-ic,
  :root .xcs-app .xcs-sidebar .fz-nav-grp-chev,
  :root .xcs-app .xcs-sidebar .fz-sb-create,
  :root .xcs-app .xcs-sidebar .fz-sb-create .fz-sb-create-plus,
  :root .xcs-app .xcs-sidebar .fz-sb-create .fz-sb-create-chev,
  :root .xcs-app .xcs-sidebar .fz-sb-userbtn,
  :root .xcs-app .xcs-sidebar .fz-sb-close,
  :root .xcs-app .fz-topbar .fsw-jump,
  :root .fsw-bbar-it .fsw-bbar-ico { transition: none; }
}
@media print {
  .fz-pop { display: none !important; }
}

/* 14 Okt 2026 — notifikasi ringkas: satu baris 3–4 kata + ikon, tanpa badan. */
:root .fz-notif .xcs-notif-card-title { font-size: var(--fz-fs-body); line-height: 1.3; }
:root .fz-notif .xcs-notif-card { align-items: center; }
:root .fz-notif .xcs-notif-card-foot { margin-top: 2px; }
.fz-notif-n { display: inline-block; margin-left: var(--fz-s-2); padding: 0 6px; border-radius: var(--fz-r-pill); background: var(--fz-surface-3); color: var(--fz-text-2); font-size: 11px; font-weight: var(--fz-fw-semi); vertical-align: middle; }


/* ═══ 12b. NOTIFICATION PANEL — per kategori (konsep 2, 23 Okt 2026) ═══════════
   Referensi pemilik: panel gelap #171B1D, kategori berkepala gradasi berwarna
   (biru / amber / ungu / zamrud), baris ringkas dua baris + titik "baru".
   Hanya presentasi; logika baca/hapus/tautan ada di notifications.jsx. */
:root .xcs-notif-panel.fz-notif.fz-nc {
  display: flex; flex-direction: column;
  width: min(400px, calc(100vw - 32px));
  max-height: min(80vh, 720px);
  background: #171B1D !important; background-image: none !important;
  border: 1px solid rgba(255, 255, 255, .08) !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .5) !important;
  color: #f2f4f5;
}
@media (max-width: 768px) {
  :root .xcs-notif-panel.fz-notif.fz-nc { max-height: calc(100dvh - 80px - env(safe-area-inset-top, 0px)) !important; }
}
.fz-nc-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 12px 12px 18px; background: #171B1D; border-bottom: 1px solid rgba(255, 255, 255, .06); flex: none; }
.fz-nc-ht { display: flex; align-items: center; gap: 8px; min-width: 0; }
.fz-nc-title { font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: #fff; }
.fz-nc-n { min-width: 24px; height: 20px; padding: 0 7px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #c9ced1; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.fz-nc-act { display: flex; align-items: center; gap: 2px; }
.fz-nc-ib { appearance: none; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 999px; background: transparent; color: #aeb4b8; cursor: pointer; }
.fz-nc-ib:hover, .fz-nc-ib.is-on { background: rgba(255, 255, 255, .09); color: #fff; }
.fz-nc-search { padding: 8px 12px 0; flex: none; }
.fz-nc-search input { width: 100%; box-sizing: border-box; height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05); color: #fff; font: inherit; font-size: 14px; }
.fz-nc-search input::placeholder { color: #7f878c; }
.fz-nc-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 10px 10px 8px; display: flex; flex-direction: column; gap: 10px; -webkit-overflow-scrolling: touch; }
.fz-nc-cat { --c: #3b82f6; --c-soft: rgba(59, 130, 246, .22); --c-edge: rgba(59, 130, 246, .35); border-radius: 14px; background: rgba(255, 255, 255, .02); border: 1px solid rgba(255, 255, 255, .06); overflow: hidden; flex: none; }
.fz-nc-cat.is-leave { --c: #3b82f6; --c-soft: rgba(37, 99, 235, .3); --c-edge: rgba(59, 130, 246, .4); }
.fz-nc-cat.is-personal { --c: #f59e0b; --c-soft: rgba(217, 119, 6, .28); --c-edge: rgba(245, 158, 11, .4); }
.fz-nc-cat.is-meeting { --c: #8b5cf6; --c-soft: rgba(124, 58, 237, .3); --c-edge: rgba(139, 92, 246, .4); }
.fz-nc-cat.is-system { --c: #10b981; --c-soft: rgba(5, 150, 105, .28); --c-edge: rgba(16, 185, 129, .4); }
/* Next Level (23 Nov 2026): kategori perak — senada dengan item sidebar §6b; ubin ikonnya pelat krom, ikon gelap. */
.fz-nc-cat.is-nextlevel { --c: #C9CFD6; --c-soft: rgba(201, 207, 214, .24); --c-edge: rgba(220, 225, 231, .42); }
.fz-nc-cat.is-nextlevel .fz-nc-ci {
  background: linear-gradient(180deg, #F6F7F9 0%, #D7DCE2 45%, #B9C0C8 60%, #E6E9EC 100%);
  color: #14181D;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
}
.fz-nc-ch { appearance: none; width: 100%; height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 12px 0 8px; border: 0; cursor: pointer; text-align: left; color: #fff; background: linear-gradient(90deg, var(--c-soft), rgba(0, 0, 0, 0) 92%); font: inherit; }
.fz-nc-ci { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--c); color: #fff; }
.fz-nc-cn { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fz-nc-cc { min-width: 24px; height: 20px; padding: 0 7px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #e7eaec; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.fz-nc-chev { flex: none; color: #aeb4b8; transition: transform .18s ease; }
.fz-nc-cat.is-shut .fz-nc-chev { transform: rotate(-90deg); }
.fz-nc-body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .18s ease; }
.fz-nc-cat.is-shut .fz-nc-body { grid-template-rows: 0fr; }
.fz-nc-inner { min-height: 0; overflow: hidden; }
.fz-nc-row { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 12px; cursor: pointer; border-top: 1px solid rgba(255, 255, 255, .06); touch-action: pan-y; }
.fz-nc-row:hover, .fz-nc-row:focus-visible { background: rgba(255, 255, 255, .045); outline: none; }
.fz-nc-ri { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #d5dadd; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.fz-nc-rt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.fz-nc-rn { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #fff; line-height: 1.3; min-width: 0; }
.fz-nc-rn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.fz-nc-mul { margin-left: 6px; padding: 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 11px; font-weight: 600; color: #d5dadd; }
.fz-nc-rd { font-size: 12.5px; color: #aeb4b8; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fz-nc-rtime { font-size: 12px; color: #7f878c; }
.fz-nc-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px var(--c-soft); }
.fz-nc-x { appearance: none; width: 26px; height: 26px; flex: none; display: none; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #c9ced1; cursor: pointer; }
.fz-nc-x:hover { background: rgba(239, 68, 68, .25); color: #fecaca; }
@media (hover: hover) { .fz-nc-row:hover .fz-nc-x { display: grid; } .fz-nc-row:hover .fz-nc-dot { display: none; } }
@media (hover: none) { .fz-nc-x { display: none !important; } }
.fz-nc-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 38px 20px; text-align: center; color: #aeb4b8; }
.fz-nc-empty b { color: #fff; font-size: 14.5px; }
.fz-nc-empty small { font-size: 12.5px; color: #7f878c; }
.fz-nc-empty-ic { width: 44px; height: 44px; margin-bottom: 6px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .07); color: #aeb4b8; }
.fz-nc-foot { flex: none; display: flex; justify-content: flex-end; padding: 8px 14px 12px; border-top: 1px solid rgba(255, 255, 255, .06); background: #171B1D; }
.fz-nc-clear { appearance: none; height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: transparent; color: #c9ced1; font: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer; }
.fz-nc-clear:hover { background: rgba(255, 255, 255, .08); color: #fff; }
@media (prefers-reduced-motion: reduce) { .fz-nc-body, .fz-nc-chev, .fz-nc-row { transition: none; } }

.fz-nc-more { appearance: none; width: 100%; height: 36px; border: 0; border-top: 1px solid rgba(255, 255, 255, .06); background: transparent; color: var(--c); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.fz-nc-more:hover { background: rgba(255, 255, 255, .045); }


/* ═══ 14. MY WORKLOAD — NEXT LEVEL QC (23 Nov 2026) ════════════════════════════
   Panel "Next Level QC" (OpsMyPodCard, ops-mywork.jsx): baris kartu yang sudah
   Finished diberi warna hijau lembut + garis hijau, pola yang sama dengan
   .fz-mw-row.is-done (fz-mywork.css). Ditaruh di sini karena pembagian berkas
   ronde ini (fz-mywork.css / fz-plan.css tidak disentuh); (0,6,0) menang atas
   hover baris .fz-mw-q di fz-mywork.css yang dimuat lebih akhir. */
.fz-mw .fsw-it.fz-mw-q.fz-mw-podq.is-fin { background: var(--fz-ok-soft); box-shadow: inset 3px 0 0 var(--fz-ok); }
.fz-mw .fsw-it.fz-mw-q.fz-mw-podq.is-fin:hover { background: color-mix(in srgb, var(--fz-ok) 22%, var(--fz-surface-1)); }
.fz-mw .fsw-it.fz-mw-q.fz-mw-podq.is-fin .fz-mw-q-ti { color: var(--fz-ok-ink); }
