/* Role detail pages — one unified template shared by every role. */
.rp, .rp-banner { --rp-content: 72rem; --rp-text: 46rem; }
.rp { --role: #1a73e8; color: var(--ink); background: var(--paper); }
.rp a { color: var(--role); text-decoration: none; }
.rp a:hover { text-decoration: underline; }

/* Unified breadcrumb banner */
.rp-banner { background: var(--paper); border-bottom: 1px solid var(--line); padding: 6.2rem 0 0.8rem; }
.rp-banner-inner { max-width: var(--rp-content); margin: 0 auto; padding: 0 1.25rem; }
.rp-banner .rp-crumb { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; font-size: 0.9rem; }
.rp-banner .rp-crumb a { color: var(--muted); text-decoration: none; }
.rp-banner .rp-crumb a:hover { color: var(--role); text-decoration: underline; }
.rp-banner .rp-crumb span { color: var(--muted); }
.rp-banner .rp-crumb strong { color: var(--ink); font-weight: 650; }

/* Unified page body */
.rp-main { max-width: var(--rp-text); margin: 0 auto; padding: 2.4rem 1.25rem 3.5rem; }
.rp-kicker { margin: 0 0 0.5rem; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--role); }
.rp h1 { font-family: var(--serif); font-size: clamp(2.4rem, 3.8vw, 3rem); font-weight: 500; line-height: 1.18; letter-spacing: 0.02em; margin: 0 0 0.8rem; }
.rp-lead { font-size: 1.08rem; line-height: 1.75; color: var(--muted); margin: 0 0 1.2rem; }
.rp-figure { margin: 1.2rem 0 1.8rem; }
.rp-figure img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; display: block; border-radius: var(--radius, 2px); }
.rp-figure figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 0.45rem; }

.rp h2 { font-family: var(--serif); font-size: 1.28rem; font-weight: 600; line-height: 1.35; letter-spacing: 0.02em; margin: 2.1rem 0 0.6rem; }
.rp p { line-height: 1.9; margin: 0 0 1rem; }

/* Shared content components */
.rp-steps { list-style: none; margin: 1.2rem 0 1.4rem; padding: 0; counter-reset: rpstep; }
.rp-steps li { counter-increment: rpstep; position: relative; padding: 0.75rem 0 0.75rem 2.6rem; border-top: 1px solid var(--line); line-height: 1.8; }
.rp-steps li::before { content: counter(rpstep, decimal-leading-zero); position: absolute; left: 0; top: 0.82rem; font-family: var(--mono); font-size: 0.8rem; color: var(--role); }
.rp table.rp-table { width: 100%; border-collapse: collapse; margin: 1.2rem 0 1.6rem; font-size: 0.95rem; }
.rp-table th, .rp-table td { border: 1px solid var(--line); padding: 0.65rem 0.7rem; text-align: left; vertical-align: top; }
.rp-table th { background: var(--ink); color: #fff; }
.rp-back { margin-top: 1.6rem; }

@media (max-width: 860px) {
    .rp-banner { padding-top: 5.2rem; }
    .rp-main { padding: 1.6rem 1.1rem 2.8rem; }
    .rp-figure img { aspect-ratio: 16 / 9; }
}