
.rp {
  --rp-ink: #1f1f1f;
  --rp-muted: #6b6b6b;
  --rp-line: #e8e8e8;
  --rp-line-strong: #dcdcdc;
  --rp-well: #f6f6f4;
  --rp-track: #e8e8e8;
  --rp-split: 38%;
  color: var(--rp-ink);
  font: 400 16px/1.5 Figtree, system-ui, sans-serif;
  padding-bottom: 56px;
}
.rp * { font-variant-numeric: tabular-nums; }
.rp [hidden] { display: none !important; }
.rp a { color: var(--rp-ink); text-underline-offset: .2em; text-decoration-thickness: 1px; }
.rp a:hover { color: var(--rp-ink); text-decoration-thickness: 2px; }
.rp :focus-visible { outline: 2px solid var(--rp-ink); outline-offset: 2px; }
.rp.rp-js [data-rp-when]:not(.is-on) { display: none; }
.rp:not(.rp-js) .rp-nojs-hide { display: none; }
.rp .external-mark { font-size: 14px; }
.rp .breadcrumbs { font-size: 14px; font-weight: 500; color: var(--rp-muted); padding-top: 16px; }
.rp h1, .rp h2, .rp h3 { font-family: Figtree, system-ui, sans-serif; color: var(--rp-ink); margin: 0; }


.rp-head { margin-top: 14px; }
.rp-head h1 { font-size: 28px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; max-width: 30ch; }
.rp-meta, .rp-ranking { margin: 6px 0 0; font-size: 14px; font-weight: 500; color: var(--rp-muted); }
.rp-ranking { font-size: 16px; max-width: 70ch; }
.rp-glance { display: grid; gap: 28px; margin-top: 20px; }
.rp-answer { background: var(--rp-well); border-radius: 12px; padding: 20px 20px 18px; align-self: start; }
.rp-figure { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0; }
.rp-figure strong { font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.rp-figure span { font-size: 16px; font-weight: 600; color: var(--rp-muted); }
.rp-verdict { margin: 12px 0 0; font-size: 16px; }
.rp-compare { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--rp-line-strong); font-size: 16px; font-weight: 600; }
.rp-pair { display: inline-block; }
.rp-pair > span, .rp-pair span span { color: var(--rp-muted); font-weight: 500; }
.rp-note { margin: 8px 0 0; font-size: 14px; font-weight: 500; color: var(--rp-muted); }


.rp-block { min-width: 0; }
.rp-main > .rp-block + .rp-block { margin-top: 36px; }
.rp-after .rp-dets { margin-top: 12px; }
.rp-hint { margin: 0 0 4px; font-size: 14px; font-weight: 500; color: var(--rp-muted); }
.rp-block > h2, .rp-block-head h2 { font-size: 20px; font-weight: 700; line-height: 1.25; }
.rp-block > h2 { margin-bottom: 8px; }
.rp-block-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 12px; }
.rp-block-head .rp-meta { margin: 0; }
.rp-avg-key { margin: 0; font-size: 14px; font-weight: 500; color: var(--rp-muted); display: inline-flex; align-items: center; gap: 8px; }
.rp-avg-key i { width: 2px; height: 16px; background: var(--rp-ink); }
.rp-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter, 16px) * -1) 12px; padding: 2px var(--gutter, 16px); }
.rp-chips::-webkit-scrollbar { display: none; }
.rp button.rp-chip { flex: none; min-height: 44px; padding: 0 14px; border: 1px solid var(--rp-line-strong); border-radius: 999px; background: #fff; color: var(--rp-ink); font: 600 16px/1 Figtree, system-ui, sans-serif; white-space: nowrap; cursor: pointer; }
.rp button.rp-chip:hover { border-color: var(--rp-ink); }
.rp button.rp-chip[aria-pressed="true"] { background: var(--rp-ink); border-color: var(--rp-ink); color: #fff; }
.rp button.rp-chip-college[aria-pressed="false"] { display: none; }
.rp-toolbar { display: grid; }
.rp-search { display: block; margin-bottom: 4px; }
.rp .rp-search input { width: 100%; min-height: 44px; padding: 0 18px; border: 1px solid var(--rp-line-strong); border-radius: 999px; font: 400 16px Figtree, system-ui, sans-serif; color: var(--rp-ink); background: #fff; }
.rp .rp-search input::placeholder { color: var(--rp-muted); }
.rp-empty { margin: 12px 0 0; font-size: 16px; color: var(--rp-muted); }
.rp button.rp-more { display: block; width: 100%; margin-top: 16px; min-height: 48px; padding: 0 22px; border: 1px solid var(--rp-ink); border-radius: 8px; background: #fff; color: var(--rp-ink); font: 600 16px Figtree, system-ui, sans-serif; cursor: pointer; }


.rp-bars { list-style: none; margin: 0; padding: 0; }
.rp .rp-bars .rp-bar { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label value" "track track"; gap: 6px 12px; align-items: center; min-height: 44px; padding: 8px 0; border-bottom: 1px solid var(--rp-line); color: var(--rp-ink); text-decoration: none; }
.rp button.rp-bar { width: 100%; border: 0; border-bottom: 1px solid var(--rp-line); border-radius: 0; background: none; color: var(--rp-ink); font: inherit; text-align: left; cursor: pointer; }
:is(a, button).rp-bar:hover .rp-bar-label { text-decoration: underline; }
.rp-bar-label { grid-area: label; font-size: 16px; font-weight: 600; line-height: 1.3; }
.rp-bar-value { grid-area: value; font-size: 16px; font-weight: 600; text-align: right; }
.rp-bar-track { grid-area: track; position: relative; height: 6px; border-radius: 999px; background: var(--rp-track); }
.rp-bar-track > span { display: block; height: 100%; border-radius: inherit; background: var(--rp-ink); }
.rp-bar-track::after { content: ""; position: absolute; left: var(--avg); top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--rp-ink); box-shadow: 0 0 0 1px #fff; }
.rp-axis { margin: 8px 0 0; font-size: 14px; font-weight: 500; color: var(--rp-muted); }
.rp-axis-scale { position: relative; display: block; height: 20px; }
.rp-axis-scale span { position: absolute; top: 0; white-space: nowrap; transform: translateX(-50%); }
.rp-axis-scale span:nth-child(1) { left: 0; transform: none; } .rp-axis-scale span:nth-child(2) { left: 50%; } .rp-axis-scale span:nth-child(3) { left: 100%; transform: translateX(-100%); }


.rp-mix-row + .rp-mix-row { margin-top: 18px; }
.rp-mix-label { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
.rp-mix-bar { display: flex; height: 24px; margin: 0; border-radius: 8px; overflow: hidden; background: var(--rp-track); }
.rp-mix-key { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0 0; font-size: 14px; font-weight: 500; color: var(--rp-muted); }
.rp-mix-key span, .rp-years-key span { display: inline-flex; align-items: center; gap: 6px; }
.rp-mix-key i, .rp-years-key i, .rp-stack-key i { width: 10px; height: 10px; border-radius: 4px; flex: none; }
.rp-g0 { background: #1f1f1f; } .rp-g1 { background: #6b6b6b; } .rp-g2 { background: #949494; } .rp-g3 { background: #c4c4c4; } .rp-g4 { background: #e8e8e8; }


.rp-years-key { display: flex; gap: 16px; margin: 0 0 4px; font-size: 14px; font-weight: 500; color: var(--rp-muted); }
.rp-years { list-style: none; margin: 0; padding: 0; }
.rp-years li { display: grid; gap: 4px; padding: 8px 0; border-bottom: 1px solid var(--rp-line); }
.rp-years-label { margin: 0; font-size: 16px; font-weight: 600; }
.rp-years-bars { display: grid; gap: 3px; }
.rp-years-bar { display: flex; align-items: center; gap: 8px; margin: 0; min-height: 14px; line-height: 1.1; }
.rp-years-bar > span { display: block; height: 8px; min-width: 2px; border-radius: 999px; }
.rp-years-bar b { font-size: 14px; font-weight: 600; }
.rp-years-note { margin: 2px 0 0; font-size: 14px; font-weight: 500; color: var(--rp-muted); }
.rp-y0 { background: #1f1f1f; } .rp-y1 { background: #8a8a8a; } .rp-y2 { background: #cdcdcd; } .rp-y3 { background: #e8e8e8; }


.rp-stack-total { margin: 0 0 10px; font-size: 16px; color: var(--rp-muted); }
.rp-stack-total b { font-size: 20px; font-weight: 700; color: var(--rp-ink); }
.rp-stack { display: flex; height: 28px; margin: 0; border-radius: 8px; overflow: hidden; background: var(--rp-track); }
.rp-stack > span + span { box-shadow: inset 1px 0 #fff; }
.rp-stack-key { list-style: none; margin: 12px 0 0; padding: 0; display: grid; }
.rp-stack-key li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 40px; border-bottom: 1px solid var(--rp-line); font-size: 16px; }
.rp-stack-key b { font-weight: 600; }
.rp-own { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, 180px); gap: 12px; align-items: center; margin: 16px 0 0; padding: 12px 0 0; border-top: 1px solid var(--rp-line); font-size: 16px; font-weight: 600; }
.rp-own-field { display: flex; align-items: center; gap: 6px; font-weight: 400; }
.rp-own input { width: 100%; min-width: 0; min-height: 44px; padding: 0 10px; border: 1px solid var(--rp-line-strong); border-radius: 8px; font: inherit; background: #fff; }
.rp:not(.rp-js) .rp-own { display: none; }
.rp-c0 { background: #1f1f1f; } .rp-c1 { background: #545454; } .rp-c2 { background: #858585; } .rp-c3 { background: #b0b0b0; } .rp-c4 { background: #d2d2d2; } .rp-c5 { background: #e8e8e8; }


.rp-list { list-style: none; margin: 0; padding: 0; }
.rp-list li { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 60px; padding: 10px 0; border-bottom: 1px solid var(--rp-line); }
.rp-rank { font-size: 16px; font-weight: 600; color: var(--rp-muted); }
.rp-list-name { min-width: 0; font-size: 16px; font-weight: 600; line-height: 1.3; }
.rp-list-name a { text-decoration: none; }
.rp-list-name a:hover { text-decoration: underline; }
.rp-list-name small { display: block; margin-top: 2px; font-size: 14px; font-weight: 500; color: var(--rp-muted); }
.rp-list b { font-size: 16px; font-weight: 600; text-align: right; white-space: nowrap; }

.rp-list-name:has(> img.fg-thumb, > .fg-thumbs) { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: start; }
.rp-list-name > img.fg-thumb, .rp-list-name > .fg-thumbs { grid-column: 1; grid-row: 1 / span 6; float: none; margin: 2px 0 0; }
.rp-list-name:has(> img.fg-thumb, > .fg-thumbs) > :not(img.fg-thumb):not(.fg-thumbs) { grid-column: 2; }
.rp-list-v { display: none; }

.rp-list li { position: relative; }
.rp-list .rp-list-name > a:not([aria-hidden="true"]) { display: inline; min-height: 0; }
.rp-list .rp-list-name > a::after { content: ""; position: absolute; inset: 0; }
.rp-list li:hover .rp-list-name > a { text-decoration: underline; }
@media (max-width: 600px) {
  
  .rp-list li { grid-template-columns: 24px minmax(0, 1fr); gap: 8px; }
  .rp-list li > b { display: none; }
  .rp-list-v { display: block; margin-top: 1px; font-size: 16px; font-weight: 600; color: var(--rp-ink); }
  .rp-list-v > span { font-weight: 500; color: var(--rp-muted); }
}


.rp-best { margin-top: 18px; }
.rp-top { border: 1px solid var(--rp-line); border-radius: 12px; overflow: hidden; background: #fff; }
.rp-top .campus-photo { margin: 0; max-width: none !important; }
.rp-top .campus-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; }
.rp-top .campus-photo figcaption { display: flex; flex-wrap: wrap; gap: 2px 10px; padding: 8px 20px 0; font-size: 14px; font-weight: 500; color: var(--rp-muted); }
.rp-top .campus-photo figcaption a { color: var(--rp-muted); }
.rp-top .campus-photo { position: relative; }
.rp-top .campus-photo figcaption:has(> .rp-credit) { position: absolute; right: 6px; bottom: 6px; display: block; padding: 0; z-index: 2; }
.rp-credit summary { display: grid; place-items: center; width: 44px; height: 44px; list-style: none; cursor: pointer; }
.rp-credit summary::-webkit-details-marker { display: none; }
.rp-credit summary::before { content: "i"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgb(255 255 255 / 92%); font: italic 700 14px/1 Georgia, serif; color: var(--rp-ink); }
.rp-credit summary:focus-visible { outline: 2px solid var(--rp-ink); outline-offset: -6px; border-radius: 50%; }
.rp-credit div { position: absolute; right: 6px; bottom: 46px; display: grid; gap: 2px; width: max-content; max-width: min(300px, 80vw); padding: 8px 12px; border-radius: 8px; background: #fff; font-size: 14px; font-weight: 500; color: var(--rp-muted); box-shadow: 0 2px 10px rgb(0 0 0 / 18%); }
.rp-credit div a { color: var(--rp-muted); }
.rp-top-copy { padding: 14px 20px 20px; }
.rp-top-rank { margin: 0; font-size: 14px; font-weight: 600; color: var(--rp-muted); }
.rp-top h2 { margin: 4px 0 0; font-size: 20px; font-weight: 700; line-height: 1.25; }
.rp-top h2 a { text-decoration: none; }
.rp-top h2 a:hover { text-decoration: underline; }
.rp-top-value { margin: 10px 0 0; font-size: 20px; font-weight: 700; }
.rp-top-value span { font-size: 16px; font-weight: 500; color: var(--rp-muted); }
.rp-top-fact { margin: 2px 0 0; font-size: 16px; font-weight: 500; color: var(--rp-muted); }

.rp-top-pill { display: inline-block; margin: 0; padding: 2px 10px; border-radius: 999px; background: var(--rp-ink); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.5; }
.rp-top-why { margin: 8px 0 0; font-size: 16px; font-weight: 400; line-height: 1.45; color: var(--rp-ink); text-wrap: pretty; }
.rp-list-name small { line-height: 1.35; }
.rp-list-block .rp-list li { padding: 8px 0; }
.rp-list-name .rp-verdict { margin-top: 1px; font-weight: 400; color: var(--rp-muted); }
.rp-list-name .rp-verdict b { font-weight: 600; color: var(--rp-ink); }
.rp-index { list-style: none; margin: 0 0 8px; padding: 0; border-top: 1px solid var(--rp-line); }
.rp-index a { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--rp-line); text-decoration: none; min-height: 44px; }
.rp-index strong { font-size: 16px; font-weight: 600; }
.rp-index a:hover strong { text-decoration: underline; }
.rp-index span { font-size: 14px; font-weight: 500; color: var(--rp-muted); }
.rp-listicle .rp-block + .rp-block { margin-top: 32px; }
.rp-listicle .rp-block > h2 { margin-top: 24px; }


.rp-dets { margin-top: 40px; border-top: 1px solid var(--rp-line); }
.rp-dets details { border-bottom: 1px solid var(--rp-line); }
.rp-dets summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) auto 20px; gap: 12px; align-items: center; min-height: 60px; padding: 8px 0; cursor: pointer; }
.rp-dets summary::-webkit-details-marker { display: none; }
.rp-dl { font-size: 16px; font-weight: 600; }
.rp-dv { font-size: 16px; font-weight: 500; color: var(--rp-muted); text-align: right; }
.rp-dets summary svg { width: 20px; height: 20px; transition: transform .2s ease; }
.rp-dets details[open] summary svg { transform: rotate(180deg); }
.rp-in { padding: 0 0 22px; font-size: 16px; }
.rp-in p { margin: 0 0 12px; max-width: 70ch; }
.rp-in h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; }
.rp-two { display: grid; gap: 20px; margin-bottom: 4px; }
.rp-mini { margin: 0 0 10px; padding: 0; list-style: none; }
.rp-mini li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rp-line); font-size: 16px; }
.rp-facts { list-style: none; margin: 0 0 12px; padding: 0; }
.rp-facts li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rp-line); font-size: 16px; }
.rp-facts b { font-size: 16px; font-weight: 700; }
.rp-links { list-style: none; margin: 0; padding: 0; }
.rp-links li { padding: 6px 0; font-size: 16px; }
.rp-table-wrap { overflow-x: auto; margin: 0 0 14px; }
.rp-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.rp-table th, .rp-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rp-line); text-align: right; vertical-align: top; font-weight: 400; }
.rp-table th:first-child { text-align: left; font-weight: 500; }
.rp-table thead th { font-size: 14px; font-weight: 600; color: var(--rp-muted); }
.rp-table tr > :last-child { padding-right: 0; }
.rp-checked { margin: 20px 0 0; font-size: 14px; font-weight: 500; color: var(--rp-muted); }

@media (max-width: 639px) {
  .rp-head h1 { font-size: 26px; }
  .rp-wide { display: none; }
}
@media (min-width: 700px) {
  .rp .rp-bars .rp-bar { grid-template-columns: minmax(0, var(--rp-split)) minmax(0, 1fr) 48px; grid-template-areas: "label track value"; }
  .rp-axis { padding: 0 60px 0 calc(var(--rp-split) + 12px); }
  .rp-years li { grid-template-columns: minmax(0, var(--rp-split)) minmax(0, 1fr); column-gap: 12px; align-items: start; }
  .rp-years-note { grid-column: 2; }
  .rp-years-key { padding-left: calc(var(--rp-split) + 12px); }
  .rp-two { grid-template-columns: 1fr 1fr; gap: 32px; }
  .rp button.rp-more { width: auto; }
  .rp-chips { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .rp-toolbar { grid-template-columns: auto auto; justify-content: start; column-gap: 20px; }
  .rp-stack-key { grid-template-columns: 1fr 1fr; column-gap: 32px; }
}
@media (min-width: 1000px) {
  .rp-glance { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; column-gap: 56px; row-gap: 8px; align-items: start; }
  .rp-glance > :is(.rp-answer, .rp-cards) { grid-column: 1; grid-row: 1; }
  .rp-glance > :is(.rp-block, .rp-main) { grid-column: 2; grid-row: 1 / span 2; }
  .rp-glance > .rp-after { grid-column: 1; grid-row: 2; }
  .rp-after .rp-dets { margin-top: 20px; }
  .rp-head h1 { max-width: 46ch; }
}
@media (prefers-reduced-motion: reduce) {
  .rp-dets summary svg { transition: none; }
}
