html.ohm-modal-open, body.ohm-modal-open{overflow:hidden !important}
.ohm-map-wrap{position:relative;width:100%;min-height:320px}
.ohm-map{width:100%;height:100%;border-radius:14px;overflow:hidden;border:1px solid rgba(0,0,0,.08)}
.ohm-map-hint{position:absolute;left:12px;right:12px;bottom:12px;padding:10px 12px;border-radius:12px;background:rgba(0,0,0,.75);color:#fff;font-size:13px;line-height:1.35;display:none;z-index:999}
.ohm-form label{font-weight:600;display:block;margin-bottom:6px}

/* Modal: szczegoly pinezki */
.ohm-modal{position:fixed;inset:0;z-index:99999;display:none}
.ohm-modal[aria-hidden="false"]{display:block}
.ohm-modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55)}
.ohm-modal__panel{position:relative;max-width:980px;margin:6vh auto 0 auto;background:#fff;border-radius:18px;box-shadow:0 12px 40px rgba(0,0,0,.25);overflow:hidden}
.ohm-modal__close{position:absolute;top:10px;right:10px;width:40px;height:40px;border-radius:12px;border:1px solid rgba(0,0,0,.12);background:#fff;cursor:pointer;font-size:22px;line-height:1}
.ohm-modal__body{padding:18px 18px 20px}
.ohm-modal__loading{opacity:.75}
.ohm-finding-head{display:flex;gap:14px;align-items:flex-start}
.ohm-finding-head__title{margin:0 0 6px 0;font-size:20px;line-height:1.25}
.ohm-finding-meta{opacity:.8;font-size:13px;line-height:1.4}
.ohm-finding-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:16px;margin-top:14px}
.ohm-finding-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.ohm-finding-gallery a{display:block}
.ohm-finding-gallery img{width:100%;height:120px;object-fit:cover;border-radius:12px;border:1px solid rgba(0,0,0,.08)}
.ohm-finding-side{border:1px solid rgba(0,0,0,.08);border-radius:14px;padding:14px}
.ohm-finding-side h4{margin:0 0 10px 0}
.ohm-kv{display:grid;grid-template-columns:120px 1fr;gap:8px;font-size:14px;line-height:1.35}
.ohm-kv b{opacity:.75;font-weight:600}
@media (max-width: 860px){
  .ohm-modal__panel{margin:2vh 12px 0 12px}
  .ohm-finding-grid{grid-template-columns:1fr}
  .ohm-finding-gallery{grid-template-columns:repeat(2,1fr)}
  .ohm-finding-gallery img{height:140px}
}

/* Notes */
.ohm-note{padding:10px 12px;border-radius:12px;margin-bottom:12px;border:1px solid rgba(0,0,0,.08)}
.ohm-note--ok{border-color:rgba(34,197,94,.35)}
.ohm-note--err{border-color:rgba(220,38,38,.35)}
.ohm-muted{opacity:.75}
.ohm-text{line-height:1.55}

/* Profile */
.ohm-profile{max-width:1100px;margin:0 auto}
.ohm-profile__cover{height:240px;border-radius:18px;border:1px solid rgba(0,0,0,.08);background-size:cover;background-position:center;position:relative;overflow:hidden}
.ohm-profile__cover{z-index:1}
.ohm-profile__coverPlaceholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;opacity:.25;font-weight:700;font-size:32px;letter-spacing:.08em;text-transform:uppercase}
.ohm-profile__head{display:flex;gap:16px;align-items:flex-end;margin-top:-56px;padding:0 14px;position:relative;z-index:3}
.ohm-profile__avatarWrap{width:120px;height:120px;border-radius:22px;border:1px solid rgba(0,0,0,.12);background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.ohm-profile__avatarWrap{position:relative;z-index:4}
.ohm-profile__avatar{width:100%;height:100%;object-fit:cover}
.ohm-profile__title h2{margin:0;font-size:26px;line-height:1.2}
.ohm-profile__sub{opacity:.7;margin-top:4px}
.ohm-profile__actions{margin-left:auto;padding-bottom:10px}
.ohm-btn{display:inline-block;padding:10px 12px;border-radius:12px;border:1px solid rgba(0,0,0,.12);background:#fff;cursor:pointer;text-decoration:none}
.ohm-profile__grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}
.ohm-card{border:1px solid rgba(0,0,0,.08);border-radius:16px;padding:14px;background:#fff}
.ohm-card h3{margin:0 0 10px 0}
.ohm-card h4{margin:14px 0 8px 0}
.ohm-links{margin:0;padding-left:18px}
.ohm-formRow{margin-top:10px}
.ohm-formRow label{display:block;font-weight:600;margin-bottom:6px}
.ohm-formRow input[type="url"], .ohm-formRow textarea{width:100%}
.ohm-formGrid2{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:10px}
.ohm-findingCards{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.ohm-findingCard{display:block;border:1px solid rgba(0,0,0,.08);border-radius:14px;overflow:hidden;text-decoration:none;color:inherit;background:#fff}
.ohm-findingCard__img{height:110px;background:#f3f4f6;background-size:cover;background-position:center}
.ohm-findingCard__body{padding:10px 12px}
.ohm-findingCard__title{font-weight:700;line-height:1.25;margin:0 0 6px 0}
.ohm-findingCard__meta{opacity:.75;font-size:13px;line-height:1.35}
@media (max-width: 900px){
  .ohm-profile__grid{grid-template-columns:1fr}
  .ohm-findingCards{grid-template-columns:1fr}
  .ohm-formGrid2{grid-template-columns:1fr}
  .ohm-profile__head{flex-wrap:wrap}
  .ohm-profile__actions{margin-left:0}
}

/* Map filters */
.ohm-map-filters{margin:10px 0 12px 0;padding:10px 12px;border:1px solid rgba(0,0,0,.08);border-radius:14px;background:rgba(255,255,255,.75);backdrop-filter:saturate(160%) blur(6px)}
.ohm-map-filters__row{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}
.ohm-map-filters label{font-weight:600;font-size:13px;display:flex;flex-direction:column;gap:6px}
.ohm-map-filters select,.ohm-map-filters input{min-width:160px;max-width:240px;padding:8px 10px;border:1px solid rgba(0,0,0,.14);border-radius:10px;background:#fff}
.ohm-btn--ghost{background:transparent;border:1px solid rgba(0,0,0,.18)}
@media (max-width:680px){
  .ohm-map-filters select,.ohm-map-filters input{min-width:140px;max-width:100%}
}


/* LiDAR map (single layer) */
.ohm-lidar-wrap{position:relative;width:100%}
#ohm-lidar-map{width:100%;min-height:420px;border-radius:12px;overflow:hidden}
.ohm-lidar-controls{display:flex;align-items:center;gap:10px;margin:10px 0 12px;flex-wrap:wrap}
.ohm-lidar-controls input[type=range]{min-width:220px;max-width:520px;width:100%}
.ohm-lidar-shade-val{font-weight:700;opacity:.85}
/* Optional contrast boost */
.ohm-lidar-contrast .leaflet-tile{filter:contrast(1.35) brightness(1.05)}
