:root {
  --lime: #c5f34f;
  --ink: #121712;
  --muted: #646b62;
  --paper: #fffdf7;
  --soft: #f2f0e8;
  --line: #d9d8cf;
  --blue: #dbe7ff;
  --red: #ff684a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
button, input, select { font: inherit; }
.topbar { height: 64px; padding: 0 28px; border-bottom: 1px solid var(--ink); display: flex; align-items: center; justify-content: space-between; background: var(--paper); position: sticky; top: 0; z-index: 20; }
.brand { display: inline-flex; gap: 9px; align-items: center; color: inherit; text-decoration: none; }
.brand span { width: 35px; height: 35px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; background: var(--lime); font-weight: 950; }
.brand strong { font-size: 18px; }
.back { color: inherit; text-decoration: none; border: 1px solid var(--ink); border-radius: 999px; padding: 9px 14px; font-size: 13px; font-weight: 900; }
.hero { padding: 70px max(24px, calc((100vw - 1180px) / 2)); background: var(--lime); border-bottom: 1px solid var(--ink); }
.eyebrow, .section-kicker { margin: 0 0 8px; font-size: 12px; font-weight: 950; letter-spacing: .12em; }
h1 { margin: 0; max-width: 900px; font-size: clamp(42px, 8vw, 94px); line-height: .98; letter-spacing: -.06em; }
h1 em { font-style: normal; color: transparent; -webkit-text-stroke: 2px var(--ink); }
.lead { max-width: 760px; margin: 24px 0 0; line-height: 1.72; font-size: 17px; font-weight: 750; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hero-stat { border: 1px solid var(--ink); background: var(--paper); padding: 9px 12px; display: flex; gap: 7px; align-items: baseline; }
.hero-stat strong { font-size: 19px; }
.hero-stat span { font-size: 12px; color: var(--muted); font-weight: 850; }
.shell { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.coverage { margin-top: 24px; padding: 20px; border: 1px solid var(--ink); display: grid; grid-template-columns: 280px 1fr; gap: 20px; align-items: start; background: var(--soft); }
.coverage h2, .source-gaps h2 { margin: 0; font-size: 24px; }
.coverage > p { margin: 0; line-height: 1.7; color: #343a32; }
.toolbar { padding: 28px 0 14px; }
.focus-tabs { display: flex; flex-wrap: wrap; gap: 7px; }
.focus-tab { cursor: pointer; border: 1px solid var(--ink); background: var(--paper); padding: 10px 14px; font-weight: 950; }
.focus-tab.active { background: var(--ink); color: var(--lime); }
.filters { margin-top: 13px; display: grid; grid-template-columns: minmax(240px, 1fr) 220px 180px; gap: 9px; }
.filters label { display: grid; gap: 5px; }
.filters span { font-size: 11px; font-weight: 900; color: var(--muted); }
.filters input, .filters select { width: 100%; min-width: 0; height: 44px; border: 1px solid var(--line); border-radius: 0; background: #fff; padding: 0 11px; color: var(--ink); }
.result-summary { margin: 13px 0 0; color: var(--muted); font-size: 13px; }
.result { display: grid; gap: 18px; padding-bottom: 34px; }
.university-group { border-top: 4px solid var(--ink); }
.university-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; padding: 13px 0 10px; }
.university-head h2 { margin: 0; font-size: 25px; }
.university-head span { color: var(--muted); font-size: 12px; font-weight: 850; }
.row-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.admission-card { border: 1px solid var(--line); background: #fff; padding: 15px; min-width: 0; }
.card-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.card-top h3 { margin: 0; font-size: 17px; overflow-wrap: anywhere; }
.quota { flex: 0 0 auto; color: var(--red); font-size: 18px; font-weight: 950; }
.badges { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0 12px; }
.badge { padding: 4px 7px; border: 1px solid var(--ink); font-size: 10px; font-weight: 900; background: var(--blue); }
.badge.partner { background: var(--lime); }
.detail { display: grid; grid-template-columns: 76px 1fr; gap: 7px 10px; margin: 0; font-size: 12px; line-height: 1.55; }
.detail dt { color: var(--muted); font-weight: 900; }
.detail dd { margin: 0; overflow-wrap: anywhere; }
.source { margin: 12px 0 0; padding-top: 10px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 10px; }
.empty { padding: 26px; border: 1px solid var(--line); color: var(--muted); }
.source-gaps { margin-bottom: 50px; padding: 22px; border: 1px solid var(--line); background: var(--soft); }
.source-gaps ul { margin: 14px 0 0; padding-left: 20px; color: #474d45; line-height: 1.75; font-size: 13px; }
footer { border-top: 1px solid var(--ink); padding: 24px; text-align: center; color: var(--muted); font-size: 11px; }
@media (max-width: 780px) {
  .topbar { padding: 0 16px; }
  .hero { padding: 48px 18px; }
  .coverage { grid-template-columns: 1fr; }
  .filters, .row-grid { grid-template-columns: 1fr; }
  .university-head { align-items: flex-start; flex-direction: column; }
}
