:root {
  --ink: #101716;
  --ink-soft: #27302e;
  --paper: #f3efe5;
  --paper-deep: #e9e2d3;
  --white: #fffdf7;
  --acid: #c9f25b;
  --acid-dark: #9dc82e;
  --coral: #ff6549;
  --blue: #5e8cff;
  --line: rgba(16, 23, 22, 0.22);
  --muted: #6f746f;
  --danger: #c83f2b;
  --shadow: 7px 7px 0 var(--ink);
  --shell: min(1240px, calc(100% - 40px));
  --font-sans: "Pretendard Variable", Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

section[id] {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  line-height: 1.55;
  word-break: keep-all;
}

body.drawer-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 0 max(20px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid var(--ink);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--acid);
  border: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 800;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 15px;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 700;
}

.primary-nav a {
  position: relative;
  padding: 25px 0;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  background: var(--coral);
  content: "";
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
  padding: 9px 10px 9px 15px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

kbd {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono);
  font-size: 11px;
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  width: var(--shell);
  min-height: 680px;
  margin: 28px auto 0;
  border: 1px solid var(--ink);
  background: var(--white);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(46px, 7vw, 92px);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 34px 34px;
  background-position: -1px -1px;
}

.hero-copy > * {
  position: relative;
}

.eyebrow,
.section-kicker {
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span {
  width: 30px;
  height: 7px;
  background: var(--coral);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(52px, 6vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero h1 em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: var(--acid-dark);
  text-decoration-thickness: 0.18em;
  text-underline-offset: -0.04em;
  text-decoration-skip-ink: none;
}

.hero-lead {
  max-width: 620px;
  margin: 32px 0 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
}

.button-primary {
  background: var(--acid);
}

.button-ghost {
  background: var(--white);
}

.hero-principle {
  display: flex;
  max-width: 480px;
  gap: 16px;
  margin-top: 56px;
  padding-top: 18px;
  border-top: 1px solid var(--ink);
}

.principle-number {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
}

.hero-principle p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-principle strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  isolation: isolate;
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 68px 68px;
  content: "";
}

.year-lockup {
  position: absolute;
  top: 46px;
  right: -8px;
  display: flex;
  flex-direction: column;
  color: var(--acid);
  font-family: Arial Black, Impact, var(--font-sans);
  font-size: clamp(150px, 19vw, 260px);
  font-weight: 900;
  line-height: 0.72;
  letter-spacing: -0.11em;
}

.year-lockup span:last-child {
  margin-left: -42px;
  color: transparent;
  -webkit-text-stroke: 3px var(--acid);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}

.orbit::after {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.orbit-one {
  right: -95px;
  bottom: -90px;
  width: 430px;
  height: 430px;
}

.orbit-one::after {
  top: 40px;
  left: 50px;
}

.orbit-two {
  right: 45px;
  bottom: 48px;
  width: 170px;
  height: 170px;
}

.orbit-two::after {
  right: -8px;
  bottom: 70px;
  background: var(--blue);
}

.hero-stamp {
  position: absolute;
  top: 50%;
  left: 42px;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: var(--coral);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  transform: rotate(-12deg);
}

.hero-status-card {
  position: absolute;
  right: 34px;
  bottom: 34px;
  left: 34px;
  padding: 23px 25px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(16, 23, 22, 0.72);
  backdrop-filter: blur(10px);
}

.hero-status-card p {
  margin: 0 0 10px;
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.hero-status-card strong {
  display: block;
  font-size: 58px;
  line-height: 1;
}

.hero-status-card > span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-mono);
  font-size: 10px;
}

.status-line i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 5px rgba(201, 242, 91, 0.14);
}

.source-metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: var(--shell);
  margin: 0 auto;
  color: var(--white);
  background: var(--ink);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.source-metric {
  min-height: 124px;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.source-metric:last-child {
  border-right: 0;
}

.source-metric strong {
  display: block;
  color: var(--acid);
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.1;
}

.source-metric span {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.source-metric small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.38);
  font-family: var(--font-mono);
  font-size: 9px;
}

.metric-loading {
  grid-column: 1 / -1;
  padding: 32px;
  color: rgba(255, 255, 255, 0.68);
  text-align: center;
}

.section-shell {
  width: var(--shell);
  margin-right: auto;
  margin-left: auto;
}

.change-radar {
  padding: 142px 0 150px;
}

.change-radar-heading h2 {
  font-size: clamp(46px, 6vw, 72px);
}

.change-priority-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 48px;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.change-priority-grid article {
  min-height: 175px;
  padding: 20px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--white);
}

.change-priority-grid span {
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 900;
}

.change-priority-grid strong {
  display: block;
  margin-top: 40px;
  font-size: 17px;
}

.change-priority-grid p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.student-briefing-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  margin-top: 72px;
  padding-top: 22px;
  border-top: 5px solid var(--ink);
  align-items: end;
}

.student-briefing-heading div span {
  display: block;
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 900;
}

.student-briefing-heading div strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  letter-spacing: -0.025em;
}

.student-briefing-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.student-briefing-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.student-briefing-list[hidden] {
  display: none;
}

.student-briefing {
  display: flex;
  min-width: 0;
  padding: 24px;
  flex-direction: column;
  border: 1px solid var(--ink);
  background: var(--white);
  box-shadow: 5px 5px 0 var(--acid), 6px 6px 0 var(--ink);
}

.student-briefing-top {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.student-briefing-top span {
  padding: 5px 8px;
  color: var(--ink);
  background: var(--coral);
  border: 1px solid var(--ink);
  font-size: 9px;
  font-weight: 900;
}

.student-briefing-top small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
}

.student-briefing h3 {
  margin: 22px 0 0;
  font-size: 27px;
  letter-spacing: -0.035em;
}

.student-briefing-lead {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.student-briefing-lead strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 10px;
}

.student-briefing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.student-briefing-grid > div {
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.student-briefing-grid span {
  color: var(--blue);
  font-size: 9px;
  font-weight: 900;
}

.student-briefing-grid p {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.7;
}

.student-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 8px;
  margin-top: 10px;
  padding: 14px;
  color: var(--white);
  background: var(--ink);
  align-items: stretch;
}

.student-result-label {
  display: flex;
  grid-column: 1 / -1;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  align-items: baseline;
  justify-content: space-between;
}

.student-result-label strong {
  color: var(--acid);
  font-size: 10px;
}

.student-result-label span {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.65);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.student-result > div:not(.student-result-label) {
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.student-result > div.reference {
  color: var(--ink);
  background: var(--acid);
  border-color: var(--acid);
}

.student-result > div > span,
.student-result > div > small {
  display: block;
  font-size: 8px;
}

.student-result > div > span {
  font-weight: 850;
}

.student-result > div > strong {
  display: block;
  margin-top: 5px;
  font-size: 23px;
}

.student-result > div > small {
  overflow: hidden;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.55);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.student-result > div.reference > small {
  color: rgba(16, 23, 22, 0.68);
}

.student-result > i {
  align-self: center;
  color: var(--coral);
  font-style: normal;
  font-weight: 900;
}

.student-result.empty {
  display: block;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px dashed var(--ink);
}

.student-result.empty strong {
  font-size: 10px;
}

.student-result.empty p {
  margin: 5px 0 0;
  font-size: 10px;
}

.student-briefing-source {
  display: block;
  margin-top: auto;
  padding-top: 13px;
  color: var(--muted);
  font-size: 8px;
}

.change-toolbar {
  display: grid;
  grid-template-columns: minmax(330px, 0.9fr) minmax(0, 1.1fr);
  gap: 12px;
  margin-top: 26px;
}

.change-filters {
  display: flex;
  min-width: 0;
  padding: 6px;
  flex-wrap: wrap;
  gap: 5px;
  border: 1px solid var(--ink);
  background: var(--white);
}

.change-filter {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
}

.change-filter.active {
  border-color: var(--ink);
  background: var(--acid);
}

.change-summary {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.change-summary strong {
  color: var(--ink);
  font-size: 14px;
}

.change-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.change-card {
  display: flex;
  min-width: 0;
  padding: 22px;
  flex-direction: column;
  border: 1px solid var(--ink);
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
}

.change-card-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.change-card-top > span {
  padding: 4px 7px;
  border: 1px solid var(--ink);
  font-size: 9px;
  font-weight: 900;
}

.change-university {
  color: var(--white);
  background: var(--ink);
}

.change-category {
  background: #dfe8ff;
}

.change-type {
  background: var(--coral);
}

.change-card-top small {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
}

.change-scope {
  margin: 20px 0 5px;
  color: var(--muted);
  font-size: 10px;
}

.change-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.change-before-after {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  margin-top: 20px;
  align-items: stretch;
}

.change-before-after > div {
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.change-before-after > div:last-child {
  border-color: var(--ink);
  background: var(--acid);
}

.change-before-after span {
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 900;
}

.change-before-after p {
  margin: 7px 0 0;
  font-size: 11px;
  line-height: 1.65;
}

.change-before-after > i {
  align-self: center;
  font-style: normal;
  font-weight: 900;
}

.change-impact {
  margin-top: 12px;
  padding: 13px 14px;
  border-left: 5px solid var(--coral);
  background: var(--paper);
}

.change-impact strong {
  font-size: 10px;
}

.change-impact p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.7;
}

.change-evidence {
  margin-top: 12px;
  border-top: 1px dashed var(--line);
}

.change-evidence summary {
  padding: 12px 0 0;
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
}

.change-evidence blockquote {
  margin: 10px 0 0;
  padding: 12px;
  color: var(--ink-soft);
  background: #f5f8ff;
  font-size: 10px;
  line-height: 1.65;
}

.change-evidence small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 9px;
}

.change-empty {
  margin-top: 24px;
  padding: 40px;
  border: 1px dashed var(--ink);
  text-align: center;
}

.change-empty p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.result-policy {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 22px;
  margin-top: 28px;
  padding: 22px;
  align-items: center;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--acid);
}

.result-policy > span {
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 900;
}

.result-policy strong {
  font-size: 15px;
}

.result-policy p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
}

.result-policy > b {
  padding: 7px 9px;
  color: var(--ink);
  background: var(--coral);
  font-size: 9px;
}

.tool-hub {
  padding: 132px 0 140px;
  border-top: 1px solid var(--line);
}

.tool-hub-heading h2 {
  font-size: clamp(46px, 6vw, 72px);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.tool-card {
  position: relative;
  display: flex;
  min-height: 190px;
  padding: 21px;
  flex-direction: column;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--white);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.tool-card:hover,
.tool-card:focus-visible {
  z-index: 1;
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--ink);
}

.tool-card > span {
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.tool-card > strong {
  margin-top: 38px;
  font-size: 19px;
  line-height: 1.3;
}

.tool-card > p {
  margin: 7px 0 20px;
  color: var(--muted);
  font-size: 11px;
}

.tool-card > b {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  padding: 4px 7px;
  color: var(--white);
  background: var(--ink);
  font-size: 8px;
}

.tool-card.featured {
  background: var(--acid);
}

.tool-card.new {
  background: #ffe0d8;
}

.tool-card.new > b {
  color: var(--ink);
  background: var(--coral);
}

.tool-card.ready {
  color: var(--white);
  background: var(--ink);
}

.tool-card.ready > span,
.tool-card.ready > b {
  color: var(--ink);
  background: var(--acid);
}

.tool-card.ready > p {
  color: rgba(255, 255, 255, 0.62);
}

.tool-hub-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.admission-map {
  padding: 132px 0 138px;
  border-top: 1px solid var(--line);
}

.admission-map-heading h2 {
  font-size: clamp(46px, 6vw, 72px);
}

.structure-status {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  margin-top: 48px;
  padding: 24px 26px;
  border: 1px solid var(--ink);
  border-left: 8px solid var(--acid-dark);
  background: var(--white);
}

.structure-status span {
  display: block;
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.structure-status strong {
  display: block;
  margin-top: 5px;
  font-size: 19px;
}

.structure-status p {
  align-self: center;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.structure-toolbar {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto;
  gap: 14px;
  margin-top: 24px;
}

.structure-category-filters {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--ink);
  background: var(--white);
}

.structure-category {
  min-width: 92px;
  padding: 0 17px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.structure-category:last-child {
  border-right: 0;
}

.structure-category.active {
  background: var(--acid);
}

.structure-summary {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.structure-summary strong {
  color: var(--ink);
  font-size: 14px;
}

.structure-list {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.structure-university {
  border: 1px solid var(--ink);
  background: var(--white);
  box-shadow: 5px 5px 0 var(--ink);
}

.structure-university > summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: 88px;
  padding: 15px 20px;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  list-style: none;
}

.structure-university > summary::-webkit-details-marker {
  display: none;
}

.structure-university[open] > summary {
  border-bottom: 1px solid var(--ink);
  background: var(--acid);
}

.structure-university-mark {
  display: grid;
  min-width: 70px;
  min-height: 48px;
  padding: 7px 11px;
  place-items: center;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.structure-university-title strong,
.structure-university-title small {
  display: block;
}

.structure-university-title strong {
  font-size: 20px;
}

.structure-university-title small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.structure-open-label {
  font-size: 11px;
  font-weight: 850;
}

.structure-university[open] .structure-open-label {
  font-size: 0;
}

.structure-university[open] .structure-open-label::after {
  font-size: 11px;
  content: "학과 접기";
}

.structure-university-body {
  padding: 22px;
}

.structure-source-line {
  display: flex;
  min-height: 46px;
  padding: 9px 10px 9px 14px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px dashed var(--ink);
  color: var(--muted);
  background: var(--paper);
  font-size: 10px;
}

.structure-source-button {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid var(--ink);
  background: var(--white);
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
}

.structure-college {
  margin-top: 26px;
}

.structure-college h3 {
  display: flex;
  margin: 0 0 10px;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.structure-college h3 span {
  display: inline-grid;
  min-width: 25px;
  height: 21px;
  padding: 0 6px;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
}

.structure-department-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.structure-department {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}

.structure-department.open {
  grid-column: 1 / -1;
  border-color: var(--ink);
  background: var(--white);
}

.structure-department-head {
  display: flex;
  width: 100%;
  min-height: 72px;
  padding: 14px 15px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.structure-department-head strong,
.structure-department-head small {
  display: block;
}

.structure-department-head strong {
  font-size: 15px;
  line-height: 1.35;
}

.structure-department-head small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.structure-department-head > i {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-style: normal;
  font-size: 17px;
}

.structure-department.open .structure-department-head {
  background: var(--acid);
}

.structure-admission-badges {
  display: flex;
  padding: 0 15px 15px;
  flex-wrap: wrap;
  gap: 6px;
}

.structure-admission-badge {
  display: inline-flex;
  overflow: hidden;
  align-items: stretch;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-size: 9px;
}

.structure-admission-badge b,
.structure-admission-badge i {
  padding: 5px 7px;
  font-style: normal;
}

.structure-admission-badge b {
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.structure-admission-badge i {
  color: var(--white);
  background: var(--ink);
  font-weight: 900;
}

.structure-admission-badge.category-jonghap b {
  background: #dfe8ff;
}

.structure-admission-badge.category-practical b,
.structure-admission-badge.category-nonsul b {
  background: #ffe0d8;
}

.structure-admission-badge.category-gyogwa b {
  background: var(--acid);
}

.structure-department-detail {
  display: grid;
  gap: 12px;
  padding: 0 15px 16px;
}

.structure-department-detail[hidden] {
  display: none;
}

.structure-admission-detail {
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--blue);
  background: var(--paper);
}

.structure-admission-detail.category-practical,
.structure-admission-detail.category-nonsul {
  border-left-color: var(--coral);
}

.structure-admission-detail.category-gyogwa {
  border-left-color: var(--acid-dark);
}

.structure-admission-title {
  display: flex;
  align-items: center;
  gap: 9px;
}

.structure-admission-title > span {
  padding: 4px 7px;
  color: var(--white);
  background: var(--ink);
  font-size: 9px;
  font-weight: 900;
}

.structure-admission-title > strong {
  font-size: 15px;
}

.structure-admission-title > b {
  margin-left: auto;
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 16px;
}

.structure-admission-detail dl {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 8px 14px;
  margin: 17px 0 0;
  font-size: 12px;
  line-height: 1.7;
}

.structure-admission-detail dt {
  color: var(--muted);
  font-weight: 850;
}

.structure-admission-detail dd {
  margin: 0;
}

.structure-admission-detail dd small {
  color: var(--muted);
}

.result-bridge {
  margin-top: 18px;
  padding: 15px;
  border: 1px solid var(--ink);
  background: var(--white);
}

.result-bridge-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.result-bridge-head strong {
  font-size: 12px;
}

.result-bridge-head span {
  color: var(--muted);
  font-size: 9px;
}

.result-grade-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  margin-top: 11px;
  align-items: stretch;
}

.result-grade-pair > div {
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.result-grade-pair > div.reference {
  border-color: var(--ink);
  background: var(--acid);
}

.result-grade-pair > div > span,
.result-grade-pair > div > strong,
.result-grade-pair > div > small {
  display: block;
}

.result-grade-pair > div > span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}

.result-grade-pair > div > strong {
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 23px;
}

.result-grade-pair > div > small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 8px;
}

.result-grade-pair > i {
  align-self: center;
  font-style: normal;
  font-weight: 900;
}

.result-extra {
  display: flex;
  margin-top: 9px;
  flex-wrap: wrap;
  gap: 6px;
}

.result-extra span {
  padding: 5px 7px;
  border: 1px solid var(--line);
  font-size: 8px;
}

.result-bridge > p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}

.result-bridge.empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-style: dashed;
  color: var(--muted);
  font-size: 9px;
}

.result-bridge.empty strong {
  color: var(--ink);
  font-size: 10px;
}

.structure-department-note {
  margin: 0;
  padding: 10px 12px;
  color: var(--muted);
  background: var(--paper);
  font-size: 10px;
}

.structure-empty {
  margin-top: 24px;
  padding: 40px;
  border: 1px dashed var(--ink);
  text-align: center;
}

.structure-empty p {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 12px;
}

.structure-empty a {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.approach {
  padding-top: 148px;
  padding-bottom: 150px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.section-kicker {
  margin-bottom: 16px;
  color: var(--coral);
}

.split-heading {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 430px);
  align-items: end;
  gap: 80px;
}

.split-heading > p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 64px;
}

.approach-card {
  min-height: 290px;
  padding: 30px;
  border: 1px solid var(--ink);
}

.approach-card > span {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.approach-card h3 {
  max-width: 240px;
  margin: 80px 0 14px;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.approach-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.approach-card.acid {
  background: var(--acid);
}

.approach-card.coral {
  background: var(--coral);
}

.approach-card.ink {
  color: var(--white);
  background: var(--ink);
}

.approach-card.ink p {
  color: rgba(255, 255, 255, 0.68);
}

.explorer {
  padding-top: 120px;
  padding-bottom: 140px;
  border-top: 1px solid var(--ink);
}

.explorer-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.result-summary {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.result-summary strong {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 19px;
}

.explorer-toolbar {
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 12px;
  margin-top: 50px;
}

.search-box,
.select-box {
  display: flex;
  min-height: 62px;
  align-items: center;
  border: 1px solid var(--ink);
  background: var(--white);
}

.search-box {
  gap: 15px;
  padding: 0 18px;
}

.search-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.search-icon::after {
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  background: var(--ink);
  content: "";
  transform: rotate(45deg);
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 650;
}

.search-box input::placeholder {
  color: #9b9c94;
  font-weight: 500;
}

.select-box {
  position: relative;
  padding: 0 14px;
  gap: 10px;
}

.select-box span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.select-box select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.filter-group {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: start;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.filter-label {
  padding-top: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.filter-chip:hover,
.filter-chip:focus-visible {
  border-color: var(--ink);
}

.filter-chip.active {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.signal-filters .filter-chip.active {
  color: var(--ink);
  background: var(--acid);
}

.filter-help {
  grid-column: 2;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.university-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.university-card {
  position: relative;
  display: flex;
  min-height: 340px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--ink);
  background: var(--white);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.university-card:hover {
  z-index: 2;
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow);
}

.card-topline {
  display: flex;
  min-height: 25px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.region-label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.change-badge {
  padding: 4px 7px;
  color: var(--white);
  background: var(--coral);
  font-size: 9px;
  font-weight: 900;
}

.university-card h3 {
  margin: 24px 0 8px;
  font-size: 28px;
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.source-health {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
}

.health-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid-dark);
}

.health-dot.review {
  background: var(--coral);
}

.health-dot.error {
  background: var(--danger);
}

.signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 27px 0 24px;
}

.signal-tag {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--paper);
  font-size: 10px;
  font-weight: 700;
}

.card-source-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.card-source-note strong {
  color: var(--ink);
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.card-button {
  min-height: 42px;
  border: 1px solid var(--ink);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.card-button.detail {
  color: var(--white);
  background: var(--ink);
}

.card-button.compare.active {
  background: var(--acid);
}

.card-button:hover,
.card-button:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.empty-state {
  margin-top: 42px;
  padding: 70px 24px;
  border: 1px dashed var(--ink);
  text-align: center;
}

.empty-state > span {
  display: inline-grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 900;
}

.empty-state h3 {
  margin: 22px 0 6px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.text-button {
  margin-top: 18px;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.load-more {
  min-width: 220px;
  min-height: 50px;
  border: 1px solid var(--ink);
  background: var(--acid);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.load-more:hover,
.load-more:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
}

.compare-section {
  padding: 130px 0 145px;
  border-top: 1px solid var(--ink);
  background: var(--paper-deep);
}

.compare-heading h2 {
  font-size: clamp(40px, 5vw, 64px);
}

.compare-content {
  margin-top: 54px;
}

.compare-empty {
  display: flex;
  min-height: 190px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 1px dashed var(--ink);
  background: rgba(255, 255, 255, 0.22);
}

.compare-empty > span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 27px;
}

.compare-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.compare-empty strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 16px;
}

.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ink);
  background: var(--white);
}

.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
}

.compare-table th,
.compare-table td {
  padding: 16px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare-table th:first-child,
.compare-table td:first-child {
  width: 170px;
  color: var(--muted);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
}

.compare-table tr:last-child th,
.compare-table tr:last-child td {
  border-bottom: 0;
}

.compare-table th:last-child,
.compare-table td:last-child {
  border-right: 0;
}

.compare-uni-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.compare-uni-head strong {
  font-size: 19px;
}

.compare-remove {
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.compare-value {
  font-size: 13px;
  line-height: 1.65;
}

.compare-value.muted {
  color: var(--muted);
}

.compare-yes {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 750;
}

.compare-yes::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--acid-dark);
  content: "";
}

.compare-no {
  color: #aaa89f;
}

.compare-footnote {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.guide {
  padding: 140px 0;
  color: var(--white);
  background: var(--ink);
}

.guide-shell {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}

.guide-intro h2 {
  margin: 0;
  color: var(--acid);
  font-size: clamp(48px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.guide-intro > p:last-child {
  max-width: 420px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.8;
}

.guide-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
}

.guide-steps li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
}

.guide-steps > li > span {
  color: var(--coral);
  font-family: var(--font-mono);
  font-weight: 850;
}

.guide-steps h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.guide-steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.guide-warning {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  margin-top: 26px;
  padding: 28px 0 0;
  border-top: 4px solid var(--coral);
}

.guide-warning strong {
  color: var(--coral);
  font-size: 21px;
}

.guide-warning p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.site-footer {
  display: flex;
  min-height: 170px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  width: var(--shell);
  margin: 0 auto;
  padding: 45px 0;
}

.site-footer strong {
  font-size: 15px;
}

.site-footer p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.drawer {
  position: fixed;
  z-index: 100;
  inset: 0;
}

.drawer[hidden] {
  display: none;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(16, 23, 22, 0.72);
  cursor: pointer;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(700px, 94vw);
  overflow-y: auto;
  background: var(--paper);
  border-left: 1px solid var(--ink);
  animation: drawer-in 0.24s ease both;
}

@keyframes drawer-in {
  from { transform: translateX(28px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.drawer-topbar {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  min-height: 64px;
  padding: 0 28px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
  background: color-mix(in srgb, var(--paper) 95%, transparent);
  backdrop-filter: blur(10px);
}

.drawer-topbar > span {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.drawer-close {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.drawer-close span {
  font-size: 24px;
  font-weight: 400;
}

.drawer-content {
  padding: 42px 38px 70px;
}

.drawer-region {
  margin: 0 0 9px;
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.drawer-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.drawer-title-row h2 {
  margin: 0;
  font-size: clamp(38px, 7vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.drawer-health {
  flex: 0 0 auto;
  margin-top: 8px;
  padding: 6px 9px;
  border: 1px solid var(--ink);
  background: var(--acid);
  font-size: 10px;
  font-weight: 850;
}

.drawer-summary {
  margin: 22px 0 0;
  padding: 18px;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
}

.drawer-summary strong {
  color: var(--ink);
}

.drawer-alert {
  margin-top: 12px;
  padding: 14px 16px;
  color: var(--ink);
  background: var(--coral);
  border: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 750;
}

.drawer-section {
  margin-top: 38px;
}

.drawer-section h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 18px;
}

.drawer-section h3 span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
}

.drawer-signals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.drawer-signal {
  display: flex;
  min-height: 58px;
  padding: 12px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.38);
  font-size: 11px;
  font-weight: 750;
}

.drawer-signal i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c5c0b6;
}

.drawer-signal.found {
  background: var(--acid);
  border-color: var(--ink);
}

.drawer-signal.found i {
  background: var(--ink);
}

.snippet-list {
  display: grid;
  gap: 10px;
}

.snippet-card {
  padding: 18px;
  border-left: 5px solid var(--blue);
  background: var(--white);
}

.snippet-card strong {
  display: block;
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 11px;
}

.snippet-card blockquote {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.75;
}

.snippet-card small {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 9px;
}

.document-list {
  display: grid;
  gap: 10px;
}

.document-item {
  padding: 17px;
  border: 1px solid var(--line);
  background: var(--white);
}

.document-item.primary {
  border: 2px solid var(--ink);
}

.document-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.document-kind {
  display: inline-block;
  margin-bottom: 7px;
  padding: 3px 6px;
  color: var(--white);
  background: var(--ink);
  font-size: 8px;
  font-weight: 900;
}

.document-item strong {
  display: block;
  font-size: 12px;
  line-height: 1.55;
  word-break: break-all;
}

.document-meta {
  margin: 7px 0 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
}

.copy-path {
  flex: 0 0 auto;
  padding: 6px 8px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.drawer-note {
  padding: 18px;
  border: 1px dashed var(--ink);
  color: var(--muted);
  font-size: 12px;
}

.drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 34px;
}

.drawer-action {
  min-height: 48px;
  border: 1px solid var(--ink);
  background: var(--white);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.drawer-action.primary {
  background: var(--acid);
}

.compare-dock {
  position: fixed;
  z-index: 70;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: flex;
  width: min(820px, calc(100% - 48px));
  min-height: 72px;
  margin: 0 auto;
  padding: 12px 14px 12px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--acid);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.compare-dock[hidden] {
  display: none;
}

.compare-dock-copy {
  min-width: 0;
}

.compare-dock-copy span {
  display: block;
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 900;
}

.compare-dock-copy strong {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compare-dock-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.dock-clear,
.dock-open {
  display: inline-flex;
  min-height: 42px;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: var(--white);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.dock-open {
  gap: 9px;
  color: var(--ink);
  background: var(--acid);
  border-color: var(--acid);
}

.toast {
  position: fixed;
  z-index: 150;
  top: 92px;
  left: 50%;
  max-width: min(460px, calc(100% - 30px));
  padding: 13px 18px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--acid);
  font-size: 12px;
  font-weight: 750;
  text-align: center;
  transform: translateX(-50%);
}

.toast[hidden] {
  display: none;
}

.data-error {
  grid-column: 1 / -1;
  padding: 40px;
  border: 1px solid var(--danger);
  color: var(--danger);
  background: var(--white);
  text-align: center;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

@media (max-width: 1040px) {
  :root {
    --shell: min(100% - 32px, 920px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 0 16px;
  }

  .primary-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 530px;
  }

  .source-metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .source-metric:nth-child(3) {
    border-right: 0;
  }

  .source-metric:nth-child(-n + 3) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .approach-grid,
  .university-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-heading,
  .guide-shell,
  .guide-warning {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .structure-toolbar {
    grid-template-columns: 1fr;
  }

  .change-toolbar {
    grid-template-columns: 1fr;
  }

  .change-priority-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .student-briefing-list {
    grid-template-columns: 1fr;
  }

  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .structure-category {
    flex: 1;
  }

  .guide-warning {
    grid-column: auto;
  }
}

@media (max-width: 700px) {
  :root {
    --shell: calc(100% - 24px);
  }

  html {
    scroll-padding-top: 68px;
  }

  .site-header {
    min-height: 64px;
  }

  .brand-copy small,
  .header-action kbd {
    display: none;
  }

  .header-action {
    padding: 8px 12px;
  }

  .hero {
    margin-top: 12px;
  }

  .hero-copy {
    padding: 48px 24px;
    background-size: 28px 28px;
  }

  .hero h1 {
    font-size: clamp(47px, 14vw, 66px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-principle {
    margin-top: 42px;
  }

  .hero-visual {
    min-height: 440px;
  }

  .year-lockup {
    top: 44px;
    font-size: 170px;
  }

  .hero-stamp {
    top: 43%;
    left: 24px;
    width: 70px;
    height: 70px;
  }

  .hero-status-card {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .source-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .source-metric {
    min-height: 108px;
    padding: 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .source-metric:nth-child(even) {
    border-right: 0 !important;
  }

  .source-metric:last-child {
    grid-column: 1 / -1;
    border-right: 0 !important;
  }

  .change-radar,
  .tool-hub,
  .admission-map,
  .approach,
  .explorer,
  .compare-section,
  .guide {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .section-heading h2 {
    font-size: 43px;
  }

  .approach-grid,
  .university-grid {
    grid-template-columns: 1fr;
  }

  .structure-status {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 34px;
  }

  .structure-category-filters {
    overflow-x: auto;
  }

  .structure-category {
    min-height: 46px;
    flex: 0 0 auto;
  }

  .structure-university > summary {
    grid-template-columns: auto 1fr;
    padding: 13px;
  }

  .structure-open-label {
    display: none;
  }

  .structure-university-body {
    padding: 12px;
  }

  .structure-source-line {
    display: grid;
  }

  .structure-source-button {
    width: 100%;
  }

  .structure-department-grid {
    grid-template-columns: 1fr;
  }

  .structure-admission-title {
    flex-wrap: wrap;
  }

  .structure-admission-title > b {
    margin-left: 0;
    width: 100%;
  }

  .structure-admission-detail dl {
    grid-template-columns: 76px 1fr;
    gap: 7px 10px;
    font-size: 11px;
  }

  .change-priority-grid,
  .change-list,
  .tool-grid {
    grid-template-columns: 1fr;
  }

  .student-briefing-heading,
  .student-briefing-grid {
    grid-template-columns: 1fr;
  }

  .student-briefing-heading {
    gap: 12px;
    margin-top: 54px;
  }

  .student-briefing {
    padding: 18px;
  }

  .student-result {
    grid-template-columns: 1fr;
  }

  .student-result-label,
  .student-result > i {
    grid-column: auto;
  }

  .student-result > i {
    justify-self: center;
    transform: rotate(90deg);
  }

  .change-priority-grid article {
    min-height: 145px;
  }

  .change-priority-grid strong {
    margin-top: 28px;
  }

  .change-before-after,
  .result-grade-pair {
    grid-template-columns: 1fr;
  }

  .change-before-after > i,
  .result-grade-pair > i {
    justify-self: center;
    transform: rotate(90deg);
  }

  .result-policy {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .result-policy > b {
    justify-self: start;
  }

  .result-bridge-head {
    display: block;
  }

  .result-bridge-head span {
    display: block;
    margin-top: 3px;
  }

  .result-bridge.empty {
    display: grid;
  }

  .approach-grid {
    margin-top: 38px;
  }

  .approach-card {
    min-height: 240px;
  }

  .approach-card h3 {
    margin-top: 58px;
  }

  .explorer-heading {
    display: block;
  }

  .result-summary {
    margin-top: 16px;
  }

  .explorer-toolbar {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .filter-group {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .filter-label {
    padding-top: 0;
  }

  .filter-help {
    grid-column: 1;
  }

  .university-card {
    min-height: 315px;
  }

  .compare-empty {
    padding: 30px;
  }

  .guide-intro h2 {
    font-size: 55px;
  }

  .site-footer {
    display: block;
    min-height: auto;
  }

  .site-footer > p {
    margin-top: 20px;
  }

  .drawer-content {
    padding: 34px 22px 65px;
  }

  .drawer-topbar {
    padding: 0 20px;
  }

  .drawer-title-row {
    display: block;
  }

  .drawer-health {
    display: inline-block;
    margin-top: 14px;
  }

  .drawer-signals {
    grid-template-columns: repeat(2, 1fr);
  }

  .compare-dock {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: calc(100% - 20px);
    padding: 10px 10px 10px 15px;
  }

  .dock-clear {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
