/* One centered existing-logo home, retained behind native workspace popups. */
:root{color-scheme:dark}
body.ff-home-page,body.ff-logo-shell{margin:0;background:#111316!important;color:#f2f3f5;font:16px/1.5 system-ui,sans-serif}
body.ff-home-page,body.ff-logo-shell{display:flow-root;min-height:100vh;min-height:100dvh}
.ff-home{min-height:0}
.ff-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.ff-logo-home-scene{position:fixed;inset:0;display:grid;place-items:center;pointer-events:none;z-index:0;overflow:hidden}
.ff-logo-home-scene .ff-home-logo{position:relative;display:block;width:min(54vmin,520px);height:min(54vmin,520px);object-fit:contain;max-width:calc(100vw - 40px);opacity:.95}
html body.ff-logo-shell #hubHeaderShell{position:sticky!important;top:0!important;z-index:99990!important;display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:8px!important;min-height:0!important;width:100%!important;box-sizing:border-box!important;padding:10px 14px!important;background:transparent!important;border:0!important;box-shadow:none!important}
html body.ff-logo-shell #hubHeaderShell>.hub-main-hero{display:none!important}
html body.ff-logo-shell #hubHeaderShell :is(#hubLeftUtilityDock,#hubRightUtilityDock){position:static!important;display:flex!important;align-items:center!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:8px!important;width:auto!important;height:auto!important;max-width:100%!important;transform:none!important;margin:0!important}
html body.ff-logo-shell #hubHeaderShell>.ff-home-tabs{position:static!important;display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:center!important;flex:1 0 100%!important;gap:6px!important;width:auto!important;max-width:100%!important;margin:0!important;padding:4px!important;border:0!important;border-radius:8px!important;background:transparent!important;box-sizing:border-box!important}
html body.ff-logo-shell #hubHeaderShell .ff-home-tabs>a,.ff-home-signin{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;min-width:0!important;box-sizing:border-box!important;padding:9px 14px!important;border:1px solid #3e4957!important;border-radius:8px!important;background:#19222c!important;color:#f5f7fa!important;text-decoration:none!important;font:750 13px/1.2 system-ui,sans-serif!important;white-space:normal!important;max-width:100%!important}
html body.ff-logo-shell #hubHeaderShell .ff-home-tabs>a.active{background:#243946!important;border-color:#83aeba!important}
html body.ff-logo-shell #hubHeaderShell .ff-home-tabs>a:hover,.ff-home-signin:hover{background:#28333e!important}
html body.ff-logo-shell :is(.ff-home-tabs>a,.ff-home-signin):focus-visible{outline:3px solid #9ccaff!important;outline-offset:3px!important}
.ff-home-context,.ff-home-environment{font-size:13px;color:#c5cbd2;overflow-wrap:anywhere}
.ff-home-environment{padding:5px 8px;border:1px solid #505861;border-radius:6px}
.ff-home-signin{position:fixed;bottom:56px;left:50%;transform:translateX(-50%);z-index:2}
.ff-home-footer{position:fixed;bottom:12px;left:14px;right:14px;color:#b8c0c8;font-size:11px;text-align:center;pointer-events:none}
@media(max-width:600px){html body.ff-logo-shell #hubHeaderShell{padding:8px!important}html body.ff-logo-shell #hubHeaderShell .ff-home-tabs>a{padding:9px 10px!important}.ff-home-context{max-width:60vw}.ff-home-footer{font-size:10px}}

/* Persistent scene remains mounted behind every workspace and utility. */
body.ff-logo-shell:has(#ffMainWorkspace:not([hidden]),#ffServerUtilityPanel:not([hidden]),.hub-floating-utility-panel:not([hidden]),dialog[open],#hubCalcContainer[open]) .ff-logo-home-scene .ff-home-logo{opacity:.18}
body.ff-logo-shell:has(#ffMainWorkspace:not([hidden]),#ffServerUtilityPanel:not([hidden]),.hub-floating-utility-panel:not([hidden]),dialog[open],#hubCalcContainer[open]) .ff-logo-home-scene::after{content:"";position:absolute;inset:0;background:rgba(4,8,13,.30);backdrop-filter:blur(2px)}
#hubHeaderShell{isolation:isolate}
.ff-logo-home-scene .ff-home-logo{transition:opacity 180ms ease}
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:180ms}
@media(prefers-reduced-motion:reduce){.ff-logo-home-scene .ff-home-logo{transition:none}::view-transition-old(root),::view-transition-new(root){animation:none}}
html body.ff-logo-shell [hidden]{display:none!important}

/* Compact floating controls; no full-width blur rectangle or layout-height badge. */
html body.ff-logo-shell #hubHeaderShell{padding:6px 76px 4px 12px!important;gap:4px!important}
html body.ff-logo-shell #hubHeaderShell>.ff-home-tabs{padding:0!important;gap:6px!important}
html body.ff-logo-shell #hubHeaderShell :is(a.hub-utility-link,a.btn,button,#hubAccountMenu>summary){min-height:40px!important;box-sizing:border-box!important;border:1px solid #72543e!important;border-radius:8px!important;background:#19222ce8!important;color:#f5f7fa!important;padding:8px 12px!important;font:650 13px/1.2 system-ui!important;text-decoration:none!important;backdrop-filter:blur(6px)}
html body.ff-logo-shell #hubHeaderShell #hubAccountMenu>summary{padding:8px!important}
html body.ff-logo-shell>.ff-dev-environment{position:absolute!important;right:12px!important;left:auto!important;top:10px!important;margin:0!important;z-index:100000!important;width:auto!important}
html body.ff-logo-shell>.ff-dev-environment .ff-dev-environment-details{left:auto!important;right:0!important}
.ff-utility-document .ff-utility-page{position:relative;z-index:2;max-width:1200px;margin:78px auto 24px;padding:24px;border:1px solid #986c4a;border-radius:14px;background:#14181df7;box-sizing:border-box}
.ff-utility-document .ff-document-toolbar{position:relative;z-index:3;display:flex;justify-content:space-between;gap:16px;padding:12px;color:#d8dee7}
.ff-document-toolbar a{color:#dfb78b}
@media(max-width:600px){html body.ff-logo-shell #hubHeaderShell{padding:6px 64px 4px 8px!important}.ff-utility-document .ff-utility-page{padding:14px;margin:54px 8px 12px}}

/* A pending workspace never tears down or obscures the retained scene. */
html body .ff-navigation-pending{z-index:99985!important;padding:20px!important;font:650 16px/1.5 system-ui!important;color:#eef2f6!important}
.ff-navigation-pending a{color:#d6b08a}
/* Candidate workspace remains stable while windows move/focus; no page fades. */
html body.ff-logo-shell .ff-logo-home-scene .ff-home-logo{opacity:.6!important;transition:none!important}
html body.ff-logo-shell .ff-logo-home-scene::after{content:none!important;backdrop-filter:none!important}
html body.ff-logo-shell #hubHeaderShell .ff-home-tabs>a{background:#25272b!important;border-color:#595047!important}
html body.ff-logo-shell #hubHeaderShell .ff-home-tabs>a.active{background:#34312e!important;border-color:#c28a55!important}
#fixture-banner{position:fixed;bottom:7px;left:16px;right:16px;z-index:100030;pointer-events:none;text-align:center;font:11px system-ui;color:#d3b18d}
@view-transition{navigation:none}

#fixture-controls{position:fixed;left:96px;bottom:12px;z-index:100040;padding:8px;border:1px solid #72513b;border-radius:7px;background:#242528;color:#e1c7aa;font:12px system-ui}#fixture-controls>summary{cursor:pointer}#fixture-controls>button{display:block;margin-top:7px}
