/* System settings → Account (REQ-169.1.5, Pablo's mockup m1 v2 on REQ-169):
   the account name, its projects with their logo or initials, counts and
   actions, and Add a project. The colour tokens are in ../styles.css. */
.ac-name, .ac-add { display: grid; gap: 6px; margin: 4px 0 12px; }
.ac-name label, .ac-add label { font-weight: 700; }
.ac-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; max-width: 640px; }
.ac-row input, .ac-main input { flex: 1 1 220px; min-height: 44px; box-sizing: border-box; padding: 8px 12px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--panel); color: var(--ink); font: 500 15px/1.2 var(--font-body); }
.ac-main input[aria-invalid="true"] { border-color: var(--blocked); }
.ac-row input:focus-visible, .ac-main input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* The file input is the label's sibling (Rex on #186), as on the Buildings tab. */
.ac-acts:has(.bl-file-input:focus-visible) .ac-file { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Row actions are the quiet kind; Save and Add project stay the accent. */
.ac-acts .btn:not(.primary) { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.ac-row .btn, .ac-acts .btn { min-height: 44px; padding-block: 0; }
.ac-owner { color: var(--mute); margin: 4px 0 12px; }
.ac-note.bad { color: var(--blocked); }
.ac-projects { margin-bottom: 16px; }
.ac-project { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.ac-mark { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; overflow: hidden; background: var(--sunken); }
.ac-initials { background: var(--accent); color: var(--on-accent); font: 800 16px/1 var(--font-display); }
.ac-logo { width: 100%; height: 100%; object-fit: contain; }
.ac-main { flex: 1 1 200px; display: grid; gap: 2px; min-width: 0; }
.ac-pname { font-weight: 700; overflow-wrap: anywhere; }
.ac-meta { color: var(--mute); font-size: 14px; }
.ac-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.ac-file { display: inline-flex; align-items: center; }
.ac-logo-hint { max-width: 60ch; }
@media (max-width: 520px) {
  .ac-acts { width: 100%; }
  .ac-acts .btn { flex: 1 1 auto; justify-content: center; }
}
