/* Dashboard (13 Nov 2026) - calm: colour = state only. */
.dash .dash-hd { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.dash .dash-hd h1 { margin: 0; }
.dash .dash-stock { margin-top: 12px; background: var(--amber-soft, #fff8e1); border-radius: 10px; padding: 8px 12px; font-size: 13.5px; display: flex; gap: 8px; align-items: center; }
.dash .dash-cols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; margin-top: 14px; align-items: start; }
.dash .dash-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.dash .dash-card + .dash-card { margin-top: 12px; }
.dash .dash-sec { display: flex; align-items: center; gap: 8px; margin: 14px 0 4px; font-weight: 600; font-size: 13.5px; }
.dash .dash-card > div:first-child .dash-sec, .dash .dash-card > .dash-sec:first-child { margin-top: 2px; }
.dash .dash-sec .muted { font-weight: 400; }
.dash .dash-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.dash .dash-item { display: flex; align-items: center; gap: 6px; padding: 7px 4px; border-bottom: 1px solid var(--line); }
.dash .dash-item:last-child { border-bottom: 0; }
.dash .dash-item.later { opacity: .5; }
.dash .dash-t { flex: 1; min-width: 0; cursor: pointer; }
.dash .dash-t b { font-weight: 600; }
.dash .dash-t > * { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash .dash-t:hover b { color: var(--acc-text, var(--acc)); }
.dash .dash-feed { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 13px; cursor: pointer; }
.dash .dash-feed:hover { color: var(--acc-text, var(--acc)); }
.dash .dash-team { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 13px; cursor: pointer; }
.dash .dash-red { color: var(--red); }
.dash .dash-nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-top: 16px; }
.dash .dash-nums > div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; }
.dash .dash-nums b { font-size: 22px; font-variant-numeric: tabular-nums; }
@media (max-width: 820px) { .dash .dash-cols { grid-template-columns: 1fr; } }

/* 13 Nov 2026: folding groups, one line per customer */
.dash .dash-cols.one { grid-template-columns: minmax(0, 1fr); max-width: 980px; }
.dash .dash-head { width: 100%; border: 0; background: none; cursor: pointer; padding: 6px 2px; color: var(--ink); font: inherit; font-weight: 600; text-align: left; }
.dash .dash-head:hover { background: var(--fill); border-radius: 6px; }
.dash .dash-group + .dash-group { border-top: 1px solid var(--line); margin-top: 4px; }
.dash .dash-item.child { padding-left: 22px; }
.dash .dash-item.child b { font-weight: 500; }
.dash .dash-fold > summary { list-style: none; cursor: pointer; }
.dash .dash-fold > summary::-webkit-details-marker { display: none; }

.dash .dash-status { color: var(--muted); margin-top: 2px; }
.dash .dash-numhead { margin-top: 20px; }
.dash .kpis { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
