.ws-panel{position:relative;display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #41516a;border-radius:7px;background:linear-gradient(145deg,#182637,#101923);color:#dce9f6;text-decoration:none;box-sizing:border-box}.rail .ws-panel,.nav .ws-panel{display:flex;padding:8px 9px}.ws-panel:hover,.ws-panel:focus-visible{border-color:#7daedb;color:white}.ws-panel[data-ws-selected=true]{border-color:#45d886;box-shadow:inset 0 0 12px #35d17b22,0 0 7px #35d17b33}.ws-dot{display:inline-block;width:8px;height:8px;min-width:8px;border-radius:50%;background:var(--ws-color,#ef4444);box-shadow:0 0 7px var(--ws-color,#ef4444);margin-inline-start:auto}.ws-legend .ws-dot{margin:0 8px 0 0}[data-ws-state=idle]{--ws-color:#ef4444}[data-ws-state=active]{--ws-color:#39e879}[data-ws-state=busy]{--ws-color:#facc15}[data-ws-state=review]{--ws-color:#369cff}[data-ws-state=approval]{--ws-color:#a855f7}[data-ws-state=error]{--ws-color:#f97316}[data-ws-state=restricted]{--ws-color:#949ba8}[data-ws-state=busy]>.ws-dot{animation:ws-pulse 1.2s infinite alternate}@keyframes ws-pulse{to{opacity:.35}}.ws-legend{font-size:.75rem;padding:8px;border:1px solid #41516a;border-radius:7px;color:inherit}.ws-legend summary{cursor:pointer}.ws-legend div{padding:4px}.ws-sr{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media(prefers-reduced-motion:reduce){.ws-dot{animation:none!important}}body[data-motion=off] .ws-dot{animation:none!important}
.team-channel [data-channel-messages]{max-height:48vh;overflow:auto;display:grid;gap:8px;padding:6px;border:1px solid #263a4c;border-radius:10px;background:#091521}.channel-message p{white-space:pre-wrap;overflow-wrap:anywhere}.team-channel [data-channel-summary]{color:#57cee0;font-variant-numeric:tabular-nums}

.studio-title-brand{display:inline-flex;align-items:center;gap:9px}.studio-title-icon{display:inline-block;width:34px;height:34px;min-width:34px;flex-shrink:0;object-fit:contain;border-radius:7px;vertical-align:middle}.task-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:10px;margin:12px 0}.task-summary-grid article{background:#101e2c;border:1px solid #30455c;border-radius:9px;padding:12px}.task-summary-grid strong{display:block;font-size:1.6rem}.task-summary-grid small{color:#b3c5d9}

/* Legend is in normal flow, never inside a fixed-height header. */
.ws-legend-slot{display:block;position:static;box-sizing:border-box;width:100%;padding:6px 12px;background:#091521;clear:both;grid-column:1/-1;flex:0 0 auto}.ws-legend,.ws-legend-slot .ws-legend{position:static!important;float:none!important;inset:auto!important;box-sizing:border-box;max-width:100%;min-width:0;height:auto!important;flex:0 0 auto;overflow-wrap:anywhere;background:#0b1925}.ws-legend-slot .ws-legend[open]{display:flex;flex-wrap:wrap;gap:4px 16px}.ws-legend-slot summary{flex-basis:100%}.ws-legend div{white-space:normal}.ws-legend-slot .ws-legend div{display:inline-flex;align-items:center}.ws-legend:not([open])>div{display:none}.ws-legend summary{white-space:normal}.ws-legend .ws-dot{flex-shrink:0}
