/* Aspetto del gestionale TAPSI: richiama SB Admin 2 di TapGest (barra blu a sinistra),
   ripulito e adatto al telefono. */
:root { --tapsi-blu: #4e73df; --tapsi-blu-scuro: #224abe; }
body { background: #f8f9fc; }
.barra-laterale { background: linear-gradient(180deg, var(--tapsi-blu) 10%, var(--tapsi-blu-scuro) 100%); }
@media (min-width: 992px) { .barra-laterale { width: 15rem; flex-shrink: 0; } }
.barra-laterale.offcanvas-lg { --bs-offcanvas-width: 17rem; --bs-offcanvas-bg: var(--tapsi-blu-scuro); }
.marchio { font-weight: 800; letter-spacing: .1rem; font-size: 1.2rem; padding: .25rem .25rem; }
.area-menu { font-size: .7rem; font-weight: 800; letter-spacing: .05rem; color: rgba(255,255,255,.6);
  padding: 1rem 1rem .25rem; border-top: 1px solid rgba(255,255,255,.15); }
.voce-menu { display: block; color: rgba(255,255,255,.9); text-decoration: none; padding: .45rem 1rem; font-size: .9rem; }
.voce-menu:hover, .voce-menu.attiva { color: #fff; background: rgba(255,255,255,.12); }
.voce-menu.disattiva { color: rgba(255,255,255,.4); cursor: default; }
.voce-home { font-weight: 700; }
.contenuto { min-width: 0; }
.nome-utente { max-width: 12rem; }
.pannello-operatore { width: 12rem; }
details > summary { cursor: pointer; }
/* Contatta: i sospesi «Rischedulato» colorati come in TapGest; la data di richiamo in evidenza. */
.riga-rischedulato, .riga-rischedulato > td { background-color: #faebd7 !important; }
.data-richiamo { color: #d6338a; font-weight: 600; }
.avviso-richiami { width: 18rem; max-width: 90vw; }
/* Agenda: consulente assente in rosso come in TapGest; un appuntamento per blocco. */
.riga-assente, .riga-assente > td, .riga-assente > .card-header { background-color: #f8d7da !important; }
.agenda .col-consulente { width: 16rem; }
.app-agenda { border-left: 3px solid var(--tapsi-blu); padding: .25rem .4rem; margin-bottom: .4rem; background: #f8f9fc; }
.app-agenda.app-esitato { border-left-color: #adb5bd; color: #6c757d; }
/* Preventivatore, pagina della direzione: la griglia del listino come un foglio, il nome del modello fermo. */
.griglia-listino { max-height: 75vh; }
.griglia-listino input { width: 5.5rem; text-align: right; }
.griglia-listino .colonna-fissa { position: sticky; left: 0; background: #fff; z-index: 1; min-width: 9rem; }
.griglia-listino thead th { position: sticky; top: 0; background: #f8f9fc; z-index: 2; }
.griglia-listino thead th.colonna-fissa { z-index: 3; }
.tabella-configura input[type=text], .tabella-configura input[type=number] { min-width: 5rem; }
.tabella-configura input[name$="-nome"] { min-width: 13rem; }
