:root{--sidebar-width:220px;--header-height:64px;}
body .topbar{height:var(--header-height);min-height:var(--header-height);flex-wrap:nowrap;padding:0 24px;gap:16px;}
body .topbar .topbar-spacer{display:block;}
body .topbar .topnav{position:fixed;left:0;top:var(--header-height);bottom:0;width:var(--sidebar-width);display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:24px 14px;background:var(--ink);border-right:1px solid #34404e;overflow-y:auto;overflow-x:hidden;flex-basis:auto;order:0;}
body .topbar .topnav a{display:block;white-space:normal;overflow-wrap:break-word;font-size:14px;line-height:1.5;padding:12px 14px;border-left:3px solid transparent;border-radius:7px;}
body .topbar .topnav a.active{border-left-color:#e5b76c;background:#344050;}
body .topbar .topnav a:focus-visible{outline:2px solid #e5b76c;outline-offset:1px;}
body .page{max-width:none;width:calc(100% - var(--sidebar-width));margin:0 0 0 var(--sidebar-width);padding:30px 32px 60px;min-width:0;}
body .page.narrow{max-width:1100px;}
.page .sr-layout>*{min-width:0;}
.page table{overflow-wrap:anywhere;}
.page thead th{white-space:normal;overflow-wrap:normal;}
.page .tbl-wrap{max-width:100%;}
.sidebar-toggle,.sidebar-shade{display:none;}
@media(max-width:1100px){
 :root{--sidebar-width:196px;}
 body .page{padding:24px 20px 48px;}
 body .topbar .brand-sub{display:none;}
 body .topbar .topbar-user{max-width:240px;overflow:hidden;text-overflow:ellipsis;}
 .page .sr-layout{grid-template-columns:minmax(0,1fr) 250px;}
}
@media(max-width:760px){
 :root{--header-height:64px;}
 body .topbar{padding:0 12px;gap:8px;}
 body .topbar>div:has(.brand){min-width:0;}
 body .topbar .brand{white-space:normal;font-size:12px;max-width:170px;line-height:1.25;}
 body .topbar .topbar-user{display:none;}
 body .topbar .topbar-logout{margin-left:0;padding:6px;font-size:11px;}
 body .topbar .language-switcher{margin-left:0;}
 body .topbar .language-switcher select{min-width:72px;padding:6px;font-size:12px;}
 .sidebar-toggle{display:block;background:transparent;color:white;border:1px solid #697384;border-radius:6px;padding:7px 10px;font-size:18px;}
 body .topbar .topnav{width:240px;visibility:hidden;transform:translateX(-100%);z-index:32;}
 body.sidebar-open .topbar .topnav{visibility:visible;transform:translateX(0);}
 .sidebar-shade{position:fixed;inset:var(--header-height) 0 0;border:0;background:#0006;z-index:29;}
 body.sidebar-open .sidebar-shade{display:block;}
 body .page{width:100%;margin:0;padding:22px 14px 40px;}
 .page .sr-layout{grid-template-columns:minmax(0,1fr);}
 .page .filter-bar>*{max-width:100%;}
 .page .card{padding:16px;}
 .page table{min-width:800px;}
}
