/* All module UI is scoped. Leaflet's generated positioning styles stay inside its map. */
.page-lowiska .site-header { position: relative; top: auto; }
.fs { --fs-private: #914116; padding-top: 32px; padding-bottom: 60px; color: var(--hf-ink); }
.fs [hidden] { display: none !important; }
.fs *, .fs *::before, .fs *::after { box-sizing: border-box; }
.fs h1, .fs h2, .fs h3, .fs p { margin-top: 0; }
.fs h1 { font-size: clamp(30px, 3.5vw, 46px); line-height: 1.08; letter-spacing: -.035em; margin-bottom: 16px; }
.fs h2 { font-size: clamp(23px, 2.5vw, 32px); line-height: 1.15; letter-spacing: -.025em; }
.fs h3 { font-size: 15px; line-height: 1.4; }
.fs p { line-height: 1.65; color: var(--hf-muted); }
.fs :is(a, button, input, select, summary):focus-visible { outline: 3px solid var(--hf-brand-700); outline-offset: 3px; }
.fs :is(a, button, input, select, summary) { touch-action: manipulation; }
.fs-intro { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 40px; align-items: end; margin-bottom: 25px; }
.fs-intro p { max-width: 57ch; margin-bottom: 0; font-size: 15px; }
.fs-eyebrow { display: block; color: var(--fs-private); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 12px; }
.fs-demo { padding: 14px 16px; background: #fff6e6; border: 1px solid #e3c697; border-radius: 12px; font-size: 12px; line-height: 1.55; color: #713714; }
.fs-demo strong, .fs-demo span { display: block; }
.fs-demo strong { margin-bottom: 5px; }
.fs-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; padding: 13px; background: var(--hf-surface); border: 1px solid var(--hf-line); border-radius: 14px; }
.fs-types { display: flex; gap: 5px; align-self: center; }
.fs-types a { display: flex; min-height: 46px; align-items: center; justify-content: center; gap: 7px; padding: 8px 12px; border: 1px solid transparent; border-radius: 9px; color: var(--hf-brand); font-weight: 700; font-size: 13px; text-decoration: none; }
.fs-types a small { font-size: 11px; }
.fs-types a:hover, .fs-button:hover { background: var(--hf-brand-soft); }
.fs-types a[aria-current], .fs-button[aria-pressed="true"] { background: var(--hf-brand); color: #fff; border-color: var(--hf-brand); box-shadow: inset 0 -3px var(--hf-accent); }
.fs-field { display: grid; gap: 4px; min-width: 155px; margin: 0; }
.fs-field > span { font-size: 11px; font-weight: 700; color: var(--hf-muted); }
.fs-field input, .fs-field select { width: 100%; min-height: 46px; border: 1px solid var(--hf-line); border-radius: 8px; padding: 10px 12px; background: var(--hf-surface-soft); color: var(--hf-ink); font: inherit; font-size: 14px; }
.fs-field input::placeholder { color: var(--hf-muted); opacity: 1; }
.fs-field--search { flex: 1; min-width: 200px; }
.fs-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; min-width: 44px; padding: 10px 14px; border: 1px solid var(--hf-line-strong); background: var(--hf-surface); border-radius: 9px; font: inherit; font-size: 13px; font-weight: 700; line-height: 1.45; color: var(--hf-brand); cursor: pointer; text-decoration: none; text-align: center; }
.fs-button--brand { background: var(--hf-brand); color: #fff; border-color: var(--hf-brand); }
.fs-button--brand:hover { background: var(--hf-brand-800); color: #fff; }
.fs-button--accent { background: var(--hf-accent); color: var(--hf-accent-ink); border-color: var(--hf-accent); }
.fs-button--accent:hover { background: var(--hf-accent-light); }
.fs-results-bar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 8px 0; }
.fs-results-bar p { margin: 0; font-size: 12px; }
.fs-results-bar .fs-button { border-color: transparent; background: transparent; }
.fs-explorer { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); gap: 16px; align-items: start; position: relative; }
.fs-map-panel { position: relative; min-width: 0; background: var(--hf-surface); border: 1px solid var(--hf-line); border-radius: 18px; overflow: hidden; }
.fs-map { height: clamp(440px, 62vh, 610px); background: var(--hf-surface-alt); isolation: isolate; z-index: 0; }
.fs-map-legend { position: absolute; top: 16px; left: 16px; z-index: 2; display: grid; gap: 7px; pointer-events: none; max-width: calc(100% - 32px); font-size: 12px; }
.fs-map-legend > strong { background: var(--hf-brand); color: #fff; padding: 9px 12px; border-radius: 8px; width: fit-content; }
.fs-map-legend > span { display: flex; flex-wrap: wrap; gap: 15px; padding: 9px 12px; background: #fff; color: var(--hf-brand); border-radius: 8px; border: 1px solid var(--hf-line); }
.fs-legend-private { color: var(--fs-private); }
.fs-map-status { position: absolute; top: 125px; left: 16px; right: 16px; z-index: 2; padding: 12px; background: #fff6e6; border: 1px solid #e3c697; border-radius: 8px; font-size: 13px; }
.fs-list { border-top: 1px solid var(--hf-line); }
.fs-list summary { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px 16px; cursor: pointer; font-size: 13px; font-weight: 700; }
.fs-list summary::before { content: '+'; font-size: 20px; }
.fs-list[open] summary::before { content: '−'; }
.fs-list ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; list-style: none; margin: 0; padding: 0 10px 12px; max-height: 225px; overflow: auto; }
.fs-list a { display: grid; gap: 3px; padding: 10px; min-height: 60px; border: 1px solid var(--hf-line); border-radius: 8px; color: var(--hf-brand); text-decoration: none; font-size: 12px; }
.fs-list a small { color: var(--hf-muted); font-size: 11px; }
.fs-list a:hover, .fs-list a[aria-current] { background: var(--hf-brand-soft); border-color: var(--hf-brand); }
.fs-list a[aria-current] { box-shadow: inset 3px 0 var(--hf-brand); }
.fs-list > p { margin: 0; padding: 12px 16px; font-size: 13px; }
.fs-panel { background: #fff; border: 1px solid var(--hf-line); border-radius: 18px; overflow: hidden; min-width: 0; }
.fs-empty { display: flex; min-height: clamp(490px, 69vh, 680px); flex-direction: column; align-items: center; justify-content: center; padding: 30px 26px; text-align: center; background: radial-gradient(ellipse at top, var(--hf-brand-soft), transparent 60%); }
.fs-compass { width: 116px; height: 116px; display: grid; place-items: center; border: 1px solid var(--hf-line-strong); border-radius: 50%; box-shadow: 0 0 0 12px var(--hf-surface-soft), 0 0 0 13px var(--hf-line); font-size: 64px; color: var(--hf-brand); margin-bottom: 32px; }
.fs-empty h2 { margin-bottom: 14px; }
.fs-empty p { font-size: 14px; }
.fs-empty small { color: var(--hf-muted); font-size: 11px; }
.fs-empty-steps { display: grid; width: 100%; gap: 16px; padding: 22px 0 28px; color: var(--fs-private); font-size: 12px; text-align: left; }
.fs-empty-steps b { margin-left: 12px; color: var(--hf-brand); }
.fs-panel-head { background: linear-gradient(135deg, var(--hf-brand-950), var(--hf-brand-800)); color: #fff; padding: 24px; }
.fs-panel-head h2 { color: #fff; margin: 17px 0 8px; font-size: 30px; }
.fs-panel-head h2:focus { outline: 2px solid var(--hf-accent); outline-offset: 5px; }
.fs-panel-head p { color: #e5ede8; font-size: 13px; margin: 0; }
.fs-panel-head > small { display: inline-block; font-size: 10px; margin-left: 8px; color: #e5ede8; }
.fs-badge { display: inline-block; padding: 6px 9px; color: #fff; border: 1px solid #8fac9e; border-radius: 7px; font-size: 11px; font-weight: 700; }
.fs-panel-body { padding: 22px; }
.fs-panel-body h3 { text-transform: uppercase; letter-spacing: .07em; font-size: 11px; margin-bottom: 10px; color: var(--hf-muted); }
.fs-panel-body h3 small { font-size: 10px; text-transform: none; letter-spacing: 0; font-weight: 400; }
.fs-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 22px; padding: 0; list-style: none; }
.fs-chips li { padding: 8px 11px; border-radius: 8px; border: 1px solid var(--hf-line); background: var(--hf-surface-soft); color: var(--hf-brand); font-size: 13px; font-weight: 600; }
.fs-conditions { padding-left: 18px; margin: 0 0 22px; font-size: 13px; line-height: 1.8; color: var(--hf-ink); }
.fs-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 24px; }
.fs-facts > div { background: var(--hf-surface-soft); border: 1px solid var(--hf-line); border-radius: 8px; padding: 11px; }
.fs-facts dt { font-size: 10px; color: var(--hf-muted); text-transform: uppercase; margin-bottom: 5px; font-weight: 700; }
.fs-facts dd { font-size: 12px; line-height: 1.55; margin: 0; }
.fs-panel-body > .fs-button { width: 100%; }
.fs-equipment { margin-top: 38px; }
.fs-section-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; justify-content: space-between; margin-bottom: 20px; }
.fs-section-head h2 { margin-bottom: 10px; }
.fs-section-head p { margin: 0; font-size: 13px; }
.fs-kit-methods { display: flex; flex-wrap: wrap; gap: 6px; }
.fs-kit-empty { border: 1px dashed var(--hf-line-strong); border-radius: 16px; padding: 30px; background: var(--hf-surface-soft); }
.fs-kit-empty p { margin: 10px 0 0; font-size: 14px; }
.fs-kit { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); border: 1px solid var(--hf-line); border-radius: 16px; overflow: hidden; background: #fff; }
.fs-kit ol { counter-reset: equipment; list-style: none; margin: 0; padding: 0; }
.fs-kit li { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--hf-line); }
.fs-kit li:last-child { border-bottom: 0; }
.fs-kit li::before { counter-increment: equipment; content: counter(equipment, decimal-leading-zero); display: grid; place-items: center; flex: 0 0 40px; height: 40px; background: var(--hf-brand-soft); border-radius: 9px; color: var(--hf-brand); font-size: 11px; }
.fs-kit li > span { flex: 1; min-width: 0; }
.fs-kit li small { display: block; font-size: 10px; text-transform: uppercase; color: var(--hf-muted); margin-bottom: 4px; }
.fs-kit li strong { display: block; font-size: 14px; }
.fs-kit li b { font-size: 13px; white-space: nowrap; color: var(--hf-brand); }
.fs-kit > aside { padding: 28px; display: flex; flex-direction: column; align-items: flex-start; background: var(--hf-brand-950); color: #fff; }
.fs-kit > aside .fs-eyebrow { color: var(--hf-accent-light); }
.fs-kit > aside p { color: #e5ede8; font-size: 14px; }
.fs-kit > aside > span:not(.fs-eyebrow) { font-size: 12px; margin-top: auto; }
.fs-kit-total { display: block; font-size: 30px; color: var(--hf-accent-light); margin: 8px 0 16px; }
.fs-kit > aside .fs-kit-disclaimer { font-size: 12px; }
.fs-kit > aside a:focus-visible { outline-color: var(--hf-accent-light); }
.fs-content { margin-top: 42px; scroll-margin-top: 185px; }
.fs-content-description { max-width: 76ch; }
.fs-content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.fs-content-grid article { background: #fff; border: 1px solid var(--hf-line); border-radius: 12px; padding: 22px; }
.fs-content-grid p { font-size: 13px; }
.fs-error { padding: 16px; border: 1px solid var(--hf-danger); border-radius: 9px; background: var(--hf-danger-bg); }
.fs-error a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; }
.fs .leaflet-container { font: inherit; }
.fs .leaflet-control-zoom a { width: 44px; height: 44px; line-height: 44px; color: var(--hf-brand); }
.fs .leaflet-control-attribution { display: flex; flex-wrap: wrap; align-items: center; font-size: 10px; max-width: 215px; background: #fff; color: #253d32; }
.fs .leaflet-control-attribution a { min-height: 44px; display: inline-flex; align-items: center; color: #174b36; padding: 0 3px; text-decoration: underline; }
.fs-marker { display: grid; place-items: center; background: transparent; border: 0; }
.fs-marker-shape { display: grid; place-items: center; width: 31px; height: 31px; border: 3px solid #fff; box-shadow: 0 2px 6px #08281e70; color: #fff; font-size: 17px; font-weight: 800; }
.fs-marker-shape--public { border-radius: 50%; background: var(--hf-brand); }
.fs-marker-shape--private { border-radius: 5px; background: var(--fs-private); }
.fs-marker.is-active .fs-marker-shape { outline: 3px solid var(--hf-accent-ink); box-shadow: 0 0 0 6px var(--hf-accent); transform: scale(1.12); }
.fs-marker:focus-visible { outline: 3px solid var(--hf-brand); outline-offset: 4px; border-radius: 6px; background: #fff; }
.fs-tooltip { background: var(--hf-brand-950); color: #fff; border: 0; border-radius: 10px; padding: 13px 16px; box-shadow: 0 8px 24px #08281e33; white-space: normal; min-width: 180px; max-width: 260px; }
.fs-tooltip strong, .fs-tooltip span { display: block; margin-bottom: 4px; }
.fs-tooltip span { font-size: 11px; }
.fs-tooltip.leaflet-tooltip-top::before { border-top-color: var(--hf-brand-950); }
@media (max-width: 1050px) {
    .fs-intro { grid-template-columns: minmax(0, 1fr) 250px; gap: 20px; }
    .fs-types { flex: 1 0 100%; }
    .fs-map-legend { top: 65px; }
    .fs-map-status { top: 170px; }
    .fs-facts { grid-template-columns: 1fr; }

}
@media (max-width: 767px) {
    .fs { padding-top: 22px; padding-bottom: 35px; }
    .fs-intro { grid-template-columns: 1fr; gap: 18px; }
    .fs-intro h1 { font-size: clamp(29px, 7vw, 38px); }
    .fs-demo { padding: 11px 13px; }
    .fs-filters { gap: 8px; padding: 10px; }
    .fs-types { gap: 2px; width: 100%; }
    .fs-types a { flex: 1; padding: 8px 6px; gap: 5px; font-size: 12px; }
    .fs-field, .fs-field--search { flex: 1 1 100%; }
    .fs-filters > button { flex: 1; }
    .fs-results-bar { align-items: start; }
    .fs-results-bar p { padding-top: 12px; }
    .fs-explorer { grid-template-columns: 1fr; }
    .fs-map { height: 70vh; height: 70svh; min-height: 460px; max-height: 680px; }
    .fs-map-legend { top: 65px; left: 10px; }
    .fs-map-legend > span { font-size: 11px; gap: 12px; }
    .fs-list ul { grid-template-columns: 1fr; max-height: 270px; }
    .fs-empty { min-height: 0; padding: 24px; }
    .fs-empty .fs-compass, .fs-empty-steps { display: none; }
    .fs-empty h2 { font-size: 25px; }
    .fs-empty p { margin-bottom: 8px; }
    .fs-panel-head { padding: 20px; }
    .fs-panel-body { padding: 20px; }
    .fs-panel-head h2 { font-size: 25px; }
    .fs-kit { grid-template-columns: 1fr; }
    .fs-kit li { padding: 14px 12px; gap: 10px; }
    .fs-kit li::before { flex-basis: 30px; height: 35px; }
    .fs-kit li strong { font-size: 13px; }
    .fs-kit li b { font-size: 12px; }
    .fs-kit > aside { padding: 24px; }
    .fs-content-grid { grid-template-columns: 1fr; }
    .fs-content { scroll-margin-top: 125px; }
}
@media (prefers-reduced-motion: reduce) {
    .fs *, .fs *::before, .fs *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
.fs-source-note { max-width: 370px; border-left: 3px solid #b68916; padding: 12px 18px; background: #faf8ed; font-size: 13px; line-height: 1.55; }
.fs-source-note strong, .fs-source-note span { display: block; }
.fs-filters { flex-wrap: wrap; }
.fs-types { flex-wrap: wrap; }
.fs-map-legend, .fs-map-legend > span { flex-wrap: wrap; }
.fs-water-controls { padding: 16px; border-top: 1px solid #d4ded9; }
.fs-water-controls p { font-size: 13px; line-height: 1.5; margin: 6px 0; }
.fs-toggle { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-weight: 700; }
.fs-toggle input { width: 22px; height: 22px; accent-color: #103e30; }
.fs-cluster { display: grid; place-items: center; background: #103e30; color: #fff; border: 3px solid #fff; border-radius: 50%; font: 700 15px/1 sans-serif; box-shadow: 0 2px 6px #0003; }
.fs-cluster--water { background: #e7f1fa; color: #163d5b; border: 3px dashed #346080; }
.fs-water-marker { display: grid; place-items: center; font-size: 22px; color: #163d5b; }
.fs-water-marker span { display: grid; place-items: center; width: 29px; height: 29px; border: 2px dashed #346080; background: #e7f1fa; border-radius: 50%; }
.fs-cluster:focus-visible, .fs-water-marker:focus-visible { outline: 3px solid #a25b00; outline-offset: 3px; }
.fs-sources { padding-left: 20px; }
.fs-sources a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.fs-method-links { display: flex; gap: 10px; flex-wrap: wrap; }
.fs [data-water-list] { display: grid; grid-template-columns: 1fr; max-height: 260px; overflow: auto; }
.fs [data-water-list] button { width: 100%; text-align: left; justify-content: flex-start; }
.fs .leaflet-popup-content a { display: inline-flex; min-height: 44px; align-items: center; }
.fs .leaflet-popup-close-button { min-width: 44px; min-height: 44px; }
@media (max-width: 767px) { .fs-types { overflow: visible; flex-wrap: wrap; } .fs-source-note { max-width: none; } }
.fs-panel { scroll-margin-top: 20px; }
.fs-map-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 12px; border-bottom: 1px solid var(--hf-line); }
.fs-map-tools .fs-toggle { font-size: 12px; font-weight: 600; }
.fs-filters { gap: 12px; padding: 18px; }
.fs-filters .fs-types { flex: 1 0 100%; padding-bottom: 10px; border-bottom: 1px solid var(--hf-line); }
.fs-panel-head h2 { overflow-wrap: anywhere; }
.fs-panel-head > small { display: block; margin: 10px 0 0; font-size: 11px; }
.fs-filters .fs-field > span { font-size: 12px; }
@media(max-width:767px) {
    .fs-filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding: 12px; gap: 12px; }
    .fs-filters .fs-types { grid-column: 1 / -1; display: flex; flex-wrap: nowrap; overflow-x: auto; width: auto; min-width: 0; }
    .fs-filters .fs-types a { flex: 0 0 auto; white-space: nowrap; padding: 10px 12px; }
    .fs-filters .fs-field { min-width: 0; }
    .fs-filters .fs-field--search { grid-column: 1 / -1; grid-row: 2; }
    .fs-filters .fs-field input, .fs-filters .fs-field select { font-size: 16px; padding-inline: 8px; }
    .fs-filters > button { width: 100%; }
    .fs-map-tools { align-items: stretch; }
    .fs-map-tools > button { flex: 1 0 100%; }
}
.fs-place-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.fs-satellite-note { font-size: 12px; margin: 10px 0 24px; }
.fs-map-legend { position: static; padding: 12px 16px; border-top: 1px solid var(--hf-line); max-width: none; background: #fff; }
.fs-map-legend > strong { display: none; }
.fs-map-legend > span { border: 0; padding: 0; gap: 12px; }
.fs-equipment { padding: 28px; border-radius: 20px; background: #eaf1ed; border: 1px solid var(--hf-line); }
.fs-equipment-toolbar { display: flex; justify-content: space-between; gap: 16px; align-items: end; }
.fs-carousel-controls { display: flex; gap: 8px; }
.fs-products-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; list-style: none; padding: 8px 3px 18px; margin: 18px -3px 0; }
.fs-products-track > li { min-width: 0; scroll-snap-align: start; }
.fs-product { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 18px; border: 1px solid var(--hf-line); border-radius: 14px; background: #fff; color: var(--hf-ink); text-decoration: none; }
.fs-product:hover { border-color: var(--hf-brand); }
.fs-product img { width: 100%; height: 180px; object-fit: contain; }
.fs-product-name { font-size: 14px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.fs-product-availability { font-size: 12px; color: var(--hf-muted); margin-top: auto; }
.fs-product strong { font-size: 21px; }
.fs-product-link { color: var(--hf-brand); font-size: 13px; font-weight: 700; }
.fs-products-status { font-size: 12px; margin: 8px 0 0; }
.fs-button:disabled { opacity: .55; cursor: default; }
.fs-community { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 36px; margin-top: 44px; padding: 30px; background: #fff; border: 1px solid var(--hf-line); border-radius: 20px; }
.fs-community p { font-size: 14px; }
.fs-community-summary { padding: 20px; border-radius: 12px; background: var(--hf-surface-soft); margin: 24px 0; }
.fs-community-summary p { margin: 8px 0 0; }
.fs-community-form, .fs-community-form > fieldset { display: grid; gap: 16px; min-width: 0; }
.fs-community-form fieldset { border: 1px solid var(--hf-line); padding: 16px; border-radius: 12px; margin: 0; }
.fs-community-form fieldset:disabled { opacity: .65; }
.fs-community-form legend { font-weight: 700; font-size: 14px; }
.fs-consent { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 13px; line-height: 1.6; cursor: pointer; }
.fs-consent input { flex: 0 0 22px; width: 22px; height: 22px; accent-color: var(--hf-brand); }
.fs-species-options { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.fs-field textarea { width: 100%; border: 1px solid var(--hf-line-strong); border-radius: 8px; padding: 12px; font: inherit; resize: vertical; }
.fs :is(textarea, [tabindex]):focus-visible { outline: 3px solid var(--hf-brand); outline-offset: 3px; }
.fs-community-form [role=status] { margin: 0; padding: 12px; border-left: 3px solid var(--hf-brand); background: var(--hf-surface-soft); }
#fs-community-heading { scroll-margin-top: 24px; }
@media (max-width: 1050px) { .fs-products-track { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (max-width: 767px) {
    .fs-equipment, .fs-community { padding: 18px; }
    .fs-community { grid-template-columns: 1fr; gap: 20px; }
    .fs-equipment-toolbar { flex-wrap: wrap; }
    .fs-products-track { grid-auto-columns: 82%; }
    .fs-facts { grid-template-columns: 1fr; }
    .fs-map { min-height: 340px; height: 55svh; max-height: 520px; }
}
