@charset "UTF-8";

/* Qingqiao: calm typography, clear choices, no external visual dependencies. */
:root {
  --ink: #203a32;
  --green: #176650;
  --green-deep: #15533f;
  --green-light: #edf3eb;
  --muted: #68786e;
  --border: #dce8e1;
  --surface: #fff;
  --bg: #f7faf8;
  --gold: #c5aa75;
  --sans: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: 22px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 14px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { border: 0; background: none; color: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #76915e; outline-offset: 4px; }
[hidden] { display: none !important; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
::selection { background: #d8e7c6; color: #163b2e; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 50; padding: 12px 20px; background: #fff; border: 1px solid var(--border); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.topbar, main, footer { width: 100%; max-width: 1440px; margin: auto; padding-inline: 56px; }

/* Header and language switch. */
.topbar { min-height: 82px; display: flex; align-items: center; gap: 30px; border-bottom: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 13px; flex: 1; min-width: 0; }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; flex-shrink: 0; color: #fff; background: var(--green); border-radius: 12px 12px 3px 12px; font: 27px Georgia, serif; }
.brand strong { display: block; font-size: 21px; font-weight: 700; line-height: 1.3; letter-spacing: 2px; }
.brand strong span { margin-left: 7px; font-size: 10px; letter-spacing: 2px; font-weight: 650; }
.brand small { display: block; margin-top: 5px; font-size: 10px; letter-spacing: 1px; color: var(--muted); }
.topbar nav { display: flex; align-items: center; align-self: stretch; gap: 27px; }
.nav-item { position: relative; min-height: 44px; padding: 0 2px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.nav-item.active { color: var(--green); font-weight: 700; }
.nav-item.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--green); }
.nav-item span { display: inline-block; padding: 1px 6px; margin-left: 4px; border-radius: 5px; background: #e9eee4; font-size: 10px; }
.header-tools { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.language-switch { display: flex; gap: 2px; padding: 4px; border: 1px solid var(--border); border-radius: 9px; background: #fff; white-space: nowrap; }
.language-switch button { min-height: 31px; padding: 5px 10px; border-radius: 6px; color: #65775e; font-size: 11px; }
.language-switch button.active, .language-switch button[aria-pressed="true"] { color: #fff; background: var(--green); }
.local-tag { font-size: 11px; color: var(--muted); white-space: nowrap; }
.local-tag span, .tiny-dot, .status-dot { display: inline-block; width: 5px; height: 5px; margin-right: 6px; border-radius: 50%; background: #7b9969; vertical-align: middle; }

/* A compact text-led introduction keeps school search close to the top. */
.intro { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; margin: 24px 0 30px; align-items: stretch; }
.intro-copy { min-width: 0; padding: 22px 28px; color: var(--ink); border: 1px solid #d8e9df; border-radius: 16px; background: #eef7f1; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: #4a7761; font-size: 10px; font-weight: 600; letter-spacing: 1.8px; line-height: 1.65; }
.eyebrow > span { width: 5px; height: 5px; flex-shrink: 0; border-radius: 50%; background: #c3d6a7; }
.intro h1 { margin: 12px 0 10px; max-width: 590px; font-size: clamp(27px, 2.4vw, 34px); font-weight: 650; line-height: 1.4; letter-spacing: .4px; text-wrap: balance; }
.intro-copy p { max-width: 520px; margin: 0; color: #526f61; font-size: 13px; line-height: 1.85; }
.hero-actions { position: relative; z-index: 1; display: flex; align-items: center; flex-wrap: wrap; gap: 11px; margin-top: 18px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 42px; padding: 10px 18px; border-radius: 9px; font-size: 12px; font-weight: 600; line-height: 1.6; text-decoration: none; }
.button.secondary { color: var(--green); background: #fff; border: 1px solid var(--border); }
.button.primary { color: #fff; background: var(--green); border: 1px solid var(--green); }
.hero-actions .button { min-height: 42px; padding-inline: 17px; }
.hero-actions .button.primary { color: #fff; background: var(--green); border-color: var(--green); }
.hero-actions .button.secondary { color: var(--green); background: #fff; border-color: #c5dece; }
.intro-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 25px; padding-bottom: 7px; margin-top: 25px; border-bottom: 1px solid #9cb38b77; color: #edf4df; font-size: 13px; text-decoration: none; }
.intro-link span { font-size: 20px; }
.hero-actions .intro-link { margin: 0; }
.overview-panel { min-width: 0; display: flex; flex-direction: column; padding: 24px 27px; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--green); font-size: 14px; font-weight: 650; }
.edition { color: #89967c; font-size: 9px; letter-spacing: 1.5px; font-weight: 500; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 24px 0; }
.stat { display: flex; flex-direction: column; align-items: flex-start; padding-left: 17px; border-left: 2px solid #dbe6d0; min-width: 0; }
.stat strong { font: 600 34px/1.15 var(--sans); letter-spacing: -.8px; font-variant-numeric: lining-nums tabular-nums; }
.stat span { color: #6c7b61; font-size: 11px; margin-top: 9px; line-height: 1.6; }
.research-note { display: flex; align-items: flex-start; gap: 9px; margin-top: auto; padding-top: 15px; border-top: 1px solid #e7ebdf; }
.note-icon { flex-shrink: 0; width: 17px; height: 17px; margin-top: 2px; text-align: center; border: 1px solid #a2b08e; border-radius: 50%; color: #778c68; font: italic 12px/16px Georgia, serif; }
.research-note p { margin: 0; color: #6f7e65; font-size: 11px; line-height: 1.9; }
.overview-bottom { color: #7b886e; font-size: 10px; margin-top: 14px; }
#research-progress { color: #788770; font-size: 10px; line-height: 1.8; margin: 7px 0 0; }

/* Search, filters and quick entry points. */
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.eyebrow.subdued { color: #78876b; font-size: 10px; letter-spacing: 2px; }
.section-heading h2 { margin: 4px 0 0; font-size: 27px; font-weight: 650; line-height: 1.4; letter-spacing: .7px; }
#catalog-description { margin: 4px 0 0; color: #687c57; font-size: 12px; line-height: 1.8; }
.export-button { flex-shrink: 0; }
.export-button > span { font: 21px/1 system-ui, sans-serif; }
.filter-panel { overflow: hidden; border: 1px solid #dbe3d3; border-radius: var(--radius); background: #fff; box-shadow: 0 6px 22px #213b2703; }
.search-field { display: flex; align-items: center; gap: 14px; padding: 17px 23px; border-bottom: 1px solid #e5ebdf; }
.search-field svg { color: #526f45; width: 22px; height: 22px; }
.search-field input { width: 100%; min-width: 0; border: 0; background: transparent; color: var(--ink); font-size: 14px; line-height: 1.7; }
.search-field input::placeholder { color: #8c9880; opacity: 1; }
.search-field input:focus { outline: none; }
.search-field:focus-within { background: #f9fcf5; box-shadow: inset 0 0 0 2px #8ea575; }
.search-field kbd { min-width: 25px; padding: 1px 8px; border: 1px solid #dce4d3; border-radius: 5px; color: #8b987c; text-align: center; font: 11px/22px var(--sans); }
.filter-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: end; gap: 18px; padding: 18px 24px 20px; }
.filter-row > label { display: flex; flex-direction: column; align-items: stretch; gap: 7px; min-width: 0; }
.filter-row label > span { color: #77866b; font-size: 11px; font-weight: 500; line-height: 1.6; }
.filter-row select { width: 100%; min-width: 0; max-width: 100%; min-height: 41px; padding: 8px 10px; border: 1px solid #e1e7d9; border-radius: 7px; background: #fafbf7; color: #385735; cursor: pointer; font-size: 12px; }
.reset-button { min-height: 41px; padding: 8px 3px 8px 8px; color: #708361; font-size: 11px; white-space: nowrap; }
.reset-button span { font-size: 17px; margin-left: 5px; }
.mobile-filter-toggle { display: none; }
.quick-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 17px 0 0; }
.quick-filters > span, .quick-filters > strong { padding-right: 4px; color: #7a886d; font-size: 11px; font-weight: 400; }
.quick-filters button { min-height: 36px; padding: 7px 13px; border: 1px solid #dce4d3; border-radius: 24px; color: #526e45; background: #ffffffb3; font-size: 11px; line-height: 1.6; }
.quick-filters button.active, .quick-filters button[aria-pressed="true"] { background: var(--green); color: #fff; border-color: var(--green); }
.filter-panel .quick-filters { margin: 0; padding: 0 24px 20px; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 25px 0 18px; }
.results-bar p { margin: 0; color: #6a7c5b; font-size: 12px; }
.results-bar p strong { color: var(--ink); font-size: 15px; font-weight: 700; margin: 0 4px; }
.count-context { color: #7b8b6c; font-size: 11px; }
.results-meta { color: #77866a; font-size: 11px; }
.result-divider { padding: 0 12px; color: #bcc8af; }

/* University cards: facts always retain their full fee and eligibility text. */
.school-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 20px; }
.school-card { display: flex; flex-direction: column; position: relative; min-width: 0; min-height: 310px; padding: 25px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 20px; }
.school-badge, .school-type { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 4px 9px; border-radius: 6px; color: #5c7750; background: #eef4e8; font-size: 10px; font-weight: 500; line-height: 1.6; }
.school-badge.pending { background: #f1f3ec; color: #6d7f5e; }
.school-badge::before { content: ""; width: 4px; height: 4px; flex-shrink: 0; border-radius: 50%; background: currentColor; }
.school-identity { display: flex; align-items: center; gap: 13px; min-width: 0; margin-bottom: 18px; }
.school-identity > div { min-width: 0; }
.school-monogram { display: grid; place-items: center; width: 52px; height: 52px; flex-shrink: 0; border: 1px solid #dce6d4; border-radius: 12px; color: #47713b; background: #f1f6e9; font: 24px/1.3 Georgia, var(--sans); }
.school-card:nth-child(3n+2) .school-monogram { background: #f5f1e6; border-color: #e8e1cb; color: #847047; }
.school-card:nth-child(3n+3) .school-monogram { background: #edf3f1; border-color: #dbe6e1; color: #4d7267; }
.school-card > h3, .school-identity h3 { margin: 0; }
.school-title { display: block; max-width: 100%; margin: 0 0 8px; padding: 0; text-align: left; font-size: 21px; font-weight: 650; letter-spacing: .25px; line-height: 1.5; overflow-wrap: anywhere; }
.school-identity .school-title { font-size: 20px; margin-bottom: 5px; }
.school-identity .school-location { margin-bottom: 0; }
.school-location { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-bottom: 18px; color: #7b896d; font-size: 11px; line-height: 1.7; }
.school-location svg { width: 13px; height: 13px; }
.school-location span + span { margin-left: 5px; padding-left: 9px; border-left: 1px solid #dce5d2; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 8px; color: #809271; }
.icon-button.saved { background: #f8f2df; color: #927329; }
.icon-button.saved svg { fill: #e9d7a3; }
.card-summary { margin: 0 0 20px; color: #6a7b5b; font-size: 12px; line-height: 1.9; overflow-wrap: anywhere; }
.card-facts { display: grid; gap: 12px; margin-bottom: 23px; }
.fact-row { display: flex; align-items: flex-start; gap: 14px; font-size: 11px; line-height: 1.85; }
.fact-label { min-width: 43px; flex-shrink: 0; color: #80936d; }
.fact-value { min-width: 0; color: #4f6c40; overflow-wrap: anywhere; }
.fact-value.pending { color: #7d8e6e; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 17px; border-top: 1px solid #e9eedf; }
.compare-toggle { display: flex; align-items: center; gap: 8px; min-height: 32px; color: #718663; font-size: 11px; cursor: pointer; }
.compare-toggle input { appearance: none; width: 16px; height: 16px; margin: 0; flex-shrink: 0; border: 1px solid #b9c9aa; border-radius: 4px; background: #fff; cursor: pointer; }
.compare-toggle input:checked { background: var(--green); border-color: var(--green); }
.compare-toggle input:checked::after { content: "✓"; display: block; color: #fff; text-align: center; font: 11px/14px system-ui, sans-serif; }
.detail-link { display: flex; align-items: center; justify-content: flex-end; gap: 13px; min-height: 32px; padding: 0; color: #345c2b; font-size: 12px; font-weight: 600; }
.detail-link > span { font-size: 16px; }
.card-date { margin: 12px 0 0; color: #7d8b6c; font-size: 10px; line-height: 1.7; }
.empty-state { grid-column: 1 / -1; padding: 60px 24px; border: 1px dashed #ccd8bf; border-radius: var(--radius); background: #fff; text-align: center; }
.empty-icon { font-size: 30px; color: #99ae85; }
.empty-state h3 { margin: 14px 0 8px; font-size: 20px; font-weight: 550; }
.empty-state p { font-size: 13px; color: var(--muted); }
.empty-state .button { margin-top: 12px; }
.pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 32px 0; }
.pagination button { min-width: 38px; height: 38px; padding: 0 11px; border: 1px solid var(--border); border-radius: 8px; background: #fff; font-size: 12px; }
.pagination button.active { color: #fff; border-color: var(--green); background: var(--green); }
.pagination span { padding: 0 5px; color: #798b68; font-size: 11px; }

/* Closing guide and footer. */
.method-strip { display: flex; align-items: center; gap: 28px; margin-top: 56px; padding: 28px 30px; border: 1px solid #dce5d2; border-radius: var(--radius); background: #edf3e6; }
.method-number { flex-shrink: 0; color: #9aae84; font: 29px/1.4 Georgia, serif; letter-spacing: -1px; }
.method-strip strong { font-size: 15px; font-weight: 600; }
.method-strip p { margin: 6px 0 0; color: #738661; font-size: 12px; line-height: 1.8; }
.method-strip .text-button { margin-left: auto; flex-shrink: 0; }
.text-button { min-height: 36px; padding: 6px 4px; color: #526f42; font-size: 12px; }
.text-button span { margin-left: 10px; }
footer { display: flex; justify-content: space-between; gap: 30px; padding-top: 35px; padding-bottom: 42px; color: #78896a; }
footer strong { display: block; margin-bottom: 8px; color: #536f42; font-size: 12px; letter-spacing: 1px; }
footer span, footer p { margin: 0; font-size: 10px; line-height: 1.9; }
footer p { text-align: right; }

/* Comparison selection and notifications. */
.compare-tray { position: fixed; z-index: 5; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(960px, calc(100% - 40px)); padding: 18px 22px; border: 1px solid #bccbab; border-radius: 14px; background: #fffffff5; backdrop-filter: blur(12px); box-shadow: 0 12px 48px #1f362226; }
.compare-tray > div:first-child { min-width: 0; }
.compare-tray strong { font-size: 13px; }
.compare-tray strong span { margin-left: 12px; color: #7a8e69; font-size: 11px; font-weight: 400; }
#compare-names { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.compare-chip { display: flex; align-items: center; gap: 8px; padding: 3px 8px; border-radius: 5px; background: #eef4e6; font-size: 11px; }
.compare-chip button { min-width: 23px; min-height: 24px; padding: 0; color: #687f51; line-height: 1; }
.tray-actions { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.toast { position: fixed; z-index: 30; bottom: 132px; left: 50%; transform: translateX(-50%); max-width: 90vw; padding: 13px 22px; color: #fff; background: #203b2d; border-radius: 10px; box-shadow: 0 6px 20px #203b2d25; font-size: 13px; }

/* Detail and help dialogs. */
dialog { padding: 0; border: 1px solid #d4dfca; border-radius: 18px; max-height: 90dvh; color: var(--ink); box-shadow: 0 25px 100px #0e211c35; background: #f5f7ef; }
dialog::backdrop { background: #122c2499; backdrop-filter: blur(5px); }
.detail-dialog { width: min(1040px, calc(100vw - 40px)); }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 29px 32px; border-bottom: 1px solid var(--border); background: #fff; }
.modal-header > div:first-child { min-width: 0; }
.modal-header h2 { margin: 7px 0; font-size: 27px; font-weight: 650; line-height: 1.45; letter-spacing: .3px; overflow-wrap: anywhere; }
.modal-header p { margin: 8px 0 0; color: #708161; font-size: 12px; }
.modal-tools { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.close-dialog { font-size: 27px; font-weight: 300; }
.detail-body { padding: 28px 32px 32px; }
.campus-gallery { margin-bottom: 28px; }
.campus-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin-bottom: 12px; }
.campus-heading h3 { margin: 0; font-size: 15px; font-weight: 600; }
.campus-heading > span { color: #7b8c72; font-size: 11px; }
.campus-photo-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.campus-photo { min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.campus-photo-main { grid-column: 1 / -1; }
.campus-photo-link { display: flex; align-items: center; justify-content: center; background: #edf2ea; }
.campus-photo img { display: block; width: 100%; height: 230px; object-fit: contain; }
.detail-load-status { padding: 30px; min-height: 160px; color: var(--muted); }
.detail-load-status p { margin: 0 0 18px; line-height: 1.7; }
.campus-photo-main img { height: clamp(240px,31vw,410px); }
.campus-photo-even .campus-photo-main { grid-column: auto; }
.campus-photo-even .campus-photo img { height: 260px; }
.campus-photo figcaption { padding: 13px 16px; font-size: 12px; line-height: 1.7; }
.campus-caption { display: block; color: #3c5b35; overflow-wrap: anywhere; }
.campus-credit { margin-top: 6px; color: #7a8872; font-size: 10px; }
.campus-credit summary { width: fit-content; cursor: pointer; }
.campus-credit > div { margin-top: 6px; overflow-wrap: anywhere; }
.campus-credit p { margin: 5px 0; }
.campus-credit a { color: #597448; text-decoration: underline; text-underline-offset: 3px; }
.campus-photo-error { min-height: 95px; margin: 0; padding: 25px; color: #748469; font-size: 12px; line-height: 1.8; }
@media(max-width:600px) { .campus-heading > span { display: none; } .campus-photo-grid { grid-template-columns: 1fr; } .campus-photo-main { grid-column: auto; } .campus-photo img,.campus-photo-main img,.campus-photo-even .campus-photo img { height: 220px; } .campus-photo figcaption { padding: 12px; } }
.detail-alert { margin-bottom: 23px; padding: 14px 18px; border: 1px solid #e1d7b5; border-radius: 9px; background: #f9f5e7; color: #806f43; font-size: 12px; line-height: 1.9; }
.detail-status-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; color: #708460; font-size: 11px; }
.detail-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.detail-section { min-width: 0; padding: 24px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.detail-section.full { grid-column: 1 / -1; }
.detail-section h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 17px; font-size: 16px; line-height: 1.6; font-weight: 600; }
.section-index { color: #91a57b; font: italic 17px Georgia, serif; }
.detail-section p { margin: 0 0 10px; color: #546e44; font-size: 13px; line-height: 1.95; overflow-wrap: anywhere; }
.detail-section p:last-child { margin-bottom: 0; }
.detail-section ul { display: grid; gap: 10px; margin: 0; padding-left: 18px; }
.detail-section li { color: #546e44; font-size: 13px; line-height: 1.9; overflow-wrap: anywhere; }
.detail-section li::marker { color: #9aac85; }
.detail-section dl { margin: 14px 0 0; }
.detail-pair { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 14px; padding: 11px 0; border-bottom: 1px solid #e9eedd; font-size: 12px; line-height: 1.9; }
.detail-pair:first-of-type { padding-top: 0; }
.detail-pair:last-child { border-bottom: 0; padding-bottom: 0; }
.detail-pair dt { color: #7d906a; }
.detail-pair dd { margin: 0; color: #506e3e; overflow-wrap: anywhere; }
.detail-source-summary { grid-column: 1 / -1; min-width: 0; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.detail-source-summary > summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 23px; color: #537046; font-size: 13px; font-weight: 600; cursor: pointer; list-style: none; }
.detail-source-summary > summary::-webkit-details-marker { display: none; }
.detail-source-summary > summary::after { content: "+"; font-size: 22px; line-height: 1; font-weight: 400; }
.detail-source-summary[open] > summary::after { content: "−"; }
.detail-source-summary[open] > summary { border-bottom: 1px solid #e7eddf; }
.detail-source-summary > :not(summary) { margin-inline: 23px; }
.detail-source-summary .detail-section { padding: 19px 0; border: 0; }
.detail-section > .detail-source-summary { border: 0; border-radius: 0; }
.detail-section > .detail-source-summary > summary { padding: 0; }
.detail-section > .detail-source-summary[open] > summary { padding-bottom: 15px; }
.detail-section > .detail-source-summary > :not(summary) { margin-inline: 0; }
.detail-source-summary > summary > span { margin-left: auto; color: #687c57; font-size: 11px; font-weight: 400; }
.source-item { display: flex; gap: 13px; padding: 15px 0; border-bottom: 1px solid #e9eedd; }
.source-item:last-child { border-bottom: 0; }
.source-item > div { min-width: 0; }
.source-no { flex-shrink: 0; color: #91a579; font: 15px/1.7 Georgia, serif; }
.source-item a { color: #3b6930; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; text-underline-offset: 4px; text-decoration-color: #b0c6a4; }
.source-item p { margin-top: 6px; color: #7a8c68; font-size: 11px; }
.source-item .source-url { margin-top: 4px; color: #7e8c70; font-size: 10px; overflow-wrap: anywhere; word-break: break-all; }
.modal-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 25px; }
.modal-actions p { margin: 0; color: #758866; font-size: 11px; line-height: 1.8; }
.modal-action-group { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.scholarship-item { padding: 17px 0; border-bottom: 1px solid #e9eedd; }
.scholarship-item:first-of-type { padding-top: 0; }
.scholarship-item:last-child { padding-bottom: 0; border-bottom: 0; }
.scholarship-item h4 { margin: 0 0 9px; color: #436834; font-size: 14px; line-height: 1.75; font-weight: 650; }
.scholarship-item p { font-size: 12px; }
.scholarship-item a { color: #5e804a; font-size: 11px; text-underline-offset: 3px; }
.help-dialog { width: min(760px, calc(100vw - 32px)); }
.help-body { padding: 29px 32px 32px; }
.help-step { display: flex; gap: 23px; margin-bottom: 27px; }
.help-step > span { color: #9bb082; font: 27px/1.25 Georgia, serif; }
.help-step h3 { margin: 0 0 8px; font-size: 15px; font-weight: 600; }
.help-step p, .help-note p, .local-footnote { margin: 0; color: #607851; font-size: 12px; line-height: 1.95; }
.help-note { padding: 20px 23px; border: 1px solid #dce7cc; border-radius: 10px; background: #eaf2e0; }
.help-note strong { display: block; margin-bottom: 8px; font-size: 13px; }
.local-footnote { margin-top: 22px; color: #798c6a; font-size: 11px; }

/* Comparison table keeps full policy text, including fee qualifiers. */
.compare-dialog { width: min(1280px, calc(100vw - 40px)); max-width: none; }
.comparison-scroll { overflow: auto; padding: 24px 27px 29px; }
.comparison-table { width: 100%; min-width: 730px; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.comparison-table th, .comparison-table td { padding: 18px; vertical-align: top; text-align: left; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; overflow-wrap: anywhere; }
.comparison-table tr:first-child > * { border-top: 1px solid var(--border); }
.comparison-table tr > *:first-child { width: 115px; border-left: 1px solid var(--border); color: #647f50; background: #eaf1e2; font-weight: 500; }
.comparison-table th { font-size: 16px; font-weight: 650; }
.comparison-table td { color: #536f42; font-size: 12px; line-height: 1.95; }
.comparison-table td p { margin: 0 0 8px; }
.comparison-table td p:last-child { margin-bottom: 0; }
.comparison-table td a { color: #3f682d; text-underline-offset: 3px; }
.comparison-table th button { padding: 0; text-align: left; font-size: 16px; font-weight: 650; line-height: 1.6; }
.comparison-table ul { margin: 0; padding-left: 16px; }
.comparison-table .scholarship-item h4 { font-size: 12px; }
.comparison-table .scholarship-item p { font-size: 11px; }
.compare-caption { margin: 17px 0 0; color: #73885f; font-size: 11px; }
.noscript { padding: 22px; background: #fbf1db; text-align: center; }
.missing-data { color: #7e906e; }

/* Vietnamese uses natural wrapping instead of smaller, dense type. */
:is(.lang-vi,.lang-en) { font-family: "Segoe UI", Arial, sans-serif; }
:is(.lang-vi,.lang-en) .intro h1 { max-width: 500px; font-size: clamp(33px, 2.75vw, 42px); line-height: 1.37; letter-spacing: -.6px; }
:is(.lang-vi,.lang-en) .intro-copy > .eyebrow { font-size: 10px; letter-spacing: 1.1px; }
:is(.lang-vi,.lang-en) .intro-copy p { font-size: 14px; line-height: 1.85; }
:is(.lang-vi,.lang-en) .stat span { font-size: 12px; }
:is(.lang-vi,.lang-en) .school-title, :is(.lang-vi,.lang-en) .school-monogram { font-family: var(--sans); }
:is(.lang-vi,.lang-en) .fact-label { min-width: 67px; max-width: 80px; }
:is(.lang-vi,.lang-en) .fact-row { gap: 10px; font-size: 12px; }
:is(.lang-vi,.lang-en) .detail-pair { grid-template-columns: 118px minmax(0, 1fr); }
:is(.lang-vi,.lang-en) .comparison-table tr > *:first-child { width: 145px; }
:is(.lang-vi,.lang-en) .brand small { font-size: 10px; letter-spacing: .15px; }
:is(.lang-vi,.lang-en) .school-type, :is(.lang-vi,.lang-en) .school-badge { font-size: 11px; }
:is(.lang-vi,.lang-en) .card-summary { font-size: 13px; }

@media (hover: hover) and (pointer: fine) {
  .nav-item:hover, .text-button:hover, .reset-button:hover { color: #1d4b24; }
  .button.primary:hover { background: #28543d; border-color: #28543d; }
  .button.secondary:hover { background: #f1f6e9; border-color: #bdcda9; }
  .hero-actions .button.primary:hover { background: #12523f; border-color: #12523f; }
  .hero-actions .button.secondary:hover { color: #174d3d; background: #f6fbf8; border-color: #9bc4ac; }
  .quick-filters button:hover { border-color: #9fb88a; }
  .school-card:hover { border-color: #b3c59f; box-shadow: 0 12px 30px #213b2708; }
  .school-title:hover, .detail-link:hover { color: #67944a; }
  .icon-button:hover { background: #edf4e6; color: #4f773a; }
  .pagination button:not(.active):not(:disabled):hover { background: #eef4e6; }
}

@media (max-width: 1200px) {
  .topbar, main, footer { padding-inline: 36px; }
  .topbar { gap: 23px; }
  .topbar nav { gap: 21px; }
  .local-tag { display: none; }
  .intro { grid-template-columns: 1.25fr 1fr; }
  .intro-copy { padding: 34px; }
  .intro h1 { font-size: 37px; }
  .overview-panel { padding: 28px; }
  .filter-row { gap: 14px; }
  .school-card { padding: 22px; }
  .school-title, .school-identity .school-title { font-size: 19px; }
  :is(.lang-vi,.lang-en) .intro h1 { font-size: 35px; }
}

@media (max-width: 960px) {
  .topbar, main, footer { padding-inline: 28px; }
  .topbar { min-height: 90px; gap: 19px; }
  .topbar nav { gap: 17px; }
  .brand strong span { display: none; }
  .brand strong { font-size: 19px; }
  .brand small { font-size: 9px; max-width: 180px; }
  .nav-item { font-size: 12px; }
  .language-switch button { padding-inline: 7px; font-size: 10px; }
  .intro { gap: 18px; margin-top: 18px; margin-bottom: 43px; }
  .intro-copy { min-height: 420px; padding: 29px; }
  .intro h1 { font-size: 32px; }
  .intro-copy > .eyebrow { font-size: 9px; letter-spacing: 1px; }
  .intro-copy p { font-size: 12px; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { padding-inline: 13px; font-size: 11px; }
  .overview-panel { padding: 26px 23px; }
  .panel-heading { font-size: 13px; }
  .edition { display: none; }
  .stats-grid { gap: 25px 17px; }
  .stat { padding-left: 12px; }
  .stat strong { font-size: 40px; }
  .stat span { font-size: 11px; }
  .school-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .school-card { padding: 24px; }
  .school-title, .school-identity .school-title { font-size: 21px; }
  .filter-row { gap: 11px; padding-inline: 20px; }
  .filter-row select { font-size: 11px; padding-inline: 7px; }
  .results-meta { font-size: 10px; }
  .method-strip { padding: 24px; gap: 20px; }
  .method-strip .text-button { max-width: 120px; text-align: right; }
  .detail-body { padding: 23px; }
  .detail-section { padding: 21px; }
  .detail-columns { gap: 16px; }
  .modal-header { padding: 24px; }
  .modal-header h2 { font-size: 24px; }
  .detail-pair { grid-template-columns: 70px minmax(0, 1fr); gap: 10px; }
  :is(.lang-vi,.lang-en) .intro h1 { font-size: 30px; }
  :is(.lang-vi,.lang-en) .intro-copy p { font-size: 13px; }
  :is(.lang-vi,.lang-en) .intro-copy > .eyebrow { font-size: 9px; letter-spacing: .5px; }
  :is(.lang-vi,.lang-en) .stat span { font-size: 11px; }
  :is(.lang-vi,.lang-en) .brand small { font-size: 9px; max-width: 155px; }
  :is(.lang-vi,.lang-en) .detail-pair { grid-template-columns: 100px minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .topbar { position: relative; flex-wrap: wrap; justify-content: space-between; gap: 0; min-height: 130px; padding-top: 16px; }
  .brand { order: 0; flex: 1; margin-bottom: 11px; }
  .brand-mark { width: 40px; height: 40px; font-size: 24px; border-radius: 10px 10px 3px 10px; }
  .header-tools { order: 1; margin-bottom: 11px; }
  .topbar nav { order: 2; width: 100%; min-height: 47px; gap: 28px; }
  .nav-item { font-size: 12px; }
  .intro { grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
  .intro-copy { min-height: 0; padding: 33px 32px 35px; }
  .intro h1 { font-size: 39px; max-width: 550px; margin-block: 22px 18px; }
  .intro-copy p { font-size: 13px; }
  .hero-actions { margin-top: 25px; }
  .hero-actions .button { padding-inline: 18px; font-size: 12px; }
  .overview-panel { padding: 26px; }
  .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-block: 24px; }
  .stat { padding-left: 10px; }
  .stat strong { font-size: 34px; }
  .stat span { font-size: 10px; }
  .research-note { padding-top: 18px; }
  .research-note br { display: none; }
  .overview-bottom { margin-top: 12px; }
  .section-heading h2 { font-size: 27px; }
  .mobile-filter-toggle { display: flex; align-items: center; justify-content: center; gap: 9px; width: calc(100% - 40px); min-height: 44px; margin: 14px 20px; padding: 9px 14px; border: 1px solid #dce5d0; border-radius: 8px; color: #426334; background: #f6f9f1; font-size: 12px; font-weight: 600; }
  .mobile-filter-toggle[aria-expanded="true"] { color: #fff; background: var(--green); border-color: var(--green); }
  .mobile-filter-toggle svg { width: 17px; height: 17px; }
  .filter-row { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
  .filter-panel.filters-expanded .filter-row { display: grid; }
  .filter-row select { min-height: 43px; font-size: 12px; }
  .reset-button { grid-column: 1 / -1; justify-self: end; min-height: 32px; padding-block: 3px; }
  .results-bar { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 22px; }
  .school-grid { gap: 15px; }
  .school-card { padding: 20px; }
  .school-identity { gap: 10px; align-items: flex-start; }
  .school-monogram { width: 44px; height: 44px; border-radius: 10px; font-size: 21px; }
  .school-title, .school-identity .school-title { font-size: 18px; }
  .card-bottom { flex-wrap: wrap; gap: 6px; }
  .detail-link { margin-left: auto; }
  .method-strip { flex-wrap: wrap; align-items: flex-start; gap: 14px; margin-top: 40px; }
  .method-strip > div:nth-child(2) { flex: 1; }
  .method-strip .text-button { margin-left: auto; max-width: none; }
  footer { gap: 20px; }
  .detail-columns { grid-template-columns: 1fr; }
  .detail-section.full { grid-column: auto; }
  .modal-actions { flex-direction: column; align-items: flex-start; gap: 15px; }
  .modal-action-group { width: 100%; }
  .modal-action-group .button { flex: 1; }
  :is(.lang-vi,.lang-en) .intro h1 { font-size: 38px; max-width: 550px; }
  :is(.lang-vi,.lang-en) .intro-copy p { font-size: 14px; }
  :is(.lang-vi,.lang-en) .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  :is(.lang-vi,.lang-en) .stat strong { font-size: 40px; }
  :is(.lang-vi,.lang-en) .stat span { font-size: 12px; }
}

@media (max-width: 520px) {
  .topbar, main, footer { padding-inline: 20px; }
  .brand { gap: 10px; }
  .brand strong { font-size: 18px; }
  .brand small { font-size: 9px; letter-spacing: .3px; max-width: 168px; }
  .brand-mark { width: 38px; height: 38px; font-size: 23px; }
  .header-tools { gap: 0; }
  .language-switch { gap: 1px; padding: 3px; }
  .language-switch button { min-height: 32px; padding: 4px 7px; font-size: 10px; }
  .topbar nav { justify-content: space-between; gap: 12px; }
  .intro { margin-bottom: 36px; }
  .intro-copy { padding: 29px 25px 30px; border-radius: 16px; }
  .intro h1 { margin-top: 21px; font-size: 34px; letter-spacing: .5px; line-height: 1.45; }
  .intro-copy > .eyebrow { font-size: 9px; letter-spacing: .65px; }
  .intro-copy p { font-size: 12px; }
  .hero-actions { gap: 9px; margin-top: 26px; }
  .hero-actions .button { min-height: 45px; padding-inline: 14px; font-size: 11px; }
  .desktop-break { display: none; }
  .overview-panel { padding: 23px; border-radius: 16px; }
  .stats-grid, :is(.lang-vi,.lang-en) .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 18px; margin-block: 24px; }
  .stat { padding-left: 14px; }
  .stat strong, :is(.lang-vi,.lang-en) .stat strong { font-size: 39px; }
  .stat span { margin-top: 7px; font-size: 11px; }
  .research-note p { font-size: 11px; }
  .overview-bottom { font-size: 10px; }
  .section-heading { gap: 12px; margin-bottom: 20px; }
  .section-heading h2 { font-size: 25px; }
  .eyebrow.subdued { font-size: 9px; letter-spacing: 1.5px; }
  .export-button { min-height: 40px; padding: 8px 11px; gap: 7px; font-size: 10px; }
  .search-field { gap: 11px; padding: 19px 17px; }
  .search-field input { font-size: 12px; }
  .search-field svg { width: 20px; height: 20px; }
  .search-field kbd { display: none; }
  .mobile-filter-toggle { width: calc(100% - 34px); margin-inline: 17px; }
  .filter-row { padding: 18px 17px 13px; gap: 15px 13px; }
  .filter-row label > span { font-size: 10px; }
  .filter-row select { padding-inline: 8px; font-size: 11px; }
  .filter-panel .quick-filters { padding: 0 17px 18px; }
  .quick-filters { gap: 7px; margin-top: 14px; }
  .quick-filters button { padding-inline: 11px; font-size: 10px; }
  .quick-filters > span, .quick-filters > strong { width: 100%; padding: 0; font-size: 10px; }
  .results-bar p { font-size: 11px; }
  .results-meta { font-size: 10px; line-height: 1.8; }
  .result-divider { padding-inline: 8px; }
  .count-context { font-size: 10px; }
  .school-grid { grid-template-columns: 1fr; gap: 16px; }
  .school-card { padding: 23px; min-height: 330px; }
  .card-top { margin-bottom: 18px; }
  .school-title, .school-identity .school-title { font-size: 21px; }
  .school-identity { gap: 13px; align-items: center; }
  .school-monogram { width: 49px; height: 49px; font-size: 23px; }
  .school-location { font-size: 11px; }
  .card-summary { font-size: 12px; }
  .card-facts { gap: 13px; margin-bottom: 22px; }
  .fact-row { font-size: 12px; gap: 14px; }
  .fact-label { min-width: 44px; }
  .card-bottom { flex-wrap: nowrap; gap: 10px; }
  .detail-link { font-size: 12px; }
  .card-date { font-size: 10px; }
  .pagination { gap: 5px; margin-block: 26px; }
  .pagination button { min-width: 33px; height: 36px; padding-inline: 8px; font-size: 11px; }
  .pagination span { padding-inline: 2px; font-size: 10px; }
  .method-strip { padding: 22px; gap: 13px; }
  .method-number { font-size: 24px; }
  .method-strip strong { font-size: 13px; }
  .method-strip p { font-size: 11px; }
  .method-strip .text-button { font-size: 11px; }
  footer { display: block; padding-top: 28px; padding-bottom: 34px; }
  footer p { text-align: left; margin-top: 18px; font-size: 10px; }
  .compare-tray { bottom: 12px; width: calc(100% - 24px); padding: 15px; gap: 12px; align-items: flex-start; flex-direction: column; }
  .compare-tray strong { font-size: 12px; }
  .compare-tray strong span { font-size: 10px; }
  .compare-chip { font-size: 10px; }
  #compare-names { gap: 6px; }
  .tray-actions { width: 100%; justify-content: flex-end; gap: 16px; }
  .tray-actions .button { min-height: 40px; padding: 8px 15px; font-size: 11px; }
  .tray-actions .text-button { font-size: 11px; }
  .toast { bottom: 195px; font-size: 12px; text-align: center; }
  .detail-dialog, .compare-dialog, .help-dialog { width: calc(100vw - 20px); max-height: 94dvh; border-radius: 14px; }
  .modal-header { gap: 10px; padding: 21px 20px; }
  .modal-header h2 { font-size: 22px; }
  .modal-header p { font-size: 11px; }
  .modal-tools { flex-direction: column-reverse; align-items: flex-end; gap: 5px; }
  .modal-tools .language-switch button { min-height: 28px; padding: 3px 5px; font-size: 9px; }
  .detail-body { padding: 17px; }
  .detail-columns { gap: 14px; }
  .detail-section { padding: 21px 19px; border-radius: 10px; }
  .detail-section h3 { font-size: 15px; }
  .detail-section p, .detail-section li { font-size: 12px; }
  .detail-alert { padding: 13px 15px; font-size: 11px; }
  .detail-status-row { gap: 8px; font-size: 10px; }
  .detail-pair { grid-template-columns: 66px minmax(0, 1fr); font-size: 12px; gap: 10px; }
  .detail-source-summary > summary { padding: 17px 19px; font-size: 12px; }
  .detail-source-summary > :not(summary) { margin-inline: 19px; }
  .source-item { gap: 10px; }
  .source-item a { font-size: 12px; }
  .modal-action-group { flex-wrap: wrap; }
  .modal-action-group .button { padding-inline: 12px; font-size: 11px; }
  .help-body { padding: 24px 21px; }
  .help-step { gap: 15px; }
  .help-step > span { font-size: 24px; }
  .help-step h3 { font-size: 14px; }
  .help-step p, .help-note p { font-size: 12px; }
  .help-note { padding: 18px; }
  .comparison-scroll { padding: 17px; }
  .comparison-table th, .comparison-table td { padding: 14px; }
  .comparison-table tr > *:first-child { width: 95px; }
  :is(.lang-vi,.lang-en) .intro h1 { font-size: 33px; max-width: 360px; line-height: 1.38; }
  :is(.lang-vi,.lang-en) .intro-copy > .eyebrow { font-size: 9px; }
  :is(.lang-vi,.lang-en) .intro-copy p { font-size: 13px; }
  :is(.lang-vi,.lang-en) .hero-actions .button { font-size: 12px; }
  :is(.lang-vi,.lang-en) .stat span { font-size: 12px; }
  :is(.lang-vi,.lang-en) .brand small { font-size: 8px; max-width: 156px; }
  :is(.lang-vi,.lang-en) .detail-pair { grid-template-columns: 96px minmax(0, 1fr); }
  :is(.lang-vi,.lang-en) .comparison-table tr > *:first-child { width: 120px; }
}

@media (max-width: 374px) {
  .topbar, main, footer { padding-inline: 16px; }
  .brand { gap: 8px; }
  .brand small, :is(.lang-vi,.lang-en) .brand small { max-width: 138px; font-size: 8px; }
  .language-switch button { padding-inline: 5px; font-size: 9px; }
  .intro-copy { padding-inline: 22px; }
  .intro h1 { font-size: 31px; }
  :is(.lang-vi,.lang-en) .intro h1 { font-size: 30px; }
  .hero-actions .button { padding-inline: 12px; }
  .school-card { padding: 21px; }
  .school-identity .school-title { font-size: 20px; }
  .export-button { font-size: 9px; padding-inline: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Compact responsive header and intro: no media, motion, or loading overlays. */
.catalog-service-status { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 18px; padding: 15px 18px; border: 1px solid #ead9b6; border-radius: 11px; color: #735b2c; background: #fffbf1; font-size: 13px; line-height: 1.8; }
.catalog-service-status p { margin: 0; }
.catalog-service-status button { min-height: 38px; padding: 7px 14px; border: 1px solid #d6c39d; border-radius: 7px; color: #5c4723; background: #fff; font-size: 12px; font-weight: 600; }
.intro h1 br { display: none; }
.stat { padding-left: 12px; }
:is(.lang-vi,.lang-en) .intro h1 { max-width: 590px; font-size: clamp(27px, 2.3vw, 33px); line-height: 1.4; }
@media (max-width: 1200px) {
  .intro-copy { padding: 24px; }
  .intro h1 { font-size: 31px; }
  .overview-panel { padding: 24px; }
  :is(.lang-vi,.lang-en) .intro h1 { font-size: 30px; }
}
@media (max-width: 960px) {
  .topbar { min-height: 82px; }
  .intro { gap: 18px; margin: 22px 0 28px; }
  .intro-copy { min-height: 0; padding: 24px; }
  .intro h1, :is(.lang-vi,.lang-en) .intro h1 { font-size: 28px; }
  .hero-actions { margin-top: 17px; }
  .overview-panel { padding: 22px; }
  .stats-grid { gap: 18px; margin: 18px 0; }
  .stat strong { font-size: 30px; }
}
@media (max-width: 720px) {
  .topbar { min-height: 114px; padding-top: 12px; }
  .topbar nav { min-height: 42px; }
  .intro { gap: 12px; margin: 18px 0 24px; }
  .intro-copy { padding: 21px 24px; }
  .intro h1 br { display: initial; }
  .intro h1, :is(.lang-vi,.lang-en) .intro h1 { margin: 10px 0 8px; font-size: 30px; line-height: 1.35; }
  .intro-copy p, :is(.lang-vi,.lang-en) .intro-copy p { display: none; }
  .hero-actions { display: grid; grid-template-columns: 1.15fr 1fr; margin-top: 15px; gap: 9px; }
  .hero-actions .button, :is(.lang-vi,.lang-en) .hero-actions .button { min-height: 41px; padding: 8px 9px; gap: 7px; font-size: 11px; }
  .hero-actions svg { width: 17px; height: 17px; }
  .overview-panel { padding: 15px 18px; }
  .panel-heading, .research-note { display: none; }
  .stats-grid, :is(.lang-vi,.lang-en) .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; }
  .stat { padding-left: 9px; }
  .stat strong, :is(.lang-vi,.lang-en) .stat strong { font-size: 25px; }
  .stat span, :is(.lang-vi,.lang-en) .stat span { font-size: 10px; margin-top: 5px; line-height: 1.5; }
  .overview-bottom { margin-top: 11px; font-size: 10px; }
  .section-heading { margin-bottom: 14px; }
  .section-heading h2 { font-size: 25px; }
  #catalog-description { display: none; }
  :is(.lang-vi,.lang-en) .section-heading h2 { font-size: 22px; }
  :is(.lang-vi,.lang-en) .export-button { max-width: 145px; font-size: 10px; }
  .search-field { padding: 16px 18px; }
  .mobile-filter-toggle { min-height: 40px; margin-block: 11px; }
}
@media (max-width: 520px) {
  .topbar, main, footer { padding-inline: 18px; }
  .intro-copy { padding: 19px 20px; }
  .intro h1, :is(.lang-vi,.lang-en) .intro h1 { font-size: 27px; }
  .intro-copy > .eyebrow, :is(.lang-vi,.lang-en) .intro-copy > .eyebrow { font-size: 8px; letter-spacing: .5px; }
  .overview-panel { padding: 14px; }
  .stat { padding-left: 7px; }
  .stat strong, :is(.lang-vi,.lang-en) .stat strong { font-size: 23px; }
  .stat span, :is(.lang-vi,.lang-en) .stat span { font-size: 9px; }
  .school-card { min-height: 290px; padding: 22px; }
  .quick-filters > span, .quick-filters > strong { width: auto; }
}
@media (max-width: 374px) {
  .topbar, main, footer { padding-inline: 14px; }
  .topbar nav { gap: 8px; }
  :is(.lang-vi,.lang-en) .nav-item { font-size: 10px; white-space: normal; line-height: 1.5; }
  .intro-copy { padding-inline: 17px; }
  .intro h1, :is(.lang-vi,.lang-en) .intro h1 { font-size: 25px; }
  .hero-actions .button, :is(.lang-vi,.lang-en) .hero-actions .button { padding-inline: 11px; font-size: 10px; }
}

/* Keep the contact easy to find in every school profile and every language. */
.consultation-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; padding: 24px 26px; background: #f1f7ed; border: 1px solid #d5e3cc; border-radius: 12px; }
.consultation-panel > div { min-width: 0; }
.consultation-panel h3 { margin: 5px 0; color: var(--ink); font-size: 23px; line-height: 1.4; overflow-wrap: anywhere; }
.consultation-panel p { margin: 0; color: #617456; font-size: 12px; line-height: 1.7; }
.consultation-panel .consultation-label { color: var(--green); font-size: 12px; font-weight: 650; }
.consultation-action { flex-shrink: 0; }
.consultation-action .button { display: flex; flex-direction: column; gap: 3px; text-decoration: none; min-height: 64px; padding: 10px 20px; }
.consultation-action .button > span { font-size: 11px; }
.consultation-action .button > strong { font-size: 16px; font-weight: 600; letter-spacing: .3px; }
.lang-en .fact-label { max-width: 105px; }
.lang-en .brand small { max-width: 215px; }
.lang-en .school-location { flex-wrap: wrap; }
.header-tools .language-switch { flex-shrink: 0; }
@media (min-width: 721px) and (max-width: 1100px) {
  .topbar { flex-wrap: wrap; padding-top: 14px; padding-bottom: 12px; gap: 12px 20px; }
  .topbar .brand { flex: 1; }
  .topbar .header-tools { order: 1; }
  .topbar nav { order: 2; width: 100%; min-height: 38px; }
}
@media (max-width: 720px) {
  .topbar { gap: 10px; }
  .topbar .brand { width: 100%; margin-bottom: 0; }
  .header-tools { margin-bottom: 0; }
  .header-tools .language-switch button { min-height: 34px; padding-inline: 12px; font-size: 11px; }
  .topbar nav { margin-top: 0; }
  .modal-header { flex-direction: column; gap: 14px; }
  .modal-header > div:first-child { width: 100%; }
  .modal-tools { width: 100%; flex-direction: row; align-items: center; justify-content: space-between; }
  .modal-tools .language-switch button { min-height: 32px; padding: 5px 10px; font-size: 10px; }
  .consultation-panel { padding: 18px; gap: 15px; flex-wrap: wrap; margin-bottom: 18px; }
  .consultation-panel h3 { font-size: 21px; }
  .consultation-action { width: 100%; }
  .consultation-action .button { width: 100%; min-height: 58px; }
  .lang-en .brand small { max-width: none; font-size: 9px; }
  .lang-en .intro h1 { font-size: 29px; }
  .lang-en .nav-item { white-space: normal; line-height: 1.5; font-size: 11px; }
}
