/* Settings → People (site/people.js): who may use each brand and what they may do. */
.people .brand-row { display: flex; align-items: center; gap: 0.8rem; }
.people .brand-row .av { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; font: 700 0.75rem var(--font-text); background: var(--av, #5d6475); flex: none; }
.people .person { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.people .who-col { flex: 1; min-width: 12rem; display: flex; flex-direction: column; }
.people .perms { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.people .perm { display: inline-flex; align-items: center; gap: 4px; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.8rem; cursor: pointer; border: 1px solid var(--line); color: var(--muted); background: none; font-family: inherit; }
.people .perm[aria-pressed="true"] { background: color-mix(in srgb, var(--accent) 16%, transparent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); color: var(--ink); }
.people .perm:disabled { cursor: default; opacity: 0.75; }
.people .role { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 0.15rem 0.5rem; border-radius: 999px; background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }
.people .role.owner { background: color-mix(in srgb, var(--info) 16%, transparent); color: var(--info); }
.people .invite { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 0.6rem; align-items: center; padding: 0.9rem 1.1rem; border-top: 1px solid var(--hair); }
.people .invite input[type="email"] { background: var(--card-hi); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 0.55rem 0.75rem; font: inherit; min-width: 0; }
.people .x { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 1.1rem; padding: 0.2rem 0.4rem; border-radius: 8px; }
.people .x:hover { color: var(--bad); background: color-mix(in srgb, var(--bad) 10%, transparent); }
.people .legend { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 0.8rem; margin: 0.6rem 0 0; font-size: 0.85rem; }
.people .legend dt { font-weight: 600; }
.people .legend dd { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .people .invite { grid-template-columns: 1fr; } }
.people .nowrap { white-space: nowrap; }
.people .tabs-row { flex-basis: 100%; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.people .tabs-row .tabs-label { margin-right: 0.3rem; }
.people .invite .tabs-row { grid-column: 1 / -1; }
