@font-face {
  font-family: Geometria;
  src: url("assets/Geometria-Regular.woff2");
}
@font-face {
  font-family: Geometria;
  src: url("assets/Geometria-Medium.woff2");
  font-weight: 500;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #edeae3;
  color: #26332d;
  font-family: Geometria, Arial, sans-serif;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button {
  border: 0;
  background: none;
}
button:hover {
  background: #dddcd2;
}
button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #906b3f;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
header {
  height: 88px;
  padding: 0 3.3vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #d1d0c6;
  gap: 24px;
  background: #f4f2ec;
}
.brand {
  font-size: 26px;
  letter-spacing: 0.18em;
  text-decoration: none;
  font-weight: 500;
}
nav {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 26px;
}
nav button {
  font-size: 13px;
  padding: 0 5px;
  border-bottom: 2px solid transparent;
}
nav button[aria-pressed="true"] {
  border-bottom-color: #304c3f;
}
.source-link {
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 5px;
  min-height: 44px;
}
.experience {
  min-height: 770px;
  height: calc(100dvh - 88px);
  max-height: 1200px;
  position: relative;
  overflow: hidden;
}
.heading {
  position: absolute;
  top: 35px;
  left: 3.3vw;
  z-index: 2;
  pointer-events: none;
}
.location {
  font-size: 11px;
  letter-spacing: 0.025em;
  margin: 0 0 20px;
  color: #565e53;
}
h1 {
  font-size: clamp(30px, 3.45vw, 60px);
  line-height: 1.09;
  font-weight: 400;
  letter-spacing: -0.055em;
  margin: 0 0 22px;
}
.heading > p:last-child {
  font-size: 12px;
  color: #535c50;
  line-height: 1.7;
}
#stage {
  position: absolute;
  inset: 0 0 40px 0;
}
#viewer,
#labels {
  position: absolute;
  inset: 0;
}
#labels {
  pointer-events: none;
  overflow: hidden;
}
#viewer canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}
#status {
  position: absolute;
  top: 58%;
  left: 43%;
  transform: translateX(-50%);
  background: #f4f2ecf2;
  padding: 12px 18px;
  font-size: 12px;
  max-width: 80%;
  z-index: 4;
}
#status.error {
  top: 45%;
}
.map-label {
  position: absolute;
  transform: translate(-50%, -100%);
  pointer-events: auto;
  background: #f4f2edf0;
  border: 1px solid #cecec2;
  box-shadow: 0 6px 18px #25332510;
  border-radius: 2px;
  padding: 9px 12px;
  white-space: nowrap;
  font-size: 11px;
}
.map-label.home {
  background: #263e32;
  color: #fff;
  border-color: #263e32;
}
.map-label.home[aria-pressed="true"] {
  background: #8c6943;
  border-color: #8c6943;
}
.map-label.context {
  pointer-events: none;
  color: #46523e;
  background: #f3f3e4ed;
}
.inspector {
  position: absolute;
  right: 3.3vw;
  top: 50%;
  transform: translateY(-40%);
  width: 252px;
  background: #f6f4eef2;
  padding: 25px 24px;
  z-index: 3;
  border: 1px solid #d3d2c6;
  backdrop-filter: blur(12px);
}
.small-label {
  font-size: 10px;
  color: #54604f;
  display: block;
  line-height: 1.5;
}
.inspector h2 {
  font-size: 27px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin: 13px 0;
}
.inspector p {
  font-size: 11px;
  line-height: 1.7;
  color: #4d584b;
}
.building-picker {
  display: grid;
  margin: 20px 0 22px;
  border-top: 1px solid #c9cabe;
}
.building-picker button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 12px;
  border-bottom: 1px solid #c9cabe;
  text-align: left;
}
.building-picker button:after {
  content: "↗";
  font-size: 16px;
}
.building-picker button[aria-pressed="true"] {
  font-weight: 500;
  color: #705032;
}
.building-picker button[aria-pressed="true"]:after {
  content: "●";
  font-size: 8px;
}
.primary {
  background: #284433;
  color: #fff;
  width: 100%;
  min-height: 49px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  font-size: 11px;
  text-align: left;
}
.primary:hover {
  background: #1a3225;
}
.inspector .small-note {
  font-size: 9px;
  line-height: 1.55;
  margin: 16px 0 0;
  color: #5d655a;
}
.scene-toolbar {
  position: absolute;
  bottom: 72px;
  left: 40%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  background: #f6f4eef5;
  border: 1px solid #c7cbbd;
  z-index: 3;
  padding: 5px;
  white-space: nowrap;
  box-shadow: 0 8px 30px #31362e0b;
}
.scene-toolbar button {
  padding: 10px 14px;
  min-height: 42px;
  font-size: 11px;
}
.scene-toolbar button[aria-pressed="true"] {
  background: #304737;
  color: #fff;
}
.separator {
  height: 18px;
  width: 1px;
  background: #bfc4b6;
  margin: 0 7px;
}
.zoom {
  position: absolute;
  left: 3.3vw;
  bottom: 80px;
  display: grid;
  background: #f5f3eb;
  border: 1px solid #c9cdbf;
  z-index: 3;
}
.zoom button {
  width: 42px;
  height: 42px;
  font-size: 22px;
}
.zoom button + button {
  border-top: 1px solid #c9cdbf;
}
.stage-footer {
  position: absolute;
  bottom: 22px;
  left: 3.3vw;
  right: 3.3vw;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 9px;
  color: #4b584a;
}
.concept {
  padding-left: 16px;
  position: relative;
}
.concept:before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 6px;
  height: 6px;
  border: 1px solid #6f805f;
  border-radius: 100%;
}
.foundation {
  background: #f4f2eb;
  padding: 62px 3.3vw;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 45px;
  border-top: 1px solid #c9cec0;
}
.foundation h2 {
  font-size: 34px;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.04em;
  margin: 0 0 18px;
}
.foundation p {
  font-size: 12px;
  line-height: 1.8;
  color: #56604f;
  max-width: 330px;
}
.fact {
  padding-top: 7px;
}
.fact strong {
  font-size: 13px;
  font-weight: 500;
}
.fact p {
  margin-top: 20px;
}
main > footer {
  padding: 24px 3.3vw;
  max-width: 1200px;
  color: #4d584a;
  font-size: 10px;
  line-height: 1.7;
}
#floor {
  position: absolute;
  left: 3.3vw;
  right: 330px;
  top: 270px;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.floor-heading {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #4c5c48;
  margin-bottom: 22px;
  gap: 10px;
}
.plan-wrap {
  width: 100%;
  overflow: auto;
  padding: 12px 3px;
  background: #fff;
}
.plan-wrap svg {
  display: block;
  width: 100%;
  height: auto;
}
.apartment {
  fill: #294f3620;
  stroke: #405a36;
  stroke-width: 1.4;
  cursor: pointer;
  transition: fill 0.18s;
}
.apartment:hover {
  fill: #87643f55;
  stroke: #76542a;
  stroke-width: 3;
}
.apartment[aria-pressed="true"] {
  fill: #1d422e55;
  stroke: #143f28;
  stroke-width: 4;
}
.apartment:focus-visible {
  stroke: #000;
  stroke-width: 5;
  outline: none;
}
.floor-hint {
  font-size: 10px;
  color: #57604e;
  line-height: 1.7;
  margin-top: 18px;
}
.inspector #area {
  font-size: 38px;
  margin: 12px 0 20px;
}
.inspector #area small {
  font-size: 19px;
}
#apartment-image {
  width: 100%;
  height: 185px;
  object-fit: contain;
  background: #fff;
}
#plan-download {
  font-size: 11px;
  display: inline-block;
  min-height: 32px;
  padding-top: 9px;
}
dialog {
  border: 0;
  background: #f7f5ef;
  padding: 24px;
  width: min(1100px, 94vw);
  max-height: 92dvh;
  color: #2a3a2c;
}
dialog::backdrop {
  background: #101c17b3;
  backdrop-filter: blur(5px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.dialog-head h2 {
  font-size: 20px;
  font-weight: 400;
}
.dialog-head button {
  font-size: 30px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
dialog > img {
  width: 100%;
  max-height: 65dvh;
  object-fit: contain;
  background: #fff;
}
dialog p,
dialog a {
  font-size: 12px;
  line-height: 1.7;
}
body[data-mode="building"] .heading {
  max-width: 280px;
}
body[data-mode="floor"] .heading {
  top: 30px;
}
body[data-mode="floor"] .heading h1 {
  font-size: 44px;
}
@media (max-width: 1050px) {
  .inspector {
    right: 22px;
    width: 226px;
    padding: 20px;
  }
  .heading {
    left: 24px;
  }
  h1 {
    font-size: 39px;
  }
  .heading > p:last-child {
    max-width: 230px;
  }
  .scene-toolbar {
    left: 40%;
  }
  .foundation {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
  #floor {
    right: 275px;
    left: 24px;
  }
  .source-link {
    max-width: 120px;
  }
  .experience {
    min-height: 800px;
  }
}
@media (max-width: 680px) {
  header {
    height: 118px;
    padding: 17px 21px 0;
    align-content: space-between;
    flex-wrap: wrap;
    gap: 0;
  }
  .brand {
    font-size: 23px;
  }
  .source-link {
    font-size: 9px;
    max-width: none;
  }
  nav {
    order: 3;
    height: 52px;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
  nav button {
    font-size: 11px;
  }
  .experience {
    height: auto;
    min-height: 0;
    overflow: hidden;
    padding: 0 20px 22px;
    display: flex;
    flex-direction: column;
  }
  .heading {
    position: relative;
    top: auto !important;
    left: auto;
    padding-top: 28px;
    max-width: none !important;
  }
  .location {
    margin-bottom: 13px;
    font-size: 10px;
  }
  h1,
  body[data-mode="floor"] .heading h1 {
    font-size: 37px;
    margin-bottom: 14px;
  }
  .heading > p:last-child {
    font-size: 11px;
    max-width: none;
  }
  .heading br {
    display: none;
  }
  #stage {
    position: relative;
    inset: auto;
    height: 390px;
    margin: 0 -20px;
    flex-shrink: 0;
  }
  #status {
    left: 50%;
    top: 42%;
    font-size: 11px;
  }
  .map-label {
    font-size: 9px;
    padding: 7px 8px;
  }
  .map-label.context {
    font-size: 8px;
    padding: 5px;
  }
  .inspector {
    position: relative;
    inset: auto;
    transform: none;
    width: 100%;
    padding: 22px;
    margin-top: 10px;
    order: 6;
  }
  .inspector h2 {
    font-size: 25px;
  }
  .building-picker {
    display: flex;
    gap: 12px;
    margin: 18px 0;
  }
  .building-picker button {
    flex: 1;
    gap: 4px;
    font-size: 10px;
  }
  .primary {
    font-size: 12px;
  }
  .scene-toolbar {
    position: relative;
    inset: auto;
    transform: none;
    align-self: center;
    order: 3;
    margin-top: 0;
    max-width: 100%;
  }
  .scene-toolbar button {
    padding: 10px;
    font-size: 10px;
  }
  .separator {
    margin: 0 3px;
  }
  .zoom {
    position: absolute;
    left: auto;
    right: 20px;
    bottom: auto;
    top: 426px;
    z-index: 3;
  }
  .zoom button {
    width: 34px;
    height: 36px;
    font-size: 20px;
  }
  .stage-footer {
    position: relative;
    inset: auto;
    order: 4;
    font-size: 8px;
    line-height: 1.5;
    padding: 20px 0 8px;
  }
  .stage-footer #interaction-hint {
    max-width: 190px;
  }
  .concept {
    white-space: nowrap;
    padding-left: 12px;
  }
  .foundation {
    padding: 38px 22px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .foundation h2 {
    font-size: 31px;
  }
  .foundation h2 br {
    display: none;
  }
  .foundation p {
    max-width: none;
  }
  .fact {
    border-top: 1px solid #d0d3c8;
    padding-top: 22px;
  }
  .fact p {
    margin-top: 12px;
  }
  #floor {
    position: relative;
    inset: auto;
    order: 2;
    min-height: 270px;
    margin-top: 24px;
  }
  .floor-heading {
    font-size: 9px;
  }
  .floor-hint {
    font-size: 9px;
  }
  .plan-wrap svg {
    min-width: 620px;
  }
  .plan-wrap {
    padding: 8px 3px;
  }
  .inspector #apartment-image {
    height: 230px;
  }
  body[data-mode="floor"] .stage-footer {
    margin-top: 0;
  }
  .dialog-head h2 {
    font-size: 16px;
  }
  dialog {
    padding: 15px;
  }
  .small-note {
    max-width: 320px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* V19: the material tour shares the architectural view, without a new page. */
body[data-mode="building"] h1 {
  font-size: clamp(34px, 3.2vw, 54px);
}
body[data-mode="building"] .heading {
  max-width: 340px;
}
body[data-mode="building"] .inspector {
  width: 285px;
  top: 48%;
  transform: translateY(-40%);
  padding: 22px;
}
body[data-mode="building"] .building-picker {
  display: none;
}
body[data-mode="building"] #main-action {
  margin: 20px 0;
}
.tour-label {
  margin: 18px 0 9px !important;
}
.detail-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}
.detail-buttons button {
  font-size: 11px;
  min-height: 40px;
  border: 1px solid #c5c4b8;
  padding: 9px;
}
.detail-buttons button[aria-pressed="true"] {
  background: #304737;
  color: white;
  border-color: #304737;
}
.reference {
  display: block;
  width: 100%;
  padding: 0;
  margin-top: 16px;
  text-align: left;
  background: #e7e1d5;
}
.reference img {
  display: block;
  width: 100%;
  height: 108px;
  object-fit: cover;
}
.reference > span {
  display: flex;
  justify-content: space-between;
  padding: 10px 9px;
  font-size: 10px;
}
#detail-description {
  font-size: 11px;
  line-height: 1.6;
  margin: 13px 0 0;
}
body[data-detail]:not([data-detail="whole"]) #card-text {
  display: none;
}
body[data-mode="building"] #home-note {
  display: none;
}
@media (max-width: 680px) {
  body[data-mode="building"] .inspector {
    width: 100%;
    inset: auto;
    transform: none;
    padding: 22px;
  }
  body[data-mode="building"] .heading {
    max-width: none;
  }
  body[data-mode="building"] h1 {
    font-size: 37px;
  }
  .reference img {
    height: 160px;
  }
  .detail-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 681px) {
  body[data-mode="building"]:not([data-detail="whole"]) .heading {
    visibility: hidden;
  }
  body[data-mode="building"]:not([data-detail="whole"]) .stage-footer {
    background: #f4f2eced;
    padding: 9px 12px;
    bottom: 13px;
  }
}

/* Embedded in the First website; keep one brand and one footer. */
header .brand,
.foundation,
main > footer {
  display: none;
}
header {
  height: 62px;
  background: #fafaf7;
}
.experience {
  height: calc(100dvh - 245px);
  min-height: 720px;
}
#plan-details {
  text-decoration: none;
  margin-top: 14px;
}
@media (max-width: 680px) {
  header {
    height: 62px;
    padding: 0 20px;
    flex-wrap: nowrap;
    gap: 12px;
  }
  nav {
    order: 0;
    flex: 1;
    height: 62px;
    gap: 8px;
  }
  nav button {
    font-size: 10px;
  }
  .source-link {
    font-size: 9px;
    max-width: 76px;
  }
  .experience {
    height: auto;
    min-height: 0;
  }
  #plan-details {
    justify-content: center;
    gap: 25px;
  }
}

.heading {
  display: none;
}
#floor {
  top: 40px;
  bottom: 60px;
}
@media (max-width: 680px) {
  .experience {
    max-height: none;
  }
  #floor {
    top: auto;
    bottom: auto;
    margin-top: 26px;
  }
}

.viewer-accessible-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* V22: living courtyard and direct facade selection. */
.map-label.legend {
  background: #e5e0d3e8;
  color: #4b5147;
  border: 1px solid #b6b6a7;
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 8px 12px;
  pointer-events: none;
  white-space: nowrap;
}
.unit-tooltip {
  position: absolute;
  z-index: 5;
  pointer-events: none;
  background: #243b31;
  color: #fff;
  padding: 12px 16px;
  font-size: 13px;
  box-shadow: 0 6px 20px #0002;
  white-space: nowrap;
}
.unit-picker {
  border-top: 1px solid #ccc8bc;
  margin-top: 20px;
  padding-top: 16px;
}
.unit-picker summary {
  cursor: pointer;
  font-size: 12px;
  min-height: 32px;
}
.unit-picker label {
  display: block;
  font-size: 11px;
  margin: 14px 0 8px;
}
.unit-picker select {
  width: 100%;
  background: #f8f6ef;
  color: #26382f;
  border: 1px solid #bdbeb2;
  padding: 10px;
  font: inherit;
  font-size: 12px;
  min-height: 44px;
}
.unit-picker .primary {
  margin-top: 15px;
}
.unit-close {
  font-size: 12px;
  min-height: 44px;
  padding: 0 0 12px;
  text-align: left;
  color: #304b3e;
}
#apartment-info #apartment-image {
  max-height: 225px;
  object-fit: contain;
}
@media (min-width: 681px) {
  .inspector {
    max-height: calc(100% - 110px);
    overflow-y: auto;
    scrollbar-width: thin;
  }
  .unit-picker summary {
    font-size: 11px;
  }
}
@media (max-width: 680px) {
  .map-label.legend {
    font-size: 8px;
    padding: 5px 7px;
  }
  .unit-tooltip {
    font-size: 11px;
  }
  .unit-picker {
    margin-top: 16px;
  }
  header nav button {
    font-size: 10px;
    padding-inline: 9px;
  }
}

.map-label.yard {
  background: #f6f3e8eb;
  color: #26382d;
  font-size: 10px;
  padding: 7px 10px;
  pointer-events: none;
  white-space: nowrap;
  border: 1px solid #b7baaa;
}
@media (max-width: 680px) {
  .map-label.yard {
    font-size: 8px;
    padding: 4px 5px;
  }
  .scene-toolbar {
    gap: 6px;
  }
  .scene-toolbar button {
    padding-inline: 8px;
  }
}

/* V25: fit the whole floor and offer a precise native picker. */
.floor-choice {
  display: block;
  margin-top: 16px;
  font-size: 11px;
}
.floor-choice select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid #bdbeb2;
  background: #fafaf7;
  color: #26382f;
  font: inherit;
  font-size: 14px;
}
@media (max-width: 680px) {
  header {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    padding: 10px 20px;
    gap: 4px;
  }
  header nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    height: auto;
    width: 100%;
    gap: 4px;
  }
  header nav button {
    min-width: 0;
    min-height: 44px;
    white-space: normal;
    padding: 6px 4px;
    font-size: 11px;
    line-height: 1.3;
  }
  header .source-link {
    justify-self: end;
    max-width: none;
    min-height: 36px;
    font-size: 10px;
  }
  .plan-wrap {
    overflow: visible;
  }
  .plan-wrap svg {
    min-width: 0;
    width: 100%;
  }
  .floor-choice select,
  .unit-picker select {
    font-size: 16px;
  }
  #floor {
    min-height: 0;
  }
  .floor-heading {
    flex-wrap: wrap;
  }
}

/* Match the apartment drawing to the inspector background. */
#apartment-image {
  background: transparent;
  mix-blend-mode: multiply;
}

/* V31: courtyard close views and connected apartment choices. */
.yard-tour {
  margin: 20px 0;
  border-top: 1px solid #cbd0c2;
  padding-top: 12px;
}
.yard-tour > p {
  font-size: 11px;
  line-height: 1.5;
}
.yard-stops {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}
.yard-stops button {
  min-height: 44px;
  font-size: 11px;
  text-align: left;
  padding: 8px;
  border: 1px solid #c7cabf;
  line-height: 1.4;
}
.yard-stops button[aria-pressed="true"] {
  background: #304b3e;
  color: #fff;
  border-color: #304b3e;
}
.map-label.yard {
  pointer-events: auto;
  min-height: 36px;
  cursor: pointer;
}
.map-label.yard:hover {
  background: #fff;
}
.apartment-views {
  display: flex;
  gap: 14px;
  margin: 14px 0;
}
.apartment-views button {
  min-height: 44px;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  font-size: 12px;
}
.apartment-views button[aria-pressed="true"] {
  border-color: currentColor;
}
#apartment-whatsapp {
  background: transparent;
  color: #304b3e;
  border: 1px solid #304b3e;
  margin-top: 10px;
}
#apartment-image[data-error] {
  min-height: 120px;
}
@media (max-width: 680px) {
  .yard-stops {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .yard-stops button {
    font-size: 11px;
  }
  .map-label.yard {
    min-height: 36px;
    padding: 8px;
  }
}

body[data-yard-focus]
  #building-info
  :is(.building-picker, .unit-picker, #home-note, #main-action) {
  display: none;
}

/* V32: compact navigation; the model keeps most of the viewport. */
#building-info
  > :is(#context, #card-title, #card-text, .building-picker, #home-note) {
  display: none;
}
.home-filter {
  display: block;
  font-size: 12px;
  color: #304b3e;
}
.home-filter select {
  display: block;
  width: 100%;
  min-height: 44px;
  margin: 8px 0 0;
  padding: 10px 12px;
  border: 1px solid #c9cec6;
  background: #fafbf8;
  color: #203b2d;
  font: inherit;
  font-size: 14px;
}
#yard-tour {
  margin: 18px 0 14px;
  padding: 0;
  border: 0;
}
#yard-tour > p {
  margin: 0 0 8px;
  font-size: 12px;
  color: #304b3e;
}
#building-info .yard-stops button {
  min-height: 44px;
  padding: 8px;
  font-size: 11px;
  line-height: 1.3;
}
#building-info .yard-stops {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
body[data-mode="quarter"] .inspector,
body[data-mode="building"] .inspector {
  padding: 16px;
  width: 236px;
  right: 20px;
  top: 24px;
  transform: none;
  background: #fafaf5f2;
  box-shadow: 0 8px 30px #2432290c;
}
body[data-mode="quarter"] #building-info .unit-picker {
  display: none;
}
body[data-mode="quarter"] #building-info #main-action {
  display: flex;
  margin: 0;
  min-height: 44px;
}
body[data-mode="building"] #main-action {
  margin: 12px 0;
}
@media (max-width: 680px) {
  body[data-mode="quarter"] .inspector,
  body[data-mode="building"] .inspector {
    width: 100%;
    inset: auto;
    padding: 16px;
    transform: none;
  }
  .home-filter select {
    font-size: 16px;
  }
  #building-info .yard-stops {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
