/* Гайд «для чайников» в кабинете клиента */
.guide { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, transparent), color-mix(in srgb, var(--violet) 6%, transparent));
  border: 1px solid var(--accent-soft); border-radius: 14px; padding: 16px 18px; margin-bottom: 16px; }
.guide-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.guide-head b { font-size: 15px; font-weight: 700; }
.guide-head .g-hide { color: var(--muted); cursor: pointer; font-size: 12.5px; background: none; border: none; }
.guide-head .g-hide:hover { color: var(--text); }
.guide ol { margin: 12px 0 0; padding: 0; list-style: none; counter-reset: g; display: grid; gap: 10px; }
.guide li { counter-increment: g; display: grid; grid-template-columns: 26px 1fr; gap: 11px; align-items: start;
  font-size: 13.5px; line-height: 1.5; color: var(--text); min-width: 0; }
.guide li::before { content: counter(g); display: grid; place-items: center; width: 26px; height: 26px;
  border-radius: 8px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 13px; }
.guide li b { font-weight: 700; }
.guide li .g-sub { color: var(--muted); }
.guide li code { background: var(--panel); padding: 1px 5px; border-radius: 5px; font-size: 12px; }
.guide-open { background: none; border: 1px dashed var(--border); color: var(--muted); border-radius: 10px;
  padding: 8px 12px; font-size: 12.5px; cursor: pointer; margin-bottom: 14px; }
.guide-open:hover { color: var(--text); border-color: var(--accent); }

/* список ботов: карточки — аватар, имя + статус, ссылка и токен, кнопки справа (на узком — снизу) */
.bot-list { container: botl / inline-size; }
.bot-row { display: flex; align-items: center; gap: 14px; padding: 14px 6px; border-bottom: 1px solid var(--border); }
.bot-row:last-child { border-bottom: 0; }
.bot-row > .bs-av { width: 40px; height: 40px; border-radius: 12px; font-size: 16px; }
.bt-main { flex: 1; min-width: 0; display: grid; gap: 4px; }
.bt-name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bt-name b { font-size: 14.5px; font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bt-name .u-pill { flex: none; }
.bt-sub { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 12px; color: var(--text-faint); }
.bt-tok code { font: 500 11.5px "IBM Plex Mono", ui-monospace, monospace; color: var(--text-faint); background: none; padding: 0; }
.bt-acts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; flex: none; max-width: 56%; }
@container botl (max-width: 760px) {
  .bot-row { flex-wrap: wrap; }
  .bt-main { flex-basis: calc(100% - 54px); }
  .bt-acts { max-width: none; width: 100%; justify-content: flex-start; padding-left: 54px; }
}
@container botl (max-width: 420px) { .bt-acts { padding-left: 0; } .bt-sub { flex-wrap: wrap; row-gap: 2px; } }
.bot-link { display: block; color: var(--accent); font-size: 12px; text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.bot-link:hover { text-decoration: underline; }
.bot-err { color: var(--gold); font-size: 11.5px; line-height: 1.35; margin-top: 4px; }
