/* V2 editor only: retain native controls and their original button styling. */
html.space-navigation-shell body.space-shared-sidebar-test [data-topbar-workbench-capsule="true"] {
  max-width:calc(100vw - 360px)!important;
  gap:12px!important;
}
/* Editor navigation hierarchy: group icons belong to the level-one labels. */
.hc-sidebar .hc-nav section > h2 {
  display:flex;
  align-items:center;
  gap:7px;
  min-height:22px;
  margin-bottom:6px;
  padding-left:10px;
  color:#71809a;
  font-size:11px;
  letter-spacing:.06em;
}
.hc-sidebar .hc-nav section > h2 > .iconfont {
  display:grid;
  place-items:center;
  width:18px;
  height:18px;
  color:#5d79a8;
  font-size:15px;
  line-height:1;
}
.hc-sidebar .hc-nav section > a {
  padding-left:35px;
}
.hc-sidebar .hc-nav section > [data-space-submenu] > a,
.hc-sidebar .hc-nav section > a.is-sub {
  padding-left:47px;
}
.hc-sidebar .hc-nav section > a[data-space-command="published"] {
  padding-left:35px;
  color:#33445f;
  font-weight:600;
}
.hc-sidebar .hc-nav section > a[data-space-command="published"]:hover,
.hc-sidebar .hc-nav section > a[data-space-command="published"].is-active {
  color:#2f66ec;
}
html.space-navigation-shell body.space-shared-sidebar-test [data-topbar-workbench-capsule="true"] > [data-topbar-publish-view-actions="right-corner"] {
  position:static!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  flex-shrink:0!important;
  gap:8px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
.hc-sidebar .hc-nav .editor-exit-entry {
  margin-top:16px;
  justify-content:center;
  gap:8px;
  height:40px;
  border:1px solid #dce5f2;
  border-radius:10px;
  background:#f5f8fd;
  color:#526078;
  font-weight:600;
}
.hc-sidebar .hc-nav .editor-exit-entry:hover {background:#eaf1ff;color:#2f66ec;border-color:#c4d6fa}
.hc-sidebar .hc-nav .editor-exit-entry:focus-visible {outline:2px solid #2f66ec;outline-offset:2px}
html.space-navigation-shell #space-entry-no-space[data-v2-create-entry] .space-list-head,
html.space-navigation-shell #space-entry-no-space[data-v2-create-entry] .space-entry-secondary,
html.space-navigation-shell #space-entry-no-space[data-v2-create-entry] .space-entry-footer {display:none!important}
html.space-navigation-shell #space-entry-no-space[data-v2-create-entry] .space-entry-title,
html.space-navigation-shell #space-entry-no-space[data-v2-create-entry] .space-entry-copy {display:block!important}
html.space-navigation-shell #space-entry-no-space[data-v2-create-entry] .space-entry-actions {order:0; margin-top:24px!important}
html.space-navigation-shell #space-entry-no-space[data-v2-create-entry] .space-list {display:block!important;margin-top:24px}
@media(max-width:1100px) {
  html.space-navigation-shell body.space-shared-sidebar-test [data-topbar-workbench-capsule="true"] {gap:6px!important;max-width:calc(100vw - 285px)!important;padding-left:8px!important;padding-right:8px!important}
}
/* Keep long model/upload libraries inside the panel instead of growing below the viewport. */
html.space-navigation-shell body.space-shared-sidebar-test [data-asset-panel-shell="below-top-capsules"] {
  max-height:calc(100vh - 150px)!important;
  overflow:hidden!important;
}
html.space-navigation-shell body.space-shared-sidebar-test [data-asset-panel-shell="below-top-capsules"] [data-model-library-list-scroll="true"] {
  min-height:0!important;
  max-height:calc(100vh - 285px)!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:rgba(71,109,172,.46) transparent;
}
html.space-navigation-shell body.space-shared-sidebar-test [data-asset-panel-shell="below-top-capsules"] [data-model-library-list-scroll="true"]::-webkit-scrollbar{width:8px}
html.space-navigation-shell body.space-shared-sidebar-test [data-asset-panel-shell="below-top-capsules"] [data-model-library-list-scroll="true"]::-webkit-scrollbar-thumb{background:rgba(71,109,172,.4);border-radius:999px;border:2px solid transparent;background-clip:padding-box}
