/* Region view only; preserve MapLibre, field IDs and delegated actions. */
body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .region-map-header{display:flex!important;align-items:center!important;justify-content:space-between;gap:20px!important;flex-wrap:wrap;margin-bottom:16px!important}
body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .region-map-header>div:first-child{flex:1 1 260px;min-width:0}
body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .region-map-header h2{font-size:23px!important;line-height:1.25;margin:0 0 5px!important;letter-spacing:-.025em}
body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao #fxMapRouteFilter{flex:0 1 auto;display:flex;flex-direction:column;align-items:flex-end;gap:6px;margin:0!important;padding:8px!important;background:#f7f9fd;border:1px solid #e7edf6;border-radius:12px;max-width:100%}
body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .fx-map-route-filter-title{display:none}
body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .fx-map-route-filter-controls{display:flex;gap:6px;align-items:center;flex-wrap:nowrap}
body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .fx-map-route-filter-controls button{min-height:38px;min-width:38px;padding:8px 12px;line-height:1.2;font-size:12px;border-radius:9px;white-space:nowrap}
body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .fx-map-route-filter-controls input{width:152px;min-width:0!important;min-height:38px!important;height:38px!important;padding:6px 8px!important;border-radius:9px!important;font-size:12px}
body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .fx-map-route-filter-summary{width:auto;font-size:10px;padding:0 3px}
body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .fx-map-real-wrap{position:relative;height:clamp(360px,42vw,510px)!important;min-height:360px!important;border-radius:16px!important}
body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao #realMap{height:100%!important;min-height:360px!important}
body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .fx-map-legend{position:absolute;left:12px;bottom:12px;z-index:2;max-width:calc(100% - 24px);display:flex;gap:14px;margin:0!important;padding:9px 12px;background:#fffffff0;border:1px solid #e3eaf2;border-radius:10px;box-shadow:0 3px 14px #12345612;font-size:10px;line-height:1.4;pointer-events:none}
body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .region-configuration{margin-top:20px;padding:20px;border:1px solid #dfe7f3;border-radius:16px;background:#fbfcff}
body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .region-configuration-header h3{font-size:16px;letter-spacing:-.02em;color:#153964;margin:0 0 5px}
body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .region-configuration-header p{font-size:12px;line-height:1.5;color:#7184a3;margin:0}
body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .fx-map-tools{grid-template-columns:1fr .9fr 1.15fr!important;gap:18px 20px!important;margin-top:18px!important}
body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .fx-map-tools .field{min-width:0}
body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .fx-map-tools label{font-size:11px!important;line-height:1.5;margin-bottom:7px}
body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .fx-map-tools input:not([type="range"]),body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .fx-map-tools select{min-height:42px!important;height:42px;border-radius:9px!important;background:white!important;font-size:13px;padding:9px 12px;max-width:100%}
body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .region-radius{grid-column:2 / 4}
body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .region-radius label{display:flex;justify-content:space-between;gap:10px}
body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .region-radius label strong{color:#1764ff;font-size:12px}
body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao #raio{width:100%;min-height:24px!important;height:24px;padding:0;border:0!important;background:transparent!important;accent-color:#1764ff;margin:4px 0 0}
body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .region-radius-scale{display:flex;justify-content:space-between;color:#8190a9;font-size:10px;margin-top:2px}
body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .region-cost-input{position:relative}
body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .region-cost-input input{padding-right:65px!important}
body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .region-cost-input>span{position:absolute;right:0;top:0;bottom:0;display:grid;place-items:center;width:56px;background:#f1f5fb;border:1px solid #dfe7f3;border-radius:0 9px 9px 0;font-size:11px;color:#667d9f;pointer-events:none}
body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .region-configuration-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:20px;padding-top:16px;border-top:1px solid #e6ecf5}
body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .region-configuration-actions .btn{width:auto!important;min-height:42px;padding:10px 18px!important;font-size:12px!important;border-radius:10px!important;margin:0!important;white-space:normal}
body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .region-configuration-actions .btn-primary{box-shadow:0 4px 12px #1764ff1a}
@media(max-width:1000px){body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .fx-map-tools{grid-template-columns:1fr 1fr!important}body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .region-address{grid-column:1/-1}body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .region-radius{grid-column:auto}}
@media(max-width:600px){body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .region-map-header{gap:12px!important}body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao #fxMapRouteFilter{width:100%;align-items:stretch}body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .fx-map-route-filter-controls{display:grid;grid-template-columns:1fr 1.3fr 36px minmax(0,2.8fr) 36px;width:100%;gap:4px}body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .fx-map-route-filter-controls button{min-width:0;padding:8px 5px;font-size:11px}body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .fx-map-route-filter-controls input{width:100%;padding:4px!important;font-size:11px}body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .fx-map-real-wrap{height:360px!important}body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .fx-map-legend{left:8px;bottom:28px;max-width:calc(100% - 16px);gap:5px 10px;padding:7px 9px;font-size:9px}body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .region-configuration{padding:16px;margin-top:16px}body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .fx-map-tools{grid-template-columns:1fr!important;gap:15px!important}body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .region-radius,body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .region-address{grid-column:auto}body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .region-configuration-actions{flex-direction:column-reverse;gap:8px}body.professional-account.fx260-pro-shell.fx260-pro-shell[data-fx260-pro-view="area"] #pro-regiao .region-configuration-actions .btn{width:100%!important}}
/* Route actions are shared by desktop, mobile web and the installed app. */
.fx-map-directions{display:flex;align-items:center;justify-content:center;min-height:44px;margin-top:12px;padding:10px 16px;border-radius:10px;background:#087f60;color:#fff!important;text-decoration:none;font:700 13px/1.3 system-ui;box-sizing:border-box}
.fx-map-directions:hover{background:#06694f}
.fx-map-directions:focus-visible{outline:3px solid #18b88a;outline-offset:3px}
.fx-map-directions-hint{display:block;margin-top:6px;color:#526889;font-size:11px;line-height:1.4}
#realMap .maplibregl-ctrl-geolocate{min-width:36px;min-height:36px}
/* Match the Agenda period selector without a duplicate native date field. */
html body.fx260-pro-shell.fx260-pro-shell #pro-regiao .fx-map-route-filter-controls{flex-wrap:wrap!important;gap:10px!important;max-width:100%}
html body.fx260-pro-shell.fx260-pro-shell #pro-regiao .map-period-switch{display:flex;gap:4px;padding:4px;border:1px solid #cce4db;border-radius:14px}
html body.fx260-pro-shell.fx260-pro-shell #pro-regiao .map-period-switch button{border:0;background:transparent}
html body.fx260-pro-shell.fx260-pro-shell #pro-regiao .map-date-nav{display:flex;align-items:center;gap:8px;min-width:0}
html body.fx260-pro-shell.fx260-pro-shell #pro-regiao [data-fx-map-route-label]{font-size:14px;line-height:1.5;white-space:normal;text-align:center;color:#153d34}
html body.fx260-pro-shell.fx260-pro-shell #pro-regiao [data-fx-map-route-date][hidden]{display:none!important}
@media(max-width:650px){html body.fx260-pro-shell.fx260-pro-shell #pro-regiao .map-date-nav{width:100%;justify-content:space-between}html body.fx260-pro-shell.fx260-pro-shell #pro-regiao [data-fx-map-route-label]{flex:1;min-width:0}}
