/* ==========================================================================
   PlotNua · Garden Home results (15 Nov 2026)
   The Additional Home ("Garden Home") results page, presented in three moves:
     01 THE POSSIBILITY            the verdict hero (#matchPrimary)
     02 WHAT ATLAS HAS ESTABLISHED the assessment dossier and property check
     03 WHAT YOU COULD EXPLORE NEXT the buildings (#altResults)

   SCOPE. Every rule sits under #screen-match-results[data-pn-home-results],
   an attribute set by pnHomeResultsChrome() only when the residential
   property verdict is the main result, and removed at the start of every
   other render. Garden Room results never carry it, so nothing here reaches
   them. The :not(#…) clauses match the Your Plot skin's specificity.

   Presentation only: no copy, figure, calculation, link, image source or
   rights decision is set here. The plate label on a card with no authorised
   photograph says so in words; it is not an image of anything.
   ========================================================================== */

html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results]{
  --hm-anth:#1B1C1E; --hm-band:#232426; --hm-card:#2C2E30; --hm-raised:#313336;
  --hm-ivory:#F2EBE0; --hm-lime:#E7DED0; --hm-stone:#C2BDB5; --hm-meta:#ABA59C;
  --hm-bronze:#B39272; --hm-terra:#CF8566;
  --hm-hair:rgba(194,189,181,.16); --hm-edge:rgba(194,189,181,.28);
  --hm-serif:'Instrument Serif',Georgia,serif;
  --hm-sans:'Hanken Grotesk',system-ui,-apple-system,sans-serif;
}

/* ---- step labels: 01 / 02 / 03 ---------------------------------------- */
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] .pn-hm-step{
  display:flex; align-items:center; gap:12px;
  margin:0 0 18px; padding:0;
  font-family:var(--hm-sans); font-size:11px; font-weight:600;
  letter-spacing:.22em; text-transform:uppercase; color:var(--hm-bronze);
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] .pn-hm-step-n{
  font-family:var(--hm-serif); font-size:15px; font-weight:400;
  letter-spacing:0; color:var(--hm-ivory);
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] .pn-hm-step--section{
  margin:88px 0 22px;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] .pn-hm-step--section::after{
  content:''; flex:1 1 auto; height:1px; background:var(--hm-hair);
}

/* ---- 01 THE POSSIBILITY: the hero -------------------------------------- */
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .results-hero-inner.pn-hm-hero{
  display:block; position:relative; overflow:hidden;
  padding:64px 64px 56px; margin:0;
  border:1px solid var(--hm-hair); border-radius:4px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(179,146,114,.10) 0%, rgba(179,146,114,0) 55%),
    linear-gradient(180deg, var(--hm-band) 0%, var(--hm-anth) 100%);
  box-shadow:none;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-hero::before{ display:none; }
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-hero .rh-identity{
  display:block; margin:0; padding:0; max-width:none;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-possibility{
  margin:0 0 30px; max-width:15ch;
  font-family:var(--hm-serif); font-weight:400;
  font-size:clamp(42px, 5.6vw, 80px); line-height:1.0; letter-spacing:-.012em;
  color:var(--hm-ivory); text-wrap:balance;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .results-hero-name.pn-hm-outcome{
  margin:0; max-width:none; padding:2px 0 2px 16px;
  border-left:2px solid var(--hm-terra);
  font-family:var(--hm-sans); font-weight:500;
  font-size:clamp(17px, 1.5vw, 20px); line-height:1.4; letter-spacing:0;
  color:var(--hm-lime); text-wrap:pretty;
}
/* States 3 and 4 have no possibility line: the outcome is the headline. */
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-step + .results-hero-name.pn-hm-outcome{
  border-left:0; padding-left:0;
  font-family:var(--hm-serif); font-weight:400;
  font-size:clamp(34px, 4.2vw, 56px); line-height:1.05; color:var(--hm-ivory);
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-hero .rh-identity-meta{
  margin:14px 0 0 18px;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-step + .results-hero-name + .rh-identity-meta{
  margin-left:0;
}

/* the four key findings */
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-keys{
  display:grid; grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:0; margin:48px 0 0; border-top:1px solid var(--hm-edge);
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-key{
  padding:22px 24px 4px 0; margin:0;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-key + .pn-hm-key{
  padding-left:24px; border-left:1px solid var(--hm-hair);
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-key-k{
  margin:0 0 12px; font-family:var(--hm-sans); font-size:11px; font-weight:600;
  letter-spacing:.16em; text-transform:uppercase; color:var(--hm-stone);
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-key-v{
  margin:0; font-family:var(--hm-serif); font-weight:400;
  font-size:clamp(32px, 2.6vw, 42px); line-height:1; color:var(--hm-ivory);
  font-variant-numeric:lining-nums; white-space:nowrap;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-key.is-text .pn-hm-key-v{
  font-size:clamp(20px, 1.6vw, 24px); line-height:1.15; text-wrap:balance; white-space:normal;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-key-s{
  margin:10px 0 0; font-family:var(--hm-sans); font-size:13px; line-height:1.45;
  color:var(--hm-meta);
}

/* the sentence, the conditions, the boundary */
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-hero .rh-split{
  display:block; margin:44px 0 0; padding:0;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-hero .results-hero-body{
  display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1.1fr);
  grid-template-areas:"ed verify" "bound bound" "go go";
  column-gap:56px; row-gap:0; max-width:none; padding:0; margin:0;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-hero .results-hero-editorial{
  grid-area:ed; margin:0; max-width:30ch;
  font-family:var(--hm-serif); font-style:italic; font-weight:400;
  font-size:clamp(22px, 2vw, 27px); line-height:1.3; color:var(--hm-ivory);
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-verify{
  grid-area:verify; margin:0; padding:22px 24px;
  border:1px solid var(--hm-hair); border-radius:3px;
  background:rgba(194,189,181,.04);
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-verify-t{
  margin:0 0 12px; font-family:var(--hm-sans); font-size:11px; font-weight:600;
  letter-spacing:.16em; text-transform:uppercase; color:var(--hm-bronze);
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-verify ul{
  list-style:none; margin:0; padding:0;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-verify li{
  position:relative; margin:0; padding:10px 0 10px 22px;
  font-family:var(--hm-sans); font-size:14px; line-height:1.5; color:var(--hm-lime);
  border-top:1px solid var(--hm-hair);
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-verify li:first-child{ border-top:0; padding-top:2px; }
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-verify li::before{
  content:''; position:absolute; left:2px; top:19px; width:8px; height:8px;
  border:1px solid var(--hm-terra); border-radius:50%;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-verify li:first-child::before{ top:11px; }
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-hero .results-hero-budget-note{
  grid-area:bound; margin:36px 0 0; padding:18px 0 0; max-width:none;
  border-top:1px solid var(--hm-hair);
  font-family:var(--hm-sans); font-size:13px; line-height:1.55; color:var(--hm-meta);
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-hero .hero-secondary{
  grid-area:go; margin:18px 0 0;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-hero .hero-secondary-link{
  font-family:var(--hm-sans); font-size:14px; font-weight:500; color:var(--hm-ivory);
  text-decoration:underline; text-decoration-color:var(--hm-edge); text-underline-offset:4px;
}

/* ---- 03 WHAT YOU COULD EXPLORE NEXT: the buildings --------------------- */
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResultsHeading{
  margin:0 0 8px; font-family:var(--hm-serif); font-weight:400;
  font-size:clamp(32px, 3.4vw, 46px); line-height:1.05; color:var(--hm-ivory);
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResultsNote{
  margin:0 0 28px; max-width:62ch; font-size:15px; line-height:1.55; color:var(--hm-stone);
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults.results-gallery{
  display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:24px;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .match-bring-your-own{
  grid-column:1 / -1;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-card{
  display:flex; flex-direction:column; min-width:0; margin:0;
  background:var(--hm-card); border:1px solid var(--hm-hair); border-radius:4px;
  overflow:hidden; transition:border-color .2s ease, box-shadow .2s ease;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-card:hover{
  border-color:var(--hm-edge);
  box-shadow:0 1px 2px rgba(0,0,0,.2), 0 24px 48px -26px rgba(0,0,0,.7);
}

/* the plate with no authorised photograph: a typographic label, in words */
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-media:has(img.pn-image-fallback){
  display:block; position:relative; aspect-ratio:4/3; overflow:hidden;
  border-radius:0; box-shadow:inset 0 -1px 0 var(--hm-hair);
  background:
    radial-gradient(90% 70% at 0% 100%, rgba(179,146,114,.12) 0%, rgba(179,146,114,0) 60%),
    linear-gradient(160deg, var(--hm-raised) 0%, var(--hm-band) 100%);
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-media:has(img.pn-image-fallback)::before{
  content:attr(data-pn-area);
  position:absolute; left:24px; top:22px; right:24px; width:auto; height:auto;
  margin:0; background:none; opacity:1; box-shadow:none; border:0;
  font-family:var(--hm-serif); font-size:clamp(44px, 4vw, 60px); line-height:1;
  color:var(--hm-ivory);
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-media:has(img.pn-image-fallback)::after{
  content:'Photographs not shown here yet';
  position:absolute; left:24px; right:24px; bottom:20px; top:auto; padding:12px 0 0; margin:0;
  border:0; border-top:1px solid var(--hm-hair); background:none; box-shadow:none; border-radius:0;
  font-family:var(--hm-sans); font-size:11px; font-weight:500; line-height:1.45;
  letter-spacing:.06em; text-transform:uppercase; color:var(--hm-meta);
}

/* the card body: maker, name, size and price, why Atlas included it, actions */
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-body{
  display:flex; flex-direction:column; flex:1 1 auto; gap:0;
  padding:24px 24px 24px;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-body > *{ order:5; }
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-org{
  order:1; margin:0 0 8px; font-size:11px; font-weight:600; letter-spacing:.18em;
  text-transform:uppercase; color:var(--hm-bronze);
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-name{
  order:2; margin:0 0 14px; font-family:var(--hm-serif); font-weight:400;
  font-size:clamp(25px, 2.1vw, 30px); line-height:1.1; color:var(--hm-ivory);
  text-wrap:balance;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-price-row{
  order:3; margin:0 0 18px; padding:0 0 16px; border-bottom:1px solid var(--hm-hair);
  font-family:var(--hm-sans); font-size:15px; font-weight:500; color:var(--hm-lime);
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-role{
  order:4; margin:0 0 22px; font-size:14px; line-height:1.55; color:var(--hm-stone);
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-role::before{
  content:'Why Atlas included it'; display:block; margin:0 0 6px;
  font-size:11px; font-weight:600; letter-spacing:.16em; text-transform:uppercase;
  color:var(--hm-meta);
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-body .match-card-actions{
  order:6; margin-top:auto; display:flex; flex-wrap:wrap; gap:10px; align-items:center;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-body .match-card-open-myplot-link{
  order:7; align-self:flex-start; margin:12px 0 0;
}

/* ---- tablet ------------------------------------------------------------- */
@media (max-width:1080px){
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-possibility{ font-size:clamp(46px, 7vw, 64px); max-width:14ch; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .results-hero-inner.pn-hm-hero{ padding:48px 40px 44px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-keys{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-key:nth-child(3){ padding-left:0; border-left:0; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-key:nth-child(n+3){ border-top:1px solid var(--hm-hair); margin-top:18px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults.results-gallery{ grid-template-columns:minmax(0, 1fr); gap:20px; }
  /* one building per row, photograph or plate on the left: a third card never sits alone */
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-card{ flex-direction:row; align-items:stretch; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-media{ width:42%; flex:0 0 42%; aspect-ratio:auto; min-height:260px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-media:has(img.pn-image-fallback){ aspect-ratio:auto; box-shadow:inset -1px 0 0 var(--hm-hair); }
}
@media (max-width:820px){
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-hero .results-hero-body{
    grid-template-columns:minmax(0, 1fr); grid-template-areas:"ed" "verify" "bound" "go";
  }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-verify{ margin-top:26px; }
}

/* ---- mobile ------------------------------------------------------------- */
@media (max-width:640px){
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .results-hero-inner.pn-hm-hero{ padding:32px 22px 30px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-possibility{ font-size:42px; margin-bottom:24px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-keys{ margin-top:34px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-key{ padding:18px 14px 2px 0; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-key + .pn-hm-key{ padding-left:14px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-key:nth-child(3){ grid-column:1 / -1; padding-left:0; padding-right:0; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-key:nth-child(4){ grid-column:1 / -1; padding-left:0; border-left:0; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-key-v{ font-size:36px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-key.is-text .pn-hm-key-v{ font-size:22px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-hero .rh-split{ margin-top:32px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-verify{ padding:18px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] .pn-hm-step--section{ margin:64px 0 18px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults.results-gallery{ grid-template-columns:minmax(0, 1fr); gap:18px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-body{ padding:20px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-card{ flex-direction:column; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-media{ width:100%; flex:0 0 auto; min-height:0; aspect-ratio:4/3; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-media:has(img.pn-image-fallback){ aspect-ratio:16/10; box-shadow:inset 0 -1px 0 var(--hm-hair); }
}

/* ==========================================================================
   Additional Home Option Detail (15 Nov 2026). Scoped to
   #screen-product-detail[data-pn-home-detail], which only
   pnOpenAdditionalHomeDetail() sets and every Garden Room open clears.
   The same plate as the cards when no photograph is authorised.
   ========================================================================== */
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-product-detail[data-pn-home-detail] .pd-image-wrap:has(img.pn-image-fallback){
  position:relative; display:block; aspect-ratio:16/9; overflow:hidden;
  background:
    radial-gradient(90% 70% at 0% 100%, rgba(179,146,114,.12) 0%, rgba(179,146,114,0) 60%),
    linear-gradient(160deg, #313336 0%, #232426 100%);
  box-shadow:inset 0 -1px 0 rgba(194,189,181,.16);
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-product-detail[data-pn-home-detail] .pd-image-wrap > img.pn-image-fallback{ display:none; }
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-product-detail[data-pn-home-detail] .pd-image-wrap:has(img.pn-image-fallback)::before{
  content:attr(data-pn-area); position:absolute; left:28px; top:24px; right:28px;
  font-family:'Instrument Serif',Georgia,serif; font-size:clamp(48px, 6vw, 72px); line-height:1;
  color:#F2EBE0;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-product-detail[data-pn-home-detail] .pd-image-wrap:has(img.pn-image-fallback)::after{
  content:'Photographs not shown here yet';
  position:absolute; left:28px; right:28px; bottom:20px; padding:12px 0 0;
  border-top:1px solid rgba(194,189,181,.16);
  font-family:'Hanken Grotesk',system-ui,sans-serif; font-size:11px; font-weight:500;
  letter-spacing:.06em; text-transform:uppercase; color:#ABA59C;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-product-detail[data-pn-home-detail] .pd-home-intel{ padding:4px 0 8px; }
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-product-detail[data-pn-home-detail] .pd-home-h{
  margin:18px 0 8px; font-family:'Hanken Grotesk',system-ui,sans-serif; font-size:11px; font-weight:600;
  letter-spacing:.16em; text-transform:uppercase; color:#B39272;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-product-detail[data-pn-home-detail] .pd-home-spec{
  margin:0; font-size:15px; line-height:1.6; color:#E7DED0;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-product-detail[data-pn-home-detail] :is(.pd-home-src, .pd-home-bound){
  margin:8px 0 0; font-size:13px; line-height:1.55; color:#ABA59C;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-product-detail[data-pn-home-detail] a.pd-home-site{
  display:inline-flex; align-items:center; justify-content:center; text-decoration:none;
}

/* OPTION DETAIL — "Explore it further" and "What still needs checking"
   (15 Nov 2026). Garden Home only.
   1. Both sections take the same 24px inset as the content above them, so
      their text no longer sits on the card edge. Padding, not margin, keeps
      each section's hairline running the full width of the card.
   2. The maker CTA is the only primary action, on its own line. The two
      navigation links sit together on the line below with clear space
      between them and the CTA, and a taller tap area that changes nothing
      visually. Typography, colours, order and behaviour are unchanged. */
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-product-detail[data-pn-home-detail] :is(.pd-next, .pd-checks){
  padding-left:24px; padding-right:24px;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-product-detail[data-pn-home-detail] a.pd-home-site{
  display:flex; width:fit-content; max-width:100%; margin:4px 0 0;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-product-detail[data-pn-home-detail] .pd-next-back{
  margin-top:10px; padding:8px 0; line-height:1.4;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-product-detail[data-pn-home-detail] .pd-next-plot{
  margin-left:28px;
}
@media (max-width:719px){
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-product-detail[data-pn-home-detail] a.pd-home-site{
    width:100%;
  }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-product-detail[data-pn-home-detail] .pd-next-back{
    margin-top:14px;
  }
}

/* ==========================================================================
   GARDEN HOME SPECIFICATION PLATE (15 Nov 2026)
   Where no photograph is authorised, the image area carries what Atlas has
   verified: the published floor area, its place on the 32–45 m² pathway,
   and the facilities the maker states. Built by pnHomePlate() from the
   governed record only, and only for Garden Home products (Results cards,
   Option Detail, My Plot). It depicts no building, and says so in words.
   ========================================================================== */
html[data-pn-skin="your-plot"] .pn-hm-plate{
  position:relative; display:flex; flex-direction:column; gap:0;
  box-sizing:border-box; width:100%; height:100%; padding:24px 24px 18px;
  background:
    radial-gradient(110% 80% at 100% 0%, rgba(179,146,114,.14) 0%, rgba(179,146,114,0) 58%),
    linear-gradient(165deg, #2F3134 0%, #222326 100%);
  color:#F2EBE0; font-family:'Hanken Grotesk',system-ui,-apple-system,sans-serif;
  text-align:left;
}
html[data-pn-skin="your-plot"] .pn-hm-plate p{ margin:0; }
html[data-pn-skin="your-plot"] .pn-hm-plate-k{
  font-size:10.5px; font-weight:600; letter-spacing:.18em; text-transform:uppercase; color:#B39272;
}
html[data-pn-skin="your-plot"] .pn-hm-plate-area{
  margin-top:6px !important; font-family:'Instrument Serif',Georgia,serif; font-weight:400;
  font-size:clamp(48px, 4.4vw, 64px); line-height:.95; letter-spacing:-.01em; color:#F2EBE0;
  font-variant-numeric:lining-nums;
}
html[data-pn-skin="your-plot"] .pn-hm-plate-unit{
  margin-left:.12em; font-size:.42em; letter-spacing:0; color:#C2BDB5; vertical-align:.9em;
}
html[data-pn-skin="your-plot"] .pn-hm-plate-scale{ display:block; margin-top:18px; }
html[data-pn-skin="your-plot"] .pn-hm-plate-track{
  position:relative; display:block; height:2px; border-radius:2px;
  background:linear-gradient(90deg, rgba(194,189,181,.22), rgba(194,189,181,.38));
}
html[data-pn-skin="your-plot"] .pn-hm-plate-mark{
  position:absolute; top:50%; width:11px; height:11px; margin:-5.5px 0 0 -5.5px;
  border-radius:50%; background:#CF8566; box-shadow:0 0 0 4px rgba(207,133,102,.18);
}
html[data-pn-skin="your-plot"] .pn-hm-plate-ends{
  display:flex; justify-content:space-between; gap:8px; margin-top:9px;
  font-size:10.5px; letter-spacing:.06em; color:#ABA59C;
}
html[data-pn-skin="your-plot"] .pn-hm-plate-ends span:nth-child(2){ text-align:center; color:#8F8A82; }
html[data-pn-skin="your-plot"] .pn-hm-plate-fac{
  display:flex; flex-wrap:wrap; align-items:center; gap:0; list-style:none; margin:18px 0 0; padding:0;
}
html[data-pn-skin="your-plot"] .pn-hm-plate-fac li{
  margin:0; padding:0; font-size:12.5px; font-weight:500; letter-spacing:.02em; color:#E7DED0; line-height:1.4;
}
html[data-pn-skin="your-plot"] .pn-hm-plate-fac li + li::before{
  content:''; display:inline-block; width:3px; height:3px; margin:0 9px; border-radius:50%;
  background:#B39272; vertical-align:middle;
}
html[data-pn-skin="your-plot"] .pn-hm-plate-note{
  margin-top:auto !important; padding-top:16px; max-width:46ch;
  font-size:12px; font-weight:400; line-height:1.5; letter-spacing:0; text-transform:none; color:#9A948B;
}

/* Results cards: the plate replaces the empty frame and its pseudo-labels. */
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-media:has(.pn-hm-plate){
  aspect-ratio:auto !important; min-height:0; height:auto; background:none;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-media:has(.pn-hm-plate)::before,
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-media:has(.pn-hm-plate)::after{
  content:none; display:none;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-media:has(.pn-hm-plate) > :not(.pn-hm-plate){ display:none !important; }
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-media .pn-hm-plate{ min-height:272px; padding:24px 22px 18px; }
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .pn-hm-plate-fac li{ font-size:12px; }
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .pn-hm-plate-fac li + li::before{ margin:0 7px; }

/* Option Detail: the same plate, a little larger. */
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-product-detail[data-pn-home-detail] .pd-image-wrap:has(.pn-hm-plate){
  aspect-ratio:auto !important; height:auto !important; min-height:0; background:none;
}
/* the ticked evidence pills below the name already list the facilities */
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-product-detail[data-pn-home-detail] .pd-image-wrap .pn-hm-plate-fac{ display:none; }
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-product-detail[data-pn-home-detail] .pd-image-wrap:has(.pn-hm-plate)::before,
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-product-detail[data-pn-home-detail] .pd-image-wrap:has(.pn-hm-plate)::after{
  content:none; display:none;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-product-detail[data-pn-home-detail] .pd-image-wrap .pn-hm-plate{ padding:30px 28px 20px; min-height:250px; }
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-product-detail[data-pn-home-detail] .pd-image-wrap .pn-hm-plate-area{ font-size:clamp(56px, 6vw, 76px); }

/* My Plot: a saved Garden Home carries the same plate. */
html[data-pn-skin="your-plot"] .myplot-card-media.has-pn-hm-plate{
  aspect-ratio:auto !important; height:auto !important; min-height:0; background:none; display:block;
}
html[data-pn-skin="your-plot"] .myplot-card-media.has-pn-hm-plate .pn-hm-plate{ min-height:200px; padding:20px 20px 16px; }
html[data-pn-skin="your-plot"] .myplot-card-media.has-pn-hm-plate .pn-hm-plate-area{ font-size:48px; }

/* ==========================================================================
   RESULTS REVEAL REFINEMENT (15 Nov 2026) — hierarchy and rhythm only.
   ========================================================================== */
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .results-hero-inner.pn-hm-hero{
  background:
    radial-gradient(70% 60% at 92% 4%, rgba(207,133,102,.13) 0%, rgba(207,133,102,0) 60%),
    radial-gradient(120% 90% at 100% 0%, rgba(179,146,114,.08) 0%, rgba(179,146,114,0) 55%),
    linear-gradient(180deg, #25262A 0%, #1B1C1E 100%);
}
/* the outcome reads as a confirmed finding, quietly */
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-possibility + .results-hero-name.pn-hm-outcome{
  position:relative; padding-left:30px; border-left:0;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-possibility + .results-hero-name.pn-hm-outcome::before{
  content:''; position:absolute; left:0; top:.32em; width:16px; height:16px; border-radius:50%;
  border:1.5px solid #CF8566; box-shadow:inset 0 0 0 3.5px #1F2022, inset 0 0 0 9px #CF8566;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-possibility + .results-hero-name + .rh-identity-meta{
  margin-left:30px;
}
/* key findings: values breathe, labels recede */
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-key-k{ color:#ABA59C; letter-spacing:.18em; }
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-key-s{ color:#8F8A82; }

/* ---- mobile: 375–390px first --------------------------------------------- */
@media (max-width:640px){
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .results-hero-inner.pn-hm-hero{ padding:28px 20px 26px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-possibility{ font-size:40px; line-height:1.02; margin-bottom:22px; max-width:none; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .results-hero-name.pn-hm-outcome{ font-size:17px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-hero .rh-identity-meta,
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-hero .rh-identity-meta .results-hero-org{ font-size:10.5px; line-height:1.7; letter-spacing:.14em; }
  /* the four findings as a tidy 2 x 2: the two figures side by side, then
     the assessment and the count of conditions */
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-keys{ margin-top:28px; grid-template-columns:repeat(2, minmax(0, 1fr)); }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-key{ padding:16px 12px 14px 0; margin:0 !important; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-key + .pn-hm-key{ padding-left:14px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-key:nth-child(3){ grid-column:auto; padding-left:0; border-left:0; border-top:1px solid var(--hm-hair); }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-key:nth-child(4){ grid-column:auto; padding-left:14px; border-left:1px solid var(--hm-hair); border-top:1px solid var(--hm-hair); }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-key-k{ font-size:10px; letter-spacing:.14em; margin-bottom:10px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-key-v{ font-size:32px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-key.is-text .pn-hm-key-v{ font-size:19px; line-height:1.18; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-key-s{ font-size:12px; margin-top:8px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-hero .rh-split{ margin-top:26px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-hero .results-hero-editorial{ font-size:21px; line-height:1.3; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-verify{ margin-top:20px; padding:16px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #matchPrimary .pn-hm-hero .results-hero-budget-note{ margin-top:24px; padding-top:14px; font-size:12.5px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] .pn-hm-step--section{ margin:52px 0 16px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResultsHeading{ font-size:32px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-media .pn-hm-plate{ min-height:0; padding:20px 20px 14px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-media:has(.pn-hm-plate){ box-shadow:inset 0 -1px 0 var(--hm-hair); }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-name{ font-size:25px; margin-bottom:10px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-price-row{ margin-bottom:14px; padding-bottom:12px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-role{ margin-bottom:18px; }
  /* Option Detail on phones */
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-product-detail[data-pn-home-detail] .pd-image-wrap .pn-hm-plate{ padding:22px 20px 16px; min-height:0; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-product-detail[data-pn-home-detail] .pd-image-wrap .pn-hm-plate-area{ font-size:56px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-product-detail[data-pn-home-detail] .pd-specs{ gap:6px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-product-detail[data-pn-home-detail] .pd-specs > *{ font-size:12px; padding:5px 10px; }
}

/* Option Detail hierarchy: the building's name leads, then maker, then price. */
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-product-detail[data-pn-home-detail] #pdName{
  margin-top:6px; margin-bottom:6px; font-family:'Instrument Serif',Georgia,serif; font-weight:400;
  font-size:clamp(30px, 3vw, 38px); line-height:1.08; letter-spacing:-.005em; color:#F2EBE0; text-wrap:balance;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-product-detail[data-pn-home-detail] #pdOrg{
  font-size:13px; letter-spacing:.04em; color:#ABA59C;
}
html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-product-detail[data-pn-home-detail] #pdPrice{
  font-size:22px; font-weight:600; color:#F2EBE0;
}
@media (max-width:640px){
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-product-detail[data-pn-home-detail] #pdName{ font-size:30px; }
}

/* ==========================================================================
   CARD COMPOSITION (15 Nov 2026, refinement). Three plates in a row read as
   the same card three times. On phones and in the three-column desktop grid
   a card WITH a specification plate now leads with what tells the buildings
   apart — maker, name and price — and the plate follows as a framed panel
   inside the card rather than a full-bleed frame. The plate's facts, the
   floor-area scale and every word of the card are unchanged; only order,
   framing and emphasis move. Cards with an authorised photograph, and the
   tablet row layout, are untouched.
   The card body becomes display:contents so its children can be ordered
   around the plate; each child carries the body's former side padding.
   ========================================================================== */
@media (max-width:640px), (min-width:1081px){
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-card:has(.pn-hm-plate){
    padding:0 0 22px;
  }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-card:has(.pn-hm-plate) .results-gallery-body{
    display:contents;
  }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-card:has(.pn-hm-plate) .results-gallery-body > *{
    margin-left:22px; margin-right:22px;
  }
  /* 1 maker, 2 name, 3 price */
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-card:has(.pn-hm-plate) .results-gallery-org{
    order:1; margin-top:22px; margin-bottom:8px;
  }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-card:has(.pn-hm-plate) .results-gallery-name{
    order:2; margin-top:0; margin-bottom:8px; font-size:clamp(27px, 2.2vw, 31px); line-height:1.08;
  }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-card:has(.pn-hm-plate) .results-gallery-price-row{
    order:3; margin-top:0; margin-bottom:18px; padding-bottom:0; border-bottom:0;
    font-size:17px; font-weight:600; color:#F2EBE0;
  }
  /* 4 the specification panel, framed inside the card */
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-card:has(.pn-hm-plate) .results-gallery-media{
    order:4; margin:0 22px; width:auto; flex:0 0 auto; border-radius:6px; overflow:hidden;
    box-shadow:inset 0 0 0 1px rgba(194,189,181,.16) !important;
  }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-card:has(.pn-hm-plate) .pn-hm-plate{
    min-height:0; padding:18px 18px 14px;
    background:
      radial-gradient(120% 90% at 100% 0%, rgba(179,146,114,.10) 0%, rgba(179,146,114,0) 60%),
      linear-gradient(170deg, #26272A 0%, #1E1F21 100%);
  }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-card:has(.pn-hm-plate) .pn-hm-plate-area{ font-size:46px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-card:has(.pn-hm-plate) .pn-hm-plate-scale{ margin-top:14px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-card:has(.pn-hm-plate) .pn-hm-plate-fac{ margin-top:14px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-card:has(.pn-hm-plate) .pn-hm-plate-note{ padding-top:12px; }
  /* 5 why Atlas included it, quieter; 6 actions; 7 the My Plot link */
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-card:has(.pn-hm-plate) .results-gallery-role{
    order:5; margin-top:16px; margin-bottom:20px; font-size:13.5px; line-height:1.55; color:#ABA59C;
  }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-card:has(.pn-hm-plate) .results-gallery-role::before{
    margin-bottom:4px; font-size:10px;
  }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-card:has(.pn-hm-plate) .match-card-actions{
    order:6; margin-top:auto;
  }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-card:has(.pn-hm-plate) .match-card-open-myplot-link{
    order:7; margin-top:12px; align-self:flex-start;
  }
}
/* Desktop three columns: names of one or two lines keep the panels level. */
@media (min-width:1081px){
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-card:has(.pn-hm-plate) .results-gallery-name{
    min-height:2.16em;
  }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-card:has(.pn-hm-plate) .pn-hm-plate{ min-height:232px; }
  /* Narrow columns: the first sentence only; "View option" and the maker's
     link sit beside it, and the panels stay level. */
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-card:has(.pn-hm-plate) .pn-hm-plate-note-more{ display:none; }
}
/* Phones: a clear break between buildings, and a lighter rhythm. */
@media (max-width:640px){
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults.results-gallery{ gap:22px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-card:has(.pn-hm-plate) .results-gallery-body > *{ margin-left:20px; margin-right:20px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-card:has(.pn-hm-plate) .results-gallery-media{ margin:0 20px; }
  html[data-pn-skin="your-plot"]:not(#pn-yp-a):not(#pn-yp-b) #screen-match-results[data-pn-home-results] #altResults .results-gallery-card:has(.pn-hm-plate) .pn-hm-plate-area{ font-size:42px; }
}

/* Garden Home (16 Nov 2026): the photograph credit links back to the maker,
   as the grants require. Same chip as before; it becomes tappable, gains a
   quiet arrow, and shows a clear focus ring for keyboard users. Only
   pnHomeCreditLink() creates this element, so Garden Room is unaffected. */
a.pn-image-credit.is-link{
  pointer-events:auto; cursor:pointer; text-decoration:none;
  min-height:24px; display:inline-flex; align-items:flex-end;
}
a.pn-image-credit.is-link:hover{ text-decoration:underline; text-underline-offset:2px; }
a.pn-image-credit.is-link:focus-visible{ outline:2px solid #EDE6DA; outline-offset:-2px; }
