html body #workspaceStyle.workspace-tool-dialog[open],html body #workspaceStyle[open]{position:fixed!important;inset:50% auto auto 50%!important;transform:translate(-50%,-50%)!important;margin:0!important;width:min(580px,calc(100vw - 28px))!important;height:auto!important;min-height:0!important;max-height:85dvh!important;overflow:auto!important;padding:26px!important;border:1px solid #dfe7e2!important;border-radius:16px!important;background:#fff!important;color:#263e32!important;box-sizing:border-box!important}
#workspaceStyle [hidden]{display:none!important}#workspaceStyle>.workspace-tool-close{display:none!important}#workspaceStyle h2{font:600 24px Arial!important;color:inherit!important}#workspaceStyle h3{font:600 16px Arial!important;color:inherit!important}#workspaceStyle p{font:13px/1.6 Arial!important;color:inherit!important}#workspaceStyle .settings-shell{display:block!important}#workspaceStyle .settings-navigation{display:flex!important;gap:5px!important;background:#f0f4f1!important;padding:4px!important;border-radius:9px!important;margin:20px 0!important}#workspaceStyle .settings-navigation button{flex:1!important;border:0!important;border-radius:6px!important;padding:10px!important;font:13px Arial!important;background:transparent!important;color:#365442!important}#workspaceStyle .settings-navigation button[aria-pressed=true]{background:#fff!important;box-shadow:0 1px 4px #18392315!important}#workspaceStyle .settings-mode-choice{display:flex;gap:12px;margin:18px 0}#workspaceStyle .settings-mode-choice button,#workspaceStyle .settings-action{border:1px solid #dbe6de!important;border-radius:8px!important;background:white!important;color:#285d47!important;padding:12px 18px!important;font:13px Arial!important}#workspaceStyle .settings-mode-choice button{flex:1}#workspaceStyle .settings-mode-choice button[aria-pressed=true]{background:#e8f2ec!important;border-color:#285d47!important}#workspaceStyle .settings-action{display:block;width:100%;text-align:left;margin:10px 0}html body .sidebar-footer{display:flex!important;gap:8px!important;align-items:center!important;padding:12px!important}html body .sidebar-footer button{display:flex!important;align-items:center!important;gap:7px!important;padding:8px!important;font:12px Arial!important;white-space:nowrap}html body .sidebar-footer .sidebar-settings{width:auto!important}html body .sidebar-footer svg{width:18px!important;height:18px!important}
/* Dark mode applies to interface surfaces, never to artwork pixels. */
/* Navigation must remain readable in both its neutral and selected states. */
html body.refined-editor header.sidebar-header{z-index:1002!important}
html body.refined-editor[data-theme=midnight] .workspace-nav.workspace-nav :is(button,button span,summary,a,svg,.navigation-label){color:#e6eee9!important;-webkit-text-fill-color:currentColor!important}
html body.refined-editor[data-theme=midnight] .workspace-nav.workspace-nav :is(button[aria-pressed=true],.home-navigation,.create-primary){color:#172d23!important;-webkit-text-fill-color:currentColor!important}
html body.refined-editor[data-theme=midnight] .workspace-nav.workspace-nav :is(button[aria-pressed=true],.home-navigation,.create-primary) :is(span,svg){color:inherit!important;-webkit-text-fill-color:currentColor!important}
html body.refined-editor[data-theme=midnight] .workspace-nav.workspace-nav button:hover:not(:disabled){background:#385344!important;color:#fff!important}
html body.refined-editor[data-theme=midnight] header.sidebar-header :is(.main-navigation-toggle[aria-expanded=true],.chrome-navigation button:hover:not(:disabled),.top-menu[open]>summary,.top-menu>summary:hover){background:#385344!important;color:#edf4ef!important;-webkit-text-fill-color:currentColor!important}
html body.refined-editor[data-theme=midnight] header.sidebar-header :is(button,summary) :is(span,svg){color:inherit!important;-webkit-text-fill-color:currentColor!important}
html body.refined-editor[data-theme=midnight] header.sidebar-header .top-menu-panel>button:hover:not(:disabled){background:#385344!important;color:#fff!important}
html body.refined-editor[data-theme=midnight] .workspace-nav input::placeholder{color:#b8c9bf!important;opacity:1!important}
html body.refined-editor[data-theme=midnight] :is(.workspace-nav,header.sidebar-header) :is(button,summary,a,input):focus-visible{outline:2px solid #d9c584!important;outline-offset:2px!important}
html body[data-theme=midnight] :is(header.sidebar-header,.workspace-nav.workspace-nav.workspace-nav,.clean-home-start,.editor-library-panel,.editor-ai-panel,.customise-centre>.selection-controls,.customise-bottom,.unified-panel-heading,.shared-task-surface,.top-menu-panel,.studio-header-actions,.focused-workspace-options,.focused-document-identity){background:#202c27!important;color:#e6eee9!important;border-color:#405148!important}
html body[data-theme=midnight] :is(#studioHome,#studio .workspace,.customise-centre,.canvas-editor,.workspace-page-stack,footer){background:#17221d!important;color:#e6eee9!important}
html body[data-theme=midnight] :is(.workspace-global-rail,.clean-home-grid button,.sidebar-commands input,.navigation-tool-group,.navigation-tool-shortcuts){background:#202c27!important;color:#e6eee9!important;border-color:#405148!important}
html body[data-theme=midnight] :is(header.sidebar-header,.workspace-nav.workspace-nav,.clean-home-start,.editor-library-panel,.selection-controls,.customise-bottom,.workspace-global-rail,.top-menu-panel,.unified-panel-heading) :is(button,summary,span,strong,h1,h2,h3,p,small,label,a){color:#e6eee9!important}
html body[data-theme=midnight] :is(.selection-controls,.editor-library-panel) :is(input,select,textarea){background:#26382e!important;color:#e6eee9!important;border-color:#4b6053!important}
html body[data-theme=midnight] #workspaceStyle[open]{background:#202c27!important;color:#e6eee9!important;border-color:#405148!important}
html body[data-theme=midnight] #workspaceStyle :is(.settings-navigation,.settings-mode-choice button,.settings-action,.settings-save-note){background:#293b30!important;color:#e6eee9!important;border-color:#52685a!important}
html body[data-theme=midnight] #workspaceStyle .settings-navigation button{color:#e6eee9!important}html body[data-theme=midnight] #workspaceStyle .settings-navigation button[aria-pressed=true]{background:#405b49!important}
html body[data-theme=midnight] .workspace-page-heading{color:#c1d3c7!important}
#workspaceStyle .settings-navigation{flex-direction:row!important;align-items:stretch!important}#workspaceStyle .settings-navigation button{width:auto!important}#workspaceStyle .settings-shell{gap:0!important}
html body.refined-editor[data-theme=midnight] #studio .workspace>.workspace-global-rail{background:#202c27!important;border-color:#405148!important}html body.refined-editor[data-theme=midnight] #studio .workspace-global-rail button,html body.refined-editor[data-theme=midnight] #studio .workspace-global-rail button span{color:#dae8de!important}html body.refined-editor[data-theme=midnight] #studio .workspace-global-rail button[aria-pressed=true]{background:#385344!important}html body.refined-editor[data-theme=midnight] .workspace-page-heading,html body.refined-editor[data-theme=midnight] .workspace-page-heading button,html body.refined-editor[data-theme=midnight] .workspace-page-heading summary,html body.refined-editor[data-theme=midnight] .customise-add-page{color:#cfddd4!important}html body.refined-editor[data-theme=midnight] .modern-text-toolbar button[aria-pressed=true],html body.refined-editor[data-theme=midnight] .selection-controls summary,html body.refined-editor[data-theme=midnight] .studio-account-entry{background:#385344!important;color:#edf4ef!important}html body.refined-editor[data-theme=midnight] .customise-bottom select{background:#293b30!important;color:#edf4ef!important;border-color:#52685a!important}
html body.refined-editor[data-theme=midnight] .customise-centre>.selection-controls button,html body.refined-editor[data-theme=midnight] .customise-centre>.selection-controls summary{background:#293d31!important;color:#edf4ef!important;border-color:#52685a!important}
