/* Align desktop title, document text and header actions to one shared gutter. */
@media(min-width:768px){
 body .app.grammar-page.bb-skrivebord{--sk-editor-x:32px;--sk-editor-header-right-x:32px}
}

/* Compact mobile gutter shared by the header, placeholder and document text. */
@media(max-width:767px){
 body .app.grammar-page.bb-skrivebord{--sk-editor-x:16px;--sk-editor-header-right-x:16px}
 body .bb-skrivebord #inputText .ql-editor{padding-top:20px!important}
 body .bb-skrivebord #inputText .ql-editor.ql-blank::before{top:20px!important}
}

/* Skriv-only link fixes: retain existing colors and navigation. */
body:has(.bb-skrivebord) :is(.ssiv-fallback a,#sk-prediction-settings a[data-skt="pred.login_link"]){text-decoration:none!important;outline:none!important}
/* feature names 9 Nov: longer tab labels need the row wider in the 280 px sidebar (768-900 px), 85 px cells like the 1000-1100 px layout */
@media (max-width:900px){body .bb-skrivebord .sidebar-dropdown-items-container,body.corrections-review-mode:has(#option-ai.active) .bb-skrivebord .sidebar-dropdown-items-container{left:5px!important;right:5px!important}}
