/* Экран «Аккаунты»: кабинеты, ФП, план пополнений, аудит пикселей KT, редактор ФП. */
.ac-chips { flex-wrap: wrap; row-gap: 3px; }
.ac-run { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.ac-reason { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; vertical-align: bottom; }
.ac-cap { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ac-cap.ok { color: var(--acid-text); }
.ac-cap.warn { color: var(--amber); }
.ac-cap.bad { color: var(--rose); font-weight: 600; }
.ac-debt { color: var(--rose); }
.ac-ava { width: 30px; height: 30px; border-radius: 9px; display: inline-grid; place-items: center; font: 700 11px var(--display); background: var(--surface-hi); border: 1px solid var(--line-strong); color: var(--text-2); }

.ac-group { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; }
.ac-group > summary { cursor: pointer; font-weight: 600; }
.ac-line { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto 110px; gap: 10px; align-items: baseline; padding: 4px 0; border-top: 1px dashed var(--line); font-size: 13px; }
.ac-line:first-of-type { border-top: 0; }
.ac-line b { text-align: right; font-variant-numeric: tabular-nums; }
.ac-text { width: 100%; min-height: 160px; font: 400 12.5px/1.5 var(--mono); padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-raise); color: var(--text); resize: vertical; }

.ac-audit-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; padding: 8px 0; border-top: 1px dashed var(--line); font-size: 13px; }
.ac-audit-row:first-of-type { border-top: 0; }
.ac-audit-row > div { min-width: 0; }

.ac-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 16px; }
.ac-pane .field input[type="file"] { padding-top: 9px; }
.ac-pane .btn-sm { justify-self: start; }
img.ac-ava { object-fit: cover; padding: 0; }
