/* 08.10.2026: подключение команды к боту (bot-connect.js). */
.bc-card{display:grid;gap:10px;margin-bottom:16px}
.bc-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.bc-head h3{margin:0 0 2px}
.bc-head p{margin:0;font-size:.86rem}
.bc-num{font-size:1.5rem;font-weight:800;white-space:nowrap}
.bc-bar{height:8px;border-radius:4px;background:var(--surface-3,#eee);overflow:hidden}
.bc-bar i{display:block;height:100%;background:var(--bar-main,var(--brand,#501122));border-radius:4px}
.bc-legend{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:.82rem;color:var(--muted)}
.bc-legend i{display:inline-block;width:9px;height:9px;border-radius:2px;margin-right:6px;vertical-align:baseline}
.bc-ok{background:var(--bar-main,var(--brand,#501122))}
.bc-wait{background:var(--school,#f2c45f)}
.bc-none{background:var(--surface-3,#ddd);border:1px solid var(--line,#ccc)}
.bc-cta{display:flex;gap:8px}
.bc-msg{display:grid;gap:8px;margin:14px 0}
.bc-msg textarea{width:100%;resize:none;font:inherit;font-size:.9rem;border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:var(--surface-2,transparent);color:var(--text)}
.bc-group{margin:10px 0}
.bc-group>summary{cursor:pointer;font-weight:700;padding:6px 0}
.bc-group>p{margin:2px 0 8px;font-size:.84rem}
.bc-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 0;border-top:1px solid var(--line)}
.bc-row>div:first-child{display:grid;gap:2px;min-width:0}
.bc-row small{font-size:.78rem}
.bc-acts{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.bc-invite{display:flex;gap:6px;align-items:center;flex-wrap:wrap;padding:0 0 8px}
.bc-invite input{flex:1;min-width:180px;font-size:.82rem}
@media(max-width:600px){.bc-row{flex-direction:column;align-items:flex-start}.bc-acts{justify-content:flex-start}.bc-head{flex-direction:column;gap:6px}}
.bc-dialog .bc-head h3{display:none}
