@media (max-width:760px){html,body.has-map-shell{width:100% !important;min-width:0 !important;min-height:100dvh !important;overflow:hidden !important;background:#e8f4df !important;-webkit-text-size-adjust:100% !important;text-size-adjust:100% !important}body.has-map-shell *{box-sizing:border-box !important}body.has-map-shell .site-footer{display:none !important}body.has-map-shell .topbar.compact-topbar{position:fixed !important;z-index:4000 !important;top:calc(env(safe-area-inset-top,0px)+8px) !important;left:10px !important;right:10px !important;width:auto !important;max-width:none !important;min-width:0 !important;min-height:0 !important;height:auto !important;margin:0 !important;padding:8px !important;display:grid !important;grid-template-columns:minmax(0,1fr) auto !important;grid-template-areas:"brand actions" "search search" !important;gap:7px !important;align-items:center !important;border-radius:20px !important;background:linear-gradient(135deg,#0d593d 0%,#158757 100%) !important;box-shadow:0 12px 28px rgba(7,31,18,.26) !important;overflow:visible !important;transform:none !important}body.has-map-shell .topbar.compact-topbar .brand{grid-area:brand !important;display:inline-flex !important;align-items:center !important;min-width:0 !important;height:38px !important;gap:8px !important}body.has-map-shell .topbar.compact-topbar .brand .logo{width:38px !important;height:38px !important;min-width:38px !important;border-radius:13px !important}body.has-map-shell .topbar.compact-topbar .brand strong{display:block !important;color:#f5fff5 !important;font-size:clamp(18px,5.2vw,22px) !important;line-height:1 !important;font-weight:950 !important;letter-spacing:-.03em !important;white-space:nowrap !important}body.has-map-shell .topbar.compact-topbar .brand .brand-text>span{display:none !important}body.has-map-shell .topbar.compact-topbar .topbar-right{grid-area:actions !important;position:static !important;display:inline-flex !important;gap:7px !important;width:auto !important;height:auto !important;margin:0 !important;inset:auto !important;transform:none !important}body.has-map-shell .topbar.compact-topbar .topbar-right button,body.has-map-shell .topbar.compact-topbar .topbar-right .lang-toggle,body.has-map-shell .topbar.compact-topbar .topbar-right .menu-toggle{width:42px !important;height:42px !important;min-width:42px !important;padding:0 !important;border-radius:14px !important;font-size:15px !important;background:rgba(255,255,255,.94) !important;color:#103221 !important;box-shadow:0 4px 12px rgba(4,25,14,.16) !important}body.has-map-shell .topbar.compact-topbar .topbar-right .lang-code{font-size:14px !important;font-weight:950 !important}body.has-map-shell .top-search.compact-search{grid-area:search !important;width:100% !important;min-width:0 !important;height:44px !important;display:grid !important;grid-template-columns:auto minmax(0,1fr) 46px !important;gap:6px !important;margin:0 !important;padding:0 !important;border-radius:16px !important;background:rgba(255,255,255,.10) !important;box-shadow:none !important}body.has-map-shell .top-search.compact-search .tabs{min-width:0 !important;height:44px !important;display:inline-flex !important;gap:5px !important;overflow:hidden !important}body.has-map-shell .top-search.compact-search .tab{height:44px !important;min-width:0 !important;padding:0 !important;border-radius:14px !important;font-size:0 !important;line-height:1 !important;white-space:nowrap !important;overflow:hidden !important;display:inline-flex !important;align-items:center !important;justify-content:center !important}body.has-map-shell .top-search.compact-search .tab[data-mode="address"]{width:78px !important;font-size:0 !important;font-weight:950 !important}body.has-map-shell .top-search.compact-search .tab[data-mode="address"]::before{content:"📍 adres";font-size:13px !important;line-height:1 !important;font-weight:950 !important}body.has-map-shell .top-search.compact-search .tab[data-mode="parcel"]{width:48px !important}body.has-map-shell .top-search.compact-search .tab[data-mode="parcel"]::before{content:"#";font-size:22px !important;line-height:1 !important;font-weight:950 !important}body.has-map-shell .top-search.compact-search .search-wrap{min-width:0 !important;width:100% !important;height:44px !important;border-radius:14px !important}body.has-map-shell .top-search.compact-search input{width:100% !important;height:44px !important;min-width:0 !important;padding:0 12px !important;font-size:16px !important;line-height:44px !important;border-radius:14px !important;text-overflow:ellipsis !important}body.has-map-shell .top-search.compact-search .primary{width:46px !important;height:44px !important;min-width:46px !important;border-radius:14px !important;padding:0 !important}body.has-map-shell .app-menu,body.has-map-shell .lang-picker{z-index:5000 !important}body.has-map-shell #map.map{position:absolute !important;inset:0 !important;width:100% !important;height:100% !important;min-height:0 !important;border-radius:0 !important}body.has-map-shell .map-help,body.has-map-shell .map-status{display:none !important}body.has-map-shell.report-open .map-toggle-wrap,body.has-map-shell.report-open .zoom-controls,body.has-map-shell.report-open .attribution{display:none !important}body.has-map-shell #detailsPanel.parcel-drawer,body.has-map-shell .right-panel.parcel-drawer{position:fixed !important;z-index:2200 !important;left:10px !important;right:10px !important;top:calc(env(safe-area-inset-top,0px)+124px) !important;bottom:calc(env(safe-area-inset-bottom,0px)+10px) !important;width:auto !important;max-width:none !important;height:auto !important;max-height:none !important;min-height:0 !important;margin:0 !important;padding:0 !important;border-radius:22px !important;overflow:hidden !important;display:none !important;transform:translateY(18px) !important;background:#f6faf4 !important;box-shadow:0 20px 52px rgba(4,25,14,.30) !important}body.has-map-shell #detailsPanel.parcel-drawer.is-open,body.has-map-shell #detailsPanel.parcel-drawer[aria-hidden="false"],body.has-map-shell .right-panel.parcel-drawer.is-open,body.has-map-shell .right-panel.parcel-drawer[aria-hidden="false"]{display:flex !important;flex-direction:column !important;transform:none !important}body.has-map-shell #detailsPanel.parcel-drawer::before{display:none !important}body.has-map-shell .drawer-close,body.has-map-shell #btnCloseReport{position:absolute !important;top:10px !important;right:10px !important;z-index:20 !important;width:34px !important;height:34px !important;min-width:34px !important;border-radius:999px !important;border:0 !important;background:rgba(255,255,255,.96) !important;color:#103221 !important;box-shadow:0 4px 12px rgba(4,25,14,.20) !important;font-size:22px !important;line-height:30px !important}body.has-map-shell .right-panel.parcel-drawer .report-head{flex:0 0 auto !important;min-height:58px !important;margin:0 !important;padding:11px 50px 10px 14px !important;display:flex !important;align-items:center !important;gap:8px !important;border-radius:0 !important;background:linear-gradient(135deg,#0b5f37 0%,#149457 100%) !important}body.has-map-shell .right-panel.parcel-drawer .report-head h2{max-width:100% !important;margin:0 0 2px !important;color:#fff !important;font-size:clamp(16px,4.2vw,18px) !important;line-height:1.08 !important;font-weight:950 !important;letter-spacing:-.02em !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important}body.has-map-shell .right-panel.parcel-drawer .report-head p{margin:0 !important;color:rgba(255,255,255,.86) !important;font-size:11px !important;line-height:1.18 !important;font-weight:800 !important;display:-webkit-box !important;-webkit-line-clamp:2 !important;-webkit-box-orient:vertical !important;overflow:hidden !important}body.has-map-shell .right-panel.parcel-drawer .report-head [id="reportBadge"],body.has-map-shell .right-panel.parcel-drawer .report-head .badge-neutral,body.has-map-shell .right-panel.parcel-drawer .report-head .badge-ok,body.has-map-shell .right-panel.parcel-drawer .report-head .badge-warn,body.has-map-shell .right-panel.parcel-drawer .report-head .badge-bad{align-self:center !important;flex:0 0 auto !important;max-width:88px !important;padding:6px 9px !important;border-radius:999px !important;font-size:10px !important;line-height:1.05 !important;text-align:center !important;overflow:hidden !important}body.has-map-shell .report-share{flex:0 0 auto !important;display:grid !important;grid-template-columns:1fr 1fr !important;gap:8px !important;margin:0 !important;padding:9px !important;background:#fff !important;border-bottom:1px solid rgba(16,50,33,.10) !important}body.has-map-shell .share-btn{min-height:42px !important;height:42px !important;padding:0 10px !important;border-radius:15px !important;font-size:14px !important;line-height:1.05 !important;font-weight:950 !important;white-space:nowrap !important}body.has-map-shell .share-btn--pdf{grid-column:1 / -1 !important;min-height:44px !important;height:44px !important}body.has-map-shell .right-panel.parcel-drawer .report-content{flex:1 1 auto !important;min-height:0 !important;overflow-y:auto !important;-webkit-overflow-scrolling:touch !important;padding:10px !important;background:linear-gradient(180deg,#f8fbf4 0%,#edf5ed 100%) !important}body.has-map-shell .report-content .loading-card,body.has-map-shell .report-content .loading-card.v34{width:100% !important;max-width:100% !important;padding:14px !important;border-radius:18px !important;box-shadow:none !important}body.has-map-shell .report-content .loading-top,body.has-map-shell .report-content .loading-card.v34 .loading-top{display:grid !important;grid-template-columns:minmax(0,1fr) auto !important;align-items:center !important;gap:8px !important;margin-bottom:10px !important}body.has-map-shell .report-content .loading-top b{min-width:0 !important;font-size:clamp(18px,5vw,22px) !important;line-height:1.12 !important;letter-spacing:-.03em !important;overflow-wrap:anywhere !important}body.has-map-shell .report-content .loading-pct,body.has-map-shell .report-content .loading-top span{flex:0 0 auto !important;padding:5px 9px !important;font-size:20px !important;line-height:1 !important;border-radius:999px !important}body.has-map-shell .report-content .loading-bar,body.has-map-shell .report-content .loading-card.v34 .loading-bar{height:7px !important;margin-bottom:10px !important}body.has-map-shell .report-content .loading-steps,body.has-map-shell .report-content .loading-card.v34 .v34-steps{gap:7px !important;margin-bottom:10px !important}body.has-map-shell .report-content .loading-card.v34 .v34-steps li{grid-template-columns:24px minmax(0,1fr) auto !important;gap:8px !important;padding:9px 10px !important;min-height:58px !important;border-radius:14px !important}body.has-map-shell .report-content .step-icon{font-size:18px !important}body.has-map-shell .report-content .step-label{font-size:15px !important;line-height:1.16 !important;font-weight:900 !important}body.has-map-shell .report-content .step-source,body.has-map-shell .report-content .step-note{font-size:11px !important;line-height:1.18 !important}body.has-map-shell .report-content .step-time{font-size:12px !important;white-space:nowrap !important}body.has-map-shell .report-content .loading-hint{display:none !important}body.has-map-shell .report-content .card,body.has-map-shell .report-content .notice,body.has-map-shell .report-content .risk-card,body.has-map-shell .report-content .pv-insight-card{max-width:100% !important;padding:14px !important;border-radius:18px !important;font-size:15px !important;line-height:1.35 !important}body.has-map-shell .report-accordion{gap:8px !important}body.has-map-shell .report-acc-summary{min-height:50px !important;padding:0 10px !important}body.has-map-shell .report-acc-title{gap:8px !important;min-width:0 !important;font-size:15px !important;line-height:1.12 !important}body.has-map-shell .report-acc-title b{width:30px !important;height:30px !important;min-width:30px !important;border-radius:10px !important}body.has-map-shell .report-acc-hint{padding:5px 8px !important;font-size:10px !important;white-space:nowrap !important}body.has-map-shell .report-acc-body{padding:9px !important}body.has-map-shell .report-accordion .parcel-decision-hero,body.has-map-shell .parcel-decision-hero,body.has-map-shell .risk-grid,body.has-map-shell .parcel-facts-grid,body.has-map-shell .parcel-signal-grid,body.has-map-shell .pv-insight-grid,body.has-map-shell .pv-lists,body.has-map-shell .pv-metrics{width:100% !important;max-width:100% !important;grid-template-columns:1fr !important}body.has-map-shell .report-accordion .parcel-visual{min-height:150px !important;border-radius:16px !important}body.has-map-shell .report-accordion .parcel-id-block h3{font-size:clamp(24px,8vw,32px) !important;line-height:.95 !important;overflow-wrap:anywhere !important}body.has-map-shell .report-accordion .parcel-score-ring{width:104px !important;height:104px !important}body.has-map-shell .report-accordion .parcel-score-ring strong{font-size:34px !important}body.has-map-shell .risk-card-head strong,body.has-map-shell .report-content .card h3{font-size:17px !important;line-height:1.16 !important}body.has-map-shell .risk-card p,body.has-map-shell .report-content .card p,body.has-map-shell .report-content .notice p{font-size:15px !important;line-height:1.36 !important}body.has-map-shell .solar-heatmap{min-height:128px !important}}@media (max-width:370px){body.has-map-shell .topbar.compact-topbar{left:6px !important;right:6px !important;padding:7px !important}body.has-map-shell .topbar.compact-topbar .brand strong{font-size:17px !important}body.has-map-shell .topbar.compact-topbar .topbar-right button,body.has-map-shell .topbar.compact-topbar .topbar-right .lang-toggle,body.has-map-shell .topbar.compact-topbar .topbar-right .menu-toggle{width:39px !important;height:39px !important;min-width:39px !important}body.has-map-shell .top-search.compact-search{grid-template-columns:auto minmax(0,1fr) 42px !important}body.has-map-shell #detailsPanel.parcel-drawer,body.has-map-shell .right-panel.parcel-drawer{left:6px !important;right:6px !important;top:calc(env(safe-area-inset-top,0px)+120px) !important;bottom:calc(env(safe-area-inset-bottom,0px)+8px) !important}}



body.has-map-shell #map,
body.has-map-shell .map{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100dvh !important;
  display: block !important;
  background: #eaf5df !important;
}
body.has-map-shell .topbar.compact-topbar{
  position: fixed !important;
  top: 22px !important;
  left: 24px !important;
  right: auto !important;
  z-index: 2400 !important;
  max-width: min(1150px, calc(100vw - 280px)) !important;
}
body.has-map-shell .topbar-right{
  position: fixed !important;
  top: 22px !important;
  right: 24px !important;
  z-index: 2450 !important;
}
.top-search, .search-wrap, .search-bar, .search-box{ overflow: visible !important; }
#searchSuggest{
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  right: 64px !important;
  width: auto !important;
  max-height: min(420px, 52vh) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  background: rgba(255,255,255,.98) !important;
  color: #102016 !important;
  border: 1px solid rgba(19,130,74,.20) !important;
  border-radius: 20px !important;
  box-shadow: 0 24px 60px rgba(6,38,22,.22) !important;
  padding: 8px !important;
  z-index: 2600 !important;
  backdrop-filter: blur(10px) !important;
}
#searchSuggest[hidden]{ display:none !important; }
#searchSuggest .suggest-item{
  width: 100% !important;
  display: grid !important;
  grid-template-columns: 34px minmax(0,1fr) !important;
  grid-template-areas: "ico main" "ico sub" !important;
  align-items: center !important;
  gap: 2px 10px !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  border: 0 !important;
  background: transparent !important;
  color: #102016 !important;
  text-align: left !important;
  cursor: pointer !important;
}
#searchSuggest .suggest-item:hover{ background: #eef8ef !important; }
#searchSuggest .suggest-icon{ grid-area: ico; font-size: 20px; }
#searchSuggest .suggest-main{ grid-area: main; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#searchSuggest .suggest-sub{ grid-area: sub; color: #516156; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#searchSuggest .suggest-empty,
#searchSuggest .suggest-loading,
#searchSuggest .suggest-header{ padding: 12px 14px !important; color:#445247 !important; font-weight:800 !important; }
.pv-confidence{ color:#506253 !important; background:#f8fcf7 !important; border:1px solid rgba(20,130,75,.14) !important; }
.risk-card.warn, .risk-item.warn, .ig-risk-card.warn{
  background: #f8fcf7 !important;
  border-color: rgba(20,130,75,.18) !important;
}
.risk-card.warn .risk-title, .risk-item.warn .risk-title, .ig-risk-card.warn .risk-title{ color:#0e5f37 !important; }
@media (max-width: 860px){
  body.has-map-shell .topbar.compact-topbar{
    top: 10px !important; left: 10px !important; right: 10px !important;
    max-width: calc(100vw - 20px) !important;
  }
  body.has-map-shell .topbar-right{ top: 82px !important; right: 10px !important; }
  #searchSuggest{ right: 0 !important; max-height: 46vh !important; }
}

/* ===== INFOGRUNT MOBILE v2 (2026-05-24) — P2-5 (zgloszone na telefonie) =====
   (1) Gorny pasek/szukajka wychodzily poza ekran -> tresc ucieta po bokach.
   (2) Karuzela "Sprawdz dalej" przez height:80vh byla ogromnym ciemnym boksem
   na slajd (uzytkownik: "bezsensu"). */
@media (max-width: 860px){
  html, body{ overflow-x: hidden !important; max-width: 100vw !important; }
  /* Formularz szukania: pelna szerokosc wiersza, input sie KURCZY (min-width:0)
     zamiast wypychac przycisk poza ekran. */
  .topbar.compact-topbar .top-search.compact-search{
    display: flex !important; flex-wrap: nowrap !important; align-items: center !important;
    gap: 6px !important; width: 100% !important; min-width: 0 !important; box-sizing: border-box !important;
  }
  .top-search.compact-search > .tabs{ flex: 0 0 auto !important; }
  .top-search.compact-search > .search-wrap{ flex: 1 1 auto !important; min-width: 0 !important; }
  .top-search.compact-search #searchInput{ width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; }
  .top-search.compact-search > .primary{ flex: 0 0 auto !important; }
  /* Drawer raportu w obrebie ekranu (naglowek nie ucinany po bokach). */
  .parcel-drawer, .report-drawer, .report-content{ max-width: 100vw !important; box-sizing: border-box !important; }
  /* Karuzela "Sprawdz dalej" duzo nizsza na mobile — nie zabiera calego ekranu. */
  .report-content .carousel-card-v4{ height: clamp(280px, 50vh, 430px) !important; }
}
