.shared-account-tools{position:relative;display:flex;align-items:center;gap:10px;min-width:0;margin-left:auto;color:var(--ink,#e6edf5)}
.shared-account-profile{display:flex;align-items:center;gap:8px;min-width:0;color:inherit;text-decoration:none;font:inherit}
.shared-account-avatar{width:34px;height:34px;display:grid;place-items:center;border:1px solid #ffffff26;border-radius:50%;background:#ffffff0b;flex-shrink:0;font-size:12px;font-weight:600}
.shared-account-name{max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}
.shared-account-tools button{font:inherit}.shared-account-logout{display:flex;align-items:center;gap:7px;font-size:12px}.shared-account-logout svg{width:19px;height:19px}
.shared-account-error{position:absolute;right:0;top:calc(100% + 10px);width:min(330px,75vw);padding:12px;border:1px solid #e88970;border-radius:12px;background:var(--surface,#1a2637);font-size:12px;z-index:50}
.shared-header-bell{position:relative}.shared-header-count{position:absolute;right:0;top:0;min-width:15px;height:15px;padding:0 3px;border-radius:9px;background:#bf682b;color:white;font-size:10px;line-height:15px;text-align:center}
.shared-header-popup{position:absolute;right:0;top:calc(100% + 12px);width:min(380px,calc(100vw - 80px));max-height:min(520px,70dvh);overflow:auto;padding:16px;border:1px solid var(--line,#ffffff1a);border-radius:16px;background:var(--surface,#172436);color:var(--ink,#e6edf5);box-shadow:0 14px 50px #0005;z-index:60;text-align:left}
.shared-header-popup[hidden]{display:none}.shared-header-popup-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px}.shared-header-popup-head h2{margin:0;font-size:16px}.shared-header-popup a{display:block;color:inherit;text-decoration:none}.shared-header-item{padding:12px 8px;border-top:1px solid var(--line,#ffffff16);border-radius:7px;overflow-wrap:anywhere}.shared-header-item:hover{background:#ffffff09}.shared-header-item strong{display:block;font-size:13px}.shared-header-item p{margin:6px 0;font-size:12px;line-height:1.5;color:var(--muted,#a3afc1)}.shared-header-item time{font-size:10px;color:var(--muted,#a3afc1)}.shared-header-all{padding:13px 8px 2px;font-size:12px;font-weight:600;border-top:1px solid var(--line,#ffffff16)}
.shared-header-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;position:relative;min-width:35px;height:35px;padding:7px;border:1px solid #ffffff20;border-radius:10px;background:#ffffff08;color:inherit;cursor:pointer;line-height:1}.shared-header-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.shared-header-button:disabled{opacity:.5;cursor:default}
.executive-module-corner{display:flex;align-items:center;gap:10px}.executive-module-corner>.executive-brand{flex:1;min-width:0}.executive-module-picker{position:relative}.executive-module-picker summary{display:grid;place-items:center;width:32px;height:34px;border:1px solid #ffffff26;border-radius:10px;cursor:pointer;list-style:none;color:#dce7f3}.executive-module-picker summary::-webkit-details-marker{display:none}.executive-module-picker nav{position:absolute;left:0;top:44px;width:230px;padding:10px;background:#18283d;border:1px solid #ffffff26;border-radius:14px;box-shadow:0 16px 45px #0005;z-index:80}.executive-module-picker a{display:flex;gap:10px;padding:11px 12px;border-radius:8px;color:#e5edf6;text-decoration:none;font-size:13px}.executive-module-picker a:hover,.executive-module-picker a[aria-current=page]{background:#ffffff0c}.executive-top,.header-actions{overflow:visible}.executive-top .top-tools{display:flex;align-items:center;gap:12px;min-width:0}
.executive-module-corner{margin-bottom:28px}.executive-module-corner>.executive-brand{margin:5px 0}.executive-module-picker nav{max-height:calc(100dvh - 24px);overflow-y:auto}.executive-module-picker nav a{justify-content:flex-start;padding:11px 12px}
@media(max-width:900px){.shared-account-name{display:none}.shared-account-tools{gap:6px}.shared-account-logout>span{display:none}.executive-top .company-mark{display:none}}
@media(max-width:600px){.shared-account-avatar{width:30px;height:30px}.shared-account-tools{gap:4px}.shared-header-popup{position:fixed;top:130px;right:12px;width:calc(100vw - 24px)}.executive-module-picker nav{left:auto;right:0}}
@media(max-width:600px){.executive-module-corner{flex-direction:column;gap:6px;margin-bottom:18px}.executive-module-corner>.executive-brand{margin:0}}

.executive-module-picker nav{width:min(230px,calc(100vw - 24px))}

/* One header surface and keyboard order for React, Executive and native Production. */
.topbar,.executive-top,#app>header{min-height:76px;box-sizing:border-box;display:flex;align-items:center;gap:16px;padding:14px 24px;background:linear-gradient(110deg,#080e18,#101c2e 58%,#1a2b43);border-bottom:1px solid #ffffff1f;color:#edf3fa;overflow:visible}
[data-theme=light] .topbar,[data-theme=light] .executive-top,[data-theme=light] #app>header{background:linear-gradient(110deg,#172337,#233953 65%,#304866);border-bottom-color:#60758e;color:#edf2fa}
.topbar-tools,.executive-top .top-tools,#app>header .header-actions{display:flex;align-items:center;gap:10px;margin-left:auto;min-width:0}
.shared-account-tools{gap:10px}.shared-account-tools>.icon-button,.shared-header-button{width:36px;min-width:36px;height:36px;padding:8px;border:1px solid currentColor;border-color:#8197ac45;border-radius:10px;background:#ffffff09;color:inherit;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center}
.shared-account-tools>.shared-account-logout{width:auto;padding-inline:10px}.shared-account-tools>.shared-account-logout span{font-size:12px}.shared-account-tools>button:hover{background:#8197ac22}
.shared-account-avatar{border-color:#8197ac45}.shared-account-tools button:focus-visible,.shared-account-profile:focus-visible{outline:2px solid #efaa70;outline-offset:3px}
.executive-top .preview-badge:empty,.executive-top #theme-seg[hidden]{display:none}.eskrypt-module-picker .module-menu-icon{flex-shrink:0}.eskrypt-module-picker nav a{display:flex;align-items:center;gap:10px}.native-integration-render-targets[hidden]{display:none!important}
@media(max-width:700px){.topbar,.executive-top,#app>header{padding:12px;gap:8px;min-height:68px}.shared-account-tools{gap:6px}.shared-account-tools>.shared-account-logout{width:36px;padding:8px}.shared-account-tools>.shared-account-logout span{display:none}.bfProtectionBadge span{display:none}}

.topbar.topbar,.executive-top.executive-top,#app>header{background-image:linear-gradient(110deg,#080e18,#101c2e 58%,#1a2b43)}
[data-theme=light] .topbar.topbar,[data-theme=light] .executive-top.executive-top,[data-theme=light] #app>header{background-image:linear-gradient(110deg,#172337,#233953 65%,#304866)}
.bfPreview .topbar .bfProtectionBadge{display:inline-flex!important}.layout-configuration-notice{padding:12px 20px;background:var(--surface2);color:var(--ink);border-bottom:1px solid var(--line);font-size:13px}

.bfPreview .topbar .topbar-tools{justify-content:flex-end;gap:10px}
.bfPreview .topbar .topbar-tools>.shared-account-tools{margin-left:0}

.executive-module-picker nav a{display:flex;align-items:center;gap:12px}.executive-module-picker nav .shared-module-mark{flex:none}
.executive-module-picker nav a>span{display:inline!important;visibility:visible!important}.executive-module-picker nav{max-height:calc(100dvh - 120px);overflow:auto}.shared-module-mark rect{fill:inherit;stroke:none}

/* Keep product marks independent of each host module's generic SVG/sidebar rules. */
svg.shared-module-mark[data-module=casting]{fill:#77a4ef!important;stroke:none!important}
svg.shared-module-mark[data-module=production]{fill:#e3a159!important;stroke:none!important}
svg.shared-module-mark[data-module=postproduction]{fill:#65c593!important;stroke:none!important}
svg.shared-module-mark[data-module=drive]{fill:#58b9cc!important;stroke:none!important}
svg.shared-module-mark[data-module=executive]{fill:#dd87aa!important;stroke:none!important}
svg.shared-module-mark[data-module=workspace]{fill:#e5a18b!important;stroke:none!important}
:is(.module-navigation,.eskrypt-module-picker nav,.executive-module-picker nav) svg.shared-module-mark{width:29px!important;height:29px!important}.shared-module-mark rect{fill:inherit!important;stroke:none!important}
