:root { --volli-blu: #0066CC; --volli-blu-scuro: #004D99; --volli-testo: #17324D; --volli-sfondo: #F5F9FC; }
body { background: var(--volli-sfondo); color: var(--volli-testo); font-family: "Titillium Web", Geneva, Tahoma, sans-serif; }
.it-header-slim-wrapper { background: var(--volli-blu-scuro); }
.it-header-center-wrapper { background: var(--volli-blu); }
.it-header-navbar-wrapper { background: var(--volli-blu); }
.it-brand-wrapper a { display: flex; align-items: center; gap: .75rem; color: #fff; text-decoration: none; }
.it-brand-title { font-size: clamp(1rem, 2.4vw, 1.6rem); font-weight: 700; line-height: 1.2; }
.logo-scudo { flex: 0 0 auto; }
.notif-bell { position: relative; display: inline-flex; color: #fff; }
.notif-bell .badge { position: absolute; top: -6px; right: -10px; font-size: .7rem; }
.it-footer-main { background: var(--volli-blu-scuro); color: #fff; }
.card.card-bg { background: #fff; border-radius: 6px; box-shadow: 0 2px 10px rgba(23, 50, 77, .08); }
.stat-card { color: var(--volli-testo); transition: transform .15s ease, box-shadow .15s ease; }
.stat-card:hover, .stat-card:focus { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0, 102, 204, .18); }
.stat-num { font-size: 2.2rem; font-weight: 700; color: var(--volli-blu); line-height: 1.1; margin-top: .5rem; }
.stat-label { font-weight: 600; }
.table thead th { background: #e8f0f8; color: var(--volli-testo); font-weight: 700; border-bottom: 2px solid var(--volli-blu); }
.annullato, tr.annullato td { text-decoration: line-through; color: #8a6d6d !important; }
tr.annullato td .badge { text-decoration: none; }
.form-label { font-weight: 600; color: var(--volli-testo); font-size: .95rem; position: static !important; transform: none !important; }
.blocco-anteprima { border: 1px dashed var(--volli-blu); padding: 1rem; text-align: center; max-width: 420px; margin-left: auto; background: #fff; }
.doc-testo, .mail-corpo { white-space: normal; max-height: 32rem; overflow: auto; }
pre.codice { background: #17324D; color: #fff; padding: .75rem; border-radius: 4px; white-space: pre-wrap; word-break: break-all; font-size: .8rem; }
.pubblico { background: #fff; }
:focus-visible { outline: 3px solid #ff9900 !important; outline-offset: 2px; }
@media (max-width: 991px) { .it-header-navbar-wrapper { background: transparent; } }
