body header.sidebar-header .top-menu-panel{background:#fff!important;color:#273b31!important;border:1px solid #e1e7e3!important;border-radius:12px!important;box-shadow:0 12px 40px #19332326!important;padding:6px!important;min-width:250px!important;max-height:calc(100dvh - 75px)!important;overflow-y:auto!important}body header.sidebar-header .top-menu-panel>button{display:block!important;width:100%!important;text-align:left!important;padding:10px 12px!important;margin:0!important;border:0!important;background:transparent!important;color:#273b31!important;font:13px/1.4 Arial,sans-serif!important;border-radius:6px!important}body header.sidebar-header .top-menu-panel>button:hover{background:#edf3ef!important}body header.sidebar-header .top-menu-panel>button:disabled{opacity:.4!important;cursor:default}body header.sidebar-header .top-menu-panel hr{border:0!important;border-top:1px solid #e7ece8!important;margin:5px 8px!important}body .studio-help{background:#fff!important;color:#273b31!important;width:min(520px,calc(100vw - 40px))!important;border:1px solid #e1e7e3!important;border-radius:16px!important;padding:28px!important;box-sizing:border-box!important}body .studio-help h2{font:600 22px Arial!important;color:#273b31!important}body .studio-help p{font:14px/1.65 Arial!important;color:#52665a!important}body .studio-help button{background:#285d47!important;color:white!important;border:0!important;border-radius:8px!important;padding:10px 16px!important;font:13px Arial!important}

body header.sidebar-header .chrome-autosave{display:inline-flex!important;gap:7px!important;align-items:center!important}body header.sidebar-header .autosave-caption{font:12px Arial!important;color:#53665a!important}body header.sidebar-header .studio-header-actions .chrome-icon{width:34px!important;height:34px!important;border-radius:8px!important}body header.sidebar-header .studio-header-actions .chrome-icon:hover{background:#edf3ef!important}@media(max-width:850px){body header.sidebar-header .autosave-caption{display:none!important}}
body.refined-editor dialog.studio-help.workspace-tool-dialog[open]{height:auto!important;min-height:0!important;max-height:80dvh!important;inset:50% auto auto 50%!important;transform:translate(-50%,-50%)!important;margin:0!important;width:min(520px,calc(100vw - 40px))!important;overflow:auto!important}body .studio-help>.workspace-tool-close{display:none!important}
body header.sidebar-header .chrome-navigation{gap:4px!important;padding-right:14px!important;border-right:1px solid #e5ebe7!important}body header.sidebar-header .chrome-navigation .chrome-icon{min-width:34px!important;height:34px!important;border-radius:8px!important}body header.sidebar-header .chrome-navigation button:hover:not(:disabled){background:#edf3ef!important}body header.sidebar-header .chrome-navigation button:disabled{opacity:.32!important;cursor:default!important}body header.sidebar-header .chrome-navigation button:focus-visible{outline:2px solid #285d47!important;outline-offset:2px!important}body header.sidebar-header .main-navigation-toggle{gap:7px!important;padding:0 10px!important;font:13px Arial,sans-serif!important}body header.sidebar-header .main-navigation-toggle[aria-expanded="true"]{background:#e8f0eb!important}
body .workspace-nav .sidebar-commands{padding:12px!important;gap:4px!important}body .workspace-nav .navigation-tool-search{box-sizing:border-box;width:100%;height:36px;margin:0 0 10px;padding:0 10px;border:1px solid #dfe7e1;border-radius:8px;background:#f7f9f7;color:#273b31;font:13px Arial}body .workspace-nav .navigation-tool-group{border:0!important;border-bottom:1px solid #edf1ee!important;margin:0!important;padding:0!important;background:transparent!important}body .workspace-nav .navigation-tool-group summary{padding:13px 8px!important;font:600 12px Arial,sans-serif!important;cursor:pointer;color:#385346;list-style:revert!important}body .workspace-nav .sidebar-commands button{min-height:34px!important;padding:9px 12px!important;margin:2px 0!important;border:0!important;border-radius:7px!important;font:400 13px/1.35 Arial,sans-serif!important;width:100%!important;text-align:left!important}body .workspace-nav .sidebar-commands button:hover{background:#edf3ef!important}body .workspace-nav .sidebar-commands [hidden]{display:none!important}body .workspace-nav .navigation-tool-shortcuts{padding-top:10px}body .workspace-nav .navigation-search-empty{font:13px Arial;color:#63766a;padding:8px}body .workspace-nav .workspace-tabs button,body .workspace-nav .home-navigation,body .workspace-nav .ai-navigation{font-size:13px!important}body .workspace-nav{scrollbar-width:thin;scrollbar-color:#c4d1c7 transparent}

/* Keep night navigation states readable independently of older theme overrides. */
html body[data-theme="midnight"] .workspace-nav button[aria-pressed="true"]:not(#sidebarNight){
 background:#dfece4!important;color:#173d37!important;
}
html body[data-theme="midnight"] .workspace-nav button[aria-pressed="true"]:not(#sidebarNight) :is(span,svg){color:inherit!important}
html body[data-theme="midnight"] .workspace-nav .navigation-tool-group summary,
html body[data-theme="midnight"] .workspace-nav .navigation-search-empty{color:#dbe6df!important}
html body[data-theme="midnight"] .workspace-nav .navigation-tool-search{
 background:#22312b!important;color:#edf4ef!important;border-color:#718779!important;
}
html body[data-theme="midnight"] .workspace-nav .navigation-tool-search::placeholder{color:#baccc0!important;opacity:1}
html body[data-theme="midnight"] .workspace-nav button:not(:disabled):hover{
 background:#354d41!important;color:#ffffff!important;
}
html body[data-theme="midnight"] .workspace-nav :is(button,summary,input):focus-visible{
 outline:2px solid #e0bf75!important;outline-offset:2px!important;
}
html body[data-theme="midnight"] header.sidebar-header .main-navigation-toggle[aria-expanded="true"]{
 background:#dfece4!important;color:#173d37!important;
}
html body[data-theme="midnight"] header.sidebar-header .studio-menubar details[open]>summary{
 background:#dfece4!important;color:#173d37!important;
}

