/* ═══════════════════════════════════════════════════════════════
   FLAT PREVIEW – podgląd nowego stylu „rejestr / raport rzeczoznawcy”
   Globalny reset: bez zaokrągleń, cieni i rozmycia tła.
   !important, bo szablony mają setki inline style= i bloków <style>.
   Usunięcie: wyrejestrować 'zam-flat' w functions.php.
═══════════════════════════════════════════════════════════════ */
*, *::before, *::after {
    border-radius: 0 !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

/* Wyjątki: piny i klastry mapy, kropki statusu, suwaki */
.leaflet-container .marker-cluster,
.leaflet-container .marker-cluster div,
.leaflet-container .leaflet-marker-icon,
.leaflet-container [class*="dot"],
input[type="range"]::-webkit-slider-thumb {
    border-radius: 50% !important;
}

/* Ikony liniowe Lucide (zam_icon()) */
.zi {
    display: inline-block;
    width: 1.15em;
    height: 1.15em;
    vertical-align: -0.2em;
    flex: none;
}
.mega-icon .zi,
.mega-col__title .zi { width: 18px; height: 18px; }
.fp-proof-stat__icon .zi,
.fp-tool-card__icon .zi,
.fp-pkg-icon .zi { width: 28px; height: 28px; }
.fp-ogl-card__img-ph .zi,
.fp-inv-banner__img-ph .zi { width: 40px; height: 40px; }
.fp-trans-icon .zi { width: 20px; height: 20px; }

/* Przełącznik motywu: księżyc w jasnym, słońce w ciemnym */
#zam-dark-toggle .zi { width: 18px; height: 18px; }
#zam-dark-toggle .zi-sun { display: none; }
body.dark-mode #zam-dark-toggle .zi-sun { display: inline-block; }
body.dark-mode #zam-dark-toggle .zi-moon { display: none; }
