/* v14 HIDE / SHOW map controls (js/hide.js) */
#tabs,#mapsearch,#rutchip,#mapbtns,#quick,#helpbtns,#parcelstatus,.act-legend,#wslide,
.leaflet-control-zoom,.leaflet-control-scale,#view3d .v3bar,#view3d .v3note,#view3d .maplibregl-ctrl-group{transition:opacity .15s ease}
body.hc-fade #tabs,body.hc-fade #mapsearch,body.hc-fade #rutchip,body.hc-fade #mapbtns,body.hc-fade #quick,body.hc-fade #helpbtns,
body.hc-fade #parcelstatus,body.hc-fade .act-legend,body.hc-fade #wslide,body.hc-fade .leaflet-control-zoom,body.hc-fade .leaflet-control-scale,
body.hc-fade #view3d .v3bar,body.hc-fade #view3d .v3note,body.hc-fade #view3d .maplibregl-ctrl-group{opacity:0!important;pointer-events:none!important}
body.hc-off #tabs,body.hc-off #mapsearch,body.hc-off #rutchip,body.hc-off #mapbtns,body.hc-off #quick,body.hc-off #helpbtns,
body.hc-off #parcelstatus,body.hc-off .act-legend,body.hc-off #wslide,body.hc-off .leaflet-control-zoom,body.hc-off .leaflet-control-scale,
body.hc-off #view3d .v3bar,body.hc-off #view3d .v3note,body.hc-off #view3d .maplibregl-ctrl-group{display:none!important}
/* full screen: no nav, so sheets / panels reach the bottom safe area; attribution stays but small, clear of the home bar */
body.hc-off .sheet{bottom:env(safe-area-inset-bottom)}
body.hc-off .panel{bottom:env(safe-area-inset-bottom)}
body.hc-off .leaflet-bottom.leaflet-right{margin-bottom:env(safe-area-inset-bottom);margin-right:env(safe-area-inset-right)}
body.hc-off .leaflet-control-attribution{font-size:8.5px!important;line-height:1.3;padding:0 4px;opacity:.75}
body.hc-off #view3d .maplibregl-ctrl-bottom-right{margin-bottom:env(safe-area-inset-bottom)}
/* Hide button: right end of the search bar (2D), in the 3D top bar */
.ms-fold.hc-hide{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:2px 0;color:var(--pri)}
.hc-hide small{font-family:var(--cond);font-size:8.5px;letter-spacing:.1em;text-transform:uppercase;line-height:1;color:var(--tan)}
.fab.hc-hide svg{width:24px;height:24px}
.v3bar .v3hide{display:flex;align-items:center;gap:5px;background:transparent;color:#a6e05a;border:1px solid #a6e05a;padding:7px 9px;font-family:var(--cond);letter-spacing:.06em;text-transform:uppercase;font-size:.85em}
.v3bar .v3hide{margin-left:auto}.v3bar .v3hide + #v3close{margin-left:0}
/* Show button: small, semi-transparent, bottom-right above the attribution and the safe area */
.hc-show{display:none;position:fixed;z-index:950;right:calc(10px + env(safe-area-inset-right));bottom:calc(26px + env(safe-area-inset-bottom));
  width:46px;height:46px;padding:0;border-radius:2px;border:1px solid #a6e05a99;background:#0e110f8c;color:#a6e05a;box-shadow:0 1px 6px #0008;
  flex-direction:column;align-items:center;justify-content:center;gap:1px;opacity:0;transition:opacity .15s ease;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
.hc-show small{font-family:var(--cond);font-size:8.5px;letter-spacing:.1em;text-transform:uppercase;line-height:1;color:#eef1e4cc}
.hc-show:active{background:#0e110fd9;border-color:#a6e05a}
body.hc-fade .hc-show{display:flex;opacity:1}
.mk-hc{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;width:42px;height:42px;margin:2px;border:1px solid #a6e05a;color:#a6e05a;background:#0e110f;border-radius:2px}
.mk-hc.show{border-color:#a6e05a99;background:#0e110f8c}.mk-hc small{font-family:var(--cond);font-size:8.5px;letter-spacing:.1em;color:var(--tan);line-height:1}
body.hc-3d .hc-show{bottom:calc(58px + env(safe-area-inset-bottom))}
body.hc-off #view3d .maplibregl-ctrl-attrib{font-size:9px;opacity:.85}
/* 3D top bar keeps one line with the extra HIDE button (credit text truncates; the full credit is in the map corner) */
.v3bar{flex-wrap:nowrap;min-height:52px;box-sizing:border-box}
.v3bar b{white-space:nowrap}
.v3bar .small{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v3bar button{white-space:nowrap;flex:none}
