/* Owns the local editor fallback, optical layers and isolated Home mosaic. The scroll workbench owns online navigation and shared controls. */
.work-edit-tools{position:fixed;right:calc(var(--site-gutter) + 22px);bottom:22px;z-index:45;display:flex;gap:6px}
html:not([data-website-admin=true]) .work-edit-tools{display:none}
.work-tool-button{position:relative;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #ffffff35;border-radius:50%;background:#181818;color:#eee;box-shadow:0 4px 24px #0006}
.work-tool-button:hover{background:#303030}.work-tool-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.3}
.optics-toggle{display:flex;width:auto;gap:8px;padding:0 15px;border-radius:24px;font-size:11px}.optics-toggle[aria-expanded=true]{background:#e5e5e5;color:#171717}
.preview-toggle .play-icon,.preview-toggle[aria-pressed=true] .pause-icon{display:none}.preview-toggle[aria-pressed=true] .play-icon{display:block}
.work-page[data-motion-engine=gsap] .work-surface{overflow:clip}.work-page[data-motion-engine=gsap] .film-tile-link{transform-origin:50% 50%;backface-visibility:hidden}
.work-page[data-motion-engine=surface] .work-surface{overflow:clip}.work-page[data-motion-engine=surface] .film-tile-link{transform-origin:0 0;backface-visibility:hidden}
.gallery-edge-focus{position:fixed;z-index:20;pointer-events:none;background:transparent;contain:layout style;isolation:auto}
.gallery-edge-focus[hidden]{display:none}
.gallery-surface-canvas{position:fixed;inset:0;width:100%;height:100%;z-index:19;pointer-events:none;contain:strict;clip-path:inset(0 var(--site-gutter))}
.gallery-surface-canvas[hidden]{display:none}.film-tile.surface-painted{opacity:0!important}
.editor-auto-size{padding:7px 0;margin:0 0 10px;min-height:36px;background:none;border-bottom:1px solid #555;font-size:11px;color:#ccc}.editor-auto-size:disabled{opacity:.45;cursor:default}
.editor-notice{position:fixed;bottom:80px;right:calc(var(--site-gutter) + 22px);z-index:47;max-width:316px;padding:15px;background:#222;border:1px solid #555;border-radius:6px;font-size:12px;line-height:1.5}
.work-editing [data-edit-item]{pointer-events:auto;cursor:grab;outline:1px dashed #ffffff55;outline-offset:5px;touch-action:none;user-select:none}
.work-editing[data-edit-target=title] [data-edit-item=title],.work-editing[data-edit-target=category] [data-edit-item=category],.work-editing[data-edit-target=logo] [data-edit-item=logo]{outline-color:#ffffffe0}
.work-editing [data-edit-item]:focus-visible{outline:2px solid #fff;outline-offset:5px}
.work-editing [data-edit-item].is-dragging{cursor:grabbing}
.work-editing .tile-play{display:none}
.dialog-open .work-edit-tools,.dialog-open .editor-notice{visibility:hidden}
.work-embed{min-height:0;overflow:hidden;background:transparent}
html:has(.work-embed){scrollbar-width:none;scrollbar-gutter:auto;background:transparent}
.work-page.dialog-open>.site-header,.work-page.menu-open :is(.work-edit-tools,.editor-notice){visibility:hidden}
.work-embed>.site-header,.work-embed>.mobile-nav,.work-embed .work-intro,.work-embed .work-edit-tools,.work-embed .editor-notice,.work-embed .work-status,.work-embed .work-feedback,.work-embed .work-pagination,.work-embed .skip-link{display:none!important}
.work-embed .work-main{padding-top:0;padding-bottom:0}
.work-embed .work-grid{background:transparent}
.work-embed:not([data-design-ready=true]) .work-grid{visibility:hidden}
@media(max-width:650px){.work-edit-tools{right:14px;bottom:14px}.editor-notice{right:10px;bottom:68px;max-width:calc(100vw - 20px)}}
