*{box-sizing:border-box}body{margin:0;color:#173729;background:#f7faf6;font-family:Inter,"Segoe UI",Arial,sans-serif}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #3881d0;outline-offset:2px}[hidden]{display:none!important}.map-header{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;border-bottom:1px solid #dbe4db;background:white}.brand{text-decoration:none;font-size:26px;color:#174c36}.map-header nav{display:flex;gap:22px}.map-header nav a{font-size:13px;color:#345c47;text-decoration:none}.trip-layout{display:grid;grid-template-columns:370px 1fr;min-height:calc(100vh - 76px)}.trip-panel{padding:24px;background:#fcfdfb;overflow:auto;max-height:calc(100vh - 76px);border-right:1px solid #dbe4db}.map-eyebrow{font-size:10px;letter-spacing:.12em;font-weight:700;color:#678b70;margin:0 0 10px}.trip-panel h1{font-size:26px;line-height:1.15;letter-spacing:-.8px;margin:0 0 22px}label{display:block;font-size:12px;font-weight:650;margin:14px 0 7px}.input-row{display:flex;gap:5px}input{background:white;border:1px solid #bfd2c3;border-radius:10px;padding:12px;min-width:0;width:100%;font-size:13px;color:#234b34}.input-row button,.origin-actions button,.trip-actions button{border:1px solid #cbd9cc;background:#f2f7f0;border-radius:8px;color:#305c41;font-size:12px;padding:9px 11px}.origin-actions{display:flex;gap:6px;margin-top:8px}.origin-actions button{font-size:11px;padding:8px}.plan-button{background:#174c36;color:white;border:0;border-radius:11px;width:100%;padding:13px;margin-top:18px;font-weight:650}#trip-status{font-size:13px;line-height:1.5;color:#58725f;margin:16px 0}.route-option{display:block;width:100%;padding:14px;text-align:left;background:white;border:1px solid #d7e2d5;border-radius:12px;margin:8px 0;color:#264a34}.route-option.selected{border:2px solid #227849;padding:13px;background:#eef6ee}.route-option:disabled{opacity:.7}.route-option b{display:block;font-size:14px}.route-option .route-metric{display:block;margin:7px 0;font-size:18px;font-weight:650}.route-option .route-count{display:block;font-size:12px;line-height:1.4;color:#7c5e3a}.route-option.selected .route-count{color:#315e3f}.route-option .route-failure{font-size:12px;line-height:1.4;display:block;margin-top:7px}.route-explanation{font-size:12px;line-height:1.5;color:#765d38}.trip-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:15px}#position-status,#data-status{font-size:11px;line-height:1.5;color:#50705a}#data-status{border-top:1px solid #dae5d7;padding-top:14px}.source-note,.service-note{font-size:11px;line-height:1.6;color:#6c7e6c}.service-note a{color:#315e3f}.directions{font-size:12px;line-height:1.6}.directions summary{cursor:pointer;font-weight:650;padding:10px 0}.directions ol{padding-left:20px}.directions li{padding:7px 0;border-bottom:1px solid #e4ebe0}.trip-map-panel{position:relative;min-height:550px}#trip-map{position:absolute;inset:0;background:#e3ebdf}.map-legend{position:absolute;left:12px;top:12px;display:flex;gap:13px;background:#ffffffed;border:1px solid #dae3d5;border-radius:8px;padding:10px;z-index:1;font-size:11px}.map-legend span{display:flex;align-items:center;gap:5px}.map-legend i{display:inline-block;width:8px;height:8px;border-radius:50%}.flock-key{background:#bc6136}.alpr-key{background:#4d778b}.route-key{background:#327ee0}#map-camera-summary{position:absolute;left:12px;right:12px;bottom:32px;background:#ffffffed;border-radius:8px;padding:9px;font-size:11px;pointer-events:none}.map-point-label{font-size:12px;background:white;padding:5px 9px;border-radius:6px;box-shadow:0 2px 10px #22392433;color:#245638}.map-popup p{font-size:12px;line-height:1.6;margin:8px 0}.map-popup a{color:#235c3c}#search-results{border:1px solid #c8d9c9;background:#f0f6ed;border-radius:9px;margin-top:12px;max-height:210px;overflow:auto;padding:5px}#search-results p{font-size:12px;margin:9px}#search-results button{font-size:12px;line-height:1.5;text-align:left;width:100%;padding:10px;border:0;background:transparent;color:#254c35;border-radius:6px}#search-results button:hover{background:#dbead9}.embed .map-header{height:48px;padding:0 15px}.embed .map-header .brand{font-size:22px}.embed .map-header nav{display:none}.embed .trip-layout{display:flex;flex-direction:column;min-height:100vh}.embed .trip-panel{max-height:none;border:0;padding:14px 15px}.embed .map-eyebrow{display:none}.embed .trip-panel h1{font-size:20px;margin-bottom:10px}.embed .trip-map-panel{min-height:340px;order:-1}.embed .map-legend{gap:8px;font-size:9px}.embed #map-camera-summary{font-size:10px}.embed .service-note{margin-bottom:0}@media(max-width:760px){.map-header{height:auto;min-height:65px;padding:15px 20px;flex-wrap:wrap;gap:10px}.map-header nav{gap:16px}.trip-layout{display:flex;flex-direction:column}.trip-panel{max-height:none;border:0;padding:22px 20px}.trip-map-panel{min-height:460px;order:-1}#trip-map{height:100%}.map-legend{font-size:10px}.embed .trip-map-panel{min-height:320px}}

.widget .map-header{display:none}.widget .trip-layout{min-height:100vh}.widget .trip-panel{max-height:100vh}.analytics-consent{position:fixed;bottom:16px;left:16px;right:16px;max-width:580px;z-index:1000;padding:20px;border-radius:16px;background:#173e2c;color:white;box-shadow:0 8px 32px #0004}.analytics-consent button,.analytics-preferences{border:1px solid #ccd9ca;border-radius:9px;padding:10px;margin:4px;color:#1c5138;background:#f6faf3;font-size:12px}.analytics-consent p{font-size:13px;line-height:1.5}.analytics-preferences{position:relative;margin:12px 24px}
@media(min-width:761px){html:not(.embed):not(.widget) body{height:100vh;overflow:hidden}.trip-layout{height:calc(100vh - 76px)}.trip-panel{padding-bottom:50px}.analytics-preferences{position:fixed;left:12px;bottom:3px;margin:0;font-size:10px;padding:6px}.embed .trip-layout{height:auto}}
.avoidance-control{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 17px;color:#315a41;font-size:12px;font-weight:650}.avoidance-control button{display:flex;align-items:center;gap:8px;border:0;padding:5px 0;background:transparent;color:#597261;font-size:11px}.switch-track{display:block;width:33px;height:19px;border-radius:20px;background:#c6d5ca;position:relative;transition:background .15s}.switch-track:after{content:"";position:absolute;top:3px;left:3px;width:13px;height:13px;border-radius:50%;background:white;box-shadow:0 1px 3px #12392525;transition:transform .15s}.avoidance-control button[aria-checked=true] .switch-track{background:#227849}.avoidance-control button[aria-checked=true] .switch-track:after{transform:translateX(14px)}.embed .avoidance-control{margin-bottom:12px;font-size:11px}@media(prefers-reduced-motion:reduce){.switch-track,.switch-track:after{transition:none}}
.camera-export{margin:18px 0;border-top:1px solid #d6e2d9;padding-top:14px;font-size:12px}.camera-export summary{font-weight:650;cursor:pointer}.camera-export p{line-height:1.7;color:#5c7363}.camera-export label{display:block;margin-top:10px}.camera-export select{width:100%;padding:10px;border:1px solid #cbdad0;border-radius:8px;background:white;margin:5px 0}.camera-export button{margin-top:10px;padding:10px;border:1px solid #b9cfc0;border-radius:8px;color:#174c36;background:#eef4ee;cursor:pointer}.camera-export a{color:#225840}.embed .camera-export{display:none}

.map-location-entry{position:absolute;left:12px;top:55px;right:54px;z-index:2;max-width:340px;pointer-events:none}.map-location-entry button{pointer-events:auto;display:flex;align-items:center;gap:8px;min-height:44px;padding:10px 15px;background:#174c36;color:white;border:1px solid #fff;border-radius:12px;font-size:13px;font-weight:650;box-shadow:0 3px 12px #173d2c30}.map-location-entry button span{font-size:20px;line-height:1}.map-location-entry p{margin:6px 0 0;padding:5px 8px;background:#fffffff0;border-radius:7px;font-size:10px;line-height:1.5;color:#315640;max-width:300px}.origin-actions button{min-height:44px}#origin-location{color:#174c36;font-weight:650}.embed .map-location-entry{right:48px;top:48px}.embed .map-location-entry button{font-size:12px;padding:9px 12px}.embed .map-location-entry p{font-size:10px}

#origin.demo-start-highlight{outline:3px solid #287b52;outline-offset:3px;animation:demo-start-attention 2.6s ease-out;caret-color:#174c36}
/* Keep the selected trip and camera pins visible in the demo viewport. Details begin below the map. */
.embed .trip-map-panel{display:flex;flex-direction:column;min-height:0;overflow:visible}
.embed #trip-map{position:relative;inset:auto;height:360px;min-height:360px;flex:0 0 360px}
.embed #map-camera-summary{display:none;position:static;order:3;flex:0 0 auto;margin:0;padding:12px 14px;border-top:1px solid #dbe6d9;border-radius:0;background:#f7faf6;font-size:11px;line-height:1.5}
.embed.embed-trip-ready #map-camera-summary{display:block}
.embed .maplibregl-ctrl-attrib{max-width:116px;font-size:8px;line-height:1.2;opacity:.8;white-space:normal}
#route-overview{position:relative;background:#fcfdfb;padding:12px 14px;border-top:1px solid #d7e2d5}
#route-overview h2{font-size:17px;margin:0 0 8px;line-height:1.2}
.map-legend{flex-wrap:wrap;max-width:calc(100% - 62px);gap:6px 10px}.avoid-key{background:#cc3346}
#route-results{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#route-results .route-option{margin:0;padding:10px;min-width:0;border-top:4px solid var(--route-color)}
#route-results .route-option b{font-size:12px;line-height:1.3}
#route-results .route-metric{font-size:14px;margin:8px 0}
#route-results .route-count,#comparison-note{font-size:11px;line-height:1.4}
#comparison-note{margin:9px 0 0;color:#506958}
#compare-again{margin-top:10px;border:1px solid #c1d3c5;background:#eff5ee;color:#174c36;padding:9px 12px;border-radius:8px}
.fastest-options{margin:14px 0;font-size:12px}.fastest-options summary{cursor:pointer;padding:10px 0;font-weight:650}
.trip-has-routes .map-location-entry{display:none}
.embed .trip-map-panel{flex:none}
.embed #map-camera-summary{display:none!important}
@media(min-width:761px){html:not(.embed) #route-overview{position:absolute;right:20px;bottom:25px;width:min(480px,calc(100% - 40px));border:1px solid #d7e2d5;border-radius:12px;z-index:2}}
@media(max-width:760px){.trip-map-panel{display:flex;flex-direction:column;min-height:0;flex:none}#trip-map{position:relative;inset:auto;height:48vh;min-height:280px;flex:none}.trip-map-panel #map-camera-summary{display:none}}
@media(max-width:760px){.embed .trip-map-panel{min-height:0}.embed #trip-map{height:360px;min-height:360px}}
.embed #trip-map{height:clamp(240px,48dvh,360px);min-height:240px;flex:none}
/* Full camera labels belong below the map so they cannot cover location controls. */
.trip-map-panel .map-legend{position:static;max-width:none;flex:none;flex-wrap:wrap;gap:7px 12px;margin:0;border:0;border-top:1px solid #dbe6d9;border-radius:0;padding:9px 12px;background:#f7faf6}
.map-location-entry,.embed .map-location-entry{top:12px}
#map-camera-summary{position:static;inset:auto;display:block;margin:12px 0;padding:12px 0;background:transparent;border-radius:0;font-size:12px;line-height:1.5}
@keyframes demo-start-attention{from{box-shadow:0 0 0 8px #c5ddca;background:#eef7ef}to{box-shadow:0 0 0 0 #c5ddca00;background:#fff}}
@media(prefers-reduced-motion:reduce){#origin.demo-start-highlight{animation:none;background:#eef7ef}}

#search-results,#route-results,#trip-status{scroll-margin-top:16px}#search-results button{min-height:44px}.plan-button{min-height:48px}.input-row button{min-height:44px}.directions li[tabindex]{cursor:pointer}.directions li[tabindex]:focus-visible{outline:3px solid #3881d0;outline-offset:2px}

.usual-stops{margin:16px 0;padding:12px;border:1px solid #d4e2d9;border-radius:12px}.usual-stops summary{font-weight:700;cursor:pointer}.usual-stops p{font-size:.85rem;line-height:1.5}.usual-stops input{min-width:0;width:100%}.stop-categories{display:flex;gap:7px}.stop-categories button{flex:1}.usual-stops button{padding:9px;border:1px solid #c8dccc;border-radius:7px;background:#f4f8f3;color:#174c36;cursor:pointer}.usual-stops button:disabled{opacity:.5;cursor:default}#stop-results{display:grid;gap:6px;margin:10px 0}#stop-results button{text-align:left}#trip-stops{padding-left:24px}#trip-stops li{margin:10px 0}#trip-stops .stop-controls{display:flex;gap:6px;flex-wrap:wrap;margin-top:5px}.stop-marker{background:#174c36;color:white;width:28px;height:28px;display:grid;place-items:center;border:2px solid white;border-radius:50%;font-weight:bold;box-shadow:0 1px 5px #0004}
