.kb-workspace { display:grid; grid-template-columns:minmax(220px,270px) minmax(0,1fr); gap:14px; align-items:start; }
.kb-actions { position:sticky; top:96px; }
.kb-actions-title { display:flex; align-items:flex-start; gap:10px; }
.kb-actions-title > .fa-icon { width:20px; height:20px; margin-top:2px; color:var(--accent); }
.kb-actions-title h2 { margin:0; }
.kb-action-buttons { display:grid; gap:9px; }
.kb-action-buttons .btn { width:100%; justify-content:flex-start; }
.kb-file-label { cursor:pointer; }
.kb-local-note { padding:12px; display:flex; align-items:flex-start; gap:9px; border:1px solid #bfdbfe; border-radius:13px; color:#475569; background:var(--accent-soft); font-size:11.5px; line-height:1.45; }
.kb-local-note .fa-icon { width:15px; height:15px; flex:0 0 auto; color:var(--accent); }
.kb-editor-card { min-width:0; overflow:hidden; }
.kb-document-heading { min-height:44px; }
.kb-document-name { min-width:0; display:flex; align-items:center; gap:10px; }
.kb-document-name > .fa-icon { width:18px; height:18px; color:var(--accent); }
.kb-document-name > div { min-width:0; display:grid; gap:3px; }
.kb-document-name strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.kb-editor-card .cke { width:100%!important; border:1px solid var(--border)!important; border-radius:14px!important; overflow:hidden; box-shadow:none!important; }
.kb-editor-card .cke_top { background:#f8fafc!important; border-bottom-color:var(--border)!important; }
.kb-editor-card .cke_bottom { background:#f8fafc!important; border-top-color:var(--border)!important; }
@media(max-width:860px){.kb-workspace{grid-template-columns:1fr}.kb-actions{position:static}.kb-action-buttons{grid-template-columns:repeat(3,minmax(0,1fr))}.kb-action-buttons .btn{justify-content:center}}
@media(max-width:620px){.kb-action-buttons{grid-template-columns:1fr}.kb-action-buttons .btn{justify-content:flex-start}.kb-document-heading{align-items:flex-start}.kb-document-heading .card-tag{display:none}}
