/* Control Room (owner / system admin) — FAHEEM Hub design (Concept_2026-10/screens/ds.css + o1–o4), brand v3.1.
   Every class here starts with ct- (plus a few design-system leaf names inside .ct-page).
   Colours: semantic tokens from theme.css only (light + dark). Never red: unfavourable = clay (--unfav*). */

/* local data tints, built from the theme tokens (re-pointed in dark so "more" is always the stronger mark) */
.ct-page {
  --ct-bar-1: var(--heading);      /* emerald bars (client uploads) */
  --ct-bar-2: var(--chart-3);      /* lighter green (team uploads) */
  --ct-heat-1: var(--chart-5); --ct-heat-2: var(--chart-4); --ct-heat-3: var(--chart-3); --ct-heat-4: var(--chart-2); --ct-heat-5: var(--chart-1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ct-page {
    --ct-bar-1: var(--chart-4); --ct-bar-2: var(--chart-3);
    --ct-heat-1: var(--chart-5); --ct-heat-2: var(--chart-4); --ct-heat-3: var(--chart-1); --ct-heat-4: var(--chart-2); --ct-heat-5: var(--chart-3);
  }
}
:root[data-theme="dark"] .ct-page {
  --ct-bar-1: var(--chart-4); --ct-bar-2: var(--chart-3);
  --ct-heat-1: var(--chart-5); --ct-heat-2: var(--chart-4); --ct-heat-3: var(--chart-1); --ct-heat-4: var(--chart-2); --ct-heat-5: var(--chart-3);
}

.ct-page { display: flex; flex-direction: column; gap: 16px; padding: 16px 24px 32px; font-family: var(--font); font-size: 14px; line-height: 1.6; min-width: 0; color: var(--text); }
.ct-page h1, .ct-page h2, .ct-page h3, .ct-page h4, .ct-page p { margin: 0; }
.ct-page h1, .ct-page h2, .ct-page h3 { color: var(--heading); }
.ct-page .row { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
.ct-page .between { justify-content: space-between; }
.ct-page .grow { flex: 1; min-width: 0; }
.ct-page .ell { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-page .small { font-size: 12.5px; }
.ct-page .xs { font-size: 11.5px; }
.ct-page .bold { font-weight: 700; }
.ct-page .mono { font-family: var(--font-fig); font-size: 12px; }
.ct-page .ltr { direction: ltr; text-align: left; }
.ct-page .muted { color: var(--muted); }
.tx-crit { color: var(--unfav); } .tx-warn { color: var(--attn); } .tx-ok { color: var(--accent-text); }
.ct-pad { padding: 12px 16px; }
.ct-grow { flex: 1; min-height: 0; }
/* directional icons drawn pointing left (forward in Arabic): mirrored in English */
html[dir="ltr"] .ct-fwd { transform: scaleX(-1); }

/* page head */
.ct-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ct-head-t { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; min-width: 0; }
.ct-head h1 { font-size: 21px; font-weight: 800; line-height: 1.35; }
.ct-head p { color: var(--muted); font-size: 13px; }
.ct-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ct-ph { display: flex; align-items: center; gap: 8px; }
.ct-ph .tag { height: 24px; font-size: 12px; }
.ct-ph b { font-size: 16px; color: var(--heading); }
.ct-policy { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 12px; border-radius: var(--r-pill); background: var(--info-soft); color: var(--info); font-size: 12px; font-weight: 700; }
.ct-policy span { font-weight: 400; color: var(--muted); }

/* hero band (overview): the controls sit on the emerald ground */
.ct-page .hero .ct-seg { background: var(--brand-rule); }
.ct-page .hero .ct-seg button { color: var(--on-brand-2); }
.ct-page .hero .ct-seg button:hover { color: var(--on-brand); }
.ct-page .hero .ct-seg button.on { background: var(--on-brand); color: var(--brand-bg-2); box-shadow: none; }
.ct-page .hero .ct-btn:not(.primary) { background: transparent; border-color: var(--on-brand-3); color: var(--on-brand); }
.ct-page .hero .ct-btn:not(.primary):hover { border-color: var(--on-brand); }
.ct-page .hero .hero-a { align-items: center; }

/* buttons, inputs, segmented control, tabs, toggles */
.ct-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--control-h); padding: 0 16px; border-radius: var(--r-1); border: 1px solid var(--heading); background: transparent; color: var(--heading); font: 700 13px var(--font); cursor: pointer; white-space: nowrap; text-decoration: none; }
.ct-btn:hover { background: var(--surface-3); }
.ct-btn:disabled { opacity: .5; cursor: default; }
.ct-btn.sm { height: 34px; padding: 0 12px; font-size: 12.5px; }
.ct-btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.ct-btn.primary:hover:not(:disabled) { background: var(--accent-hover); border-color: var(--accent-hover); }
.ct-btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.ct-btn.ghost:hover { background: var(--surface-3); color: var(--text); }
.ct-btn.crit { color: var(--unfav); border-color: var(--unfav); }
.ct-btn.ghost.crit { border-color: transparent; }
.ct-btn:focus-visible, .ct-input:focus-visible, .ct-toggle:focus-visible, .ct-seg button:focus-visible, .ct-tabs a:focus-visible, .ct-link:focus-visible, .ct-st:focus-visible { outline: none; box-shadow: var(--focus); }
.ct-input { height: var(--control-h); border: 1px solid var(--line); border-radius: var(--r-1); background: var(--surface); padding: 0 12px; font: 400 13px var(--font); color: var(--text); min-width: 0; }
.ct-input::placeholder { color: var(--muted-2); }
.ct-input:focus { border-color: var(--accent); box-shadow: var(--focus); outline: 0; }
.ct-input.ltr, .ct-input[type=date], .ct-input[type=month] { font-family: var(--font-fig); }
.ct-select { padding-inline-end: 8px; }
.ct-select.sm, .ct-input.sm { height: 34px; font-size: 12.5px; }
.ct-seg { display: inline-flex; padding: 4px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-1); gap: 2px; }
.ct-seg button { border: 0; background: transparent; min-height: 34px; padding: 0 12px; border-radius: var(--r-1); font: 700 12.5px var(--font); color: var(--muted); cursor: pointer; }
.ct-seg button:hover { color: var(--text); }
.ct-seg button.on { background: var(--surface); color: var(--heading); box-shadow: var(--shadow); }
.ct-tabrow { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.ct-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.ct-tabs a { min-height: var(--control-h); padding: 0 12px; font-size: 13px; font-weight: 700; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; display: flex; align-items: center; gap: 8px; white-space: nowrap; text-decoration: none; }
.ct-tabs a:hover { color: var(--text); }
.ct-tabs a.on { color: var(--heading); border-color: var(--accent); }
.ct-tabs .tag { height: 18px; font-size: 10.5px; }
.ct-toggle { width: 36px; height: 20px; border-radius: var(--r-pill); background: var(--line); position: relative; flex: none; border: 0; padding: 0; cursor: pointer; display: block; }
.ct-toggle::after { content: ""; position: absolute; top: 2px; inset-inline-start: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow); transition: inset-inline-start .15s; }
.ct-toggle.on { background: var(--accent); }
.ct-toggle.on::after { inset-inline-start: 18px; background: var(--on-accent); }
.ct-toggle:disabled { opacity: .55; cursor: default; }
.ct-check { display: inline-flex; align-items: center; gap: 8px; min-height: var(--control-h); padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-1); background: var(--surface); color: var(--text); cursor: pointer; font-size: 13px; }
.ct-check input, .ct-pick-row input { width: 16px; height: 16px; accent-color: var(--accent); }
.ct-link { color: var(--accent-text); font-weight: 700; font-size: 12.5px; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; text-decoration: none; }
.ct-link:hover { text-decoration: underline; }
.ct-strong { color: var(--text); font-weight: 700; text-decoration: none; }
.ct-strong:hover { color: var(--accent-text); }

/* chips & tags (soft fills; the meaning is always also written) */
.ct-chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: var(--r-pill); font-size: 11.5px; font-weight: 700; white-space: nowrap; background: var(--surface-3); color: var(--muted); }
.ct-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ct-chip.plain::before { display: none; }
.ct-chip.ok { background: var(--accent-soft); color: var(--accent-text); }
.ct-chip.warn { background: var(--attn-soft); color: var(--attn); }
.ct-chip.crit { background: var(--unfav-soft); color: var(--unfav); }
.ct-chip.info { background: var(--info-soft); color: var(--info); }
.ct-chip.champ { background: var(--attn-soft); color: var(--attn); }
.ct-page .tag { height: 22px; }

/* cards */
.ct-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2); min-width: 0; display: flex; flex-direction: column; }
.ct-card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px; min-height: 48px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.ct-card-h h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }
.ct-card-h h3 .i { color: var(--muted); }
.ct-card-h h3 .bi { color: var(--heading); }
.ct-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ct-card-b { padding: 16px; }
.ct-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; min-height: 0; }
.ct-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; align-items: start; }
.ct-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 32px 16px; color: var(--muted); text-align: center; }
.ct-empty .empty { display: flex; flex-direction: column; align-items: center; }
.ct-hint { font-size: 12.5px; color: var(--muted); line-height: 1.7; padding: 12px 16px 0; }
.ct-card-b .ct-hint, .ct-form .ct-hint { padding: 0; }
.ct-foot-note { font-size: 11.5px; color: var(--muted); padding: 12px 16px; }
.ct-card-b .ct-foot-note { padding: 0; }
.ct-okline { display: flex; align-items: center; gap: 8px; color: var(--accent-text); font-weight: 700; font-size: 13px; }

/* KPI strip (at most 4 on a dashboard row; each with one comparison) */
.ct-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); flex-direction: row; }
.ct-kpis6, .ct-mets { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ct-kpis5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ct-kpis4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ct-kpi { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border-inline-start: 1px solid var(--line); min-width: 0; }
.ct-kpi:first-child { border-inline-start: 0; }
.ct-kpi .k { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); font-weight: 700; min-width: 0; }
.ct-kpi .k > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-kpi .k .bi { color: var(--heading); }
.ct-kpi .vrow { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.ct-kpi .v { font: 600 25px/1.1 var(--font-fig); letter-spacing: -.01em; white-space: nowrap; color: var(--heading); }
.ct-kpi .v small { font: 500 13px var(--font-fig); color: var(--muted); margin-inline-start: 4px; }
.ct-kpi .sub { font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; min-height: 20px; }
.ct-kpi .sub .ct-chip { height: 20px; font-size: 10.5px; }
.ct-kpi .sub .ct-progress { flex: 1; }
.ct-kpi.owner { background: var(--attn-soft); }
.ct-kpi.owner .k { color: var(--attn); }
.ct-mets .ct-kpi { padding: 12px; gap: 4px; }
.ct-mets .v { font-size: 22px; }
.ct-spark { flex: none; margin-bottom: 2px; }
.ct-delta { font: 600 11.5px/1 var(--font-fig); }
.ct-delta.up { color: var(--accent-text); } .ct-delta.down { color: var(--unfav); }
.ct-progress { height: 6px; border-radius: var(--r-pill); background: var(--surface-3); overflow: hidden; min-width: 40px; }
.ct-progress > i { display: block; height: 100%; border-radius: var(--r-pill); background: var(--accent); }
.ct-progress.warn > i { background: var(--attn); } .ct-progress.crit > i { background: var(--unfav); }

/* tables */
.ct-scroll { overflow-x: auto; }
.ct-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ct-table th { font-size: 11.5px; font-weight: 700; color: var(--muted); text-align: start; padding: 8px 12px; border-bottom: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; }
.ct-table td { padding: 8px 12px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.ct-table tr:last-child td { border-bottom: 0; }
.ct-table tbody tr:hover td { background: var(--surface-2); }
.ct-table .num { font-size: 12.5px; }
.ct-empty-td { text-align: center; color: var(--muted); padding: 24px 12px !important; font-size: 13px; }
.ct-act { white-space: nowrap; text-align: end; }
.ct-act > * + * { margin-inline-start: 4px; }
.ct-table tr[class*="st-"] td:first-child { border-inline-start: 3px solid var(--line); }
.ct-table tr.st-ok td:first-child { border-inline-start-color: var(--accent); }
.ct-table tr.st-warn td:first-child { border-inline-start-color: var(--attn); }
.ct-table tr.st-crit td:first-child { border-inline-start-color: var(--unfav); }
/* ledger total: single rule above, double rule below (brand .rule-sub / .rule-total) */
.ct-table tr.ct-total td { border-top: 1px solid var(--heading); border-bottom: 3px double var(--heading); font-weight: 700; color: var(--heading); background: transparent; }
.ct-health td { height: 48px; padding-top: 4px; padding-bottom: 4px; }
.ct-health .ct-chip { height: 22px; font-size: 11px; }
.ct-cl2 a { text-decoration: none; }
.ct-cl2 b { display: block; font-size: 13px; line-height: 1.35; color: var(--text); }
.ct-cl2 a:hover b { color: var(--accent-text); }
.ct-cl2 .row { gap: 6px; margin-top: 2px; }
.ct-cl2 .tag { height: 18px; font-size: 10.5px; }
.ct-plan { font-size: 11px; font-weight: 700; color: var(--attn); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.ct-prow { display: flex; align-items: center; gap: 8px; }
.ct-prow .ct-progress { flex: 1; }
.ct-pc { width: 36px; font-size: 12px; text-align: end; }
.ct-cl { display: inline-flex; align-items: center; gap: 6px; color: var(--text); text-decoration: none; }
.ct-cl b { font-weight: 700; }
.ct-cl:hover b { color: var(--accent-text); }
.ct-cl .tag { height: 18px; font-size: 10.5px; }
.ct-chans { display: flex; flex-wrap: wrap; gap: 4px; max-width: 420px; }
.ct-mini { font-size: 11px; padding: 2px 8px; border-radius: var(--r-1); background: var(--surface-3); color: var(--muted); white-space: nowrap; }
.ct-stack { display: flex; align-items: center; }
.ct-stack .ct-av { border: 2px solid var(--surface); }
.ct-stack a + a { margin-inline-start: -8px; }
.ct-stack .xs { margin-inline-start: 8px; }
.ct-fname { max-width: 340px; overflow-wrap: anywhere; font-size: 12.5px; }
.ct-details { max-width: 440px; overflow-wrap: anywhere; color: var(--muted); }
.ct-clip { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-nowrap { white-space: nowrap; }
.ct-mini-btn { width: 34px; height: 34px; border-color: transparent; background: transparent; color: var(--muted); border-radius: var(--r-1); }
.ct-mini-btn:hover { background: var(--surface-3); color: var(--text); }
.ct-mini-btn:disabled { opacity: .35; cursor: default; }
.ct-filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px; border-bottom: 1px solid var(--line); }
.ct-filters .ct-input[type=search] { flex: 1; min-width: 200px; }
.ct-filters-card { flex-direction: row; border-bottom: 1px solid var(--line); }
.ct-filters-card .ct-input { min-width: 140px; }

/* avatars: soft fills with a coloured initial (readable on light and dark) */
.ct-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 12px; flex: none; position: relative; color: var(--heading); background: var(--surface-3); }
.ct-av.sm { width: 24px; height: 24px; font-size: 10px; }
.ct-av.xl { width: 64px; height: 64px; font-size: 22px; }
.ct-av.c1 { background: var(--accent-soft); color: var(--accent-text); }
.ct-av.c2 { background: var(--unfav-soft); color: var(--unfav); }
.ct-av.c3 { background: var(--info-soft); color: var(--info); }
.ct-av.c4 { background: var(--attn-soft); color: var(--attn); }
.ct-av.c5 { background: var(--surface-3); color: var(--heading); }
.ct-av.c6 { background: var(--accent-soft-2); color: var(--heading); }
.ct-av .pres { position: absolute; inset-block-end: -1px; inset-inline-end: -1px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--surface); background: var(--muted-2); }
.ct-av.xl .pres { width: 14px; height: 14px; inset-block-end: 2px; inset-inline-end: 2px; }
.ct-av .pres.on { background: var(--accent); } .ct-av .pres.away { background: var(--attn); }

/* O1 overview */
.ct-ov-grid { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 16px; align-items: start; }
.ct-ov-grid > .ct-col:last-child { align-self: stretch; }
.ct-legend { display: flex; align-items: center; gap: 16px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.ct-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.ct-legend b { color: var(--text); }
/* chart series named in their own colour (direct labels) */
.ct-legend .lc, .ct-legend .lc b { color: var(--ct-bar-1); font-weight: 700; }
.ct-legend .ls, .ct-legend .ls b { color: var(--accent-text); font-weight: 700; }
.ct-chart-b { padding: 12px 16px 8px; }
.ct-bars { display: block; width: 100%; height: auto; direction: ltr; }
.ct-bars .bc { fill: var(--ct-bar-1); }
.ct-bars .bs { fill: var(--ct-bar-2); }
.ct-bars .bc.now { fill: var(--accent); }
.ct-bars .bs.now { fill: var(--accent-soft-2); }
.ct-bars .b0 { fill: var(--line); }
.ct-bars .ax { font: 500 10px var(--font-fig); fill: var(--muted); }
.ct-bars .axw { font: 400 9.5px var(--font); fill: var(--muted-2); }
.ct-bars .axv { font: 600 10.5px var(--font-fig); fill: var(--heading); }
.ct-bars .axt { fill: var(--accent-text); font-weight: 700; }
.ct-tm-list { display: flex; flex-direction: column; }
.ct-tm { display: flex; align-items: center; gap: 12px; padding: 8px 16px; border-bottom: 1px solid var(--line-2); color: var(--text); text-decoration: none; }
.ct-tm:last-child { border-bottom: 0; }
.ct-tm:hover { background: var(--surface-2); }
.ct-tm-n { gap: 6px; }
.ct-tm-n b { font-size: 13px; }
.ct-tm-c { width: 92px; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.ct-tm-c .ct-chip { height: 22px; font-size: 11px; }
.ct-al-list { display: flex; flex-direction: column; }
.ct-al { display: flex; align-items: center; gap: 12px; padding: 8px 16px; border-bottom: 1px solid var(--line-2); }
.ct-al:last-child { border-bottom: 0; }
/* plain icon in the status colour (brand: never an icon inside a coloured tile) */
.ct-al-ic { display: grid; place-items: center; flex: none; color: var(--info); }
.ct-al.crit .ct-al-ic { color: var(--unfav); }
.ct-al.warn .ct-al-ic { color: var(--attn); }
.ct-al.info .ct-al-ic { color: var(--accent-text); }
.ct-al-t { display: block; font-size: 12.5px; line-height: 1.45; color: var(--text); }
.ct-al .row { gap: 12px; }
.ct-al .xs { line-height: 1.5; }
.ct-when { color: var(--text); }
.ct-al.crit .ct-when { color: var(--unfav); }

/* O2 team & activity */
.ct-team-lay { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 16px; align-items: start; }
.ct-members { position: sticky; inset-block-start: 0; max-height: calc(100vh - 120px); }
.ct-members .ct-card-h { padding: 8px 12px; flex-wrap: nowrap; }
.ct-members .ct-input { flex: 1; }
.ct-members .icon-btn { width: var(--control-h); height: var(--control-h); }
.ct-mem-list { overflow-y: auto; flex: 1; padding-bottom: 8px; }
.ct-grp { font-size: 11.5px; font-weight: 700; color: var(--muted); padding: 12px 16px 4px; display: flex; gap: 6px; align-items: center; }
.ct-grp .num { font-size: 11px; color: var(--muted-2); }
.ct-mem { display: flex; align-items: center; gap: 12px; padding: 8px 12px; margin: 0 8px; border-radius: var(--r-1); position: relative; color: var(--text); text-decoration: none; }
.ct-mem:hover { background: var(--surface-2); }
.ct-mem b { font-size: 13px; display: block; line-height: 1.4; }
.ct-mem .xs { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-mem.sel { background: var(--accent-soft); }
.ct-mem.sel::before { content: ""; position: absolute; inset-inline-start: -8px; inset-block: 8px; width: 3px; border-radius: var(--r-pill); background: var(--accent); }
.ct-mem-s { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: none; }
.ct-mem-s b { font-size: 12px; }
.ct-mem-s span { font-weight: 700; font-size: 10.5px; white-space: nowrap; }
.ct-list-foot { border-top: 1px solid var(--line); padding: 12px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ct-list-foot div { background: var(--surface-2); border-radius: var(--r-1); padding: 8px 12px; }
.ct-list-foot b { display: block; font: 600 16px/1.2 var(--font-fig); color: var(--heading); }
.ct-list-foot span { font-size: 11px; color: var(--muted); }
.ct-person { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ct-prof { flex-direction: row; align-items: center; gap: 16px; padding: 16px; flex-wrap: wrap; }
.ct-prof-n { flex-wrap: wrap; gap: 12px !important; }
.ct-prof h2 { font-size: 19px; font-weight: 800; }
.ct-live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--accent-text); }
.ct-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); outline: 3px solid var(--accent-soft); }
.ct-live.off { color: var(--muted); }
.ct-live.off::before { background: var(--muted-2); outline-color: var(--surface-3); }
.ct-pmeta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin-top: 2px; flex-wrap: wrap; }
.ct-pmeta i.d { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); display: inline-block; }
.ct-cls { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.ct-pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding-inline: 12px 4px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 12px; font-weight: 700; color: var(--text); text-decoration: none; }
.ct-pill:hover { border-color: var(--accent); }
.ct-pill .tag { height: 20px; border-radius: var(--r-pill); font-size: 10.5px; }
.ct-below { display: grid; grid-template-columns: minmax(0, 1fr) 324px; gap: 16px; align-items: start; }
.ct-hm { padding: 12px 16px; }
.ct-heat { display: grid; gap: 3px; }
.ct-heat .hd { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 4px; white-space: nowrap; }
/* data marks keep a small radius (a 17 px cell at 8 px would read as a pill) */
.ct-heat i { display: block; height: 17px; border-radius: 3px; background: var(--surface-3); }
.ct-heat i.h1, .ct-scale i.h1 { background: var(--ct-heat-1); } .ct-heat i.h2, .ct-scale i.h2 { background: var(--ct-heat-2); } .ct-heat i.h3, .ct-scale i.h3 { background: var(--ct-heat-3); }
.ct-heat i.h4, .ct-scale i.h4 { background: var(--ct-heat-4); } .ct-heat i.h5, .ct-scale i.h5 { background: var(--ct-heat-5); }
.ct-leave { height: 17px; border-radius: 3px; border: 1px dashed var(--line); font-size: 10.5px; color: var(--muted); display: flex; align-items: center; justify-content: center; background: var(--surface-2); }
.ct-hours { display: grid; margin-top: 4px; font: 500 10px/1 var(--font-fig); color: var(--muted-2); }
.ct-hm-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 11.5px; color: var(--muted); gap: 12px; flex-wrap: wrap; }
.ct-scale { display: flex; align-items: center; gap: 3px; }
.ct-scale i { width: 14px; height: 10px; border-radius: 2px; display: block; background: var(--surface-3); }
.ct-tasks td { padding: 8px 12px; }
.ct-tasks .ct-chip { height: 22px; font-size: 11px; }
.ct-tl-card { align-self: stretch; }
.ct-tl { padding: 8px 16px; flex: 1; }
.ct-ev { display: flex; align-items: center; gap: 12px; padding: 4px 0; position: relative; }
.ct-ev-t { font-size: 11.5px; color: var(--muted); width: 40px; flex: none; }
/* timeline node: a plain icon on the card ground (it masks the line behind it), coloured by kind */
.ct-ev-dot { width: 26px; height: 26px; display: grid; place-items: center; background: var(--surface); color: var(--muted); flex: none; position: relative; z-index: 1; }
.ct-ev b { font-size: 12.5px; display: block; line-height: 1.45; color: var(--text); }
.ct-ev .xs { display: block; }
.ct-ev:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 64px; top: 30px; bottom: -10px; width: 1px; background: var(--line); }
.ct-ev.ev-ok .ct-ev-dot { color: var(--accent-text); }
.ct-ev.ev-break .ct-ev-dot { color: var(--attn); }
.ct-ev.ev-break b { color: var(--attn); }
.ct-ev.ev-now .ct-ev-dot { color: var(--accent); }
.ct-ev.ev-now b { color: var(--accent-text); }
.ct-tl-foot { margin: 4px 16px 12px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); background: var(--surface-2); border-radius: var(--r-1); padding: 8px 12px; }

/* O3 new-client wizard */
.ct-stepper { flex-direction: row; align-items: center; gap: 12px; padding: 12px 16px; overflow-x: auto; }
.ct-st { display: flex; align-items: center; gap: 12px; flex: none; border: 0; background: none; padding: 0; text-align: start; font: inherit; color: inherit; cursor: pointer; min-height: var(--control-h); border-radius: var(--r-1); }
.ct-st:disabled { cursor: default; }
.ct-st b { display: block; font-size: 13px; line-height: 1.35; color: var(--text); }
.ct-st span span { display: block; font-size: 11.5px; color: var(--muted); }
.ct-st-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 1.5px solid var(--line); color: var(--muted); font-size: 12px; }
.ct-st.st-done .ct-st-n { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.ct-st.st-now .ct-st-n { border-color: var(--accent); color: var(--accent-text); outline: 4px solid var(--accent-soft); }
.ct-st.st-now b { color: var(--accent-text); }
.ct-st.st-todo b { color: var(--muted); }
.ct-st-line { flex: 1; height: 2px; border-radius: var(--r-pill); background: var(--line); min-width: 20px; }
.ct-st-line.done { background: var(--accent); }
.ct-wz-lay { display: grid; grid-template-columns: minmax(0, 1fr) 284px; gap: 16px; align-items: start; }
.ct-form { display: flex; flex-direction: column; gap: 16px; }
.ct-form .field label { font-size: 12.5px; }
.ct-kvline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.ct-kvline > .xs:first-child { min-width: 150px; }
.ct-root { flex-direction: row; align-items: center; gap: 16px; padding: 12px 16px; flex-wrap: wrap; }
.ct-root-ic { display: grid; place-items: center; flex: none; color: var(--heading); }
.ct-root .row { gap: 12px; }
/* codes / paths are LTR; they line up with the reading start */
.ct-drive-path { font: 500 11.5px/1.4 var(--font-fig); color: var(--muted); direction: ltr; unicode-bidi: isolate; text-align: left; margin-top: 4px; overflow-wrap: anywhere; }
[dir=rtl] .ct-drive-path { text-align: right; }
.ct-card-h .ct-drive-path { margin: 0; }
.ct-lock { display: flex; align-items: center; gap: 8px; background: var(--attn-soft); color: var(--attn); border-radius: var(--r-1); padding: 8px 12px; font-size: 12px; font-weight: 700; }
.ct-chs td { padding: 4px 12px; height: 44px; }
.ct-chs tr.off td { background: var(--surface-2); }
.ct-chs tr.off .ct-cin, .ct-chs tr.off .mono { color: var(--muted); }
.ct-cin { width: 100%; max-width: 260px; height: 34px; font-weight: 700; }
.ct-chs td .ct-chip { height: 20px; font-size: 10.5px; margin-inline-start: 6px; }
.ct-dp { display: flex; align-items: center; gap: 8px; color: var(--muted); direction: ltr; justify-content: flex-start; }
[dir=rtl] .ct-dp { justify-content: flex-end; }
.ct-dp .mono { font-size: 12px; color: var(--text); }
.ct-chs-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.ct-chs-foot .ct-input { flex: 1; max-width: 360px; }
.ct-nmf { border-top: 1px solid var(--line); padding: 12px 16px; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; align-items: center; }
.ct-nmf > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.ct-nmf b { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--heading); }
.ct-ex { border: 1px solid var(--line); border-radius: var(--r-1); background: var(--surface-2); padding: 8px 12px; display: flex; gap: 12px; align-items: center; min-width: 0; }
.ct-ex-n { direction: ltr; text-align: left; font-size: 11.5px; overflow-wrap: anywhere; }
[dir=rtl] .ct-ex-n { text-align: right; }
.ct-doc-ico { width: 30px; height: 36px; border-radius: var(--r-1); display: grid; place-items: center; font: 700 9px/1 var(--font-fig); color: var(--unfav); border: 1px solid var(--unfav); background: transparent; flex: none; }
.ct-form-table td { padding: 8px; vertical-align: top; }
.ct-form-table .ct-input { width: 100%; min-width: 110px; }
.ct-form-table td > .xs { display: block; margin-top: 2px; }
.ct-pick { display: flex; flex-direction: column; padding: 8px 0; }
.ct-pick-row { display: flex; align-items: center; gap: 12px; padding: 8px 16px; min-height: var(--control-h); cursor: pointer; border-bottom: 1px solid var(--line-2); }
.ct-pick-row:last-child { border-bottom: 0; }
.ct-pick-row:hover { background: var(--surface-2); }
.ct-pick-row.on { background: var(--accent-soft); }
.ct-pick-row b { display: block; font-size: 13px; }
.ct-pick-row .xs { display: block; }
.ct-kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 12.5px; margin: 0; }
.ct-kv dt { color: var(--muted); }
.ct-kv dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; color: var(--text); }
.ct-kv dd.num { text-align: left; }
[dir=rtl] .ct-kv dd.num { text-align: right; }
.ct-review { display: flex; flex-direction: column; gap: 16px; }
.ct-sum { position: sticky; inset-block-start: 0; }
.ct-sum h4 { font-size: 12px; color: var(--muted); padding: 12px 16px 4px; border-top: 1px solid var(--line); }
.ct-note { margin: 0 16px 12px; padding: 12px; border: 1px dashed var(--line); border-radius: var(--r-1); background: var(--surface-2); }
.ct-note p { font-size: 12px; color: var(--muted); margin-top: 4px; white-space: pre-wrap; }
.ct-checklist { list-style: none; margin: 0; padding: 8px 16px 12px; display: flex; flex-direction: column; gap: 8px; }
.ct-checklist li { display: flex; gap: 8px; align-items: center; font-size: 12.5px; }
.ct-checklist li b { font-weight: 700; }
.ct-checklist li > span:last-child { margin-inline-start: auto; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 110px; }
.ct-checklist .ck { width: 18px; height: 18px; border-radius: 50%; border: 1.5px dashed var(--muted-2); display: grid; place-items: center; flex: none; }
.ct-checklist li.ok .ck { background: var(--accent); border: 0; color: var(--on-accent); }
.ct-checklist li.ok .ck .i { width: 12px; height: 12px; stroke-width: 2.5; }
.ct-checklist li:not(.ok) b { color: var(--muted); }
.ct-sum-f { padding: 12px 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.ct-sum-f .ct-btn { width: 100%; }
.ct-code { font: 700 15px var(--font-fig); letter-spacing: .12em; padding: 4px 8px; border: 1px dashed var(--accent); border-radius: var(--r-1); background: var(--accent-soft); color: var(--text); user-select: all; direction: ltr; display: inline-block; }

/* lists inside cards */
.ct-rows { display: flex; flex-direction: column; }
.ct-row { display: flex; align-items: center; gap: 12px; padding: 8px 16px; border-bottom: 1px solid var(--line-2); color: var(--text); text-decoration: none; }
.ct-row:last-child { border-bottom: 0; }
a.ct-row:hover { background: var(--surface-2); }
.ct-row .grow { display: flex; flex-direction: column; }
.ct-row b { font-size: 13px; }
.ct-inline-form { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--surface-2); border-end-start-radius: var(--r-2); border-end-end-radius: var(--r-2); }
.ct-inline-form .ct-input { flex: 1; min-width: 130px; }

/* reports: this month vs last (T-account) */
.ct-cmp { margin: 0; }
.ct-cmp-side { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ct-cmp-h { display: flex; flex-direction: column; gap: 2px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.ct-cmp-h b { color: var(--heading); font-size: 14px; }
.ct-cmp-l { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; margin: 0; font-size: 12.5px; }
.ct-cmp-l dt { color: var(--muted); }
.ct-cmp-l dd { margin: 0; display: flex; align-items: baseline; gap: 8px; justify-content: flex-end; font-weight: 700; color: var(--text); }
.ct-cmp-v { font-size: 11.5px; font-weight: 700; min-width: 64px; text-align: end; }
.ct-cmp-v .num:not(.neg) { color: var(--accent-text); }

/* O4 users & roles */
.ct-mx-legend { padding-bottom: 8px; }
.ct-mx-legend > span { gap: 6px; }
.ct-roles-lay { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 16px; align-items: start; }
.ct-sec-lay { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.ct-mx .ct-table { table-layout: fixed; font-size: 12.5px; min-width: 860px; }
.ct-mx .ct-table th { padding: 8px 4px; text-align: center; vertical-align: bottom; white-space: normal; line-height: 1.3; background: var(--surface); }
.ct-mx .ct-table th:first-child { text-align: start; padding-inline-start: 16px; width: 170px; }
.ct-mx th b { display: block; font-size: 11.5px; color: var(--text); }
.ct-mx th .num { display: inline-block; font-size: 10.5px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.ct-mx th.own { background: var(--attn-soft); }
.ct-mx th.own b { color: var(--attn); }
.ct-mx .ct-table td { padding: 0 4px; height: 34px; text-align: center; border-bottom: 1px solid var(--line-2); }
.ct-mx .ct-table tbody tr:hover td { background: inherit; }
.ct-mx td.pl { text-align: start; padding-inline-start: 16px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-mx td.own { background: var(--attn-soft); }
.ct-mx .div { border-inline-start: 1px solid var(--line); }
.ct-mx tr.g td { height: 28px; background: var(--surface-2); text-align: start; padding-inline-start: 12px; border-bottom: 1px solid var(--line); }
.ct-mx tr.g span { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; color: var(--muted); }
.ok-c { display: inline-grid; place-items: center; color: var(--accent-text); vertical-align: middle; }
.ok-c .i { width: 16px; height: 16px; stroke-width: 2.4; }
.no { color: var(--muted-2); font-family: var(--font-fig); }
.no.lk { display: inline-grid; place-items: center; color: var(--unfav); vertical-align: middle; }
.sc { display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: var(--r-pill); background: var(--info-soft); color: var(--info); white-space: nowrap; }
.sc.cl { background: var(--attn-soft); color: var(--attn); }
.ct-sec { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.ct-sec:last-child { border-bottom: 0; }
.ct-sec b { font-size: 12.5px; display: block; line-height: 1.45; color: var(--text); }
.ct-sec .xs { display: block; }
.ct-sec-ic { display: grid; place-items: center; flex: none; color: var(--heading); }
.ct-sec-x { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.ct-sec .ct-chip { margin-top: 4px; }
.ct-au-list { display: flex; flex-direction: column; }
.ct-au { display: flex; gap: 12px; padding: 8px 16px; border-bottom: 1px solid var(--line-2); align-items: flex-start; }
.ct-au:last-child { border-bottom: 0; }
.ct-au .ct-av { margin-top: 2px; }
.ct-au-t { font-size: 12.5px; line-height: 1.55; color: var(--text); }
.ct-fn { font: 500 11px var(--font-fig); background: var(--surface-3); padding: 1px 6px; border-radius: var(--r-1); direction: ltr; display: inline-block; margin-inline-start: 4px; }
.ct-au-m { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); margin-top: 2px; white-space: nowrap; min-width: 0; }
.ct-au-m i { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); flex: none; }
.ct-au.warn .ct-av { outline: 1.5px solid var(--attn); outline-offset: 2px; }
.ct-au.crit .ct-au-t { color: var(--unfav); }
.ct-who { display: flex; align-items: center; gap: 12px; }
.ct-who > div { display: flex; flex-direction: column; }

/* misc screens */
.ct-days { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-int-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; align-items: start; }
.ct-int .ct-card-b { display: flex; flex-direction: column; gap: 12px; }
.ct-int-h { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--line); }
.ct-int-h .grow { display: flex; flex-direction: column; }
.ct-int-h b { color: var(--heading); }
.ct-int-ic { display: grid; place-items: center; flex: none; color: var(--heading); }
.ct-int.ct-off { opacity: .75; }
.ct-test { padding: 12px; border-radius: var(--r-1); border: 1px solid var(--line); font-size: 13px; }
.ct-test b { display: flex; align-items: center; gap: 6px; }
.ct-test.ok { background: var(--accent-soft); border-color: var(--accent-soft-2); color: var(--heading); }
.ct-test.crit { background: var(--unfav-soft); border-color: var(--unfav); color: var(--unfav); }

/* responsive */
@media (max-width: 1360px) {
  .ct-kpis6, .ct-mets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ct-kpis6 .ct-kpi:nth-child(3n + 1), .ct-mets .ct-kpi:nth-child(3n + 1) { border-inline-start: 0; }
  .ct-kpis6 .ct-kpi:nth-child(n + 4), .ct-mets .ct-kpi:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .ct-roles-lay, .ct-below { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1180px) {
  .ct-ov-grid, .ct-wz-lay, .ct-sec-lay { grid-template-columns: minmax(0, 1fr); }
  .ct-sum, .ct-members { position: static; max-height: none; }
  .ct-kpis5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ct-page { padding: 16px 16px 24px; gap: 12px; }
  .ct-team-lay { grid-template-columns: minmax(0, 1fr); }
  .ct-members .ct-mem-list { max-height: 260px; }
  .ct-kpis6, .ct-mets, .ct-kpis5, .ct-kpis4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-kpis .ct-kpi { border-inline-start: 0; border-top: 1px solid var(--line); }
  .ct-kpis .ct-kpi:nth-child(-n + 2) { border-top: 0; }
  .ct-kpis .ct-kpi:nth-child(2n) { border-inline-start: 1px solid var(--line); }
  .ct-kpi .v { font-size: 21px; }
  .ct-spark { display: none; }
  .ct-head h1 { font-size: 19px; }
  .ct-head-t { flex-direction: column; align-items: flex-start; gap: 2px; }
  .ct-grid2, .ct-int-grid { grid-template-columns: minmax(0, 1fr); }
  .ct-nmf { grid-template-columns: 1fr; }
  .ct-prof .ct-actions { width: 100%; }
  .ct-policy { font-size: 11px; }
  .ct-cmp.t-acct { grid-template-columns: 1fr; }
  .ct-cmp.t-acct > * + * { border-inline-start: 0; border-top: 1px solid var(--line); }
}
.ct-st .ct-st-n span { color: inherit; font-size: 12px; display: inline; }
.ct-health td:first-child { max-width: 220px; }
.ct-health .ct-cl2 b, .ct-health .ct-plan { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.ct-health .ct-cl2 .row { min-width: 0; }
.ct-health th, .ct-health td { padding-inline: 12px; }
@media (max-width: 1440px) { .ct-ov-grid { grid-template-columns: minmax(0, 1fr) 330px; } .ct-tm-c { width: 84px; } }
@media (max-width: 1180px) { .ct-ov-grid { grid-template-columns: minmax(0, 1fr); } }
.ct-tm .grow { min-width: 0; }
.ct-tm-n { min-width: 0; }
.ct-tm-n b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ct-tm-n span { flex: none; white-space: nowrap; }
@media (max-width: 1500px) {
  .ct-roles-lay { grid-template-columns: minmax(0, 1fr); }
  .ct-roles-lay > .ct-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); align-items: start; }
}

/* v0.12 — employee report (Reports › Employee report) */
.ct-pr { scroll-margin-top: 72px; }
.ct-pr-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ct-pr-who > div { display: flex; flex-direction: column; min-width: 0; }
.ct-pr-body-w { display: flex; flex-direction: column; gap: 16px; padding: 16px; }
.ct-pr-mets { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 1px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-1); overflow: hidden; }
.ct-pr-met { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; background: var(--surface); min-width: 0; box-shadow: 0 0 0 1px var(--line); }
.ct-pr-met b { font: 600 18px/1.2 var(--font-fig); color: var(--heading); }
.ct-pr-met .xs { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.ct-pr-sec { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ct-pr-sec h4 { font-size: 13px; font-weight: 700; color: var(--heading); margin: 0; }
.ct-mbars { display: flex; flex-direction: column; gap: 8px; }
.ct-mbar { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(40px, 1fr) auto; align-items: center; gap: 12px; font-size: 13px; }
.ct-mbar-k { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-mbar b { white-space: nowrap; }
.ct-pr-tl { display: flex; flex-direction: column; border-inline-start: 2px solid var(--line); padding-inline-start: 12px; gap: 8px; }
.ct-pr-ev { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; align-items: center; gap: 12px; font-size: 13px; position: relative; }
.ct-pr-ev::before { content: ''; position: absolute; inset-inline-start: -17px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--surface); border: 2px solid var(--muted-2); }
.ct-pr-ev.live::before { border-color: var(--accent); background: var(--accent); }
.ct-pr-ev .ct-grow { display: flex; flex-direction: column; min-width: 0; }
.ct-pr-when { color: var(--muted); white-space: nowrap; direction: ltr; text-align: start; }
.ct-pr-task { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.ct-pr-task:last-child { border-bottom: 0; }
.ct-pr-task .ct-grow { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ct-pr-task .num { white-space: nowrap; }
.ct-pr-eod { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; background: var(--surface-2); border-radius: var(--r-1); border-inline-start: 3px solid var(--accent); }
.ct-pr-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.ct-pr-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--brand-rule); vertical-align: middle; margin-inline-end: 6px; }
@media (max-width: 560px) { .ct-pr-ev { grid-template-columns: 1fr auto; } .ct-pr-when { grid-column: 1 / -1; } .ct-mbar { grid-template-columns: minmax(0, 1fr) auto; } .ct-mbar .ct-progress { grid-column: 1 / -1; grid-row: 2; } }
