.language-switch{display:inline-flex!important;align-items:center;justify-content:center;flex:none;min-height:36px;min-width:42px;padding:5px 9px!important;border:1px solid #bcebf25c;border-radius:10px;line-height:1.2;text-decoration:none;color:inherit;font-size:13px;white-space:nowrap}
.header-actions{flex-shrink:0}.language-notice{max-width:1100px;margin:16px auto;padding:12px 18px;border:1px solid #bcebf244;border-radius:12px;color:#bcebf2}
html[dir=ltr] .admin-nav{right:auto;left:0}html[dir=ltr] .admin-main{margin-right:0;margin-left:var(--admin-side,250px)}html[dir=ltr] .admin-footer{margin-right:0;margin-left:var(--admin-side,250px)}html[dir=ltr] .admin-main th,html[dir=ltr] .admin-main td{text-align:start}html[dir=ltr] .admin-main textarea{direction:inherit}html[dir=ltr] .admin-main [dir=rtl]{direction:rtl}html[dir=ltr] .admin-main [dir=ltr]{direction:ltr}
html[dir=ltr] .site-header nav,html[dir=ltr] .header-actions{direction:ltr}html[dir=ltr] .p8-prose{text-align:start}html[dir=ltr] .invoice-table th,html[dir=ltr] .invoice-table td{text-align:start}
.admin-user{flex-wrap:wrap}.account-topbar nav{flex-wrap:wrap}
@media(max-width:800px){.site-header{gap:9px!important}.site-header .header-actions{gap:7px!important}.site-header .language-switch{font-size:11px;padding:5px 7px!important;min-width:38px}.site-header .brand{flex-shrink:1}.site-header .account-link{font-size:12px}}
@media(max-width:540px){.site-header{flex-wrap:wrap!important}.site-header .brand{margin-inline-end:auto}.site-header .header-actions{margin-inline-start:auto;display:flex!important;gap:8px!important}.site-header .button.small{font-size:12px;padding:10px!important}.site-header .menu-toggle{margin:0}.site-header #siteNav{order:4;width:100%}}
@media(max-width:900px){html[dir=ltr] .admin-main,html[dir=ltr] .admin-footer{margin-left:0}}
@media print{.language-switch,.language-notice{display:none!important}}
/* Two intentional rows on narrow screens, with all actions inside the header. */
@media(max-width:540px){.site-header{height:auto!important;min-height:64px;padding-block:10px!important;row-gap:8px!important}.site-header .header-actions{order:3;width:100%;margin:0!important;justify-content:center}.site-header #siteNav{width:auto}.site-header .brand{max-width:calc(100% - 56px)}}
.admin-main .editor-toolbar>button{flex:0 0 auto;white-space:nowrap;word-break:normal;overflow-wrap:normal;min-width:105px}
.admin-main .editor-tabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;max-width:100%;gap:8px!important;scrollbar-width:thin}
.admin-main .editor-tabs button{flex:0 0 auto!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;padding:9px 12px!important;font-size:13px!important}
