/* Account entry belongs to the shared header; it remains last at every width. */
.vbo-account-entry { display:inline-flex; align-items:center; justify-content:center; flex:none; width:44px; height:44px; padding:0; border:0; border-radius:6px; color:var(--vo-ink,#263238); background:transparent; text-decoration:none; }
.vbo-account-entry:hover { color:var(--vo-primary,#245f78); background:var(--vo-surface,#f3f7f8); }
.vbo-account-entry:focus-visible,.vbo-dialog-close:focus-visible { outline:3px solid var(--vo-primary,#245f78); outline-offset:3px; }
.site-header .navigation { margin-left:auto; }
@media(max-width:980px) {
 .site-header .brand { max-width:calc(100% - 132px); }
 .site-header .un-mobile-search-slot { order:1; }
 .site-header .menu-toggle { order:2; }
 .site-header .vbo-account-entry { order:3; }
 .site-header .navigation { order:4; }
}
.vbo-login-dialog { width:min(440px,calc(100% - 32px)); max-height:calc(100dvh - 32px); overflow:auto; border:0; border-radius:12px; padding:32px; color:var(--vo-ink,#263238); background:white; }
.vbo-login-dialog::backdrop { background:rgb(24 49 61 / .55); }
.vbo-login-dialog[open] { animation:vbo-dialog-enter .18s ease-out; }
.vbo-dialog-close { display:grid; place-items:center; position:absolute; right:12px; top:12px; width:44px; height:44px; border:0; border-radius:6px; color:inherit; background:transparent; }
.vbo-dialog-close:hover { background:var(--vo-surface,#f3f7f8); }
.vbo-login { width:100%; max-width:420px; margin:0 auto; }
.vbo-login :is(h1,h2) { margin:0 32px 12px 0; font-size:24px; font-weight:650; line-height:1.3; letter-spacing:-.02em; }
.vbo-login p { margin:0; }
.vbo-login-intro { color:var(--vo-muted,#52656f); font-size:15px; line-height:1.6; }
.vbo-login form { display:grid; gap:16px; margin-top:24px; }
.vbo-login .login-username label,.vbo-login .login-password label { display:block; margin-bottom:6px; font-size:14px; font-weight:600; }
.vbo-login input[type="text"],.vbo-login input[type="password"] { width:100%; min-height:46px; padding:10px 12px; border:1px solid var(--vo-line,#c5d2d7); border-radius:6px; background:white; color:inherit; font:inherit; }
.vbo-login .login-remember label { display:flex; align-items:center; gap:8px; min-height:44px; font-size:14px; }
.vbo-login input[type="checkbox"] { width:18px; height:18px; margin:0; accent-color:var(--vo-primary,#245f78); }
.vbo-login input[type="submit"] { width:100%; min-height:46px; padding:10px 16px; border:0; border-radius:6px; background:var(--vo-primary,#245f78); color:white; font:inherit; font-weight:650; cursor:pointer; }
.vbo-login input[type="submit"]:hover { filter:brightness(.9); }
.vbo-login input:focus-visible { outline:3px solid var(--vo-primary,#245f78); outline-offset:3px; }
.vbo-login .vbo-login-recovery { margin-top:20px; font-size:14px; }
.vbo-login-is-open { overflow:hidden; }
.vbo-account-entry[aria-expanded="true"] { color:var(--vo-primary,#245f78); background:var(--vo-surface,#f3f7f8); }
.vbo-account-menu { position:fixed; z-index:50; width:min(320px,calc(100% - 32px)); max-height:calc(100dvh - 32px); overflow:auto; padding:8px; border:1px solid var(--vo-line,#c5d2d7); border-radius:8px; background:white; color:var(--vo-ink,#263238); font-size:14px; }
.vbo-account-menu[hidden] { display:none; }
.vbo-account-info { padding:12px; margin-bottom:6px; border-bottom:1px solid var(--vo-line,#c5d2d7); overflow-wrap:anywhere; }
.vbo-account-name { font-size:16px; font-weight:650; line-height:1.4; }
.vbo-account-email,.vbo-account-company { color:var(--vo-muted,#52656f); margin-top:6px; font-size:13px; line-height:1.6; }
.vbo-account-menu a { display:flex; align-items:center; gap:12px; min-height:44px; padding:10px 12px; color:inherit; text-decoration:none; border-radius:6px; font-weight:550; }
.vbo-account-menu a:hover,.vbo-account-menu a:focus-visible { color:var(--vo-primary,#245f78); background:var(--vo-surface,#f3f7f8); }
.vbo-account-menu a:focus-visible { outline:2px solid var(--vo-primary,#245f78); outline-offset:-2px; }
.vbo-account-menu a svg { flex:none; }
.vbo-account-fallback { padding:16px; text-align:center; }
.vbo-header-sidebar-toggle { display:none; align-items:center; justify-content:center; flex:none; width:44px; height:44px; padding:0; border:0; background:transparent; color:var(--vo-muted,#52656f); cursor:pointer; }
.vbo-header-sidebar-toggle svg { width:20px; height:20px; }
.vbo-header-sidebar-toggle:hover { color:var(--vo-ink,#263238); }
.vbo-header-sidebar-toggle:focus-visible { outline:2px solid var(--vo-primary,#245f78); outline-offset:-4px; }
.vbo-header-sidebar-toggle[aria-expanded="false"] svg { transform:rotate(180deg); }
@media(min-width:761px) {
 .vbo-workspace-page .site-header .header-inner { width:calc(100% - 32px); max-width:none; gap:12px; }
 .vbo-workspace-page .vbo-header-sidebar-toggle.is-ready { display:inline-flex; }
}
@keyframes vbo-dialog-enter { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }
@media(prefers-reduced-motion:reduce) { .vbo-login-dialog[open] { animation:none; } }
@media(max-width:480px) { .vbo-login-dialog { padding:28px 20px; } }
