.au-badge,.au-pop-state,#agentUpdateTimeline{--au-color:hsl(var(--brand))}
[data-tone="warning"],#agentUpdateTimeline[data-tone="warning"]{--au-color:#b98a38}[data-tone="success"],#agentUpdateTimeline[data-tone="success"]{--au-color:#3baa7d}[data-tone="danger"],#agentUpdateTimeline[data-tone="danger"]{--au-color:#dc6464}
html[data-concept="ribbon"] .au-badge{display:inline-flex;align-items:center;gap:5px;border:1px solid color-mix(in srgb,var(--au-color) 35%,transparent);border-radius:5px;background:color-mix(in srgb,var(--au-color) 10%,transparent);color:var(--au-color);font:500 10px Outfit,sans-serif;min-height:26px;padding:4px 6px;cursor:pointer;white-space:normal;text-align:left;line-height:1.25}
.au-badge:focus-visible{outline:2px solid var(--au-color);outline-offset:2px}
.au-mark{display:inline-flex;align-items:center;justify-content:center;flex:none;width:12px;height:12px;font-size:12px;line-height:1;color:inherit}
.au-mark.au-spin{border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;animation:au-turn 1.1s linear infinite}
@keyframes au-turn{to{transform:rotate(360deg)}}
#agentUpdatePopover{position:fixed;z-index:10000;width:250px;max-width:calc(100vw - 16px);box-sizing:border-box;padding:14px;background:hsl(var(--popover));color:hsl(var(--foreground));border:1px solid hsl(var(--border));border-radius:6px;box-shadow:0 8px 28px #0003;font:12px Outfit,sans-serif}
#agentUpdatePopover[hidden],#agentUpdateTimeline[hidden]{display:none!important}
#agentUpdatePopover>strong{font-size:12px}#agentUpdatePopover>b{display:block;margin:7px 0 14px;font-size:12px}
.au-pop-state{display:flex;gap:7px;align-items:center;color:var(--au-color);font-size:11px}
#agentUpdatePopover p{font-size:11px;line-height:1.5;color:hsl(var(--muted-foreground));margin:10px 0}
#agentUpdatePopover dl{margin:12px 0 0;font-size:10px}#agentUpdatePopover dl>div{display:flex;justify-content:space-between;gap:12px;margin-top:8px}#agentUpdatePopover dt{color:hsl(var(--muted-foreground))}#agentUpdatePopover dd{margin:0}
#agentUpdateTimeline{flex:none;margin:0 16px 10px;padding:11px 14px;border:1px solid hsl(var(--border));border-radius:6px;background:hsl(var(--brand)/.035)}
.au-heading{display:flex;justify-content:space-between;gap:12px;font-size:11px}.au-heading>span{color:hsl(var(--muted-foreground));font-size:10px}.au-heading time{font-variant-numeric:tabular-nums;color:hsl(var(--foreground))}
.au-steps{display:flex;list-style:none;margin:12px 0 8px;padding:0;gap:0}.au-steps li{display:flex;flex:1;align-items:center;gap:7px;font-size:10px;color:hsl(var(--muted-foreground));position:relative}.au-steps li:not(:last-child):after{content:'';height:1px;flex:1;margin:0 12px;background:hsl(var(--border))}.au-step-mark{display:grid;place-items:center;width:20px;height:20px;border:1px solid hsl(var(--border));border-radius:50%;flex:none;font-size:10px;background:hsl(var(--card));z-index:1}.au-steps .done{color:hsl(var(--brand))}.au-steps .done .au-step-mark{border-color:currentColor;background:hsl(var(--brand)/.1)}.au-steps .current{color:var(--au-color)}.au-steps .current .au-step-mark{border-color:currentColor;animation:au-pulse 1.8s ease-in-out infinite}
#agentUpdateTimeline[data-tone="success"] .done{color:var(--au-color)}#agentUpdateTimeline[data-tone="warning"] .current .au-step-mark{animation:none}
#agentUpdateTimeline p{font-size:11px;margin:0;color:hsl(var(--muted-foreground));line-height:1.5}.au-preview-note{display:block;font-size:9px;color:hsl(var(--muted-foreground));margin-top:4px}
@keyframes au-pulse{50%{box-shadow:0 0 0 4px hsl(var(--brand)/.12)}}
@media(max-width:800px){#agentUpdateTimeline{margin-inline:10px;padding:10px}.au-steps li{font-size:9px;gap:4px}.au-steps li:not(:last-child):after{margin-inline:5px}}
@media(prefers-reduced-motion:reduce){.au-spin,.au-steps .current .au-step-mark{animation:none!important}}
@media(max-height:850px){#ribbonInspector.au-has-update{overflow-y:auto}#ribbonInspector.au-has-update>.ri-content{flex:none;min-height:100px;overflow:visible}#ribbonInspector.au-has-update>:not(.ri-content){flex-shrink:0}#agentUpdateTimeline{padding:8px 12px}.au-steps{margin:8px 0}.au-preview-note{display:none}}
/* Equal, centered milestones, with connectors spanning between their centers. */
.au-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:12px 0}
.au-steps li{display:flex;flex-direction:column;justify-content:flex-start;text-align:center;gap:7px;min-width:0}
.au-steps li:not(:last-child):after{position:absolute;top:10px;left:calc(50% + 16px);width:calc(100% - 32px);height:1px;margin:0;flex:none;z-index:0}
.au-steps li>span:last-child{line-height:1.4}
#agentUpdateTimeline>p,#agentUpdateTimeline>.au-preview-note{text-align:center}
