/* fz-clients.css — Clients control center (list page: header, batches strip, filter,
   photo-first cards / table, drawers, ⋯ menus). Owner: clients-home agent
   (ops-clients-home.jsx). Refine v3.10 (4 Oct 2026): photo-first cards, the big
   "Client health" module folded into the filter pills (counts).
   Light is the base theme; dark lives under [data-theme="dark"].
   Everything is scoped under the page root .fz-clh, its drawers (.fz-clh-drawer) or its
   portalled menus (.fz-clh-menu). Only --fz-* tokens (+ the kit's --fz-kit-* aliases).

   Sections
     1. Page rhythm
     2. Header + toolbar block (title + count, ⋯, Add client; one row when wide)
     3. Batches strip
     4. Toolbar: search · health filter · Cards/Table
     5. Grid
     6. Client card (cover, overlays, body, step, next row, Start month)
     7. Not started, skeleton, table view, empty rows
     8. Drawers: batches, manage clients
     9. ⋯ menus
    10. Phones */


/* ═══ 1. PAGE RHYTHM ═════════════════════════════════════════════════════════
   20px between header, toolbar, (batches strip) and grid on desktop (16 on
   phones) — the cards get the breathing room, the controls stay one block. */
.fsw-page.fz-clh { gap: var(--fz-s-5); }
.fz-clh-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.fz-clh-mono { font-family: var(--fz-font-mono); font-size: var(--fz-fs-meta); letter-spacing: 0; }
.fz-clh-muted { color: var(--fz-text-3); font-size: var(--fz-fs-meta); }


/* ═══ 2. HEADER + TOOLBAR (one block) ════════════════════════════════════════
   .fz-clh-top is the size container (it holds no fixed overlay: the ⋯ menus are
   portalled to <body>). With data the toolbar sits INSIDE the page head, after
   the h1 (OpsPageHead children), so the DOM / Tab order is title → search →
   filter pills → Cards/Table → ⋯ → Add client (r2b: ⋯ and Add used to be
   tabbed to before the search although they sit at the far right). The title
   block steps aside (display: contents) and a grid only PLACES the pieces:
     ≥ 1300px  ONE row like the reference — "All clients 25" · search · health
               pills · Cards/Table · ⋯ · ＋ Add client.
     < 1300px  title row ("All clients 25" left, ⋯ + Add right) → toolbar row.
   Phones keep that order: title, then search, then the sideways pills. The Jump
   box lives in the shell top bar on desktop and is hidden on phones. The title
   row never wraps the actions under the title — on phones Add is a circle.
   (QA 5 Okt: the old three-colour health bar under the title read as a brand
   stripe and repeated the pill counts — removed.) */
.fz-clh-top { container: fzclhtop / inline-size; min-width: 0; }
.fz-clh-topg { display: flex; flex-direction: column; gap: var(--fz-s-5); min-width: 0; }
:root .xcs-app .fz-clh .xcs-pagehead.fz-clh-head {
  flex-wrap: nowrap;
  align-items: center !important;
  padding-bottom: 0;
}
:root .xcs-app .fz-clh .xcs-pagehead.fz-clh-head .xcs-pagehead-cta { flex: none; flex-wrap: nowrap; }
:root .xcs-app .fz-clh .xcs-pagehead-cta .fz-clh-more { color: var(--fz-text-1); }
:root .xcs-app .fz-clh .xcs-pagehead-cta .fz-clh-more[aria-expanded="true"] { background: var(--fz-surface-hover) !important; }
.fz-clh .xcs-pagehead-cta .fz-clh-addc { display: inline-flex; align-items: center; gap: var(--fz-s-2); }
:root .xcs-app .fz-clh .xcs-pagehead.fz-clh-head > .fz-pagehead-main { flex: 0 1 auto; min-width: 0; }
.fz-clh .xcs-pagehead-cta .fz-clh-addc .fsw-ic { margin: 0; flex: none; }
/* (0,6,0) + !important: beats the kit/nova/styles pagehead gaps (≤ (0,3,0)
   !important) at every width; the phone row gap is set in §10. */
:root .xcs-app .fz-clh .xcs-pagehead.fz-clh-head.has-tb {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "title acts" "tb tb";
  gap: var(--fz-s-5) var(--fz-s-4) !important;
}
:root .xcs-app .fz-clh .xcs-pagehead.fz-clh-head.has-tb > .fz-pagehead-main { display: contents; }
:root .xcs-app .fz-clh .xcs-pagehead.fz-clh-head.has-tb > .fz-pagehead-main > h1 { grid-area: title; min-width: 0; }
.fz-clh-head.has-tb .fz-clh-tbwrap { grid-area: tb; }
:root .xcs-app .fz-clh .xcs-pagehead.fz-clh-head.has-tb > .xcs-pagehead-cta { grid-area: acts; }
@container fzclhtop (min-width: 1300px) {
  :root .xcs-app .fz-clh .xcs-pagehead.fz-clh-head.has-tb {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "title tb acts";
    column-gap: var(--fz-s-5) !important;
  }
}


/* ═══ 3. BATCHES STRIP ═══════════════════════════════════════════════════════
   One slim, quiet line under the toolbar — never a module, and only when batches
   exist (or the list failed): the newest three as chips (open the drawer at that
   batch). No batches → no strip; Add batch is in the page ⋯ menu. Solid surface
   (a translucent one let the core swoosh show through). */
.fz-clh-bstrip {
  display: flex;
  align-items: center;
  gap: var(--fz-s-3);
  min-width: 0;
  min-height: 52px;
  padding: var(--fz-s-2);
  border-radius: var(--fz-r-md);
  background: var(--fz-surface-1);
  box-shadow: inset 0 0 0 1px var(--fz-kit-veil, var(--fz-border));
}
.fz-clh-bstrip-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: var(--fz-r-sm);
  background: var(--fz-surface-2);
  color: var(--fz-text-2);
}
.fz-clh-bstrip-t {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: var(--fz-s-2);
  row-gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
}
.fz-clh-bstrip.has-list .fz-clh-bstrip-t { flex: none; }
.fz-clh-bstrip-t b { font-size: var(--fz-fs-body); font-weight: var(--fz-fw-semi); color: var(--fz-text-1); }
.fz-clh-bstrip-t > .fz-clh-bstrip-n {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  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-clh-bstrip-err { flex: 1 1 auto; min-width: 0; }
.fz-clh-bchips {
  display: flex;
  align-items: center;
  gap: var(--fz-s-2);
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px;   /* focus ring room inside the scroller */
}
.fz-clh-bchips::-webkit-scrollbar { display: none; }
.fz-clh-bchip,
.fz-clh-bbtn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: var(--fz-s-2);
  flex: none;
  height: 36px;
  margin: 0;
  border: 0;
  border-radius: var(--fz-r-pill);
  background: var(--fz-surface-2);
  color: var(--fz-text-1);
  font: inherit;
  font-size: var(--fz-fs-meta);
  font-weight: var(--fz-fw-semi);
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  --fz-avstack-ring: var(--fz-surface-2);
  transition: background-color var(--fz-t-fast) var(--fz-ease), color var(--fz-t-fast) var(--fz-ease), transform var(--fz-t-fast) var(--fz-ease);
}
.fz-clh-bchip { padding: 0 var(--fz-s-3) 0 var(--fz-s-2); }
.fz-clh-bchip > b { font-weight: var(--fz-fw-semi); }
.fz-clh-bchip > span:last-child { color: var(--fz-text-3); font-weight: var(--fz-fw-medium); font-variant-numeric: tabular-nums; }
.fz-clh-bbtn { padding: 0 var(--fz-s-4); }
.fz-clh-bbtn .fsw-ic { flex: none; }
.fz-clh-bbtn.is-quiet { background: transparent; color: var(--fz-text-2); }
.fz-clh-bchip:hover,
.fz-clh-bbtn:hover { background: var(--fz-surface-3); color: var(--fz-text-1); --fz-avstack-ring: var(--fz-surface-3); }
.fz-clh-bchip:active,
.fz-clh-bbtn:active { transform: scale(.97); }
.fz-clh-bchip:focus-visible,
.fz-clh-bbtn:focus-visible { outline: 2px solid var(--fz-focus); outline-offset: 2px; border-radius: var(--fz-r-pill); }
.fz-clh-bstrip-a { display: inline-flex; align-items: center; gap: var(--fz-s-1); flex: none; margin-left: auto; }


/* ═══ 4. TOOLBAR ═════════════════════════════════════════════════════════════
   Wide: search · health filter pills · (right) Cards/Table on ONE line; the
   search gives up width first (420 → 220px).
   Narrow (container < 880px): search + Cards/Table on line 1, the filter on line 2.
   Phones (< 560px): the pills are one sideways-scrolling line edge to edge. The
   wrapper is the size container (it holds no fixed overlays, so containment
   cannot trap a modal). */
.fz-clh-tbwrap { container-type: inline-size; container-name: fzclhtb; min-width: 0; }
.fz-clh .fz-clh-toolbar { flex-wrap: nowrap; align-items: flex-start; gap: var(--fz-s-3); }
.fz-clh .fz-clh-toolbar > .fz-toolbar-s { display: contents; }
.fz-clh .fz-clh-toolbar > .fz-toolbar-e { flex: none; }
.fz-clh-toolbar .fz-search.fz-clh-search {
  flex: 1 1 280px;
  width: auto;
  min-width: 220px;
  max-width: 420px;
  height: 44px;
}
.fz-clh-toolbar .fz-search.fz-clh-search input.fz-search-in { font-size: var(--fz-fs-body); }

/* Health filter: the kit's soft pills (active = solid, count in an inner circle). */
.fz-clh-pills { display: inline-flex; flex: none; flex-wrap: nowrap; align-items: center; gap: var(--fz-s-2); min-width: 0; }
.fz-clh-pills .fz-fpill { height: 44px; padding: 0 var(--fz-s-4); font-size: var(--fz-fs-body); }
.fz-clh-pills .fz-fpill.is-zero:not(.is-on) { color: var(--fz-text-3); }

/* View toggle: same 44px line as the search. */
.fz-clh-toolbar .fz-viewtog { height: 44px; box-sizing: border-box; }
.fz-clh-toolbar .fz-viewtog-b { height: 36px; padding: 0 var(--fz-s-3); font-size: var(--fz-fs-meta); }

@container fzclhtb (max-width: 880px) {
  .fz-clh .fz-clh-toolbar { flex-wrap: wrap; }
  .fz-clh-toolbar .fz-search.fz-clh-search { order: 1; flex: 1 1 200px; min-width: 0; max-width: none; }
  .fz-clh-toolbar > .fz-toolbar-e { order: 2; }
  .fz-clh-pills { order: 3; flex: 1 1 100%; flex-wrap: wrap; }
}
@container fzclhtb (max-width: 560px) {
  /* Icon-only Cards/Table: each button a full 44 × 40 touch target (2px track). */
  .fz-clh-toolbar .fz-viewtog-l { display: none; }
  .fz-clh-toolbar .fz-viewtog { padding: 2px; }
  .fz-clh-toolbar .fz-viewtog-b { height: 40px; min-width: 44px; padding: 0 var(--fz-s-3); justify-content: center; }
  /* Phones: the four pills stay on ONE line that scrolls sideways edge to edge
     (no orphan "Healthy" on a line of its own). The 4px block padding keeps the
     focus ring inside the scroller. A focused pill scrolls in clear of the fade. */
  .fz-clh-pills {
    flex-wrap: nowrap;
    gap: var(--fz-s-2);
    margin: calc(var(--fz-s-1) * -1) calc(var(--fz-page-pad) * -1);
    padding: var(--fz-s-1) var(--fz-page-pad);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    scroll-padding-inline: var(--fz-s-8);
  }
  .fz-clh-pills::-webkit-scrollbar { display: none; }
  .fz-clh-pills .fz-fpill { flex: none; padding: 0 var(--fz-s-3); }
  /* Edge fade: only on the side that really scrolls (is-fade-l / is-fade-r come
     from the scroll position in OpsClhPage); the mask needs any opaque token. */
  .fz-clh-pills.is-fade-r { -webkit-mask-image: linear-gradient(to left, transparent 0, var(--fz-surface-1) var(--fz-s-8)); mask-image: linear-gradient(to left, transparent 0, var(--fz-surface-1) var(--fz-s-8)); }
  .fz-clh-pills.is-fade-l { -webkit-mask-image: linear-gradient(to right, transparent 0, var(--fz-surface-1) var(--fz-s-8)); mask-image: linear-gradient(to right, transparent 0, var(--fz-surface-1) var(--fz-s-8)); }
  .fz-clh-pills.is-fade-l.is-fade-r {
    -webkit-mask-image: linear-gradient(to right, transparent 0, var(--fz-surface-1) var(--fz-s-8), var(--fz-surface-1) calc(100% - var(--fz-s-8)), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, var(--fz-surface-1) var(--fz-s-8), var(--fz-surface-1) calc(100% - var(--fz-s-8)), transparent 100%);
  }
}


/* ═══ 5. GRID ════════════════════════════════════════════════════════════════
   Intentional column counts measured on the grid's own width (the sidebar
   decides the real width, so a container — not the viewport):
     < 600  → 1 column      600–899 → 2      900–1179 → 3      ≥ 1180 → 4
   Content tops out at ~1370px (--fz-content-max minus padding). 4 columns start
   at a 1180px grid, where (1180 − 3 × 20) / 4 = 280px — the brief's narrowest
   card ("min ≈280–310px"), so a 4-up card is never narrower. The 1512 MacBook
   default (≈1162px grid) is a laptop and stays 3 × ≈374 ("3 around laptop"),
   1440 (≈1090px) 3 × 350, 1280 (≈930px) 3 × 297, ≈1530+ → 4 × 280+, 1920 →
   4 × 328, tablet 768 → 2. Phones (< 768px viewport) are always one full-width
   card. The track minimums (290 / 280 / 280px) only guard against a container
   query engine quirk; the divided width is always larger inside its range.
   Today and My Week reuse this grid and mirror the steps in JS (opsTdKolomKartu /
   opsMyKolomKartu) to fill whole rows — keep their numbers equal to these. */
.fz-clh-gridwrap { container-type: inline-size; container-name: fzclhg; min-width: 0; }
.fz-clh-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--fz-s-5);
  min-width: 0;
}
@container fzclhg (min-width: 600px) {
  .fz-clh-grid { grid-template-columns: repeat(auto-fill, minmax(max(290px, calc((100% - var(--fz-s-5)) / 2)), 1fr)); }
}
@container fzclhg (min-width: 900px) {
  .fz-clh-grid { grid-template-columns: repeat(auto-fill, minmax(max(280px, calc((100% - 2 * var(--fz-s-5)) / 3)), 1fr)); }
}
@container fzclhg (min-width: 1180px) {
  .fz-clh-grid { grid-template-columns: repeat(auto-fill, minmax(max(280px, calc((100% - 3 * var(--fz-s-5)) / 4)), 1fr)); }
}
@media (max-width: 767px) {
  .fz-clh-grid,
  .fz-clh-grid.is-idle { grid-template-columns: minmax(0, 1fr); gap: var(--fz-s-4); }
}
/* Each cell is a size container too (no fixed overlay inside: the card ⋯ menu and
   the framing / crop modals are portalled to <body>), so a narrow card (≤ 300px:
   a 4-up card near 1180px, a 3-up one near 900px) can tighten its own insets.
   The ⋯ menu's "Add photo" file input sits in the cell, never shown. */
.fz-clh-cell { display: flex; min-width: 0; container: fzclhcard / inline-size; }
.fz-clh-file { display: none !important; }


/* ═══ 6. CLIENT CARD ═════════════════════════════════════════════════════════
   PHOTO FIRST: the cover fills the top ~half (16:10; 16:9 on phones) edge to edge,
   status pill top-left and a round ⋯ top-right ON the photo; under it the name +
   @handle with the two team faces, the current step + Batch chip, the five step
   capsules, and one inset "next" row. Tonal surface, a hairline of light at the
   rim instead of a border, soft shadow; hover lifts 2px. */
.fz-clh-card {
  --fz-cover-ar: 16 / 10;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--fz-r-lg);
  background: var(--fz-surface-1);
  color: var(--fz-text-1);
  box-shadow: 0 0 0 1px var(--fz-kit-veil, var(--fz-border)), var(--fz-shadow-soft);
  cursor: pointer;
  --fz-avstack-ring: var(--fz-surface-1);
  transition:
    transform var(--fz-t-med) var(--fz-ease),
    background-color var(--fz-t-med) var(--fz-ease),
    box-shadow var(--fz-t-med) var(--fz-ease);
}
[data-theme="dark"] .fz-clh-card {
  background-image: linear-gradient(180deg, var(--fz-kit-sheen, transparent), transparent 55%);
}
@media (hover: hover) {
  .fz-clh-card:hover {
    background-color: var(--fz-surface-hover);
    box-shadow: 0 0 0 1px var(--fz-kit-veil-2, var(--fz-border-strong)), var(--fz-shadow-pop);
    --fz-avstack-ring: var(--fz-surface-hover);
  }
  [data-theme="light"] .fz-clh-card:hover { background-color: var(--fz-surface-1); --fz-avstack-ring: var(--fz-surface-1); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .fz-clh-card:hover { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  .fz-clh-card { transition: background-color var(--fz-t-fast) linear, box-shadow var(--fz-t-fast) linear; }
}
/* Skin material — Clients page only (Today / My Week keep their card-on-panel
   fill): the SAME face the Team cards copy value for value (fz-team.css), a
   translucent fill over the skin's slab plus a lit 1px rim. The rim is an overlay
   ring (::after masked to 1px), not a border, so the cover keeps its geometry and
   the rim runs over the photo edge like glass. --fz-avstack-ring = the opaque
   colour the fill settles to, so the two team faces keep a clean gap. */
:root[data-hud-skin="silver"] .fsw-page.fz-clh .fz-clh-card {
  --fz-clh-rim: linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .03) 32%, rgba(0, 0, 0, .26));
  background-color: rgba(26, 29, 29, .55);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 -1px 0 rgba(0, 0, 0, .22) inset, 0 10px 24px rgba(0, 0, 0, .24);
  --fz-avstack-ring: #1C1F1F;
}
:root[data-hud-skin="burgundy"] .fsw-page.fz-clh .fz-clh-card {
  --fz-clh-rim: linear-gradient(150deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .04) 36%, rgba(244, 111, 123, .20));
  background-color: rgba(47, 24, 32, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 14px 34px -16px rgba(10, 2, 5, .70);
  --fz-avstack-ring: #29141B;
}
:root[data-hud-skin="premium-light"] .fsw-page.fz-clh .fz-clh-card {
  --fz-clh-rim: linear-gradient(150deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .55) 40%, rgba(214, 216, 255, .55) 75%, rgba(255, 190, 215, .45));
  background-color: transparent;
  background-image: linear-gradient(165deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .62) 55%, rgba(255, 255, 255, .72));
  box-shadow: var(--light-shadow-card), 0 16px 36px -18px var(--light-reflection-blue), 0 14px 32px -18px var(--light-reflection-pink);
}
:root[data-hud-skin="silver"] .fsw-page.fz-clh .fz-clh-card::after,
:root[data-hud-skin="burgundy"] .fsw-page.fz-clh .fz-clh-card::after,
:root[data-hud-skin="premium-light"] .fsw-page.fz-clh .fz-clh-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1px;
  border-radius: inherit;
  background: var(--fz-clh-rim);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
/* Hover = the Team card's one-step-stronger lift + a slightly brighter fill
   (Premium Light keeps its frosted face, like its Team cards). */
@media (hover: hover) {
  :root[data-hud-skin="silver"] .fsw-page.fz-clh .fz-clh-card:hover {
    background-color: rgba(38, 42, 42, .62);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .10) inset, 0 -1px 0 rgba(0, 0, 0, .22) inset, 0 18px 36px rgba(0, 0, 0, .34);
    --fz-avstack-ring: #232727;
  }
  :root[data-hud-skin="burgundy"] .fsw-page.fz-clh .fz-clh-card:hover {
    background-color: rgba(58, 30, 40, .76);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 22px 44px -18px rgba(10, 2, 5, .80);
    --fz-avstack-ring: #331A22;
  }
  :root[data-hud-skin="premium-light"] .fsw-page.fz-clh .fz-clh-card:hover { box-shadow: var(--light-shadow-raised); }
}
/* Keyboard: the name is the real button; the ring goes round the whole card. */
.fz-clh-card:has(.fz-clh-card-btn:focus-visible) { outline: 2px solid var(--fz-focus); outline-offset: 3px; }
@supports selector(:has(*)) {
  .fz-clh .fz-clh-card-btn:focus-visible { outline: none; }
}
/* Touch / narrow: the name button's hit area stretches over the card body (no
   tooltips to protect there); the photo layer (⋯) and Start month sit above it. */
@media (max-width: 768px), (pointer: coarse) {
  .fz-clh-card-btn::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
  .fz-clh-card-btn { position: static; }
}

/* Cover box. The kit's .fz-cover reserves it from --fz-cover-ar (no layout shift);
   the card's overflow rounds its top corners. z-index 1 keeps the ⋯ above the
   stretched name button on touch. */
.fz-clh-card .fz-clh-cover { position: relative; z-index: 1; flex: none; width: 100%; }
.fz-clh-card .fz-cover-ov { padding: var(--fz-s-3); }
.fz-clh-card .fz-clh-cover-pill { max-width: calc(100% - 52px); overflow: hidden; text-overflow: ellipsis; }
.fz-clh-card .fz-clh-cover-more { margin-left: auto; }

/* Body. 16px top, 20px sides and foot; the next row is pinned to the foot so a
   row of cards lines its bottoms up whatever the name length. */
.fz-clh-card-b {
  display: flex;
  flex-direction: column;
  gap: var(--fz-s-4);
  flex: 1 1 auto;
  min-width: 0;
  padding: var(--fz-s-4) var(--fz-s-5) var(--fz-s-5);
}
.fz-clh-card-h { display: flex; align-items: flex-start; gap: var(--fz-s-3); min-width: 0; }
.fz-clh-card-id { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.fz-clh .fz-clh-card-name {
  margin: 0;
  padding: 0;
  min-width: 0;
  font-family: var(--fz-font-display);
  font-size: var(--fz-fs-name);
  font-weight: var(--fz-fw-semi);
  line-height: 1.3;
  letter-spacing: -.012em;
  color: var(--fz-text-1);
}
/* The name never truncates to "Coach Hary…": up to two lines, then an ellipsis.
   8px of invisible padding (cancelled by the margin) gives the button a 40px+ hit
   box without moving the text. */
.fz-clh-card-btn {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  max-width: 100%;
  margin: calc(var(--fz-s-2) * -1) 0;
  padding: var(--fz-s-2) 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  white-space: normal;
  overflow: hidden;
  cursor: pointer;
}
.fz-clh-card-nm {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.fz-clh-card-sub {
  min-width: 0;
  font-size: var(--fz-fs-meta);
  line-height: 1.4;
  color: var(--fz-text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Team: two 32px faces, a 2px ring of the card surface between them. */
.fz-clh-team { display: inline-flex; align-items: center; flex: none; margin-top: 2px; }
.fz-clh-team .fz-avstack { --fz-avs-ov: 8px; --fz-avs-ovi: 6px; }
.fz-clh-team.is-none {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--fz-r-pill);
  border: 1px dashed var(--fz-border-strong);
  color: var(--fz-text-3);
}

/* Current step: "01  Titles  0/15 ……… Batch 2", then the five capsules (6px). */
.fz-clh-step { display: flex; flex-direction: column; gap: var(--fz-s-3); min-width: 0; }
.fz-clh-step-l { display: flex; align-items: center; gap: var(--fz-s-2); min-width: 0; min-height: 24px; }
.fz-clh-step-k {
  flex: none;
  font-size: var(--fz-fs-meta);
  font-weight: var(--fz-fw-semi);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  color: var(--fz-text-3);
}
.fz-clh-step-t {
  flex: 0 1 auto;
  min-width: 0;
  font-size: var(--fz-fs-body);
  font-weight: var(--fz-fw-semi);
  line-height: 1.4;
  color: var(--fz-text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fz-clh-step-t.is-none { color: var(--fz-text-3); font-weight: var(--fz-fw-medium); }
.fz-clh-step-n {
  flex: none;
  font-size: var(--fz-fs-meta);
  font-weight: var(--fz-fw-semi);
  font-variant-numeric: tabular-nums;
  color: var(--fz-text-2);
}
.fz-clh-step-n > span { color: var(--fz-text-3); font-weight: var(--fz-fw-medium); }
.fz-clh-step-tag { flex: none; }
.fz-clh-batch {
  display: inline-flex;
  align-items: center;
  flex: none;
  height: 24px;
  margin-left: auto;
  padding: 0 var(--fz-s-2);
  border-radius: var(--fz-r-pill);
  background: var(--fz-surface-2);
  color: var(--fz-text-2);
  font-size: var(--fz-fs-meta);
  font-weight: var(--fz-fw-semi);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.fz-clh-card .fz-clh-step .fz-segbar { height: 6px; gap: var(--fz-s-1); }
.fz-clh-card .fz-clh-step .fz-seg.is-empty { background: var(--fz-surface-3); }
[data-theme="dark"] .fz-clh-card .fz-clh-step .fz-seg.is-empty { background: var(--fz-kit-veil-2, var(--fz-surface-3)); }
/* Light: lime on the pale track needs the --fz-focus hairline (same rule as OpsProgress). */
[data-theme="light"] .fz-clh .fz-seg.is-accent { box-shadow: inset 0 0 0 1px var(--fz-focus); }

/* Next milestone: one inset row (40px, soft fill) — icon · name · date · ›. */
.fz-clh-next {
  display: flex;
  align-items: center;
  gap: var(--fz-s-2);
  min-width: 0;
  height: 40px;
  margin-top: auto;
  padding: 0 var(--fz-s-2) 0 var(--fz-s-3);
  border-radius: var(--fz-r-sm);
  background: var(--fz-surface-2);
  color: var(--fz-text-2);
  font-size: var(--fz-fs-meta);
  line-height: 1.3;
}
.fz-clh-next > .fsw-ic { flex: none; color: var(--fz-text-3); }
/* Only the name clips — the date (and "Late") never does, even on a 270px card. */
.fz-clh-next-t { display: flex; align-items: baseline; flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; }
.fz-clh-next-t > b,
.fz-clh-next-t > span:not(.fz-clh-next-d) { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.fz-clh-next-t > b { font-weight: var(--fz-fw-medium); color: var(--fz-text-1); }
.fz-clh-next-d { flex: none; white-space: pre; font-variant-numeric: tabular-nums; }
.fz-clh-next.is-late > .fsw-ic:first-child,
.fz-clh-next.is-late .fz-clh-next-d { color: var(--fz-crit-ink); }
.fz-clh-next.is-late .fz-clh-next-d { font-weight: var(--fz-fw-semi); }
.fz-clh-next.is-none { color: var(--fz-text-3); }
.fz-clh-next .fz-clh-next-go { color: var(--fz-text-3); transition: transform var(--fz-t-fast) var(--fz-ease), color var(--fz-t-fast) var(--fz-ease); }
@media (hover: hover) {
  .fz-clh-card:hover .fz-clh-next { background: var(--fz-surface-3); }
  .fz-clh-card:hover .fz-clh-next .fz-clh-next-go { color: var(--fz-text-1); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .fz-clh-card:hover .fz-clh-next .fz-clh-next-go { transform: translateX(2px); }
}

/* Start month (idle card, managers): the inset row as a real button. */
.fz-clh-start {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--fz-s-2);
  width: 100%;
  height: 40px;
  margin: auto 0 0;
  padding: 0 var(--fz-s-3);
  border: 0;
  border-radius: var(--fz-r-sm);
  background: var(--fz-accent-soft);
  color: var(--fz-accent-ink);
  font: inherit;
  font-size: var(--fz-fs-meta);
  font-weight: var(--fz-fw-semi);
  cursor: pointer;
  transition: background-color var(--fz-t-fast) var(--fz-ease), color var(--fz-t-fast) var(--fz-ease), transform var(--fz-t-fast) var(--fz-ease);
}
.fz-clh-start:hover { background: var(--fz-accent); color: var(--fz-text-on-accent); }
.fz-clh-start:active { transform: scale(.98); }
.fz-clh-start:focus-visible { outline: 2px solid var(--fz-focus); outline-offset: 2px; }
.fz-clh-start .fsw-ic { flex: none; }

/* Narrow card (280–300px: 4 columns at a 1180–1260px grid, 3 at 900–940px, e.g.
   1280): 16px insets, and the › keeps its place — it is the row's "opens" signal at
   every width — with 4px less on each side of it, so "Production due · Late ·
   24 Sep" (≈187px) still fits whole on a 280px card. A longer name ellipsizes
   (.fz-clh-next-t); the date never clips. Only a card under 260px (no grid step
   produces one) lets the › step aside. */
@container fzclhcard (max-width: 300px) {
  .fz-clh-card-b { padding: var(--fz-s-4); }
  .fz-clh-next { padding-right: var(--fz-s-1); }
  .fz-clh-next .fz-clh-next-go { margin-left: calc(-1 * var(--fz-s-1)); }
}
@container fzclhcard (max-width: 260px) {
  .fz-clh-next { padding: 0 var(--fz-s-3); }
  .fz-clh-next .fz-clh-next-go { display: none; }
}

.fz-clh-moreall { display: flex; justify-content: center; }


/* ═══ 7. NOT STARTED, SKELETON, TABLE VIEW, EMPTY ROWS ═══════════════════════ */
.fz-clh-idle.is-cards { display: flex; flex-direction: column; gap: var(--fz-s-4); min-width: 0; margin-top: var(--fz-s-4); }
.fz-clh-sech { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: var(--fz-s-3); row-gap: var(--fz-s-1); }
.fz-clh-sech-t {
  display: inline-flex;
  align-items: center;
  gap: var(--fz-s-2);
  margin: 0;
  font-family: var(--fz-font-display);
  font-size: var(--fz-fs-section);
  font-weight: var(--fz-fw-semi);
  letter-spacing: -.01em;
  color: var(--fz-text-1);
}
.fz-clh-sech-sub { margin: 0; font-size: var(--fz-fs-meta); color: var(--fz-text-3); }
.fz-clh-count {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 24px;
  padding: 0 var(--fz-s-2);
  border-radius: var(--fz-r-pill);
  background: var(--fz-surface-3);
  color: var(--fz-text-2);
  font-family: var(--fz-font-body);
  font-size: var(--fz-fs-meta);
  font-weight: var(--fz-fw-semi);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

/* Skeleton: the card's silhouette, static (no shimmer, DESIGN-SYSTEM §12). */
.fz-clh-skc {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--fz-r-lg);
  background: var(--fz-surface-1);
}
.fz-clh-skc-ph { display: block; aspect-ratio: 16 / 10; background: var(--fz-surface-2); }
.fz-clh-skc-b { display: flex; flex-direction: column; gap: var(--fz-s-3); padding: var(--fz-s-4) var(--fz-s-5) var(--fz-s-5); }
.fz-clh-skc-l { display: block; height: 12px; border-radius: var(--fz-r-pill); background: var(--fz-surface-2); }
.fz-clh-skc-l.is-t { width: 56%; height: 18px; }
.fz-clh-skc-l.is-s { width: 36%; }
.fz-clh-skc-l.is-bar { width: 100%; height: 6px; margin-top: var(--fz-s-2); }
.fz-clh-skc-l.is-row { width: 100%; height: 40px; border-radius: var(--fz-r-sm); }

.fz-clh-tcell { display: inline-flex; align-items: center; gap: var(--fz-s-2); min-width: 0; white-space: nowrap; }
/* Table panel is flush (rows run edge to edge); its other children keep the inset. */
.fz-clh-tablep > .fz-panel-b > .fz-clh-legend,
.fz-clh-tablep > .fz-panel-b > .fsw-list-empty { margin: 0 var(--fz-card-pad); }
/* Edge cells line up with the panel title. Column widths, cell padding and the
   phone card layout belong to OpsClientsTable's own container query (fz-overlays.css,
   container `fzovct`); these insets apply only while it is still a real table (≥ 600),
   so they never pad the stacked phone rows. (0,4,1) beats its (0,2,3) cell rule. */
@container fzovct (min-width: 600px) {
  .fz-clh .fz-clh-tablep .fsw-table tr > :first-child { padding-left: var(--fz-card-pad); }
  .fz-clh .fz-clh-tablep .fsw-table tr > :last-child { padding-right: var(--fz-card-pad); }
}
/* Phone rows (stacked cards) start where the panel title starts. */
@container fzovct (max-width: 599px) {
  .fz-clh .fz-clh-tablep .fsw-table > tbody > tr { padding-left: var(--fz-card-pad); padding-right: var(--fz-card-pad); }
}
/* This page's table must FIT its panel (QA 5 Okt: at 1280 / 1440 / 1512 the Status
   column — the most important one — sat cut off under the scroll shade). Only on
   the Clients page (Today / My Week keep the shared steps of fz-overlays.css), and
   only while it is a real table (≥ 600; the phone card rows have their own grid):
     < 1200  Strategist + Editor fold into the 60px Team column (shared: < 1080)
     < 1000  "This week" steps aside (the client page has it) and the Step cell
             keeps name + count on one line, only the due date drops under it. */
@container fzovct (min-width: 600px) and (max-width: 1199px) {
  .fz-clh .fz-clh-tablep .fz-ov-ctable .fz-ov-c-str,
  .fz-clh .fz-clh-tablep .fz-ov-ctable .fz-ov-c-ed { display: none; }
  .fz-clh .fz-clh-tablep .fz-ov-ctable .fz-ov-c-team { display: table-cell; }
}
@container fzovct (min-width: 600px) and (max-width: 999px) {
  .fz-clh .fz-clh-tablep .fz-ov-ctable .fz-ov-c-wk { display: none; }
  .fz-clh .fz-clh-tablep .fz-ov-ctable td.fz-ov-c-step { min-width: 150px; }
  .fz-clh .fz-clh-tablep .fz-ov-ctable .fz-ov-tstep > span { flex: 0 1 auto; }
}
/* The milestone cell keeps the shared one-line clip (fz-overlays.css): the page hands
   OpsClientsTable display names ("Production · 24 Sep"), which fit its 22ch. */
.fz-clh-legend { padding-top: var(--fz-s-1); }

.fz-clh-none {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--fz-s-3);
  padding: var(--fz-s-5) var(--fz-s-6);
  border-radius: var(--fz-r-lg);
  background: var(--fz-surface-1);
  box-shadow: inset 0 1px 0 var(--fz-kit-hl, transparent), var(--fz-shadow-soft);
  font-size: var(--fz-fs-body);
  color: var(--fz-text-2);
}
/* Inside the Table panel (already surface-1) the same block is an inset well, not a
   card on a card; the flush panel's side inset comes back so it lines up with the title. */
.fz-clh .fz-clh-tablep > .fz-panel-b > .fz-clh-none,
[data-theme="dark"] .fz-clh .fz-clh-tablep > .fz-panel-b > .fz-clh-none {
  margin: 0 var(--fz-card-pad);
  padding: var(--fz-s-3) var(--fz-s-4);
  border-radius: var(--fz-r-md);
  background: var(--fz-surface-2);
  box-shadow: none;
}


/* ═══ 8. DRAWERS ═════════════════════════════════════════════════════════════ */
.fz-clh-dbar { display: flex; justify-content: flex-start; }
.fz-clh-drawer .fz-clh-dbar .fsw-ic,
.fz-clh-drawer .fz-clh-danger .fsw-ic { margin-right: var(--fz-s-1); }

/* Month tile (batch drawer). */
.fz-clh-mtile {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--fz-s-1);
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: var(--fz-r-sm);
  background: var(--fz-surface-1);
  line-height: 1;
}
.fz-clh-mtile b {
  font-family: var(--fz-font-display);
  font-size: var(--fz-fs-meta);
  font-weight: var(--fz-fw-bold);
  letter-spacing: .04em;
  color: var(--fz-text-1);
}
.fz-clh-mtile span { font-size: var(--fz-fs-meta); color: var(--fz-text-3); font-variant-numeric: tabular-nums; }
.fz-clh-brow-acts { display: inline-flex; align-items: center; gap: var(--fz-s-1); flex: none; }
.fz-clh-ib {
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--fz-r-pill);
  background: transparent;
  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-clh-ib:hover { background: var(--fz-surface-3); color: var(--fz-text-1); }
.fz-clh-ib.is-danger:hover { background: var(--fz-crit-soft); color: var(--fz-crit-ink); }
.fz-clh-ib:focus-visible { outline: 2px solid var(--fz-focus); outline-offset: 1px; border-radius: var(--fz-r-pill); }

/* Client faces: a tight row of round faces (no overlap — overlapping faces cut
   into the initials). "+N" is a pill of the same height. */
.fz-clh-cstack { display: inline-flex; align-items: center; gap: 3px; flex: none; min-width: 0; }
.fz-clh-cstack .fz-cav { border-radius: var(--fz-r-pill); }
.fz-clh-cstack-more {
  display: inline-grid;
  place-items: center;
  flex: none;
  box-sizing: border-box;
  padding: 0 var(--fz-s-1);
  border-radius: var(--fz-r-pill);
  background: transparent;
  border: 1px solid var(--fz-border-strong);
  color: var(--fz-text-2);
  font-size: var(--fz-fs-meta);
  font-weight: var(--fz-fw-semi);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

/* Batches drawer: one block per batch, client chips open the client. */
.fz-clh-bd {
  display: flex;
  flex-direction: column;
  gap: var(--fz-s-3);
  padding: var(--fz-s-4);
  border-radius: var(--fz-r-md);
  background: var(--fz-surface-2);
  scroll-margin-top: var(--fz-s-4);
  --fz-avstack-ring: var(--fz-surface-2);
}
.fz-clh-bd.is-focus { box-shadow: inset 0 0 0 1px var(--fz-accent-line); }
.fz-clh-bd-h { display: flex; align-items: center; gap: var(--fz-s-3); min-width: 0; }
.fz-clh-bd-t { display: flex; flex-direction: column; gap: var(--fz-s-1); flex: 1 1 auto; min-width: 0; }
.fz-clh-bd-t b {
  font-size: var(--fz-fs-body);
  font-weight: var(--fz-fw-semi);
  color: var(--fz-text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fz-clh-bd-t span { font-size: var(--fz-fs-meta); color: var(--fz-text-3); }
.fz-clh-chips { display: flex; flex-wrap: wrap; gap: var(--fz-s-2); }
.fz-clh-chip {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: var(--fz-s-2);
  max-width: 100%;
  min-height: 36px;
  margin: 0;
  padding: var(--fz-s-1) var(--fz-s-3) var(--fz-s-1) var(--fz-s-1);
  border: 0;
  border-radius: var(--fz-r-pill);
  background: var(--fz-surface-1);
  color: var(--fz-text-1);
  font: inherit;
  font-size: var(--fz-fs-meta);
  font-weight: var(--fz-fw-medium);
  cursor: pointer;
  transition: background-color var(--fz-t-fast) var(--fz-ease);
}
.fz-clh-chip > span:last-child { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fz-clh-chip .fz-cav { border-radius: var(--fz-r-pill); }
.fz-clh-chip:hover { background: var(--fz-surface-hover); }
.fz-clh-chip:focus-visible { outline: 2px solid var(--fz-focus); outline-offset: 2px; }

/* Manage clients drawer. */
.fz-clh-mnote {
  display: flex;
  align-items: flex-start;
  gap: var(--fz-s-2);
  padding: var(--fz-s-3) var(--fz-s-4);
  border-radius: var(--fz-r-md);
  background: var(--fz-warn-soft);
  color: var(--fz-text-1);
  font-size: var(--fz-fs-meta);
  line-height: 1.5;
}
.fz-clh-mnote > .fsw-ic { flex: none; margin-top: calc((1.5em - 15px) / 2);  /* centre the 15px icon on the first 1.5 line */ color: var(--fz-warn-ink); }
.fz-clh-mnote b { font-weight: var(--fz-fw-semi); }
.fz-clh-manage .fz-search { width: 100%; }
.fz-clh-mlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.fz-clh-mrow {
  display: flex;
  align-items: center;
  gap: var(--fz-s-3);
  min-width: 0;
  padding: var(--fz-s-3) 0;
  border-bottom: 1px solid var(--fz-border);
}
.fz-clh-mrow:last-child { border-bottom: 0; }
.fz-clh-mrow-t { display: flex; flex-direction: column; gap: var(--fz-s-1); flex: 1 1 auto; min-width: 0; }
.fz-clh-mrow-nm { display: flex; align-items: center; gap: var(--fz-s-2); min-width: 0; }
.fz-clh-mrow-nm > .fz-pill { flex: none; }
.fz-clh-mrow-nm > b {
  font-size: var(--fz-fs-body);
  font-weight: var(--fz-fw-semi);
  color: var(--fz-text-1);
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fz-clh-mrow-t > span:not(.fz-clh-mrow-nm) { font-size: var(--fz-fs-meta); color: var(--fz-text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fz-clh-mrow-a { display: inline-flex; align-items: center; gap: var(--fz-s-1); flex: none; }
.fz-clh-danger {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--fz-s-3);
  padding: var(--fz-s-4);
  border-radius: var(--fz-r-md);
  background: var(--fz-crit-soft);
}
.fz-clh-danger-t { display: flex; flex-direction: column; gap: var(--fz-s-1); }
.fz-clh-danger-t b { font-size: var(--fz-fs-body); font-weight: var(--fz-fw-semi); color: var(--fz-crit-ink); }
.fz-clh-danger-t span { font-size: var(--fz-fs-meta); line-height: 1.5; color: var(--fz-text-1); }


/* ═══ 9. ⋯ MENUS (portalled to <body>) ═══════════════════════════════════════
   The page menu (Add batch / Manage clients) and each card's menu (Open client,
   Open Instagram, Adjust photo framing). */
/* Above the phone tab bar (.fsw-bbar, z 75) — the shared menu layer is 60/61, so
   an open card menu used to slide UNDER the bar. Never wider than the screen
   minus the 16px gutters; sub-lines wrap instead of losing their meaning to "…". */
.fsw-menu.fz-clh-menu { z-index: 90; min-width: 240px; max-width: min(340px, calc(100vw - 32px)); }
.fsw-menu-scrim.fz-clh-menu-scrim { z-index: 89; }
.fz-clh-menu .fsw-menu-item.fz-clh-mi {
  flex-direction: row;
  align-items: center;
  gap: var(--fz-s-3);
  min-height: 44px;
  padding: var(--fz-s-2) var(--fz-s-3) var(--fz-s-2) var(--fz-s-2);
}
.fz-clh-mi-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: var(--fz-r-xs);
  background: var(--fz-surface-2);
  color: var(--fz-text-2);
}
.fz-clh-mi-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fz-clh-mi-t b { font-size: var(--fz-fs-body); font-weight: var(--fz-fw-semi); color: var(--fz-text-1); }
.fz-clh-mi-t span { font-size: var(--fz-fs-meta); line-height: 1.35; color: var(--fz-text-3); white-space: normal; overflow-wrap: anywhere; }


/* ═══ 10. PHONES & SMALL TABLETS ═════════════════════════════════════════════ */
@media (max-width: 768px) {
  .fsw-page.fz-clh { gap: var(--fz-s-4); }
  /* No header Jump box — the toolbar's "Search clients" filters this same list,
     and two search fields stacked apart read as a duplicate. */
  .fz-clh .xcs-pagehead-cta .fsw-jump { display: none; }
  /* Compact Add: a 44px "＋" circle beside ⋯; the label stays for assistive tech. */
  :root .xcs-app .fz-clh .xcs-pagehead-cta .fz-clh-addc {
    width: var(--fz-ctl-h);
    min-width: var(--fz-ctl-h);
    height: var(--fz-ctl-h);
    padding: 0 !important;
    justify-content: center;
  }
  .fz-clh .fz-clh-addc .fz-clh-addc-l {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .fz-clh .fz-clh-addc .fsw-ic { width: 20px; height: 20px; }
  .fz-clh-card { --fz-cover-ar: 16 / 9; }
  .fz-clh-card-b { padding: var(--fz-s-4); gap: var(--fz-s-3); }
  .fz-clh-step { gap: var(--fz-s-2); }
  .fz-clh-bstrip { gap: var(--fz-s-2); }
  .fz-clh-bstrip-ico { width: 32px; height: 32px; }
  .fz-clh-bstrip .fz-clh-bbtn { height: 40px; }
  .fz-clh-bstrip .fz-clh-bbtn:not(.is-quiet) .fz-clh-bbtn-l { display: none; }
  .fz-clh-bstrip .fz-clh-bbtn:not(.is-quiet):has(.fz-clh-bbtn-l) { width: 40px; padding: 0; justify-content: center; }
  .fz-clh-ib { width: 40px; height: 40px; }
  .fz-clh-mrow { flex-wrap: wrap; }
  .fz-clh-mrow-a { width: 100%; padding-left: calc(32px + var(--fz-s-3)); }
  .fz-clh-idle.is-cards { margin-top: var(--fz-s-2); }
  .fz-clh-none { padding: var(--fz-s-4); }
  .fz-clh-topg { gap: var(--fz-s-4); }
  :root .xcs-app .fz-clh .xcs-pagehead.fz-clh-head.has-tb { row-gap: var(--fz-s-4) !important; }
}
@media (max-width: 600px) {
  /* Chips would be cut to a sliver of faces: "View all" opens the same list. */
  .fz-clh-bchips { display: none; }
  .fz-clh-bstrip.has-list .fz-clh-bstrip-t { flex: 1 1 auto; }
}

/* 13 Okt 2026 — item "Delete client" di menu ⋯ kartu: merah. */
.fz-clh-mi.is-danger, .fz-clh-mi.is-danger .fz-clh-mi-ico { color: var(--fz-crit-ink); }
.fz-clh-mi.is-danger:hover, .fz-clh-mi.is-danger:focus-visible { background: var(--fz-crit-soft); }

/* 13 Okt 2026 — section Finished (klien status 'ended'): kotak status hijau,
   bilah alur hijau penuh, baris bawah hijau; tombol Finish client di header. */
.fz-clh-card.is-finished .fz-clh-step-t.is-finished { color: var(--fz-ok-ink); }
.fz-clh-card.is-finished .fz-clh-step-k { color: var(--fz-ok); }
.fz-clh-card.is-finished .fz-clh-next.is-finished { color: var(--fz-ok-ink); border-color: color-mix(in srgb, var(--fz-ok) 40%, var(--fz-border)); background: var(--fz-ok-soft); }
.fz-clh-card.is-finished .fz-clh-next.is-finished .fsw-ic { color: var(--fz-ok); }
.fz-cd .fz-cd-finbtn { color: var(--fz-ok-ink); }
.fz-cd .fz-cd-finbtn .fsw-ic { color: var(--fz-ok); }
.fz-cd .fz-cd-finbtn.is-done { color: var(--fz-text-2); }

/* 13 Okt 2026 — tombol Finish / Reopen / Delete terlihat di kartu klien. */
.fz-clh-acts { display: flex; gap: var(--fz-s-2); margin-top: var(--fz-s-2); }
.fz-clh-acts .fz-clh-act { flex: 1 1 0; justify-content: center; display: inline-flex; align-items: center; gap: 6px; }
.fz-clh-act.is-finish { color: var(--fz-ok-ink); border-color: color-mix(in srgb, var(--fz-ok) 45%, var(--fz-border)); }
.fz-clh-act.is-finish .fsw-ic { color: var(--fz-ok); }
.fz-clh-act.is-finish:hover { background: var(--fz-ok-soft); }
.fz-clh-act.is-reopen { color: var(--fz-text-2); }
.fz-clh-act.is-delete { color: var(--fz-crit-ink); border-color: color-mix(in srgb, var(--fz-crit) 45%, var(--fz-border)); }
.fz-clh-act.is-delete .fsw-ic { color: var(--fz-crit); }
.fz-clh-act.is-delete:hover { background: var(--fz-crit-soft); }

/* ── Kartu klien gaya "blur vignette" (23 Okt 2026) ─────────────────────────
   Pemilik: kartu klien seperti BlurVignette — foto memenuhi seluruh kartu, dan
   panel info di bagian bawah menumpang di atas foto dengan blur progresif
   (kabur penuh di dasar, memudar ke atas) + gradasi gelap, teks putih.
   Hanya mengubah tampilan (CSS); isi & perilaku kartu sama. */
.fz-clh-card.is-hover-zoom {
  --fz-cover-ar: auto;
  --fz-avstack-ring: rgba(10, 12, 18, .55);
  display: block !important;
  aspect-ratio: 4 / 5;
  min-height: 380px;
  background: #0b0d12 !important;
  background-image: none !important;
  color: #fff;
  border-radius: 18px;
}
.fz-clh-card.is-hover-zoom .fz-clh-cover { position: absolute !important; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; max-height: none; }
.fz-clh-card.is-hover-zoom .fz-clh-card-b {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  isolation: isolate;
  gap: var(--fz-s-3);
  padding: 72px var(--fz-s-4) var(--fz-s-4);
  background: linear-gradient(to top, rgba(8, 10, 16, .88) 0%, rgba(8, 10, 16, .55) 52%, rgba(8, 10, 16, 0) 100%);
  color: #fff;
}
.fz-clh-card.is-hover-zoom .fz-clh-card-b::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px);
  -webkit-mask-image: linear-gradient(to top, #000 0%, #000 55%, transparent 100%);
  mask-image: linear-gradient(to top, #000 0%, #000 55%, transparent 100%);
}
.fz-clh-card.is-hover-zoom .fz-clh-card-name,
.fz-clh .fz-clh-card.is-hover-zoom .fz-clh-card-name { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.fz-clh-card.is-hover-zoom .fz-clh-card-sub { color: rgba(255, 255, 255, .78); }
.fz-clh-card.is-hover-zoom .fz-clh-step-t,
.fz-clh-card.is-hover-zoom .fz-clh-step-k { color: #fff; }
.fz-clh-card.is-hover-zoom .fz-clh-step-n,
.fz-clh-card.is-hover-zoom .fz-clh-step-n > span { color: rgba(255, 255, 255, .8); }
.fz-clh-card.is-hover-zoom .fz-clh-step-t.is-none { color: rgba(255, 255, 255, .7); }
.fz-clh-card.is-hover-zoom .fz-clh-batch { background: rgba(255, 255, 255, .16); color: #fff; }
.fz-clh-card.is-hover-zoom .fz-clh-card .fz-seg.is-empty,
.fz-clh-card.is-hover-zoom .fz-clh-step .fz-seg.is-empty { background: rgba(255, 255, 255, .22); }
.fz-clh-card.is-hover-zoom .fz-clh-next {
  background: rgba(255, 255, 255, .14); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.fz-clh-card.is-hover-zoom .fz-clh-next > .fsw-ic,
.fz-clh-card.is-hover-zoom .fz-clh-next .fz-clh-next-go,
.fz-clh-card.is-hover-zoom .fz-clh-next.is-none { color: rgba(255, 255, 255, .8); }
.fz-clh-card.is-hover-zoom .fz-clh-next-t > b { color: #fff; }
.fz-clh-card.is-hover-zoom .fz-clh-next.is-late > .fsw-ic:first-child,
.fz-clh-card.is-hover-zoom .fz-clh-next.is-late .fz-clh-next-d { color: #ffb4b4; }
@media (hover: hover) {
  .fz-clh-card.is-hover-zoom:hover { background-color: #0b0d12 !important; }
  .fz-clh-card.is-hover-zoom:hover .fz-clh-next { background: rgba(255, 255, 255, .22); }
}
@media (max-width: 520px) { .fz-clh-card.is-hover-zoom { aspect-ratio: 3 / 4; } }

/* Brief Titles — langkah kecil sebelum Titles (30 Okt 2026) */
.fz-bt { margin: 0 0 14px; border-radius: 14px; border: 1px solid var(--fz-border, rgba(255,255,255,.1)); background: var(--fz-surface-2, rgba(255,255,255,.04)); overflow: hidden; }
.fz-bt.is-done { border-color: rgba(52, 211, 153, .35); }
.fz-bt-h { appearance: none; width: 100%; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 10px 14px; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.fz-bt-k { font-weight: 600; }
.fz-bt-st { padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(128,128,128,.18); }
.fz-bt-st.is-ok { background: rgba(52, 211, 153, .18); color: #6ee7b7; }
.fz-bt-st.is-late { background: rgba(248, 113, 113, .18); color: #fca5a5; }
.fz-bt-pic { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; opacity: .9; }
.fz-bt-due { font-size: 12.5px; opacity: .7; margin-left: auto; }
.fz-bt-chev { transition: transform .15s ease; opacity: .7; }
.fz-bt.is-open .fz-bt-chev { transform: rotate(180deg); }
.fz-bt-b { padding: 4px 14px 14px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--fz-border, rgba(255,255,255,.08)); }
.fz-bt-l { display: flex; flex-direction: column; gap: 6px; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; opacity: .95; }
.fz-bt-l .fsw-input, .fz-bt-l textarea { text-transform: none; letter-spacing: 0; font-size: 14px; }
.fz-bt-state { min-height: 14px; font-size: 12px; opacity: .65; margin-top: -6px; }
.fz-bt-act { display: flex; justify-content: flex-end; }
