/* V175-E (owner approved the Explore / Intelligence mockups, 15-Nov-2026) - Explore Gurgaon + Property Intelligence P0 fixes.
   The site's own tokens only (nstay-brand-v174.css: --ns-navy, --ns-gold, --ns-gold-ink, --ns-ink, --ns-muted, --ns-line, --ns-soft, --ns-wa)
   and the one font (Inter via nstay-font-v174.css). Linked by the section nav block of every Explore / Intelligence template.
   Rules: WEB-R730 one section nav, WEB-R732 "All guides A-Z" fold, WEB-R734 no layout shift on the hubs, WEB-R736 sector map picture,
   WEB-R738..R744 Intelligence page fixes. Specificity html:not(#n1):not(#n2) as in V174-D (beats the older !important layers). */

/* ---- WEB-R730: ONE section nav, one row; swipe sideways on a phone; the active tab is scrolled into view by the inline script */
.ns175-nav{display:block;background:#fff;border-bottom:1px solid var(--ns-line,#e2e7ee);position:relative;z-index:2;margin:0;width:100%}
.ns175-nav-in{position:relative;display:flex;gap:2px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none;
  height:50px;align-items:stretch;width:min(1180px,100%);margin:0 auto;padding:0 12px;box-sizing:border-box}
.ns175-nav-in::-webkit-scrollbar{display:none}
html:not(#n1):not(#n2) .ns175-nav a{flex:none;display:flex;align-items:center;padding:0 12px;font:600 15px/1 var(--ns-font,Inter,Arial,sans-serif);
  color:var(--ns-muted,#5b6878);text-decoration:none;border-bottom:3px solid transparent;white-space:nowrap;letter-spacing:0;text-transform:none}
html:not(#n1):not(#n2) .ns175-nav a:hover{color:var(--ns-navy,#0b3154)}
html:not(#n1):not(#n2) .ns175-nav a[aria-current]{color:var(--ns-navy,#0b3154);border-bottom-color:var(--ns-gold,#b58a45)}
/* the old per-page tab rows and 8-12 link anchor navs (2-3 wrapped rows on a phone) are gone: one nav only */
html:not(#n1):not(#n2) :is(.pi-shared-tabs-shell,.eg516-subnav,.eg-tabs-shell,.sd-tabs-shell,.cr-subnav,.mi-subnav,.pt-subnav,.zp-subnav,.sm-page-nav,[data-hub-tabs]){display:none!important}

.ns175-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* ---- WEB-R732: the SEO link lists in ONE closed fold "All guides A-Z" (links stay in the HTML) */
html:not(#n1):not(#n2) .ns175-az{border:1px solid var(--ns-line,#e2e7ee);border-radius:12px;background:#fff;margin:8px 0 24px}
html:not(#n1):not(#n2) .ns175-az>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;min-height:52px;padding:0 16px;
  font:700 16px/1.2 var(--ns-font,Inter,Arial,sans-serif);color:var(--ns-navy,#0b3154)}
.ns175-az>summary::-webkit-details-marker{display:none}
.ns175-az>summary::after{content:"+";margin-left:auto;font-size:22px;font-weight:400;color:var(--ns-navy,#0b3154)}
.ns175-az[open]>summary::after{content:"\2212"}
.ns175-az-n{font-weight:400;color:var(--ns-muted,#5b6878);font-size:14px}
.ns175-az-body{padding:4px 16px 16px;border-top:1px solid var(--ns-line,#e2e7ee)}
html:not(#n1):not(#n2) .ns175-az .ssr62-links{display:block;columns:2 150px;column-gap:20px;margin:0 0 12px}
html:not(#n1):not(#n2) .ns175-az .ssr62-links li{break-inside:avoid;font-size:14px;line-height:1.35;padding:6px 0}
html:not(#n1):not(#n2) .ns175-az h3{font-size:15px;margin:14px 0 6px}
@media(min-width:768px){html:not(#n1):not(#n2) .ns175-az .ssr62-links{columns:4 160px}}
@media(min-width:1100px){html:not(#n1):not(#n2) .ns175-az .ssr62-links{columns:5 170px}}
html:not(#n1):not(#n2) .ssr62-index:has(.ns175-az){padding-top:8px;padding-bottom:8px}

/* ---- WEB-R736: the sector map picture at the top of a sector page (fixed 4:3 box - no shift; opens the protected viewer) */
.ns175-smap{position:relative;display:block;margin:16px 0 0;aspect-ratio:4/3;width:100%;max-width:560px;border:1px solid var(--ns-line,#e2e7ee);
  border-radius:14px;overflow:hidden;background:var(--ns-soft,#f6f8fb);text-decoration:none;color:var(--ns-navy,#0b3154)}
.ns175-smap img{display:block;width:100%;height:100%;object-fit:cover}
.ns175-smap-cap{position:absolute;left:12px;bottom:12px;right:12px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;font:600 14px/1.3 var(--ns-font,Inter,Arial,sans-serif)}
.ns175-smap-cap b{background:#fff;border-radius:10px;padding:10px 14px;box-shadow:0 2px 10px rgba(16,36,63,.18);font-weight:700;min-height:44px;display:inline-flex;align-items:center}
.ns175-smap:not(.ns175-smap-none) .ns175-smap-cap{font-size:0}
.ns175-smap:not(.ns175-smap-none) .ns175-smap-cap b{font-size:15px}
.ns175-smap-none{aspect-ratio:auto;min-height:88px;display:flex;align-items:center}
.ns175-smap-none .ns175-smap-cap{position:static;padding:16px}
@media(min-width:1000px){
  html:not(#n1):not(#n2) .sd-hero>.sd-wrap:has(.ns175-smap){display:grid;grid-template-columns:minmax(0,1fr) 400px;column-gap:32px;align-items:start}
  html:not(#n1):not(#n2) .sd-hero>.sd-wrap:has(.ns175-smap)>.sd-breadcrumb{grid-column:1/-1}
  html:not(#n1):not(#n2) .sd-hero>.sd-wrap:has(.ns175-smap)>.ns175-smap{grid-column:2;grid-row:2/span 2;margin-top:0}
}
/* sector hero buttons: one style (outline navy), no 3 styles side by side (SP7) */
html:not(#n1):not(#n2) .sd-actions .sd-action{min-height:44px;display:inline-flex;align-items:center}
html:not(#n1):not(#n2) .sd-fact span{font-size:13px;text-transform:none;letter-spacing:0;color:var(--ns-muted,#5b6878)}
html:not(#n1):not(#n2) .sd-fact strong{font-size:15px}

/* ---- WEB-R734: no layout shift on the Explore hub. The card sections are server-written (data-ns175-ssr); the "at a glance" counts are
   still drawn by the page script, so their box is reserved at its final size (5 tiles: 1 row > 950 px, 3 + 2 at 621-950, 2 x 3 below) */
html.ns175-eg main>section.eg-section:has(#egStats),html.ns175-eg main>section.eg516-section:has(.eg516-stats){min-height:258px;box-sizing:border-box}
@media(max-width:950px){html.ns175-eg main>section.eg-section:has(#egStats),html.ns175-eg main>section.eg516-section:has(.eg516-stats){min-height:413px}}
@media(max-width:620px){html.ns175-eg main>section.eg-section:has(#egStats),html.ns175-eg main>section.eg516-section:has(.eg516-stats){min-height:559px}}

/* ---- Intelligence hub (WEB-R734 / R737 / R741): search first, cards in the page from the first paint, a listings band */
html:not(#n1):not(#n2) .pi514-page main>.hero h1{font-size:clamp(28px,4vw,40px);line-height:1.15;margin:0 0 10px}
.ns175-find{display:flex;gap:8px;max-width:620px;margin:18px 0 10px}
html:not(#n1):not(#n2) .ns175-find input{flex:1;min-width:0;height:50px;border:1px solid var(--ns-line,#e2e7ee);border-radius:12px;padding:0 14px;font:400 16px var(--ns-font,Inter,Arial,sans-serif);color:var(--ns-ink,#152033);background:#fff}
html:not(#n1):not(#n2) .ns175-find button{height:50px;border:0;border-radius:12px;padding:0 18px;background:var(--ns-navy,#0b3154);color:#fff;font:700 15px var(--ns-font,Inter,Arial,sans-serif);cursor:pointer}
.ns175-quick{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:0;font-size:14px;color:var(--ns-muted,#5b6878)}
html:not(#n1):not(#n2) .ns175-quick a{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border:1px solid var(--ns-line,#e2e7ee);border-radius:999px;background:#fff;color:var(--ns-navy,#0b3154);text-decoration:none;font-size:14px;font-weight:600}
html:not(#n1):not(#n2) .ns175-pi [data-ns175-n]{display:block;min-height:26px;min-width:36px}
html:not(#n1):not(#n2) .ns175-pi .pi514-card-top span{font-size:13px;letter-spacing:0;text-transform:none;color:var(--ns-gold-ink,#86642a)}
html:not(#n1):not(#n2) .ns175-pi .pi514-card{min-height:200px}
.ns175-band{padding:8px 0 48px}
.ns175-band>.container{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between;border:1px solid var(--ns-line,#e2e7ee);border-radius:14px;background:var(--ns-soft,#f6f8fb);padding:20px}
.ns175-band h2{margin:0 0 4px;font-size:20px;color:var(--ns-navy,#0b3154)}.ns175-band p{margin:0;color:var(--ns-muted,#5b6878)}
.ns175-band-a{display:flex;flex-wrap:wrap;gap:8px}
html:not(#n1):not(#n2) a.ns175-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;border-radius:10px;background:var(--ns-navy,#0b3154);color:#fff;font-weight:700;font-size:15px;text-decoration:none;border:1px solid var(--ns-navy,#0b3154)}
html:not(#n1):not(#n2) a.ns175-btn.ns175-btn-o{background:#fff;color:var(--ns-navy,#0b3154)}
@media(max-width:620px){.ns175-find button{padding:0 14px}.ns175-band-a{width:100%}.ns175-band-a a{flex:1}}

/* ---- WEB-R739 calculators: one at a time (EMI first; the chip row picks another), 16 px inputs (iOS does not zoom), money echo */
html.ns175 :is(#circle-rate,#stamp-duty,#property-cost,#rental-yield,#roi,#area-converter).pt-section:not(.ns175-on){display:none!important}
html.ns175[data-ns175-tool]:not([data-ns175-tool="emi"]) #emi.pt-section:not(.ns175-on){display:none!important}
html:not(#n1):not(#n2).ns175 .pt-menu{display:flex!important;grid-template-columns:none!important;flex-wrap:nowrap;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px 0 6px}
html.ns175 .pt-menu::-webkit-scrollbar{display:none}
html:not(#n1):not(#n2).ns175 .pt-menu a{flex:none;display:inline-flex!important;align-items:center;min-height:44px!important;height:44px;padding:0 16px!important;border:1px solid var(--ns-line,#e2e7ee)!important;border-radius:999px!important;background:#fff!important;box-shadow:none!important}
html:not(#n1):not(#n2).ns175 .pt-menu a :is(b,span){display:none!important}
html:not(#n1):not(#n2).ns175 .pt-menu a strong{font-size:15px!important;font-weight:600!important;color:var(--ns-navy,#0b3154)!important;margin:0!important}
html:not(#n1):not(#n2).ns175 .pt-menu a[aria-current]{background:var(--ns-navy,#0b3154)!important;border-color:var(--ns-navy,#0b3154)!important}
html:not(#n1):not(#n2).ns175 .pt-menu a[aria-current] strong{color:#fff!important}
html:not(#n1):not(#n2) .pt-box :is(input,select){font-size:16px!important;min-height:46px}
html:not(#n1):not(#n2) .pt-box label{font-size:14px!important}
.ns175-echo{display:block;min-height:18px;margin-top:4px;font-size:13px;font-weight:400;color:var(--ns-muted,#5b6878)}
.ns175-emi{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:10px;font-size:14px;color:var(--ns-muted,#5b6878)}
.ns175-emi b{display:block;font-size:18px;color:var(--ns-navy,#0b3154)}
html:not(#n1):not(#n2) .pt-result strong{font-size:26px}
.ns175-next{margin:10px 0 0;font-size:14px}
html:not(#n1):not(#n2) .ns175-next a{color:var(--ns-navy,#0b3154);font-weight:700;text-decoration:underline;text-underline-offset:3px}

/* ---- WEB-R742 end-of-article card; WEB-R743 article tables */
.ns175-endcta{margin:32px 0 8px;padding:20px;border:1px solid var(--ns-line,#e2e7ee);border-radius:14px;background:var(--ns-soft,#f6f8fb)}
html:not(#n1):not(#n2) .ns175-endcta h2{margin:0 0 6px;font-size:20px;color:var(--ns-navy,#0b3154)}
.ns175-endcta p{margin:0 0 12px;color:var(--ns-muted,#5b6878)}
.ns175-endcta>div{display:flex;flex-wrap:wrap;gap:8px}
.ns175-tbl{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:16px 0;border:1px solid var(--ns-line,#e2e7ee);border-radius:10px}
html:not(#n1):not(#n2) .ns175-tbl table{border-collapse:collapse;width:100%;min-width:480px;margin:0;font-size:15px}
html:not(#n1):not(#n2) .ns175-tbl :is(th,td){border-bottom:1px solid var(--ns-line,#e2e7ee);padding:10px 12px;text-align:left;vertical-align:top}
html:not(#n1):not(#n2) .ns175-tbl :is(th,thead td,tr:first-child>th){background:var(--ns-soft,#f6f8fb);font-weight:700;color:var(--ns-navy,#0b3154)}

/* ---- sector page on a phone: listings follow right after the map, so the hero's own jump buttons go (the contact bar stays) */
@media(max-width:767px){html:not(#n1):not(#n2) .sd-hero .sd-actions{display:none!important}}

/* ---- WEB-R734 Market Insights hub: the first card section is drawn by the page script after load - its box is reserved
   (a little under its final size, so nothing below the first screen moves into view) */
html.ns175 main.mi-page #overview{min-height:690px}
@media(max-width:780px){html.ns175 main.mi-page #overview{min-height:1280px}}
@media(max-width:560px){html.ns175 main.mi-page #overview{min-height:1440px}}
/* article hero picture: a fixed 16:9 box (it grew from 220 px to its real height after load) */
html:not(#n1):not(#n2) .mi510-heroimg img,html:not(#n1):not(#n2) .ssr62-article img.ssr62-hero{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;min-height:0}
/* tools chip row: label centred in the chip */
html:not(#n1):not(#n2).ns175 .pt-menu{position:relative}
html:not(#n1):not(#n2).ns175 .pt-menu a strong{display:inline!important;line-height:1.2!important;white-space:nowrap}
html:not(#n1):not(#n2).ns175 .pt-menu a{flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:0!important}

/* ---- WEB-R734: nstay-actions-v595 caps headings over 30 / 40 px after DOMContentLoaded (clamp 24-30 / 30-40), which moved every page
   below them (CLS 0.02-0.04 at tablet width). The same cap from the first paint - the script then finds nothing to change. */
html.ns175 main :is(.cr-section,.cr-advisor,.pt-section,.pt-advisor,.zp-heading,.zp-section,.zp-advisor,.mi-section,.mi-advisor,.sm-head,.sm-section,.sm-help) h2{font-size:clamp(24px,2.4vw,30px)!important;line-height:1.2!important}
html.ns175 main :is(.cr-hero,.pt-hero,.zp-hero,.mi-hero,.sm-hero) h1{font-size:clamp(30px,3.4vw,40px)!important;line-height:1.2!important}
/* Circle Rates: the year / area chips are ONE sideways row each (no 2-3 wrapped rows; tehsil chips added after load no longer push the page) */
html:not(#n1):not(#n2).ns175 #quick-finder .cr-tabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:none;gap:8px;align-items:center;height:44px;min-height:44px}
html.ns175 #quick-finder .cr-tabs::-webkit-scrollbar{display:none}
html:not(#n1):not(#n2).ns175 #quick-finder .cr-tabs>*{flex:none;white-space:nowrap}
