.sidebar-close { display:none; }
.sidebar-overlay[hidden] { display:none; }
.sidebar-overlay { position:fixed; inset:0; z-index:79; width:100%; height:100%; padding:0; border:0; background:rgba(12,32,50,.45); cursor:pointer; }
.app-page .field-help, .app-page .field-note, .app-page .settings-form label small, .app-page .form-grid label small, .app-page .modal small { color:#526c80; font-size:.8125rem; line-height:1.55; overflow-wrap:anywhere; }
.app-page .modal-heading p, .app-page .bo-dialog-heading p { color:#526c80; font-size:.8125rem; line-height:1.55; }
.app-page .table-scroll td small { color:#526c80; font-size:.8125rem; line-height:1.5; overflow-wrap:anywhere; }
.app-page .form-grid > label { font-size:.8rem; line-height:1.5; }
.app-page .form-field-error { font-size:.8rem; color:#922638; }
.app-page .modal-heading > [data-close-dialog], .app-page .bo-dialog-heading > [data-close-dialog] { display:grid; flex:0 0 44px; place-items:center; width:44px; height:44px; min-width:44px; min-height:44px; padding:0; border:1px solid #d7e2e9; border-radius:9px; color:#405f74; background:#f5f8fb; font-size:1.5rem; line-height:1; cursor:pointer; }
.app-page .modal-heading > [data-close-dialog]:hover, .app-page .bo-dialog-heading > [data-close-dialog]:hover { color:#125aa7; border-color:#b7cfe2; background:#edf4fa; }
.app-page .menu-toggle { width:44px; height:44px; min-width:44px; min-height:44px; }
.modal [data-close-dialog]:focus-visible, .sidebar-close:focus-visible, [data-menu]:focus-visible { outline:3px solid #428bc1; outline-offset:3px; }
.modal .modal-actions { gap:10px; }
@media(max-width:820px){
 body.menu-open { overflow:hidden; }
 .sidebar { z-index:80; }
 .sidebar-close { position:absolute; top:10px; right:10px; display:grid; place-items:center; width:44px; height:44px; min-width:44px; min-height:44px; border:1px solid rgba(255,255,255,.35); border-radius:9px; color:#fff; background:rgba(255,255,255,.08); font:inherit; font-size:1.5rem; cursor:pointer; }
 .sidebar-close[hidden] { display:none; }
 .sidebar-close:hover { background:rgba(255,255,255,.16); }
}
@media(prefers-reduced-motion:reduce){.sidebar{transition:none}}
