.editor-workspace{height:100dvh;min-height:0;overflow:hidden}.editor-workspace .main-shell{height:100dvh;min-height:0;overflow:hidden}.editor-workspace .topbar,.editor-workspace .debug-strip{flex:none}.editor-workspace #page-content{flex:1;min-height:0;padding:0;max-width:none;display:flex;animation:none}.editor-workspace .workspace-footer{display:none}.asset-editor-page{width:100%;min-width:0;min-height:0;display:flex;flex-direction:column;background:var(--ui-surface)}.asset-editor-header{display:flex;gap:12px;align-items:center;flex:none;padding:10px 16px;border-bottom:1px solid var(--ui-border);min-height:66px}.asset-editor-title{min-width:0;flex:1}.asset-editor-title h1{font-size:16px;line-height:1.5;font-weight:600;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:0}.asset-editor-title>div{display:flex;gap:12px;flex-wrap:wrap;font-size:var(--ui-font-size-xs);color:var(--ui-muted)}.asset-editor-title [data-editor-status]{color:var(--ui-text)}.asset-editor-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.asset-editor-actions .button,.asset-editor-header>.button{white-space:nowrap}.asset-editor-stage{flex:1;min-height:0;display:flex}.asset-editor-stage iframe{width:100%;height:100%;border:0;flex:1;min-width:0}.asset-editor-footer{padding:5px 14px;font-size:var(--ui-font-size-xs);color:var(--ui-muted);display:flex;gap:10px;justify-content:space-between;flex:none;border-top:1px solid var(--ui-border)}.asset-editor-footer a{color:var(--ui-muted)}.asset-editor-alert{padding:10px 16px;background:var(--ui-warning-soft);color:var(--ui-warning);display:flex;gap:8px;justify-content:space-between;align-items:center;font-size:var(--ui-font-size-sm);flex-wrap:wrap}.asset-editor-alert[hidden]{display:none}.asset-editor-alert>div{display:flex;align-items:center;gap:8px}.asset-export-menu{position:relative}.asset-export-menu>summary{list-style:none;cursor:pointer}.asset-export-menu>summary::-webkit-details-marker{display:none}.asset-export-menu>div{position:absolute;right:0;top:calc(100% + 6px);min-width:200px;padding:5px;border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);box-shadow:var(--ui-shadow);z-index:20}.asset-export-menu button{display:block;width:100%;text-align:left;padding:9px;border:0;background:none;font-size:var(--ui-font-size-sm)}.asset-export-menu button:hover{background:var(--ui-brand-soft)}.asset-version-list article{display:flex;align-items:center;gap:8px;padding:12px 0;border-bottom:1px solid var(--ui-border)}.asset-version-list article>div{flex:1}.asset-version-list p{font-size:var(--ui-font-size-sm);color:var(--ui-muted);margin:4px 0 0}.asset-type-mark.document{background:var(--ui-canvas);color:var(--ui-muted)}.asset-type-mark.spreadsheet{background:var(--ui-canvas);color:var(--ui-text)}.asset-type-mark.mindmap{background:var(--ui-warning-soft);color:var(--ui-warning)}@media(max-width:760px){.asset-editor-header{gap:8px;padding:8px 10px;flex-wrap:wrap}.asset-editor-actions{width:100%;justify-content:flex-end}.asset-editor-header>.asset-type-mark{width:28px;height:30px}.asset-editor-footer>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.asset-editor-footer a{flex:none}.editor-workspace .sidebar{height:100dvh}.editor-workspace .topbar .today{display:none}}
@media(max-width:640px){.editor-workspace .sidebar{height:auto;flex:none;gap:8px;padding:10px 12px 0}.editor-workspace .main-shell{height:auto;flex:1;min-height:0}.editor-workspace .sidebar nav{padding-bottom:0}.editor-workspace .topbar{min-height:38px}}
.asset-editor-stage{position:relative;overflow:hidden}
.document-comments-panel{width:360px;max-width:45%;min-width:0;min-height:0;box-sizing:border-box;flex:none;display:flex;flex-direction:column;border-left:1px solid var(--ui-border);background:var(--ui-canvas)}
.document-comments-panel[hidden]{display:none}
.document-comments-host{flex:1;min-width:0;min-height:0;overflow:auto;padding:var(--ui-space-4);scrollbar-gutter:stable}
.document-comments-status{display:flex;flex-direction:column;gap:var(--ui-space-3);overflow-wrap:anywhere}
.document-comments-status>div{display:flex;justify-content:flex-end}
[data-editor-comments]{flex:none;white-space:nowrap}
[data-editor-comments][aria-expanded=true]{background:var(--ui-brand-soft);color:var(--ui-brand)}
@media(max-width:900px){.document-comments-panel{position:absolute;inset:0 0 0 auto;width:min(360px,100%);max-width:100%;z-index:5;box-shadow:var(--ui-shadow)}}

.asset-editor-presence{display:flex;align-items:center;gap:var(--ui-space-3);flex:none;max-width:100%;font-size:var(--ui-font-size-xs);color:var(--ui-muted)}
.asset-editor-presence[hidden],.asset-editor-stage iframe[hidden]{display:none}
.asset-editor-presence>span:last-child{white-space:nowrap}
.asset-editor-alert>div{flex-wrap:wrap}
.asset-editor-title{overflow-wrap:anywhere}
@media(max-width:760px){.asset-editor-presence{margin-left:auto}.asset-editor-actions{justify-content:flex-start}.asset-editor-header>.asset-type-mark{flex:none}.asset-editor-title{min-width:120px}.asset-editor-footer{flex-wrap:wrap}.asset-editor-footer>span{white-space:normal}.asset-version-list article{flex-wrap:wrap}.asset-version-list article>div{flex-basis:100%}}
