/* INDEPENDENT ADVISORY ONLY: no product source changed. Color projection uses actual captured solid pairs only. */

body[data-pls-reveal-family="rambai-indah-residensi"] .pl-location-visual > figcaption > strong { color: #17352d; }

body[data-pls-reveal-family="rambai-indah-residensi"] #phase10-gallery > .pl-shell > .pl-heading > p[data-pls-reveal="body"] { color: #52615c; }

body[data-pls-reveal-family="primero-heights"] #phase10-gallery > .pl-shell > .pl-heading > p[data-pls-reveal="body"] { color: #52615c; }

body[data-pls-reveal-family="m-amaya"] .pl-location-visual > figcaption > strong { color: #17352d; }

body[data-pls-reveal-family="m-amaya"] #phase10-gallery > .pl-shell > .pl-heading > p[data-pls-reveal="body"] { color: #52615c; }

body[data-pls-reveal-family="m-zenni"] #media > .pl-shell > .pl-heading > p { color: #ffffff; }

body[data-pls-reveal-family="m-zenni"] #phase10-gallery > .pl-shell > .pl-heading > p[data-pls-reveal="body"] { color: #52615c; }

body[data-pls-reveal-family="maldives-residences"] #phase10-gallery > .pl-shell > .pl-heading > p[data-pls-reveal="body"] { color: #52615c; }

body[data-pls-reveal-family="cwg-shoplot"] .pl-location-visual > figcaption > strong { color: #17352d; }

body[data-pls-reveal-family="taman-putera-perdana"] .pl-location-visual > figcaption > strong { color: #17352d; }

body[data-pls-reveal-family="montview-residence"] #phase10-gallery > .pl-shell > .pl-heading > p[data-pls-reveal="body"] { color: #52615c; }

body[data-pls-reveal-family="skyworld-pearlmont"] #phase10-gallery > .pl-shell > .pl-heading > p[data-pls-reveal="body"] { color: #52615c; }

body[data-pls-reveal-family="hijauan-valdor-phase-8"] .pl-heading > p[data-pls-reveal="body"] { color: #52615c; }

body[data-pls-reveal-family="desa-impian"] #pls-tabpanel-1-1 > .type-grid > .type-name > small { color: #8a5434; }

body[data-pls-reveal-family="desa-impian"] #phase10-gallery > .pl-shell > .pl-heading > p[data-pls-reveal="body"] { color: #52615c; }

body[data-pls-reveal-family="residensi-merbok"] .story > div:nth-child(1) > p[data-pls-reveal="body"]:nth-child(3),
body[data-pls-reveal-family="residensi-merbok"] #masterplan > .masterplan.shell > div > .lead[data-pls-reveal="body"],
body[data-pls-reveal-family="residensi-merbok"] section:nth-child(7) > .shell > .head > .lead[data-pls-reveal="body"],
body[data-pls-reveal-family="residensi-merbok"] #location > .masterplan.shell > div:nth-child(1) > .lead[data-pls-reveal="body"],
body[data-pls-reveal-family="residensi-merbok"] footer .footer-inner > span,
body[data-pls-reveal-family="residensi-merbok"] footer .footer-inner > a[href$="nibong-tebal.html"] { color: #52615c; }

body[data-pls-reveal-family="residensi-merbok"] #homes > .shell > .head > .kicker[data-pls-reveal="body"],
body[data-pls-reveal-family="residensi-merbok"] article:nth-child(1) > div > .kicker,
body[data-pls-reveal-family="residensi-merbok"] article:nth-child(1) > div > p:nth-child(3),
body[data-pls-reveal-family="residensi-merbok"] article:nth-child(2) > div > .kicker,
body[data-pls-reveal-family="residensi-merbok"] article:nth-child(2) > div > p:nth-child(3) { color: #ffffff; }

body[data-pls-reveal-family="residensi-merbok"] #masterplan > .masterplan.shell > div > .map-points > .map-point:nth-child(1) > strong,
body[data-pls-reveal-family="residensi-merbok"] #masterplan > .masterplan.shell > div > .map-points > .map-point:nth-child(2) > strong,
body[data-pls-reveal-family="residensi-merbok"] #pls-tabpanel-1-1 > .plan-meta > strong,
body[data-pls-reveal-family="residensi-merbok"] #location > .masterplan.shell > div:nth-child(1) > .map-points > .map-point:nth-child(1) > strong,
body[data-pls-reveal-family="residensi-merbok"] #location > .masterplan.shell > div:nth-child(1) > .map-points > .map-point:nth-child(2) > strong,
body[data-pls-reveal-family="residensi-merbok"] .map-point:nth-child(3) > strong,
body[data-pls-reveal-family="residensi-merbok"] .map-point[target="_blank"][rel="noopener"] > strong { color: #8a5434; }

body[data-pls-reveal-family="residensi-merbok"] div:nth-child(2) > .clay[data-cta-contact="60126293155"][data-project-id="residensi-merbok"],
body[data-pls-reveal-family="residensi-merbok"] div:nth-child(2) > .clay[target="_blank"][rel="noopener"]:nth-child(2),
body[data-pls-reveal-family="residensi-merbok"] .clay[target="_blank"][rel="noopener"]:nth-child(3) { background-color: #8a5434; }

body[data-pls-reveal-family="codrington-residence"] #facilities > .shell > .head > .kicker[data-pls-reveal="body"] { color: #ffffff; }

body[data-pls-reveal-family="codrington-residence"] #pls-tabpanel-1-1 > .plan-meta > strong { color: #8a5434; }

body[data-pls-reveal-family="lumina-residence"] #facilities > .shell > .section-head > .section-kicker[data-pls-reveal="body"],
body[data-pls-reveal-family="lumina-residence"] div:nth-child(2) > .section-kicker[data-pls-reveal="body"] { color: #ffffff; }

body[data-pls-reveal-family="lumina-residence"] #pls-tabpanel-1-1 > .plan-meta > strong { color: #8a5434; }

body[data-pls-reveal-family="lumina-residence"] #phase10-gallery > .pl-shell > .pl-heading > p[data-pls-reveal="body"] { color: #52615c; }

body[data-pls-reveal-family="waterstone"] .story > div:nth-child(1) > p[data-pls-reveal="body"]:nth-child(3),
body[data-pls-reveal-family="waterstone"] .location > div > .lead[data-pls-reveal="body"],
body[data-pls-reveal-family="waterstone"] .source[data-pls-reveal="body"],
body[data-pls-reveal-family="waterstone"] #homes > .shell > .head > .lead[data-pls-reveal="body"],
body[data-pls-reveal-family="waterstone"] #phase10-gallery > .pl-shell > .pl-heading > p[data-pls-reveal="body"],
body[data-pls-reveal-family="waterstone"] footer .footer-inner > span:nth-child(1),
body[data-pls-reveal-family="waterstone"] footer span:nth-child(2) > a[href$="penang-island.html"],
body[data-pls-reveal-family="waterstone"] footer .notranslate,
body[data-pls-reveal-family="waterstone"] footer span:nth-child(2) > a:nth-child(1) { color: #52615c; }

body[data-pls-reveal-family="waterstone"] #facilities > .shell > .head > .kicker[data-pls-reveal="body"],
body[data-pls-reveal-family="waterstone"] figure > .source { color: #ffffff; }

body[data-pls-reveal-family="embun-hills"] #location > .eh-shell > .eh-section-heading[data-eh-text-reveal=""] > p[data-pls-reveal="body"],
body[data-pls-reveal-family="embun-hills"] #homes > .eh-shell > .eh-section-heading[data-eh-text-reveal=""] > p[data-pls-reveal="body"],
body[data-pls-reveal-family="embun-hills"] .eh-video__grid > .eh-copy[data-eh-text-reveal=""] > p[data-pls-reveal="body"]:nth-child(3),
body[data-pls-reveal-family="embun-hills"] #phase10-gallery > .pl-shell > .pl-heading > p[data-pls-reveal="body"],
body[data-pls-reveal-family="embun-hills"] footer .footer-brand > div > p,
body[data-pls-reveal-family="embun-hills"] footer span[data-year=""] { color: #52615c; }

body[data-pls-reveal-family="embun-hills"] footer div > strong,
body[data-pls-reveal-family="embun-hills"] footer .footer-links > a[href$="articles.html"],
body[data-pls-reveal-family="embun-hills"] footer .footer-links > a[href$="guides.html"],
body[data-pls-reveal-family="embun-hills"] footer .footer-links > a[href$="projects.html"],
body[data-pls-reveal-family="embun-hills"] footer .footer-links > a[href$="bukit-mertajam.html"],
body[data-pls-reveal-family="embun-hills"] footer .footer-links > a[href$="contact.html"],
body[data-pls-reveal-family="embun-hills"] footer .footer-links > a:nth-child(4) { color: #17352d; }

body[data-pls-reveal-family="gem-residence"] .gr-facility-story[data-pls-reveal="feature"][data-pls-reveal-opacity="1"]:nth-child(2) > div > .gr-index,
body[data-pls-reveal-family="gem-residence"] .gr-facility-story--reverse > div > .gr-index { color: #ffffff !important; }

body[data-pls-reveal-family="gem-residence"] .pl-heading > p[data-pls-reveal="body"],
body[data-pls-reveal-family="gem-residence"] footer .footer-brand > div > p,
body[data-pls-reveal-family="gem-residence"] footer span[data-year=""] { color: #52615c; }

body[data-pls-reveal-family="gem-residence"] footer div > strong,
body[data-pls-reveal-family="gem-residence"] footer .footer-links > a[href$="articles.html"],
body[data-pls-reveal-family="gem-residence"] footer .footer-links > a[href$="guides.html"],
body[data-pls-reveal-family="gem-residence"] footer .footer-links > a[href$="projects.html"],
body[data-pls-reveal-family="gem-residence"] footer .footer-links > a[href$="butterworth.html"],
body[data-pls-reveal-family="gem-residence"] footer .footer-links > a[href$="contact.html"] { color: #17352d; }

body[data-pls-reveal-family="jesselton-courtyard"] #phase10-gallery > .pl-shell > .pl-heading > p[data-pls-reveal="body"],
body[data-pls-reveal-family="jesselton-courtyard"] footer .inner > span:nth-child(1),
body[data-pls-reveal-family="jesselton-courtyard"] footer .inner > span:nth-child(2),
body[data-pls-reveal-family="jesselton-courtyard"] footer .notranslate { color: #52615c; }

/* Confirmed ten base modal owners: reserve Close, image and full caption rows. */
body:is([data-pls-reveal-family="iconic-harmony"],[data-pls-reveal-family="rambai-indah-residensi"],[data-pls-reveal-family="primero-heights"],[data-pls-reveal-family="m-amaya"],[data-pls-reveal-family="m-zenni"],[data-pls-reveal-family="maldives-residences"],[data-pls-reveal-family="queens-residences-q3"],[data-pls-reveal-family="cwg-shoplot"],[data-pls-reveal-family="hi-world-city"],[data-pls-reveal-family="taman-putera-perdana"]) dialog.pl-lightbox > .pl-lightbox__inner {
  box-sizing: border-box;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
body:is([data-pls-reveal-family="iconic-harmony"],[data-pls-reveal-family="rambai-indah-residensi"],[data-pls-reveal-family="primero-heights"],[data-pls-reveal-family="m-amaya"],[data-pls-reveal-family="m-zenni"],[data-pls-reveal-family="maldives-residences"],[data-pls-reveal-family="queens-residences-q3"],[data-pls-reveal-family="cwg-shoplot"],[data-pls-reveal-family="hi-world-city"],[data-pls-reveal-family="taman-putera-perdana"]) dialog.pl-lightbox > .pl-lightbox__inner > img {
  min-height: 0;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Recorded-style minimums A1-A6; Merbok A2 is held for actual paint adjudication. */
/* A1: Only parent fill; existing .58 label alpha and white values remain unchanged. */
body[data-pls-reveal-family="cwg-shoplot"] main .pl-facts > div,
body[data-pls-reveal-family="hi-world-city"] main .pl-facts > div,
body[data-pls-reveal-family="iconic-harmony"] main .pl-facts > div,
body[data-pls-reveal-family="m-amaya"] main .pl-facts > div,
body[data-pls-reveal-family="m-zenni"] main .pl-facts > div,
body[data-pls-reveal-family="maldives-residences"] main .pl-facts > div,
body[data-pls-reveal-family="primero-heights"] main .pl-facts > div,
body[data-pls-reveal-family="queens-residences-q3"] main .pl-facts > div,
body[data-pls-reveal-family="rambai-indah-residensi"] main .pl-facts > div,
body[data-pls-reveal-family="taman-putera-perdana"] main .pl-facts > div {
  background-color: #0d302a;
}

/* A2: Six observed final CTA eyebrow owners only. Merbok A2 separately held; no other kicker treatment. */
body[data-pls-reveal-family="codrington-residence"] main .shell.cta > div > .kicker[data-pls-reveal="cta"],
body[data-pls-reveal-family="desa-impian"] main #enquiry > .shell.cta > div > .kicker[data-pls-reveal="cta"],
body[data-pls-reveal-family="lumina-residence"] main #enquiry > .shell.cta-panel > div > .section-kicker[data-pls-reveal="cta"],
body[data-pls-reveal-family="osk-rubica"] main #contact > .rubica-final-grid > .rubica-section-title > .rubica-eyebrow,
body[data-pls-reveal-family="skyworld-pearlmont"] main #contact > .pearlmont-final-grid > .pearlmont-section-title > .pearlmont-eyebrow,
body[data-pls-reveal-family="waterstone"] main .shell.cta > div > .kicker[data-pls-reveal="cta"] {
  color: #ffffff;
}

/* A3: Existing captured area BODY ink; exact four owner variants. */
body[data-pls-reveal-family="kepala-batas-hub"] main .area-hub-cover--kepala-batas > span[aria-hidden="true"],
body[data-pls-reveal-family="nibong-tebal-hub"] main .area-hub-cover--nibong > span[aria-hidden="true"],
body[data-pls-reveal-family="penang-island-hub"] main .area-hub-cover--island > span[aria-hidden="true"],
body[data-pls-reveal-family="tasek-gelugor-hub"] main .area-hub-cover--tasek-gelugor > span[aria-hidden="true"] {
  color: #14211f;
}

/* A4: Captured BODY ink on white contact box; primary button excluded. */
body[data-pls-reveal-family="osk-harbour-view"] main #cta .hv-contact-box > h3[data-pls-reveal="heading"],
body[data-pls-reveal-family="osk-harbour-view"] main #cta .hv-contact-box > p[data-pls-reveal="cta"],
body[data-pls-reveal-family="osk-harbour-view"] main #cta .hv-contact-box > .hv-actions > a.hv-btn.outline[target="_blank"] {
  color: #12201c;
}

/* A5: Observed hero homes button only; warm token from existing CTA kicker. */
body[data-pls-reveal-family="residensi-merbok"] main .hero .actions > a.clay.button[href$="#homes"] {
  background-color: #765039;
  color: #ffffff;
}

/* A6: Only observed second footer span; existing BODY ink. */
body[data-pls-reveal-family="waterstone"] footer .footer-inner > span:nth-child(2) {
  color: #122f38;
}


/* Advisory only: seven observed solid-band kicker owners. No product file edited.
   Existing ordinary white rules lose to retained global brown !important.
   Confirm current runtime stylesheet lineage, then retest visible/settled paths. */
body[data-pls-reveal-family="residensi-merbok"] main #homes > .shell > .head > .kicker[data-pls-reveal="body"],
body[data-pls-reveal-family="residensi-merbok"] main #homes > .shell > .home-grid > article.home-card:nth-child(1) > div > .kicker,
body[data-pls-reveal-family="residensi-merbok"] main #homes > .shell > .home-grid > article.home-card:nth-child(2) > div > .kicker,
body[data-pls-reveal-family="codrington-residence"] main #facilities > .shell > .head > .kicker[data-pls-reveal="body"],
body[data-pls-reveal-family="lumina-residence"] main #facilities > .shell > .section-head > .section-kicker[data-pls-reveal="body"],
body[data-pls-reveal-family="lumina-residence"] main #location > .shell.location-grid > div:nth-child(2) > .section-kicker[data-pls-reveal="body"],
body[data-pls-reveal-family="waterstone"] main #facilities > .shell > .head > .kicker[data-pls-reveal="body"] {
  color: #ffffff !important;
}

/* Advisory first-four focus repair: copied declarations from validated first-four C5,
   with scope changed ONLY to these four newly observed eligible families. */
body:is([data-pls-reveal-family="iconic-harmony"], [data-pls-reveal-family="rambai-indah-residensi"], [data-pls-reveal-family="primero-heights"], [data-pls-reveal-family="m-zenni"]) :is(a, button, summary, [role="tab"], [tabindex]):focus-visible {
  outline: 2px solid #10261f;
  outline-offset: -2px;
  box-shadow: inset 0 0 0 4px #fff;
}
/* Preserve an inner contrasting band when an immediate child image paints over the parent inset shadow. */
body:is([data-pls-reveal-family="iconic-harmony"], [data-pls-reveal-family="rambai-indah-residensi"], [data-pls-reveal-family="primero-heights"], [data-pls-reveal-family="m-zenni"]) :is(a, button, [role="tab"]):focus-visible > img {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

/* Conservative AA repair: only the three Chinese contact-circle strokes.
   The known text-line/stroke enclosure is removed; box, timing and handlers stay unchanged. */
body[data-cms-locale="zh"]:is([data-pls-reveal-family="rambai-indah-residensi"], [data-pls-reveal-family="primero-heights"], [data-pls-reveal-family="m-zenni"]) main #contact.pl-cta::before {
  border-color: transparent;
}

/* Merbok final CTA: retain the existing direction/deep stop; reuse existing body ink for the bright stop. */
body[data-pls-reveal-family="residensi-merbok"] main .shell.cta {
  background-image: linear-gradient(130deg, #355d46, #24372d);
}
body[data-pls-reveal-family="residensi-merbok"] main .shell.cta > div > .kicker[data-pls-reveal="cta"] {
  color: #ffffff !important;
}

/* Final bounded paint cycle 2: source-owned text regions only. No geometry or motion changes. */
/* P1-final-labels */
body[data-pls-reveal-family="codrington-residence"] main .shell.cta > div > .kicker[data-pls-reveal="cta"],
body[data-pls-reveal-family="skyworld-pearlmont"] main #contact > .pearlmont-final-grid > .pearlmont-section-title > .pearlmont-eyebrow,
body[data-pls-reveal-family="jesselton-courtyard"] main .residence-card > .residence-copy > .eyebrow {
  color: #fff !important;
}
/* P1-sevora-final-pill */
body[data-pls-reveal-family="sevora"] main #contact .sevora-final-cta .project-media-body > .eyebrow {
  color: #fff !important;
  background-color: #073f37;
}
/* P1-pearlmont-small-alpha */
body[data-pls-reveal-family="skyworld-pearlmont"] main .pearlmont-hero .pearlmont-fact-strip .pearlmont-fact > span,
body[data-pls-reveal-family="skyworld-pearlmont"] main #contact .pearlmont-contact-box > span {
  color: #fff;
}
/* P1-jesselton-copy-panels */
body[data-pls-reveal-family="jesselton-courtyard"] main .residence-card > .residence-copy {
  background-color: rgba(7, 29, 23, .90);
}
/* AA-sevora-desktop-copy-alpha: the one existing paragraph at either width. */
body[data-pls-reveal-family="sevora"] main .sevora-hero > .container > p:not(.eyebrow) {
  color: #fff;
}
@media (max-width: 620px) {
  /* P1-sevora-phone-text-scrim: preserve ACTUAL two phone layers, not desktop three. */
  body[data-pls-reveal-family="sevora"] main .sevora-hero::before {
    background-image: linear-gradient(180deg, rgba(18, 27, 24, 0) 0px, rgba(18, 27, 24, .80) 180px, rgba(18, 27, 24, .80) 100%), url("https://property-like-share-website.vercel.app/assets/images/sevora/optimized/hero-building-v1.webp");
  }
  /* P1-jesselton-phone-hero-label */
  body[data-pls-reveal-family="jesselton-courtyard"] main .hero .eyebrow {
    background-color: rgba(12, 35, 29, .90);
  }
}
@media (min-width: 621px) {
  /* AA-codrington-desktop-text-band */
  body[data-pls-reveal-family="codrington-residence"] main .hero::before {
    background-image: linear-gradient(90deg, rgba(5, 25, 34, .94) 0%, rgba(5, 25, 34, .80) min(98%, calc(max(20px, calc((100% - 1180px) / 2)) + 850px)), rgba(5, 25, 34, .14) 100%), url("https://property-like-share-website.vercel.app/assets/images/codrington-residence/optimized/gurney-night-v1.webp");
  }
  /* P1-merbok-desktop-text-band */
  body[data-pls-reveal-family="residensi-merbok"] main .hero::before {
    background-image: linear-gradient(90deg, rgba(28, 49, 37, .93) 0%, rgba(28, 49, 37, .86) min(98%, calc(max(20px, calc((100% - 1180px) / 2)) + 880px)), rgba(28, 49, 37, .08) 100%), url("https://property-like-share-website.vercel.app/assets/images/residensi-merbok/optimized/dahlia-exterior-v1.webp");
  }
  /* P1-jesselton-desktop-hero-text-band */
  body[data-pls-reveal-family="jesselton-courtyard"] main .hero {
    background-image: linear-gradient(90deg, rgba(12, 35, 29, .85) 0%, rgba(12, 35, 29, .80) min(98%, calc(max(16px, calc((100% - 1220px) / 2)) + 900px)), rgba(12, 35, 29, .08) 100%), url("https://property-like-share-website.vercel.app/assets/images/jesselton-courtyard/optimized/pool-lounge-v1.webp");
  }
}

/* Iconic English last proof value: retain its own column and existing grid/gap. */
body[data-pls-reveal-family="iconic-harmony"][data-cms-locale="en"] #highlights .pl-proof-list > article:last-child > span{font-size:clamp(32px,4.1666667vw,60px)}

/* Iconic contact: preserve circle geometry while removing the contrast-affecting decorative stroke. */
body[data-pls-reveal-family="iconic-harmony"] #contact::before{border-color:transparent}
