/* Land development · Project scene · DARK MODE ONLY (presentation only, no logic).
   The house PNG has transparent walls, so on the dark scene they showed the navy sky and grey band through
   the house. Each lot is now a framed, lit "lot panel" (pale backdrop + lawn base) and the house sits on it.
   Scene height is unchanged, so nothing on the page moves. Light mode is untouched. */

html[data-theme=dark] body.ds-calc-land-development .land-project-scene{
  background:
    radial-gradient(ellipse 70% 45% at 50% 64%,rgba(182,241,218,.13),rgba(182,241,218,0) 70%),
    linear-gradient(180deg,#0e2435 0%,#15394a 60%,#1f4737 60%,#193b2e 100%);
  border-color:#3d5a5f;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}
html[data-theme=dark] body.ds-calc-land-development .land-sun{
  background:#f1d47c;
  box-shadow:0 0 0 9px rgba(241,212,124,.10),0 0 46px rgba(241,212,124,.28);
}

/* Lots: only the visible ones take space, so one, two or three houses sit centered. */
html[data-theme=dark] body.ds-calc-land-development .land-scene-lots{gap:0!important;align-items:flex-end;bottom:62px!important}
html[data-theme=dark] body.ds-calc-land-development .land-scene-lot{
  flex:1 1 0;max-width:214px;height:auto!important;margin:0 5px;
  padding:16px 12px 7px!important;
  border:1px solid rgba(182,241,218,.30);border-radius:14px;
  background:linear-gradient(180deg,#e6f2ef 0%,#d4e9e1 calc(100% - 13px),#78b48a calc(100% - 13px),#62a176 100%);
  box-shadow:0 12px 26px rgba(0,0,0,.38),0 0 0 4px rgba(182,241,218,.05),inset 0 1px 0 rgba(255,255,255,.7);
}
html[data-theme=dark] body.ds-calc-land-development .land-scene-lot.hidden{
  flex:0 0 0;max-width:0;margin:0;padding:0!important;border-width:0;box-shadow:none;overflow:hidden;
}
html[data-theme=dark] body.ds-calc-land-development .land-scene-lot img{
  width:100%;max-width:190px;height:auto;margin:0 auto;
  filter:drop-shadow(0 4px 5px rgba(15,27,45,.22));
}

/* Total badge moves into the empty sky (top-left) so it never covers a house. */
html[data-theme=dark] body.ds-calc-land-development .land-scene-total{
  top:14px;left:14px;right:auto!important;bottom:auto!important;
  background:rgba(10,22,34,.88);border:1px solid rgba(182,241,218,.22);
  box-shadow:0 8px 20px rgba(0,0,0,.3);
}

/* Phones: the house still grows with its square footage, but starts larger (104–176 px instead of 68–172 px). */
@media (max-width:760px){
  /* phones: the panel hugs the house instead of leaving empty space beside it */
  html[data-theme=dark] body.ds-calc-land-development .land-scene-lots{bottom:60px!important}
  html[data-theme=dark] body.ds-calc-land-development .land-scene-lot{flex:1 1 0;min-width:0;max-width:176px!important;margin:0 4px;padding:12px 8px 6px!important}
  html[data-theme=dark] body.ds-calc-land-development .land-scene-lots:not(:has(.land-scene-lot:not(.hidden) ~ .land-scene-lot:not(.hidden))) .land-scene-lot:not(.hidden){flex:0 1 auto}
  html[data-theme=dark] body.ds-calc-land-development .land-scene-lot.hidden{max-width:0!important;margin:0;padding:0!important}
  html[data-theme=dark] body.ds-calc-land-development .land-scene-lot img{
    width:calc(56px + var(--house-size,100px) * .7)!important;max-width:100%!important;max-height:none!important;
  }
  html[data-theme=dark] body.ds-calc-land-development .land-scene-total{top:10px!important;left:10px!important}
}
