/* Manual carousel guidance and lazy local viewers. */
.carousel-guidance{margin-top:12px}.carousel-guidance .carousel-hint{text-align:center;margin:0;max-width:none;width:100%}
#local-viewer[hidden]{display:none}#project-dialog.is-local-project .preview-layout,#project-dialog.is-local-project .preview-detail{display:none}#project-dialog.is-local-project .project-panel{overflow:hidden}.local-viewer-tools{min-height:49px;padding:10px max(20px,calc((100vw - 1240px)/2));display:flex;justify-content:space-between;align-items:center;gap:16px;background:#202838;border-bottom:1px solid #3a4963;font-size:11px;color:#b8c9e5}.local-viewer-tools>div{display:flex;gap:20px;flex-wrap:wrap}.local-viewer-tools a{text-decoration:underline;text-underline-offset:4px;color:#d3def4}.local-viewer-tools a:focus-visible,#local-retry:focus-visible{outline:2px solid #a2b8ff;outline-offset:4px}#local-frame-host{position:relative;height:calc(100dvh - 124px);min-height:250px;background:#11110f}#local-frame-host iframe{display:block;width:100%;height:100%;border:0;background:#11110f}#local-frame-host iframe[hidden]{display:none}#local-poster{position:absolute;inset:0;display:grid;place-items:center;overflow:hidden;background:#11110f;z-index:1}#local-poster[hidden]{display:none}#local-poster img{position:absolute;width:min(65vw,650px);height:auto;opacity:.38;filter:brightness(.7);border-radius:50%}#local-poster>div{position:relative;max-width:420px;padding:25px;text-align:center;color:#fff}#local-load-status{font-size:15px;line-height:1.6;text-shadow:0 2px 12px #000}#local-retry{border:1px solid #778dac;border-radius:5px;background:#263751;color:#fff;padding:10px 18px;font:inherit}#local-retry[hidden]{display:none}
@media(max-width:760px){.carousel-guidance{gap:10px;margin-top:11px}.carousel-guidance .carousel-hint{font-size:9px;max-width:none}.local-viewer-tools{font-size:9px;padding:9px 15px;gap:9px;min-height:49px}.local-viewer-tools>div{gap:12px}#local-frame-host{height:calc(100dvh - 111px)}#local-poster img{width:90vw}#local-load-status{font-size:13px}}
.project-draft{display:inline-flex;align-items:center;gap:8px;margin-top:20px;padding-bottom:3px;border-bottom:1px solid #64789c;color:#adbfdf;font-size:11px}.project-draft[hidden]{display:none}.project-draft .ui-icon{width:13px;height:13px}
/* Fit the real app to the remaining dialog height even when translated toolbar wraps. */
#project-dialog.is-local-project .project-panel{display:flex;flex-direction:column}#project-dialog.is-local-project .preview-header{flex-shrink:0}#local-viewer:not([hidden]){display:flex;flex-direction:column;flex:1;min-height:0}.local-viewer-tools{flex-shrink:0}#local-frame-host{flex:1;min-height:0;height:auto}

/* v13: an explicit burger overview / builder switch, outside the scrollable frame. */
.project-view-switch{display:flex;gap:4px;padding:8px max(18px,calc((100vw - 1240px)/2));background:#1b2230;border-bottom:1px solid #3a4963;flex-shrink:0}
.project-view-switch[hidden]{display:none}.project-view-switch button{min-height:44px;padding:9px 20px;border:1px solid transparent;border-radius:7px;background:transparent;color:#adbbd1;font:inherit;font-size:12px;cursor:pointer}.project-view-switch button[aria-pressed="true"]{background:#354b73;color:#fff;border-color:#627ea8}.project-view-switch button:focus-visible{outline:2px solid #a2b8ff;outline-offset:2px}
#local-frame-host[data-project="burger"]{background:#0b090c}#local-frame-host[data-project="burger"] #local-poster{background:#0b090c}#local-frame-host[data-project="burger"] #local-poster img{width:100%;height:100%;object-fit:cover;border-radius:0;opacity:.24}
.local-viewer-tools a{display:inline-flex;align-items:center;min-height:44px}.local-viewer-tools{padding-top:3px;padding-bottom:3px}.project-draft{display:none!important}
@media(max-width:760px){.project-view-switch{padding:6px 12px}.project-view-switch button{padding:8px 16px}.carousel-guidance .carousel-hint{max-width:none}.local-viewer-tools{gap:8px}.local-viewer-tools>div{gap:12px}}
