/* New IAM panel only; preserve the existing BS admin layout. */
#iam-preview { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 100%; }
#iam-operations details { min-width: 12rem; }
#iam-operations li { overflow-wrap: anywhere; }
#policy-panel, #agent-panel { --line: var(--bd); --gold: var(--p); }
#agent-panel .card { display: block; min-height: 0; }
#agent-panel input[type=checkbox] { accent-color: var(--p); }
@media (max-width: 760px) {
  #iam-operations thead { display: none; }
  #iam-operations tbody, #iam-operations tr { display: block; }
  #iam-operations td { display: block; border: 0; overflow-wrap: anywhere; word-break: keep-all; }
  #iam-operations td::before { content: attr(data-label); display: block; font-weight: 700; margin-bottom: 5px; }
  #iam-operations tr + tr { border-top: 1px solid #ddd; }
}
