/* Shared top-right actions: the workbench home page is the reference. */
:root{--wh-action-size:28px;--wh-action-icon:18px;--wh-action-gap:6px}
html body [data-wh-header-group] button[data-wh-header-action]{color:var(--wh-c43,#aeb7b1)!important}
html body [data-wh-header-group] button[data-wh-header-action]:hover{color:var(--wh-c44,#f1f5f2)!important}
html body [data-wh-header-group]{position:relative;display:flex!important;align-items:center!important;justify-content:flex-end;flex-wrap:nowrap!important;gap:var(--wh-action-gap)!important;width:max-content!important;min-width:0;grid-template-columns:none!important;overflow:visible!important}
html body [data-wh-header-group]>.agentHomeSlot{display:flex!important;align-items:center;justify-content:center;flex:0 0 var(--wh-action-size)!important;width:var(--wh-action-size)!important;height:var(--wh-action-size)!important}
html body [data-wh-header-group] button[data-wh-header-action]{position:relative!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 var(--wh-action-size)!important;width:var(--wh-action-size)!important;min-width:var(--wh-action-size)!important;max-width:var(--wh-action-size)!important;height:var(--wh-action-size)!important;min-height:var(--wh-action-size)!important;margin:0!important;padding:0!important;border:0!important;border-radius:6px!important;background:transparent!important;line-height:1!important;vertical-align:middle;overflow:visible!important}
html body [data-wh-header-group] button[data-wh-header-action][hidden]{display:none!important}
html body [data-wh-header-group] button[data-wh-header-action]>svg{display:block!important;flex:none!important;width:var(--wh-action-icon)!important;height:var(--wh-action-icon)!important;margin:0!important;transform:none!important;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.25!important;stroke-linecap:round;stroke-linejoin:round}
html body [data-wh-header-group] button[data-wh-header-action]>svg>*{vector-effect:non-scaling-stroke}
html body [data-wh-header-group] button[data-wh-header-action]:hover{background:color-mix(in srgb,currentColor 8%,transparent)!important}
html body [data-wh-header-group] button[data-wh-header-action]:focus-visible{outline:1.5px solid currentColor!important;outline-offset:2px!important;box-shadow:none!important}
html body [data-wh-header-group] button[data-wh-header-action] :is(.wh-header-badge,.agentHeaderUnread,#workbenchUnread,#activityUnread,#scheduleWorkbenchUnread,#catalogWorkbenchUnread,#siteWorkbenchUnread){position:absolute!important;top:-4px!important;right:-4px!important;box-sizing:border-box;display:grid;place-items:center;min-width:14px!important;height:14px!important;padding:0 3px!important;border-radius:7px!important;font-size:9px!important;font-weight:500!important;line-height:14px!important;pointer-events:none}
html body [data-wh-header-group] button[data-wh-header-action] [hidden]{display:none!important}
html body [data-wh-header-group] button[data-wh-header-action]::before,html body [data-wh-header-group] button[data-wh-header-action]::after{display:none!important;content:none!important}
html body .wh-header-collapsed,html body [data-wh-header-group] button[data-wh-header-action].wh-header-collapsed{display:none!important}
html body [data-wh-header-group]>.agentHomeSlot:has(>button[hidden]){display:none!important}
.wh-header-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:1000;display:grid;grid-template-columns:repeat(var(--wh-menu-columns,4),var(--wh-action-size));gap:6px;max-width:calc(100vw - 16px);padding:7px;border:1px solid #80808066;border-radius:9px;background:var(--wh-header-surface,#fff);box-shadow:0 5px 20px #0003}
.wh-header-menu[hidden]{display:none!important}
.wh-header-tooltip{position:fixed;z-index:20000;max-width:min(260px,calc(100vw - 16px));box-sizing:border-box;padding:6px 9px;border:1px solid #40464d;border-radius:6px;background:#24282e;color:#fff;box-shadow:0 3px 12px #0003;font:400 12px/1.4 system-ui,sans-serif;text-align:left;white-space:normal;pointer-events:none}
.wh-header-tooltip[hidden]{display:none!important}

/* Keep the bound skill compact beside the same conversation actions. */
html body .agentTaskHeaderActions[data-wh-header-group]{width:100%!important;max-width:100%;justify-content:flex-end}
html body .agentTaskHeaderActions[data-wh-header-group]>.agentSkillControls{flex:1 1 auto;min-width:0!important;overflow:hidden}
html body .agentTaskHeaderActions #skillSummary{display:block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11px;font-weight:400}
html body [data-wh-header-group] button:not([data-wh-header-action]):not([hidden]){box-sizing:border-box;height:28px!important;min-height:28px!important;margin:0!important;padding:3px 7px!important;border-radius:6px!important;font-size:11px!important;font-weight:400!important}
.wh-header-menu:has(>button:not([data-wh-header-action])){min-width:180px;grid-template-columns:repeat(var(--wh-menu-columns,4),minmax(28px,1fr))}
.wh-header-menu>button:not([data-wh-header-action]){grid-column:1/-1;justify-self:stretch;text-align:left}
