/* ScanMAP — modulo pubblico eventi. Tutte le regole sono limitate a .ev-shell. */
.ev-shell{--ev-blue:#1262a1;--ev-text:#193451;--ev-muted:#58718a;--ev-edge:#dbe6f0;--ev-bg:#f7faff;--ev-focus:#4ea4e7;color:var(--ev-text);max-width:1220px;margin:36px auto 42px;padding:0 16px;font:400 15px/1.5 system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.ev-shell *{box-sizing:border-box}
.ev-intro{background:linear-gradient(114deg,#113b66 0%,#1268a4 70%,#2c88bb 100%);border-radius:22px;color:#fff;padding:30px 32px;display:flex;gap:26px;align-items:center;justify-content:space-between;margin-bottom:21px;box-shadow:0 12px 35px #133b6d20}
.ev-eyebrow{font-size:12px;font-weight:850;letter-spacing:.1em;text-transform:uppercase;color:#caeafc}
.ev-intro h2{font-size:clamp(24px,3.2vw,34px);line-height:1.15;letter-spacing:-.03em;margin:9px 0 12px;color:#fff}
.ev-intro p{max-width:690px;color:#e3eff9;margin:0;line-height:1.65}
.ev-process{flex:0 0 auto;background:#ffffff1c;border:1px solid #ffffff50;border-radius:14px;padding:12px 16px;font-weight:800;white-space:nowrap}
.ev-process small{display:inline-block;margin-left:16px;font-size:12px;color:#c8e8f7;font-weight:500}
.ev-dot{width:9px;height:9px;background:#78efb2;border-radius:50%;display:inline-block;margin-right:6px;box-shadow:0 0 0 4px #6effb52a}
.ev-layout{display:grid;grid-template-columns:minmax(0,1fr) 242px;gap:20px;align-items:start}
.ev-form{background:#fff;border:1px solid var(--ev-edge);box-shadow:0 6px 25px #0c305a12;border-radius:19px;min-width:0;padding:4px 26px 26px}
.ev-group{margin:0;padding:26px 0 28px;min-width:0;border:0;border-bottom:1px solid var(--ev-edge)}
.ev-group:last-of-type{border-bottom:0;padding-bottom:16px}
.ev-group legend{float:none;font-size:19px;font-weight:850;color:#173a5b;padding:0;margin:0 0 18px;width:100%;display:flex;align-items:center;gap:11px}
.ev-step{background:#e7f2fc;color:#0f65a3;border-radius:10px;min-width:34px;height:34px;display:inline-flex;justify-content:center;align-items:center;font-size:15px;font-weight:900}
.ev-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px 18px;min-width:0}
.ev-field{display:flex;flex-direction:column;gap:7px;color:#244460;font-weight:750;font-size:13px;min-width:0}
.ev-wide{grid-column:1/-1}
.ev-field span,.ev-check b{color:#c63250}
.ev-field small{font-size:12px;color:var(--ev-muted);font-weight:500;line-height:1.55}
.ev-field input:not([type=checkbox]),.ev-field select,.ev-field textarea{border:1px solid #bfcfe0;background:#fff;color:#143550;font:500 15px/1.45 system-ui,Arial,sans-serif;border-radius:10px;padding:12px 13px;min-height:46px;width:100%;min-width:0;outline:0;transition:border-color .15s,box-shadow .15s}
.ev-field input[type=file]{padding:9px 12px}
.ev-field textarea{resize:vertical;min-height:115px;max-height:340px}
.ev-field input::placeholder,.ev-field textarea::placeholder{color:#8197ab}
.ev-field input:focus-visible,.ev-field textarea:focus-visible,.ev-field select:focus-visible{border-color:var(--ev-focus);box-shadow:0 0 0 3px #4ea4e730}
.ev-field input:disabled{background:#f2f5f9;opacity:.65}
.ev-hidden{display:none!important}
.ev-toggle-label{flex-direction:row;align-items:center;gap:11px;align-self:end;min-height:46px;padding:8px 4px;font-size:14px}
.ev-toggle-label input,.ev-check input{accent-color:var(--ev-blue);width:19px;height:19px;flex:0 0 19px;margin:0}
.ev-hint{color:#55748a;margin:15px 0 0;font-size:12px}
.ev-geo{padding:17px;margin-top:19px;background:#f3f8fd;border:1px solid #d5e6f4;border-radius:14px}
.ev-geo-top{display:flex;align-items:center;justify-content:space-between;gap:16px}
.ev-geo-top strong{font-size:15px;color:#173a5a}
.ev-geo-top p{font-size:12px;line-height:1.5;color:#536d84;margin:4px 0 0}
.ev-button{border-radius:11px;min-height:45px;padding:11px 17px;font:800 14px system-ui,Arial,sans-serif;cursor:pointer;transition:background .15s,box-shadow .15s,opacity .15s;text-align:center;white-space:normal}
.ev-button:focus-visible{outline:3px solid #74b6e2;outline-offset:2px}
.ev-outline{border:1px solid #0f65a3;background:#fff;color:#0f65a3}
.ev-outline:hover{background:#e5f2fc}
.ev-primary{background:#e72e35;color:#fff;border:1px solid #e72e35;box-shadow:0 5px 18px #a4243922}
.ev-primary:hover:not(:disabled){background:#c52130}
.ev-button:disabled{cursor:not-allowed;opacity:.5}
.ev-message{background:#fff;border-radius:9px;border:1px solid #e0e8f2;padding:10px 13px;margin:16px 0 0;color:#426480;font-size:13px}
.ev-message.error{background:#fff2f2;border-color:#f0c3c6;color:#a12d32}
.ev-message.ok{background:#e9f8f0;border-color:#bfe6d0;color:#19633e}
.ev-options{display:grid;gap:8px;margin-top:12px}
.ev-option{display:flex;gap:11px;align-items:flex-start;border:1px solid #d3e0ec;border-radius:10px;padding:11px 12px;background:#fff;cursor:pointer;color:#244764;font-size:13px;line-height:1.5}
.ev-option:has(input:checked){border-color:#1c77b2;background:#eaf5fc;box-shadow:inset 0 0 0 1px #1c77b2}
.ev-option input{flex:0 0 17px;margin-top:2px;accent-color:#1069a5}
.ev-option strong{display:block;font-size:13px;color:#17334c}
.ev-option small{display:block;color:#5b7790;margin-top:2px}
.ev-map-wrap{margin-top:14px}
.ev-map-wrap iframe{display:block;width:100%;height:285px;border-radius:11px;border:1px solid #d7e5ef;background:#dae7ee}
.ev-coords{background:#fff;border:1px solid #e3eaf1;border-radius:9px;padding:9px 11px;margin:9px 0 7px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:7px 16px;font-size:12px;color:#44677d}
.ev-coords strong{color:#0e507a;font-variant-numeric:tabular-nums}
.ev-coords a,.ev-map-wrap small a,.ev-check a{color:#106ba7;text-underline-offset:2px}
.ev-map-wrap small{color:#527084;font-size:11px}
.ev-check{display:flex;align-items:flex-start;gap:11px;color:#314e68;font-size:13px;line-height:1.55;font-weight:600}
.ev-check input{margin-top:2px}
.ev-geo .ev-check{margin-top:15px}
.ev-consent{border-top:1px solid var(--ev-edge);padding:23px 0 0}
.ev-submitbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:22px;padding-top:18px;border-top:1px solid #edf1f6}
.ev-submitbar p{font-size:12px;line-height:1.5;color:#5b7488;margin:0;max-width:380px}
.ev-submitbar .ev-primary{min-width:200px}
.ev-final{margin-top:18px;padding:16px 18px;border-radius:11px;font-weight:650;font-size:14px}
.ev-final.success{background:#e9f8ef;color:#175b3c;border:1px solid #b2e2c6}
.ev-final.error{background:#fff1f1;color:#9f252c;border:1px solid #f3c8c8}
.ev-side{display:grid;gap:14px}
.ev-side-card,.ev-side-note{border:1px solid #dbe6f0;border-radius:14px;background:#fff;padding:19px 18px;box-shadow:0 4px 16px #112a4b0c}
.ev-side-card>span{font-size:25px;background:#eaf5fc;color:#1a70a7;width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:12px;font-weight:850}
.ev-side-card h3{font-size:16px;line-height:1.2;color:#163f65;margin:0 0 8px;font-weight:850}
.ev-side-card p,.ev-side-note p{font-size:13px;line-height:1.6;color:#59748b;margin:0}
.ev-side-note{background:#f0f8fe;border-color:#cae3f4}
.ev-side-note strong{font-size:13px;color:#1a527f}
.ev-side-note p{margin-top:9px}
.ev-hp{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(100%);white-space:nowrap}
@media(max-width:920px){.ev-layout{grid-template-columns:minmax(0,1fr)}.ev-side{grid-template-columns:repeat(2,minmax(0,1fr))}.ev-intro{align-items:flex-start;flex-wrap:wrap}.ev-process{white-space:normal}}
@media(max-width:600px){.ev-shell{margin:23px auto 32px;padding:0 9px}.ev-intro{padding:21px 20px;border-radius:17px}.ev-form{padding:2px 17px 20px;border-radius:14px}.ev-group{padding:21px 0}.ev-grid{grid-template-columns:minmax(0,1fr);gap:14px}.ev-group legend{font-size:18px}.ev-geo{padding:13px}.ev-geo-top{flex-direction:column;align-items:stretch}.ev-geo-top .ev-button{width:100%}.ev-map-wrap iframe{height:230px}.ev-submitbar{flex-direction:column;align-items:stretch}.ev-submitbar .ev-primary{width:100%}.ev-side{grid-template-columns:1fr}.ev-side-card{padding:15px}.ev-side-card>span{margin-bottom:6px}}
@media(prefers-reduced-motion:reduce){.ev-shell *{scroll-behavior:auto;transition:none!important}}
