/* SmartAI workspace picker (Enhancement #11630). DxFlyout renders outside the
   chat panel, so these rules cannot live in the panel's scoped CSS. */
.smartai-ws-picker {
    z-index: 1250 !important;
}

.smartai-ws-picker__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    max-height: min(420px, 70vh);
}

.smartai-ws-picker__list {
    height: auto !important;
    max-height: 260px;
    overflow: auto;
}

.smartai-ws-picker__list .dxbl-scroll-viewer,
.smartai-ws-picker__list .dxbl-scroll-viewer-content {
    height: auto !important;
    max-height: 258px;
}

.smartai-ws-picker__item {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}

.smartai-ws-picker__item-name {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.smartai-ws-picker__item-meta {
    font-size: 0.75rem;
    opacity: 0.7;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.smartai-ws-picker__empty,
.smartai-ws-picker__hint,
.smartai-ws-picker__error {
    font-size: 0.8rem;
    padding: 2px 4px;
}

.smartai-ws-picker__empty {
    opacity: 0.7;
}

.smartai-ws-picker__hint {
    color: #b45309;
}

.smartai-ws-picker__error {
    color: #b70e0c;
}

.smartai-ws-picker__create {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding-top: 6px;
    border-top: 1px solid var(--gnt-border-subtle, #e2e5ea);
}

.smartai-ws-picker__new-name {
    flex: 1 1 100%;
}

.smartai-ws-picker__create-actions {
    display: flex;
    gap: 6px;
}

.smartai-ws-picker__manage {
    margin-left: auto;
    font-size: 0.8rem;
}
