/* FindBolets 0.9.146 · menú minimalista en una sola línea (PC y móvil). Solo presentación. */
body.fb127-ready{--fb-bar-height:58px}
@media(min-width:1024px){body.fb127-ready{--fb-bar-height:64px}}
body.fb127-ready #fbHeader127{display:flex!important;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:6px;height:var(--fb-bar-height)!important;padding:0 8px!important;grid-template-columns:none!important;grid-template-rows:none!important;box-shadow:0 1px 8px #173b2824}
body.fb127-ready #fbHeader127>*{grid-column:auto!important;grid-row:auto!important}
body.fb127-ready #fbHeader127 #mapBrandLogo{height:44px!important;max-height:44px!important;width:auto!important;max-width:60px!important;flex:none!important;object-fit:contain!important}
@media(min-width:1024px){body.fb127-ready #fbHeader127{gap:10px;padding:0 14px!important}body.fb127-ready #fbHeader127 #mapBrandLogo{height:50px!important;max-height:50px!important;max-width:110px!important}}
/* Selector de especie: nombre siempre completo */
#fbHeader127 #fbSpecies145{flex:1 1 100px;min-width:100px;max-width:240px;height:40px;padding:0 4px 0 10px!important;border:1px solid #cdd9c8;border-radius:20px;background-color:#f4f7f1;color:#174c35;font:650 13px/1 system-ui,sans-serif!important;text-transform:none!important;letter-spacing:0!important;text-overflow:clip;white-space:nowrap;overflow:hidden;cursor:pointer}
@media(min-width:1024px){#fbHeader127 #fbSpecies145{flex:0 0 190px;height:42px;font-size:15px!important;padding-left:14px!important}}
.fb145-spacer{flex:1 1 0;min-width:0}
@media(max-width:1023px){.fb145-spacer{display:none}}
body.fb127-ready #fbHeader127 #selectedSpeciesBanner{position:static!important;transform:none!important;display:flex!important;flex-direction:row!important;align-items:center!important;width:auto!important;max-width:none!important;min-height:0!important;height:34px!important;max-height:34px!important;margin:0!important;padding:0 8px!important;flex:none}
body.fb127-ready #fbHeader127 #selectedSpeciesBanner[hidden]{display:none!important}
body.fb127-ready #fbHeader127 #selectedSpeciesBanner #speciesIcon,body.fb127-ready #fbHeader127 #selectedSpeciesBanner #speciesBannerName,body.fb127-ready #fbHeader127 #fbOfflineHint129{display:none!important}
body.fb127-ready #fbHeader127 #selectedSpeciesBanner #zoomBanner101{font-size:12px!important;padding:3px 7px!important}
body.fb127-ready #fbHeader127 #calculatePotential{flex:none;width:auto!important;min-width:0!important;height:40px!important;min-height:40px!important;margin:0!important;padding:0 11px!important;border-radius:20px!important;font-size:13px!important;white-space:nowrap!important}
@media(min-width:1024px){body.fb127-ready #fbHeader127 #calculatePotential{height:42px!important;min-height:42px!important;padding:0 18px!important;font-size:15px!important}}
body.fb127-ready #fbHeader127 #pressureToggle131{flex:none;width:auto!important;height:42px!important;min-height:42px!important;padding:0 14px!important;border-radius:21px!important;font-size:13px!important;white-space:nowrap}
#fbBase145{flex:none;width:38px;height:40px;padding:0;border:1px solid #cdd9c8;border-radius:50%;background:#f4f7f1;font-size:17px;line-height:1;cursor:pointer}
@media(min-width:1024px){#fbBase145{width:42px;height:42px}}
body.fb127-ready #fbHeader127 #fbHamburger127{display:flex!important;flex-direction:column;align-items:center;justify-content:center;flex:none;width:38px!important;height:40px!important;padding:0!important;border-radius:20px!important}
@media(min-width:1024px){body.fb127-ready #fbHeader127 #fbHamburger127{width:42px!important;height:42px!important}}
body.fb127-ready #fbHeader127 #fbHamburger127 span{width:18px!important;height:2px!important;margin:2.5px 0!important}
/* Las pestañas viven siempre dentro del panel desplegable. */
body.fb127-ready #fbMobileNavSlot127{display:block!important;margin-bottom:16px}
body.fb127-ready #fbMobileNavSlot127 #fbNav127{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:6px;padding:6px;border-radius:18px}
body.fb127-ready #fbMobileNavSlot127 #pressureToggle131{display:block;width:100%!important;min-height:48px!important;margin-top:10px;padding:10px 14px!important;border-radius:12px!important;text-align:center}
body.fb127-ready #fbMobileNavSlot127 .pressureDesktop131{display:inline!important}
body.fb127-ready #fbMobileNavSlot127 .pressureMobile131{display:none!important}
@media(max-width:1023px){body.fb127-ready #fbMobileNavSlot127 #fbNav127{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:359px){#fbHeader127 #fbSpecies145{min-width:90px;font-size:12px!important}body.fb127-ready #fbHeader127 #calculatePotential{padding:0 8px!important;font-size:12px!important}}
/* 0.9.146: avisos largos fuera del mapa; el detalle va al panel Datos. */
#xemaFreshness133{display:none!important}
#layersMenu .fb-mask-review{position:static!important;width:auto!important;max-width:100%!important;max-height:none!important;box-shadow:none!important;z-index:auto!important;margin:8px 0}
#statusDetail146{margin:8px 0;padding:10px;border:1px solid #d9e1d6;border-radius:9px;background:#fafcf9;font-size:13px;line-height:1.5;color:#284731}
#statusDetail146 summary{cursor:pointer;font-weight:700}
#statusDetail146 p{margin:6px 0 0;overflow-wrap:anywhere}

/* 0.9.147: la ventana se adapta a la pantalla (sin desbordamiento horizontal) */
html,body{max-width:100%;overflow-x:hidden}
body.fb127-ready #fbHeader127{width:100%;max-width:100vw;overflow:hidden;box-sizing:border-box}
body.fb127-ready .frame{margin:0!important;border-radius:0!important;border-left:0!important;border-right:0!important;box-shadow:none!important;max-width:100vw}
body.fb127-ready #map{height:calc(100vh - var(--fb-bar-height))!important;height:calc(100dvh - var(--fb-bar-height))!important;min-height:0!important;max-height:none!important}
@media(max-width:700px){body.fb127-ready #fbHeader127 #selectedSpeciesBanner{display:none!important}}
@media(max-width:1023px){#fbHeader127 #fbSpecies145{flex:1 1 0}}

/* 0.9.148 · SOLO PC: controles agrupados a la derecha, flotando sobre el mapa; logo grande sobre el mapa */
@media(min-width:1024px){
 body.fb127-ready #fbHeader127{position:fixed!important;top:0;left:0;right:0;width:auto;max-width:none;overflow:visible;background:transparent!important;box-shadow:none!important;justify-content:flex-end;gap:8px;padding:0 14px!important;pointer-events:none}
 body.fb127-ready #fbHeader127>*{pointer-events:auto}
 body.fb127-ready #fbHeader127 .fb145-spacer{display:none}
 #fbHeader127 #fbSpecies145{flex:0 0 190px!important;background-color:#fff;box-shadow:0 2px 8px #0003}
 body.fb127-ready #fbHeader127 #calculatePotential,body.fb127-ready #fbHeader127 #pressureToggle131,#fbBase145,body.fb127-ready #fbHeader127 #fbHamburger127{box-shadow:0 2px 8px #0003}
 #fbBase145,body.fb127-ready #fbHeader127 #fbHamburger127{background:#fff}
 body.fb127-ready #fbHeader127 #pressureToggle131:not([aria-pressed=true]){background:#fff}
 body.fb127-ready #map{height:100vh!important;height:100dvh!important}
 body.fb127-ready #fbHeader127 #mapBrandLogo{position:fixed!important;left:14px;top:14px;z-index:2100;width:300px!important;max-width:none!important;height:auto!important;max-height:none!important;padding:8px 12px;box-sizing:border-box;background:rgba(255,255,255,.62);border:2px solid #fff;border-radius:16px;box-shadow:0 2px 12px #0004;filter:none!important}
 body.fb127-open #fbHeader127 #mapBrandLogo{opacity:0;visibility:hidden;pointer-events:none}
 body.fb127-ready .tools{position:absolute;left:340px;top:16px;z-index:2150;padding:0}
}

/* 0.9.151: indicador de estado en PC, bajo los botones */
#fbNote151{display:none}
@media(min-width:1024px){
 body.fb127-ready #fbNote151:not([hidden]){display:block;position:fixed;top:calc(var(--fb-bar-height) + 4px);right:14px;z-index:2050;max-width:340px;padding:7px 12px;border-radius:10px;background:rgba(255,255,255,.94);border:1px solid #cfd8cc;box-shadow:0 2px 10px #0003;font:600 13px/1.35 system-ui,sans-serif;color:#284731;pointer-events:none;text-align:right}
 body.fb127-ready #fbNote151.ok{border-color:#7fb08a;color:#17572f}
 body.fb127-ready #fbNote151.warn{border-color:#e0b34a;color:#7a5200}
 body.fb127-open #fbNote151{display:none!important}
}
/* 0.9.153: barra móvil fluida: se adapta a cualquier ancho de pantalla, sin cortes a izquierda ni derecha. */
html,body{max-width:100%;overflow-x:hidden}
@media(max-width:1023px){
 body.fb127-ready #fbHeader127{box-sizing:border-box!important;width:100%!important;max-width:100%!important;justify-content:flex-start!important;overflow:hidden!important;gap:clamp(3px,1.3vw,6px)!important;padding:0 clamp(4px,1.6vw,8px)!important}
 body.fb127-ready #fbHeader127>*{min-width:0}
 body.fb127-ready #fbHeader127 #mapBrandLogo{flex:0 1 auto!important;max-width:min(60px,17vw)!important;min-width:34px!important}
 body.fb127-ready #fbHeader127 #fbSpecies145{flex:1 1 0!important;min-width:0!important;max-width:240px;font-size:clamp(11px,3.4vw,13px)!important;padding:0 2px 0 clamp(6px,2.4vw,10px)!important}
 body.fb127-ready #fbHeader127 #calculatePotential{flex:0 1 auto!important;padding:0 clamp(6px,2.6vw,11px)!important;font-size:clamp(11px,3.5vw,13px)!important;overflow:hidden}
 body.fb127-ready #fbHeader127 #fbBase145,body.fb127-ready #fbHeader127 #fbHamburger127{flex:none!important;width:clamp(30px,9.6vw,38px)!important}
 body.fb127-ready #fbHeader127 #selectedSpeciesBanner{flex:none}
}

/* 0.9.157: desplegable de especies con degradado fino bajo cada nombre */
.fbMenuBack145{position:fixed;inset:0;z-index:100000;background:rgba(0,0,0,.35);display:flex;justify-content:center;align-items:flex-start;padding:calc(env(safe-area-inset-top,0px) + 54px) 10px 10px}
.fbMenuBox145{width:100%;max-width:380px;max-height:calc(100vh - 80px);overflow:auto;background:#fcfcff;border-radius:24px;box-shadow:0 8px 30px #0005}
.fbMenuRow145{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;margin:0;padding:15px 22px;border:0;border-bottom:1px solid #dcdde2;border-radius:0;background:transparent;color:#111;text-align:left;font:500 18px/1.2 system-ui,sans-serif;cursor:pointer;min-height:58px}
.fbMenuRow145:last-child{border-bottom:0}
.fbMenuRow145:focus-visible{outline:3px solid #2f6fed;outline-offset:-3px}
.fbMenuTxt145{display:flex;flex-direction:column;gap:7px;flex:1 1 auto;min-width:0}
.fbMenuName145{display:block}
.fbMenuBar145{display:block;height:4px;width:72%;border-radius:2px}
.fbMenuDot145{flex:0 0 auto;width:26px;height:26px;box-sizing:border-box;border:2.5px solid #111;border-radius:50%;background:#fff}
.fbMenuRow145[aria-checked=true] .fbMenuDot145{border-color:#2f6fed;background:radial-gradient(circle,#2f6fed 0 46%,#fff 50%)}
#fbTab127-setas{display:none!important}

/* 0.9.162 · botón LOCALIZAR SETAS (en la barra superior) y parpadeo de las zonas */
#fbFind145{position:static;flex:none;display:flex;align-items:center;justify-content:center;gap:6px;height:42px;padding:0 14px 0 10px;border:1px solid #1b6544;border-radius:21px;background:#fff;color:#14452e;font:700 13px system-ui,sans-serif;letter-spacing:.2px;white-space:nowrap;box-shadow:0 1px 6px #0003;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:pointer;pointer-events:auto}
#fbFind145 .fbFindIcon145{font-size:19px;line-height:1}
#fbFind145.on{background:#1b6544;color:#fff}
body.fbFind145On .leaflet-overlay-pane canvas.leaflet-zoom-animated,body.fbFind145On .leaflet-overlay-pane img.leaflet-image-layer,body.fbFind145On #offlineMap102 img.leaflet-image-layer{animation:fbFind145Blink .5s steps(1,end) infinite}
@keyframes fbFind145Blink{0%{opacity:1}50%{opacity:0}100%{opacity:1}}
@media(max-width:1023px){#fbFind145{height:44px;min-width:0;width:44px;padding:0 2px;gap:0;max-width:44px}#fbFind145 .fbFindIcon145{display:none}#fbFind145 .fbFindText145{display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.05;text-align:center}#fbFind145 .fbFindL1{font-size:4.5px;letter-spacing:.1px}#fbFind145 .fbFindL2{font-size:9px}}
@media(prefers-reduced-motion:reduce){body.fbFind145On .leaflet-overlay-pane canvas.leaflet-zoom-animated,body.fbFind145On .leaflet-overlay-pane img.leaflet-image-layer{animation-duration:1.2s}}
/* 0.9.166 · móvil: todos los botones con su texto; el selector ocupa lo que sobra */
@media(max-width:1023px){
 body.fb127-ready #fbHeader127{gap:4px!important;padding:0 6px!important}
 body.fb127-ready #fbHeader127 #mapBrandLogo{flex:0 0 auto!important;max-width:36px!important;width:36px!important}
 body.fb127-ready #fbHeader127 #fbSpecies145{flex:1 1 0!important;min-width:0!important;max-width:none!important;width:auto!important;font-size:clamp(10px,2.8vw,12.5px)!important;padding:0 15px 0 7px!important;background-position:right 5px center!important;background-size:12px!important;text-overflow:clip!important}
 body.fb127-ready #fbHeader127 #calculatePotential{flex:0 0 auto!important;width:auto!important;min-width:0!important;padding:0 10px!important;font-size:clamp(11px,3.2vw,13px)!important;white-space:nowrap!important;overflow:visible!important}
 body.fb127-ready #fbHeader127 #fbFind145{flex:0 0 auto!important;width:42px!important;max-width:42px!important}
 body.fb127-ready #fbHeader127 #fbBase145,body.fb127-ready #fbHeader127 #fbHamburger127{flex:0 0 auto!important;width:34px!important;height:38px!important;min-width:0!important}
}
