/* Companies, people and API keys pages (pages/companies.js, people.js, keys.js). */
.acct-table td { vertical-align: middle; }
.acct-row-actions { text-align: right; white-space: nowrap; }
.acct-row-actions > * + * { margin-left: 4px; }
.acct-table tr.acct-here td { background: var(--soft); }
.acct-table tr.acct-revoked td { color: var(--muted); opacity: .6; }
.acct-table tr.acct-revoked td code { text-decoration: line-through; }
.acct-you { margin-left: 8px; }
.acct-mono, .acct-table code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
.btn.acct-danger { color: var(--danger); }
.btn.primary.acct-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.acct-notice { padding: 10px 14px; border-radius: 10px; background: var(--soft); border-left: 3px solid var(--ok); margin-bottom: 16px; }
.acct-warning { padding: 10px 14px; border-radius: 10px; background: var(--soft); border-left: 3px solid var(--accent); font-weight: 600; }
.acct-keybox { display: flex; gap: 8px; align-items: center; }
.acct-keybox .acct-key { flex: 1; min-width: 0; }
dialog.acct-wide { width: min(620px, 94vw); }
.acct-first { text-align: center; padding: 6vh 10px; border: 1px dashed var(--line); border-radius: 16px; background: var(--panel); }
.acct-first h2 { font-size: 20px; margin-bottom: 6px; }
.acct-first p { max-width: 520px; margin: 0 auto 16px; }
.acct-banner { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 10px 16px;
  background: var(--soft); border-bottom: 1px solid var(--line); }
.acct-intro { max-width: 640px; }
.acct-how { max-width: 640px; }

/* Phones: each row becomes a small card with labels. */
@media (max-width: 700px) {
  .acct-table thead { display: none; }
  .acct-table, .acct-table tbody, .acct-table tr, .acct-table td { display: block; width: 100%; }
  .acct-table tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .acct-table td { border: 0; padding: 3px 4px; text-align: left; }
  .acct-table td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-size: 12px; }
  .acct-table td.num { text-align: left; }
  .acct-row-actions { text-align: left; white-space: normal; }
  .addperson { grid-template-columns: 1fr; }
}
