/* v92: one sliding highlight for every segmented switch (see slider.js). The shape is the switch's own ::before; the selected button
   keeps its text colour and loses its own background while the shape sits behind it. */
.seg-host.seg-rel{position:relative}
.seg-host::before{content:'';position:absolute;left:0;top:0;z-index:0;width:var(--sp-w,0);height:var(--sp-h,0);transform:translate(var(--sp-x,0),var(--sp-y,0));border-radius:var(--sp-r,10px);
 background:var(--sp-bg,color-mix(in srgb,var(--blue,#1b75bb) 12%,transparent));box-shadow:var(--sp-shadow,none);opacity:var(--sp-o,0);pointer-events:none;
 transition:transform .24s cubic-bezier(.3,.7,.2,1),width .24s cubic-bezier(.3,.7,.2,1),height .24s cubic-bezier(.3,.7,.2,1)}
.seg-host.seg-still::before{transition:none}
.seg-host>button,.seg-host>a{position:relative;z-index:1;transition:color .2s}
.seg-host.seg-host.seg-host.seg-host>[aria-pressed=true],.seg-host.seg-host.seg-host.seg-host>[aria-selected=true],.seg-host.seg-host.seg-host.seg-host>[aria-current=page],.seg-host.seg-host.seg-host.seg-host>button.active{background:transparent!important;box-shadow:none!important}
/* the colour of the shape follows what the selected button used to wear */
.seg.seg-host,.workspace-tabs.seg-host{--sp-bg:#fff;--sp-shadow:0 2px 5px #183d5714}
.segmented.seg-host{--sp-bg:var(--surface,#fff);--sp-shadow:var(--shadow,none)}
.cm .segmented.seg-host{--sp-bg:var(--blue-solid,#1b75bb);--sp-shadow:none}
@media(max-width:750px){.workspace-tabs.seg-host{--sp-bg:#e1eef9;--sp-shadow:none}}
html[data-theme=dark] .seg.seg-host,html[data-theme=dark] .workspace-tabs.seg-host{--sp-bg:#29425e;--sp-shadow:none}
@media(max-width:750px){html[data-theme=dark] .workspace-tabs.seg-host{--sp-bg:#2b4763}}
@media(prefers-reduced-motion:reduce){.seg-host::before{transition:none}.seg-host>button,.seg-host>a{transition:none}}
