.profile-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
main:has(.profile-cards)>.page-heading{margin-bottom:18px}
.profile-compliance{display:contents}
.profile-card{
 --profile-paper:var(--panel);
 --profile-ink:var(--text);
 --profile-line:var(--line);
 min-width:0;margin:0;padding:18px;background:var(--profile-paper);color:var(--profile-ink);border-color:var(--profile-line);color-scheme:dark;
}
.profile-card h2{font-size:16px;margin-bottom:8px}
.profile-card-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 8px}
.profile-role{font-size:11px;font-weight:700;color:var(--muted)}
.profile-card p{margin:4px 0 8px;color:var(--muted);font-size:13px}
.profile-card .field{color:var(--profile-ink);margin:7px 0}
.profile-card .field input,.profile-card .field textarea{margin-top:4px;padding:8px 10px;background:var(--bg);color:var(--profile-ink);border-color:var(--profile-line)}
.profile-card .field textarea{min-height:54px}
.profile-card .field small{color:var(--muted)}
.profile-card .form-status{color:var(--success)}.profile-card .form-status.error{color:var(--danger)}
.profile-card .check,.profile-card .subtle{color:var(--muted)}
.profile-card .badge.green{background:color-mix(in srgb,var(--success) 10%,var(--panel));border-color:color-mix(in srgb,var(--success) 28%,var(--line));color:var(--success)}
.profile-card p a,.profile-card label a{color:var(--brand-ink);text-decoration:underline}
.profile-card .authorization{border-color:var(--profile-line)}
.profile-card .authorization small{color:var(--muted)}
.stream-access-requests:not(:empty){border-top:1px solid var(--profile-line);margin-top:12px;padding-top:12px}
.stream-access-requests h3{font-size:14px;margin:0}
.stream-access-list{list-style:none;margin:8px 0 0;padding:0;max-height:280px;overflow:auto}
.stream-access-list li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px 8px;padding:8px 0;border-bottom:1px solid var(--profile-line);overflow-wrap:anywhere}
.stream-access-list small{display:block;color:var(--muted)}
.stream-access-actions{display:flex;flex-wrap:wrap;gap:4px}
.profile-detail{margin-top:8px}.profile-detail summary{cursor:pointer;font-weight:650}
.profile-authorizations{grid-column:1/-1}
@media(min-width:1140px){.profile-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-authorizations{grid-column:span 2}}
@media(max-width:800px){.profile-cards{grid-template-columns:minmax(0,1fr)}}
