/* Purchased apps stay in the account rail; their tasks live above the workspace. */
.hm-customer-owner .hm-unified-header .reference-crumb{flex:1;min-width:0}
.hm-customer-owner .hm-unified-header .hm-product-switcher{display:flex;justify-content:center;gap:7px;flex:1;margin:0;min-width:0;overflow-x:auto;padding:4px}
.hm-product-switcher a{display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;border:1px solid var(--line);border-radius:11px;background:linear-gradient(145deg,var(--raised),var(--panel));color:var(--muted);box-shadow:inset 0 1px 0 #ffffff10}
.hm-product-switcher a:hover,.hm-product-switcher a[aria-current]{color:var(--accent);border-color:var(--accent)}
.hm-product-switcher a span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.hm-customer-owner .hm-unified-header nav[aria-label="Account actions"]{flex:1;justify-content:flex-end;min-width:0}
/* Task navigation owns its menu surface and responsive wrapping. */
.hm-product-submenu{display:flex;flex-wrap:wrap;gap:5px;align-items:center;position:relative;border-bottom:1px solid var(--line)}
.hm-product-submenu>a,.hm-task-menu>summary{display:flex;align-items:center;gap:8px;white-space:nowrap;padding:11px 13px;min-height:44px;border-radius:9px;color:var(--muted);font-size:13px;text-decoration:none;cursor:pointer}
.hm-product-submenu>a:hover,.hm-product-submenu>a[aria-current],.hm-task-menu[data-current]>summary,.hm-task-menu[open]>summary{background:var(--raised);color:var(--text)}
.hm-product-submenu>a[aria-current]{box-shadow:inset 0 -2px var(--accent)}
.hm-product-settings-link{margin-left:auto}
.hm-task-menu{position:relative;border:0;padding:0;margin:0}
.hm-task-menu>summary{list-style:none}.hm-task-menu>summary::-webkit-details-marker{display:none}
.hm-task-menu>div{position:absolute;top:calc(100% + 7px);left:0;min-width:230px;max-width:calc(100vw - 40px);z-index:70;max-height:60vh;overflow-y:auto;padding:8px;border:1px solid var(--line);border-radius:14px;background:var(--panel);background-image:var(--surface-gloss);box-shadow:var(--surface-shadow)}
.hm-task-menu>div>a{display:block;min-height:44px;padding:12px;border-radius:8px;color:var(--text);font-size:13px}
.hm-task-menu>div>a:hover,.hm-task-menu>div>a[aria-current]{background:var(--raised)}
.hm-task-menu>summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.hm-customer-owner .hm-service-nav>summary{padding:11px 12px;font-size:13px;color:var(--text);cursor:pointer}
.hm-product-switcher a:focus-visible,.hm-product-submenu a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media(max-width:900px){.hm-customer-owner .hm-unified-header{flex-wrap:wrap;height:auto;min-height:68px}.hm-customer-owner .hm-unified-header .hm-product-switcher{order:3;flex-basis:100%;justify-content:flex-start}.hm-customer-owner .hm-unified-header .reference-crumb{flex:1}.hm-customer-owner .hm-unified-header nav[aria-label="Account actions"]{flex:0 0 auto}.hm-product-switcher a{flex-basis:44px;height:44px}}

@media(max-width:760px){.hm-customer-owner .hm-sidebar{top:120px;height:calc(100dvh - 120px)}}



/* A separate navigation band, outside page content and its width constraints. */
.hm-customer-owner>.hm-product-submenu{margin:0 0 0 226px;padding:10px 30px;background:var(--side);border-bottom:1px solid var(--line);min-height:65px}
@media(max-width:760px){.hm-customer-owner>.hm-product-submenu{margin-left:0;padding:8px 16px;flex-wrap:wrap}.hm-task-menu{position:static}.hm-task-menu>div{left:16px;right:16px;min-width:0;top:calc(100% + 4px)}.hm-customer-owner .hm-sidebar{z-index:60}}
