/* Fiscaliza Tijucas — Mapas V6, isolated from the editorial theme */
.ft-geo-page{padding:38px 0 86px;background:linear-gradient(180deg,#f7f9fc 0,#fff 340px);min-height:70vh;color:#1b2636;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
.ft-geo-page *{box-sizing:border-box}
.ft-geo-page .ft-geo-container{width:calc(100% - 32px);max-width:1200px;margin:0 auto}
.ft-geo-page .ft-geo-narrow{max-width:910px}
.ft-geo-eyebrow{display:inline-flex;align-items:center;gap:8px;color:#b51837;font-size:11px;font-weight:850;letter-spacing:1.5px;text-transform:uppercase}
.ft-geo-eyebrow:before{content:"";width:7px;height:7px;border-radius:100%;background:#d02041}
.ft-geo-intro h1{font-weight:900;font-size:clamp(29px,4vw,47px);line-height:1.12;letter-spacing:-1.55px;margin:12px 0 13px;color:#132032}
.ft-geo-intro p{font-size:15px;line-height:1.7;color:#607083;max-width:780px;margin:0 0 20px}
.ft-geo-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:23px}
.ft-geo-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #cdd6df;padding:11px 16px;border-radius:10px;background:white;color:#1b2b40!important;box-shadow:0 2px 9px #17294109;font-weight:750;font-size:13px;text-decoration:none!important;cursor:pointer;line-height:1.3;transition:background .16s,border-color .16s}
.ft-geo-button:hover,.ft-geo-button:focus{background:#f1f5f9;border-color:#aebbc8;text-decoration:none!important}
.ft-geo-button-primary{background:#b91837!important;border-color:#b91837!important;color:white!important}
.ft-geo-button-primary:hover{background:#a3102d!important}
.ft-geo-button svg{width:17px;height:17px;flex-shrink:0}
.ft-geo-layout{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:18px;align-items:start}
.ft-geo-card{border:1px solid #dfe6ee;border-radius:17px;background:white;box-shadow:0 10px 38px rgba(20,35,59,.045);overflow:hidden;min-width:0}
.ft-geo-card-top{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 19px}
.ft-geo-card-top h2{font-size:17px;line-height:1.4;margin:0;font-weight:850;color:#17283b}
.ft-geo-card-top p{margin:3px 0 0;color:#8290a1;font-size:12px}
.ft-geo-pill{display:inline-flex;align-items:center;gap:5px;border-radius:50px;background:#f5e5e9;color:#a51835;font-size:11px;font-weight:800;padding:7px 10px;white-space:nowrap}
.ft-geo-map-frame{position:relative;background:#e7eef2;isolation:isolate;overflow:hidden}
.ft-geo-map{height:490px;width:100%;max-width:100%;position:relative;overflow:hidden;border:0;background:#e7eef2;z-index:1}
.ft-geo-map:focus-visible{outline:3px solid #a61a35;outline-offset:-3px}
.ft-geo-status{position:absolute;left:13px;top:13px;z-index:750;max-width:calc(100% - 150px);background:rgba(255,255,255,.97);border:1px solid #dae4ec;box-shadow:0 4px 12px #15243e20;padding:8px 10px;font-size:11px;color:#3c5367;font-weight:750;border-radius:8px;line-height:1.3;pointer-events:none}
.ft-geo-status[data-state="warn"]{color:#9d3d00;background:#fffaf0;border-color:#f2d8a3}
.ft-geo-map-tools{position:absolute;z-index:900;right:13px;top:13px;display:flex;flex-direction:column;gap:8px;align-items:flex-end;max-width:calc(100% - 30px)}
.ft-geo-map-tools .ft-geo-button{border-radius:9px;min-height:36px;padding:8px 10px;background:rgba(255,255,255,.98);font-size:11px;box-shadow:0 3px 12px #12263f26}
.ft-geo-map-tools .ft-geo-button[aria-pressed="true"]{background:#203249;color:white!important;border-color:#203249}
.ft-geo-map-caption{padding:12px 16px 15px;font-size:12px;color:#67798e;line-height:1.55;background:#f9fbfc;border-top:1px solid #e8edf1;margin:0}
.ft-geo-sidebar{padding:18px}
.ft-geo-sidebar-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.ft-geo-sidebar-heading strong{font-size:16px;font-weight:850;color:#17283b}
.ft-geo-count{color:#b51837;background:#fbebef;border-radius:50px;padding:4px 9px;font-size:12px;font-weight:800}
.ft-geo-input,.ft-geo-page .ft-geo-input{display:block;width:100%;background:#fff;border:1px solid #d4dce5;border-radius:9px;padding:11px 12px;font-size:13px;min-height:43px;box-shadow:none;outline:none;color:#223247}
.ft-geo-input:focus{border-color:#b51837;box-shadow:0 0 0 3px #b5183718}
.ft-geo-field{margin-bottom:12px}
.ft-geo-field label{display:block;margin:0 0 7px;color:#32465c;font-size:12px;font-weight:800}
.ft-geo-report-list{max-height:520px;overflow:auto;overscroll-behavior:contain;margin-top:15px;padding-right:3px}
.ft-geo-item{display:block;padding:13px 11px;border:1px solid #e9edf2;border-radius:11px;background:#fff;text-decoration:none!important;color:inherit!important;margin:0 0 8px}
.ft-geo-item:hover,.ft-geo-item:focus{border-color:#c5d3df;background:#f8fbfd;text-decoration:none!important}
.ft-geo-item small{color:#a61a35;font-size:10px;letter-spacing:.35px;text-transform:uppercase;font-weight:800}
.ft-geo-item strong{display:block;font-weight:800;font-size:13px;line-height:1.5;margin:4px 0 4px;color:#203047}
.ft-geo-item span{font-size:11px;color:#708296}
.ft-geo-empty{padding:20px 12px;text-align:center;border:1px dashed #d9e1e8;border-radius:10px;color:#60738a;font-size:13px;line-height:1.6}
.ft-geo-form{padding:21px}
.ft-geo-form h2{color:#192b3c;font-size:19px;margin:0 0 17px;font-weight:850}
.ft-geo-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.ft-geo-fields .ft-geo-span{grid-column:1/-1}
.ft-geo-form label{display:block;font-size:12px;font-weight:800;color:#35465a;margin:0 0 7px}
.ft-geo-form label.ft-geo-inline{display:flex;align-items:flex-start;gap:10px;font-size:13px;font-weight:550;line-height:1.55;margin:0 0 14px}
.ft-geo-inline input{flex-shrink:0;margin:4px 0 0}
.ft-geo-form textarea.ft-geo-input{min-height:142px;resize:vertical;line-height:1.5}
.ft-geo-form small,.ft-geo-description{font-size:12px;color:#6e7f91;line-height:1.55;display:block;margin-top:6px}
.ft-geo-picker-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px;margin-bottom:10px}
.ft-geo-picker-heading label{margin:0;font-size:15px}
.ft-geo-picker-heading em{font-size:11px;font-style:normal;color:#ac2040;background:#fae9ef;padding:5px 9px;border-radius:30px}
.ft-geo-picker{border:1px solid #dfe6ee;border-radius:12px;overflow:hidden;background:#e7eef2}
.ft-geo-picker .ft-geo-map{height:355px}
.ft-geo-marker-notice{border-top:1px solid #e1e8ef;padding:9px 12px;background:#f8fafc;font-size:12px;color:#586d83;line-height:1.45;margin:0}
.ft-geo-helper{font-size:12px;line-height:1.5;color:#627589;margin:11px 0 15px}
.ft-geo-error{padding:13px 15px;border-left:4px solid #b81836;border-radius:5px;background:#fff1f2;color:#8f1730;margin:0 0 19px;font-size:13px}
.ft-geo-checks{padding-top:15px}
.ft-geo-submit{padding-top:6px}
.ft-geo-form .ft-geo-input[type="file"]{padding:9px;font-size:12px}
/* Leaflet structural fallback: guarantees that map tiles remain clipped if CDN CSS is blocked */
.ft-geo-map.leaflet-container{position:relative;overflow:hidden!important;background:#e3ecf0;outline:0;touch-action:pan-x pan-y}
.ft-geo-map .leaflet-pane,.ft-geo-map .leaflet-tile,.ft-geo-map .leaflet-marker-icon,.ft-geo-map .leaflet-marker-shadow,.ft-geo-map .leaflet-tile-container,.ft-geo-map .leaflet-pane>svg,.ft-geo-map .leaflet-pane>canvas,.ft-geo-map .leaflet-zoom-box,.ft-geo-map .leaflet-image-layer,.ft-geo-map .leaflet-layer{position:absolute;top:0;left:0}
.ft-geo-map .leaflet-map-pane{z-index:400}.ft-geo-map .leaflet-tile-pane{z-index:200}.ft-geo-map .leaflet-overlay-pane{z-index:400}.ft-geo-map .leaflet-shadow-pane{z-index:500}.ft-geo-map .leaflet-marker-pane{z-index:600}.ft-geo-map .leaflet-tooltip-pane{z-index:650}.ft-geo-map .leaflet-popup-pane{z-index:700}
.ft-geo-map .leaflet-container img,.ft-geo-map img.leaflet-tile{max-width:none!important;max-height:none!important;width:256px!important;height:256px!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;position:absolute!important}
.ft-geo-map img.leaflet-marker-icon,.ft-geo-map img.leaflet-marker-shadow{width:auto!important;height:auto!important}
.ft-geo-map .leaflet-tile{visibility:hidden}.ft-geo-map .leaflet-tile-loaded{visibility:inherit}
.ft-geo-map .leaflet-control-container .leaflet-top,.ft-geo-map .leaflet-control-container .leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.ft-geo-map .leaflet-top{top:0}.ft-geo-map .leaflet-bottom{bottom:0}.ft-geo-map .leaflet-left{left:0}.ft-geo-map .leaflet-right{right:0}
.ft-geo-map .leaflet-control{position:relative;z-index:800;pointer-events:auto;margin:10px;float:left;clear:both}.ft-geo-map .leaflet-right .leaflet-control{float:right}
.ft-geo-map .leaflet-control-attribution{background:rgba(255,255,255,.89);color:#546678;padding:2px 6px;font:10px/1.4 Arial,sans-serif}.ft-geo-map .leaflet-control-attribution a{color:#0078a8}
.ft-geo-map .leaflet-bar{border-radius:7px;box-shadow:0 2px 8px #14263b23;overflow:hidden}.ft-geo-map .leaflet-bar a{display:block;text-align:center;border-bottom:1px solid #e3e8ed;background:#fff;color:#283e52;text-decoration:none;width:30px;height:30px;line-height:30px;font:bold 20px/30px Arial}
.ft-geo-map .leaflet-interactive{cursor:pointer}.ft-geo-map .leaflet-popup{position:absolute}.ft-geo-map .leaflet-popup-content-wrapper{background:white;border-radius:8px;padding:1px;box-shadow:0 3px 12px #14253650}.ft-geo-map .leaflet-popup-content{margin:13px 14px;line-height:1.5}
.ft-geo-map .leaflet-popup-tip-container{position:absolute;left:50%;margin-left:-20px;width:40px;height:20px;overflow:hidden}.ft-geo-map .leaflet-popup-tip{background:white;width:17px;height:17px;margin:-10px auto 0;transform:rotate(45deg)}
.ft-geo-map .leaflet-zoom-animated,.ft-geo-map .leaflet-zoom-hide{pointer-events:auto}
@media(max-width:1020px){.ft-geo-layout{grid-template-columns:minmax(0,1fr) 280px}.ft-geo-map{height:450px}}
@media(max-width:760px){.ft-geo-page{padding:25px 0 65px}.ft-geo-page .ft-geo-container{width:calc(100% - 22px)}.ft-geo-intro h1{font-size:31px;letter-spacing:-.9px}.ft-geo-intro p{font-size:14px}.ft-geo-layout{grid-template-columns:1fr;gap:14px}.ft-geo-map{height:clamp(315px,54vh,440px)}.ft-geo-picker .ft-geo-map{height:360px}.ft-geo-status{font-size:10px;top:auto;bottom:24px;left:9px;max-width:calc(100% - 105px)}.ft-geo-map-tools{right:9px;top:10px}.ft-geo-map-tools .ft-geo-button{padding:8px;min-height:36px;font-size:11px}.ft-geo-sidebar{padding:16px}.ft-geo-report-list{max-height:360px}.ft-geo-card-top{padding:14px}.ft-geo-form{padding:15px}.ft-geo-fields{gap:12px}.ft-geo-fields>div{grid-column:1/-1}.ft-geo-button{font-size:12px}.ft-geo-page .ft-geo-actions{margin-bottom:15px}}
@media(max-width:380px){.ft-geo-map-tools .ft-geo-button{font-size:10px}.ft-geo-map-tools .ft-geo-button svg{width:14px;height:14px}.ft-geo-card-top h2{font-size:15px}.ft-geo-pill{font-size:10px;padding:5px}}
.ft-geo-page [hidden]{display:none!important}
.ft-geo-page .ft-geo-card a:not(.ft-geo-button){color:#b51837}

/* V8: interação correta por dispositivo, acabamento focado no município. */
.ft-geo-page{--ft-geo-accent:var(--ft-red,#bf1832)}
.ft-geo-eyebrow,.ft-geo-sidebar .ft-geo-count,.ft-geo-item small{color:var(--ft-geo-accent)}
.ft-geo-pill,.ft-geo-count{background:#f3f5f8;color:#405267}
.ft-geo-page .ft-geo-button-primary{background:var(--ft-geo-accent)!important;border-color:var(--ft-geo-accent)!important}
.ft-geo-map-frame{border-radius:0;background:#e8edf0;contain:layout paint}
.ft-geo-map.leaflet-container{touch-action:pan-y!important;overscroll-behavior:contain}
.ft-geo-map.leaflet-container.ft-geo-touch-unlocked{touch-action:none!important}
.ft-geo-map .leaflet-tile-pane{filter:saturate(.78) contrast(1.04)}
.ft-geo-map .leaflet-control-zoom a{width:36px!important;height:36px!important;line-height:36px!important;font-size:22px!important}
.ft-geo-status{font-weight:700}
.ft-geo-map-tools .ft-geo-button{min-height:41px!important;font-size:12px!important;cursor:pointer}
.ft-geo-map .leaflet-container img,.ft-geo-map img.leaflet-tile{max-width:none!important}
@media(max-width:760px){
 .ft-geo-page{padding-top:20px}
 .ft-geo-page .ft-geo-container{width:calc(100% - 24px)}
 .ft-geo-card{border-radius:13px}
 .ft-geo-map{height:clamp(360px,58vh,500px)}
 .ft-geo-picker .ft-geo-map{height:370px}
 .ft-geo-map-tools{top:11px;right:10px;gap:7px}
 .ft-geo-map-tools .ft-geo-button{min-height:43px!important;border-radius:10px;padding:8px 11px;font-size:12px!important}
 .ft-geo-status{font-size:11px;line-height:1.35;max-width:calc(100% - 25px);left:12px;bottom:10px;top:auto;z-index:901}
 .ft-geo-map .leaflet-control-zoom{margin-left:10px;margin-top:12px}
 .ft-geo-card-top{align-items:flex-start}
 .ft-geo-card-top h2{font-size:16px}
 .ft-geo-pill{font-size:10px}
 .ft-geo-form{padding:17px}
 .ft-geo-fields{grid-template-columns:1fr;gap:14px}
 .ft-geo-fields>div{grid-column:1/-1}
 .ft-geo-actions>.ft-geo-button{flex:1 1 150px;min-height:44px}
}

/* V9: map isolated from Bootstrap and legacy news theme. */
.ft-geo-map-frame{overflow:hidden!important;contain:layout paint;min-width:0}
.ft-geo-map.leaflet-container{width:100%!important;max-width:100%!important;isolation:isolate;transform:translateZ(0);border-radius:0!important;overflow:hidden!important}
.ft-geo-map .leaflet-map-pane,.ft-geo-map .leaflet-tile-pane,.ft-geo-map .leaflet-tile-container{position:absolute!important;max-width:none!important;max-height:none!important}
.ft-geo-map img.leaflet-tile{display:block!important;position:absolute!important;max-width:none!important;max-height:none!important;width:256px!important;height:256px!important;object-fit:fill!important;border:0!important;left:0;top:0}
.ft-geo-map .leaflet-zoom-box,.ft-geo-map .leaflet-marker-pane,.ft-geo-map .leaflet-overlay-pane{pointer-events:auto}
.ft-geo-map .leaflet-control-zoom a{font-size:20px!important;display:block!important;width:34px!important;height:34px!important;line-height:34px!important;background:white!important}
.ft-geo-map .leaflet-container img{max-width:none!important}
.ft-geo-map-tools{pointer-events:auto}
.ft-geo-marker-notice{min-height:36px}
.ft-geo-submit-status{font-size:12px;color:#43586b;margin:10px 0 0;line-height:1.5}
.ft-geo-submit button:disabled{opacity:.72;cursor:wait}
@media (max-width:760px){.ft-geo-map{height:clamp(340px,50vh,440px)}.ft-geo-picker .ft-geo-map{height:340px}.ft-geo-map-tools .ft-geo-button{min-height:42px}.ft-geo-layout{display:flex;flex-direction:column}.ft-geo-layout>.ft-geo-card{width:100%}}

/* Receipt visible only after the database confirms the report */
.ft-receipt{max-width:720px;margin:25px auto;padding:clamp(22px,4vw,38px)!important}
.ft-receipt h1{font-size:clamp(27px,4vw,39px);font-weight:900;color:#14283d;line-height:1.15;margin:12px 0}
.ft-receipt p{font-size:15px;line-height:1.7;color:#42536b}
.ft-receipt-icon{height:54px;width:54px;background:#dff7e8;color:#1f7b47;border-radius:50%;display:grid;place-items:center;font-size:30px;font-weight:900;margin-bottom:20px}
.ft-receipt-protocol{background:#f4f7fb;border-radius:12px;border:1px solid #dce5ed;padding:18px;margin:22px 0;display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.ft-receipt-protocol small{color:#647b91;display:block;flex-basis:100%;font-size:12px;text-transform:uppercase;letter-spacing:1px}
.ft-receipt-protocol strong{font:850 clamp(17px,4vw,24px)/1.2 system-ui,sans-serif;letter-spacing:.5px;color:#183149;flex:1;min-width:0;overflow-wrap:anywhere}

/* V12 — mapa livre no toque, sem botão de bloqueio. */
.ft-geo-map.leaflet-container,
.ft-geo-map.leaflet-container.ft-geo-touch-unlocked{touch-action:none!important;overscroll-behavior:contain!important;}

.ft-geo-submit-status.ft-geo-error{display:block;color:#a42335;background:#fff1f3;padding:14px;border-radius:8px}.ft-geo-submit-status.ft-geo-success{display:block;color:#11623e;background:#e7f7ed;padding:14px;border-radius:8px}
