/* Layout owns the outer columns; scene CSS continues to own each activity. */
body.atlas-location{color-scheme:light;background:var(--atlas-ground);color:var(--atlas-ink);margin:0;max-width:none;padding:0!important}
body.atlas-location :is(.atlas-workspace,.atlas-left,.atlas-right,.atlas-centre){box-sizing:border-box!important}
body.atlas-location .atlas-workspace :is(.atlas-left,.atlas-right,.atlas-centre){grid-row:1 / 2!important}
body.atlas-location .atlas-workspace{display:grid!important;grid-template-columns:clamp(240px,20vw,300px) minmax(0,1fr) clamp(240px,20vw,300px)!important;grid-template-rows:var(--atlas-height,760px)!important;gap:1rem!important;width:100%;max-width:none!important;height:auto!important;min-height:0!important;padding:0 1rem 1rem!important;margin:0!important;align-items:stretch!important}
body.atlas-location .atlas-left,body.atlas-location .atlas-right,body.atlas-location .atlas-centre{box-sizing:border-box;grid-row:1!important;min-width:0!important;width:100%!important;max-width:none!important;height:100%!important;min-height:0!important;max-height:none!important;align-self:stretch!important;margin:0!important;overflow:auto!important}
body.atlas-location .atlas-left{grid-column:1!important}
body.atlas-location .atlas-centre{grid-column:2!important;aspect-ratio:auto!important;position:relative;background-size:100% 100%!important;background-position:center!important}
body.atlas-location .atlas-right{grid-column:3!important}
body.atlas-location .atlas-left,body.atlas-location .atlas-right,body.atlas-location .atlas-activity-bar{background:var(--atlas-paper)!important;color:var(--atlas-ink)!important;border:1px solid var(--atlas-border)!important;border-radius:12px;padding:1rem;text-shadow:none}
body.atlas-location :is(.atlas-left,.atlas-right) :is(h1,h2,p,.eyebrow,summary){color:var(--atlas-ink)!important;text-shadow:none}
body.atlas-location .atlas-left h1{font-size:clamp(2rem,2.5vw,2.8rem);line-height:1.15}
body.atlas-location :is(.atlas-left,.atlas-right,.atlas-activity-bar) button,body.atlas-location :is(.atlas-destinations,.activity-switch) a{background:var(--atlas-paper)!important;color:var(--atlas-accent)!important;border:1px solid var(--atlas-accent)!important;border-radius:7px;min-height:44px;text-shadow:none}
body.atlas-location :is(.atlas-left,.atlas-right,.atlas-activity-bar) button[aria-pressed=true],body.atlas-location :is(.atlas-destinations,.activity-switch) a[aria-current]{background:var(--atlas-accent)!important;color:white!important;box-shadow:inset 0 0 0 2px var(--atlas-accent)}
body.atlas-location .atlas-destinations{display:grid!important;grid-template-columns:1fr!important;gap:.5rem;margin:1rem 0}
body.atlas-location .atlas-destinations :is(a,span){display:block;padding:.55rem .7rem;font:600 .92rem/1.4 system-ui,sans-serif;text-decoration:none}
body.atlas-location .atlas-unavailable{border:1px dashed var(--atlas-border);border-radius:7px;color:var(--atlas-ink)}
body.atlas-location .atlas-unavailable small{font-weight:normal}
body.atlas-location :is(button,a,input,select,textarea):focus-visible{outline:3px solid var(--atlas-accent);outline-offset:3px}
/* Legacy wrappers expose the scene and controls to the outer grid. Hidden stays hidden. */
body.atlas-location main.scene > .activity,body.atlas-location :is(#interactive,#walk-activity):not([hidden]){display:contents!important}
body.atlas-location [hidden]{display:none!important}
body.atlas-location .square-stage > img,body.atlas-location .clearing-stage > img{width:100%!important;height:100%!important;object-fit:fill!important}
/* Artwork and overlays stretch together; no cover cropping or independent SVG scaling. */
body.atlas-location .map-scroll{height:100%;max-height:none;min-width:0}
body.atlas-location .meadow-art{height:100%!important;width:100%!important;min-width:0!important;aspect-ratio:auto!important}
body.atlas-location .meadow-art > img{width:100%;height:100%;object-fit:contain}
body.atlas-location .meadow-art{background:var(--atlas-ground)}
body.atlas-location .river-stage{display:flex;flex-direction:column;background-image:none}
body.atlas-location .river-art{flex:1 1 0;min-height:300px;aspect-ratio:auto}
body.atlas-location .river-art .landscape{object-fit:fill}
body.atlas-location .scene-instructions{flex:none;position:relative;margin:.5rem!important}
body.atlas-location .holding-activity{max-height:85%;overflow:auto}
body.atlas-location .triangle-scroll{max-width:100%;overflow:auto}
@media(max-width:1199px){
 body.atlas-location .atlas-workspace{display:flex!important;flex-direction:column!important;height:auto!important}
 body.atlas-location .atlas-left,body.atlas-location .atlas-right,body.atlas-location .atlas-centre{height:auto!important;min-height:0!important;overflow:visible!important}
 body.atlas-location .atlas-centre{min-height:420px!important}
 body.atlas-location .square-stage,body.atlas-location .clearing-stage,body.atlas-location .meadow-art{aspect-ratio:3/2!important;min-height:0!important;height:auto!important}
 body.atlas-location .square-stage>img,body.atlas-location .clearing-stage>img,body.atlas-location .meadow-art>img{height:auto!important}
 body.atlas-location .holding-place{min-height:740px!important}
 body.atlas-location .river-art{flex:none;aspect-ratio:3/2;min-height:0}
 body.atlas-location .map-scroll,body.atlas-location .triangle-scroll,body.atlas-location .map-frame{overflow:auto!important;max-width:100%}
}
@media print{body.atlas-location .atlas-workspace{display:block!important}body.atlas-location :is(.atlas-left,.atlas-centre,.atlas-right){height:auto!important;overflow:visible!important}}
