/* First Step Hub — stili delle sezioni aggiunte (23/11/2026). Usa i token di app.css. */
.hub-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--g300); }
.hub-dot.coral { background: var(--coral); }
.hub-dot.ambra { background: #F59E0B; }
.hub-dot.viola { background: var(--p600); }
.hub-dot.ok { background: var(--ok); }
.hub-riga .corpo small { display: block; font-size: 11px; margin-top: 2px; }
.hub-riga[data-vai=""] { cursor: default; }

.hub-conto { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--bordo); font-variant-numeric: tabular-nums; }
.hub-conto span small { display: block; font-size: 12px; color: var(--muto); }
.hub-conto.forte { font-weight: 800; color: var(--p800); border-bottom-width: 2px; }
.hub-conto b { white-space: nowrap; }

.hub-barre { display: flex; align-items: flex-end; gap: 10px; height: 190px; padding-top: 22px; }
.hub-barre .b { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; position: relative; }
.hub-barre .b i { display: block; width: 100%; max-width: 46px; background: var(--p200); border-radius: 10px 10px 4px 4px; min-height: 3px; }
.hub-barre .b.oggi i { background: var(--p600); }
.hub-barre .b small { font-size: 11px; color: var(--muto); text-transform: capitalize; }
.hub-barre .b em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--g700); order: -1; font-variant-numeric: tabular-nums; }

.testa-mini { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.testa-mini .blocco-titolo { margin: 0; }
.hub-tab tbody tr { cursor: pointer; }
.hub-tab tbody tr:hover td { background: var(--velo); }
.hub-tab tr.spento td { color: var(--muto); }
.hub-tab td.num, .hub-tab th:nth-child(n+3) { text-align: right; white-space: nowrap; }

.hub-griglia { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.hub-cliente { cursor: pointer; }
.hub-cliente:hover { border-color: var(--p200); }
.hub-cl-testa { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.hub-cl-testa b { font-size: 16px; }
.hub-canone { font-weight: 800; font-size: 20px; color: var(--p700); white-space: nowrap; }
.hub-canone small { font-size: 12px; font-weight: 600; color: var(--muto); }

/* Ufficio: la console occupa tutta l'area di lavoro */
body.vista-piena .contenuto { padding: 0 !important; max-width: none !important; }
.hub-ufficio { display: block; width: 100%; height: calc(100dvh - env(safe-area-inset-top, 0px)); border: 0; background: #0B0F28; }
@media (max-width: 900px) { .hub-ufficio { height: calc(100dvh - 64px); } }
.hub-riga .corpo span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
