/* The workspace brand stays at the top of every signed-in page. */
.agency-desktop{--workspace-header-height:72px}
.agency-desktop .layout{padding-top:var(--workspace-header-height)}
.agency-desktop .topbar{position:fixed;inset:0 0 auto;height:var(--workspace-header-height);width:100%;padding:0 24px 0 0;gap:20px;z-index:13;justify-content:flex-start}
.agency-desktop .topbar .mobile-menu{display:inline-flex;align-items:center;justify-content:center;align-self:stretch;flex-shrink:0;width:52px;min-height:44px;padding:0;border:0;border-right:1px solid #e5e9f0;border-radius:0;background:#f7f9fc;color:#152b4b;font-size:22px}
.agency-desktop .workspace-brand{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:300px;height:64px;text-decoration:none}
.agency-desktop .topbar .logo-topbar{display:block;width:100%;height:100%;object-fit:cover;margin:0}
.agency-desktop .workspace-brand:focus-visible{outline:2px solid #465ba7;outline-offset:2px;border-radius:4px}
.agency-desktop .workspace-search{flex:1 1 460px;width:auto;max-width:540px;min-width:170px}
.agency-desktop .workspace-search>input{width:100%;min-width:0;background:white}
.agency-desktop .top-actions{margin-left:auto}
.agency-desktop .sidebar{top:var(--workspace-header-height);padding-top:8px}
.agency-desktop .sidebar>.brand{display:none}
.agency-desktop .sidebar nav>.nav-label:first-child{margin-top:12px}
@media(min-width:761px){
 .agency-desktop.desktop-nav-collapsed .layout{grid-template-columns:0 minmax(0,1fr)}
 .agency-desktop.desktop-nav-collapsed .sidebar{transform:translateX(-100%);visibility:hidden}
}
@media(min-width:761px) and (max-width:1100px){
 .agency-desktop .topbar{gap:12px;padding-right:16px}
 .agency-desktop .workspace-brand{width:250px}
 .agency-desktop .top-actions .user-meta{display:none}
}
@media(max-width:760px){
 .agency-desktop{--workspace-header-height:calc(116px + env(safe-area-inset-top))}
 .agency-desktop .topbar{display:grid;grid-template-columns:44px minmax(0,1fr) auto;grid-template-rows:54px 42px;align-content:start;gap:4px 8px;padding:calc(6px + env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 10px max(8px,env(safe-area-inset-left));z-index:7;min-height:0}
 .agency-desktop .topbar .mobile-menu{width:44px;min-height:44px;height:44px;align-self:center;border:1px solid #e5e9f0;border-radius:5px;font-size:21px}
 .agency-desktop .workspace-brand{width:100%;max-width:245px;height:54px;min-width:0;justify-self:start}
 .agency-desktop .top-actions{grid-column:3;grid-row:1;margin:0}
 .agency-desktop .top-actions button{min-height:44px;padding:7px 8px}
 .agency-desktop .workspace-search{grid-row:2;grid-column:1/-1;width:100%;max-width:none;min-width:0;gap:8px}
 .agency-desktop .workspace-search>input{min-height:40px;font-size:16px}
 .agency-desktop .workspace-search>button{display:block;min-height:40px}
 .agency-desktop .quick-agent-results{top:calc(var(--workspace-header-height) + 4px);max-height:calc(100dvh - var(--workspace-header-height) - 90px)}
 .agency-desktop .sidebar{top:0;padding-top:calc(18px + env(safe-area-inset-top))}
 .agency-desktop .workspace{min-height:calc(100dvh - var(--workspace-header-height))}
}
@media print{.agency-desktop .layout{padding-top:0}}
