#site-mode{white-space:nowrap;gap:8px}
.content-nav-group{min-width:0}
.sidebar .content-nav-group>summary{display:flex;align-items:center;gap:14px;min-height:48px;padding:12px;color:#d9e2d8;border-radius:5px;list-style:none;font-size:14px}
.content-nav-group>summary::-webkit-details-marker{display:none}
.content-nav-group>summary:hover{background:rgb(255 255 255 / .06)}
.content-nav-chevron{width:16px;height:16px;margin-left:auto;fill:none;stroke:currentColor;stroke-width:1.5;transition:transform .15s}
.content-nav-group[open]>summary .content-nav-chevron{transform:rotate(180deg)}
.content-nav-group:has([aria-current=page])>summary{color:#fff}
.content-nav-links{display:grid;gap:4px;border-left:1px solid #61736a;margin:4px 0 8px 21px;padding-left:8px}
.sidebar nav .content-nav-links a{gap:9px;padding:10px 7px;font-size:13px;min-height:44px}
.content-nav-links .studio-icon{width:18px;height:18px}
.mobile-nav-panel>a,.mobile-nav-panel .content-nav-links a{justify-content:flex-start;gap:12px}
.mobile-nav-panel .content-nav-links a{font-size:14px;min-height:44px;padding:9px 7px;border:0}
.mobile-nav-panel .content-nav-group>summary{width:100%;height:auto;justify-content:flex-start}
.mobile-nav-panel{max-height:calc(100dvh - 58px);overflow-y:auto;overscroll-behavior:contain}
.content-manager-shortcut{margin:12px 0}
.content-manager-shortcut:has([hidden]){display:none}
#content-manager-link[hidden],#resource-tools[hidden]{display:none}
#collection-manager-panel[hidden]{display:none}
#content-form[hidden]{display:none}
.inspector:has(#resource-tools:not([hidden])){scroll-margin-top:110px}
#content-manager-link{font-size:13px}
.resource-manager-help{font-size:13px;line-height:1.8;color:var(--muted)}
.resource-manager>.button{width:100%;margin-bottom:12px}
@media(prefers-reduced-motion:reduce){.content-nav-chevron{transition:none}}
#site-mode svg{width:18px;height:18px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.6}
#site-mode[aria-pressed=true]{background:var(--ink);color:#fff}
.studio-preview-mode .visual-editor{grid-template-columns:minmax(0,1fr)}
.studio-preview-mode .page-tree,.studio-preview-mode .inspector{display:none}
.studio-preview-mode .editor-canvas{grid-column:1/-1}
.studio-document-dialog{width:calc(100vw - 64px);height:calc(100dvh - 64px);max-width:1600px;max-height:none;padding:0;border:1px solid #c9d2c6;border-radius:8px;background:#f6f4ee;overflow:hidden}
.studio-document-dialog::backdrop{background:#162d2677;backdrop-filter:blur(3px)}
.studio-document-toolbar{height:56px;display:flex;justify-content:flex-end;align-items:center;padding:6px 16px;border-bottom:1px solid #dbe1d6}
.studio-document-dialog iframe{width:100%;height:calc(100% - 56px);border:0;display:block}
.studio-embedded .brand,.studio-embedded .topbar>a,.studio-embedded #back,.studio-embedded .subbar .separator{display:none}
@media(max-width:700px){.studio-document-dialog{width:calc(100vw - 20px);height:calc(100dvh - 20px)}.studio-preview-mode .visual-editor{display:block}}
