.rp-shell {
  --rp-ink: var(--ink,#211b2d);
  --rp-muted: var(--muted,#594f64);
  --rp-line: var(--line,#e4dce6);
  --rp-accent: var(--accent,#a21f55);
  --rp-accent-strong: var(--accent-strong,#831741);
  --rp-wash: var(--soft,#fff0f5);
  --rp-lilac: var(--lilac,#eee5fc);
  --rp-gutter: clamp(16px,4.9vw,70px);
  color: var(--rp-ink);
  background: white;
  overflow-wrap: anywhere;
}
.rp-wrap { width: min(calc(100% - var(--rp-gutter) * 2),1240px); margin-inline: auto; }
.rp-shell :is(h1,h2,h3,p,figure) { margin: 0; }
.rp-shell h1 { font-size: clamp(2.35rem,5vw,5.05rem); line-height: 1.04; letter-spacing: -.052em; text-wrap: balance; }
.rp-shell h2 { font-size: clamp(1.55rem,3vw,2.75rem); line-height: 1.15; letter-spacing: -.036em; text-wrap: balance; }
.rp-shell h3 { font-size: clamp(1.16rem,2vw,1.46rem); letter-spacing: -.025em; line-height: 1.24; }
.rp-shell p { color: var(--rp-muted); line-height: 1.68; }
.rp-hero { padding-block: clamp(37px,6.5vw,92px); background: var(--rp-wash); }
.rp-hero-layout { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: clamp(23px,5.2vw,73px); align-items: center; }
.rp-hero p { max-width: 56ch; font-size: clamp(1rem,1.45vw,1.27rem); margin-top: 17px; }
.rp-hero-photo { border-radius: 24px; overflow: hidden; background: var(--rp-lilac); border: 1px solid var(--rp-line); }
.rp-hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.rp-stats { display: flex; gap: 11px; flex-wrap: wrap; margin-top: clamp(20px,3vw,37px); }
.rp-stats > div { flex: 1 1 94px; display: flex; flex-direction: column; padding: 12px 13px; gap: 6px; border: 1px solid var(--rp-line); border-radius: 12px; background: white; line-height: 1.29; min-width: 0; }
.rp-stats strong { color: var(--rp-accent); font-size: clamp(1.45rem,3.2vw,2.25rem); font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: -.06em; line-height: 1; }
.rp-stats span { font-size: .83rem; color: var(--rp-muted); }
.rp-results { padding-block: clamp(33px,6vw,80px); scroll-margin-top: 1rem; }
.rp-filters { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr) auto; align-items: end; gap: 12px; margin-top: 22px; padding: clamp(15px,2.5vw,27px); background: var(--paper,#fcfaff); border: 1px solid var(--rp-line); border-radius: 18px; }
.rp-filters label { display: grid; gap: 7px; font-weight: 650; font-size: .88rem; min-width: 0; line-height: 1.35; }
.rp-filters :is(input,select) { width: 100%; min-width: 0; min-height: 46px; border: 1px solid #b6a9bc; border-radius: 9px; background: white; color: var(--rp-ink); padding: 9px 11px; }
.rp-search { position: relative; }
.rp-search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--rp-accent); }
.rp-search input { padding-left: 37px; }
.rp-shell .rp-filters button { padding: 10px 20px; color: white; background: var(--rp-accent); border: 0; border-radius: 9px; min-height: 46px; font-weight: 700; cursor: pointer; }
.rp-shell .rp-filters button:hover { background: var(--rp-accent-strong); }
.rp-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px 20px; padding: 22px 0 15px; color: var(--rp-muted); }
.rp-meta a { text-underline-offset: .19em; }
.rp-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(12px,1.8vw,22px); }
.rp-shell .rp-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: clamp(17px,2.35vw,28px); border: 1px solid var(--rp-line); border-radius: 17px; min-width: 0; color: var(--rp-ink); background: #fff; text-decoration: none; }
.rp-shell .rp-card:hover { background: var(--rp-wash); border-color: #bc90a8; }
.rp-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 9px; width: 100%; font-weight: 650; color: var(--rp-accent); font-size: .8rem; }
.rp-card svg,.rp-back svg,.rp-guidance svg { flex: none; }
.rp-card p { font-size: .96rem; max-width: 48ch; margin-bottom: 3px; }
.rp-status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; min-height: 27px; border-radius: 99px; background: var(--mint,#e6f4ef); color: #244d3b; font-size: .76rem; font-weight: 700; margin-top: auto; line-height: 1.35; }
.rp-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.rp-status.rp-historical { background: var(--rp-lilac); color: #4d366a; }
.rp-empty { background: var(--rp-wash); border-radius: 12px; padding: 22px; }
.rp-pages { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 27px; }
.rp-shell .rp-pages a { min-width: 42px; min-height: 42px; display: grid; place-items: center; border: 1px solid var(--rp-line); border-radius: 8px; text-decoration: none; }
.rp-shell .rp-pages a[aria-current] { color: white; border-color: var(--rp-accent); background: var(--rp-accent); }
.rp-detail-stage { background: var(--rp-wash); }
.rp-detail-head { padding-block: clamp(24px,3.8vw,54px) clamp(33px,5.3vw,74px); }
.rp-back { display: inline-flex; gap: 7px; align-items: center; margin-bottom: 21px; font-weight: 650; font-size: .89rem; text-underline-offset: 3px; }
.rp-eyebrow { font-size: .82rem; font-weight: 750; }
.rp-detail-head h1 { margin-block: 8px 15px; }
.rp-columns { display: grid; grid-template-columns: minmax(0,1fr) minmax(230px,.43fr); gap: clamp(22px,5.4vw,77px); align-items: start; padding-block: clamp(28px,6.4vw,82px); }
.rp-article { min-width: 0; display: grid; gap: clamp(22px,3.4vw,44px); }
.rp-article h2 + p,.rp-aside h2 + p { margin-top: 10px; }
.rp-article p,.rp-aside p { font-size: clamp(.96rem,1.3vw,1.1rem); }
.rp-guidance,.rp-aside,.rp-evidence { background: var(--paper,#fcfaff); padding: clamp(16px,2.6vw,30px); border: 1px solid var(--rp-line); border-radius: 17px; min-width: 0; }
.rp-guidance h2 { display: flex; align-items: baseline; gap: 8px; }
.rp-guidance small,.rp-aside small { display: block; color: var(--rp-muted); margin-top: 12px; }
.rp-aside { background: var(--rp-wash); }
.rp-aside h2 { font-size: clamp(1.38rem,2.4vw,1.95rem); }
.rp-aside .op-inquiry-actions { margin-top: 14px; }
.rp-evidence summary { cursor: pointer; font-weight: 750; }
.rp-evidence p { margin-top: 12px; }
.rp-evidence dl { margin: 12px 0 0; }
.rp-evidence dt { font-weight: 700; line-height: 1.45; }
.rp-evidence dd { margin: 4px 0 9px; color: var(--rp-muted); }
.rp-source-img { border: 1px solid var(--rp-line); border-radius: 12px; overflow: hidden; background: var(--paper,#fcfaff); }
.rp-source-img img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: contain; }
.rp-source-img figcaption { padding: 12px; color: var(--rp-muted); font-size: .86rem; }
.rp-related { border-top: 1px solid var(--rp-line); padding-block: 30px clamp(42px,6vw,81px); }
.rp-related h2 { margin-bottom: 19px; }
@media (max-width: 840px) {
  .rp-hero-layout,.rp-columns { grid-template-columns: minmax(0,1fr); }
  .rp-hero-photo img { aspect-ratio: 16 / 9; }
  .rp-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .rp-filters label:first-child { grid-column: 1/-1; }
  .rp-filters button { grid-column: 1/-1; justify-self: start; }
  .rp-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 475px) {
  .rp-cards { grid-template-columns: minmax(0,1fr); }
  .rp-hero-photo { border-radius: 15px; }
  .rp-filters button { width: 100%; }
}
