/* apps/msmc/msmc.css — панель «Мультичат для МоегоСклада» (2026-10-03).
   И страница раздела app_msmc, и окно решения в МойСклад (/msmc-vendor/iframe). */
.msmc-panel .msmc-card { border-radius: 10px; }
.msmc-panel details.msmc-card > summary { cursor: pointer; list-style: none; }
.msmc-panel details.msmc-card > summary::-webkit-details-marker { display: none; }
.msmc-panel details.msmc-card > summary::before { content: '▸ '; color: #888; }
.msmc-panel details.msmc-card[open] > summary::before { content: '▾ '; }
.msmc-panel .form-check-input, .msmc-panel input, .msmc-panel select { margin-bottom: 0; }
.msmc-panel textarea.font-monospace { font-size: 12px; }
.msmc-panel .msmc-code {
    font: 600 26px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .12em;
    padding: 10px 14px; border: 1px dashed #036ce5; border-radius: 8px; background: #f2f7fe; text-align: center;
}
.msmc-panel .msmc-states .form-check-inline { margin-right: 14px; }
.msmc-iframe-body { background: #fff; font-size: 14px; }
.msmc-modal { position: fixed; inset: 0; background: rgba(0, 0, 0, .35); display: flex; align-items: center; justify-content: center; z-index: 10000; padding: 16px; }
.msmc-modal__box { background: #fff; color: #1a1d23; border-radius: 10px; padding: 20px; max-width: 460px; width: 100%; box-shadow: 0 10px 40px rgba(0, 0, 0, .2); }
.msmc-modal__title { font-weight: 600; margin-bottom: 8px; }
.msmc-modal__text { white-space: pre-line; word-break: break-word; margin-bottom: 16px; }
.msmc-modal__btns { display: flex; gap: 8px; justify-content: flex-end; }
/* 2026-10-20: окна решения — вкладки «Мультичат» / «Настройки МоегоСклада», окно «Чаты» */
.msmc-topbar { display: flex; align-items: flex-end; gap: 8px; border-bottom: 1px solid #dee2e6; }
.msmc-topbar .msmc-tabs { border-bottom: 0; flex: 1 1 auto; flex-wrap: nowrap; }
.msmc-topbar .nav-link { color: #5f6d79; white-space: nowrap; }
.msmc-topbar .nav-link.active { color: #091739; font-weight: 600; }
.msmc-live { margin-bottom: 8px; }
.msmc-reload { margin-bottom: 4px; line-height: 1; }
.msmc-frame-wrap { position: relative; }
.msmc-frame { display: block; width: 100%; height: 640px; border: 0; }
.msmc-frame-wait { position: absolute; left: 0; right: 0; top: 16px; text-align: center; pointer-events: none; }
.msmc-chat-body { margin: 0; overflow: hidden; }
.msmc-panel--chat { padding: 0 !important; max-width: none !important; }
.msmc-panel--chat .msmc-frame { height: 100vh; }
@media (max-width: 560px) { .msmc-live { display: none; } }
