/* Shared office navigation. Promoter Forms 01/02 remain public. */
.admin-nav-wrap{position:relative;display:inline-flex;align-items:center;z-index:99}
.admin-nav-trigger{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:40px;padding:8px 13px;background:#f5f8ff;border:1px solid #d2dfef;color:#173e7c;border-radius:10px;font-family:Calibri,Arial,sans-serif;font-weight:800;font-size:14px;cursor:pointer;white-space:nowrap}
.admin-nav-trigger:hover,.admin-nav-trigger[aria-expanded=true]{border-color:#7fa2df;background:#eaf1ff}
.admin-burger-icon{width:18px;height:16px;display:flex;flex-direction:column;justify-content:space-evenly;align-items:stretch}
.admin-burger-icon i{height:2px;border-radius:2px;background:currentColor;width:100%}
.admin-nav-dropdown{position:absolute;top:calc(100% + 8px);right:0;min-width:245px;width:min(305px,calc(100vw - 24px));z-index:500;background:white;border:1px solid #d5e1ef;border-radius:13px;padding:6px;box-shadow:0 16px 45px rgba(21,45,84,.19)}
.admin-nav-dropdown[hidden]{display:none!important}
.admin-nav-dropdown>a,.admin-nav-dropdown>button{width:100%;background:transparent;border:0;color:#1a385f;text-align:left;font:700 14px Calibri,Arial,sans-serif;display:flex;align-items:center;min-height:46px;padding:12px;border-radius:8px;cursor:pointer;text-decoration:none}
.admin-nav-dropdown>a:hover,.admin-nav-dropdown>button:hover{background:#edf4ff;color:#1446a3}
.admin-nav-shell{height:61px;display:flex;align-items:center;justify-content:space-between;gap:14px;max-width:1300px;padding:0 24px;margin:0 auto}
#adminSiteHeader,.office-admin-header{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid #d9e3ef;min-height:61px}
.admin-nav-brand{text-decoration:none!important;color:#1a2d48!important;font-size:16px;font-weight:850;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-auth-overlay{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(12,29,56,.56);z-index:30000;padding:18px}
.admin-auth-overlay[hidden]{display:none!important}
.admin-auth-dialog{max-width:410px;width:100%;padding:25px;border-radius:18px;background:#fff;box-shadow:0 30px 70px #101f4047;color:#1a2d48;font-family:Calibri,Arial,sans-serif}
.admin-auth-dialog h2{font-size:23px;margin:0 0 6px;font-weight:850}
.admin-auth-dialog p{font-size:14px;line-height:1.4;color:#5b6d83;margin:0 0 18px}
.admin-auth-dialog label{display:block;font-size:13px;font-weight:800;margin:0 0 6px}
.admin-auth-dialog input{width:100%!important;height:46px!important;font-size:16px!important;border:1px solid #cbd8e6;border-radius:9px;padding:10px;background:#fff;color:#1a2d48;box-sizing:border-box}
.admin-auth-dialog .admin-actions{display:flex;gap:10px;margin-top:16px}
.admin-auth-dialog button{flex:1;min-height:44px;border:1px solid #c9d7eb;border-radius:10px;background:white;color:#244c83;font-family:inherit;font-size:14px;font-weight:800;cursor:pointer}
.admin-auth-dialog button[type=submit]{background:#2558d8;color:white;border-color:#2558d8}
.admin-auth-dialog button:disabled{opacity:.55;cursor:wait}
.admin-auth-error{color:#a62727;background:#fff0f1;padding:10px;border-radius:8px;font-size:13px;margin-top:10px}
.admin-auth-error[hidden]{display:none!important}
html.admin-locked body>main,html.admin-locked body>footer,html.admin-locked #editorPublicHeader{visibility:hidden!important}
.library-approval-filters{display:grid;grid-template-columns:2fr 1fr;gap:12px;margin:12px 0 18px}
.library-approval-list{display:flex;flex-direction:column;gap:10px}
.library-approval-row{display:flex;flex-wrap:wrap;align-items:flex-start;gap:15px;padding:16px;border:1px solid #d9e5ef;border-radius:12px;background:#fbfdff}
.library-approval-info{flex:1;min-width:225px}
.library-approval-info h3{margin:0 0 6px;font-size:16px}
.library-approval-info p{margin:6px 0;color:#576d86;font-size:13px}
.library-approval-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center}
.library-approval-actions .btn{min-width:84px}
.bulk-user-toolbar #deleteSelectedUsers{min-height:34px;padding:7px 10px;white-space:nowrap}
@media(max-width:650px){.admin-nav-shell{padding:0 13px;height:55px}.admin-nav-brand{font-size:14px}.admin-nav-trigger{min-height:38px;padding:8px 10px}.library-approval-filters{grid-template-columns:1fr}.library-approval-actions{width:100%}.library-approval-actions .btn{flex:1}.bulk-user-toolbar{gap:7px}.bulk-user-toolbar #deleteSelectedUsers{font-size:12px;flex:0 1 auto;padding:7px}}
/* Align the office brand left and hamburger menu right at every screen size. */
.admin-nav-shell{width:100%;min-width:0}
/* Keep Clear Selection and Remove together, with the count independently aligned. */
.bulk-user-toolbar{display:grid;grid-template-columns:max-content max-content max-content minmax(0,1fr);align-items:center;gap:8px}
.bulk-user-toolbar .selection-count{margin-left:0;text-align:right}
@media(max-width:750px){
 .bulk-user-toolbar{grid-template-columns:max-content max-content minmax(0,max-content);gap:6px}
 .bulk-user-toolbar .selection-count{grid-column:1/-1;justify-self:end;text-align:right}
 .bulk-user-toolbar .bulk-select{font-size:11px}
 .bulk-user-toolbar #clearSelectedUsers,.bulk-user-toolbar #deleteSelectedUsers{font-size:11px;padding:7px 8px;min-height:34px;min-width:0;width:auto}
}
@media(max-width:750px){
 .bulk-user-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:9px}
 .bulk-user-toolbar .bulk-select{grid-row:1;grid-column:1;font-size:13px}
 .bulk-user-toolbar .selection-count{grid-row:1;grid-column:2;justify-self:end;align-self:center}
 .bulk-user-toolbar #clearSelectedUsers{grid-row:2;grid-column:1;width:100%;font-size:13px;padding:8px 5px}
 .bulk-user-toolbar #deleteSelectedUsers{grid-row:2;grid-column:2;width:100%;font-size:13px;padding:8px 5px}
}

/* v2.8.6 compact account actions: grouped SVG icons, no stretched text buttons */
.bulk-user-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.bulk-user-toolbar .bulk-icon-actions{display:inline-flex;gap:6px;align-items:center;flex:none}
.bulk-user-toolbar .icon-action{width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;padding:7px!important;display:inline-flex;align-items:center;justify-content:center;flex:none}
.bulk-user-toolbar .icon-action svg{width:19px;height:19px;display:block;flex:none}
.bulk-user-toolbar .selection-count{margin-left:auto;white-space:nowrap}
@media(max-width:650px){.bulk-user-toolbar{display:flex;flex-wrap:wrap;gap:8px}.bulk-user-toolbar .bulk-select{margin-right:auto;font-size:12px}.bulk-user-toolbar .selection-count{order:3;flex-basis:100%;text-align:right}.bulk-user-toolbar .bulk-icon-actions{order:2}.bulk-user-toolbar .bulk-icon-actions .icon-action{width:36px!important;height:36px!important;min-width:36px!important;padding:7px!important}}
/* v2.9.1 compact HQ screens / responsive navigation */
body:has(#adminSiteHeader),body:has(.office-admin-header){font-family:Calibri,Arial,sans-serif}
body:has(#adminSiteHeader) main.wide,body:has(.office-admin-header) main.wide{padding-top:16px}
body:has(#adminSiteHeader) .heading,body:has(.office-admin-header) .heading{margin-bottom:12px;align-items:center}
body:has(#adminSiteHeader) .heading h1,body:has(.office-admin-header) .heading h1{font-size:clamp(21px,3vw,27px);margin:0}
body:has(#adminSiteHeader) .heading small,body:has(.office-admin-header) .heading small{font-size:12px}
body:has(#adminSiteHeader) .heading .eyebrow,body:has(.office-admin-header) .heading .eyebrow{font-size:9px}
body:has(#adminSiteHeader) .heading .badge,body:has(.office-admin-header) .heading .badge{font-size:10px}
body:has(#adminSiteHeader) .tab-row{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-bottom:12px}
body:has(#adminSiteHeader) .tab-row .btn{min-height:38px;padding:8px 11px;font-size:12px;gap:5px}
body:has(#adminSiteHeader) .tab-row .btn svg{width:15px;height:15px;flex:none}
body:has(#adminSiteHeader) .library-filters{gap:8px}
body:has(#adminSiteHeader) .panel{padding:15px}
body:has(#adminSiteHeader) .export-toolbar .btn{min-height:36px;font-size:12px}
body:has(#adminSiteHeader) .export-toolbar{gap:6px}
body:has(#adminSiteHeader) .toolbar h2{font-size:17px}
@media(max-width:750px){
 body:has(#adminSiteHeader) main.wide,body:has(.office-admin-header) main.wide{padding:12px 10px 90px}
 body:has(#adminSiteHeader) .panel,body:has(.office-admin-header) .panel{padding:12px}
 body:has(#adminSiteHeader) .heading h1,body:has(.office-admin-header) .heading h1{font-size:22px}
 body:has(#adminSiteHeader) .heading small,body:has(.office-admin-header) .heading small{display:none}
 body:has(#adminSiteHeader) .heading .badge,body:has(.office-admin-header) .heading .badge{display:none}
 body:has(#adminSiteHeader) .library-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
 body:has(#adminSiteHeader) .library-filters .field input,body:has(#adminSiteHeader) .library-filters .field select{min-height:38px;font-size:13px}
 body:has(#adminSiteHeader) .tab-row .btn{flex:1;min-width:0;white-space:nowrap;padding:7px 6px;font-size:11px}
 body:has(#adminSiteHeader) .tab-row a.btn,body:has(#adminSiteHeader) .tab-row button#refresh{flex:0 0 auto;min-width:37px;padding:8px}
 body:has(#adminSiteHeader) .export-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 body:has(#adminSiteHeader) .export-toolbar .btn{width:100%}
 body:has(#adminSiteHeader) .export-toolbar .export-info{grid-column:1/-1;text-align:right}
}

/* Export actions expand only after selecting drawings; save mobile space. */
.export-toolbar .export-actions{display:inline-flex;gap:6px;align-items:center;flex-wrap:wrap}
.export-toolbar .export-actions[hidden]{display:none!important}
@media(max-width:750px){.export-toolbar .export-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.export-toolbar .export-actions .btn{font-size:11px;padding:7px 4px;min-width:0}}
