.ai-bots-section { display: grid; gap: 14px; }
.ai-bots-servers { display: grid; gap: 12px; }
.ai-bots-panel { display: grid; }
.ai-bots-server { display: grid; gap: 14px; }
.ai-bots-group { display: grid; gap: 14px; padding: 14px 16px; border: 1px solid var(--dg-line); border-radius: var(--dg-r-md); background: rgba(255, 255, 255, .025); }
.ai-bots-group__title { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--dg-text); font-size: .95rem; font-weight: 700; }
.ai-bots-group__title i { color: var(--dg-highlight); font-size: 15px; }
.ai-bots-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--dg-text-dim); flex: 0 0 auto; }
.ai-bots-dot.is-on { background: var(--dg-warn); }
.ai-bots-dot.is-running { background: var(--dg-highlight); }
.ai-bots-server__head { padding: 0 2px; }
@media (max-width: 720px) { .ai-bots-servers .mc-tab span { display: inline; } }
.ai-bots-server__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.ai-bots-server__title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-width: 0; }
.ai-bots-server__title strong { color: var(--dg-text); font-size: 15px; overflow-wrap: anywhere; }
.ai-bots-server__title [hidden] { display: none; }
.ai-bots-live { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; color: var(--dg-text-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.ai-bots-live strong { color: var(--dg-text); }
.ai-bots-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px 18px; align-items: start; }
.ai-bots-field { display: grid; gap: 6px; min-width: 0; }
.ai-bots-field--wide { grid-column: 1 / -1; }
.ai-bots-field .popup-input { width: 100%; box-sizing: border-box; }
.ai-bots-hint { margin: 0; color: var(--dg-text-muted); font-size: 12px; }
.ai-bots-hint.is-warn { color: var(--dg-warn); }
.ai-bots-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ai-bots-main { display: grid; gap: 8px; padding: 12px 14px; border: 1px solid var(--dg-line); border-radius: var(--dg-r-sm); background: rgba(255, 255, 255, .02); }
.ai-bots-table td, .ai-bots-table th { white-space: nowrap; }
.ai-bots-server .team-member-empty { padding: 4px 0 0; }
[data-ai-bots-status].is-error { color: var(--dg-danger); }

.ai-bots-server--off .ai-bots-group:not(:last-child) { opacity: .45; filter: grayscale(1); pointer-events: none; }
.ai-bots-server--off .ai-bots-group:not(:last-child) :is(input, select, button, label) { cursor: not-allowed; }
