/* The Team page's members table, shared by the vendor and ISO sides (vendor-workspace.js, iso-team.js). */
.vw-team-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 20px 0 12px;
}
.vw-team-filters button {
  padding: 7px clamp(8px, 2vw, 14px);
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
}
.vw-team-filters button[aria-pressed=true] { border-color: var(--rule); background: var(--panel); }
.vw-team-filters span { margin-inline-start: 6px; color: var(--quiet); font-size: 12px; }
.vw-team-table-wrap {
  overflow-x: auto;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 10px;
}
.vw-team-table-wrap:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.vw-team-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.vw-team-table :is(th, td) {
  padding: 12px clamp(8px, 2vw, 20px);
  text-align: start;
  border-bottom: 1px solid var(--rule);
  vertical-align: middle;
}
.vw-team-table thead { color: var(--quiet); font-size: 12px; }
.vw-team-table tbody th { font-weight: 600; overflow-wrap: anywhere; }
.vw-team-table tbody th small { margin-inline-start: 7px; color: var(--quiet); font-size: 11px; }
.vw-team-table tbody tr:last-child > * { border-bottom: 0; }
.vw-team-table :is(th, td):nth-child(2) { width: 27%; }
.vw-team-table :is(th, td):last-child { width: 1%; }
.vw-team-status { display: block; margin-block-start: 3px; color: var(--quiet); font-size: 12px; line-height: 1.4; }
.vw-team-status.pending { color: var(--accent-text); }
.vw-team-invite-date { display: block; color: var(--quiet); white-space: nowrap; }
.vw-team-invite-actions { display: flex; align-items: center; }
.vw-team-invite-actions .quiet-icon .ui-icon { width: 17px; height: 17px; }
.vw-team-invite-actions button.vw-revoke-invite { color: var(--danger); }
.vw-team-invite-actions button.vw-revoke-invite:enabled:hover { color: var(--danger); background: var(--danger-soft); }
.vw-team-row-menu { width: max-content; max-width: 150px; }
.vw-team-row-menu summary { cursor: pointer; min-height: 44px; align-content: center; }
.vw-team-row-menu button { display: block; font-size: 13px; }
.vw-team-guide { margin: 20px 0; }
.vw-team-guide summary { cursor: pointer; font-size: 14px; }
.vw-team-guide .vw-permissions { max-width: 720px; }
@media (max-width: 440px) {
  .vw-team-table { font-size: 13px; table-layout: fixed; }
  .vw-team-table :is(th, td):last-child { width: 96px; }
  .vw-team-invite-date { white-space: normal; }
  .vw-team-row-menu { max-width: 100%; }
}
.vw-company-settings {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.vw-company-settings form {
  max-width: 480px;
  display: grid;
  gap: 16px;
}
.vw-company-settings p {
  max-width: 600px;
}
/* The ISO page styles table cells globally; keep the shared table the same on both sides. */
.vw-team-table :is(th, td) { background: transparent; white-space: normal; }
.vw-team-table thead th { color: var(--quiet); font-size: 12px; font-weight: 600; }
.vw-team-table tbody th { color: var(--text); font-size: 14px; font-weight: 600; }
.vw-team-table tbody td { color: var(--text); font-size: 14px; }
.vw-team-table tbody tr:hover { background: transparent; }
.vw-team-table tbody tr:last-child > * { border-bottom: 0; }
