/* Live availability: slow breathing light, independent of the status polling. */
.workspace-link__copy .workspace-status {
  display:flex;align-items:flex-start;gap:5px;min-height:26px;margin-top:2px;
  color:#b7bcc1;font-size:10px;line-height:1.3;font-weight:500;letter-spacing:0;text-transform:none;
}

.workspace-status::before {content:"";flex:0 0 5px;width:5px;height:5px;margin-top:4px;border-radius:50%;background:#858c94;}
.workspace-status[data-state="unknown"]{visibility:hidden;}
.workspace-status[data-state="ready"] {color:#a4d3b8;}
.workspace-status[data-state="ready"]::before {background:#74b38f;}
.workspace-status[data-state="limited"],.workspace-status[data-state="maintenance"] {color:#e0c08a;}
.workspace-status[data-state="limited"]::before,.workspace-status[data-state="maintenance"]::before {background:#c9a667;}
.workspace-status[data-state="offline"] {color:#dca8a8;}
.workspace-status[data-state="offline"]::before {background:#c98d8d;}
@media(max-width:760px){.workspace-link__copy .workspace-status{justify-content:center;font-size:9px;min-height:24px;gap:4px;}}
@media(max-width:900px){.shell:has(> #chatView:not([hidden])) .workspace-link__copy .workspace-status{justify-content:flex-start;font-size:9px;min-height:24px;}}
@media(max-width:420px){
 .shell:has(> #chatView:not([hidden])) .workspace-links--designed .workspace-link{min-height:70px;}
 .shell:has(> #chatView:not([hidden])) .workspace-link__icon{display:none;}
 .shell:has(> #chatView:not([hidden])) .workspace-link__copy{text-align:center;}
 .shell:has(> #chatView:not([hidden])) .workspace-link__title{white-space:normal;overflow-wrap:anywhere;}
 .shell:has(> #chatView:not([hidden])) .workspace-link__copy .workspace-status{justify-content:center;}
}

/* Registered color interpolates inside the continuously breathing halo. */
@property --bk-signal-color {
 syntax:"<color>";
 inherits:false;
 initial-value:#74b38f;
}
/* A small luminous core and an expanding halo. Text updates immediately. */
.workspace-link__copy .workspace-status {gap:7px;transition:color 700ms cubic-bezier(.22,1,.36,1);}
.workspace-status::before {
 --bk-signal-color:#74b38f;
 flex-basis:6px;width:6px;height:6px;
 background:var(--bk-signal-color);
 box-shadow:0 0 7px color-mix(in srgb,var(--bk-signal-color) 38%,transparent);
 transition:--bk-signal-color 700ms cubic-bezier(.22,1,.36,1),background-color 700ms cubic-bezier(.22,1,.36,1);
 transform-origin:center;
 animation:bk-node-breathe 3.8s cubic-bezier(.45,0,.25,1) var(--signal-phase,0s) infinite;
}
.workspace-status[data-state="offline"]::before {--bk-signal-color:#c98d8d;}
[data-tool-availability="photo"]::before {--signal-phase:-.7s;}
[data-tool-availability="coding"]::before {--signal-phase:-1.8s;}
[data-tool-availability="studio"]::before {--signal-phase:-2.8s;}
.brandbar > .status i {
 background:#73ddb0;
 animation:bk-contour-breathe 3.6s cubic-bezier(.45,0,.25,1) infinite;
}
.brandbar > .status i::after {
 inset:-4px;border-color:rgba(115,221,176,.48);
 animation:bk-contour-wave 3.6s cubic-bezier(.2,.6,.35,1) infinite;
}
@keyframes bk-node-breathe {
 0%,100% {transform:scale(.92);box-shadow:0 0 0 0 color-mix(in srgb,var(--bk-signal-color) 20%,transparent),0 0 6px color-mix(in srgb,var(--bk-signal-color) 32%,transparent);}
 38% {transform:scale(1.12);box-shadow:0 0 0 3px color-mix(in srgb,var(--bk-signal-color) 10%,transparent),0 0 13px color-mix(in srgb,var(--bk-signal-color) 65%,transparent);}
 75% {transform:scale(.98);box-shadow:0 0 0 7px color-mix(in srgb,var(--bk-signal-color) 0%,transparent),0 0 8px color-mix(in srgb,var(--bk-signal-color) 40%,transparent);}
}
@keyframes bk-contour-breathe {
 0%,100% {transform:scale(.9);box-shadow:0 0 0 2px rgba(115,221,176,.05),0 0 8px rgba(115,221,176,.4);}
 42% {transform:scale(1.12);box-shadow:0 0 0 4px rgba(115,221,176,.1),0 0 20px rgba(115,221,176,.8);}
}
@keyframes bk-contour-wave {
 0% {transform:scale(.5);opacity:0;}
 15% {opacity:.65;}
 75%,100% {transform:scale(1.65);opacity:0;}
}
html.status-motion-paused .workspace-status::before,
html.status-motion-paused .brandbar > .status i,
html.status-motion-paused .brandbar > .status i::after {animation-play-state:paused!important;}
@media(prefers-reduced-motion:reduce){
 .workspace-status,.workspace-status::before,.brandbar > .status i,.brandbar > .status i::after {animation:none!important;transition:none!important;transform:none;}
 .brandbar > .status i::after {opacity:0;}
}
