/* Mappe di consegna: interfaccia adattiva, gesti isolati e contrasto AA. */
:root{--brand:#009fe3;--blue:#006a99;--ink:#172f3b;--muted:#52636d;--line:#dce5e9;--paper:#fff;--soft:#f2f7fa;--sidebar:380px;--shadow:0 8px 32px #122b3c26;--safe-bottom:env(safe-area-inset-bottom,0px);--safe-top:env(safe-area-inset-top,0px);font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}html,body{margin:0;padding:0}body{background:var(--soft);font-size:15px;line-height:1.5}button,input,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button,select{color:var(--ink)}button{cursor:pointer;border:0;background:none}button,a,input,select{touch-action:manipulation}button{min-width:44px;min-height:44px}a{color:var(--blue)}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--blue);outline-offset:3px;box-shadow:0 0 0 6px #fff}h1,h2,p{margin:0}h1,h2{line-height:1.22;letter-spacing:-.025em}h2{font-size:21px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:20px;top:-80px;z-index:1500;padding:12px 18px;background:#fff;border-radius:10px}.skip-link:focus{top:16px}
.campaign-page{position:fixed;inset:0;width:100%;height:100vh;height:100dvh;overflow:hidden}.map-shell{position:absolute;inset:0 0 0 var(--sidebar);overflow:hidden;background:#dce8e8}#map{width:100%;height:100%;background:#dce8e8}.masthead{position:absolute;top:0;left:0;width:var(--sidebar);height:232px;background:var(--paper);z-index:500;padding:27px 26px 18px;border-right:1px solid var(--line)}.brand-row,.brand,.header-actions{display:flex;align-items:center}.brand-row{justify-content:space-between;gap:12px;margin-bottom:21px}.brand{gap:9px;font-size:31px;font-weight:760;letter-spacing:-1.7px}.brand img{object-fit:contain}.header-actions{gap:3px}.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:12px;color:var(--blue);font-size:24px}.icon-button:hover{background:var(--soft)}.button-label{font-size:12px;font-weight:650}.info-button{font-size:20px;font-family:Georgia,serif;font-weight:700}.masthead h1{font-size:24px;max-width:310px}.campaign-subtitle{color:var(--muted);font-size:12px;margin-top:9px;line-height:1.55}.desktop-counts{color:var(--blue);font-size:13px;font-weight:700;letter-spacing:.015em;margin-top:15px}.list-panel{position:absolute;left:0;top:232px;bottom:0;width:var(--sidebar);z-index:499;background:var(--paper);border-right:1px solid var(--line)}.panel-handle{display:none}.list-content{height:100%;display:flex;flex-direction:column;overflow:hidden}.list-content>h2{padding:20px 26px 15px;font-size:15px;letter-spacing:0;border-top:1px solid var(--line)}.point-list{margin:0;padding:0 12px 24px;list-style:none;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;flex:1}.point-list li{margin:0 0 3px}.point-item{width:100%;display:flex;align-items:center;gap:13px;text-align:left;padding:13px 12px;border-radius:12px;min-height:72px}.point-item:hover{background:var(--soft)}.point-item.is-selected{background:#e5f3fa;box-shadow:inset 3px 0 var(--blue)}.point-number{width:32px;height:32px;border-radius:50%;background:var(--soft);color:var(--blue);display:grid;place-items:center;flex:none;font-size:13px;font-weight:750}.is-selected .point-number{background:var(--blue);color:#fff}.point-item-content{min-width:0;flex:1}.point-address{display:block;font-weight:650;font-size:13px;line-height:1.45}.point-photo-count{display:block;color:var(--muted);font-size:12px;margin-top:3px}.point-arrow{color:var(--blue);font-size:25px;font-weight:400}
.map-tools{position:absolute;right:22px;top:22px;z-index:450;display:flex;align-items:center;gap:9px}.map-tools select,.map-tools button{height:44px;border:1px solid #ffffffaa;background:#fffffff5;border-radius:12px;box-shadow:0 2px 12px #18313b1a;font-size:13px;font-weight:650}.map-tools select{max-width:190px;padding:0 10px}.map-tools button{padding:0 12px;display:flex;align-items:center;gap:6px}.map-tools button>span{font-size:24px;font-weight:400}.map-warning{position:absolute;left:20px;bottom:32px;z-index:450;background:#fff9e8;border:1px solid #dec58e;color:#594012;max-width:440px;padding:11px 15px;border-radius:11px;box-shadow:var(--shadow);font-size:12px}.map-attribution{position:absolute;right:0;bottom:0;z-index:440;max-width:100%;background:#fffffff0;color:#344d5b;font-size:10px;line-height:1.35;padding:4px 8px;text-align:right;pointer-events:auto}.map-attribution a{color:#244554}.leaflet-control-zoom{border:0!important;box-shadow:var(--shadow)!important;margin:82px 22px 0 0!important;border-radius:12px!important;overflow:hidden}.leaflet-control-zoom a{width:44px!important;height:44px!important;line-height:44px!important;color:var(--blue)!important;border-color:var(--line)!important}.leaflet-container{font-family:inherit}.leaflet-container .leaflet-interactive:focus{outline:3px solid var(--blue);outline-offset:4px}.etrust-marker{background:transparent;border:0;border-radius:50%;display:grid;place-items:center}.marker-disc{position:relative;width:40px;height:40px;border-radius:50%;background:#fff;border:2px solid var(--brand);display:grid;place-items:center;box-shadow:0 3px 9px #14344666;transition:transform .2s ease,box-shadow .2s ease}.marker-disc img{width:27px;height:24px;object-fit:contain}.marker-number{position:absolute;right:-7px;top:-7px;min-width:22px;height:22px;display:grid;place-items:center;padding:0 4px;background:var(--blue);color:#fff;border:2px solid #fff;border-radius:20px;font-size:11px;font-weight:800}.etrust-marker.is-selected .marker-disc{transform:scale(1.15);box-shadow:0 0 0 7px #fff,0 0 0 10px var(--blue),0 8px 22px #163b4766}.etrust-marker.is-selected{z-index:1000!important}.etrust-cluster{border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 2px 12px #12354c59;border:2px solid #fff}.cluster-disc{display:grid;place-items:center;background:var(--blue);color:#fff;width:40px;height:40px;border-radius:50%;font-size:16px;font-weight:750}.leaflet-marker-icon:focus-visible{outline:3px solid var(--blue);outline-offset:5px;box-shadow:0 0 0 8px #fff}.leaflet-cluster-spider-leg{stroke:var(--blue);stroke-width:2}
.point-panel{position:absolute;left:calc(var(--sidebar) + 22px);top:22px;width:350px;max-height:calc(100vh - 65px);max-height:calc(100dvh - 65px);z-index:510;background:#fff;box-shadow:var(--shadow);border:1px solid #ffffffa8;border-radius:19px;overflow:hidden;display:flex;flex-direction:column}.point-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:6px;padding:22px 15px 18px 22px}.point-heading h2{font-size:20px;line-height:1.35}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);font-weight:600;margin-bottom:6px}.close-button{font-size:29px;line-height:1;border-radius:50%;flex:none;font-weight:300;color:var(--muted)}.close-button:hover{background:var(--soft);color:var(--ink)}.point-heading .close-button{margin-top:-7px}.point-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 20px 19px;overflow-y:auto;overscroll-behavior:contain;min-height:0}.photo-thumb{display:block;padding:0;overflow:hidden;border-radius:12px;background:var(--soft);position:relative;aspect-ratio:3/4}.photo-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .22s ease}.photo-thumb:hover img{transform:scale(1.025)}.thumb-label{position:absolute;left:8px;bottom:8px;background:#16313eea;color:#fff;padding:3px 8px;border-radius:5px;font-size:11px;font-weight:600}.point-navigation{display:flex;justify-content:space-between;gap:10px;padding:10px 16px 13px;border-top:1px solid var(--line);background:#fff}.point-navigation button{color:var(--blue);font-size:13px;font-weight:700;border-radius:10px;padding:0 8px}.point-navigation button:hover{background:var(--soft)}
.dialog-backdrop,.share-fallback{position:fixed;inset:0;z-index:1000;background:#142f45a1;display:grid;place-items:center;padding:24px;backdrop-filter:blur(5px)}.info-card,.share-fallback>div{width:100%;max-width:470px;background:#fff;border-radius:23px;padding:25px 27px;box-shadow:0 16px 80px #06192366;max-height:calc(100vh - 48px);overflow-y:auto}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.dialog-heading h2{font-size:22px}.info-card>p{color:var(--muted);font-size:14px;line-height:1.7;margin-top:15px}.download-all{display:flex;justify-content:space-between;align-items:center;min-height:49px;margin-top:24px;padding:10px 16px;background:var(--blue);color:#fff;text-decoration:none;border-radius:11px;font-size:14px;font-weight:650}.download-all span{font-size:23px}.info-card .info-attribution{font-size:10px;line-height:1.5;margin-top:22px}.info-card .credit{font-size:11px;padding-top:15px;border-top:1px solid var(--line);margin-top:15px}.share-fallback label{display:block;font-size:13px;color:var(--muted);margin-bottom:10px}.share-fallback input{width:100%;min-height:48px;background:var(--soft);border:1px solid var(--line);border-radius:8px;padding:9px;font-size:14px;user-select:all}
.viewer{position:fixed;inset:0;z-index:1100;background:#0d1720;color:#fff;display:flex;flex-direction:column;height:100vh;height:100dvh}.viewer-toolbar{height:calc(72px + var(--safe-top));padding:calc(12px + var(--safe-top)) 22px 12px 26px;display:flex;align-items:center;gap:20px;flex:none;background:#14212b}.viewer-toolbar p{font-size:14px;font-weight:650;flex:1}.viewer-download{color:#fff;text-decoration:none;display:flex;align-items:center;gap:8px;min-height:44px;font-size:13px}.viewer-download span{font-size:21px}.viewer .close-button{color:#fff}.viewer .close-button:hover{background:#354653}.viewer-stage{flex:1;min-height:0;min-width:0;position:relative;display:grid;place-items:center;overflow:auto;touch-action:pan-y pinch-zoom}.viewer-stage>img{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;user-select:none;-webkit-user-select:none}.viewer-loading{font-size:14px;color:#dbe4eb}.viewer-error{text-align:center;color:#dbe4eb;padding:20px}.viewer-error button{margin-top:15px;padding:8px 25px;border-radius:9px;background:#fff;color:var(--ink);font-weight:650}.viewer-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:calc(82px + var(--safe-bottom));padding:12px 22px calc(12px + var(--safe-bottom));background:#14212b;flex:none}.viewer-footer p{font-size:14px;font-weight:550;text-align:center;line-height:1.5}.viewer-footer button{background:#2b3b48;color:#fff;border-radius:50%;font-size:32px;min-width:48px;width:48px;height:48px;line-height:1;flex:none}.viewer :focus-visible{outline-color:#fff;box-shadow:0 0 0 6px #006a99}.toast{position:fixed;left:50%;bottom:calc(24px + var(--safe-bottom));transform:translateX(-50%);padding:10px 18px;background:var(--ink);color:#fff;border-radius:11px;box-shadow:var(--shadow);z-index:1300;max-width:calc(100vw - 24px);font-size:13px}.noscript-message{position:absolute;inset:45% 20px auto;z-index:800;margin:auto;max-width:480px;padding:25px;border-radius:15px;background:#fff;box-shadow:var(--shadow);text-align:center}
.standalone-page{display:grid;min-height:100vh;min-height:100dvh;place-items:center;padding:28px;background:linear-gradient(155deg,#eaf5fb,#f6fafb 60%,#e8f3f7)}.standalone-card{max-width:560px;width:100%;background:#fff;padding:50px 40px;border:1px solid var(--line);border-radius:24px;box-shadow:0 15px 60px #1836450c;text-align:center}.standalone-card img{object-fit:contain;display:block;margin:0 auto 28px}.standalone-card h1{font-size:27px;line-height:1.35}.standalone-card p{color:var(--muted);margin-top:18px;max-width:360px;margin-inline:auto}
@media(min-width:761px) and (max-width:1190px){:root{--sidebar:340px}.masthead{padding-inline:22px}.masthead h1{font-size:23px}.point-panel{top:83px;max-height:calc(100vh - 120px);max-height:calc(100dvh - 120px);width:315px}}
@media(max-width:760px){:root{--sidebar:0px}.map-shell{inset:0}.masthead{top:calc(12px + var(--safe-top));left:12px;width:calc(100% - 24px);height:auto;padding:13px 16px 14px;border:1px solid #ffffffbf;border-radius:17px;box-shadow:var(--shadow);background:#fffffff5;backdrop-filter:blur(10px)}.brand-row{margin-bottom:8px}.brand{font-size:27px;gap:6px}.brand img{width:33px;height:29px}.header-actions{gap:4px}.icon-button{min-height:38px;height:44px;min-width:44px}.button-label{font-size:11px}.masthead h1{font-size:19px;max-width:none;letter-spacing:-.025em}.campaign-subtitle{font-size:10px;margin-top:5px;white-space:normal}.desktop-counts{display:none}.map-tools{right:12px;top:calc(163px + var(--safe-top));gap:7px}.map-tools select,.map-tools button{height:44px;font-size:11px;border-radius:11px}.map-tools select{max-width:168px;padding:0 8px}.map-tools button{padding:0 9px;gap:4px}.map-tools button>span{font-size:22px}.leaflet-control-zoom{display:none}.map-attribution{bottom:calc(84px + var(--safe-bottom));max-width:100%;padding:3px 6px;font-size:8px;line-height:1.35}.map-warning{left:12px;right:12px;bottom:calc(114px + var(--safe-bottom));max-width:none;font-size:11px;padding:10px 13px}.list-panel{top:auto;bottom:0;left:0;width:100%;height:68vh;height:68dvh;max-height:620px;z-index:505;border:1px solid #e0e9ed;border-bottom:0;border-radius:23px 23px 0 0;box-shadow:0 -6px 35px #1235431a;transform:translateY(calc(100% - 84px - var(--safe-bottom)));transition:transform .25s ease;display:flex;flex-direction:column;padding-bottom:var(--safe-bottom)}.list-panel.is-open{transform:translateY(0)}.list-panel.is-dragging{transition:none}.panel-handle{display:flex;align-items:center;justify-content:center;flex:none;position:relative;width:100%;height:84px;gap:13px;padding:20px 20px 10px;font-size:14px;font-weight:700;color:var(--ink);touch-action:pan-x pinch-zoom}.handle-bar{position:absolute;top:10px;left:calc(50% - 18px);width:36px;height:4px;border-radius:8px;background:#b8c9d2}.handle-chevron{position:absolute;right:24px;top:32px;font-size:25px;font-weight:400;color:var(--blue);transition:transform .2s ease}.is-open .handle-chevron{transform:rotate(180deg)}.list-content{flex:1;min-height:0}.list-content>h2{padding:0 24px 13px;border:0;font-size:15px}.point-list{padding:0 12px 12px}.point-item{min-height:69px;padding:11px 12px}.point-address{font-size:13px}.point-panel{top:auto;left:12px;right:12px;bottom:calc(103px + var(--safe-bottom));width:auto;max-height:calc(100vh - 320px - var(--safe-top) - var(--safe-bottom));max-height:calc(100dvh - 320px - var(--safe-top) - var(--safe-bottom));border-radius:18px;z-index:520}.point-heading{padding:17px 13px 13px 18px;flex:none}.point-heading h2{font-size:18px}.eyebrow{font-size:10px;margin-bottom:4px}.point-photos{gap:10px;padding:0 17px 15px;grid-template-columns:repeat(3,minmax(0,1fr))}.photo-thumb{border-radius:8px}.point-navigation{padding:7px 12px 9px;flex:none}.point-navigation button{font-size:12px}.thumb-label{font-size:9px;left:4px;bottom:4px;padding:2px 5px}.dialog-backdrop,.share-fallback{padding:18px}.info-card,.share-fallback>div{padding:21px;border-radius:20px;max-height:calc(100vh - 36px);max-height:calc(100dvh - 36px)}.info-card>p{font-size:13px}.dialog-heading{margin-bottom:10px}.viewer-toolbar{padding-inline:15px;gap:14px}.viewer-toolbar p{font-size:13px}.viewer-download{font-size:12px}.viewer-footer{padding-inline:14px;gap:12px}.viewer-footer p{font-size:12px}.viewer-footer button{width:44px;min-width:44px;height:44px}.toast{bottom:calc(101px + var(--safe-bottom))}.standalone-card{padding:38px 23px}.standalone-card h1{font-size:24px}}
@media(max-width:760px) and (max-height:620px){.masthead{padding-top:8px;padding-bottom:8px}.brand-row{margin-bottom:0}.campaign-subtitle{display:none}.map-tools{top:calc(123px + var(--safe-top))}.point-panel{max-height:calc(100dvh - 205px - var(--safe-top) - var(--safe-bottom))}.point-photos{max-height:140px}.point-heading{padding-block:9px}.eyebrow{display:none}}
@media(prefers-reduced-motion:no-preference){.etrust-marker.is-selected .marker-disc{animation:marker-select .35s ease-out}@keyframes marker-select{from{transform:scale(.94)}to{transform:scale(1.15)}}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
