/* ───────────────────────────────────────────────────────────────────────────
   Week status (My Dashboard): the week's totals by team, condensed to two or
   three lines a card; which client's hours carry an issue is on the ledger
   below. Scoped under .leaf-ds, built only from leaf-ds.css tokens.
   ─────────────────────────────────────────────────────────────────────────── */

.leaf-ds .ws-panel {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px;
    margin: 0 0 14px;
}
.leaf-ds .ws-loading { font-size: 12.5px; color: var(--ink-3); padding: 10px 0; }
.leaf-ds .ws-panel.is-loading .ws-card { opacity: .55; transition: opacity .15s; }
.leaf-ds .ws-failed {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    padding: 10px 14px; border-radius: var(--r-6);
    border: 1px solid var(--c-warn-bd); background: var(--c-warn-bg); color: var(--c-warn-fg);
    font-size: 13px; font-weight: 600;
}

.leaf-ds .ws-card {
    display: flex; flex-direction: column; gap: 4px; min-width: 0;
    padding: 10px 14px; border-radius: var(--r-6); border: 1px solid var(--line); background: var(--surface);
}
.leaf-ds .ws-card-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 2px; }
.leaf-ds .ws-card-t { font-size: 11px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
.leaf-ds .ws-card-link { font-size: 12px; font-weight: 600; color: var(--accent-ink); text-decoration: none; }
.leaf-ds .ws-card-link:hover { text-decoration: underline; }

/* One line of figures, separated by middots: "11 clients · 27 visits · 108h 00m". */
.leaf-ds .ws-line {
    display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0; row-gap: 2px;
    font-size: 12.5px; color: var(--ink-2); font-variant-numeric: tabular-nums;
}
.leaf-ds .ws-line > * + *::before { content: "·"; margin: 0 6px; color: var(--ink-4); font-weight: 400; }
.leaf-ds .ws-line b { font-weight: 700; color: var(--ink-1); }
.leaf-ds .ws-line--hero { font-size: 14px; }
.leaf-ds .ws-line--hero b { font-size: 17px; letter-spacing: -0.01em; }
.leaf-ds .ws-line.is-ok b { color: var(--c-sched-fg); }
.leaf-ds .ws-line.is-warn b { color: var(--c-warn-fg); }
.leaf-ds .ws-line.is-quiet { color: var(--ink-3); }
.leaf-ds .ws-note { color: var(--c-live-fg); }
