.foyer-scene { position: relative; display: grid; place-items: center; height: clamp(370px, 63svh, 660px); margin-block: 8px 16px; overflow: hidden; }
.foyer-scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.foyer-scene canvas:active { cursor: grabbing; }
.foyer-scene canvas:focus-visible { outline: 2px solid var(--navy); outline-offset: -3px; }
.foyer-fallback { max-width: 48ch; padding: 0 16px; text-align: center; }
.foyer-fallback a { color: inherit; }
.foyer-markers { position: absolute; inset: 0; pointer-events: none; }
.foyer-marker {
    position: absolute;
    display: grid;
    place-items: center;
    min-width: 35px;
    height: 35px;
    padding: 0 6px;
    border: 2px solid #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: #224451;
    color: #fff;
    font: inherit;
    font-size: var(--type-small);
    font-weight: 700;
    box-shadow: 0 3px 8px rgb(11 29 37 / 26%);
    pointer-events: auto;
    cursor: pointer;
}
.foyer-marker[aria-pressed="true"], .foyer-marker:hover { background: #ffd078; color: #223340; z-index: 2; }
.foyer-marker:focus-visible { outline: 2px solid #182b56; outline-offset: 2px; z-index: 3; }
.foyer-interface { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 40px; align-items: start; }
.foyer-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.foyer-controls label { flex-basis: 100%; font-weight: 700; }
.foyer-controls select {
    flex: 1 1 240px;
    min-width: 0;
    max-width: 100%;
    min-height: 44px;
    padding: 6px 10px;
    border: 1px solid var(--grey-strong);
    border-radius: 6px;
    background: var(--white);
    color: var(--navy);
    font: inherit;
}
.foyer-view-controls { display: flex; gap: 4px; }
.foyer-view-controls .button { width: 44px; min-height: 44px; padding: 0; }
.foyer-view-controls .fa-map {
    --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 6 6-3 6 3 6-3v15l-6 3-6-3-6 3zM9 3v15m6-12v15'/%3E%3C/svg%3E");
}
.foyer-view-controls .fa-minus {
    --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
}
.foyer-view-controls .button[aria-pressed="true"] { --button-background: #224451; --button-color: #fff; --button-border: #224451; }
.foyer-view-controls .button:disabled { opacity: .48; cursor: default; }
.foyer-info { min-height: 100px; }
.foyer-info h3 { margin: 0 0 6px; }
.foyer-info p { color: var(--muted); margin: 0; }
:is(.foyer-scene, .foyer-interface) [hidden] { display: none; }

@media (max-width: 680px) {
    .foyer-scene { height: clamp(300px, 43svh, 390px); margin-block: 0 12px; }
    .foyer-marker { min-width: 28px; height: 28px; padding-inline: 3px; }
    .foyer-interface { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .foyer-info { min-height: 0; }
}
