.role-panel {
    display: grid;
    gap: .625rem;
    max-inline-size: 47rem;
}

.role-panel h2 {
    margin: .625rem 0 0;
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
}

.role-panel__highlight {
    display: grid;
    gap: .45rem;
    padding: clamp(1rem, 3vw, 1.5rem);
    border-radius: 1rem;
    background: #243a58;
    color: #f7f9fc;
}

:root[data-theme="dark"] .role-panel__highlight {
    background: #152e4e;
    border: 1px solid var(--line);
}

.role-panel__highlight h2 {
    margin: 0;
    font-size: clamp(1.4rem, 4vw, 2rem);
}

.role-panel__highlight p, .role-panel__empty { margin: 0; }
.role-panel__highlight-label { font-size: .875rem; font-weight: 700; }
.role-panel__action {
    justify-self: start;
    margin-block-start: .375rem;
    min-block-size: 44px;
    padding: .625rem 1rem;
    border-radius: .625rem;
    background: #f0cdac;
    color: #142c4b;
    font-weight: 700;
    text-decoration: none;
}

.role-panel__row, .role-panel__empty {
    padding: .75rem .875rem;
    border: 1px solid var(--line);
    border-radius: .8rem;
    background: var(--surface);
    overflow-wrap: anywhere;
}

.role-panel__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    min-block-size: 48px;
    text-decoration: none;
}

.role-panel__row:hover { border-color: var(--accent); }
.role-panel__muted { display: block; color: var(--muted); font-size: .875rem; }
.role-panel__arrow { font-size: 1.35rem; font-weight: 650; }
