/* XAN Office v1.3.10.90.2 — Harita kart netliği + panel denge ayarı.
   Kapsam: yalnız /harita/ yüzeyindeki sorunlu kartlar.
   Amaç: yazı netliğini artırmak, fazla alan kullanımını azaltmak ve zemin-yazı uyumunu dengelemek. */

body .xan-map-page-v186 :is(
  .xan-map-nearby-v182,
  .xan-map-spatial-panel-v131058,
  .xan-map-watch-panel-v131076,
  [data-xan-map-watch-panel-toggle]
){
  font-family:"Segoe UI Variable Text","Segoe UI Variable","Segoe UI",system-ui,sans-serif!important;
  -webkit-font-smoothing:antialiased!important;
  -moz-osx-font-smoothing:grayscale!important;
  text-rendering:auto!important;
  text-shadow:none!important;
}

body .xan-map-page-v186 :is(
  .xan-map-nearby-v182,
  .xan-map-spatial-panel-v131058,
  .xan-map-watch-panel-v131076
) :is(h1,h2,h3,h4,h5,h6,p,small,span,strong,b,em,a,button,label){
  text-shadow:none!important;
  letter-spacing:0!important;
  filter:none!important;
}

/* Takip üst düğmesi / rozet: koyu zemin üzerinde sabit ve net görünüm. */
body .xan-map-page-v186 [data-xan-map-watch-panel-toggle]{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px!important;
  font-weight:500!important;
  line-height:1.2!important;
}
body .xan-map-page-v186 [data-xan-map-watch-badge]{
  min-width:22px!important;
  height:22px!important;
  padding:0 6px!important;
  border:1px solid rgba(41,75,90,.18)!important;
  border-radius:999px!important;
  background:#ffffff!important;
  color:#234957!important;
  font-size:11px!important;
  font-weight:500!important;
  line-height:1!important;
}
body .xan-map-page-v186 [data-xan-map-watch-panel-toggle].is-active [data-xan-map-watch-badge]{
  background:#ffffff!important;
  color:#234957!important;
}

/* Yakınımda kartı: daha sıkı boşluk, daha net başlık ve daha dengeli metrik kartları. */
body .xan-map-page-v186 .xan-map-nearby-v182{
  width:min(520px,calc(100% - 24px))!important;
  padding:14px!important;
  border-radius:18px!important;
  box-shadow:0 16px 44px rgba(4,31,64,.16)!important;
}
body .xan-map-page-v186 .xan-map-nearby-head-v182{gap:12px!important}
body .xan-map-page-v186 .xan-map-nearby-head-v182>div{gap:1px!important}
body .xan-map-page-v186 .xan-map-nearby-head-v182 small{
  color:#526a78!important;
  font-size:11px!important;
  font-weight:500!important;
  line-height:1.35!important;
}
body .xan-map-page-v186 .xan-map-nearby-head-v182 strong{
  color:#0f2f43!important;
  font-size:15px!important;
  font-weight:500!important;
  line-height:1.2!important;
}
body .xan-map-page-v186 .xan-map-nearby-head-v182 span{
  color:#3e5563!important;
  font-size:12px!important;
  font-weight:500!important;
  line-height:1.4!important;
}
body .xan-map-page-v186 .xan-map-nearby-head-v182>button{
  width:36px!important;
  height:36px!important;
  border:1px solid #d5dfe5!important;
  border-radius:11px!important;
  background:#ffffff!important;
  color:#173645!important;
  font:700 20px/1 "Segoe UI Variable Text","Segoe UI",system-ui,sans-serif!important;
}
body .xan-map-page-v186 .xan-map-nearby-radius-v182{margin:12px 0 10px!important;gap:7px!important}
body .xan-map-page-v186 .xan-map-nearby-radius-v182 button{
  min-height:36px!important;
  padding:0 14px!important;
  font:700 11px/1 "Segoe UI Variable Text","Segoe UI",system-ui,sans-serif!important;
  color:#244654!important;
}
body .xan-map-page-v186 .xan-map-nearby-counts-v182{gap:10px!important}
body .xan-map-page-v186 .xan-map-nearby-counts-v182 button{
  min-height:62px!important;
  padding:10px 11px!important;
  border-color:#d7e0e6!important;
  border-radius:14px!important;
  background:#f8fbfc!important;
}
body .xan-map-page-v186 .xan-map-nearby-counts-v182 button strong{
  color:#112f40!important;
  font-size:15px!important;
  font-weight:500!important;
  line-height:1.05!important;
}
body .xan-map-page-v186 .xan-map-nearby-counts-v182 button span{
  margin-top:3px!important;
  color:#536874!important;
  font-size:11px!important;
  font-weight:500!important;
  line-height:1.25!important;
}
body .xan-map-page-v186 .xan-map-nearby-nearest-v182{margin-top:11px!important;padding-top:10px!important}
body .xan-map-page-v186 .xan-map-nearby-nearest-head-v182 strong{
  color:#183748!important;
  font-size:11px!important;
  font-weight:500!important;
}
body .xan-map-page-v186 .xan-map-nearby-nearest-head-v182 button{
  color:#244654!important;
  font:700 11px/1.25 "Segoe UI Variable Text","Segoe UI",system-ui,sans-serif!important;
}
body .xan-map-page-v186 .xan-map-nearest-card-v182{
  min-height:80px!important;
  padding:10px!important;
}
body .xan-map-page-v186 .xan-map-nearest-card-v182 small{
  color:#4e6775!important;
  font-size:10px!important;
  font-weight:500!important;
}
body .xan-map-page-v186 .xan-map-nearest-card-v182 strong{
  margin:3px 0!important;
  color:#132f41!important;
  font-size:11px!important;
  font-weight:500!important;
  line-height:1.32!important;
}
body .xan-map-page-v186 .xan-map-nearest-card-v182 span,
body .xan-map-page-v186 .xan-map-nearby-privacy-v182{
  color:#4f6572!important;
  font-size:11px!important;
  font-weight:500!important;
  line-height:1.45!important;
}

/* Mekânsal ilişki kartı: büyük başlıkları ve yumuşak bulanıklığı azalt. */
body .xan-map-page-v186 .xan-map-spatial-panel-v131058{
  width:min(324px,calc(100% - 28px))!important;
  max-height:min(58%,450px)!important;
  border-radius:16px!important;
  background:#ffffff!important;
  box-shadow:0 16px 42px rgba(4,31,64,.16)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
body .xan-map-page-v186 .xan-map-spatial-head-v131058{padding:11px 12px 9px!important;gap:10px!important}
body .xan-map-page-v186 .xan-map-spatial-head-v131058 small{
  margin-bottom:2px!important;
  color:#60727d!important;
  font-size:11px!important;
  font-weight:500!important;
}
body .xan-map-page-v186 .xan-map-spatial-head-v131058 strong{
  color:#123143!important;
  font-size:14px!important;
  font-weight:500!important;
  line-height:1.22!important;
}
body .xan-map-page-v186 .xan-map-spatial-head-v131058 p{
  margin-top:3px!important;
  color:#4f6572!important;
  font-size:11px!important;
  font-weight:500!important;
  line-height:1.45!important;
}
body .xan-map-page-v186 .xan-map-spatial-close-v131058{
  width:34px!important;
  height:34px!important;
  font-size:19px!important;
  font-weight:500!important;
}
body .xan-map-page-v186 .xan-map-spatial-body-v131058{padding:10px 12px 12px!important}
body .xan-map-page-v186 .xan-map-spatial-loading-v131058,
body .xan-map-page-v186 .xan-map-spatial-empty-v131058{
  padding:13px!important;
  border-radius:12px!important;
  color:#506774!important;
  font-size:11px!important;
  font-weight:500!important;
  line-height:1.5!important;
}
body .xan-map-page-v186 .xan-map-spatial-metrics-v131058 span{padding:9px 7px!important}
body .xan-map-page-v186 .xan-map-spatial-metrics-v131058 b{font-size:14px!important;font-weight:500!important}
body .xan-map-page-v186 .xan-map-spatial-metrics-v131058 small{font-size:10px!important;font-weight:500!important;color:#586d78!important}
body .xan-map-page-v186 .xan-map-spatial-section-v131058{padding:9px 10px!important;border-radius:12px!important}
body .xan-map-page-v186 .xan-map-spatial-section-v131058>strong{font-size:11px!important;font-weight:500!important}
body .xan-map-page-v186 .xan-map-spatial-list-v131058 a,
body .xan-map-page-v186 .xan-map-spatial-list-v131058 button{padding:8px 9px!important;border-radius:10px!important}
body .xan-map-page-v186 .xan-map-spatial-list-v131058 strong{font-size:11px!important;font-weight:500!important;line-height:1.3!important}
body .xan-map-page-v186 .xan-map-spatial-list-v131058 small{font-size:10px!important;font-weight:500!important;color:#586d78!important}
body .xan-map-page-v186 .xan-map-spatial-list-v131058 em{min-width:52px!important;font-size:9px!important;font-weight:500!important}
body .xan-map-page-v186 .xan-map-spatial-note-v131058{font-size:10px!important;font-weight:500!important;color:#5a707c!important}

/* Takip paneli: gereksiz genişlik ve boşluğu azalt, başlıkları dengele. */
body .xan-map-page-v186 .xan-map-watch-panel-v131076{
  width:min(366px,calc(100% - 24px))!important;
  grid-template-rows:auto auto auto minmax(70px,1fr) auto!important;
  border-radius:16px!important;
  box-shadow:0 16px 42px rgba(4,31,64,.18)!important;
}
body .xan-map-page-v186 .xan-map-watch-panel-head-v131076{padding:12px 13px 10px!important;gap:10px!important}
body .xan-map-page-v186 .xan-map-watch-panel-head-v131076 small{color:#5d707a!important;font-size:11px!important;font-weight:500!important}
body .xan-map-page-v186 .xan-map-watch-panel-head-v131076 strong{color:#123143!important;font-size:15px!important;font-weight:500!important;line-height:1.2!important}
body .xan-map-page-v186 .xan-map-watch-panel-head-v131076 span{color:#566b77!important;font-size:11px!important;font-weight:500!important;line-height:1.35!important}
body .xan-map-page-v186 .xan-map-watch-panel-head-v131076 button{width:36px!important;height:36px!important;flex-basis:36px!important;font-size:19px!important;font-weight:500!important}
body .xan-map-page-v186 .xan-map-watch-panel-filters-v131076{gap:6px!important;padding:8px 9px!important}
body .xan-map-page-v186 .xan-map-watch-panel-filters-v131076 button{min-height:40px!important;padding:0 8px!important;font-size:10px!important;font-weight:500!important}
body .xan-map-page-v186 .xan-map-watch-focus-tools-v131077{gap:6px!important;padding:8px 9px!important}
body .xan-map-page-v186 .xan-map-watch-focus-tools-v131077 button{min-height:40px!important;padding:0 9px!important;font-size:10px!important;font-weight:500!important}
body .xan-map-page-v186 .xan-map-watch-focus-status-v131077{min-height:15px!important;color:#5f737e!important;font-size:10px!important;font-weight:500!important;line-height:1.4!important}
body .xan-map-page-v186 .xan-map-watch-panel-list-v131076{padding:8px!important;gap:6px!important}
body .xan-map-page-v186 .xan-map-watch-panel-item-v131076{gap:9px!important;padding:9px!important;border-radius:11px!important}
body .xan-map-page-v186 .xan-map-watch-panel-copy-v131076{gap:2px!important}
body .xan-map-page-v186 .xan-map-watch-panel-copy-v131076>small:first-child{color:#60737d!important;font-size:10px!important;font-weight:500!important}
body .xan-map-page-v186 .xan-map-watch-panel-copy-v131076>strong{color:#153443!important;font-size:12px!important;font-weight:500!important;line-height:1.28!important}
body .xan-map-page-v186 .xan-map-watch-panel-copy-v131076 time{color:#71828b!important;font-size:9px!important;font-weight:500!important}
body .xan-map-page-v186 .xan-map-watch-panel-change-v131076 span{min-height:22px!important;padding:2px 7px!important;font-size:9px!important;font-weight:500!important}
body .xan-map-page-v186 .xan-map-watch-panel-stable-v131076{font-size:9.5px!important;font-weight:500!important}
body .xan-map-page-v186 .xan-map-watch-panel-item-v131076>a{min-height:36px!important;padding:0 11px!important;font-size:10px!important;font-weight:500!important}
body .xan-map-page-v186 .xan-map-watch-panel-empty-v131076{padding:16px 12px!important;font-size:11px!important;font-weight:500!important;line-height:1.45!important}
body .xan-map-page-v186 .xan-map-watch-panel-empty-v131076 strong{font-size:12px!important;font-weight:500!important}
body .xan-map-page-v186 .xan-map-watch-panel-foot-v131076{padding:9px 10px!important}
body .xan-map-page-v186 .xan-map-watch-panel-foot-v131076 a{font-size:10px!important;font-weight:500!important}
body .xan-map-page-v186 .xan-map-watch-panel-foot-v131076 small{font-size:9.5px!important;font-weight:500!important;color:#6a7d87!important}

@media(max-width:1024px){
  body .xan-map-page-v186 .xan-map-watch-panel-v131076{width:auto!important;max-height:min(66vh,600px)!important}
}
@media(max-width:820px){
  body .xan-map-page-v186 .xan-map-nearby-v182{padding:12px!important;width:auto!important}
  body .xan-map-page-v186 .xan-map-spatial-panel-v131058{left:8px!important;right:8px!important;bottom:calc(146px + env(safe-area-inset-bottom,0px))!important;width:auto!important;max-height:min(38dvh,360px)!important}
}
@media(prefers-reduced-motion:reduce){
  body .xan-map-page-v186 :is(.xan-map-nearby-v182,.xan-map-spatial-panel-v131058,.xan-map-watch-panel-v131076) *{transition:none!important;animation:none!important}
}
