/* Compact user management; scoped to avoid changing financial tables. */
.admin-management-head { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.admin-management-head .page-title { margin-bottom: 0; }
.admin-sync-control { max-width: 100%; }
.admin-sync-control .btn { min-height: 44px; font: inherit; }
.admin-sync-control .hint { margin: 8px 0 0; max-width: 520px; }
.admin-sync-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-sync-actions .btn { font-family: inherit; min-height: 44px; white-space: normal; }
.au-line { min-width: 0; max-width: 100%; margin-top: 8px; }
.au-line .pill { white-space: normal; }
.au-line-id { display: block; max-width: 100%; box-sizing: border-box; margin-top: 5px; padding: 6px; border-radius: 4px; background: #f1f5f9; font-family: inherit; font-size: 11px; white-space: nowrap; overflow-x: auto; overflow-wrap: normal; word-break: normal; user-select: all; }
.au-line-id:focus-visible { outline: 2px solid #1677d2; outline-offset: 2px; }
.admin-users .table-scroll { overflow: visible; }
.admin-users .au-table { width: 100%; min-width: 0; table-layout: fixed; }
.au-col-account { width: 25%; }
.au-col-legal { width: 19%; }
.au-col-stations { width: 31%; }
.au-col-status { width: 15%; }
.au-col-actions { width: 10%; }
.admin-users .au-table th, .admin-users .au-table td { padding: 14px 12px; vertical-align: top; white-space: normal; overflow-wrap: normal; word-break: normal; }
.admin-users .au-table th { font-size: 12px; }
.au-account b, .au-account .hint, .au-legal .hint, .au-username, .au-last-login { display: block; }
.au-account b { line-height: 1.6; }
.au-account .hint, .au-legal .hint { margin-top: 3px; line-height: 1.6; }
.au-account, .au-legal { overflow-wrap: anywhere !important; }
.au-username { color: var(--muted); font-size: 12px; margin-top: 2px; overflow-wrap: anywhere; }
.au-last-login { font-size: 11px; color: var(--muted); margin-top: 8px; white-space: nowrap; }
.au-stations { padding: 0; margin: 0; list-style: none; line-height: 1.75; }
.au-stations li + li { margin-top: 6px; }
.au-more { margin-top: 6px; font-size: 12px; }
.au-more summary { color: #1260aa; cursor: pointer; padding: 4px 0; }
.au-manage > summary { display: flex; justify-content: center; align-items: center; cursor: pointer; list-style: none; min-height: 36px; padding: 0 8px; white-space: nowrap; }
.au-manage > summary::-webkit-details-marker { display: none; }
.au-manage[open] > summary { background: #eef5ff; }
.admin-users .au-manage .row-actions { display: flex; flex-direction: column; align-items: stretch; gap: 6px; margin-top: 8px; }
.admin-users .au-manage .btn { font-size: 11px; padding: 8px 4px; min-height: 36px; height: auto; white-space: normal; }
.au-manage summary:focus-visible, .au-more summary:focus-visible { outline: 2px solid #1677d2; outline-offset: 3px; }
@media (max-width: 900px) and (min-width: 761px) {
  .au-col-account { width: 23%; } .au-col-legal { width: 18%; } .au-col-stations { width: 30%; } .au-col-status { width: 17%; } .au-col-actions { width: 12%; }
  .admin-users .au-table th, .admin-users .au-table td { padding: 12px 8px; }
}
@media (max-width: 760px) {
  .admin-users .panel-head { padding-bottom: 12px; gap: 12px; flex-wrap: wrap; }
  .admin-users .panel-head h2 { font-size: 16px; }
  .admin-users .panel-head > .btn { min-height: 44px; }
  .admin-users .au-table, .admin-users .au-table tbody { display: block; }
  .admin-users .au-table colgroup, .admin-users .au-table thead { display: none; }
  .admin-users .au-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'account status' 'stations stations' 'legal actions'; gap: 12px; padding: 16px 0; border-bottom: 1px solid #e7edf4; }
  .admin-users .au-table td { padding: 0; border: 0; min-width: 0; }
  .au-account { grid-area: account; }
  .au-status { grid-area: status; text-align: right; }
  .au-station-cell { grid-area: stations; }
  .au-legal { grid-area: legal; }
  .au-actions { grid-area: actions; min-width: 108px !important; align-self: start; }
  .au-station-cell::before, .au-legal::before { content: attr(data-label); display: block; font-size: 11px; color: var(--muted); margin-bottom: 4px; }
  .au-stations { font-size: 13px; }
  .admin-users .au-manage .btn, .au-manage > summary { min-height: 44px; font-size: 12px; }
  .au-more summary { min-height: 44px; display: flex; align-items: center; }
}
