/* Andaz R1.5-D10. Load after D9. Only the three reviewed presentation surfaces. */
/* The programmatically focused heading is not an interactive control. Keep rings on all buttons/links. */
html[data-mh-shell="public"] .mw-public-panel.az-d10-stable-pricing .az-d10-project-title:focus{
 outline:none!important;box-shadow:none!important;
}
@media(max-width:1023px){
 /* D8's [data-has-units=yes] fixed height otherwise wins over D9's auto height
    only after the API response, shortening the same sheet by 29px. */
 html[data-mh-shell="public"] [data-testid="market-map"] .mw-public-panel.az-d9-stable-pricing.az-d10-stable-pricing[data-detent="peek"]{
  height:auto!important;min-height:0!important;max-height:min(58svh,440px)!important;
 }
 html[data-mh-shell="public"] [data-testid="market-map"] .mw-public-panel.az-d10-stable-pricing .mw-public-heading{
  height:47px!important;min-height:47px!important;flex:none!important;
 }
 html[data-mh-shell="public"] [data-testid="market-map"] .mw-public-panel.az-d10-stable-pricing .mw-public-heading h2{
  margin:0!important;line-height:25px!important;min-height:25px!important;
 }
 html[data-mh-shell="public"] [data-testid="market-map"] .mw-public-panel.az-d10-stable-pricing .az-d10-units-slot{
  height:40px;min-height:40px;margin:4px 0 7px;overflow:hidden;flex:none;
 }
 html[data-mh-shell="public"] [data-testid="market-map"] .mw-public-panel.az-d10-stable-pricing .az-d8-unit-choices{
  height:40px!important;min-height:40px!important;max-height:40px!important;margin:0!important;padding:0 1px!important;
  flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;
 }
 html[data-mh-shell="public"] [data-testid="market-map"] .mw-public-panel.az-d10-stable-pricing .az-d8-unit-chip{
  flex:1 0 76px!important;min-width:76px!important;height:40px!important;min-height:40px!important;box-sizing:border-box!important;
 }
 html[data-mh-shell="public"] [data-testid="market-map"] .mw-public-panel.az-d10-stable-pricing .az-d10-prices-slot{
  height:81px;min-height:81px;margin:0 0 8px;flex:none;
 }
 html[data-mh-shell="public"] [data-testid="market-map"] .mw-public-panel.az-d10-stable-pricing .az-d9-market-prices{
  margin:0!important;height:81px!important;max-height:81px!important;grid-auto-rows:38px!important;gap:5px!important;
 }
 html[data-mh-shell="public"] [data-testid="market-map"] .mw-public-panel.az-d10-stable-pricing .az-d9-market-price{
  box-sizing:border-box!important;height:38px!important;min-height:38px!important;
 }
 .az-d10-skeleton-line{display:block;height:9px;width:45%;border-radius:5px;background:#e5eee9}
 .az-d10-skeleton-value{width:25%;background:#d9e9e0}
 html[data-mh-shell="public"] [data-testid="market-map"] .mw-public-panel.az-d10-stable-pricing .az-d10-unit-skeleton .az-d8-unit-chip{
  background:linear-gradient(#e6f0ea,#e6f0ea) center / 55% 9px no-repeat,#f8fbf9!important;
 }
 /* On short screens the header can scroll, so the primary action remains reachable. */
 html[data-mh-shell="public"] [data-testid="market-map"] .mw-public-panel.az-d10-stable-pricing[data-detent="peek"] .mw-public-panel-header{
  overflow-y:auto!important;overscroll-behavior:contain!important;flex:0 1 auto!important;
 }
}
/* Equal-width groups and a measured repeated unit guarantee a continuous physical LTR loop. */
.az-price-ticker.az-d10-price-ticker .az-price-track{
 animation:az-d10-price-right var(--az-price-duration,60s) linear infinite!important;
 animation-play-state:running!important;will-change:transform;
}
.az-d10-price-ticker .az-price-group,.az-d10-price-unit{display:flex;flex:0 0 auto;gap:0}
.az-d10-price-ticker .az-price-group{padding:0;margin:0;border:0}
.az-price-ticker.az-d10-price-ticker[data-paused="true"] .az-price-track{animation-play-state:paused!important}
.az-price-ticker.az-d10-price-ticker[data-ready="false"] .az-price-track{animation:none!important;transform:none!important}
.az-price-ticker.az-d10-price-ticker[data-reduced="true"] .az-price-track{animation:none!important;transform:none!important;will-change:auto}
.az-d10-price-ticker[data-reduced="true"] .az-price-window{overflow-x:auto;scrollbar-width:thin}
.az-d10-price-ticker .az-price-pause{min-width:44px;min-height:44px}
.az-d10-price-ticker .az-price-pause:disabled{cursor:default;opacity:.55}
@keyframes az-d10-price-right{from{transform:translate3d(-50%,0,0)}to{transform:translate3d(0,0,0)}}
@media(prefers-reduced-motion:reduce){
 .az-price-ticker.az-d10-price-ticker .az-price-track{animation:none!important;transform:none!important;will-change:auto}
}
/* Listing cards: amount, secondary notes, title, facts, profile/map, primary action. */
html[data-mh-shell="public"] .lx-card.az-d10-listing-card{
 border:1px solid #dfe8e3!important;border-radius:20px!important;background:#fff!important;
 box-shadow:0 8px 28px rgba(26,55,44,.055)!important;overflow:hidden;min-width:0;
 font-family:var(--mh-font-ckb,'Vazirmatn',system-ui,sans-serif);font-synthesis:none;
}
html[lang^="en"] .lx-card.az-d10-listing-card{font-family:var(--mh-font-latin,system-ui,sans-serif)}
html[data-mh-shell="public"] .lx-card.az-d10-listing-card .lx-card-image{aspect-ratio:16/10;position:relative;display:block;background:#eef4f0;overflow:hidden}
html[data-mh-shell="public"] .lx-card.az-d10-listing-card .lx-card-image>img{width:100%;height:100%;object-fit:cover;display:block}
html[data-mh-shell="public"] .lx-card.az-d10-listing-card .lx-badge{
 display:inline-flex;align-items:center;gap:6px;inset-block-start:14px;inset-inline-start:14px;inset-inline-end:auto;
 background:#087855!important;color:#fff!important;border:1px solid #ffffff66;border-radius:9px;
 padding:7px 11px;font-size:12px;font-weight:700;line-height:1.5;box-shadow:0 3px 10px #003c2420;
}
html[data-mh-shell="public"] .lx-card.az-d10-listing-card .lx-badge.rent{background:#245f8c!important}
.az-d10-icon{width:20px;height:20px;min-width:20px;flex:none;display:block}
.az-d10-listing-card .lx-badge .az-d10-icon{width:15px;height:15px;min-width:15px}
html[data-mh-shell="public"] .lx-card.az-d10-listing-card .lx-card-body{
 padding:19px 18px 16px!important;display:flex;flex-direction:column;gap:0;min-width:0;
}
.az-d10-price-block{margin:0 0 13px;min-width:0}
.az-d10-price-primary{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 7px;min-width:0;line-height:1.4;color:#142e26}
.az-d10-price-amount{font-size:clamp(23px,3vw,28px);font-weight:800;letter-spacing:-.6px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.az-d10-price-currency{font-size:14px;font-weight:650;color:#375a4b}
.az-d10-price-period{font-size:11px;color:#6b7d73;font-weight:500}
.az-d10-price-notes{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:8px}
.az-d10-price-equivalent,.az-d10-negotiable{display:inline-flex;align-items:center;gap:5px;padding:4px 9px;border-radius:6px;font-size:11px;line-height:1.5;font-weight:650}
.az-d10-price-equivalent{background:#f1f5f3;color:#576d61;border:1px solid #e2eae5}
.az-d10-negotiable{background:#eaf6ef;color:#12734f;border:1px solid #cee7d9}
.az-d10-negotiable .az-d10-icon{width:13px;height:13px;min-width:13px}
.az-d10-price-locked{display:flex;align-items:center;gap:9px;padding:11px 12px;background:#f1f7f3;border-radius:10px;color:#196347;margin-bottom:13px;font-size:13px;line-height:1.7}
.az-d10-price-locked a{color:inherit;text-decoration:underline;text-underline-offset:3px}
html[data-mh-shell="public"] .lx-card.az-d10-listing-card h3{font-size:16px;line-height:1.65;font-weight:750;margin:0;color:#1d3b2f;overflow-wrap:anywhere}
html[data-mh-shell="public"] .lx-card.az-d10-listing-card h3 a{color:inherit;text-decoration:none}
html[data-mh-shell="public"] .lx-card.az-d10-listing-card .lx-card-title{
 margin:5px 0 0;font-size:12px;line-height:1.8;color:#738177;white-space:normal;overflow-wrap:anywhere;
}
.az-d10-facts{display:flex;align-items:stretch;border-block:1px solid #e8eeea;margin:15px 0 0;padding:13px 0;gap:0}
.az-d10-fact{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;padding:0 5px;text-align:center}
.az-d10-fact+.az-d10-fact{border-inline-start:1px solid #e6ede8}
.az-d10-fact-value{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px;color:#294e3e;font-weight:700;font-size:14px;line-height:1.4}
.az-d10-fact-value .az-d10-icon{color:#7b9486;width:18px;height:18px;min-width:18px}
.az-d10-fact-value>span{font-size:11px;font-weight:500}
.az-d10-fact-label{font-size:10px;font-weight:500;line-height:1.5;color:#77867c;overflow-wrap:anywhere}
.az-d10-card-links{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 0 5px;margin-top:auto;min-width:0}
.az-d10-place-link{display:flex;align-items:center;gap:7px;min-width:0;min-height:44px;color:#577060;text-decoration:none;font-size:11px}
.az-d10-place-link>span{min-width:0;overflow-wrap:anywhere}
.az-d10-map-link{display:flex;align-items:center;gap:5px;padding:7px 9px;min-height:44px;flex:none;border:0;border-radius:8px;background:#f2f6f3;color:#3e6650;font:inherit;font-size:11px;cursor:pointer}
.az-d10-open{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;box-sizing:border-box;margin-top:7px;padding:10px 14px;border-radius:10px;background:#087a56;color:#fff!important;text-decoration:none;font-weight:700;font-size:13px;line-height:1.5}
[dir="rtl"] .az-d10-arrow{transform:scaleX(-1)}
.az-d10-listing-card :is(a,button):focus-visible{outline:3px solid #168364;outline-offset:3px}
.az-d10-listing-card .lx-no-photo{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;height:100%;color:#789282}
.az-d10-listing-card .lx-no-photo>.az-d10-icon{width:44px;height:44px}
@media(hover:hover) and (pointer:fine){
 .az-d10-open:hover{background:#056847}
 .az-d10-map-link:hover{background:#e5efe8}
 .az-d10-place-link:hover{color:#087a56}
}
@media(max-width:380px){
 html[data-mh-shell="public"] .lx-card.az-d10-listing-card .lx-card-body{padding:16px 13px 13px!important}
 .az-d10-price-amount{font-size:23px}.az-d10-fact{padding-inline:3px}.az-d10-fact-value{gap:3px}
}
