/* insight styles (tokens only): attention items, dashboards, admin start page, alert centre, support pages */

/* ---------------------------------------------------------------- attention items */
.att-list { display: grid; gap: var(--space-4); }
.att-group { display: grid; gap: var(--space-2); }
.att-group-title { font-size: var(--font-size-xs); font-weight: 600; color: var(--color-text-secondary); }
.att-group-title.bad { color: var(--color-danger-text); } .att-group-title.warn { color: var(--color-warning-text); } .att-group-title.info { color: var(--color-info-text); }
.att-item { display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-3); align-items: center; padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); box-shadow: var(--shadow-1); }
.att-item.muted { opacity: .8; }
.att-ic { width: 36px; height: 36px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--color-surface-secondary); color: var(--color-text-secondary); flex: none; }
.att-ic.bad { background: var(--color-danger-subtle); color: var(--color-danger-text); }
.att-ic.warn { background: var(--color-warning-subtle); color: var(--color-warning-text); }
.att-ic.info { background: var(--color-info-subtle); color: var(--color-info-text); }
.att-ic.lg { width: 52px; height: 52px; border-radius: var(--radius-lg); }
.att-main { min-width: 0; display: grid; gap: 2px; }
.att-title { font-weight: 600; display: flex; gap: var(--space-2); align-items: center; flex-wrap: wrap; overflow-wrap: anywhere; }
.att-text { overflow-wrap: anywhere; }
.att-actions { display: flex; gap: var(--space-1); align-items: center; justify-self: end; }
.att-empty { display: flex; gap: var(--space-3); align-items: center; padding: var(--space-4); border-radius: var(--radius-lg); background: var(--color-success-subtle); color: var(--color-success-text); }
.att-empty .muted { color: var(--color-text-secondary); }
.att-skel { height: 64px; border-radius: var(--radius-lg); }
.att-foot { justify-content: flex-end; }
.att-more { text-align: right; }
.att-popup { display: flex; gap: var(--space-4); align-items: flex-start; }
.att-popup h3 { font-size: var(--font-size-lg); margin-bottom: var(--space-1); }
@media (max-width: 640px) {
  .att-item { grid-template-columns: auto 1fr; }
  .att-actions { grid-column: 1 / -1; justify-content: flex-end; }
}

/* ---------------------------------------------------------------- dashboards */
.dash-group { margin-bottom: var(--space-6); }
.dash-group-title { display: flex; gap: var(--space-2); align-items: center; font-size: var(--font-size-lg); margin-bottom: var(--space-3); }
.dash-cards { display: grid; gap: var(--d-gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.dash-card { display: grid; gap: var(--space-2); align-content: start; padding: var(--space-4) var(--space-5); background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--d-radius-card); color: var(--color-text); text-decoration: none; box-shadow: var(--shadow-1); transition: border-color .15s, box-shadow .15s; }
.dash-card:hover, .dash-card:focus-visible { border-color: var(--color-primary); box-shadow: var(--shadow-2); }
.dash-card-top { display: flex; gap: var(--space-2); align-items: center; }
.dash-card-value { font-size: var(--font-size-2xl); font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dash-card.tone-bad .dash-card-value { color: var(--color-danger-text); }
.dash-card.tone-warn .dash-card-value { color: var(--color-warning-text); }
.dash-card-go { display: inline-flex; gap: 4px; align-items: center; color: var(--color-primary-text); font-size: var(--font-size-sm); font-weight: 500; }
.dash-filter .dash-active { border-color: var(--color-primary); background: var(--color-primary-subtle); }
.dash-days { gap: var(--space-2); color: var(--color-text-secondary); }
.dash-days .input { width: 84px; }
.dash-skel { height: 96px; border-radius: var(--d-radius-card); }
.dash-note { margin-bottom: var(--d-gap); }
.dash-kpis { margin-bottom: var(--d-gap); }
.dash-kpis a.kpi-card { color: var(--color-text); text-decoration: none; }
.dash-charts { margin-bottom: var(--d-gap); }
.dash-chart .card-head h3, .dash-section .card-head h3 { font-size: var(--font-size-md); }
.dash-chart .chart { width: 100%; height: auto; }
.dash-section { margin-bottom: var(--d-gap); }
.dash-section .card-body { padding: 0; }
.dash-section .table th:first-child, .dash-section .table td:first-child { padding-left: var(--space-5); }
.dash-table tfoot td { border-top: 2px solid var(--color-border); background: var(--color-surface-secondary); }
.dash-table .cell-main { overflow-wrap: anywhere; }
.dash-link { color: var(--color-primary-text); text-decoration: none; font-weight: 500; }
.dash-link:hover { text-decoration: underline; }
.dash-table-bar { padding: var(--space-3) var(--space-5); border-top: 1px solid var(--color-divider); }
.dash-empty { padding: var(--space-2); }
.dash-footer { text-align: right; margin-top: var(--space-2); }
.drawer .dash-table-bar { padding: var(--space-3) 0; border-top: 0; }
@media (max-width: 640px) {
  .dash-table thead, .stack-mobile thead { display: none; }
  .dash-table tr, .stack-mobile tr { display: grid; gap: 4px; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--color-divider); }
  .dash-table td, .stack-mobile td { border: 0; padding: 0; height: auto; display: flex; gap: var(--space-2); text-align: left; }
  .dash-table td.num, .stack-mobile td.num { text-align: left; }
  .dash-table td::before, .stack-mobile td::before { content: attr(data-label); color: var(--color-text-muted); font-size: var(--font-size-xs); min-width: 110px; flex: none; }
  .dash-section .table td:first-child { padding-left: 0; }
  .dash-table tfoot td::before { content: none; }
  .dash-table tfoot tr { display: flex; flex-wrap: wrap; gap: var(--space-3); }
}

/* ---------------------------------------------------------------- admin start page */
.home-h2 { font-size: var(--font-size-lg); margin: var(--space-2) 0 var(--space-3); }
.home-grid { align-items: start; }
.quick-links { display: grid; gap: var(--space-2); grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }
.quick-link { display: flex; gap: var(--space-2); align-items: center; padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  color: var(--color-text); text-decoration: none; background: var(--color-surface); min-height: 44px; }
.quick-link:hover { border-color: var(--color-primary); background: var(--color-primary-subtle); }
.quick-link .ic { color: var(--color-primary-text); }
.gs-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.gs-steps li { display: flex; gap: var(--space-3); align-items: center; }
.gs-no { width: 28px; height: 28px; border-radius: var(--radius-full); display: grid; place-items: center; flex: none; background: var(--color-primary-subtle); color: var(--color-primary-text); font-weight: 600; font-size: var(--font-size-sm); }
.gs-collapsed .card-body { gap: var(--space-3); }

/* ---------------------------------------------------------------- alert centre */
.rule-list { display: grid; gap: var(--space-3); }
.rule-line { display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-3); align-items: center; }
.rule-line.off { opacity: .6; }
.bad-text { color: var(--color-danger-text); }
.row-actions { white-space: nowrap; }
.row-actions .btn { margin-right: 2px; }

/* ---------------------------------------------------------------- support pages */
.sup-layout { display: grid; gap: var(--d-gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .sup-layout { grid-template-columns: minmax(320px, 2fr) 3fr; align-items: start; } .sup-head .btn.ghost.sm:first-child { display: none; } }
@media (max-width: 999px) {
  .sup-layout .sup-thread { display: none; }
  .sup-layout.show-thread .sup-thread { display: block; }
  .sup-layout.show-thread .sup-list-card { display: none; }
}
.sup-tabs { margin-bottom: var(--space-3); overflow-x: auto; }
.sup-list { display: grid; gap: var(--space-1); }
.sup-item { display: flex; gap: var(--space-3); align-items: center; text-align: left; width: 100%; padding: var(--space-3); border: 1px solid transparent; border-radius: var(--radius-lg);
  background: transparent; color: var(--color-text); font: inherit; cursor: pointer; min-height: 44px; }
.sup-item:hover { background: var(--color-surface-secondary); }
.sup-item.active { border-color: var(--color-primary); background: var(--color-primary-subtle); }
.sup-item .grow { display: grid; gap: 2px; min-width: 0; flex: 1; }
.sup-item b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sup-ic { width: 32px; height: 32px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--color-surface-secondary); color: var(--color-text-secondary); flex: none; }
.sup-head h2 { font-size: var(--font-size-lg); overflow-wrap: anywhere; }
.sup-meta { display: grid; grid-template-columns: auto 1fr; gap: 4px var(--space-4); margin: 0; font-size: var(--font-size-sm); }
.sup-meta dt { color: var(--color-text-muted); }
.sup-meta dd { margin: 0; overflow-wrap: anywhere; }
.sup-chat { max-height: 480px; }
/* task 2026-10-23-r: filters, assignment, internal notes, AI reply drafts */
.sup-filters { gap: var(--space-2); margin-bottom: var(--space-3); flex-wrap: wrap; }
.sup-filters .input { flex: 1 1 160px; min-width: 0; }
.sup-tags { display: flex; gap: var(--space-1); flex-wrap: wrap; }
.sup-assign { gap: var(--space-2); flex-wrap: wrap; align-items: center; }
.sup-assign .input { width: auto; min-width: 180px; max-width: 100%; }
.sup-note .chat-bubble { background: var(--color-warning-subtle); border: 1px dashed var(--color-warning); color: var(--color-text); }
.sup-draft { display: grid; gap: var(--space-2); padding: var(--space-3); border: 1px dashed var(--color-primary); border-radius: var(--radius-lg); background: var(--color-primary-subtle); }
.sup-draft .row { gap: var(--space-2); flex-wrap: wrap; align-items: center; }
.chat-meta .badge { margin-left: var(--space-2); }
.sup-closed { padding: var(--space-3); border-radius: var(--radius-lg); background: var(--color-surface-secondary); }
.dash-card, .dash-card:hover, .dash-card * { text-decoration: none; }
.dash-card-value .small { font-weight: 400; letter-spacing: 0; font-size: var(--font-size-sm); }
.dash-card-top b { color: var(--color-text); }
.dash-charts:not(.grid) .chart { max-width: 860px; display: block; margin: 0 auto; }
@media (max-width: 640px) {
  .dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
  .dash-kpis .kpi-value { font-size: var(--font-size-2xl); }
  .dash-filter .input, .dash-filter .date-range { width: 100%; max-width: none; }
}
.sup-head { flex-wrap: wrap; }
@media (max-width: 999px) { .sup-head > .btn:first-child { flex-basis: 100%; justify-content: flex-start; } }
.sup-head .grow { min-width: 0; flex: 1; }

/* ---------- task 2026-10-23-f: full width, even card rows, reports in tabs (all dashboard / report pages) */
/* filter bar: a grid over the whole width – fills left to right, every wrapped row spans the full width too */
.filter-bar.dash-filter { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-2); align-items: stretch; }
.filter-bar.dash-filter > *, .filter-bar.dash-filter .input, .filter-bar.dash-filter .ss-btn, .filter-bar.dash-filter .date-range { width: 100%; max-width: none; min-width: 0; }
/* KPI cards: every row has the same number of cards, equal width and height (count decides the columns) */
.kpi-row { align-items: stretch; }
.kpi-row > * { height: 100%; }
@media (min-width: 1024px) {
  .kpi-row { grid-template-columns: repeat(var(--kpi-cols, 4), minmax(0, 1fr)); }
  .kpi-row:has(> :nth-child(1):last-child) { --kpi-cols: 1; }
  .kpi-row:has(> :nth-child(2):last-child) { --kpi-cols: 2; }
  .kpi-row:has(> :nth-child(3):last-child), .kpi-row:has(> :nth-child(6):last-child), .kpi-row:has(> :nth-child(9):last-child) { --kpi-cols: 3; }
  .kpi-row:has(> :nth-child(4):last-child), .kpi-row:has(> :nth-child(8):last-child), .kpi-row:has(> :nth-child(12):last-child), .kpi-row:has(> :nth-child(16):last-child) { --kpi-cols: 4; }
  .kpi-row:has(> :nth-child(5):last-child), .kpi-row:has(> :nth-child(10):last-child), .kpi-row:has(> :nth-child(15):last-child) { --kpi-cols: 5; }
  .kpi-row:has(> :nth-child(7):last-child) { --kpi-cols: 7; }                          /* 7 cards: one even row */
  .kpi-row:has(> :nth-child(11):last-child) { --kpi-cols: 4; }
  .kpi-row:has(> :nth-child(11):last-child) > :last-child { grid-column: span 2; }     /* 11 = 4 + 4 + 3 */
}
@media (min-width: 641px) and (max-width: 1023px) {
  .kpi-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi-row:has(> :nth-child(3):last-child), .kpi-row:has(> :nth-child(6):last-child), .kpi-row:has(> :nth-child(9):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kpi-row:not(:has(> :nth-child(3):last-child)):not(:has(> :nth-child(6):last-child)):not(:has(> :nth-child(9):last-child)) > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* reports: full width, tabs side by side (scrollable bar on phones) */
.dash-section { margin-top: var(--space-5); }
.dash-section-title { font-size: var(--font-size-lg); margin: 0 0 var(--space-3); }
.dash-tabs .tabs { margin-bottom: var(--space-3); scrollbar-width: thin; }
.dash-tabs .tabs button { white-space: nowrap; }
.dash-report-note { margin: 0 0 var(--space-2); }
.dash-totals { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2) var(--space-5); padding: var(--space-3) var(--space-4); border-top: 1px solid var(--color-border); background: var(--color-surface-secondary); font-size: var(--font-size-sm); }
.dash-total { display: inline-flex; gap: 6px; align-items: baseline; }
.dash-charts.grid.c2 { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
/* general: report toolbars and filter bars never leave large gaps */
.report .toolbar .tb-box { display: contents; }

@media (min-width: 1024px) and (max-width: 1279px) {                                  /* not enough room for 7: 4 + 3 wider cards, both rows full */
  .kpi-row:has(> :nth-child(7):last-child) { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .kpi-row:has(> :nth-child(7):last-child) > * { grid-column: span 3; }
  .kpi-row:has(> :nth-child(7):last-child) > :nth-child(n+5) { grid-column: span 4; }
}
.filter-bar.dash-filter > :empty, .filter-bar.dash-filter > [hidden] { display: none; }
.ss-btn .ss-text { flex: 1 1 auto; min-width: 0; }
/* the last filter row stretches too (no empty cells): flexible wrap instead of a fixed grid */
.filter-bar.dash-filter { display: flex; flex-wrap: wrap; }
.filter-bar.dash-filter > * { flex: 1 1 220px; }
.filter-bar.dash-filter > .btn { min-height: var(--d-ctl-h); }

/* ---------- dashboards overview: hero + bento grid of picture cards (task 2026-10-23-g) */
.dash-hero { position: relative; overflow: hidden; border-radius: var(--d-radius-card); min-height: 220px; margin-bottom: var(--space-5);
  background: linear-gradient(120deg, var(--color-primary) 0%, #5a0f26 100%); color: #fff; display: flex; align-items: flex-end; }
.dash-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dash-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,6,12,.82) 0%, rgba(20,6,12,.55) 45%, rgba(20,6,12,.08) 100%); }
.dash-hero-body { position: relative; z-index: 1; padding: var(--space-6); display: grid; gap: var(--space-3); max-width: 760px; }
.dash-hero-kicker { margin: 0; text-transform: uppercase; letter-spacing: .08em; font-size: var(--font-size-xs); font-weight: 700; opacity: .85; }
.dash-hero-title { margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.25; color: #fff; }
.dash-hero-nums { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.dash-hero-num { display: grid; gap: 2px; padding: 10px 16px; border-radius: var(--radius-lg); background: rgba(255,255,255,.14); backdrop-filter: blur(6px);
  color: #fff; text-decoration: none !important; min-width: 130px; border: 1px solid rgba(255,255,255,.25); }
.dash-hero-num b { font-size: var(--font-size-2xl); line-height: 1.1; }
.dash-hero-num span { font-size: var(--font-size-xs); opacity: .9; }
.dash-hero-num:hover, .dash-hero-num:focus-visible { background: rgba(255,255,255,.24); }

.bento { display: grid; gap: var(--d-gap); grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(0, auto); }
.bento > * { grid-column: span var(--span, 3); }
.bento > .b-feature { grid-row: span 2; }
.photo-card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--d-radius-card); color: var(--color-text); text-decoration: none !important; box-shadow: var(--shadow-1); height: 100%;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.pc-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--color-primary-subtle) 0%, var(--color-surface-secondary) 100%); flex: none; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.pc-body { display: grid; gap: 6px; padding: var(--space-4); align-content: start; flex: 1; }
.pc-tag { display: inline-flex; align-items: center; gap: 4px; justify-self: start; padding: 2px 9px; border-radius: var(--radius-full); font-size: var(--font-size-xs); font-weight: 600;
  background: var(--color-primary-subtle); color: var(--color-primary-text); }
.pc-tag.t-teal { background: #e3f4f1; color: #0f6b5c; } .pc-tag.t-amber { background: #fdf1dc; color: #8a5300; } .pc-tag.t-violet { background: #f1eafa; color: #6b3fa0; }
.pc-tag.t-blue { background: #e6eef9; color: #1f4f8f; } .pc-tag.t-slate { background: #eceef1; color: #3f4a5a; }
.pc-value { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pc-value b { font-size: var(--font-size-2xl); font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.pc-value span { font-size: var(--font-size-sm); color: var(--color-text-secondary); }
.photo-card.tone-bad .pc-value b { color: var(--color-danger-text); } .photo-card.tone-warn .pc-value b { color: var(--color-warning-text); }
.pc-title { margin: 0; font-size: var(--font-size-md); font-weight: 650; line-height: 1.3; }
.pc-text { margin: 0; color: var(--color-text-secondary); font-size: var(--font-size-sm); line-height: 1.45; }
.pc-go { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 4px; color: var(--color-primary-text); font-size: var(--font-size-sm); font-weight: 600; }
.photo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); border-color: var(--color-primary); }
.photo-card:hover .pc-media img { transform: scale(1.03); }
.photo-card:focus-visible { outline: 3px solid var(--color-focus-ring); outline-offset: 2px; }
/* the feature card (task y): the same look as the small cards – a big picture on top, the text on its own white panel
   below (never on the photo; contrast AA), the number large */
.photo-card.b-feature .pc-media { aspect-ratio: auto; flex: 1 1 auto; min-height: 260px; }
.photo-card.b-feature .pc-body { flex: none; padding: var(--space-5) var(--space-6); }
.photo-card.b-feature .pc-value b { font-size: 2.6rem; }
.photo-card.b-feature .pc-title { font-size: var(--font-size-xl); }
/* nothing is cut off: titles and the number line wrap, cards may shrink */
.bento > * { min-width: 0; }
.pc-title, .pc-text, .pc-value span { overflow-wrap: anywhere; hyphens: auto; }
@media (prefers-reduced-motion: reduce) { .photo-card, .pc-media img { transition: none; } .photo-card:hover { transform: none; } .photo-card:hover .pc-media img { transform: none; } }
@media (max-width: 1279px) {                                 /* tablets: feature over the full width, then 2 per row, a single last card spans the row */
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento > * { grid-column: span 1; }
  .bento > .b-feature { grid-column: 1 / -1; grid-row: auto; min-height: 320px; }
  .bento > .b-feature ~ :last-child:nth-child(even), .bento:not(:has(> .b-feature)) > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .bento > *, .bento > .b-feature { grid-column: 1 / -1; } .dash-hero-body { padding: var(--space-5); } .dash-hero { min-height: 260px; } }
/* review fix (task 2026-10-23-t): placeholder under every card picture – a card never looks empty */
.pc-media { position: relative; background: linear-gradient(135deg, var(--color-primary-subtle), color-mix(in srgb, var(--color-primary) 22%, var(--color-surface))); }
.pc-media .pc-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--color-primary); opacity: .55; }
.pc-media .pc-ph .icon { width: 40px; height: 40px; }
.pc-media img { position: relative; z-index: 1; }
.photo-card.b-feature .pc-media::after { z-index: 2; }
/* review fixes (task 2026-10-23-t) */
.filter-bar.dash-filter > .dash-tool { flex: 0 0 auto; width: auto; align-self: center; }
.filter-bar.dash-filter > .dash-copy { margin-left: auto; }
.kpi-card .kpi-top { min-width: 0; }
.kpi-card .kpi-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (min-width: 1024px) {
  /* 7 cards: 4 + 3, the three of the second row wider – both rows end at the same edge */
  .kpi-row:has(> :nth-child(7):last-child) { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .kpi-row:has(> :nth-child(7):last-child) > * { grid-column: span 3; }
  .kpi-row:has(> :nth-child(7):last-child) > :nth-child(n + 5) { grid-column: span 4; }
}
@media (max-width: 640px) {
  /* many cards on a phone: one row to swipe */
  .kpi-row:has(> :nth-child(5)) { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .kpi-row:has(> :nth-child(5)) > * { flex: 0 0 46%; scroll-snap-align: start; }
}
/* office start page + dashboard (task z) */
.zoff-hero .dash-hero-body { background: rgba(20, 6, 12, .45); border-radius: var(--d-radius-card); margin: var(--space-4); max-width: 720px; }
.zoff-hero .dash-hero-kicker { display: inline-flex; align-items: center; gap: 6px; color: #fff; opacity: 1; }
.dash-hero-num.hot b { color: #ffd6d1; } .dash-hero-num span { color: #fff; }
.zoff-hero-act { margin-top: var(--space-2); }
.zoff-course { display: flex; align-items: center; gap: 10px; color: var(--color-text); text-decoration: none; min-width: 220px; }
.zoff-course img, .zoff-course-ph { width: 56px; height: 40px; border-radius: 8px; object-fit: cover; flex: none; }
.zoff-course-ph { display: grid; place-items: center; background: color-mix(in srgb, var(--cat, var(--color-primary)) 14%, var(--color-surface)); color: var(--cat, var(--color-primary)); }
.content[data-area="office"] .bento, .content[data-area="teach"] .bento { margin-bottom: var(--section-gap); }
@media (max-width: 640px) { .zoff-hero .dash-hero-body { margin: var(--space-3); } }
.zoff-hero .dash-hero-kicker { text-transform: none; letter-spacing: 0; font-size: var(--font-size-sm); }   /* "Weiße" keeps its ß – no capitals (task z15) */
