:root {
  color-scheme: light;
  --navy: #112541;
  --ink: #13243b;
  --muted: #526177;
  --accent: #25527e;
  --line: #d8e0e9;
  --paper: #f0f4f7;
  --white: #fff;
  font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; line-height: 1.55; }
button, textarea, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, textarea:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid #1673ab;
  outline-offset: 3px;
}
h1, h2, p { margin: 0; }
h1, h2 { line-height: 1.22; letter-spacing: -.045em; word-break: keep-all; }
h2 { font-size: clamp(1.18rem, 2.4vw, 1.5rem); }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 4; padding: .8rem; background: var(--white); }
.skip:focus { top: 1rem; }
.masthead { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; line-height: 1; }
.brand strong { color: #0b2038; font-size: 1.35rem; letter-spacing: -.075em; }
.brand small { display: block; text-align: right; margin-top: 4px; color: var(--muted); font-size: .63rem; letter-spacing: .015em; }
.brand-symbol { width: 38px; aspect-ratio: 1.42; display: block; position: relative; overflow: hidden; }
.brand-symbol img { position: absolute; width: 219%; left: -61%; top: -15%; }
nav { display: flex; gap: clamp(12px, 2vw, 25px); align-items: center; flex-wrap: wrap; }
nav a { position: relative; padding: 15px 0; font-size: .86rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
nav a[aria-current] { color: var(--navy); }
nav a[aria-current]::after { position: absolute; content: ""; height: 2px; inset: auto 0 5px; background: #426587; }
#count { display: inline-grid; place-items: center; border-radius: 1em; min-width: 1.45em; background: #e2ebf3; padding: 0 .32em; font-size: .75em; }
main { min-height: 62vh; padding-block: 35px 46px; outline: none; }
.hero { position: relative; display: flex; align-items: center; justify-content: space-between; overflow: hidden; min-height: 362px; border-radius: 24px; background: linear-gradient(115deg, #101f36, #17365a); color: var(--white); }
.hero-copy { position: relative; z-index: 1; padding: clamp(29px, 5vw, 58px); }
.hero-label { color: #b7d3ed !important; font-size: .83rem; font-weight: 750; letter-spacing: .05em; }
.hero h1 { font-size: clamp(2.35rem, 5.4vw, 4.2rem); margin: 12px 0 14px; line-height: 1.13; }
.hero-copy > p { color: #e1eaf3; }
.hero .button { margin-top: 23px; }
.hero-art { position: absolute; width: 43%; height: 76%; right: 2%; bottom: -1%; overflow: hidden; opacity: .53; mix-blend-mode: screen; }
.hero-art img { position: absolute; width: 214%; left: -57%; top: -4%; filter: invert(1) grayscale(1) brightness(.72) contrast(1.25); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 31px 0 15px; }
.section-head span, .path-card small, .quick-links small, .page-title > p:last-child { color: var(--muted); }
.section-head span { font-size: .83rem; }
.path-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.path-card { display: flex; position: relative; flex-direction: column; align-items: flex-start; min-width: 0; padding: 19px; border: 1px solid var(--line); background: var(--white); border-radius: 15px; transition: border-color .18s, transform .18s; }
.path-card:hover { border-color: #6d96bd; transform: translateY(-2px); }
.path-icon { width: 37px; height: 37px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 9px; background: #e8eff6; color: #254e76; }
.path-icon svg { width: 22px; }
.arrow { position: absolute; right: 17px; top: 17px; color: #436587; }
.category { color: #315d85; font-size: .8rem; font-weight: 780; }
.path-card strong { font-size: clamp(1rem, 2vw, 1.2rem); letter-spacing: -.04em; margin: 3px 0 5px; }
.path-card small { font-size: .79rem; }
.quick-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.quick-links a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 8px; border: 1px solid var(--line); border-radius: 13px; padding: 15px 17px; background: #e8eef4; }
.quick-links a:hover { border-color: #6d96bd; }
.quick-links small { grid-column: 1; font-size: .78rem; }
.quick-links span { grid-column: 2; grid-row: 1 / span 2; color: var(--accent); }
.back { display: inline-block; margin-bottom: 17px; color: var(--accent); font-size: .87rem; font-weight: 750; }
.back:hover, .record-heading + h2 a:hover { text-decoration: underline; }
.page-title { display: grid; gap: 9px; margin-bottom: 23px; }
.page-title h1 { font-size: clamp(2rem, 5vw, 3.35rem); }
.detail-grid, .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 17px; padding: clamp(17px, 3vw, 27px); }
.panel h2 { margin-bottom: 9px; }
.panel .category + h2 { margin-top: 4px; }
.panel p { color: var(--muted); }
.panel .category { color: #315d85; }
.panel > .button { margin-top: 16px; }
.prompt { margin-top: 13px; padding: 12px 15px; border-left: 3px solid #7494b3; border-radius: 0 8px 8px 0; background: #eef4f9; color: var(--ink) !important; }
.record-panel, .mentor { margin-top: 15px; }
.record-panel > p { font-size: .9rem; }
.form-grid { margin: 13px 0 16px; }
label { display: grid; gap: 5px; font-size: .9rem; font-weight: 750; }
textarea { width: 100%; min-height: 94px; resize: vertical; font-weight: 400; padding: 11px 12px; border: 1px solid #b8c8d8; border-radius: 9px; color: var(--ink); background: #fbfdff; }
textarea::placeholder { color: #647386; }
.actions, .choices { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.choices { margin-top: 13px; }
.lab-next { margin-top: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: .55rem; max-width: 100%; min-height: 44px; padding: 9px 15px; border: 1px solid transparent; border-radius: 9px; font-weight: 750; font-size: .88rem; line-height: 1.37; overflow-wrap: anywhere; }
.primary { color: white; background: #1e3e63; }
.primary:hover { background: #132c4a; }
.secondary { background: #f6f9fc; border-color: #bfcddd; color: #1b426a; }
.secondary:hover, .secondary[aria-pressed="true"] { background: #e0edf8; border-color: #5e87ad; }
.light { color: #172c47; background: #f5f9fd; }
.light:hover { background: #dfebf6; }
.text { background: transparent; color: #685160; }
.text:hover { text-decoration: underline; }
.mentor summary { cursor: pointer; font-weight: 750; }
.mentor p { margin-top: 9px; }
.passport-list { display: grid; gap: 12px; }
.record-heading { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.sample, .done { display: inline-block; background: #edf2f8; color: #314a66 !important; border-radius: 7px; padding: 3px 8px; font-size: .75rem; font-weight: 730; }
form > .sample { margin-top: 12px; }
.done { background: #e0f0e9; color: #235845 !important; }
dl { margin: 12px 0 15px; }
dt { font-size: .78rem; color: var(--muted); font-weight: 730; }
dd { margin: 3px 0 11px; white-space: pre-wrap; overflow-wrap: anywhere; }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3px 15px; padding-block: 17px 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.toast { position: fixed; bottom: 20px; left: 50%; width: max-content; max-width: calc(100% - 32px); transform: translate(-50%, 12px); background: var(--navy); color: white; border-radius: 10px; padding: 11px 16px; opacity: 0; pointer-events: none; z-index: 5; transition: opacity .18s, transform .18s; }
.toast.shown { opacity: 1; transform: translate(-50%, 0); }
.journey-links, .board-list { margin-top: 15px; }
.goal-bar { margin-bottom: 16px; justify-content: space-between; }
.goal-bar strong { margin-right: auto; }
.dashboard-panel { margin-top: 18px; display: grid; gap: 14px; }
.dashboard-panel .goal-bar { margin: 0; background: #f5f9fd; }
.dashboard-block { display: grid; gap: 8px; }
.dashboard-block h3 { margin: 0; font-size: .95rem; color: var(--ink); }
.region-hero { min-height: 270px; }
.region-hero h1 { max-width: 12em; }
.region-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 19px; }
.region-card { display: grid; gap: 7px; background: var(--white); color: var(--ink); padding: 19px; border: 1px solid var(--line); border-radius: 15px; }
.region-card strong { font-size: 1.34rem; }
.region-card span { color: var(--muted); font-size: .86rem; }
.region-card:hover { border-color: #6d96bd; }
.region-open { background: #e3eef8; border-color: #7395b6; }
.region-open span { color: var(--accent); font-weight: 750; }
.page-title + .journey-links { margin-block: 0 15px; }
.career-timeline { position: relative; display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.career-timeline h2 { display: flex; align-items: center; gap: 10px; }
.step-number { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 50%; background: #e5eff8; color: #1b426a; font-size: .85rem; letter-spacing: 0; }
.step-links, .match-grid .actions { margin-top: 12px; }
.career-tips { margin: 0; padding-left: 1.35em; }
.career-tips li + li { margin-top: 7px; }
.balance-question progress { display: block; width: min(100%, 380px); height: 10px; accent-color: var(--accent); margin: 9px 0 18px; }
.balance-options, .match-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.balance-options button { min-height: 65px; padding: 12px; }
.balance-question .text { margin-top: 8px; }
.match-note { margin: 0 0 14px; color: var(--muted); }
.panel .match-example { margin-top: 8px; color: #315d85; font-weight: 700; }
.stage-grid, .education-grid, .admissions-routes { display: grid; gap: 13px; }
.stage-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.education-grid, .admissions-routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stage-card { min-height: 146px; }
.stage-nav { display: flex; gap: 8px; margin: 0 0 14px; }
.stage-nav a[aria-current] { background: #e0edf8; border-color: #5e87ad; }
.stage-nav a[aria-current]::after { content: none; }
.stage-section { margin-top: 21px; }
.stage-section .section-head { margin: 0 0 12px; }
.admissions-routes h3, .education-card h3 { margin: 0 0 4px; color: var(--ink); line-height: 1.35; }
.admissions-routes h3 { font-size: 1rem; }
.education-card h3 { font-size: 1.18rem; }
.education-card .category { margin-block: 4px 7px; }
.education-card .match-example { margin-block: 14px 6px; }
.school-filter { width: max-content; max-width: 100%; margin-bottom: 13px; }
.school-filter select, .search-form :is(input, select), [data-pair] select {
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid #b8c8d8;
  border-radius: 9px;
  background: #fbfdff;
  color: var(--ink);
}
.school-filter select { min-width: 145px; background: var(--white); border-color: var(--line); }
.search-form { display: grid; grid-template-columns: minmax(150px, 200px) 1fr auto; align-items: end; gap: 12px; }
.cn-card { padding-block: 14px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; justify-items: start; }
.cn-card:first-child { padding-top: 0; }
.cn-card h3 { margin: 0; font-size: 1.05rem; }
.cn-detail { width: 100%; padding: 14px 16px; border-radius: 12px; background: #f4f8fc; border: 1px solid var(--line); display: grid; gap: 12px; }
.cn-detail h4 { margin: 0 0 4px; font-size: .88rem; color: var(--accent); }
.cn-detail ul { margin: 0; padding-left: 1.25em; color: var(--ink); font-size: .9rem; }
.cn-detail ul.subject-tags { padding-left: 0; }
.cn-busan-badge { background: #1e3e63 !important; color: #fff !important; font-weight: 700; }
.college-evidence { margin-top: 13px; }
.college-evidence summary { cursor: pointer; font-weight: 720; }
.college-evidence p { font-size: .87rem; margin-top: 6px; }
.college-evidence dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.college-evidence dd { white-space: nowrap; }
.college-evidence a:not(.button) { color: var(--accent); text-decoration: underline; }
.work-intro { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.work-intro > .button { margin: 0; }
.map-sequence { padding: 12px 14px; border-radius: 10px; background: #eaf2fa; color: var(--ink) !important; font-weight: 740; }
.map-sequence span { color: #426587; }
.panel .map-note { margin-top: 7px; font-size: .83rem; }
.map-focus { margin-block: 13px 17px; }
.map-lanes { margin: 0; padding: 0; list-style: none; }
.map-lane { position: relative; display: grid; grid-template-columns: 31px minmax(0, 1fr); gap: 11px; padding-bottom: 15px; }
.map-lane:not(:last-child)::before { content: ""; position: absolute; inset: 18px auto 0 15px; width: 1px; background: #bacbdd; }
.map-lane:last-child { padding-bottom: 0; }
.map-number { z-index: 1; display: grid; place-items: center; align-self: start; width: 31px; height: 31px; border-radius: 50%; background: #1e3e63; color: white; font-size: .85rem; font-weight: 740; }
.map-lane-body { display: grid; gap: 7px; border: 1px solid var(--line); border-radius: 11px; padding: 12px; }
.map-lane[data-current-lane] .map-lane-body { background: #f1f7fd; border-color: #7497ba; }
.map-lane[data-current-lane] .map-number { color: #163452; background: #c4d9ed; }
.map-lane h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0; font-size: 1rem; }
.subject-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; }
.subject-tags li { border-radius: 20px; background: #e9f1f8; color: #234b73; padding: 3px 9px; font-size: .85rem; }
.map-option { border-radius: 30px; }
.result-sequence { margin-block: 7px 12px; font-size: .9rem; }
.preparation-detail summary { cursor: pointer; font-weight: 750; }
.preparation-detail .career-timeline { margin-top: 13px; }
.board-write summary { font-weight: 750; cursor: pointer; }
.evidence-list { list-style: none; display: grid; gap: 12px; padding: 0; margin: 12px 0 0; }
.evidence-list a { color: var(--accent); font-weight: 750; text-decoration: underline; text-underline-offset: .17em; }
.evidence-list p, .board-write p { font-size: .9rem; }
.board-filters { margin-bottom: 13px; }
.board-filters [aria-current] { background: #e0edf8; border-color: #5e87ad; }
.board-write form { display: grid; justify-items: start; gap: 10px; margin-top: 12px; }
.board-write form label { width: 100%; }
.board-write :is(input, select) { font: inherit; color: var(--ink); background: #fbfdff; border: 1px solid #b8c8d8; border-radius: 9px; min-height: 44px; padding: 9px 12px; width: 100%; }
.post-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.reply { margin-block: 11px; padding: 12px; background: #eef4f9; border-radius: 9px; }
.board-write .board-error:empty { display: none; }
.board-write .board-error { color: #9b2d36; }
.pair-label { margin: 14px 0 0; font-size: .88rem; color: var(--accent); }
.pair-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: .8rem 0; border-bottom: 1px solid #dde4e8; }
.pair-grid select { max-width: 100%; width: 100%; }
.pair-grid span { overflow-wrap: anywhere; }
.db-banner { display: grid; gap: 14px; background: linear-gradient(135deg, #f8fbfe, #edf4fa); }
.db-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.db-stats > div { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; }
.db-stats strong { font-size: 1.25rem; color: var(--navy); letter-spacing: -.03em; }
.db-stats span { font-size: .8rem; color: var(--muted); }
.filter-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; align-items: end; }
.filter-bar :is(input[type="search"], select) { min-height: 44px; padding: 8px 11px; border: 1px solid #b8c8d8; border-radius: 9px; background: #fbfdff; color: var(--ink); width: 100%; }
.checkbox-label { display: flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: .86rem; word-break: keep-all; cursor: pointer; }
.checkbox-label input { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--accent); }
.school-meta { font-size: .86rem; margin-bottom: 6px; }
.school-outcome { font-size: .9rem; color: var(--ink) !important; background: #f2f7fc; border-radius: 8px; padding: 8px 10px; margin-top: 6px; }
.tag-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag-link { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 20px; background: #e8f0f8; color: #1b426a; font-size: .8rem; font-weight: 700; }
.tag-link:hover { background: #d5e6f6; }
.compact-dl { margin: 10px 0 8px; }
.compact-dl dt { margin-top: 6px; }
.compact-dl dd { margin: 2px 0 4px; font-size: .9rem; }
.cutoff-table { display: grid; gap: 6px; margin: 10px 0; }
.cutoff-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 6px 8px; border-radius: 8px; background: #f5f9fd; font-size: .86rem; }
.cutoff-row > strong { white-space: nowrap; flex-shrink: 0; }
.cutoff-row small { color: var(--muted); font-weight: 500; }
.sub-card { background: #f8fbfe; padding: 15px; }
@media (max-width: 780px) {
  .db-stats { grid-template-columns: 1fr; }
  .wrap { width: calc(100% - 42px); }
  .hero-art { right: -5%; width: 56%; height: 65%; opacity: .36; }
  .path-grid, .region-grid, .quick-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-form { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .wrap { width: calc(100% - 28px); }
  .header-inner { flex-direction: column; align-items: flex-start; min-height: auto; gap: 4px; padding-top: 12px; }
  nav { width: 100%; justify-content: flex-start; gap: 0 12px; }
  nav a { padding: 9px 0 12px; font-size: .77rem; }
  nav a[aria-current]::after { bottom: 4px; }
  main { padding-block: 17px 26px; }
  .hero { min-height: 276px; border-radius: 17px; }
  .hero-art { width: 64%; height: 51%; right: -17%; opacity: .30; }
  .hero h1 { font-size: clamp(2rem, 10vw, 2.48rem); }
  .hero-copy { padding: 24px 20px; }
  .hero-copy > p { font-size: .9rem; word-break: keep-all; }
  .desktop { display: none; }
  .section-head { margin: 21px 0 11px; }
  .section-head span { display: none; }
  .path-card { padding: 13px; }
  .path-grid, .detail-grid, .form-grid { gap: 9px; }
  .detail-grid, .form-grid, .quick-links, .balance-options, .match-grid, .stage-grid, .education-grid, .admissions-routes { grid-template-columns: 1fr; }
  .stage-card { min-height: auto; }
  .region-hero { min-height: 225px; }
  .panel .button { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
