header.sitehead,header.topbar,header.azuu-menu-topbar,header.head,#workspace .top{position:sticky!important;top:0;z-index:100;background:#141e18;isolation:isolate}#workspace .top{flex-wrap:wrap;gap:8px;padding-top:10px}#azNotice{position:relative!important;top:auto!important;right:auto!important;z-index:110;flex:0 0 auto;margin-left:auto;display:flex;align-items:center;gap:8px;flex-wrap:wrap}#azNotice .az-notice-bubble{position:static!important;max-width:100%;font-size:12px}#azNotice section{z-index:120}@media(max-width:600px){#azNotice section{position:fixed;top:80px;right:8px;width:calc(100vw - 16px)}#azNotice{gap:4px}}
header.topbar,header.azuu-menu-topbar,header.head,header.sitehead,#workspace .top{align-items:center!important;min-height:56px;padding-top:8px!important;padding-bottom:8px!important;box-sizing:border-box}.top-actions,.azuu-menu-top-right,.azuu-header-controls,.azuu-tools,#azNotice{align-items:center!important;gap:8px}.topbar button,.azuu-menu-topbar button,header.head button,header.sitehead button,#workspace .top button{min-height:36px;box-sizing:border-box;vertical-align:middle}.topbar .avatar{display:grid;place-items:center;width:36px;height:36px}.topbar #azuuSidebarToggle,.topbar #azuuLanguage,#azNotice>button:first-child{display:inline-flex;align-items:center;justify-content:center;min-height:36px}.topbar #azuuSidebarToggle{min-width:36px}#workspace .top h1{margin:0;font-size:clamp(18px,2vw,25px)}
/* Shared responsive sizing */
:root{--az-header-height:60px}header.topbar,header.azuu-menu-topbar,header.head,header.sitehead,#workspace .top{min-height:60px;z-index:100!important;gap:8px!important}header.topbar button,header.azuu-menu-topbar button,header.head button,header.sitehead button,#workspace .top button{min-height:44px;min-width:44px;font-size:16px;line-height:1.2}#azNotice>button:first-child{font-size:20px!important;min-height:44px;padding:7px 9px}#azNotice>button:first-child span{font-size:12px}#azNotice section{top:calc(100% + 6px);max-height:70dvh} .workspace,.main,.content{min-width:0} .nav button,.nav a,#azStaffNav button{min-height:44px;line-height:1.35;font-size:15px} @media(max-width:900px){#app.shell{display:block!important}#app.shell.hidden{display:none!important}#app .workspace{width:100%!important;min-width:0}#app .topbar{position:sticky!important;top:0!important;width:100%;padding:8px 12px!important;min-height:60px;z-index:120!important}#app .sidebar,#app .sidebar-collapsed .sidebar,body.sidebar-collapsed #app .sidebar{position:fixed!important;top:var(--az-header-height)!important;bottom:0!important;left:0!important;width:min(290px,82vw)!important;max-width:82vw;overflow-y:auto!important;overscroll-behavior:contain;z-index:110!important;padding:16px 12px!important;gap:12px;transform:translateX(-105%)}#app .sidebar.open,body.sidebar-collapsed #app .sidebar.open{transform:translateX(0)!important}#app .overlay.show{top:var(--az-header-height)!important;z-index:109!important}#app .content{padding:16px 12px!important}#app .top-actions{gap:6px!important}#app .top-actions .small{display:none}#app .avatar{width:34px;height:34px}#workspace.shell{display:block}#workspace.shell.hidden{display:none!important}#workspace .main{padding:0 12px 16px!important}#workspace .top{top:0!important;min-height:60px;z-index:120!important;flex-wrap:nowrap!important;gap:6px!important}#workspace .top h1{font-size:clamp(14px,3.6vw,19px);overflow-wrap:anywhere}#workspace .side{position:fixed;top:var(--az-header-height);bottom:0;left:0;width:min(290px,82vw);z-index:110;overflow-y:auto;overscroll-behavior:contain;transform:translateX(-105%);padding:16px 12px;transition:transform .18s}#workspace.az-mobile-open .side{transform:translateX(0)}#azStaffShade{position:fixed;inset:var(--az-header-height) 0 0;background:#0009;z-index:109}#azStaffShade[hidden]{display:none!important}#azStaffDrawerToggle{flex-shrink:0}#azNotice section{position:fixed!important;top:calc(var(--az-header-height) + 6px)!important;right:8px!important;width:min(390px,calc(100vw - 16px));max-height:70dvh}header.sitehead{padding:8px 12px!important}header.sitehead .brand{font-size:clamp(17px,4.8vw,23px)}.azuu-header-controls{gap:5px!important}.az-shift-grid{max-width:100%} }@media(min-width:901px){#azStaffDrawerToggle,#azStaffShade{display:none!important}}
/* Dynamic panel workspace */
#workspace.shell:not(.hidden){min-width:0;width:100%;max-width:100%;box-sizing:border-box}#workspace.shell>.main{flex:1 1 0;min-width:0;max-width:100%;padding:0!important;box-sizing:border-box}#workspace.shell>.main>.top{margin:0!important;padding:8px 14px!important;width:100%;box-sizing:border-box}#workspace.shell>.main>section{box-sizing:border-box;min-width:0;max-width:100%;padding:14px 16px}#workspace.shell>.main>.top h1{min-width:0;flex:1 1 auto}#workspace.shell>.main>.top #logout{flex:0 0 auto}#workspace.shell .az-staff-stats{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr))!important}#app .workspace{flex:1 1 0;min-width:0;max-width:100%}#app #content{width:100%;max-width:none!important;margin:0!important;padding:16px!important;box-sizing:border-box}#app .topbar{margin:0;width:100%;box-sizing:border-box}#workspace.shell>.side{box-sizing:border-box}#azStaffDrawerToggle{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 44px;background:#26382c;color:#f6f1e7;border:1px solid #526555;border-radius:8px} @media(min-width:901px){#workspace.shell>.side{width:240px;flex:0 0 240px;position:sticky;top:0;align-self:flex-start;height:100dvh;overflow-y:auto}#workspace.shell.az-desktop-collapsed>.side{display:none!important}#workspace.shell.az-desktop-collapsed>.main{width:100%}#app .sidebar{position:sticky;top:0;align-self:flex-start;height:100dvh;overflow-y:auto;box-sizing:border-box}body.sidebar-collapsed #app .sidebar{display:none!important}body.sidebar-collapsed #app .workspace{width:100%}#workspace.shell>.main>section{padding:16px 20px} }@media(max-width:900px){#workspace.shell>.main>section{padding:12px}#workspace.shell>.main>.top{padding:8px!important}#workspace.shell>.main>.top #logout{padding:7px 9px!important;font-size:13px}#workspace.shell>.main>.top h1{font-size:clamp(13px,3.4vw,18px)!important}#workspace.shell>.main>.top #azNotice{margin-left:0}#app #content{padding:12px!important}}
/* Header stays in flow; no content underneath on initial layout */
#workspace.shell>.main>.top,#app .workspace>.topbar{position:sticky!important;top:0!important;inset-inline:auto!important;flex-shrink:0;transform:none!important;margin:0!important}#workspace.shell>.main>section:not(.hidden){position:relative;clear:both;padding-top:14px!important;margin-top:0!important;scroll-margin-top:calc(var(--az-header-height) + 12px)}#workspace.shell>.main>section>.az-pending-overview,#app #content>.az-pending-overview{position:relative;inset:auto;transform:none;margin-top:0!important;flex-shrink:0}#app #content{position:relative;clear:both;scroll-margin-top:calc(var(--az-header-height) + 12px)}@media(max-width:900px){#workspace.shell>.main,#app .workspace{display:flex!important;flex-direction:column;min-height:100dvh;overflow:visible!important}#workspace.shell>.main>.top,#app .workspace>.topbar{flex:0 0 auto!important;align-self:stretch}#workspace.shell>.main>section:not(.hidden),#app #content{padding-top:14px!important;flex-shrink:0}#workspace.shell>.main>.top h1{line-height:1.25;overflow-wrap:anywhere}}
/* Secondary admin modules: separate navigation from page titles */
body.az-secondary header.azuu-menu-topbar,body.az-secondary .azuu-tools,body.az-secondary .az-log-header{position:sticky!important;top:0!important;z-index:100!important;display:flex!important;align-items:center;justify-content:space-between;gap:8px;min-height:60px;padding:8px 12px!important;background:#141e18;box-sizing:border-box;transform:none!important}body.az-secondary header.head{position:static!important;padding:0!important;margin:0 0 16px!important;min-height:0;background:transparent;isolation:auto}body.az-secondary main{min-width:0;box-sizing:border-box;padding-top:16px!important}body.az-secondary .azuu-tools{right:auto!important;left:auto!important;margin:0!important}body.az-secondary .azuu-tools button,body.az-secondary .az-log-header button{min-height:44px;min-width:44px}body.az-secondary main h1{overflow-wrap:anywhere;scroll-margin-top:76px} @media(max-width:900px){body.az-secondary main{margin-left:0!important;width:100%!important;max-width:100%!important;padding:14px 12px!important}body.az-secondary .azuu-menu-topbar,body.az-secondary .azuu-tools,body.az-secondary .az-log-header{margin-left:0!important;width:100%!important}body.az-secondary .azuu-menu-side,body.az-secondary .azuu-unified-side{top:var(--az-header-height)!important;bottom:0!important;height:auto!important;z-index:110!important;overflow-y:auto!important}body.az-secondary .azuu-menu-shade,body.az-secondary .azuu-nav-backdrop{top:var(--az-header-height)!important;z-index:109!important}}
/* Staff mobile: block flow, no flex-distributed empty space above header */
@media(max-width:900px){#workspace.shell:not(.hidden){display:block!important;margin:0!important;padding:0!important;min-height:100dvh}#workspace.shell>.main{display:block!important;position:relative!important;inset:auto!important;margin:0!important;padding:0!important;width:100%!important;min-height:100dvh;overflow:visible!important}#workspace.shell>.main>.top{position:sticky!important;top:0!important;bottom:auto!important;margin:0!important;padding:8px!important;display:flex!important;width:100%!important;z-index:120!important}#workspace.shell>.main>section:not(.hidden){margin:0!important;padding:14px 12px!important}#workspace.shell>.main>.top:first-child{margin-block-start:0!important}}