:root{font:15px system-ui,sans-serif;color:#142332;background:#eef3f8}*{box-sizing:border-box}body{margin:0}header{background:#12304a;color:white;padding:18px 5%;display:flex;gap:20px;align-items:center}header strong{font-size:21px}header span{opacity:.8}main{max-width:1450px;margin:auto;padding:24px}h1{font-size:28px}h2{font-size:18px}nav,.toolbar{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-bottom:18px}nav a,button{background:#155fa0;color:white;border:0;border-radius:8px;padding:11px 16px;text-decoration:none;cursor:pointer;font:inherit}section,.metric{background:white;border-radius:14px;padding:20px;box-shadow:0 2px 8px #18334c12;overflow:auto;margin-bottom:15px}.metrics,.panels{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:15px}.metric strong{display:block;font-size:30px;margin-top:8px}.panels{grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr))}label{display:block;margin:14px 0}input,select,textarea{display:block;width:100%;padding:12px;border:1px solid #aebdca;border-radius:8px;font:inherit;margin-top:5px;background:white}textarea{min-height:90px}form{max-width:680px}.check input{display:inline;width:auto;margin-right:8px}.toolbar select{width:auto}table{border-collapse:collapse;width:100%;font-size:13px}td{padding:10px 6px;border-bottom:1px solid #e6edf2;overflow-wrap:anywhere}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#e8eff5;padding:16px}.chart{height:160px;display:flex;align-items:end;gap:3px}.chart div{background:#2381c4;flex:1;min-width:2px;border-radius:3px 3px 0 0}small{color:#40566a}@media(max-width:600px){main{padding:12px}header{padding:12px}header span{display:none}}
:root{font:15px/1.55 system-ui,-apple-system,sans-serif;color:#203047;background:#f3f6fc;--primary:#3157b7;--muted:#65748b}header{background:#fff;color:#203047;border-bottom:1px solid #dfe6f2;position:sticky;top:0;z-index:5;padding:17px 4%;box-shadow:0 3px 14px #253c7010}header strong{color:#3157b7}header span{color:var(--muted)}main{padding:28px;max-width:1500px}h1,h2{letter-spacing:-.025em;margin-top:0}h1{font-size:30px}h2{font-size:19px}nav{background:#e8eefb;padding:8px;border-radius:20px;gap:6px}nav a{background:transparent;color:#3157b7;font-weight:650;border-radius:14px}nav a:hover{background:#d4e0ff}button,.action{background:#3157b7;color:white;border:0;border-radius:24px;padding:12px 20px;font-weight:650;display:inline-block;text-decoration:none;box-shadow:0 3px 8px #3157b72b}button:hover,.action:hover{background:#24459a}button:disabled{opacity:.55}section,.metric{border:1px solid #e0e7f2;border-radius:22px;box-shadow:0 4px 16px #263e7310;padding:24px}.hero{background:linear-gradient(120deg,#203b85,#416bd2 70%,#527cdb);color:white;padding:28px 30px;border-radius:25px;margin:20px 0;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}.hero small,.hero p{color:#e0e9ff}.hero h1,.hero h2{margin:5px 0;font-size:28px}.hero p{margin:0}.hero .action{background:white;color:#3157b7}.metric{border-top:4px solid #5276d6}.metric:nth-child(3n+2){border-top-color:#159986}.metric:nth-child(3n){border-top-color:#d97843}.metric strong{font-size:34px;color:#213e89}.metric strong.compact{font-size:20px;overflow-wrap:anywhere}.metric small{font-weight:650;color:#65748b}.notice{background:#fff4db;color:#765018;border-radius:12px;padding:15px}th{text-align:left;color:#576982;background:#f0f4fc;padding:12px 8px}td{padding:12px 8px}tbody tr:nth-child(even){background:#f8faff}input,textarea,select{border-radius:12px;border-color:#c4cfe2}input:focus,textarea:focus,select:focus{outline:2px solid #9db5ff}a{color:#3157b7}code{overflow-wrap:anywhere}.test-item{background:#f0f4fc;border-radius:12px;padding:13px;margin-top:12px;overflow-wrap:anywhere}.test-item p{margin:5px 0}.chart{height:220px;background:repeating-linear-gradient(to top,#e5ebf5 0,#e5ebf5 1px,transparent 1px,transparent 25%);padding:10px 0}.chart div{background:linear-gradient(to top,#355bc1,#83a6ff);border-radius:5px 5px 0 0}.rankbar{height:7px;background:#e4ebfa;border-radius:8px;overflow:hidden;margin-top:7px}.rankbar i{display:block;height:100%;background:#5579d2;border-radius:8px}.status-forwarded{color:#087b65}.status-blocked,.status-error{color:#b43e39}@media(max-width:600px){main{padding:12px}.hero,section,.metric{padding:17px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.metric strong{font-size:25px}.hero h1,.hero h2{font-size:23px}nav a{padding:8px;font-size:13px}}
#eventfilters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}#eventfilters button{background:#e8eefb;color:#25438a}#eventfilters button.selected{background:#3157b7;color:white}#events,#requests,#requestlog{overflow-x:auto}.status-rejected{color:#b43e39}
/* Material 3 inspired: tonal surfaces, accessible contrast, adaptive layout */
:root{--primary:#3659af;--surface:#fff;--ink:#17243a;--muted:#53647d;background:#edf1f8;color:var(--ink)}body{background:radial-gradient(ellipse at 10% 0%,#dce7ff 0,transparent 42%),#edf1f8;min-height:100vh}header{padding:18px max(24px,calc((100vw - 1440px)/2));background:#f8faff;border-bottom:1px solid #d5deed}header strong{letter-spacing:-.04em;font-size:23px}header span{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}main{max-width:1480px;padding:32px}nav{background:#fff;border:1px solid #dbe3f0;padding:10px;border-radius:22px;box-shadow:0 6px 24px #213c7310}nav a{padding:12px 20px}nav a:hover,nav a:focus-visible{background:#dce7ff;color:#173b8b}nav form{margin-left:auto}section,.metric{border-radius:26px;border:1px solid #dce4ef;box-shadow:0 5px 22px #24385b0b}section h2{color:#243b64;font-size:21px}section form{max-width:100%}section form>label{max-width:900px}h1{font-size:34px}.hero{background:linear-gradient(115deg,#18316c,#3659af 63%,#5279d5);border-radius:30px;padding:34px;box-shadow:0 12px 32px #244a9830}.metric{border-top:0;position:relative;overflow:hidden;background:linear-gradient(145deg,#fff,#f5f8ff);min-height:115px}.metric:before{content:'';position:absolute;right:-20px;top:-30px;width:110px;height:110px;border-radius:50%;background:#dfe8ff;opacity:.6}.metric strong,.metric small{position:relative;z-index:1}.metric:nth-child(3n+2){background:linear-gradient(145deg,#fff,#e7f7f2)}.metric:nth-child(3n+3){background:linear-gradient(145deg,#fff,#fff0e7)}.metric strong{font-variant-numeric:tabular-nums;font-size:36px}.subcard{background:#f1f5fd;border:1px solid #d7e2f5;border-radius:22px;padding:24px;margin:22px 0}.bot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:8px}.bot-grid label{background:white;border:1px solid #dce4ef;border-radius:13px;padding:11px;margin:0;font-size:13px}.check input{accent-color:#3659af;width:18px;height:18px;vertical-align:middle}.chips{display:flex;flex-wrap:wrap;gap:8px}.chips button,#requestfilters button{background:#e2eaff;color:#24488f;box-shadow:none;padding:9px 15px}.chips button:hover,#requestfilters button.selected{background:#3659af;color:#fff}.geo-chart{display:grid;gap:12px;margin:18px 0 30px}.geo-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px}.geo-track{grid-column:1/-1;display:flex;height:12px;border-radius:10px;background:#dce4ef;overflow:hidden}.geo-track i{height:100%;display:block}.geo-track .ok{background:#16836c}.geo-track .stop{background:#c64643}.geo-track .reject{background:#e59a32}.geo-chart:before{content:'Verde: inoltrate · Rosso: filtrate · Ambra: rifiutate · Grigio: altre';font-size:12px;color:#53647d}table th{background:#eaf0fb;color:#334b75}table td{padding:13px 10px}button:focus-visible,a:focus-visible{outline:3px solid #8daeff;outline-offset:3px}input,select,textarea{background:#fff;min-height:44px}input[type=checkbox]{min-height:0}#requestfilters{gap:7px}.status-local{color:#5167a5}.status-mixed{color:#8a5909}@media(max-width:700px){main{padding:12px}header{padding:14px}.hero{padding:23px}section,.metric,.subcard{padding:16px;border-radius:20px}nav a{padding:9px 10px}nav form{margin-left:0}.metric strong{font-size:25px}h1{font-size:27px}}

.geo-block-section{border-top:4px solid #c64643}.geo-block-section .metric:first-child strong{color:#c64643}.geo-block-section details{margin-top:20px}.geo-block-section summary{cursor:pointer;font-weight:600}.geo-block-section #geo-block-table,.geo-block-section #geo-block-log{overflow-x:auto}
