body.refined-editor header.sidebar-header{display:flex!important;align-items:center!important;gap:10px!important;padding:0 16px!important;background:#fff!important;color:#243d34!important}
body.refined-editor #studio .workspace>.refined-editor-heading{display:none!important}
body.refined-editor #studio .workspace{grid-template-rows:0 minmax(0,1fr)!important}
.focused-document-identity,.focused-workspace-options,.focused-export{display:none}
body.refined-editor .focused-document-identity{display:flex;flex:1;min-width:80px;flex-direction:column;gap:3px;text-align:center;align-items:center;font:12px Arial}
.focused-document-identity strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 14px Arial;color:#243d34}
.focused-document-identity>span{font:10px Arial;color:#6b7972}
body.refined-editor .focused-export{display:block;border:0!important;border-radius:8px!important;background:#285d47!important;color:#fff!important;padding:10px 18px!important;font:600 13px Arial!important}
body.refined-editor .focused-workspace-options{display:block;position:relative;margin:0!important;border:0!important;background:transparent!important;padding:0!important}
.focused-workspace-options>summary{list-style:none;padding:10px 12px;font:13px Arial;cursor:pointer;border-radius:8px}.focused-workspace-options>summary:hover{background:#edf3ef}
body.refined-editor .focused-workspace-options:not([open])>.studio-header-actions{display:none!important}
body.refined-editor .focused-workspace-options[open]>.studio-header-actions{display:flex!important;position:absolute!important;right:0!important;top:42px!important;width:220px!important;max-height:75vh;overflow:auto;flex-direction:column!important;align-items:stretch!important;gap:4px!important;padding:10px!important;background:white!important;border:1px solid #e1e7e3!important;border-radius:12px!important;box-shadow:0 12px 35px #19332324!important;z-index:150!important}
body.refined-editor header.sidebar-header .focused-workspace-options .studio-header-actions button{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;width:100%!important;height:38px!important;margin:0!important;padding:8px 10px!important;font:13px Arial!important;border:0!important;background:transparent!important;color:#273b31!important;border-radius:7px!important}
body.refined-editor header.sidebar-header .focused-workspace-options .studio-header-actions button[hidden]{display:none!important}
body.refined-editor .focused-workspace-options .chrome-autosave{padding:10px!important;justify-content:space-between!important}
body.refined-editor .focused-workspace-options svg{width:18px!important;height:18px!important;flex-shrink:0}
body.refined-editor .workspace-global-rail{top:0!important;max-height:calc(100dvh - 56px)!important;height:100%!important;box-sizing:border-box!important}
body.refined-editor #studio .workspace-global-rail button{min-height:52px!important;gap:4px!important;margin:1px 0!important}
body.refined-editor .editor-library-panel,body.refined-editor .editor-ai-panel{max-height:calc(100dvh - 56px)!important}
body.refined-editor .customise-bottom>details:not(.editor-timer-menu){display:none!important}
body.refined-editor .customise-bottom .editor-timer-menu{margin-right:4px}
body.refined-editor .customise-centre{padding-top:10px!important}
body.refined-editor .workspace-nav{font-family:Arial,sans-serif!important}
@media(max-width:900px){body.refined-editor .focused-document-identity>span{display:none}body.refined-editor header.sidebar-header{gap:3px!important;padding:0 8px!important}body.refined-editor .studio-menubar summary{padding:8px!important}body.refined-editor .chrome-navigation{padding-right:4px!important}}
@media(max-width:600px){body.refined-editor .focused-document-identity{display:none}body.refined-editor .focused-export{padding:8px!important}body.refined-editor .focused-workspace-options>summary{padding:8px!important}}
body.refined-editor header.sidebar-header>.chrome-navigation{order:0!important}body.refined-editor header.sidebar-header>.studio-menubar{order:1!important}body.refined-editor header.sidebar-header>.focused-document-identity{order:2!important}body.refined-editor header.sidebar-header>.focused-workspace-options{order:3!important}body.refined-editor header.sidebar-header>.focused-export{order:4!important}body.refined-editor .focused-document-identity strong{font:600 14px Arial,sans-serif!important}body.refined-editor .focused-document-identity>span{font:10px Arial,sans-serif!important}
body.refined-editor .creative-tool-directory h3{font:600 11px Arial,sans-serif!important;text-transform:uppercase;letter-spacing:.08em;color:#64796c!important;margin:22px 0 8px!important}body.refined-editor .creative-tool-directory button{display:block;width:100%;text-align:left!important;padding:12px!important;margin:3px 0!important;border:1px solid #e4ebe6!important;background:white!important;border-radius:8px!important;font:13px Arial!important;color:#293e32!important}body.refined-editor .creative-tool-directory button:hover{background:#edf4ef!important;border-color:#b9cec0!important}

/* Keep mobile menus reachable without covering the tool-panel close button. */
@media(max-width:600px){
 html body.refined-editor header.sidebar-header.sidebar-header{display:grid!important;grid-template-columns:1fr auto auto auto!important;grid-template-rows:44px 36px!important;gap:0 4px!important;height:80px!important;min-height:80px!important;max-height:80px!important;padding:0 8px!important;overflow:visible!important}
 html body.refined-editor header.sidebar-header>.mobile-studio-brand{display:none!important}
 html body.refined-editor header.sidebar-header>.chrome-navigation{grid-column:1;grid-row:1;padding:0!important;border:0!important;min-width:0!important}
 html body.refined-editor header.sidebar-header>.focused-workspace-options{grid-column:2;grid-row:1}
 html body.refined-editor header.sidebar-header>.focused-export{grid-column:3;grid-row:1}
 html body.refined-editor header.sidebar-header>.studio-account-entry{grid-column:4;grid-row:1;margin:0!important}
 html body.refined-editor header.sidebar-header>.studio-menubar{grid-column:1 / -1;grid-row:2;display:flex!important;width:auto!important;height:36px!important;min-height:0!important;margin:0!important;padding:0!important;justify-content:flex-start!important;border:0!important}
 html body.refined-editor #studio .workspace{inset:80px 0 0!important;height:calc(100dvh - 80px)!important;grid-template-columns:60px minmax(0,1fr)!important}
 html body.refined-editor #studio .workspace>.workspace-global-rail{width:60px!important;height:100%!important;max-height:calc(100dvh - 80px)!important;padding:4px 0!important}
 html body.refined-editor #studio .workspace-global-rail button{width:58px!important}
 html body.refined-editor.unified-panel-open #studio .shared-task-surface{top:80px!important;left:60px!important;width:calc(100vw - 60px)!important;max-height:calc(100dvh - 80px)!important}
 html body.refined-editor .editor-library-panel,html body.refined-editor .editor-ai-panel{top:80px!important;max-height:calc(100dvh - 80px)!important}
}
