.team-space{padding:12px;border-bottom:1px solid #30333b;letter-spacing:0}
.team-space button,.team-space-settings{font:inherit;font-size:13px;letter-spacing:0}
.team-space-toggle,.team-space-option{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;border:0;border-radius:6px;background:transparent;color:inherit;text-align:left;padding:8px;cursor:pointer}
.team-space-toggle>i:first-child,.team-space-option>i:first-child{display:grid;place-items:center;width:28px;height:32px;flex-shrink:0;color:#93c5fd}
.team-space-identity{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
.team-space-identity strong{font-size:13px;font-weight:600;white-space:normal;overflow-wrap:anywhere;line-height:1.4}
.team-space-identity small{font-size:11px;color:#9ca3af;line-height:1.4}
.team-space-toggle>.fa-chevron-down{font-size:10px;flex-shrink:0;transition:transform .15s}
.team-space-toggle[aria-expanded=true]>.fa-chevron-down{transform:rotate(180deg)}
.team-space-options{margin-top:8px;padding-top:8px;border-top:1px solid #30333b;max-height:240px;overflow-y:auto}
.team-space-options[hidden]{display:none!important}
.team-space-option>.fa-check{visibility:hidden;color:#93c5fd;font-size:12px}
.team-space-option[aria-checked=true]{background:#1c2e50}
.team-space-option[aria-checked=true]>.fa-check{visibility:visible}
.team-space button:hover,.team-space-settings:hover{background:#242830}
.team-space button:focus-visible,.team-space-settings:focus-visible{outline:2px solid #60a5fa;outline-offset:-2px}
.team-space-settings{display:flex;align-items:center;gap:10px;min-height:36px;padding:8px;border-radius:6px;margin-top:8px;color:#93c5fd;text-decoration:none}
.team-space button:disabled{opacity:.5;cursor:not-allowed}
.team-space-indicator{display:block;max-width:64px;font-size:10px;font-weight:600;color:#93c5fd;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:0;line-height:1.4}
@media(max-width:768px){.team-space-indicator{display:none}}
.team-workspace-unavailable{padding:12px 20px;background:#302022;color:#fca5a5;font-size:13px;overflow-wrap:anywhere}
.team-workspace-unavailable a{color:inherit;text-decoration:underline}
html[data-theme="light"] .team-space,html[data-theme="light"] .team-space-options{border-color:#e5e7eb}
html[data-theme="light"] .team-space button:hover,html[data-theme="light"] .team-space-settings:hover{background:#f3f4f6}
html[data-theme="light"] .team-space-option[aria-checked=true]{background:#eff6ff}
html[data-theme="light"] .team-space i,html[data-theme="light"] .team-space-settings,html[data-theme="light"] .team-space-indicator{color:#2563eb}
