.zero-screen-buttons{display:flex;flex-direction:column;gap:.6rem;margin:1.2rem 0}.zero-screen-buttons button{width:100%;font-size:1rem;background:#fff8e9;color:#285c4f;box-shadow:none}.zero-screen-buttons button[aria-pressed=true]{background:#285c4f;color:#fff;box-shadow:none}body[data-place=zero-square] .holding-place{grid-column:2 / -1;grid-row:1;background:#fffdf1;border:1px solid #b4a084;border-radius:14px;padding:clamp(1.25rem,3vw,2.5rem);min-width:0}body[data-place=zero-square] .holding-place h2{color:#285c4f;font-size:clamp(1.8rem,4vw,2.8rem);margin:0 0 1rem}body[data-place=zero-square] .holding-place .place-values{max-width:650px;margin:1.5rem auto}body[data-place=zero-square] .holding-place .place-values strong{font-size:clamp(2.5rem,8vw,5rem)}body[data-place=zero-square] #placeholder-result{font-size:1.15rem;color:#233d38;background:#e3ebd8;padding:1rem;border-left:4px solid #537653}body[data-place=zero-square] .square-controls #zero-readout[hidden]{display:none!important}@media(max-width:720px){body[data-place=zero-square] .holding-place{width:100%}.holding-place .place-values{gap:.4rem}.holding-place .place-values span{padding:.5rem .25rem}}

/* Holding A Place shares the painted courtyard and three-column layout. */
body[data-place=zero-square] .holding-place{grid-column:2;grid-row:1;position:relative;padding:0;min-height:760px;overflow:hidden;background:#e8dcc3;border:0;isolation:isolate}
.holding-scenery{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-1}
body[data-place=zero-square] .holding-activity{position:absolute;left:50%;bottom:3%;transform:translateX(-50%);width:90%;max-width:530px;border:1px solid #b4a084;border-radius:12px;background:#fffdf1f5;padding:1rem;color:#233d38}
body[data-place=zero-square] .holding-place h2{font-size:1.5rem;margin:0 0 .6rem}
body[data-place=zero-square] .holding-activity p{font-size:.95rem;line-height:1.45;margin:.6rem 0}
body[data-place=zero-square] .holding-place .place-values{margin:.7rem 0;gap:.5rem}
body[data-place=zero-square] .holding-place .place-values span{padding:.35rem;font-size:.8rem}
body[data-place=zero-square] .holding-place .place-values strong{font-size:2.4rem;line-height:1.3}
body[data-place=zero-square] .holding-place button{font-size:.95rem;padding:.55rem .7rem}
body[data-place=zero-square] #placeholder-result{font-size:.95rem;padding:.65rem;margin-bottom:0}
body[data-place=zero-square] .holding-sidebar{grid-column:3;grid-row:1 / span 3;align-self:stretch;background:#fffdf1;border:1px solid #b4a084;border-radius:12px;min-height:760px}
@media(max-width:1100px){body[data-place=zero-square] .holding-sidebar{grid-column:2;grid-row:2;min-height:150px}}
@media(max-width:720px){body[data-place=zero-square] .holding-place{width:100%;min-height:740px}body[data-place=zero-square] .holding-activity{width:92%;padding:.85rem}body[data-place=zero-square] .holding-sidebar{width:100%;min-height:120px}}

/* Activity choices share one row in the right-hand panel. */
body[data-place=zero-square] .zero-screen-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin:.65rem 0 1rem}body[data-place=zero-square] .zero-screen-buttons button{width:100%;min-width:0;padding:.55rem .4rem;font-size:.9rem;line-height:1.3}
body[data-place=zero-square] .holding-sidebar{padding:1rem}

/* Balanced desktop columns and matching activity-choice buttons. */
@media (min-width:1101px) {
  body[data-place="zero-square"] .scene { align-items: stretch; }
  body[data-place="zero-square"] .scene-title,
  body[data-place="zero-square"] .square-controls,
  body[data-place="zero-square"] .holding-sidebar { min-height: 0; }
  body[data-place="zero-square"] .square-stage,
  body[data-place="zero-square"] .holding-place { height: 100%; min-height: 0; }
  body[data-place="zero-square"] .square-stage > img { width: 100%; height: 100%; object-fit: cover; }
}
body[data-place="zero-square"] .zero-screen-buttons button {
  background: #285c4f; color: #fff; border-color: #285c4f;
}
body[data-place="zero-square"] .zero-screen-buttons button[aria-pressed="true"] {
  background: #fff8e9; color: #285c4f; border-color: #285c4f;
}

@media (min-width:1101px) {
  body[data-place="zero-square"] .scene-title,
  body[data-place="zero-square"] .square-controls,
  body[data-place="zero-square"] .holding-sidebar { max-height: calc(100vh - 110px); overflow-y: auto; }
  body[data-place="zero-square"] .holding-place { height: calc(100vh - 110px); }
}

/* Keep the warehouseman below the arrival activity choices. */
.zero-arrival-illustration {
  display: block;
  width: min(100%, 16rem);
  height: auto;
  max-height: 48dvh;
  object-fit: contain;
  margin: 1rem auto 0;
}
@media (min-width: 1200px) {
  body[data-place="zero-square"] .audit-arrival-controls {
    display: flex;
    flex-direction: column;
  }
  body[data-place="zero-square"] .audit-arrival-controls > * { flex-shrink: 0; }
  .zero-arrival-illustration { margin-block: auto; }
}

@media (min-width: 1200px) and (max-height: 800px) {
  .zero-arrival-illustration { max-height: 35dvh; }
}
