/* Безопасность в «Команде» (secwatch.js): журнал и окно отключения. 22.11.2026 */
.swj { margin-top: 16px; }
.swj__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.swj__head h3 { margin: 0; }
.swj__head h3 small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; margin-top: 2px; }
.swj__list { display: flex; flex-direction: column; max-height: 460px; overflow-y: auto; }
.swj__row { display: grid; grid-template-columns: 10px minmax(0, 1fr) minmax(0, 220px) 110px; gap: 10px; align-items: baseline;
  padding: 9px 4px; border-top: 1px solid var(--line); font-size: 13px; }
.swj__row:first-child { border-top: 0; }
.swj__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); align-self: center; }
.swj__row.is-alert .swj__dot { background: var(--alert); }
.swj__what small { display: block; color: var(--muted); margin-top: 2px; line-height: 1.35; }
.swj__where, .swj__when { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.swj__when { text-align: right; white-space: nowrap; }
.swj__list::-webkit-scrollbar { width: 8px; }
.swj__list::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }
.swj__list::-webkit-scrollbar-track { background: transparent; }
.swj__list { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }

.sw-off > span:not(.tm__acts) { opacity: .55; }
.sw-badge { color: var(--alert); font-weight: 600; }

.swm__card { max-width: 480px; }
/* Своя красная кнопка: общая .btn--alert в некоторых темах кабинета белая на кремовом. */
.swm .swm__go { background: var(--alert); border-color: var(--alert); color: #fff; }
.swm .swm__go:hover { filter: brightness(.94); }
.swm .swm__go:disabled { opacity: .6; }
.swm__title { margin: 0 0 8px; }
.swm__text { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.swm__label { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.swm__picks { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.swm__picks .chip.is-active { background: var(--accent-tint); border-color: var(--accent); color: var(--accent-ink); }

@media (max-width: 720px) {
  .swj__row { grid-template-columns: 10px minmax(0, 1fr) auto; }
  .swj__where { grid-column: 2 / 4; grid-row: 2; }
}
