/* Admin-only toolbar. Client and retainer headers retain their existing styles. */
#root>.topbar:has(.admin-products){display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 28px;height:auto;min-height:80px}
#root>.topbar .admin-products{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;padding:4px;border:1px solid var(--line,#ffffff16);border-radius:14px;background:linear-gradient(145deg,#ffffff06,#ffffff02)}
#root>.topbar .admin-products>span,#root>.topbar .admin-products>button{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:36px;min-height:36px;padding:0 13px;margin:0;font:inherit;font-size:12px;line-height:1;letter-spacing:0;white-space:nowrap;border:1px solid transparent;border-radius:10px;color:var(--muted,#aaa);background:transparent;box-shadow:none}
#root>.topbar .admin-products>span{color:var(--text,#eee);border-color:#ffffff18;background:linear-gradient(145deg,#ffffff0e,#ffffff05)}
#root>.topbar .admin-products>button{cursor:pointer}
#root>.topbar .admin-products>button:hover{color:var(--text,#eee);background:#ffffff08}
#root>.topbar:has(.admin-products)>div{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0;width:auto;flex-wrap:nowrap}
#root>.topbar .admin-workspace-picker{display:grid;grid-template-columns:minmax(150px,240px) auto;align-items:center;gap:8px 12px;min-width:0;order:-1}
.admin-workspace-picker>label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#root>.topbar .admin-workspace-picker .queue-picker{order:0;min-width:0;width:100%;flex:initial}
#root>.topbar .admin-workspace-picker .queue-picker-trigger{height:44px;min-height:44px;font-size:13px;padding:10px 34px 10px 14px;border-radius:12px;line-height:22px}
.admin-workspace-picker select{width:100%;min-width:0!important;max-width:100%}
.admin-test-workspaces{position:relative;font-size:12px}
.admin-test-workspaces summary{display:flex;align-items:center;gap:8px;cursor:pointer;height:44px;box-sizing:border-box;padding:0 12px;white-space:nowrap;list-style:none;border:1px solid transparent;border-radius:12px;color:var(--muted,#aaa)}
.admin-test-workspaces summary::-webkit-details-marker{display:none}
.admin-test-workspaces summary::after{content:'';width:5px;height:5px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg);margin-top:-3px}
.admin-test-workspaces[open] summary,.admin-test-workspaces summary:hover{background:#ffffff06;border-color:var(--line,#ffffff18);color:var(--text,#eee)}
#root>.topbar .admin-test-panel{display:block;position:absolute;right:0;top:calc(100% + 10px);z-index:50;width:290px;box-sizing:border-box;max-width:calc(100vw - 64px);padding:18px;background:var(--panel,#1a1a1e);border:1px solid var(--line,#353539);border-radius:14px;box-shadow:0 15px 40px #0006}
.admin-test-panel p{font-size:12px;line-height:1.6;margin:0 0 16px;color:var(--muted,#aaa)}
.admin-test-panel label{display:block;font-size:12px;margin-bottom:8px}
.admin-test-active{grid-column:1/-1;font-size:11px;line-height:1.5;color:var(--muted,#aaa)}
#root>.topbar:has(.admin-products)>div>button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;min-width:40px;min-height:40px;padding:0;margin:0!important;border-radius:12px}
#root>.topbar:has(.admin-products)>div>button svg{width:18px;height:18px;margin:0}
@media(min-width:701px) and (max-width:1200px){#root>.topbar:has(.admin-products){flex-wrap:wrap;gap:12px;padding:16px 24px}#root>.topbar:has(.admin-products)>div{flex:1}#root>.topbar .admin-workspace-picker{grid-template-columns:minmax(150px,1fr) auto}}
@media(max-width:700px){
 #root>.topbar:has(.admin-products){display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:12px 16px}
 #root>.topbar .admin-products{align-self:center;justify-content:center;width:auto;max-width:100%;box-sizing:border-box}
 #root>.topbar .admin-products>span,#root>.topbar .admin-products>button{font-size:12px;padding:0 14px;min-height:36px}
 #root>.topbar:has(.admin-products)>div{display:flex;width:100%;gap:8px;justify-content:center;flex-wrap:wrap}
 #root>.topbar .admin-workspace-picker{flex:0 0 100%;grid-template-columns:minmax(0,1fr) auto;gap:6px 8px}
 #root>.topbar .admin-test-workspaces summary{font-size:11px;padding:0 8px}
 #root>.topbar .admin-workspace-picker .queue-picker-trigger{font-size:14px}
}
@media(min-width:701px){#root>.topbar:has(.admin-products)>div>button.mobile-logout{display:none}}
@media(max-width:700px){#root>.topbar:has(.admin-products)>div>button{width:44px;height:44px;min-width:44px;min-height:44px;flex-basis:44px}}

