.edge-modern .rp-page { --rp-mono: var(--font-family-roboto-mono, ui-monospace, SFMono-Regular, Menlo, monospace); min-width: 0; padding: 0 0 72px; color: var(--edge-text-primary); }
.edge-modern .rp-page--narrow { max-width: 720px; }
.edge-modern .rp-page a.edge-button, .edge-modern .rp-page button.edge-button { gap: 6px; white-space: nowrap; cursor: pointer; }
.edge-modern .rp-page .edge-button .fa { font-size: 13px; }
.edge-modern .rp-page .edge-button.rp-danger { color: var(--edge-danger); }
.edge-modern .rp-page .edge-button.rp-danger:hover { background: var(--edge-danger-low); }
.rp-page form { margin: 0; }
.rp-page [hidden] { display: none !important; }

.rp-crumbs { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--edge-text-muted); font-size: 14px; white-space: nowrap; }
.rp-crumbs > i { font-size: 10px; }
.edge-modern .rp-crumbs a { color: var(--edge-text-secondary); transition: color var(--edge-transition-fast); }
.edge-modern .rp-crumbs a:hover { color: var(--edge-primary); }
.rp-crumbs > span { overflow: hidden; min-width: 0; color: var(--edge-text-primary); text-overflow: ellipsis; }

.rp-hero { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.rp-hero__text { min-width: 0; }
.edge-modern .rp-hero h1 { margin: 0; color: var(--edge-text-primary); font-size: 28px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.edge-modern .rp-hero__text > p { max-width: 680px; margin: 7px 0 0; color: var(--edge-text-secondary); font-size: 14px; line-height: 1.6; }
.rp-hero__side { display: flex; flex: 0 0 auto; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }

.rp-subnav { display: flex; gap: 8px; min-height: 38px; margin: 0 0 20px; overflow-x: auto; border-bottom: 1px solid var(--edge-border); scrollbar-width: none; }
.rp-subnav::-webkit-scrollbar { display: none; }
.edge-modern .rp-subnav a { position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; padding: 0 10px; color: var(--edge-text); font-size: 16px; white-space: nowrap; transition: color var(--edge-transition-fast); }
.rp-subnav a::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--edge-primary); transform: scaleX(0); transition: transform var(--edge-transition-fast); }
.edge-modern .rp-subnav a:hover, .edge-modern .rp-subnav a[aria-current] { color: var(--edge-primary); }
.rp-subnav a[aria-current]::after { transform: scaleX(1); }

.rp-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.edge-modern .rp-pills a { padding: 3px 10px; border: 1px solid var(--edge-border-light); border-radius: var(--edge-radius-pill); color: var(--edge-text-secondary); font-size: 13px; line-height: 20px; transition: background-color var(--edge-transition-fast), border-color var(--edge-transition-fast), color var(--edge-transition-fast); }
.edge-modern .rp-pills a:hover { border-color: var(--edge-border); background: var(--edge-surface-hover); color: var(--edge-text-primary); }
.edge-modern .rp-pills a[aria-current] { border-color: color-mix(in srgb, var(--edge-primary) 40%, transparent); background: var(--edge-primary-low); color: var(--edge-primary); }

.rp-feedback { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 16px; padding: 9px 12px; border-left: 3px solid var(--edge-primary); border-radius: 0 var(--edge-radius-sm) var(--edge-radius-sm) 0; background: var(--edge-primary-low); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.rp-feedback > .fa { flex: none; margin-top: 5px; color: var(--edge-primary); font-size: 13px; }
.rp-feedback > span { flex: 1 1 auto; min-width: 0; }
.edge-modern .rp-feedback > a { flex: none; color: var(--edge-link); white-space: nowrap; }
.rp-feedback.is-error { border-left-color: var(--edge-danger); background: var(--edge-danger-low); }
.rp-feedback.is-error > .fa { color: var(--edge-danger); }
.edge-modern .rp-hint { margin: 0; color: var(--edge-text-muted); font-size: 13px; line-height: 1.6; }
.edge-modern .rp-hint a { color: var(--edge-link); }


.rp-edit { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; align-items: start; }
.rp-edit__main { min-width: 0; }
.rp-rail { position: sticky; top: calc(var(--edge-header-height) + 18px); display: grid; gap: 14px; min-width: 0; }
.rp-box { padding: 16px 18px; border: 1px solid var(--edge-border-light); border-radius: var(--edge-radius-md); background: var(--edge-surface); }
.edge-modern .rp-box > h2 { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 10px; color: var(--edge-text-primary); font-size: 14px; font-weight: 600; line-height: 1.4; }
.rp-box > h2 span { color: var(--edge-text-muted); font: 400 12.5px/1 var(--rp-mono); }
.rp-box--note { border-style: dashed; background: transparent; }
.rp-box--note .rp-chip { margin: 0 4px; vertical-align: 1px; }
.edge-modern .rp-prose { margin: 0; color: var(--edge-text-secondary); font-size: 14px; line-height: 1.75; white-space: pre-line; overflow-wrap: anywhere; }
.rp-box__list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--edge-text-secondary); font-size: 14px; line-height: 1.6; }
.rp-box__list li { display: flex; align-items: baseline; gap: 8px; min-width: 0; overflow-wrap: anywhere; }
.rp-box__list .fa { flex: none; width: 14px; color: var(--edge-text-muted); font-size: 12px; text-align: center; }
.rp-box__list span, .rp-box__list a { min-width: 0; }
.edge-modern .rp-box__list a { color: var(--edge-link); }
.rp-box .rp-prose + .rp-box__list { margin-top: 10px; }
.rp-box__wide { width: 100%; margin-top: 12px; }
.rp-box__pair { display: flex; gap: 8px; margin: 8px 0 12px; }
.rp-box__pair > * { flex: 1 1 0; min-width: 0; }
.rp-state { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--edge-text-primary); font-size: 14px; line-height: 1.6; }
.rp-state::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--edge-text-muted); }
.rp-state--ok::before { background: var(--edge-success); }
.rp-state--danger::before { background: var(--edge-danger); }
.rp-state--pending { margin-top: 2px; color: var(--edge-text-secondary); font-size: 13px; }
.rp-state--pending::before { background: var(--edge-highlight, var(--edge-primary)); }
.rp-progress { height: 4px; margin: 0 0 12px; overflow: hidden; border-radius: 2px; background: var(--edge-surface-active); }
.rp-progress i { display: block; height: 100%; border-radius: inherit; background: var(--edge-primary); }
.rp-checklist { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; color: var(--edge-text-secondary); font-size: 14px; line-height: 1.5; }
.rp-checklist li { display: flex; align-items: baseline; gap: 8px; }
.rp-checklist .fa { flex: none; width: 14px; color: var(--edge-text-muted); font-size: 13px; text-align: center; }
.rp-checklist .is-done { color: var(--edge-text-muted); }
.rp-checklist .is-done .fa { color: var(--edge-success); }
.edge-modern .rp-checklist a { color: var(--edge-link); }


.rp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; margin-top: 6px; color: var(--edge-text-muted); font-size: 13px; line-height: 20px; }
.rp-meta--lead { margin: 0 0 6px; }
.rp-page time { color: var(--edge-text-muted); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.edge-modern .rp-meta a { display: inline-flex; align-items: center; gap: 5px; color: var(--edge-text-secondary); transition: color var(--edge-transition-fast); }
.edge-modern .rp-meta a:hover { color: var(--edge-primary); }
.rp-meta .fa { font-size: 12px; }
.rp-kind { color: var(--edge-text-secondary); font-weight: 600; }
.rp-page code { padding: 0; background: none; color: var(--edge-text-secondary); font: 12.5px/20px var(--rp-mono); overflow-wrap: anywhere; }
.rp-row--work .rp-meta--lead code { padding: 0 7px; border: 1px solid color-mix(in srgb, var(--edge-primary) 28%, transparent); border-radius: var(--edge-radius-sm); background: var(--edge-primary-low); color: var(--edge-primary); font-weight: 600; }
.rp-chip { display: inline-flex; align-items: center; gap: 4px; padding: 0 7px; border-radius: var(--edge-radius-sm); background: var(--edge-surface-active); color: var(--edge-text-secondary); font-size: 12px; line-height: 20px; white-space: nowrap; }
.rp-chip .fa { font-size: 11px; }
.rp-chip--verified { background: color-mix(in srgb, var(--edge-success) 16%, transparent); color: var(--edge-success); }
.rp-chip--supported, .rp-chip--new { background: var(--edge-primary-low); color: var(--edge-primary); }
.rp-chip--off { color: var(--edge-text-muted); }
.rp-chip--danger { background: var(--edge-danger-low); color: var(--edge-danger); }

.rp-facts { display: grid; gap: 2px; margin: 8px 0 0; font-size: 14px; line-height: 1.7; }
.rp-facts > div { display: flex; gap: 12px; }
.rp-facts dt { flex: none; width: 4em; color: var(--edge-text-muted); }
.rp-facts dd { min-width: 0; margin: 0; color: var(--edge-text-secondary); overflow-wrap: anywhere; }
.rp-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; font-size: 14px; line-height: 22px; }
.rp-links:empty { display: none; }
.edge-modern .rp-links a, .edge-modern .rp-evidence__body a { display: inline-flex; align-items: center; gap: 5px; color: var(--edge-link); overflow-wrap: anywhere; }
.edge-modern .rp-links a:hover, .edge-modern .rp-evidence__body a:hover { color: var(--edge-primary); text-decoration: none; }
.rp-links .fa, .rp-evidence__body .fa { font-size: 11px; opacity: .7; }



.rp-empty { padding: 48px 18px; color: var(--edge-text-secondary); text-align: center; }
.rp-empty--page { padding-top: 72px; }
.rp-empty > .fa { margin-bottom: 12px; color: var(--edge-text-muted); font-size: 28px; }
.edge-modern .rp-empty :is(h1, h2) { margin: 0 0 8px; color: var(--edge-text-primary); font-size: 17px; font-weight: 600; line-height: 1.4; }
.edge-modern .rp-empty p { max-width: 520px; margin: 0 auto 16px; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.rp-more { display: flex; justify-content: center; gap: 8px; padding: 16px; }

.edge-modern.edge-ucp .rp-edit, .edge-modern.edge-ucp .rp-admin { max-width: 1040px; padding-top: 6px; }
.rp-admin .rp-subnav a:first-child { padding-left: 2px; }
.edge-modern .rp-group { margin: 0 0 4px; color: var(--edge-text-primary); font-size: 18px; font-weight: 600; line-height: 1.4; }
.rp-sets + .rp-group, .rp-records + .rp-form > .rp-group { margin-top: 30px; }
.rp-group + .rp-sets { margin-top: 10px; }
.rp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 14px; }
.rp-head .rp-group { margin-bottom: 2px; }
.rp-head__side { display: flex; flex: none; align-items: center; gap: 12px; }
.rp-sets { border-top: 1px solid var(--edge-border-light); }
.rp-set { display: grid; grid-template-columns: 148px minmax(0, 1fr); column-gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--edge-border-light); }
.rp-set__label { padding-top: 8px; color: var(--edge-text-primary); font-size: 15px; font-weight: 600; line-height: 20px; }
.rp-set__label label { cursor: pointer; }
.rp-set__body { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-width: 0; }
.rp-set__body > :is(textarea, .rp-options, .rp-share, .rp-bullets, form) { flex: 1 1 100%; }
.rp-set__body > input:not([type=checkbox]), .rp-set__body > select { flex: 1 1 260px; max-width: 440px; }
.rp-set[data-rp-short] .rp-set__body > input { flex: 0 0 180px; }
.edge-modern .rp-set__hint { flex: 1 1 100%; margin: 0; color: var(--edge-text-muted); font-size: 13px; line-height: 20px; }
.edge-modern .rp-page input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .edge-modern .rp-page textarea, .edge-modern .rp-page select { box-sizing: border-box; width: 100%; min-width: 0; max-width: 100%; height: auto; min-height: 36px; margin: 0; padding: 6px 10px; border: 1px solid var(--edge-border); border-radius: var(--edge-radius-sm); background: var(--edge-surface); color: var(--edge-text-primary); font: inherit; font-size: 15px; line-height: 22px; box-shadow: none; transition: border-color var(--edge-transition-fast), box-shadow var(--edge-transition-fast); }
.edge-modern .rp-page textarea { display: block; max-width: 620px; min-height: 0; line-height: 1.6; resize: vertical; }
.edge-modern .rp-page :is(input, textarea, select):not([type=checkbox]):not([type=radio]):hover { border-color: var(--edge-text-muted); }
.edge-modern .rp-page :is(input, textarea, select):not([type=checkbox]):not([type=radio]):focus { outline: 0; border-color: var(--edge-primary); box-shadow: 0 0 0 1px var(--edge-primary); }
.rp-page ::placeholder { color: var(--edge-text-muted); }
.rp-page input[type=checkbox] { flex: none; margin: 0; accent-color: var(--edge-primary); }
.rp-check { display: inline-flex; flex: none; align-items: center; gap: 7px; color: var(--edge-text-secondary); font-size: 14px; line-height: 22px; white-space: nowrap; cursor: pointer; }
.rp-options { display: flex; flex-wrap: wrap; gap: 8px; }
.rp-options label { position: relative; cursor: pointer; }
.rp-options input { position: absolute; opacity: 0; pointer-events: none; }
.rp-options span { display: block; padding: 4px 12px; border: 1px solid var(--edge-border); border-radius: var(--edge-radius-pill); color: var(--edge-text-secondary); font-size: 14px; line-height: 22px; user-select: none; transition: background-color var(--edge-transition-fast), border-color var(--edge-transition-fast), color var(--edge-transition-fast); }
.rp-options label:hover span { border-color: var(--edge-text-muted); color: var(--edge-text-primary); }
.rp-options input:checked + span { border-color: color-mix(in srgb, var(--edge-primary) 40%, transparent); background: var(--edge-primary-low); color: var(--edge-primary); }
.rp-options input:focus-visible + span { box-shadow: 0 0 0 2px var(--edge-bg), 0 0 0 4px var(--edge-primary); }
.rp-options input:disabled + span { opacity: .45; cursor: not-allowed; }
.rp-savebar { position: sticky; bottom: 0; z-index: 4; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 18px; padding: 12px 0; border-top: 1px solid var(--edge-border-light); background: var(--edge-bg); }
.rp-sets + .rp-savebar { margin-top: 0; border-top: 0; }
.rp-savebar > .edge-button--primary { min-width: 104px; }
.rp-savebar__count { color: var(--edge-text-secondary); font: 13px/1 var(--rp-mono); }
.rp-savebar__state { display: inline-flex; align-items: center; gap: 7px; margin-left: 4px; color: var(--edge-text-muted); font-size: 13px; line-height: 20px; }
.rp-savebar__state.is-pending { color: var(--edge-text-primary); }
.rp-savebar__state.is-pending::before, .rp-savebar__state.is-saved::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--edge-highlight, var(--edge-primary)); }
.rp-savebar__state.is-saved::before { background: var(--edge-success); }
.rp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.rp-share { display: flex; align-items: center; gap: 8px; max-width: 620px; }
.rp-share code { flex: 1 1 auto; min-width: 0; padding: 7px 10px; overflow: hidden; border: 1px solid var(--edge-border-light); border-radius: var(--edge-radius-sm); background: var(--edge-surface-active); color: var(--edge-text-primary); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.rp-bullets { display: grid; gap: 6px; margin: 0; padding: 7px 0 0 18px; color: var(--edge-text-secondary); font-size: 14px; line-height: 1.7; }

.rp-slots { display: grid; gap: 8px; margin-bottom: 18px; }
.rp-slot { display: flex; align-items: center; gap: 12px; padding: 12px 10px 12px 14px; border: 1px solid var(--edge-border-light); border-radius: var(--edge-radius-md); background: var(--edge-surface); }
.rp-slot__no { display: grid; flex: none; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: var(--edge-primary-low); color: var(--edge-primary); font: 600 12px/1 var(--rp-mono); }
.rp-slot__body { display: grid; flex: 1 1 auto; gap: 8px; min-width: 0; }
.rp-slot__body strong { display: flex; align-items: baseline; gap: 8px; min-width: 0; color: var(--edge-text-primary); font-size: 15px; font-weight: 600; line-height: 1.4; }
.rp-slot__body strong .fa { flex: none; color: var(--edge-text-muted); font-size: 13px; }
.rp-slot__body strong span { overflow: hidden; min-width: 0; text-overflow: ellipsis; white-space: nowrap; }
.rp-slot__tools, .rp-pick__tools { display: flex; flex: none; align-items: center; gap: 2px; }
.rp-icon { display: grid; width: 32px; height: 32px; place-items: center; padding: 0; border: 0; border-radius: var(--edge-radius-sm); background: transparent; color: var(--edge-text-muted); font-size: 14px; cursor: pointer; transition: background-color var(--edge-transition-fast), color var(--edge-transition-fast); }
.edge-modern .rp-page a.rp-icon { color: var(--edge-text-muted); }
.edge-modern .rp-page .rp-icon:hover { background: var(--edge-surface-hover); color: var(--edge-text-primary); }
.edge-modern .rp-page .rp-icon--danger:hover { background: var(--edge-danger-low); color: var(--edge-danger); }
.rp-icon:disabled { opacity: .35; pointer-events: none; }
.edge-modern .rp-blank { margin: 0; padding: 26px 18px; color: var(--edge-text-muted); font-size: 14px; line-height: 1.6; text-align: center; }
.rp-blank .fa { margin-right: 8px; }
.edge-modern .rp-blank a { color: var(--edge-link); }
.rp-slots > .rp-blank { border: 1px dashed var(--edge-border); border-radius: var(--edge-radius-md); }
.rp-picker, .rp-records { overflow: hidden; border: 1px solid var(--edge-border-light); border-radius: var(--edge-radius-md); background: var(--edge-surface); }
.rp-records { margin-bottom: 4px; }
.rp-picker__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 14px 0 6px; border-bottom: 1px solid var(--edge-border-light); }
.rp-picker__tabs { display: flex; min-width: 0; }
.rp-picker__tabs button { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 12px; border: 0; background: none; color: var(--edge-text-secondary); font: inherit; font-size: 15px; white-space: nowrap; cursor: pointer; transition: color var(--edge-transition-fast); }
.rp-picker__tabs button::after { content: ""; position: absolute; right: 12px; bottom: -1px; left: 12px; height: 2px; background: var(--edge-primary); transform: scaleX(0); transition: transform var(--edge-transition-fast); }
.rp-picker__tabs button:hover, .rp-picker__tabs button[aria-selected="true"] { color: var(--edge-primary); }
.rp-picker__tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.rp-picker__tabs span { color: var(--edge-text-muted); font: 12px/1 var(--rp-mono); }
.rp-picker__find { position: relative; display: flex; flex: 0 1 220px; align-items: center; min-width: 120px; }
.rp-picker__find .fa { position: absolute; left: 10px; color: var(--edge-text-muted); font-size: 12px; pointer-events: none; }
.edge-modern .rp-page .rp-picker__find input { min-height: 32px; padding: 4px 10px 4px 30px; font-size: 14px; }
.rp-picker__list { max-height: 420px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; transition: opacity var(--edge-transition-fast); }
.rp-picker__list.is-loading { opacity: .55; }
.rp-picker__list .rp-more { padding: 12px; border-top: 1px solid var(--edge-divider); }
.rp-pick { display: flex; align-items: center; gap: 16px; padding: 11px 14px 11px 18px; }
.rp-pick + .rp-pick { border-top: 1px solid var(--edge-divider); }
.rp-pick:hover { background: var(--edge-surface-hover); }
.rp-pick.is-current { box-shadow: inset 3px 0 0 var(--edge-primary); }
.rp-pick__main { flex: 1 1 auto; min-width: 0; }
.edge-modern .rp-pick__main > :is(a, span) { display: block; overflow: hidden; color: var(--edge-text); font-size: 15px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.edge-modern .rp-pick__main > a:hover { color: var(--edge-primary); }
.rp-pick > .edge-button { flex: none; min-width: 64px; min-height: 30px; padding: 3px 12px; font-size: 13px; }

.rp-record { padding: 16px 0; border-bottom: 1px solid var(--edge-divider); }
.rp-record > .rp-hint { margin-top: 8px; }
.rp-fold { margin-top: 10px; }
.rp-fold > summary { display: inline-flex; align-items: center; gap: 6px; color: var(--edge-link); font-size: 14px; cursor: pointer; user-select: none; }
.rp-fold > .rp-form { max-width: 820px; margin-top: 12px; }
.rp-fold .rp-form > * + * { margin-top: 14px; }
.rp-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; font-size: 14px; }
.rp-field > span { color: var(--edge-text-primary); font-weight: 600; }
.edge-modern .rp-field small { color: var(--edge-text-muted); font-size: 12.5px; line-height: 1.6; }
.edge-modern .rp-static { margin: 0; color: var(--edge-text-secondary); line-height: 1.6; overflow-wrap: anywhere; }
.rp-page--narrow .rp-form > * + * { margin-top: 16px; }
.rp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.rp-checks { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.rp-checks label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.rp-table-wrap { overflow-x: auto; }
.rp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rp-table th, .rp-table td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--edge-divider); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.rp-table th { color: var(--edge-text-muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
.rp-table td:nth-child(-n+4) { white-space: nowrap; }

@media (max-width: 1180px) {
  .rp-edit { grid-template-columns: minmax(0, 1fr) 248px; gap: 24px; }
}
@media (max-width: 980px) {
  .rp-edit { grid-template-columns: minmax(0, 1fr); }
  .rp-rail { position: static; }
  .rp-edit .rp-rail { order: -1; }
  .rp-edit .rp-rail .rp-box + .rp-box { display: none; }
  .rp-box__wide { width: auto; }
}
@media (max-width: 760px) {
  .rp-hero, .rp-head { flex-direction: column; align-items: stretch; gap: 12px; }
  .rp-hero__side { justify-content: flex-start; }
  .rp-head__side { justify-content: space-between; }
  .edge-modern .rp-hero h1 { font-size: 24px; }
  .rp-projects, .rp-grid { grid-template-columns: minmax(0, 1fr); }
  .rp-row--thread { align-items: flex-start; flex-direction: column; gap: 2px; }
  .rp-set { grid-template-columns: minmax(0, 1fr); padding: 14px 0; }
  .rp-set__label { margin-bottom: 8px; padding-top: 0; }
  .rp-set__body > input:not([type=checkbox]), .rp-set__body > select { flex-basis: 100%; max-width: none; }
  .rp-picker__head { flex-wrap: wrap; padding: 0 12px 10px 4px; }
  .rp-picker__find { flex: 1 1 100%; margin-left: 8px; }
  .rp-picker__list { max-height: 60vh; }
  .rp-pick { gap: 10px; padding: 10px 12px; }
  .rp-slot { align-items: flex-start; flex-wrap: wrap; }
  .rp-slot__body { flex-basis: calc(100% - 40px); }
  .rp-slot__tools { margin-left: 36px; }
  .rp-facts dt { width: 3.5em; }
}

/* 个人中心外壳会把所有提交按钮刷成主按钮，名片里的次要按钮要还原。 */
.edge-modern.edge-ucp .rp-page button.rp-icon[type="submit"] { display: grid; min-height: 0; padding: 0; border: 0; background: transparent; color: var(--edge-text-muted); font-size: 14px; }
.edge-modern.edge-ucp .rp-page button.rp-icon[type="submit"]:hover { background: var(--edge-surface-hover); color: var(--edge-text-primary); }
.edge-modern.edge-ucp .rp-page button.rp-icon--danger[type="submit"]:hover { background: var(--edge-danger-low); color: var(--edge-danger); }
.edge-modern.edge-ucp .rp-page button.edge-button.rp-danger[type="submit"] { min-height: 34px; padding: 6px var(--edge-space-md); border: 1px solid var(--edge-border); background: var(--edge-surface); color: var(--edge-danger); font-size: inherit; font-weight: 600; }
.edge-modern.edge-ucp .rp-page button.edge-button.rp-danger[type="submit"]:hover { background: var(--edge-danger-low); }
.edge-modern.edge-ucp .rp-page button.edge-button--primary[type="submit"] { justify-content: center; gap: 6px; font-weight: 600; }
.edge-modern .rp-page .rp-picker__find input[type="search"] { padding-left: 30px !important; }

/* 公开名片：左侧身份栏 + 右侧内容，面向游客时默认收起社区侧栏。 */
.rp-card__grid { display: grid; grid-template-columns: 296px minmax(0, 1fr); gap: 48px; align-items: start; }
.rp-card__main { min-width: 0; }
.rp-who { display: grid; gap: 16px; min-width: 0; }
.rp-who__head { display: grid; gap: 14px; }
.rp-avatar { display: grid; width: 120px; height: 120px; place-items: center; overflow: hidden; border: 1px solid var(--edge-border-light); border-radius: 50%; background: var(--edge-surface-active); color: var(--edge-text-secondary); font-size: 40px; font-weight: 600; text-transform: uppercase; }
.rp-avatar > * { grid-area: 1 / 1; }
.rp-avatar img { display: block; width: 100%; height: 100%; margin: 0; border-radius: 50%; object-fit: cover; }
.rp-who__name { min-width: 0; }
.edge-modern .rp-eyebrow { margin: 0 0 4px; color: var(--edge-primary); font: 700 11px/1.4 var(--rp-mono); letter-spacing: .1em; text-transform: uppercase; }
.edge-modern .rp-who h1 { margin: 0; color: var(--edge-text-primary); font-size: 26px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.edge-modern .rp-who__handle { display: flex; flex-wrap: wrap; gap: 0 6px; margin: 2px 0 0; color: var(--edge-text-muted); font: 13px/1.6 var(--rp-mono); overflow-wrap: anywhere; }
.rp-who__badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rp-chip--green { background: color-mix(in srgb, var(--edge-success) 16%, transparent); color: var(--edge-success); }
.rp-chip--gold { background: color-mix(in srgb, #d99a1c 18%, transparent); color: #c98a0c; }
.rp-chip--blue { background: var(--edge-primary-low); color: var(--edge-primary); }
.rp-chip--purple { background: color-mix(in srgb, #9c6ade 18%, transparent); color: #9c6ade; }
.edge-modern .rp-who__headline { margin: 0; color: var(--edge-text-primary); font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.edge-modern .rp-who__bio { margin: -8px 0 0; color: var(--edge-text-secondary); font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.rp-who__actions { display: flex; gap: 8px; }
.rp-who__actions > :is(.edge-button--primary, a:not([aria-label])) { flex: 1 1 0; min-width: 0; }
.rp-who__facts, .rp-who__list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; color: var(--edge-text-secondary); font-size: 14px; line-height: 1.5; }
.rp-who__facts li { display: flex; align-items: baseline; gap: 9px; min-width: 0; overflow-wrap: anywhere; }
.rp-who__facts .fa, .rp-who__list .fa { flex: none; width: 15px; color: var(--edge-text-muted); font-size: 13px; text-align: center; }
.rp-who__facts :is(span, a) { min-width: 0; }
.edge-modern .rp-who__facts a { color: var(--edge-link); }
.edge-modern .rp-who__facts a:hover { color: var(--edge-primary); text-decoration: none; }
.rp-who__block { padding-top: 16px; border-top: 1px solid var(--edge-border-light); }
.edge-modern .rp-who__block > h2 { display: flex; align-items: baseline; gap: 8px; margin: 0 0 10px; color: var(--edge-text-primary); font-size: 14px; font-weight: 600; line-height: 1.4; }
.rp-who__block > h2 span { color: var(--edge-text-muted); font: 400 12.5px/1 var(--rp-mono); }
.rp-areas { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rp-areas li { padding: 2px 10px; border: 1px solid color-mix(in srgb, var(--edge-primary) 28%, transparent); border-radius: var(--edge-radius-sm); background: var(--edge-primary-low); color: var(--edge-primary); font-size: 13px; line-height: 20px; }
.rp-who__list li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.rp-who__list li > :first-child { display: inline-flex; align-items: baseline; gap: 9px; min-width: 0; overflow-wrap: anywhere; }
.edge-modern .rp-who__list a { color: var(--edge-text-secondary); transition: color var(--edge-transition-fast); }
.edge-modern .rp-who__list a:hover { color: var(--edge-primary); }
.rp-who__list b { flex: none; color: var(--edge-text-muted); font: 400 12.5px/1 var(--rp-mono); }
.edge-modern .rp-who__note { margin: 0; padding-top: 16px; border-top: 1px solid var(--edge-border-light); color: var(--edge-text-muted); font-size: 12.5px; line-height: 1.7; }
.rp-who__note .rp-chip { margin: 0 4px; vertical-align: 1px; }
@media (max-width: 1020px) {
  .rp-card__grid { grid-template-columns: 248px minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 760px) {
  .rp-card__grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .rp-who__head { grid-template-columns: 72px minmax(0, 1fr); align-items: center; }
  .rp-avatar { width: 72px; height: 72px; font-size: 26px; }
  .edge-modern .rp-who h1 { font-size: 22px; }
  .edge-modern .rp-who__note { display: none; }
}

/* 身份栏贴着页面左侧，提示气泡改成左对齐并允许换行，避免伸出屏幕。 */
.edge-modern .rp-who [data-edge-tip]::after { left: 0; width: max-content; max-width: min(260px, 70vw); line-height: 1.45; text-align: left; white-space: normal; transform: translateY(3px); }
.edge-modern .rp-who [data-edge-tip]:hover::after, .edge-modern .rp-who [data-edge-tip]:focus-visible::after { transform: none; }
.edge-modern .rp-who__actions [data-edge-tip]::after { right: 0; left: auto; }
@media (max-width: 760px), (hover: none) {
  .edge-modern .rp-who [data-edge-tip]::after { display: none; }
}


/* 名片内容层级：分区标题在外，条目收进带内边距的面板；标题、正文、辅助信息三档字重和颜色。 */
.rp-section { margin: 0 0 34px; scroll-margin-top: calc(var(--edge-header-height) + 62px); }
.rp-section:last-child { margin-bottom: 0; }
.rp-section__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 12px; }
.edge-modern .rp-section__head h2 { display: flex; align-items: center; gap: 9px; margin: 0; color: var(--edge-text-primary); font-size: 20px; font-weight: 700; line-height: 1.35; }
.rp-section__head h2 .fa { color: var(--edge-primary); font-size: 15px; }
.rp-section__head h2 span { padding: 0 8px; border-radius: var(--edge-radius-pill); background: var(--edge-surface-active); color: var(--edge-text-secondary); font: 400 12px/20px var(--rp-mono); }
.edge-modern .rp-section__head a { display: inline-flex; flex: none; align-items: center; gap: 4px; padding: 4px 8px; border-radius: var(--edge-radius-sm); color: var(--edge-text-secondary); font-size: 14px; transition: background-color var(--edge-transition-fast), color var(--edge-transition-fast); }
.edge-modern .rp-section__head a:hover { background: var(--edge-surface-hover); color: var(--edge-primary); }
.rp-section > .rp-hint { margin: -6px 0 12px; }
.rp-list, .rp-projects, .rp-about:not(.rp-about--side) { overflow: hidden; border: 1px solid var(--edge-border-light); border-radius: var(--edge-radius-md); background: var(--edge-surface); }
.rp-row, .rp-project { padding: 16px 20px; transition: background-color var(--edge-transition-fast); }
.rp-row + .rp-row, .rp-project + .rp-project { border-top: 1px solid var(--edge-divider); }
.rp-row:hover, .rp-project:hover { background: var(--edge-surface-hover); }
.edge-modern .rp-row h3, .edge-modern .rp-project h3, .edge-modern .rp-record h3 { margin: 0; color: var(--edge-text-primary); font-size: 16px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.edge-modern .rp-row--thread h3 { font-size: 15px; font-weight: 400; }
.edge-modern .rp-row h3 a, .edge-modern .rp-project h3 a { color: inherit; transition: color var(--edge-transition-fast); }
.edge-modern .rp-row h3 a:hover, .edge-modern .rp-project h3 a:hover { color: var(--edge-primary); }
.edge-modern .rp-row__text { margin: 6px 0 0; color: var(--edge-text-secondary); font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.rp-row--thread { display: flex; align-items: center; gap: 16px; padding: 12px 20px; }
.rp-row__main { flex: 1 1 auto; min-width: 0; }
.rp-row--thread > time { flex: none; }
.rp-about { padding: 16px 20px; }
.edge-modern .rp-about p { margin: 0; color: var(--edge-text); font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }
.edge-modern .rp-about p + p { margin-top: 10px; }
.rp-about--side { padding: 0; }
.edge-modern .rp-about--side p { color: var(--edge-text-secondary); font-size: 14px; }

.rp-evidence { margin-top: 12px; }
.rp-evidence > summary { display: inline-flex; align-items: center; gap: 8px; margin-left: -6px; padding: 3px 8px 3px 6px; border-radius: var(--edge-radius-sm); list-style: none; cursor: pointer; user-select: none; transition: background-color var(--edge-transition-fast); }
.rp-evidence > summary::-webkit-details-marker { display: none; }
.rp-evidence > summary:hover, .rp-evidence[open] > summary { background: var(--edge-surface-active); }
.rp-evidence__toggle { display: inline-flex; align-items: center; gap: 4px; color: var(--edge-text-secondary); font-size: 13px; }
.rp-evidence__toggle .fa { font-size: 12px; transition: transform 160ms var(--edge-ease-out, ease-out); }
.rp-evidence[open] .rp-evidence__toggle .fa { transform: rotate(180deg); }
.rp-evidence__body { margin-top: 8px; padding: 10px 14px; border-radius: var(--edge-radius-sm); background: var(--edge-surface-active); color: var(--edge-text-secondary); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.rp-evidence[open] > .rp-evidence__body { animation: rp-reveal 160ms var(--edge-ease-out, ease-out) backwards; }
.rp-evidence__body p { margin: 0; }
.rp-evidence__body ul { margin: 6px 0 0; padding: 0; list-style: none; }
.edge-modern .rp-evidence__body a.rp-evidence__report { margin-top: 8px; color: var(--edge-text-muted); }
@keyframes rp-reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.rp-medals { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rp-medals a { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--edge-border-light); border-radius: var(--edge-radius-md); background: var(--edge-surface); transition: border-color var(--edge-transition-fast), background-color var(--edge-transition-fast); }
.rp-medals a:hover { border-color: var(--edge-border); background: var(--edge-surface-hover); }
.rp-medals img { display: block; max-width: 32px; max-height: 32px; margin: 0; object-fit: contain; }

.edge-modern .rp-page :is(a, button, summary):focus-visible { outline: 2px solid var(--edge-primary); outline-offset: 2px; border-radius: var(--edge-radius-sm); }
.edge-modern .rp-page .edge-button:active, .rp-pick > .edge-button:active { background: var(--edge-surface-active); }
.edge-modern .rp-page .edge-button--primary:active { background: var(--edge-primary-hover); }
.edge-modern .rp-page .edge-button.is-done { border-color: var(--edge-success); background: color-mix(in srgb, var(--edge-success) 16%, transparent); color: var(--edge-success) !important; }
.rp-slot.is-new { animation: rp-reveal 180ms var(--edge-ease-out, ease-out) backwards; }
@media (prefers-reduced-motion: reduce) {
  .rp-evidence[open] > .rp-evidence__body, .rp-slot.is-new { animation: none; }
}
@media (max-width: 760px) {
  .rp-row, .rp-project, .rp-about:not(.rp-about--side) { padding: 14px 16px; }
  .rp-row--thread { align-items: flex-start; flex-direction: column; gap: 2px; padding: 12px 16px; }
  .edge-modern .rp-section__head h2 { font-size: 18px; }
}

/* 成果表单：类型分组的单选胶囊、默认收起的补充信息。 */
.rp-records + .rp-workform { margin-top: 28px; }
.rp-workform > .rp-group { margin-bottom: 10px; }
.rp-types { display: grid; flex: 1 1 100%; gap: 10px; }
.rp-types__row { display: flex; align-items: baseline; gap: 12px; }
.rp-types__row > span { flex: none; width: 4.5em; color: var(--edge-text-muted); font-size: 13px; line-height: 32px; }
.rp-extra { border-bottom: 1px solid var(--edge-border-light); }
.rp-extra > summary { display: flex; align-items: center; gap: 8px; padding: 14px 0; color: var(--edge-text-primary); font-size: 15px; font-weight: 600; line-height: 20px; list-style: none; cursor: pointer; user-select: none; }
.rp-extra > summary::-webkit-details-marker { display: none; }
.rp-extra > summary .fa { width: 12px; color: var(--edge-text-muted); font-size: 14px; text-align: center; transition: transform 160ms var(--edge-ease-out, ease-out); }
.rp-extra[open] > summary .fa { transform: rotate(90deg); }
.rp-extra > summary span { color: var(--edge-text-muted); font-size: 13px; font-weight: 400; }
.rp-extra > summary:hover span { color: var(--edge-text-secondary); }
.rp-extra > .rp-sets .rp-set:last-child { border-bottom: 0; }
.rp-extra[open] > .rp-sets { animation: rp-reveal 160ms var(--edge-ease-out, ease-out) backwards; }
.edge-modern.edge-ucp .rp-page button.edge-button--primary[type="submit"]:disabled { border-color: var(--edge-border-light); background: var(--edge-surface-active); color: var(--edge-text-muted); opacity: 1; }

.rp-meta__num, .rp-meta__lock { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.rp-meta__num { font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .rp-types__row { flex-direction: column; gap: 4px; }
  .rp-types__row > span { width: auto; line-height: 20px; }
  .rp-savebar__state { flex: 1 1 100%; margin-left: 0; }
  .rp-extra > summary { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .rp-extra[open] > .rp-sets { animation: none; }
}

/* 标签页与置顶卡片：概览放简介、置顶和没置顶的近期内容，完整列表各占一个标签页。 */
.rp-tabs a span { padding: 0 7px; border-radius: var(--edge-radius-pill); background: var(--edge-surface-active); color: var(--edge-text-secondary); font: 400 12px/20px var(--rp-mono); }
.rp-tabs a[aria-current] span { background: var(--edge-primary-low); color: var(--edge-primary); }
.rp-card[data-rp-tab] .rp-pills { margin-bottom: 14px; }
.rp-pins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rp-pin { display: flex; min-width: 0; flex-direction: column; gap: 8px; padding: 14px 16px; border: 1px solid var(--edge-border-light); border-radius: var(--edge-radius-md); background: var(--edge-surface); transition: background-color var(--edge-transition-fast); }
.rp-pin:hover { background: var(--edge-surface-hover); }
.edge-modern .rp-pin h3 { display: flex; align-items: baseline; gap: 8px; margin: 0; color: var(--edge-text-primary); font-size: 16px; font-weight: 600; line-height: 1.45; }
.rp-pin h3 .fa { flex: none; width: 14px; color: var(--edge-primary); font-size: 13px; text-align: center; }
.edge-modern .rp-pin h3 a { display: -webkit-box; overflow: hidden; min-width: 0; color: inherit; overflow-wrap: anywhere; text-decoration: none; transition: color var(--edge-transition-fast); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.edge-modern .rp-pin h3 a:hover { color: var(--edge-primary); text-decoration: none; }
.edge-modern .rp-pin__text { display: -webkit-box; overflow: hidden; margin: 0; color: var(--edge-text-secondary); font-size: 13.5px; line-height: 1.65; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.rp-pin > .rp-meta { margin-top: auto; padding-top: 2px; }
.rp-meta .edge-tags { gap: 4px; }
.edge-modern .rp-meta .edge-tag { color: var(--edge-text-secondary); line-height: 20px; }
.edge-modern .rp-meta .edge-tag:hover { color: var(--edge-primary); }

.rp-head--sub { margin-top: 26px; }
.edge-modern .rp-group--next { margin-top: 30px; }
.rp-switches { display: flex; flex: 1 1 100%; flex-wrap: wrap; gap: 8px 24px; padding: 7px 0; }
.rp-pick.is-off .rp-pick__main > a { color: var(--edge-text-muted); }
.edge-modern .rp-page .rp-pick.is-off .rp-icon[data-rp-hide] { color: var(--edge-text-primary); }
.rp-pick > .rp-icon { flex: none; margin-right: -8px; }
@media (max-width: 760px) {
  .rp-pins { grid-template-columns: minmax(0, 1fr); }
}

/* 公开名片：身份栏和标签页都随页面滚动，不固定。 */
.rp-stats { display: grid; grid-template-columns: repeat(var(--rp-stat-count, 6), minmax(0, 1fr)); margin: 0 0 22px; overflow: hidden; border: 1px solid var(--edge-border-light); border-radius: var(--edge-radius-md); background: var(--edge-surface); }
.edge-modern .rp-stat { display: flex; min-width: 0; flex-direction: column; gap: 2px; padding: 14px 16px; color: var(--edge-text-primary); transition: background-color var(--edge-transition-fast); }
.rp-stat + .rp-stat { border-left: 1px solid var(--edge-border-light); }
.edge-modern a.rp-stat:hover { background: var(--edge-surface-hover); color: var(--edge-text-primary); }
.rp-stat b { font: 600 22px/1.3 var(--rp-mono); font-variant-numeric: tabular-nums; }
.rp-stat span { color: var(--edge-text-secondary); font-size: 13px; line-height: 1.4; white-space: nowrap; }
.rp-stat small { overflow: hidden; color: var(--edge-success); font-size: 12px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.rp-stat.is-zero b { color: var(--edge-text-muted); font-weight: 400; }
.rp-stat { position: relative; }
.edge-modern a.rp-stat::after { content: "\f105"; position: absolute; top: 14px; right: 14px; color: var(--edge-text-muted); font: 12px/1 FontAwesome, "Font Awesome 7 Free", "Font Awesome 6 Free"; font-weight: 900; opacity: 0; transform: translateX(-3px); transition: opacity var(--edge-transition-fast), transform var(--edge-transition-fast); }
.edge-modern a.rp-stat:hover::after { opacity: 1; transform: none; }
.rp-stats { grid-template-columns: repeat(var(--rp-stat-count, 6), minmax(0, 1fr)); }
.rp-stat:active { background: var(--edge-surface-active); }
@media (max-width: 1020px) {
  .rp-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rp-stat:nth-child(3n+4) { border-left: 0; }
  .rp-stat:nth-child(n+4) { border-top: 1px solid var(--edge-border-light); }
}
.rp-card .rp-tabs a:first-child { padding-left: 2px; }
.rp-tabhint { margin: -8px 0 14px !important; }

.rp-work__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.edge-modern .rp-work h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; min-width: 0; font-size: 15.5px; }
.rp-work h3 code { flex: none; padding: 0 7px; border: 1px solid color-mix(in srgb, var(--edge-primary) 28%, transparent); border-radius: var(--edge-radius-sm); background: var(--edge-primary-low); color: var(--edge-primary); font-weight: 600; }
.rp-work__side { display: inline-flex; flex: none; align-items: baseline; gap: 10px; color: var(--edge-text-muted); font-size: 13px; white-space: nowrap; }
.rp-work > .rp-meta:empty { display: none; }
.rp-work .rp-evidence { margin-top: 6px; }

.rp-timeline { display: grid; gap: 0; margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--edge-border-light); border-radius: var(--edge-radius-md); background: var(--edge-surface); list-style: none; }
.rp-timeline li { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 16px; padding: 14px 20px; }
.rp-timeline li + li { border-top: 1px solid var(--edge-divider); }
.rp-timeline__when { color: var(--edge-text-muted); font: 13px/22px var(--rp-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rp-timeline__what { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-width: 0; }
.rp-timeline__what strong { color: var(--edge-text-primary); font-size: 15px; font-weight: 600; line-height: 22px; }
.rp-timeline__what span { color: var(--edge-text-secondary); font-size: 14px; }
.edge-modern .rp-timeline__what p { flex: 1 1 100%; margin: 4px 0 0; color: var(--edge-text-secondary); font-size: 14px; line-height: 1.7; }

.rp-years { padding: 16px 20px 12px; border: 1px solid var(--edge-border-light); border-radius: var(--edge-radius-md); background: var(--edge-surface); }
.rp-years__bars { display: flex; align-items: flex-end; gap: 6px; }
.rp-year { position: relative; display: grid; flex: 1 1 0; min-width: 0; justify-items: center; gap: 4px; }
.rp-year__bar { display: flex; width: 100%; max-width: 44px; height: 64px; flex-direction: column; justify-content: flex-end; gap: 2px; }
.rp-year__bar i { display: block; min-height: 4px; border-radius: 3px; background: color-mix(in srgb, var(--edge-primary) 38%, transparent); }
.rp-year__bar i.is-works { background: var(--edge-primary); }
.rp-year.is-empty .rp-year__bar { border-bottom: 2px solid var(--edge-border-light); }
.rp-year b { height: 16px; color: var(--edge-text-secondary); font: 400 12px/16px var(--rp-mono); }
.rp-year > span { color: var(--edge-text-muted); font: 12px/16px var(--rp-mono); }
.edge-modern .rp-years__legend { display: flex; gap: 16px; margin: 10px 0 0; color: var(--edge-text-muted); font-size: 12.5px; }
.rp-years__legend span { display: inline-flex; align-items: center; gap: 6px; }
.rp-years__legend i { width: 10px; height: 10px; border-radius: 2px; background: color-mix(in srgb, var(--edge-primary) 38%, transparent); }
.rp-years__legend i.is-works { background: var(--edge-primary); }
.rp-year b { order: -1; }
@media (max-width: 760px) {
  .rp-card__grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .rp-work__head { flex-direction: column; gap: 2px; }
  .rp-timeline li { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 16px; }
  .rp-year > span { font-size: 11px; }
}

/* 开源项目的仓库信息。 */
.edge-modern .rp-project h3 { display: flex; align-items: baseline; gap: 8px; }
.rp-project h3 .fa-github { flex: none; color: var(--edge-text-muted); font-size: 15px; }
.rp-repo { gap: 2px 16px; margin-top: 8px; color: var(--edge-text-secondary); }
.rp-repo span { display: inline-flex; align-items: center; gap: 5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rp-repo .rp-repo__lang { color: var(--edge-primary); font-size: 9px; }
.rp-repo + .rp-meta:empty { display: none; }
.edge-modern .rp-project .rp-row__text { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.rp-repofetch { flex: 1 1 100%; margin-top: 0; }
.rp-repofetch.is-loading { color: var(--edge-text-muted); }
.rp-repofetch.is-error { color: var(--edge-danger); }
.rp-repofetch.is-error span, .rp-repofetch.is-loading span { white-space: normal; }
.rp-pick__main > .rp-repo { margin-top: 4px; font-size: 13px; }
.edge-modern .rp-page .rp-repo__retry { flex: none; padding: 0; border: 0; background: none; color: var(--edge-link); font: inherit; cursor: pointer; }
.edge-modern .rp-page .rp-repo__retry:hover { color: var(--edge-primary); }
.rp-repo__retry.is-loading { color: var(--edge-text-muted); pointer-events: none; }
.rp-project__meta { gap: 2px 16px; margin-top: 8px; color: var(--edge-text-secondary); }
.rp-project__meta > span, .rp-project__meta > time { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.rp-project__meta > .rp-repo:not(.is-error) { display: contents; }
.rp-project__meta > .rp-repo.is-error { flex: 1 1 100%; margin: 0; }
.rp-project__meta:empty { display: none; }
.rp-project__meta .rp-repo__lang { color: var(--edge-primary); font-size: 9px; }

.rp-admin .rp-head { align-items: flex-start; margin-bottom: 18px; }
.edge-modern .rp-title { margin: 0; color: var(--edge-text-primary); font-size: 24px; font-weight: 700; line-height: 1.25; }
.edge-modern .rp-admin .rp-head .rp-hint { max-width: 720px; margin-top: 6px; color: var(--edge-text-secondary); font-size: 14px; }
.rp-admin .rp-subnav { gap: 4px; margin-bottom: 16px; }
.rp-admin .rp-subnav a span { padding: 0 6px; border-radius: var(--edge-radius-pill); background: var(--edge-surface-active); color: var(--edge-text-secondary); font-size: 12px; line-height: 18px; }
.rp-admin .rp-subnav a span.is-alert { background: var(--edge-danger-low); color: var(--edge-danger); }
.rp-admin .rp-pills { margin-bottom: 14px; }
.rp-admin .rp-record { padding: 16px 20px; transition: background-color var(--edge-transition-fast); }
.rp-admin .rp-record:last-child { border-bottom: 0; }
.rp-admin .rp-record:hover { background: color-mix(in srgb, var(--edge-surface-hover) 45%, transparent); }
.rp-admin .rp-record__note { display: flex; align-items: center; gap: 6px; margin-top: 12px; }
.rp-admin .rp-fold { margin-top: 12px; }
.edge-modern .rp-admin .rp-fold > summary { gap: 8px; min-height: 30px; padding: 0 12px; border: 1px solid var(--edge-border); border-radius: var(--edge-radius-sm); color: var(--edge-text-primary); font-weight: 600; list-style: none; transition: background-color var(--edge-transition-fast); }
.rp-admin .rp-fold > summary::-webkit-details-marker { display: none; }
.rp-admin .rp-fold > summary::after { content: ""; width: 6px; height: 6px; margin-top: -3px; border: solid var(--edge-text-muted); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform var(--edge-transition-fast), margin var(--edge-transition-fast); }
.rp-admin .rp-fold[open] > summary::after { margin-top: 3px; transform: rotate(-135deg); }
.rp-admin .rp-fold > summary:hover, .rp-admin .rp-fold[open] > summary { background: var(--edge-surface-hover); }
.rp-admin .rp-fold > .rp-form { max-width: 820px; margin-top: 12px; padding: 16px; border: 1px solid var(--edge-border-light); border-radius: var(--edge-radius-md); background: var(--edge-bg); animation: rp-reveal 160ms ease; }
.rp-admin .rp-table-wrap { border: 1px solid var(--edge-border-light); border-radius: var(--edge-radius-md); background: var(--edge-surface); }
.rp-admin .rp-table th, .rp-admin .rp-table td { padding: 10px 16px; }
.rp-admin .rp-table tbody tr:last-child td { border-bottom: 0; }
.rp-admin .rp-empty--panel { border: 1px solid var(--edge-border-light); border-radius: var(--edge-radius-md); background: var(--edge-surface); }
.rp-admin .rp-more { padding: 16px 0 0; }
@media (max-width: 640px) { .rp-admin .rp-record { padding: 14px; } .rp-admin .rp-table th, .rp-admin .rp-table td { padding: 9px 12px; } }
@media (prefers-reduced-motion: reduce) { .rp-admin .rp-fold > .rp-form { animation: none; } }

/* 研究者目录：安全圈自己的语言——代码注释式分区线、十六进制序号、直角细线档案卡、漏洞编号、方向热力格。 */
.edge-modern .rp-dir { --rp-line: color-mix(in srgb, var(--edge-text-primary) 16%, transparent); --rp-line-strong: color-mix(in srgb, var(--edge-text-primary) 42%, transparent); padding-bottom: 96px; }
.rp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rp-rule { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; color: var(--edge-text-muted); font: 12px/18px var(--rp-mono); letter-spacing: .06em; white-space: nowrap; user-select: none; }
.rp-rule i { color: color-mix(in srgb, var(--edge-text-muted) 60%, transparent); font-style: normal; }
.rp-rule span { color: var(--edge-primary); }
.rp-rule em { overflow: hidden; font-style: normal; text-overflow: ellipsis; opacity: .75; }
.rp-rule b { flex: 1 1 auto; min-width: 24px; height: 0; border-top: 1px dashed var(--rp-line); }
.rp-rule u { text-decoration: none; }

.rp-dir__hero { padding: 14px 0 0; }
.rp-dir__intro { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 56px; align-items: center; padding: 26px 10px 64px 0; }
.edge-modern .rp-dir__intro h1 { margin: 0; color: var(--edge-text-primary); font-size: clamp(32px, 4vw, 48px); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.edge-modern .rp-dir__intro p { max-width: 560px; margin: 18px 0 0; color: var(--edge-text-secondary); font-size: 16px; line-height: 1.8; text-wrap: pretty; }
.rp-dir__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.edge-modern .rp-dir__cta .edge-button { min-height: 40px; padding: 8px 20px; border-radius: 2px; font-size: 15px; }

.rp-term { overflow: hidden; border: 1px solid var(--rp-line-strong); background: #15171c; color: #d5d9e0; font: 13.5px/26px var(--rp-mono); box-shadow: 10px 10px 0 color-mix(in srgb, var(--edge-primary) 22%, transparent); }
.rp-term__bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-bottom: 1px solid rgb(255 255 255 / .1); color: #8b93a1; font-size: 12px; }
.rp-term__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgb(255 255 255 / .18); }
.rp-term__bar span { margin-left: 8px; }
.rp-term pre { margin: 0; padding: 14px 18px 16px; border: 0; background: none; color: inherit; font: inherit; white-space: normal; }
.rp-term pre > span { display: flex; align-items: baseline; gap: 12px; }
.rp-term__cmd b { color: #7fd88f; font-weight: 400; }
.rp-term__row > span { width: 108px; color: #8b93a1; }
.rp-term__row > b { min-width: 64px; color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.rp-term__row > em { overflow: hidden; color: #6f7785; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.rp-term__caret { display: inline-block; width: 8px; height: 16px; background: #7fd88f; vertical-align: -3px; animation: rp-blink 1.1s steps(1) infinite; }
@keyframes rp-blink { 50% { opacity: 0; } }

.rp-dir__block { margin: 0 0 52px; }
.edge-modern .rp-dir__h { margin: 0 0 16px; color: var(--edge-text-primary); font-size: 20px; font-weight: 600; line-height: 1.4; }

.rp-photo { position: relative; display: grid; flex: none; aspect-ratio: 1; place-items: center; overflow: hidden; border-radius: 2px; background: linear-gradient(145deg, hsl(var(--rp-h, 220) 36% 34%), hsl(calc(var(--rp-h, 220) + 38) 42% 21%)); color: rgb(255 255 255 / .9); font-weight: 500; text-transform: uppercase; }
.rp-photo > * { grid-area: 1 / 1; }
.rp-photo img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; }

.rp-ids { display: flex; align-items: center; gap: 6px; min-width: 0; }
.rp-page code.rp-id { flex: 0 1 auto; min-width: 0; overflow: hidden; padding: 0 7px; border-radius: 3px; background: color-mix(in srgb, var(--edge-primary) 14%, transparent); color: color-mix(in srgb, var(--edge-primary) 82%, var(--edge-text-primary)); font: 500 12px/20px var(--rp-mono); letter-spacing: .01em; text-overflow: ellipsis; white-space: nowrap; }
.rp-page code.rp-id.is-ok { background: color-mix(in srgb, var(--edge-success) 15%, transparent); color: var(--edge-success); }
.rp-ids em { flex: none; color: var(--edge-text-muted); font: normal 12px/20px var(--rp-mono); }
.rp-dir strong .fa-check-circle { flex: none; color: var(--edge-success); font-size: .62em; }

.rp-nums { overflow: hidden; color: var(--edge-text-muted); font-size: 12.5px; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
.rp-nums b { color: var(--edge-text-secondary); font: 500 12.5px/20px var(--rp-mono); font-variant-numeric: tabular-nums; }
.rp-nums i { margin: 0 7px; font-style: normal; opacity: .45; }

.rp-leads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.edge-modern a.rp-lead { position: relative; display: flex; min-width: 0; flex-direction: column; gap: 10px; padding: 18px 20px 14px; border: 1px solid var(--rp-line); color: var(--edge-text-primary); text-decoration: none; transition: border-color 220ms ease, background-color 220ms ease, transform 260ms var(--edge-ease-out); -webkit-tap-highlight-color: transparent; }
.edge-modern a.rp-lead:hover { border-color: color-mix(in srgb, var(--edge-primary) 70%, transparent); background: color-mix(in srgb, var(--edge-primary) 4%, transparent); transform: translateY(-2px); }
.rp-lead:active { transform: none; }
.rp-lead__who { display: flex; align-items: center; gap: 14px; min-width: 0; }
.rp-lead__photo { position: relative; flex: none; }
.rp-lead__photo .rp-photo { width: 52px; font-size: 20px; }
.rp-lead__photo > i { position: absolute; top: -6px; left: -6px; display: grid; width: 18px; height: 18px; place-items: center; background: var(--edge-text-primary); color: var(--edge-bg); font: 600 11px/1 var(--rp-mono); }
.rp-lead__who > span:last-child { display: grid; gap: 1px; min-width: 0; }
.rp-lead strong { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 19px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; transition: color 200ms ease; }
.rp-lead:hover strong, .rp-entry:hover strong { color: var(--edge-primary); }
.rp-lead small { overflow: hidden; color: var(--edge-text-muted); font: 12px/18px var(--rp-mono); text-overflow: ellipsis; white-space: nowrap; }
.rp-lead small > span { margin: 0 7px; opacity: .5; }
.rp-lead__line { overflow: hidden; color: var(--edge-text-secondary); font-size: 14px; line-height: 22px; text-overflow: ellipsis; white-space: nowrap; }
.rp-lead__pick { overflow: hidden; color: var(--edge-text-muted); font-size: 13px; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
.rp-lead__nums { margin-top: 2px; padding-top: 10px; border-top: 1px solid var(--rp-line); }

.rp-feed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 16px; }
.edge-modern a.rp-feed__item { display: grid; gap: 3px; min-width: 0; padding: 10px 14px; border-left: 2px solid var(--rp-line); color: var(--edge-text-primary); text-decoration: none; transition: border-color 200ms ease, background-color 200ms ease; }
.edge-modern a.rp-feed__item.is-ok { border-left-color: color-mix(in srgb, var(--edge-success) 60%, transparent); }
.edge-modern a.rp-feed__item:hover { border-left-color: var(--edge-primary); background: color-mix(in srgb, var(--edge-primary) 5%, transparent); }
.rp-feed__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.rp-feed__head time { flex: none; color: var(--edge-text-muted); font: 12px/20px var(--rp-mono); }
.rp-feed__title { overflow: hidden; font-size: 14.5px; line-height: 22px; text-overflow: ellipsis; white-space: nowrap; transition: color 200ms ease; }
.rp-feed__item:hover .rp-feed__title { color: var(--edge-primary); }
.rp-feed__by { overflow: hidden; color: var(--edge-text-muted); font: 12px/18px var(--rp-mono); text-overflow: ellipsis; white-space: nowrap; }

.rp-areas-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 18px; }
.edge-modern .rp-areas-bar a, .edge-modern .rp-page .rp-areas-bar button { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border: 1px solid var(--rp-line); border-radius: 2px; background: none; color: var(--edge-text-secondary); font: inherit; font-size: 13px; line-height: 26px; white-space: nowrap; cursor: pointer; transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease; }
.rp-areas-bar a b { color: var(--edge-text-muted); font: 400 11.5px/1 var(--rp-mono); }
.edge-modern .rp-areas-bar a:hover, .edge-modern .rp-page .rp-areas-bar button:hover { border-color: var(--rp-line-strong); color: var(--edge-text-primary); }
.edge-modern .rp-areas-bar a[aria-current] { border-color: var(--edge-primary); background: var(--edge-primary-low); color: var(--edge-primary); }
.rp-areas-bar a[aria-current] b { color: inherit; opacity: .8; }
.rp-areas-bar.is-ready:not(.is-open) .is-extra:not([aria-current]) { display: none; }
.edge-modern .rp-page .rp-areas-bar button { border-style: dashed; color: var(--edge-text-muted); }
.rp-areas-bar button .fa { font-size: 12px; transition: transform 200ms var(--edge-ease-out); }
.rp-areas-bar.is-open button .fa { transform: rotate(180deg); }
.rp-areas-bar:not(.is-ready) button { display: none; }
.rp-areas-bar.is-open .is-extra { animation: rp-rise 220ms var(--edge-ease-out) backwards; }

.rp-entries { display: grid; grid-template-columns: repeat(auto-fill, minmax(348px, 1fr)); column-gap: 28px; border-bottom: 1px solid var(--rp-line); }
.edge-modern a.rp-entry { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 13px; align-items: start; min-width: 0; padding: 14px 6px; border-top: 1px solid var(--rp-line); color: var(--edge-text-primary); text-decoration: none; transition: background-color 180ms ease; -webkit-tap-highlight-color: transparent; }
.edge-modern a.rp-entry:hover { background: color-mix(in srgb, var(--edge-primary) 5%, transparent); }
.rp-entry::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--edge-primary); transition: width 280ms var(--edge-ease-out); }
.rp-entry:hover::before, .rp-entry:focus-visible::before { width: 100%; }
.rp-entry .rp-photo { width: 44px; margin-top: 2px; font-size: 17px; }
.rp-entry__main { display: grid; gap: 1px; min-width: 0; }
.rp-entry__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-width: 0; }
.rp-entry strong { display: flex; align-items: center; gap: 6px; overflow: hidden; min-width: 0; font-size: 15.5px; font-weight: 600; line-height: 22px; white-space: nowrap; transition: color 180ms ease; }
.rp-entry__no { flex: none; color: color-mix(in srgb, var(--edge-text-muted) 60%, transparent); font: 11px/18px var(--rp-mono); letter-spacing: .04em; }
.rp-entry__line { overflow: hidden; color: var(--edge-text-secondary); font-size: 13px; line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
.rp-entry__meta { display: flex; align-items: center; gap: 10px; min-width: 0; margin-top: 4px; }
.rp-entry__meta .rp-ids { flex: none; }
.rp-entry .rp-id { font-size: 11.5px; line-height: 18px; }
.edge-modern .rp-page :is(a.rp-lead, a.rp-entry, a.rp-feed__item):focus-visible { outline: 2px solid var(--edge-primary); outline-offset: -2px; border-radius: 0; }
.edge-page-researcher .edge-main:focus { outline: 0; }

.rp-dir__bar { display: flex; align-items: center; gap: 28px; margin: 0 0 14px; border-bottom: 1px solid var(--rp-line-strong); }
.rp-page .rp-dir__search { display: flex; flex: 1 1 auto; align-items: center; gap: 10px; min-width: 0; margin: 0; }
.rp-dir__search > span, .rp-dir__sort > span { flex: none; color: var(--edge-primary); font: 13px/20px var(--rp-mono); }
.edge-modern .rp-page .rp-dir__search input[type="search"] { height: 46px; padding: 0 !important; border: 0 !important; border-radius: 0; background: transparent !important; box-shadow: none !important; font-size: 15px; appearance: none; }
.rp-dir__sort { display: flex; flex: none; align-items: center; gap: 4px; }
.rp-dir__sort > span { margin-right: 6px; }
.edge-modern .rp-dir__sort a { position: relative; padding: 13px 10px; color: var(--edge-text-secondary); font-size: 13.5px; line-height: 20px; white-space: nowrap; transition: color 160ms ease; }
.rp-dir__sort a::after { content: ""; position: absolute; right: 10px; bottom: -1px; left: 10px; height: 2px; background: var(--edge-primary); transform: scaleX(0); transition: transform 180ms var(--edge-ease-out); }
.edge-modern .rp-dir__sort a:hover, .edge-modern .rp-dir__sort a[aria-current] { color: var(--edge-text-primary); }
.rp-dir__sort a[aria-current]::after { transform: scaleX(1); }
.edge-modern .rp-dir__count { margin: 0 0 16px; color: var(--edge-text-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.rp-dir__count strong { color: var(--edge-text-primary); font-weight: 600; }
.edge-modern .rp-dir__count a { margin-left: 12px; color: var(--edge-primary); }
.rp-dir__more { display: flex; justify-content: center; padding: 36px 0 0; }
.edge-modern .rp-dir__more .edge-button { min-width: 148px; min-height: 40px; justify-content: center; border-radius: 2px; }
.rp-dir__more .is-loading { pointer-events: none; opacity: .6; }

.rp-dir.is-busy [data-rp-dir-region="body"] { opacity: .5; transition: opacity 160ms ease; }
.rp-dir [data-rp-dir-region].is-entering [data-rp-dir-item], [data-rp-dir-item].is-new { animation: rp-rise 340ms var(--edge-ease-out) backwards; animation-delay: calc(var(--rp-i, 0) * 22ms); }
@keyframes rp-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .rp-dir__intro { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-bottom: 52px; }
  .rp-term { max-width: 460px; }
  .rp-leads { grid-template-columns: repeat(3, minmax(270px, 1fr)); margin: 0 -16px; padding: 8px 16px 4px 22px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding: 0 22px; scrollbar-width: none; }
  .rp-leads::-webkit-scrollbar { display: none; }
  .rp-lead { scroll-snap-align: start; }
  .rp-feed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .rp-rule em { display: none; }
  .rp-dir__intro { padding: 14px 0 44px; }
  .edge-modern .rp-dir__intro p { font-size: 15px; }
  .rp-term { margin-right: 10px; font-size: 12.5px; }
  .rp-term__row > span { width: 92px; }
  .rp-term__row > b { min-width: 48px; }
  .rp-dir__block { margin-bottom: 40px; }
  .edge-modern .rp-dir__h { margin-bottom: 14px; font-size: 19px; }
  .rp-entries { grid-template-columns: minmax(0, 1fr); }
  .rp-feed { grid-template-columns: minmax(0, 1fr); }
  .rp-feed__item:nth-child(n+4) { display: none !important; }
  .rp-areas-bar { flex-wrap: nowrap; margin-right: -16px; padding-right: 16px; overflow-x: auto; scrollbar-width: none; }
  .rp-areas-bar::-webkit-scrollbar { display: none; }
  .rp-areas-bar.is-ready:not(.is-open) .is-extra:not([aria-current]) { display: inline-flex; }
  .rp-areas-bar button { display: none !important; }
  .rp-dir__bar { flex-direction: column; align-items: stretch; gap: 0; border-bottom: 0; }
  .rp-page .rp-dir__search { border-bottom: 1px solid var(--rp-line-strong); }
  .rp-dir__sort { margin: 0 -10px; overflow-x: auto; scrollbar-width: none; }
  .rp-dir__sort > span { margin-left: 10px; }
}
@media (hover: none) {
  .edge-modern a.rp-lead:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rp-term__caret { animation: none; }
  .rp-entry::before, .edge-modern a.rp-lead { transition: none; }
  .rp-areas-bar.is-open .is-extra { animation: none; }
  .rp-dir [data-rp-dir-region].is-entering [data-rp-dir-item], [data-rp-dir-item].is-new { animation: none; }
}
.rp-who__follow { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.rp-who__follow > .edge-button { flex: 1 1 0; min-width: 0; }
.edge-modern .rp-who__follow > .edge-button[aria-pressed="true"] { color: var(--edge-primary); }
.rp-who__follow > .edge-button.is-busy { opacity: .55; pointer-events: none; }
.rp-who__followers { color: var(--edge-text-muted); font-size: 12.5px; white-space: nowrap; }
.rp-who__follow:not(:has(.edge-button)) { margin-top: 4px; }
