 :root{--blue:#065bb5;--navy:#092e4c;--ink:#18364b;--muted:#546b7a;--line:#dce5eb;--bg:#f5f8fa;--teal:#007d79}body{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);line-height:1.6}a{color:var(--blue);text-underline-offset:4px}a:focus-visible,button:focus-visible{outline:3px solid #efb94e;outline-offset:5px}.container{max-width:1180px}.topbar{background:var(--navy);color:white;font-size:12px;padding:10px 0;letter-spacing:.2px}header{background:white;border-bottom:1px solid var(--line)}.header-inner{display:flex;justify-content:space-between;align-items:center;padding-top:25px;padding-bottom:25px;gap:20px}.brand{display:flex;align-items:center;gap:16px;text-decoration:none;font-size:23px;font-weight:750;color:var(--navy);line-height:1.25}.brand small{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:7px}.brand-icon{width:48px;height:52px;background:var(--blue);color:white;display:grid;place-items:center;font-size:34px;border-radius:5px 5px 17px 17px}nav a,.nav-button{font-size:14px;font-weight:600}.nav-button{background:none;border:0;color:var(--blue);margin-left:20px}.hero{position:relative;overflow:hidden;background:var(--navy);color:white;padding:65px 0 100px}.eyebrow{font-size:11px;font-weight:750;letter-spacing:1.7px;color:var(--teal);margin-bottom:16px}.hero .eyebrow{color:#9dd9dd}.hero h1{font-size:46px;line-height:1.18;letter-spacing:-1.5px;font-weight:650;position:relative;z-index:1}.hero p{font-size:17px;color:#d0e2ed;margin-top:24px;position:relative;z-index:1}.hero-caption{font-size:12px;color:#b4d0e0;margin-top:30px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#78d7bd;margin-right:9px}.hero-pattern{position:absolute;right:2%;top:-165px;font-size:640px;line-height:1;color:#3b7890;opacity:.17;transform:rotate(-25deg);pointer-events:none}.access-section{position:relative;margin-top:-46px;z-index:2}.access-card{display:block;background:white;border:1px solid var(--line);box-shadow:0 12px 30px #173e5010;border-radius:10px;padding:30px 34px;text-decoration:none;color:var(--ink);height:100%;transition:transform .18s,box-shadow .18s}.access-card:hover{transform:translateY(-4px);box-shadow:0 15px 35px #173e5020}.card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.area-icon{display:inline-grid;place-items:center;background:#edf4fb;color:var(--blue);border-radius:10px;font-size:31px;width:56px;height:56px}.pill{display:inline-block;background:#e6f4ef;color:#146249;border-radius:30px;padding:5px 11px;font-size:10px;font-weight:750;letter-spacing:.8px}.pill.muted{background:#ecf2f8;color:#315572}.access-card h2{font-size:27px;letter-spacing:-.7px}.access-card p{color:var(--muted);font-size:15px;max-width:420px;margin:15px 0 25px}.card-cta{display:flex;justify-content:space-between;color:var(--blue);font-size:16px;font-weight:700;border-top:1px solid var(--line);padding-top:20px}.access-card small{color:var(--muted);font-size:12px}.process{display:grid;grid-template-columns:1fr 1.4fr;gap:50px;padding-top:64px;padding-bottom:64px}.process h2{font-size:28px;line-height:1.3;letter-spacing:-.6px}.process ol{list-style:none;padding:0;margin:0;display:grid;gap:20px}.process li{display:flex;gap:20px}.process li>span{font-size:12px;color:var(--teal);border:1px solid #c8dedf;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;flex-shrink:0}.process strong{font-size:14px}.process p{font-size:13px;color:var(--muted);margin:2px 0 0}footer{border-top:1px solid var(--line);background:white}.footer-inner{display:flex;justify-content:space-between;padding-top:26px;padding-bottom:26px;font-size:12px;color:var(--muted);gap:20px}.footer-inner strong{color:var(--ink)}.footer-inner p{margin:4px 0}.footer-inner small{font-size:11px}.page{padding-top:36px;padding-bottom:65px;min-height:65vh}.page h1{font-size:36px;font-weight:700;letter-spacing:-1px}.back{font-size:13px;text-decoration:none}.lead-text{font-size:17px;color:var(--muted)}.panel,.table-panel{background:white;border:1px solid var(--line);border-radius:10px;padding:30px;box-shadow:0 4px 12px #15344a04}.section-title{font-size:19px;font-weight:650;margin-bottom:20px}.form-label{font-size:14px;font-weight:600}.form-control,.form-select{border-color:#a9bccb;border-radius:5px;min-height:47px;font-size:15px}.form-control:focus,.form-select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #0066cc22}.form-text{font-size:12px}.btn-primary{background:var(--blue);border-color:var(--blue);font-size:14px;font-weight:650;padding:12px 22px;border-radius:5px}.form-bottom{margin-top:30px;padding-top:24px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;align-items:center}.form-bottom span{font-size:12px;color:var(--muted)}.aside-card{padding:28px;background:#eaf2f6;border-radius:8px;border-top:3px solid var(--teal)}.aside-card h2{font-size:23px;margin:14px 0}.aside-card p,.aside-card small{font-size:14px;color:var(--muted)}.login-page{max-width:600px}.login-panel{margin-top:26px;padding:40px}.login-panel h1{font-size:30px}.success-panel{max-width:720px;margin:40px auto;text-align:center;padding:50px 30px}.success-icon{display:grid;place-items:center;border-radius:50%;background:#e4f4eb;color:#187345;width:70px;height:70px;margin:0 auto 25px;font-size:34px}.receipt{background:var(--bg);padding:20px;margin:28px 0;font-size:13px;overflow-wrap:anywhere}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.stat{padding:24px;background:white;border:1px solid var(--line);border-radius:8px}.stat span{display:block;font-size:13px;color:var(--muted)}.stat strong{font-size:33px;font-weight:650}.critical-number{color:#a75b16}.table-panel{padding:0;overflow:hidden}.table-title{padding:24px;display:flex;justify-content:space-between;gap:20px;align-items:center}.table{font-size:14px;--bs-table-color:var(--ink)}.table th{background:#edf3f7;color:#426073;font-size:12px;padding:16px 22px;white-space:nowrap}.table td{padding:20px 22px;border-color:var(--line)}.table td a{white-space:nowrap;font-weight:600}.status{font-size:12px;padding:6px 11px;border-radius:20px;display:inline-block;white-space:nowrap;font-weight:600;background:#fff1df;color:#865009}.status-regular{background:#e4f3eb;color:#1a6741}.status-stopped{background:#fbe7e7;color:#9b3030}.empty-state{text-align:center;padding:60px 24px!important}.empty-state h3{font-size:20px}.empty-state p{color:var(--muted);max-width:500px;margin:15px auto}.pagination-bar{display:flex;justify-content:center;gap:25px;padding:22px;font-size:14px}.detail-panel{max-width:850px;margin-top:30px}.detail-panel dt{font-size:13px;color:var(--muted);margin-top:25px}.detail-panel dd{margin-top:8px;overflow-wrap:anywhere}.skip{position:absolute;top:-60px;left:20px;background:white;padding:10px;z-index:20}.skip:focus{top:10px}.errorlist{color:#a32626;font-size:13px;padding-left:18px}@media(max-width:767px){.header-inner{padding:18px 16px}.brand{font-size:18px;gap:10px}.brand small{font-size:10px;max-width:160px}.brand-icon{width:37px;height:43px;font-size:27px}nav a,.nav-button{font-size:12px}.hero{padding:45px 12px 80px}.hero h1{font-size:34px}.hero p{font-size:15px}.hero .eyebrow{font-size:9px}.access-section{padding:0 22px}.access-card{padding:25px}.process{grid-template-columns:1fr;gap:28px;padding:42px 24px}.footer-inner{flex-direction:column;padding:24px}.page{padding:26px 18px 45px}.page h1{font-size:29px}.panel{padding:23px}.form-bottom,.table-title{flex-direction:column;align-items:stretch}.table-title{gap:5px}.success-panel{margin:20px auto}.page-heading{align-items:start}.topbar .container{padding:0 16px}.topbar{font-size:10px}}

/* Dettaglio comunicazione */
.report-page{padding-top:30px;padding-bottom:56px}.report-back{display:inline-block;margin-bottom:28px}.report-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:32px}.report-heading .eyebrow{margin-bottom:10px;font-size:10px}.report-heading .eyebrow span{margin:0 10px;color:#9aaeba}.report-heading h1{font-size:42px;margin:0 0 8px;letter-spacing:-1.3px}.report-heading p{margin:0;color:var(--muted);font-size:15px}.report-date{border-left:2px solid #cddfe8;padding:6px 0 6px 22px;flex-shrink:0}.report-date span{display:block;font-size:10px;font-weight:700;letter-spacing:1.3px;color:var(--muted);margin-bottom:7px}.report-date strong{font-size:17px;font-weight:600}.report-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:28px;align-items:start}.report-body{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 5px 20px #18364b05}.report-status{display:flex;align-items:center;gap:16px;padding:26px 28px;background:#fff5e8;border-bottom:1px solid #f0dec4;color:#805014}.report-status-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#fbe6c7;font-size:25px;font-weight:650;flex-shrink:0}.report-status h2{font-size:12px;font-weight:500;margin:0 0 4px}.report-status strong{font-size:21px;line-height:1.3}.report-status-label{font-size:9px;letter-spacing:1px;font-weight:750;margin-left:auto;text-align:right;max-width:100px}.report-status-regular{background:#edf8f2;color:#216243;border-color:#d4eadd}.report-status-regular .report-status-icon{background:#d7eee1}.report-status-stopped{background:#fdf0ef;color:#992e2a;border-color:#f1d8d6}.report-status-stopped .report-status-icon{background:#f8dedb}.report-section{padding:25px 28px;border-bottom:1px solid #e8eef2}.report-section:last-child{border-bottom:0}.report-section-heading{display:flex;align-items:center;gap:12px;margin-bottom:14px}.report-section-number{font-size:10px;color:#54798b;letter-spacing:.5px;background:#eef4f7;border-radius:6px;width:28px;height:28px;display:grid;place-items:center;flex-shrink:0}.report-section h2{font-size:15px;font-weight:650;margin:0}.report-value{font-size:16px;margin:0 0 0 40px;line-height:1.8;overflow-wrap:anywhere}.report-notes{background:#f7f9fb;border-left:2px solid #cddde6;padding:12px 16px;border-radius:0 5px 5px 0}.report-summary{padding:26px;background:white;border:1px solid var(--line);border-radius:12px;border-top:3px solid var(--teal)}.report-summary h2{font-size:19px;font-weight:650;margin-bottom:8px}.report-summary-intro{font-size:12px;color:var(--muted);margin-bottom:24px}.report-summary dl{margin:0}.report-summary dt{font-size:11px;color:var(--muted);font-weight:500;margin:20px 0 5px}.report-summary dd{font-size:14px;font-weight:600;margin:0;overflow-wrap:anywhere}.report-summary dd small{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:3px}.report-reference{border-top:1px solid var(--line);margin-top:24px;padding-top:20px}.report-reference span{display:block;font-size:11px;color:var(--muted);margin-bottom:10px}.report-reference code{display:block;color:#426073;font-size:11px;line-height:1.8;overflow-wrap:anywhere}.report-help{display:flex;align-items:start;gap:9px;padding:20px 8px}.report-help p{font-size:12px;color:var(--muted);margin:0}.report-help-dot{width:6px;height:6px;border-radius:50%;background:var(--teal);flex-shrink:0;margin-top:7px}@media(max-width:991px){.report-layout{grid-template-columns:minmax(0,1fr) 270px;gap:18px}.report-status-label{display:none}.report-summary{padding:22px}}@media(max-width:767px){.report-heading{display:block;margin-bottom:24px}.report-heading h1{font-size:34px}.report-heading .eyebrow{font-size:9px}.report-date{margin-top:20px;padding-left:14px}.report-date strong{font-size:15px}.report-layout{grid-template-columns:minmax(0,1fr)}.report-status{padding:22px}.report-status strong{font-size:20px}.report-section{padding:22px}.report-value{margin-left:0}.report-summary{padding:24px}.report-back{margin-bottom:22px}}

.municipality-combobox{position:relative}.municipality-combobox>.form-control{padding-right:42px}.municipality-toggle{position:absolute;right:1px;top:1px;width:40px;height:45px;border:0;background:transparent;color:var(--ink);font-size:22px;line-height:1;border-radius:0 5px 5px 0}.municipality-toggle:disabled{color:#8798a4}.municipality-options{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:50;max-height:250px;overflow-y:auto;list-style:none;margin:0;padding:6px;background:white;border:1px solid #a9bccb;border-radius:6px;box-shadow:0 8px 24px #18364b26}.municipality-options [role=option]{padding:9px 11px;font-size:14px;border-radius:4px;cursor:pointer;overflow-wrap:anywhere}.municipality-options [role=option]:hover,.municipality-options .active{background:#eaf2fb;color:#064b94}.municipality-options [aria-selected=true]{font-weight:650;background:#edf4f8}.municipality-empty{padding:12px;font-size:14px;color:var(--muted)}
