/* fz-mywork.css — My Week — personal operating dashboard. Owner: my-week agent (ops-mywork.jsx).
   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>).
   Everything is scoped under the page root .fz-mw (or the drawer class .fz-mw-drawer).
   The task-card family (.fz-mw-tc and its children, 5 Okt 2026) is scoped to
   :is(.fz-mw-drawer, .fz-mw-dsec) instead — OpsMyTaskList/OpsMyTaskCard now
   also render inline in the main "Needs your input" panel (ops-mywork.jsx),
   not only inside a drawer, and every real usage is wrapped in a .fz-mw-dsec
   (OpsMyDrawerSec) either way, so that's the one ancestor both contexts share.
   Only --fz-* tokens. Heatmap ramps mix two tokens with color-mix (no new colours). */

.fsw-page.fz-mw { gap: var(--fz-gap); }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.fz-mw-top {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr);
  gap: var(--fz-gap);
  align-items: stretch;
}
.fz-mw-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: var(--fz-gap);
  /* QA r1: every module ends where its content ends. The shorter column's
     leftover height stays page background BELOW its modules — never inside an
     empty module (the stretched "No meetings this week." slot grew to ~200px). */
  align-items: start;
}
.fz-mw-col { display: flex; flex-direction: column; gap: var(--fz-gap); min-width: 0; }
.fz-mw-col:empty { display: none; }
/* 13 Okt 2026 — pemilik: "taruh work related TASK QUEUE on top, also remove
   priority because it double information." Blok selebar halaman PALING ATAS
   = antrian kerja (QC queue untuk peninjau/lead, My queue untuk editor);
   spasi dari gap .fsw-page.fz-mw, bukan margin sendiri. Panel "My priority"
   tidak ada lagi. */
.fz-mw-hero { min-width: 0; display: flex; flex-direction: column; gap: var(--fz-gap); }
.fz-mw-hero > * { width: 100%; }
/* A module with nothing in it shows its empty state as ONE compact row — the
   kit's in-panel OpsEmpty shape (surface-2 well, disc left, text; KIT §5),
   same as Today's "Nothing on fire." row. It never grows. */
.fz-mw .fz-panel-b > .fz-mw-quiet:only-child,
.fz-mw .fz-mw-clients-b > .fz-mw-quiet,
.fz-mw .fz-mw-hm-wrap > .fz-mw-quiet {
  /* 68px = a title + sub row's natural height, so a one-line row ("No meetings
     this week.") and a two-line one ("Nothing late… / Clear for now.") side by
     side in the module row end on the same line. */
  min-height: calc(var(--fz-s-8) + 2 * var(--fz-s-3) + var(--fz-s-1));
  padding: var(--fz-s-3) var(--fz-s-4);
  border-radius: var(--fz-r-md);
  background: var(--fz-surface-2);
}
.fz-mw .fz-panel-b > .fz-mw-quiet:only-child .fz-mw-quiet-ico.is-neutral,
.fz-mw .fz-mw-clients-b > .fz-mw-quiet .fz-mw-quiet-ico.is-neutral,
.fz-mw .fz-mw-hm-wrap > .fz-mw-quiet .fz-mw-quiet-ico.is-neutral { background: var(--fz-surface-3); color: var(--fz-text-2); }
@media (max-width: 1199px) {
  .fz-mw-top, .fz-mw-cols { grid-template-columns: minmax(0, 1fr); }
  /* Tablet: the side column (deadlines + meetings) sits side by side. */
  .fz-mw-cols > .fz-mw-col + .fz-mw-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: start;
  }
}
@media (max-width: 640px) {
  .fz-mw-cols > .fz-mw-col + .fz-mw-col { display: flex; }
}
/* QA r3 — an empty week: Week load is only a day strip + one quiet row, so the
   identity card drops under it (the tablet layout, tiles 4 across) instead of
   standing ~250px taller beside it with a hole under the short Week load. */
.fz-mw-top.is-quiet { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 641px) {
  .fz-mw-top.is-quiet .fz-mw-me-m { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Laptop: the full-width card would leave its identity row half empty, so the
   person + Open work sit in a left column and the four tiles beside them. */
@media (min-width: 1200px) {
  .fz-mw .fz-mw-top.is-quiet .fz-mw-me > .fz-panel-b {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(0, 3fr);
    grid-template-rows: auto 1fr;
    gap: var(--fz-s-4) var(--fz-gap);
  }
  .fz-mw-top.is-quiet .fz-mw-me-h { grid-column: 1; grid-row: 1; }
  .fz-mw .fz-mw-top.is-quiet .fz-mw-me > .fz-panel-b > .fz-mw-me-seg { grid-column: 1; grid-row: 2; align-self: end; margin-top: 0; }
  .fz-mw-top.is-quiet .fz-mw-me-m { grid-column: 2; grid-row: 1 / span 2; }
}

/* Nothing in the priority column: the modules sit side by side as one row. */
.fz-mw-cols.is-row { grid-template-columns: repeat(var(--fz-mw-n, 3), minmax(0, 1fr)); }
@media (max-width: 1199px) {
  /* Tablet: two columns; an odd last module takes the whole row (no orphan hole). */
  .fz-mw-cols.is-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fz-mw-cols.is-row > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .fz-mw-cols.is-row { grid-template-columns: minmax(0, 1fr); }
}

/* Page head: reload is an icon-only pill. */
.fz-mw .fz-mw-reload { min-width: 40px; padding-left: var(--fz-s-3); padding-right: var(--fz-s-3); justify-content: center; }
/* QA r3: at 360 "My Week ▾" + "+ Manual task" filled the row and Reload dropped
   alone onto a second one. Below 380px Manual task is icon-only too (the label
   stays the button's accessible name; the title gives the tooltip). */
@media (max-width: 379px) {
  .fz-mw .fz-mw-manual { min-width: 44px; padding-left: var(--fz-s-3); padding-right: var(--fz-s-3); justify-content: center; }
  .fz-mw .fz-mw-manual-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-mw .fz-mw-note {
  background: var(--fz-warn-soft);
  border: 0;
  border-radius: var(--fz-r-md);
  color: var(--fz-text-1);
  padding: var(--fz-s-3) var(--fz-s-4);
  gap: var(--fz-s-2);
}
.fz-mw .fz-mw-note b { color: var(--fz-text-1); }
.fz-mw .fz-mw-note .fsw-icon, .fz-mw .fz-mw-note svg { color: var(--fz-warn-ink); flex: none; }

/* ── Person switcher (lead) ─────────────────────────────────────────────── */
.fz-mw-who { position: relative; min-width: 0; }
.fz-mw .fz-mw-who-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: var(--fz-s-2);
  max-width: 260px;
  min-height: 40px;
  padding: var(--fz-s-1) var(--fz-s-3) var(--fz-s-1) var(--fz-s-1);
  border: 1px solid var(--fz-border-strong);
  border-radius: var(--fz-r-pill);
  background: var(--fz-surface-1);
  color: var(--fz-text-1);
  font: inherit;
  font-size: var(--fz-fs-body);
  font-weight: var(--fz-fw-semi);
  cursor: pointer;
  transition: background-color var(--fz-t-fast) var(--fz-ease), border-color var(--fz-t-fast) var(--fz-ease);
}
.fz-mw .fz-mw-who-btn:hover { background: var(--fz-surface-hover); }
.fz-mw-who.is-open .fz-mw-who-btn { border-color: var(--fz-accent-line); background: var(--fz-accent-soft); }
.fz-mw-who-btn-l { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fz-mw-who-car { flex: none; color: var(--fz-text-3); transition: transform var(--fz-t-fast) var(--fz-ease); }
.fz-mw-who.is-open .fz-mw-who-car { transform: rotate(180deg); }
.fz-mw-who-menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + var(--fz-s-2));
  right: 0;
  width: 280px;
  max-width: calc(100vw - 2 * var(--fz-page-pad));
  max-height: min(480px, 64vh);
  overflow-y: auto;
  padding: var(--fz-s-2);
  background: var(--fz-surface-1);
  border: 1px solid var(--fz-border);
  border-radius: var(--fz-r-md);
  box-shadow: var(--fz-shadow-pop);
  overscroll-behavior: contain;
}
.fz-mw-who-g { padding-top: var(--fz-s-2); }
.fz-mw-who-gh {
  padding: var(--fz-s-1) var(--fz-s-2);
  font-size: var(--fz-fs-micro);
  font-weight: var(--fz-fw-semi);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fz-text-3);
}
.fz-mw-who-opt {
  appearance: none;
  display: flex;
  align-items: center;
  gap: var(--fz-s-2);
  width: 100%;
  min-height: 40px;
  padding: var(--fz-s-1) var(--fz-s-2);
  border: 0;
  border-radius: var(--fz-r-xs);
  background: transparent;
  color: var(--fz-text-1);
  font: inherit;
  font-size: var(--fz-fs-body);
  text-align: left;
  cursor: pointer;
}
.fz-mw-who-opt:hover, .fz-mw-who-opt:focus-visible { background: var(--fz-surface-hover); }
.fz-mw-who-opt:focus-visible { outline: 2px solid var(--fz-focus); outline-offset: -2px; }
.fz-mw-who-opt.is-on { background: var(--fz-accent-soft); }
.fz-mw-who-n { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: var(--fz-fw-medium); }
.fz-mw-who-r { flex: none; font-size: var(--fz-fs-meta); color: var(--fz-text-3); }
.fz-mw-who-ok { flex: none; color: var(--fz-accent-ink); }
/* Right-aligned to the button when it fits; OpsMyWho measures on open and sets
   .is-left when that would run under the sidebar / off the page (the header
   actions wrap under the title at 1024 and on phones). */
.fz-mw-who.is-left .fz-mw-who-menu { right: auto; left: 0; }
@media (max-width: 768px) {
  .fz-mw-who-menu { width: min(320px, calc(100vw - 2 * var(--fz-page-pad))); }
  .fz-mw .fz-mw-who-btn { min-height: 44px; max-width: min(260px, calc(100vw - 2 * var(--fz-page-pad))); }
}

/* ── Hero: week load heatmap ────────────────────────────────────────────── */
.fz-mw .fz-mw-load { gap: var(--fz-s-5); }
.fz-mw-hm-wrap { display: flex; flex-direction: column; gap: var(--fz-s-4); min-width: 0; }
.fz-mw-hm {
  position: relative;
  display: grid;
  grid-template-columns: max-content repeat(7, minmax(0, 1fr)) max-content;
  grid-auto-rows: 40px;
  grid-template-rows: auto;
  gap: var(--fz-s-2);
  align-items: stretch;
  min-width: 0;
}
.fz-mw-hm-now {
  margin: calc(-1 * var(--fz-s-1));
  border: 2px solid var(--fz-accent-line);
  border-radius: var(--fz-r-sm);
  pointer-events: none;
  z-index: 0;
}
.fz-mw-hm-day {
  appearance: none;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--fz-s-1);
  min-width: 0;
  padding: var(--fz-s-1) 0;
  border: 0;
  border-radius: var(--fz-r-xs);
  background: transparent;
  color: var(--fz-text-2);
  font: inherit;
  cursor: pointer;
  transition: background-color var(--fz-t-fast) var(--fz-ease);
}
.fz-mw-hm-day:hover { background: var(--fz-surface-hover); }
.fz-mw-hm-dn {
  font-size: var(--fz-fs-micro);
  font-weight: var(--fz-fw-semi);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fz-text-3);
}
.fz-mw-hm-dd {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 var(--fz-s-1);
  border-radius: var(--fz-r-pill);
  font-family: var(--fz-font-display);
  font-size: var(--fz-fs-body);
  font-weight: var(--fz-fw-semi);
  font-variant-numeric: tabular-nums;
  color: var(--fz-text-1);
}
/* QA r3 — empty week: the day strip alone (a plain list, not buttons — there is
   nothing to open), today still marked by the lime date pill. */
.fz-mw-hm.is-quiet {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-auto-rows: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fz-mw-hm.is-quiet .fz-mw-hm-day { cursor: default; }
.fz-mw-hm.is-quiet .fz-mw-hm-day:hover { background: transparent; }
/* Short day names ("Mo Tu") replace the 3-letter ones on narrow phones (below). */
.fz-mw-hm-dns { display: none; }
.fz-mw-hm-day.is-past .fz-mw-hm-dd { color: var(--fz-text-3); }
.fz-mw-hm-day.is-today .fz-mw-hm-dn { color: var(--fz-accent-ink); }
.fz-mw-hm-day.is-today .fz-mw-hm-dd { background: var(--fz-accent); color: var(--fz-text-on-accent); }
.fz-mw-hm-lab {
  align-self: center;
  padding-right: var(--fz-s-2);
  font-size: var(--fz-fs-meta);
  font-weight: var(--fz-fw-medium);
  color: var(--fz-text-2);
  white-space: nowrap;
  cursor: help;
}
.fz-mw-hm-lab.is-lead { color: var(--fz-text-1); font-weight: var(--fz-fw-semi); }
/* Locked = not load: muted label and total (text-3 passes 4.5:1 on every surface). */
.fz-mw-hm-lab.is-neutral { color: var(--fz-text-3); }
.fz-mw-hm-sumh, .fz-mw-hm-sum {
  align-self: center;
  justify-self: end;
  min-width: 32px;
  padding-left: var(--fz-s-2);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.fz-mw-hm-sumh {
  font-size: var(--fz-fs-micro);
  font-weight: var(--fz-fw-semi);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fz-text-3);
}
.fz-mw-hm-sum {
  font-family: var(--fz-font-display);
  font-size: var(--fz-fs-body);
  font-weight: var(--fz-fw-semi);
  color: var(--fz-text-1);
}
.fz-mw-hm-sum.is-neutral { color: var(--fz-text-3); font-weight: var(--fz-fw-medium); }

/* Cells: empty track + four intensity levels.
   Light ramp: pale lime → lime → mid green → deep green (accent-ink).
   Dark ramp: lime mixed into the surface-3 track, up to full lime. */
.fz-mw-hm-c {
  --fz-mw-l1: color-mix(in srgb, var(--fz-accent) 45%, var(--fz-surface-1));
  --fz-mw-l2: var(--fz-accent);
  --fz-mw-l3: color-mix(in srgb, var(--fz-accent) 45%, var(--fz-accent-ink));
  --fz-mw-l4: var(--fz-accent-ink);
  appearance: none;
  position: relative;
  z-index: 1;
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--fz-r-xs);
  background: var(--fz-surface-3);
  /* Ring through a variable so the light lime hairline below never beats the hover ring. */
  box-shadow: var(--fz-mw-ring, none);
  font: inherit;
  transition: box-shadow var(--fz-t-fast) var(--fz-ease), transform var(--fz-t-fast) var(--fz-ease);
}
[data-theme="dark"] .fz-mw-hm-c {
  --fz-mw-l1: color-mix(in srgb, var(--fz-accent) 22%, var(--fz-surface-3));
  --fz-mw-l2: color-mix(in srgb, var(--fz-accent) 44%, var(--fz-surface-3));
  --fz-mw-l3: color-mix(in srgb, var(--fz-accent) 70%, var(--fz-surface-3));
  --fz-mw-l4: var(--fz-accent);
}
/* Locked row (and its legend swatch): neutral grey ramp on the surface-3 track,
   both themes — waiting work is shown, but never as lime "load". Placed after
   the dark rule with equal specificity, so it wins in both themes. */
.fz-mw-hm-c.is-neutral, .fz-mw-hm-sw.is-neutral {
  --fz-mw-l1: color-mix(in srgb, var(--fz-neutral) 16%, var(--fz-surface-3));
  --fz-mw-l2: color-mix(in srgb, var(--fz-neutral) 26%, var(--fz-surface-3));
  --fz-mw-l3: color-mix(in srgb, var(--fz-neutral) 38%, var(--fz-surface-3));
  --fz-mw-l4: color-mix(in srgb, var(--fz-neutral) 50%, var(--fz-surface-3));
}
/* Light only: pale lime (l1) and lime (l2) sit at ~1.1:1 against the empty
   well, so they get a 1px --fz-focus edge — the same recipe DESIGN-SYSTEM §4 /
   OpsProgress use for lime on a light track. */
:root:not([data-theme="dark"]) .fz-mw-hm-c.is-l1:not(.is-neutral),
:root:not([data-theme="dark"]) .fz-mw-hm-c.is-l2:not(.is-neutral),
:root:not([data-theme="dark"]) .fz-mw-hm-sw.is-l1:not(.is-neutral),
:root:not([data-theme="dark"]) .fz-mw-hm-sw.is-l2:not(.is-neutral) { --fz-mw-ring: inset 0 0 0 1px var(--fz-focus); }
/* Empty day = hatched well (Weekly Engagement rhythm): reads as "nothing
   here" at a glance, distinct from the lightest filled level. */
.fz-mw-hm-c.is-l0 {
  background-color: var(--fz-surface-2);
  background-image: repeating-linear-gradient(135deg, var(--fz-surface-3) 0 1.5px, transparent 1.5px 7px);
}
.fz-mw-hm-c.is-l1 { background: var(--fz-mw-l1); }
.fz-mw-hm-c.is-l2 { background: var(--fz-mw-l2); }
.fz-mw-hm-c.is-l3 { background: var(--fz-mw-l3); }
.fz-mw-hm-c.is-l4 { background: var(--fz-mw-l4); }
button.fz-mw-hm-c { cursor: pointer; }
button.fz-mw-hm-c:hover { box-shadow: inset 0 0 0 2px var(--fz-text-1); }
button.fz-mw-hm-c:focus-visible { outline: 2px solid var(--fz-focus); outline-offset: 2px; }
.fz-mw-hm-c.has-late::after {
  content: '';
  position: absolute;
  top: 5px;
  right: 5px;
  width: 8px;
  height: 8px;
  border-radius: var(--fz-r-pill);
  background: var(--fz-crit);
  box-shadow: 0 0 0 2px var(--fz-surface-1);
}

/* Legend */
.fz-mw-hm-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--fz-s-2) var(--fz-s-5);
  font-size: var(--fz-fs-meta);
  color: var(--fz-text-3);
}
.fz-mw-hm-leg { display: inline-flex; align-items: center; gap: var(--fz-s-1); }
.fz-mw-hm-leg > span:first-child { margin-right: var(--fz-s-1); }
.fz-mw-hm-leg > span:last-child:not(:first-child) { margin-left: var(--fz-s-1); }
.fz-mw-hm-sw {
  --fz-mw-l1: color-mix(in srgb, var(--fz-accent) 45%, var(--fz-surface-1));
  --fz-mw-l2: var(--fz-accent);
  --fz-mw-l3: color-mix(in srgb, var(--fz-accent) 45%, var(--fz-accent-ink));
  --fz-mw-l4: var(--fz-accent-ink);
  display: inline-block;
  width: 14px;
  height: 14px;
  /* Ladder radius: tiny 8 on a 14px swatch reads as a dot — "Less ● ● ● ● More". */
  border-radius: var(--fz-r-xs);
  box-shadow: var(--fz-mw-ring, none);
}
[data-theme="dark"] .fz-mw-hm-sw:not(.is-neutral) {
  --fz-mw-l1: color-mix(in srgb, var(--fz-accent) 22%, var(--fz-surface-3));
  --fz-mw-l2: color-mix(in srgb, var(--fz-accent) 44%, var(--fz-surface-3));
  --fz-mw-l3: color-mix(in srgb, var(--fz-accent) 70%, var(--fz-surface-3));
  --fz-mw-l4: var(--fz-accent);
}
.fz-mw-hm-sw.is-l1 { background: var(--fz-mw-l1); }
.fz-mw-hm-sw.is-l2 { background: var(--fz-mw-l2); }
.fz-mw-hm-sw.is-l3 { background: var(--fz-mw-l3); }
.fz-mw-hm-sw.is-l4 { background: var(--fz-mw-l4); }
.fz-mw-hm-latedot { display: inline-block; width: 8px; height: 8px; margin-right: var(--fz-s-1); border-radius: var(--fz-r-pill); background: var(--fz-crit); }
/* "Today" = a small upright capsule outline, like the tall outlined today column. */
.fz-mw-hm-todaysw { display: inline-block; width: 12px; height: 16px; margin-right: var(--fz-s-1); border: 2px solid var(--fz-accent-line); border-radius: var(--fz-r-xs); }
.fz-mw-hm-leg > .fz-mw-hm-sw.is-neutral { margin-right: var(--fz-s-1); }

@media (max-width: 640px) {
  /* Phones keep the desktop 40px rows: a cell is ~29×40, and its invisible hit
     area reaches half of the 4px gap on every side (~33×44, review 2) without
     overlapping its neighbours'. */
  .fz-mw-hm { gap: var(--fz-s-1); }
  .fz-mw-hm-now { margin: -3px; }
  .fz-mw-hm-lab { padding-right: var(--fz-s-1); font-size: var(--fz-fs-micro); }
  .fz-mw-hm-sumh, .fz-mw-hm-sum { min-width: 24px; padding-left: var(--fz-s-1); }
  .fz-mw-hm-sum { font-size: var(--fz-fs-meta); }
  .fz-mw-hm-dd { min-width: 24px; height: 24px; font-size: var(--fz-fs-meta); }
  button.fz-mw-hm-c::before { content: ''; position: absolute; inset: calc(-.5 * var(--fz-s-1)); }
  .fz-mw-hm-c.has-late::after { top: 3px; right: 3px; width: 6px; height: 6px; }
  .fz-mw-hm-foot { gap: var(--fz-s-2) var(--fz-s-4); }
}
@media (max-width: 430px) {
  /* QA r1: at 360–430 a day column is 24–30px but "MON"/"WED" are 26–29px —
     the labels touched ("MONTUEWEDTHU"). Two letters (~17px) keep a clear gap;
     the full day name stays in the button's aria-label / title. */
  .fz-mw-hm-dnl { display: none; }
  .fz-mw-hm-dns { display: inline; }
  .fz-mw-hm-dn { letter-spacing: .02em; }
}

/* ── Identity card + metrics ────────────────────────────────────────────── */
.fz-mw .fz-mw-me { gap: var(--fz-s-4); }
/* The card is as tall as the Week load beside it. QA r1: the tiles no longer
   stretch into that height (label at the top, number ~95px lower) — they size
   to their content like every other metric tile, and the "Open work" summary
   is pinned to the card's bottom edge (margin-top: auto), so the three groups
   read identity · numbers · open work. */
.fz-mw .fz-mw-me > .fz-panel-b { flex: 1 1 auto; gap: var(--fz-s-4); }
.fz-mw .fz-mw-me > .fz-panel-b > .fz-mw-me-seg { margin-top: auto; }
.fz-mw-me-h { display: flex; align-items: center; gap: var(--fz-s-4); min-width: 0; }
.fz-mw-me-t { display: flex; flex-direction: column; gap: var(--fz-s-1); min-width: 0; }
.fz-mw-me-n {
  font-family: var(--fz-font-display);
  font-size: var(--fz-fs-section);
  font-weight: var(--fz-fw-semi);
  letter-spacing: -.015em;
  line-height: 1.25;
  color: var(--fz-text-1);
  overflow-wrap: anywhere;
}
.fz-mw-me-r { font-size: var(--fz-fs-body); color: var(--fz-text-2); }
.fz-mw-me-x { font-size: var(--fz-fs-meta); color: var(--fz-text-3); }
.fz-mw-me-m {
  flex: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: auto;
  align-content: start;
  gap: var(--fz-s-3);
  min-width: 0;
}
/* Label, then the number right under it (OpsMetricCard everywhere else). A row
   of two tiles still shares one height (grid stretch), so an editor tile with a
   progress bar keeps its bar on the shared bottom line (.fz-metric-x auto margin). */
.fz-mw .fz-mw-me-m .fz-metric { justify-content: flex-start; }
.fz-mw .fz-mw-me-m .fz-metric-h { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* QA r3: in the two-column phone grid a hint like "Behind · −49 vs 60–70" lost
   the band it is judged against ("vs 60–…"). Phones get two lines instead. */
@media (max-width: 480px) {
  .fz-mw .fz-mw-me-m .fz-metric-h {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    white-space: normal;
  }
}
.fz-mw-nobr { white-space: nowrap; }
.fz-mw-me-seg { display: flex; flex-direction: column; gap: var(--fz-s-2); min-width: 0; }
.fz-mw-me-segh { display: flex; align-items: baseline; justify-content: space-between; gap: var(--fz-s-2); font-size: var(--fz-fs-meta); color: var(--fz-text-3); }
.fz-mw-me-segh b { font-family: var(--fz-font-display); font-size: var(--fz-fs-body); font-weight: var(--fz-fw-semi); color: var(--fz-text-1); font-variant-numeric: tabular-nums; }
.fz-mw-me-zero { font-size: var(--fz-fs-meta); color: var(--fz-text-3); }
@media (max-width: 1199px) and (min-width: 641px) {
  .fz-mw-me-m { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ── Task rows (priority, waiting, approvals, day drawer) ───────────────── */
.fz-mw-rows { display: flex; flex-direction: column; gap: var(--fz-s-2); min-width: 0; }
/* 7 Okt 2026 — "Needs your decision" katalog (OpsMyQcCard): kartu .fz-tim-qc-it
   APA ADANYA (fz-team.css, global) dibungkus grid sendiri, bukan 3 kolom
   gerbang seperti QC queue Tim — satu daftar campuran, bukan dipisah Script/
   Video/Result. Lebar minimum sama dengan pola grid QC queue versi ponsel. */
.fz-mw-qc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: var(--fz-s-3); align-items: start; }
/* 7 Okt 2026 — Double QC: "Internal" (ronde 1, rutin) vs "Client" (ronde 2,
   dilihat klien) perlu beda warna sekilas, bukan cuma beda teks — Client
   memakai warna aksen (menonjol), Internal netral (rutin). */
.fz-mw-qc-round { font-size: 10.5px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; padding: 1px 6px; border-radius: var(--fz-r-sm); }
.fz-mw-qc-round.is-internal { background: var(--fz-surface-3); color: var(--fz-text-2); }
.fz-mw-qc-round.is-client { background: var(--fz-accent-soft); color: var(--fz-accent-ink); }
.fz-mw-row {
  appearance: none;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: var(--fz-s-3);
  width: 100%;
  min-height: 64px;
  padding: var(--fz-s-3) var(--fz-s-3) var(--fz-s-3) var(--fz-s-3);
  border: 0;
  border-radius: var(--fz-r-md);
  background: var(--fz-surface-2);
  color: var(--fz-text-1);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--fz-t-fast) var(--fz-ease);
}
.fz-mw-row:hover { background: var(--fz-surface-hover); }
[data-theme="dark"] .fz-mw-row:hover { background: var(--fz-surface-3); }
.fz-mw-row:focus-visible { outline: 2px solid var(--fz-focus); outline-offset: 2px; }
.fz-mw-row.is-crit { box-shadow: inset 3px 0 0 var(--fz-crit); }
.fz-mw-row.is-warn { box-shadow: inset 3px 0 0 var(--fz-warn); }
.fz-mw-row-main { display: flex; flex-direction: column; gap: var(--fz-s-1); min-width: 0; }
.fz-mw-row-l1 { display: flex; align-items: center; gap: var(--fz-s-2); min-width: 0; }
.fz-mw-row-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: var(--fz-fs-body);
  font-weight: var(--fz-fw-semi);
  color: var(--fz-text-1);
}
.fz-mw-row-l1 .fz-pill { flex: none; }
.fz-mw-row-l2 {
  display: flex;
  align-items: center;
  gap: var(--fz-s-2);
  min-width: 0;
  font-size: var(--fz-fs-meta);
  color: var(--fz-text-2);
}
/* 8 Oct 2026 — pemilik: "visual button dengan warna berbeda untuk tiap
   flow" (langkah: Titles/Fullscript/Production/Video editing/Result/QC/
   Posting). Memakai pil kit (OpsStatusPill, tone dari opsMyFlowTone) —
   hanya ukuran & flex:none yang perlu disentuh di sini; warnanya sendiri
   datang dari --fz-k di fz-kit.css, satu sumber dengan pil lain di seluruh
   sistem. Cadangan .fz-mw-flow-x (tanpa kit) menyalin tone-plumbing lokal. */
.fz-mw-flow.fz-pill { flex: none; font-size: 10.5px; padding: 1px 7px; }
.fz-mw-flow-x {
  flex: none; display: inline-flex; align-items: center; font-size: 10.5px; font-weight: var(--fz-fw-semi);
  padding: 1px 7px; border-radius: var(--fz-r-pill); background: var(--fz-neutral-soft); color: var(--fz-neutral-ink);
}
.fz-mw-flow-x.is-ok { background: var(--fz-ok-soft); color: var(--fz-ok-ink); }
.fz-mw-flow-x.is-warn { background: var(--fz-warn-soft); color: var(--fz-warn-ink); }
.fz-mw-flow-x.is-crit { background: var(--fz-crit-soft); color: var(--fz-crit-ink); }
.fz-mw-flow-x.is-info { background: var(--fz-info-soft); color: var(--fz-info-ink); }
.fz-mw-flow-x.is-violet { background: var(--fz-violet-soft); color: var(--fz-violet-ink); }
.fz-mw-flow-x.is-teal { background: var(--fz-teal-soft); color: var(--fz-teal-ink); }
.fz-mw-flow-x.is-accent { background: var(--fz-accent-soft); color: var(--fz-accent-ink); }
.fz-mw-row-l2-sub {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* 7 Okt 2026 — "Deadline <date>", baris ketiga opsional (lihat
   OpsMyKlienBebanRow) — lebih kecil & redup dari langkah/sub di atasnya,
   merah kalau barisnya sendiri sudah telat (.is-crit, sama penanda lama). */
.fz-mw-row-l3 { display: flex; align-items: center; gap: 3px; font-size: var(--fz-fs-micro); color: var(--fz-text-3); }
.fz-mw-row.is-crit .fz-mw-row-l3 { color: var(--fz-crit-ink); }
.fz-mw-row-when { display: flex; flex-direction: column; align-items: flex-end; gap: 0; line-height: 1.1; }
.fz-mw-row-when b {
  font-family: var(--fz-font-display);
  font-size: var(--fz-fs-card);
  font-weight: var(--fz-fw-semi);
  font-variant-numeric: tabular-nums;
  color: var(--fz-text-1);
  white-space: nowrap;
}
.fz-mw-row-when small { font-size: var(--fz-fs-micro); color: var(--fz-text-3); white-space: nowrap; }
.fz-mw-row.is-crit .fz-mw-row-when b, .fz-mw-row.is-crit .fz-mw-row-when small { color: var(--fz-crit-ink); }
.fz-mw-row.is-warn .fz-mw-row-when b { color: var(--fz-warn-ink); }
/* 8 Oct 2026 — month/batch badge, visual-only (owner: "jangan text, build
   visual saja seperti ini" — rejected the one-line-earlier text version).
   Reuses the exact .fsw-ms-slot markup/classes from the Months strip on the
   client page (ops-client-months.jsx), just sized down to fit a 64px row —
   same colours, same meaning, nothing hand-rolled. */
.fz-mw-batch.fsw-ms-slot {
  flex: none;
  width: 34px;
  min-width: 34px;
  max-width: 34px;
  height: 40px;
  padding: 5px 2px 8px;
  border-radius: var(--fz-r-sm);
  background: var(--fz-surface-1);
  border-color: var(--fz-border);
  gap: 0;
  cursor: default;
}
.fz-mw-batch .fsw-ms-slot-n { font-family: var(--fz-font-display); font-size: 12px; font-weight: var(--fz-fw-semi); letter-spacing: 0; color: var(--fz-text-1); }
.fz-mw-batch .fsw-ms-slot-b { font-size: 8.5px; font-weight: var(--fz-fw-semi); letter-spacing: .01em; color: var(--fz-text-3); min-height: 0; }
.fz-mw-batch .fsw-ms-slot-bar { left: 6px; right: 6px; bottom: 4px; height: 2px; background: var(--fz-surface-3); opacity: 1; }
.fz-mw-batch.is-active .fsw-ms-slot-bar, .fz-mw-batch.is-done .fsw-ms-slot-bar { background: var(--fz-ok); }
.fz-mw-batch.is-paused .fsw-ms-slot-bar { background: var(--fz-warn); }
.fz-mw-batch.is-planned .fsw-ms-slot-bar, .fz-mw-batch.is-cancelled .fsw-ms-slot-bar { left: 38%; right: 38%; background: var(--fz-border-strong); }
.fz-mw-batch.is-active .fsw-ms-slot-b, .fz-mw-batch.is-done .fsw-ms-slot-b { color: var(--fz-ok-ink); }
.fz-mw-batch.is-paused .fsw-ms-slot-b { color: var(--fz-warn-ink); }
/* Static badge, not a control: cancel the Months-strip hover/focus styling
   that .fsw-ms-slot carries by default (it's normally a clickable slot). */
.fz-mw-batch.fsw-ms-slot:hover { background: var(--fz-surface-1); border-color: var(--fz-border); }
.fz-mw-row-go { display: grid; place-items: center; color: var(--fz-text-3); }
.fz-mw-row:hover .fz-mw-row-go { color: var(--fz-accent-ink); }
.fz-mw-row.is-past .fz-mw-row-name, .fz-mw-row.is-past .fz-mw-row-when b { color: var(--fz-text-3); }
.fz-mw-noav {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: var(--fz-r-xs);
  background: var(--fz-surface-3);
  color: var(--fz-text-3);
}
.fz-mw-noav.is-sm { width: 24px; height: 24px; border-radius: var(--fz-r-xs); }
@media (max-width: 640px) {
  .fz-mw-row { grid-template-columns: auto minmax(0, 1fr) auto auto; gap: var(--fz-s-2) var(--fz-s-3); }
  .fz-mw-row-go { display: none; }
}

/* Quiet empty state */
.fz-mw-quiet { display: flex; align-items: center; gap: var(--fz-s-3); min-width: 0; padding: var(--fz-s-2) 0; }
.fz-mw-quiet-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: var(--fz-r-pill);
  background: var(--fz-neutral-soft);
  color: var(--fz-neutral-ink);
}
.fz-mw-quiet-ico.is-ok { background: var(--fz-ok-soft); color: var(--fz-ok-ink); }
.fz-mw-quiet-t { display: flex; flex-direction: column; gap: var(--fz-s-1); min-width: 0; font-size: var(--fz-fs-body); color: var(--fz-text-1); }
.fz-mw-quiet-t b { font-weight: var(--fz-fw-semi); }
.fz-mw-quiet-t span { font-size: var(--fz-fs-meta); color: var(--fz-text-3); }

/* ── My deadlines (grouped by day) ──────────────────────────────────────── */
.fz-mw-dl-days { display: flex; flex-direction: column; gap: var(--fz-s-4); min-width: 0; }
.fz-mw-dl-day { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--fz-s-3); align-items: start; }
.fz-mw-dl-dh {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--fz-s-1);
  padding: var(--fz-s-2) 0;
  border-radius: var(--fz-r-sm);
  background: var(--fz-surface-2);
}
.fz-mw-dl-dh span { font-size: var(--fz-fs-micro); font-weight: var(--fz-fw-semi); letter-spacing: .06em; text-transform: uppercase; color: var(--fz-text-3); }
.fz-mw-dl-dh b { font-family: var(--fz-font-display); font-size: var(--fz-fs-card); font-weight: var(--fz-fw-semi); color: var(--fz-text-1); line-height: 1.1; }
.fz-mw-dl-dh em { font-style: normal; font-size: var(--fz-fs-micro); color: var(--fz-text-3); }
.fz-mw-dl-list { display: flex; flex-direction: column; gap: var(--fz-s-1); min-width: 0; }
.fz-mw-dl-it {
  appearance: none;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--fz-s-3);
  width: 100%;
  min-height: 48px;
  padding: var(--fz-s-2) var(--fz-s-2);
  border: 0;
  border-radius: var(--fz-r-sm);
  background: transparent;
  color: var(--fz-text-1);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--fz-t-fast) var(--fz-ease);
}
.fz-mw-dl-it:hover { background: var(--fz-surface-hover); }
.fz-mw-dl-it:focus-visible { outline: 2px solid var(--fz-focus); outline-offset: 0; }
.fz-mw-dl-t { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.fz-mw-dl-t b, .fz-mw-dl-t span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fz-mw-dl-t b { font-size: var(--fz-fs-body); font-weight: var(--fz-fw-semi); }
.fz-mw-dl-t span { font-size: var(--fz-fs-meta); color: var(--fz-text-3); }
.fz-mw-dl-end { display: inline-flex; align-items: center; gap: var(--fz-s-2); }
.fz-mw-dl-end .fz-pill { flex: none; }
.fz-mw-dl-time { font-size: var(--fz-fs-meta); font-weight: var(--fz-fw-medium); color: var(--fz-text-2); font-variant-numeric: tabular-nums; }

/* ── Editor queue ───────────────────────────────────────────────────────── */
.fz-mw-q-list { display: flex; flex-direction: column; gap: var(--fz-s-2); min-width: 0; }
.fz-mw .fsw-it.fz-mw-q {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--fz-s-3);
  min-height: 56px;
  margin: 0;
  padding: var(--fz-s-2) var(--fz-s-3);
  border: 0;
  border-radius: var(--fz-r-md);
  background: var(--fz-surface-2);
  color: var(--fz-text-1);
}
.fz-mw .fsw-it.fz-mw-q:hover { background: var(--fz-surface-hover); }
[data-theme="dark"] .fz-mw .fsw-it.fz-mw-q:hover { background: var(--fz-surface-3); }
.fz-mw .fsw-it.fz-mw-q.is-late { box-shadow: inset 3px 0 0 var(--fz-crit); }
.fz-mw-q-t { display: flex; flex-direction: column; gap: var(--fz-s-1); min-width: 0; }
.fz-mw-q-l1 { display: flex; align-items: baseline; gap: var(--fz-s-2); min-width: 0; }
.fz-mw-q-no { flex: none; font-family: var(--fz-font-mono); font-size: var(--fz-fs-meta); color: var(--fz-text-3); }
.fz-mw-q-ti { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: var(--fz-fw-semi); }
.fz-mw-q-l2 { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fz-fs-meta); color: var(--fz-text-3); }
.fz-mw-q-acts { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: var(--fz-s-2); }
@media (max-width: 640px) {
  .fz-mw .fsw-it.fz-mw-q { grid-template-columns: auto minmax(0, 1fr); }
  .fz-mw-q-acts { grid-column: 2; justify-content: flex-start; }
}

/* ── Clients: the Clients page card itself ─────────────────────────────────
   Refine r2 (5 Oct): OpsClhCard / OpsClhIdleCard (fz-clients.css §5–6 owns the
   card: photo first, status pill on the photo, name + @handle + team faces,
   step + capsules + Batch chip, one inset next row) — the same card used on
   the Clients page itself. The wrapper .fz-mw-cards also carries .fz-clh (the scope of that file's card
   rules) and the grid is the Clients grid (container-query columns, 1 per row
   on phones). In dark themes the card sits on a panel (surface-1), so it steps
   up to surface-2 and its inset fills step up once more; light themes keep the
   Clients card as is. */
.fz-mw-clients-b { display: flex; flex-direction: column; gap: var(--fz-s-4); min-width: 0; }
.fz-mw .fz-mw-cards { min-width: 0; }
[data-theme="dark"] .fz-mw .fz-mw-cards .fz-clh-card { background-color: var(--fz-surface-2); --fz-avstack-ring: var(--fz-surface-2); }
[data-theme="dark"] .fz-mw .fz-mw-cards .fz-clh-next,
[data-theme="dark"] .fz-mw .fz-mw-cards .fz-clh-batch { background: var(--fz-surface-3); }
@media (hover: hover) {
  [data-theme="dark"] .fz-mw .fz-mw-cards .fz-clh-card:hover { background-color: var(--fz-surface-hover); --fz-avstack-ring: var(--fz-surface-hover); }
}
.fz-mw-more-link {
  appearance: none;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: var(--fz-s-1);
  min-height: 36px;
  padding: 0 var(--fz-s-4);
  border: 1px solid var(--fz-border-strong);
  border-radius: var(--fz-r-pill);
  background: transparent;
  color: var(--fz-text-1);
  font: inherit;
  font-size: var(--fz-fs-meta);
  font-weight: var(--fz-fw-semi);
  cursor: pointer;
}
.fz-mw-more-link:hover { background: var(--fz-surface-hover); }
.fz-mw-more-link .is-up { transform: rotate(180deg); }
.fz-mw-clients .fsw-table-wrap { --fzb-cover: var(--fz-surface-1); }
@media (max-width: 640px) {
  /* Phone: Cards/Table toggle shrinks to its icons (labels stay for screen readers). */
  .fz-mw-clients .fz-viewtog-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-mw-clients .fz-viewtog-b { min-width: 44px; justify-content: center; }
}

/* ── More this week: tiles that open drawers ────────────────────────────── */
/* QA r1: one column per tile (2–4, set by the page as --fz-mw-mt-n), so a row
   never ends in a full-width orphan ("Done" alone under Locked/Unclaimed at
   1024/768). Four tiles become 2 × 2 below a laptop; one column on phones. */
.fz-mw-more {
  display: grid;
  grid-template-columns: repeat(var(--fz-mw-mt-n, 3), minmax(0, 1fr));
  gap: var(--fz-gap);
}
@media (max-width: 1199px) {
  .fz-mw-more.is-n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .fz-mw-more, .fz-mw-more.is-n4 { grid-template-columns: minmax(0, 1fr); }
}
.fz-mw-mt {
  appearance: none;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: var(--fz-s-3);
  min-width: 0;
  min-height: 72px;
  padding: var(--fz-s-3) var(--fz-s-4);
  border: 0;
  border-radius: var(--fz-r-lg);
  background: var(--fz-surface-1);
  box-shadow: var(--fz-shadow-soft);
  color: var(--fz-text-1);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--fz-t-fast) var(--fz-ease);
}
[data-theme="dark"] .fz-mw-mt { box-shadow: none; }
.fz-mw-mt:hover { background: var(--fz-surface-hover); }
.fz-mw-mt:focus-visible { outline: 2px solid var(--fz-focus); outline-offset: 2px; }
.fz-mw-mt-ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--fz-r-sm);
  background: var(--fz-surface-2);
  color: var(--fz-text-2);
}
.fz-mw-mt.is-crit .fz-mw-mt-ico { background: var(--fz-crit-soft); color: var(--fz-crit-ink); }
.fz-mw-mt.is-ok .fz-mw-mt-ico { background: var(--fz-ok-soft); color: var(--fz-ok-ink); }
.fz-mw-mt.is-accent .fz-mw-mt-ico { background: var(--fz-accent-soft); color: var(--fz-accent-ink); }
.fz-mw-mt-t { display: flex; flex-direction: column; gap: var(--fz-s-1); min-width: 0; }
.fz-mw-mt-t b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fz-fs-card); font-weight: var(--fz-fw-semi); }
.fz-mw-mt-t span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fz-fs-meta); color: var(--fz-text-3); }
.fz-mw-mt-n {
  font-family: var(--fz-font-display);
  font-size: var(--fz-fs-num-sm);
  font-weight: var(--fz-fw-semi);
  font-variant-numeric: tabular-nums;
  color: var(--fz-text-1);
}
.fz-mw-mt-go { color: var(--fz-text-3); }
.fz-mw-mt:hover .fz-mw-mt-go { color: var(--fz-accent-ink); }
@media (max-width: 1199px) and (min-width: 701px) {
  /* Three tiles in a ~210px column (1024 with the sidebar, 768): a 32px icon
     tile and 8px gaps leave the label room ("Unclaimed" touched its number). */
  .fz-mw-mt { gap: var(--fz-s-2); padding-left: var(--fz-s-3); padding-right: var(--fz-s-3); }
  .fz-mw-mt-ico { width: 32px; height: 32px; }
}

/* ── Drawers ────────────────────────────────────────────────────────────── */
.fz-mw-drawer .fz-mw-drawer-b { display: flex; flex-direction: column; gap: var(--fz-s-5); }
.fz-mw-dsec { display: flex; flex-direction: column; gap: var(--fz-s-3); min-width: 0; }
.fz-mw-dsec-h {
  display: flex;
  align-items: center;
  gap: var(--fz-s-2);
  margin: 0;
  font-family: var(--fz-font-body);
  font-size: var(--fz-fs-meta);
  font-weight: var(--fz-fw-semi);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fz-text-3);
}
.fz-mw-dsec-n {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 var(--fz-s-2);
  border-radius: var(--fz-r-pill);
  background: var(--fz-surface-3);
  color: var(--fz-text-2);
  font-size: var(--fz-fs-micro);
  letter-spacing: 0;
}
.fz-mw-dsec-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fz-mw-dsec-n { flex: none; }
/* QA r2 — client groups in the Locked / Done / Unclaimed drawers: the client's
   face + name head each group (so the compact rows below drop the repeated
   client line), and every group shows only its next few rows. */
.fz-mw-dsec-face { display: inline-flex; flex: none; }
.fz-mw-dsec.has-face .fz-mw-dsec-h { color: var(--fz-text-2); }
/* Day drawer: the client groups sit inside the "Locked" section — same 20px
   rhythm between groups as between top-level sections. */
.fz-mw-dsec > .fz-mw-dsec + .fz-mw-dsec { margin-top: var(--fz-s-2); }
/* QA r3: "Show N more →" (grouped lists, My deadlines → later) is the same
   accent-ink link as every other drawer's "Show all N →" / "View all →" (Team
   person drawer, kit panels) — no underlined body text. Beats styles.css
   .xcs-link and its :hover underline. */
:is(.fz-mw-drawer, .fz-mw-dsec) .fsw-more.xcs-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: var(--fz-s-1);
  min-height: 32px;
  padding: 0 var(--fz-s-3);
  margin-left: calc(-1 * var(--fz-s-3));
  border: 0;
  border-radius: var(--fz-r-pill);
  background: transparent;
  color: var(--fz-accent-ink);
  font-size: var(--fz-fs-meta);
  font-weight: var(--fz-fw-semi);
  text-decoration: none;
  transition: background-color var(--fz-t-fast) var(--fz-ease);
}
:is(.fz-mw-drawer, .fz-mw-dsec) .fsw-more.xcs-link:hover:not(:disabled) { background: var(--fz-accent-soft); color: var(--fz-accent-ink); text-decoration: none; }
:is(.fz-mw-drawer, .fz-mw-dsec) .fsw-more.xcs-link:focus-visible { border-radius: var(--fz-r-pill); }
@media (max-width: 768px) {
  :is(.fz-mw-drawer, .fz-mw-dsec) .fsw-more.xcs-link { min-height: 40px; }
}
/* Task cards (shared OpsTaskCard) re-skinned inside My Week drawers only:
   one surface-2 card with the client's face on the left, late = a red edge
   and red due text (no red border + gradient wash), locked/done stay fully
   legible (no opacity dimming — text-2 instead), room chip / Claim inline. */
:is(.fz-mw-drawer, .fz-mw-dsec) .fsw-task-list { gap: var(--fz-s-2); }
:is(.fz-mw-drawer, .fz-mw-dsec) .fz-mw-tc {
  /* Text inset past the client face: s-3 edge + 32px md avatar (= s-7) + s-3 gap. */
  --fz-mw-face-in: calc(2 * var(--fz-s-3) + var(--fz-s-7));
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: var(--fz-r-md);
  background: var(--fz-surface-2);
  transition: background-color var(--fz-t-fast) var(--fz-ease);
}
:is(.fz-mw-drawer, .fz-mw-dsec) .fz-mw-tc:hover { background: var(--fz-surface-hover); }
[data-theme="dark"] :is(.fz-mw-drawer, .fz-mw-dsec) .fz-mw-tc:hover { background: var(--fz-surface-3); }
:is(.fz-mw-drawer, .fz-mw-dsec) .fz-mw-tc-face { position: absolute; z-index: 1; top: var(--fz-s-3); left: var(--fz-s-3); pointer-events: none; }
:is(.fz-mw-drawer, .fz-mw-dsec) .fz-mw-tc .fsw-task {
  position: relative;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--fz-s-3);
  padding: var(--fz-s-3) var(--fz-s-3) var(--fz-s-3) var(--fz-mw-face-in);
  border: 0;
  border-radius: var(--fz-r-md);
  background: transparent;
  box-shadow: none;
  transform: none;
  opacity: 1;
  color: var(--fz-text-1);
}
:is(.fz-mw-drawer, .fz-mw-dsec) .fz-mw-tc.is-compact .fsw-task { padding-left: var(--fz-s-4); }
:is(.fz-mw-drawer, .fz-mw-dsec) .fz-mw-tc .fsw-task:hover { border: 0; box-shadow: none; transform: none; }
:is(.fz-mw-drawer, .fz-mw-dsec) .fz-mw-tc .fsw-task-bar {
  position: absolute;
  top: var(--fz-s-3);
  bottom: var(--fz-s-3);
  left: 0;
  width: 3px;
  border-radius: 0 var(--fz-r-pill) var(--fz-r-pill) 0;
  background: transparent;
}
:is(.fz-mw-drawer, .fz-mw-dsec) .fz-mw-tc .fsw-task-bar.is-late { background: var(--fz-crit); }
:is(.fz-mw-drawer, .fz-mw-dsec) .fz-mw-tc .fsw-task-ctx { font-size: var(--fz-fs-meta); color: var(--fz-text-2); }
:is(.fz-mw-drawer, .fz-mw-dsec) .fz-mw-tc .fsw-task-title { font-size: var(--fz-fs-body); font-weight: var(--fz-fw-semi); color: var(--fz-text-1); }
:is(.fz-mw-drawer, .fz-mw-dsec) .fz-mw-tc .fsw-task.is-overdue .fsw-task-title { color: var(--fz-text-1); }
:is(.fz-mw-drawer, .fz-mw-dsec) .fz-mw-tc .fsw-task.is-muted .fsw-task-title,
:is(.fz-mw-drawer, .fz-mw-dsec) .fz-mw-tc .fsw-task.is-done .fsw-task-title { color: var(--fz-text-2); }
:is(.fz-mw-drawer, .fz-mw-dsec) .fz-mw-tc .fsw-task-meta { font-size: var(--fz-fs-meta); color: var(--fz-text-3); }
:is(.fz-mw-drawer, .fz-mw-dsec) .fz-mw-tc .fsw-task-due.is-late { color: var(--fz-crit-ink); font-weight: var(--fz-fw-semi); }
:is(.fz-mw-drawer, .fz-mw-dsec) .fz-mw-tc .fsw-task-due.is-none { color: var(--fz-text-3); }
:is(.fz-mw-drawer, .fz-mw-dsec) .fz-mw-tc .fsw-task-block { color: var(--fz-text-3); }
/* Compact rows: "Locked" + the date is enough — "· waiting on the previous
   stage" on every row repeats the drawer's own subtitle (the block's tooltip
   still carries the full reason). */
:is(.fz-mw-drawer, .fz-mw-dsec) .fz-mw-tc.is-compact .fsw-task-block > span { display: none; }
/* ops-theme hides the client line of EVERY compact card. Under a client group
   header that is right (the header names the client); an ungrouped compact row
   (Upcoming → "Show N more") has no face either, so it keeps its client line. */
:is(.fz-mw-drawer, .fz-mw-dsec) .fz-mw-tc.is-compact .fsw-task-top { display: flex; }
:is(.fz-mw-drawer, .fz-mw-dsec) .fz-mw-dsec.has-face .fz-mw-tc.is-compact .fsw-task-top { display: none; }
:is(.fz-mw-drawer, .fz-mw-dsec) .fz-mw-tc > .fsw-it {
  min-height: 0;
  margin-top: calc(-1 * var(--fz-s-2));
  padding: 0 var(--fz-s-3) var(--fz-s-3) var(--fz-mw-face-in);
  border: 0;
  background: transparent;
}
:is(.fz-mw-drawer, .fz-mw-dsec) .fz-mw-tc.is-compact > .fsw-it { padding-left: var(--fz-s-4); }
/* Inline "Add link" (item 1, 5 Okt 2026) — collapsed state is a sibling
   .fsw-it row (same pill as Claim, above) and already gets its padding from
   the rule above. Open state swaps in OpsResourceAdd's own .fz-res-add box
   (dashed border, its own padding) — this only needs to sit at the same
   face-indent as the rest of the card, not inside the button row. */
:is(.fz-mw-drawer, .fz-mw-dsec) .fz-mw-tc > .fz-mw-tc-inline.is-open {
  padding: 0 var(--fz-s-3) var(--fz-s-3) var(--fz-mw-face-in);
}
:is(.fz-mw-drawer, .fz-mw-dsec) .fz-mw-tc.is-compact > .fz-mw-tc-inline.is-open { padding-left: var(--fz-s-4); }
.fz-mw-drawer .fz-mw-row.is-flat { background: var(--fz-surface-2); }
/* v3.10.7 — same inline "Add link" box, now also inside the editor queue row
   (.fsw-it.fz-mw-q, a 3-column CSS grid: face / text / acts). Without an
   explicit grid-column, a 4th child only fills the first column on its own
   new row — span the full row instead, with its own top gap since the acts
   row above it isn't removed (the Revision pill can still sit there). */
.fsw-it.fz-mw-q > .fz-mw-tc-inline { grid-column: 1 / -1; }
.fsw-it.fz-mw-q > .fz-mw-tc-inline.is-open { margin-top: var(--fz-s-2); padding-left: 0; }

/* 13 Okt 2026 — pop-up detail rapat (OpsMyMeetModal): klik baris Meetings
   dulu langsung lompat ke halaman klien tanpa info apa pun ("bikin pusing"). */
.fz-mw-meet-hero { display: flex; align-items: center; gap: var(--fz-s-3); padding: var(--fz-s-3); border-radius: var(--fz-r-lg); background: var(--fz-surface-2); margin-bottom: var(--fz-s-4); }
.fz-mw-meet-when { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fz-mw-meet-when b { font-size: var(--fz-fs-body); color: var(--fz-text-1); }
.fz-mw-meet-when span { font-size: var(--fz-fs-meta); color: var(--fz-text-2); font-variant-numeric: tabular-nums; }
.fz-mw-meet-when em { font-style: normal; color: var(--fz-text-3); }
.fz-mw-meet-when em.is-today { color: var(--fz-accent); font-weight: var(--fz-fw-semi); }
.fz-mw-meet-when em.is-past { color: var(--fz-text-3); }
.fz-mw-meet-dl { display: grid; grid-template-columns: 92px 1fr; gap: var(--fz-s-2) var(--fz-s-3); margin: 0; align-items: start; }
.fz-mw-meet-dl dt { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: var(--fz-fw-semi); color: var(--fz-text-3); padding-top: 3px; }
.fz-mw-meet-dl dd { margin: 0; min-width: 0; font-size: var(--fz-fs-meta); color: var(--fz-text-1); overflow-wrap: anywhere; }
.fz-mw-meet-link { display: inline-flex; align-items: center; gap: 4px; }
.fz-mw-meet-outcome { margin: 0; white-space: pre-wrap; color: var(--fz-text-1); }
.fz-mw-row-l1 .fz-mw-pill, .fz-mw-row-l1 .fsw-pill { margin-left: var(--fz-s-2); }

/* 13 Okt 2026 — pemilik: "kalau sudah done my week square white turn green
   also list of task turn green". Sel yang SEMUA isinya sudah selesai = hijau
   (menang atas warna tingkat beban; dua kelas, ditulis sesudah is-l1..4 dan
   sesudah aturan [data-theme="dark"]). Baris beban klien yang semua tugasnya
   selesai: bilah kiri hijau + latar hijau tipis + centang di tempat angkanya. */
.fz-mw-hm-c.is-done, .fz-mw-hm-sw.is-done, [data-theme="dark"] .fz-mw-hm-c.is-done { background: var(--fz-ok); background-image: none; --fz-mw-ring: none; }
.fz-mw-hm-c.is-done.has-late::after { display: none; }
.fz-mw-row.is-done { box-shadow: inset 3px 0 0 var(--fz-ok); background: var(--fz-ok-soft); }
.fz-mw-row.is-done:hover { background: color-mix(in srgb, var(--fz-ok) 22%, var(--fz-surface-1)); }
.fz-mw-row.is-done .fz-mw-row-name { color: var(--fz-ok-ink); }
.fz-mw-row-done { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: var(--fz-r-pill); background: var(--fz-ok); color: #fff; }
.fz-mw-row.is-done .fz-mw-row-when small { color: var(--fz-ok-ink); }

/* 13 Okt 2026 — pop-up ringkas tugas di QC (OpsMyQcSimpleModal, My queue). */
.fz-mw-qcs-status { display: flex; flex-wrap: wrap; align-items: center; gap: var(--fz-s-2) var(--fz-s-3); padding: var(--fz-s-3); border-radius: var(--fz-r-lg); background: var(--fz-surface-2); font-size: var(--fz-fs-meta); color: var(--fz-text-2); }
.fz-mw-qcs-status b { color: var(--fz-text-1); }
.fz-mw-qcs-due { display: inline-flex; align-items: center; gap: 4px; color: var(--fz-text-3); font-variant-numeric: tabular-nums; }
.fz-mw-qcs-due.is-late { color: var(--fz-crit-ink); font-weight: var(--fz-fw-semi); }
.fz-mw-qcs-h { margin: var(--fz-s-4) 0 var(--fz-s-2); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: var(--fz-fw-semi); color: var(--fz-text-3); }
.fz-mw-qcs-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--fz-s-2); }
.fz-mw-qcs-links li { display: flex; align-items: center; gap: var(--fz-s-3); padding: var(--fz-s-2) var(--fz-s-3); border: 1px solid var(--fz-border); border-radius: var(--fz-r-md); background: var(--fz-surface-1); }
.fz-mw-qcs-lt { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.fz-mw-qcs-lt b { font-size: var(--fz-fs-meta); color: var(--fz-text-1); }
.fz-mw-qcs-lt small { font-size: 11px; color: var(--fz-text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fz-mw-qcs-links .xcs-btn-primary { flex: none; }
.fz-mw-qcs-input { margin-top: var(--fz-s-3); }
.fz-mw-qcs-input .fz-mw-inline { margin: 0; }

/* 13 Okt 2026 — kartu identitas + Deadlines/Meetings/Shoots dibuang: Week load sendirian, selebar halaman. */
.fz-mw-top.is-solo { grid-template-columns: minmax(0, 1fr); }

/* 13 Okt 2026 — pemilik: hanya garis samping yang berwarna (latar tetap):
   sudah dikirim ke QC = oranye; telat & belum dikirim = merah (.is-late). */
.fz-mw .fsw-it.fz-mw-q.is-qc { box-shadow: inset 4px 0 0 var(--fz-warn); }

/* 13 Okt 2026 — baris TERKUNCI di antrian tugas (Locked dibuang): garis merah
   + kalimat siapa & langkah apa yang menahan. */
.fz-mw .fsw-it.fz-mw-q.is-locked { box-shadow: inset 4px 0 0 var(--fz-crit); }
.fz-mw .fsw-it.fz-mw-q.is-locked .fz-mw-q-ti { color: var(--fz-text-2); }
.fz-mw-q-lock { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; font-size: var(--fz-fs-meta); color: var(--fz-text-2); }
.fz-mw-q-lock b { color: var(--fz-text-1); font-weight: var(--fz-fw-semi); }
.fz-mw-q-lock .fsw-ic { color: var(--fz-crit-ink); }
.fz-mw-q-l1 .fz-mw-flow { margin-left: var(--fz-s-1); }

/* 14 Okt 2026 — My task queue tiga kolom (kelas kolom dari fz-team.css). */
.fz-mw-q-cols .fz-mw-q-list { gap: var(--fz-s-2); }
.fz-mw-q-cols .fsw-it.fz-mw-q { padding: var(--fz-s-3); }
.fz-mw-q-cols .fz-mw-q-l1 { flex-wrap: wrap; }
.fz-mw-q-cols .fz-tim-dot.is-accent { background: var(--fz-accent); }
.fz-mw-qcs-qcacts { display: flex; align-items: center; gap: var(--fz-s-2); flex-wrap: wrap; }
.fz-mw-qcs-qcacts .fz-mw-tc-inline { margin: 0; }

/* 15 Okt 2026 — baris GRUP di antrian tugas (satu bulan · satu langkah · N reel). */
.fz-mw-q-cnt { font-size: var(--fz-fs-meta); color: var(--fz-text-2); font-variant-numeric: tabular-nums; }
.fz-mw-q-cnt b { color: var(--fz-text-1); }
.fz-mw .fsw-it.fz-mw-q.is-grup .fz-mw-q-ti { font-weight: var(--fz-fw-semi); }

/* 17 Nov 2026 — Project Manager "Ready to post" (OpsMyPostQueue): reel yang videonya sudah disetujui,
   per klien + bulan, satu tombol utama "Add Instagram link". Kelompok = ubin seperti kolom QC queue. */
.fz-mw-post-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); gap: var(--fz-s-3); align-items: start; min-width: 0; }
.fz-mw-post-g { display: flex; flex-direction: column; gap: var(--fz-s-2); min-width: 0; padding: var(--fz-s-3); border-radius: var(--fz-r-md); background: var(--fz-surface-2); }
.fz-mw-post-gh { display: flex; align-items: center; flex-wrap: wrap; gap: var(--fz-s-2); min-height: var(--fz-s-7); padding: 0 var(--fz-s-1); min-width: 0; cursor: pointer; }
/* 19 Nov 2026 — nama klien & nama reel jadi <button> (klik kartu → klien + batch, OpsMyPostQueue): tampilan tetap teks. */
.fz-mw-post-gn, .fz-mw-post-t { appearance: none; -webkit-appearance: none; margin: 0; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.fz-mw-post-gn { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: var(--fz-fw-semi); color: var(--fz-text-1); border-radius: 4px; }
.fz-mw-post-gh:hover .fz-mw-post-gn { text-decoration: underline; text-underline-offset: 3px; }
.fz-mw-post-gn:focus-visible { outline: 2px solid var(--fz-focus); outline-offset: 2px; }
.fz-mw-post-gt { font-size: var(--fz-fs-meta); color: var(--fz-text-3); white-space: nowrap; }
.fz-mw-post-gc { margin-left: auto; font-size: var(--fz-fs-meta); color: var(--fz-text-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fz-mw-post-list { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.fz-mw-post-it {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--fz-s-3);
  min-height: 56px; padding: var(--fz-s-2) var(--fz-s-3); border-radius: var(--fz-r-sm, 12px); background: var(--fz-surface-1);
}
[data-theme="dark"] .fz-mw-post-it { background: var(--fz-surface-3); }
.fz-mw-post-it { cursor: pointer; transition: background-color .15s ease; }
.fz-mw-post-it:hover { background: var(--fz-surface-hover); }
[data-theme="dark"] .fz-mw-post-it:hover { background: color-mix(in srgb, var(--fz-surface-3) 88%, #fff); }
.fz-mw-post-it:has(.fz-mw-post-t:focus-visible) { outline: 2px solid var(--fz-focus); outline-offset: 2px; }
.fz-mw-post-t:focus-visible { outline: none; }
.fz-mw-post-it.is-late { box-shadow: inset 3px 0 0 var(--fz-crit); }
.fz-mw-post-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; width: 100%; }
.fz-mw-post-l1 { display: flex; align-items: baseline; gap: var(--fz-s-2); min-width: 0; }
.fz-mw-post-l1 b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: var(--fz-fw-semi); }
.fz-mw-post-l2 { display: flex; align-items: center; gap: var(--fz-s-3); min-width: 0; font-size: var(--fz-fs-meta); color: var(--fz-text-3); white-space: nowrap; }
.fz-mw-post-l2 > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.fz-mw-post-l2 > .is-late { color: var(--fz-crit); font-weight: var(--fz-fw-medium); }
/* Play video: tombol seukuran "Add Instagram link" (bukan tautan teks kecil), ikon play dalam lingkaran. */
.fz-mw-post-acts .fz-mw-post-play { min-width: 128px; justify-content: center; font-weight: var(--fz-fw-semi); text-decoration: none; }
.fz-mw-post-playic { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--fz-text-1); color: var(--fz-surface-1); }
.fz-mw-post-playic svg { margin-left: 2px; }
.fz-mw-post-acts .fz-mw-post-play:disabled { opacity: .45; cursor: not-allowed; }
.fz-mw-post-acts .fz-mw-post-play:disabled .fz-mw-post-playic { background: var(--fz-text-3); }
.fz-mw-post-acts { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: var(--fz-s-2); }
.fz-mw-post-acts .xcs-btn-sm { display: inline-flex; align-items: center; gap: 8px; height: 40px; min-height: 40px; padding: 0 16px; box-sizing: border-box; font-size: var(--fz-fs-body, 14px); white-space: nowrap; }
.fz-mw-post-foot { margin: var(--fz-s-3) 0 0; font-size: var(--fz-fs-meta); color: var(--fz-text-3); }
@media (max-width: 520px) {
  .fz-mw-post-it { grid-template-columns: minmax(0, 1fr); }
  .fz-mw-post-acts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
  .fz-mw-post-acts .xcs-btn-sm { justify-content: center; min-width: 0; height: 44px; min-height: 44px; padding: 0 12px; } /* target sentuh ponsel 44 px — dua tombol sama tinggi */
  .fz-mw-post-acts .fz-mw-post-play { min-width: 0; }
  .fz-mw-post-pl2 { display: none; } /* "Play" saja di ponsel supaya "Add Instagram link" utuh */
}

/* ── Week load = 7 kartu hari (23 Nov 2026) ─────────────────────────────
   Pemilik: "week load doesnt make sense and hard to comprehend". Menggantikan kisi panas .fz-mw-hm (kotak tanpa
   angka). Tiap hari: jumlah pekerjaan + rincian berlabel; Locked redup putus-putus; hari kosong "Free". */
.fz-mw-wk-wrap { container-type: inline-size; container-name: fzwk; }
.fz-mw-wk { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.fz-mw-wk-day {
  display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 12px 10px;
  border: 1px solid var(--fz-border); border-radius: var(--fz-r-md, 14px); background: var(--fz-surface-1);
}
.fz-mw-wk-day.is-today { border-color: var(--fz-accent-line); box-shadow: inset 0 0 0 1px var(--fz-accent-line); }
.fz-mw-wk-day.is-past:not(.is-today) { opacity: .6; }
.fz-mw-wk-day.is-free { background: transparent; }
.fz-mw-wk-top {
  appearance: none; -webkit-appearance: none; display: flex; flex-direction: column; gap: 8px; width: 100%; padding: 0;
  border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; border-radius: 8px;
}
.fz-mw-wk-top:focus-visible { outline: 2px solid var(--fz-focus); outline-offset: 3px; }
.fz-mw-wk-hd { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.fz-mw-wk-dn { font-size: var(--fz-fs-micro); font-weight: var(--fz-fw-semi); letter-spacing: .08em; text-transform: uppercase; color: var(--fz-text-3); }
.fz-mw-wk-dd { font-size: var(--fz-fs-meta); font-weight: var(--fz-fw-semi); color: var(--fz-text-2); }
.fz-mw-wk-today {
  margin-left: auto; padding: 1px 7px; border-radius: var(--fz-r-pill); background: var(--fz-accent); color: var(--fz-text-on-accent);
  font-size: var(--fz-fs-micro); font-weight: var(--fz-fw-bold); line-height: 1.4;
}
.fz-mw-wk-n { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.fz-mw-wk-n b { font-family: var(--fz-font-display); font-size: 30px; font-weight: var(--fz-fw-semi); line-height: 1; color: var(--fz-text-1); font-variant-numeric: tabular-nums; }
.fz-mw-wk-n small { font-size: var(--fz-fs-meta); color: var(--fz-text-3); white-space: nowrap; }
.fz-mw-wk-day.is-free .fz-mw-wk-n { min-height: 30px; align-items: center; }
.fz-mw-wk-day.is-free .fz-mw-wk-n small { font-size: var(--fz-fs-body); color: var(--fz-text-3); }
.fz-mw-wk-day.has-late .fz-mw-wk-n b { color: var(--fz-crit-ink); }
.fz-mw-wk-day.is-done .fz-mw-wk-n small { color: var(--fz-ok-ink); }
.fz-mw-wk-ok { color: var(--fz-ok-ink); flex: none; }
.fz-mw-wk-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fz-mw-wk-it {
  appearance: none; -webkit-appearance: none; display: flex; align-items: center; gap: 6px; width: 100%; min-height: 30px; padding: 0 8px;
  border: 1px solid transparent; border-radius: 8px; background: var(--fz-surface-2); color: var(--fz-text-1);
  font: var(--fz-fw-medium) var(--fz-fs-meta) var(--fz-font-body); text-align: left; cursor: pointer; min-width: 0;
}
.fz-mw-wk-it:hover { background: var(--fz-surface-3); }
.fz-mw-wk-it:focus-visible { outline: 2px solid var(--fz-focus); outline-offset: 1px; }
.fz-mw-wk-itn { flex: none; font-weight: var(--fz-fw-bold); font-variant-numeric: tabular-nums; }
.fz-mw-wk-itl { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fz-text-2); }
.fz-mw-wk-late { margin-left: auto; flex: none; color: var(--fz-crit-ink); font-size: var(--fz-fs-micro); font-weight: var(--fz-fw-semi); }
.fz-mw-wk-it .fz-mw-wk-ok { margin-left: auto; }
.fz-mw-wk-it.has-late { border-color: color-mix(in srgb, var(--fz-crit) 40%, transparent); background: var(--fz-crit-soft); }
.fz-mw-wk-it.is-done { background: var(--fz-ok-soft); }
.fz-mw-wk-it.is-done .fz-mw-wk-itl { color: var(--fz-ok-ink); }
.fz-mw-wk-it.is-locked { background: transparent; border: 1px dashed var(--fz-border-strong, var(--fz-border)); color: var(--fz-text-3); }
.fz-mw-wk-it.is-locked .fz-mw-wk-itl { color: var(--fz-text-3); }
.fz-mw-wk-foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; font-size: var(--fz-fs-meta); color: var(--fz-text-2); }
.fz-mw-wk-foot b { color: var(--fz-text-1); font-variant-numeric: tabular-nums; }
.fz-mw-wk-foot .is-late b { color: var(--fz-crit-ink); }
.fz-mw-wk-foot .is-locked { color: var(--fz-text-3); }
.fz-mw-wk-hint { margin-left: auto; color: var(--fz-text-3); }
/* Sempit (HP, panel setengah lebar): satu hari per baris — hari + jumlah di kiri, rincian mengalir di kanan. */
@container fzwk (max-width: 720px) {
  .fz-mw-wk { grid-template-columns: 1fr; gap: 6px; }
  .fz-mw-wk-day { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding: 10px 12px; }
  .fz-mw-wk-top { flex-direction: row; align-items: center; gap: 12px; width: auto; flex: 0 0 auto; }
  .fz-mw-wk-hd { width: 64px; flex: none; }
  .fz-mw-wk-today { display: none; } /* bingkai limau sudah menandai hari ini */
  .fz-mw-wk-n b { font-size: 20px; }
  .fz-mw-wk-day.is-free .fz-mw-wk-n { min-height: 0; }
  .fz-mw-wk-day.is-free .fz-mw-wk-n small { font-size: var(--fz-fs-meta); }
  .fz-mw-wk-list { flex-direction: row; flex-wrap: wrap; flex: 1 1 160px; }
  .fz-mw-wk-it { width: auto; min-height: 28px; }
  .fz-mw-wk-hint { margin-left: 0; width: 100%; }
}
