.guide-page {
  --guide-green: #284a42;
  --guide-cream: #f8f7f1;
  --guide-line: #d4ded8;
}
.guide-banner { background: var(--guide-green); color: #fff; }
.banner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(28px, 7vw, 110px);
  padding-block: clamp(36px, 4.2vw, 62px);
}
.guide-banner h1 {
  color: #fff;
  font-weight: 710;
  font-size: clamp(2.65rem, 4.4vw, 4rem);
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
.guide-banner h1 span { color: #f1d8a3; }
.guide-banner p { margin: 12px 0 0; max-width: 43ch; font-size: 1.18rem; line-height: 1.45; }
.guide-action { margin-top: 22px; background: var(--gold); color: var(--navy); border-radius: 4px; }
.guide-action:hover { background: #f4d7a1; }
.step-map { padding-left: clamp(16px, 3vw, 46px); border-left: 1px solid #648176; }
.step-map h2, .faq-search label {
  display: block;
  font-size: 1.06rem;
  line-height: 1.3;
  font-weight: 650;
  color: #f4dfb5;
  letter-spacing: 0;
  margin: 0 0 10px;
}
.step-map ol, .step-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.step-map li, .step-cards li { counter-increment: step; }
.step-map a { display: flex; align-items: center; gap: 14px; min-height: 42px; padding-block: 5px; border-top: 1px solid #617d72; text-decoration: none; font-weight: 600; }
.step-map a:hover { text-decoration: underline; }
.step-map a::before, .step-cards li::before { content: counter(step, decimal-leading-zero); color: #ecd298; font-variant-numeric: tabular-nums; font-weight: 600; }
.cost-overview, .guide-block { padding-block: clamp(36px, 4.6vw, 66px); }
.guide-wash { background: var(--guide-cream); }
.guide-page main [id] { scroll-margin-top: 12px; }
.fee-panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.fee-panel { border: 1px solid var(--guide-line); border-top: 3px solid var(--school-tone); border-radius: 8px; background: #fff; }
.fee-panel summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 5px 10px; padding: 20px; line-height: 1.35; }
.fee-panel summary strong { color: var(--school-tone); font-size: 1.32rem; }
.fee-panel summary span { grid-column: 1 / -1; }
.fee-panel summary::after {
  content: "+";
  grid-area: 1 / 2;
  color: var(--school-tone);
  font: 500 1.35rem/1 "Source Sans", sans-serif;
}
.fee-panel[open] summary::after { content: "−"; }
.fee-panel summary:hover strong, .guide-page .accordions summary:hover { text-decoration: underline; }
.fee-body { border-top: 1px solid var(--guide-line); padding: 16px 20px; }
.fee-body dl, .fee-body dd { margin: 0; }
.fee-body dt { color: var(--heading-ink); font-weight: 650; margin-bottom: 3px; }
.fee-body dd + dt { margin-top: 12px; }
.semester-fees { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-variant-numeric: tabular-nums; }
.semester-fees caption { text-align: left; font-weight: 650; color: var(--heading-ink); }
.semester-fees th, .semester-fees td { text-align: left; padding: 6px 4px; border-bottom: 1px solid var(--guide-line); }
.semester-fees tr > :last-child { text-align: right; }
.semester-fees tbody th { font-weight: 500; }
.fee-body .related-links { flex-direction: column; border-top: 1px solid var(--guide-line); padding-top: 5px; }
.quote-note { display: grid; grid-template-columns: .72fr 1.8fr; align-items: baseline; gap: 20px; background: var(--guide-cream); padding: 16px 20px; margin-top: 18px; border-left: 3px solid #bb9b5e; }
.quote-note h3, .quote-note p, .step-cards h3, .step-cards p { margin: 0; }
.step-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step-cards li { background: white; border-top: 2px solid #728f81; padding: 16px; }
.step-cards li::before { display: block; font-size: 1rem; color: #556d60; margin-bottom: 8px; }
.step-cards h3 { margin-bottom: 8px; }
.step-cards li:target { outline: 2px solid #789781; outline-offset: 2px; }
.reading-grid, .faq-group { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.55fr); align-items: start; gap: 7%; }
.guide-page .accordions p, .guide-page .role-note p { color: var(--body-ink); }
.guide-page .accordions summary { color: var(--heading-ink); }
.guide-page .accordions a, .guide-page .role-note a { color: #24564c; }
.guide-page .role-note { border-top: 1px solid var(--guide-line); padding-top: 12px; }

.faq-banner .banner-grid { min-height: 235px; }
.faq-search { padding-left: clamp(16px, 3vw, 46px); border-left: 1px solid #648176; }
.search-field { display: flex; align-items: center; background: #fff; color: var(--body-ink); border: 1px solid #dddccf; border-radius: 5px; padding-inline: 14px 6px; }
.search-field:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.search-field input { flex: 1; min-width: 0; min-height: 50px; font: inherit; padding: 8px 0; color: var(--heading-ink); border: 0; background: #fff; }
.search-field input:focus { outline: 0; }
.search-field input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-field input::placeholder { color: #5b6a65; opacity: 1; }
.search-field button { color: var(--heading-ink); background: #edf1ec; border: none; border-radius: 3px; font: inherit; font-weight: 600; min-height: 40px; padding-inline: 12px; }
.search-field button[type="submit"] { color: white; background: var(--navy); margin-left: 4px; }
.faq-bar { background: var(--guide-cream); border-bottom: 1px solid var(--guide-line); }
.faq-topics { display: flex; flex-wrap: wrap; gap: 7px; padding-block: 16px; }
.faq-topics a { min-height: 42px; display: inline-flex; align-items: center; border: 1px solid #b9c7bf; border-radius: 6px; background: #fff; color: var(--heading-ink); padding: 7px 15px; font-size: 1rem; font-weight: 620; text-decoration: none; }
.faq-topics a:hover { border-color: #345d52; }
.faq-topics a[aria-current="true"] { background: var(--navy); border-color: var(--navy); color: white; }
.faq-count { margin: 0; padding-top: 18px; font-size: 1rem; color: #526760; overflow-wrap: anywhere; }
.faq-group { padding-block: clamp(25px, 3.3vw, 46px); border-bottom: 1px solid var(--guide-line); }
.faq-group h2 { border-left: 3px solid var(--school-tone, #a88d53); padding-left: 15px; font-size: clamp(1.6rem, 2.4vw, 2.3rem); }
.faq-group .accordions summary::after { color: var(--school-tone, #50695d); }
.faq-group details[open] summary { color: var(--school-tone, #24564c); }
.faq-list { padding-bottom: 26px; }
.empty-results { padding-block: 32px; }
.empty-results h2 { font-size: 1.6rem; margin-bottom: 6px; }
.empty-results p { margin: 0 0 14px; }
.reset-search { background: var(--navy); color: white; border: 0; }
@media (max-width: 930px) {
  .step-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 690px) {
  .banner-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-block: 16px; }
  .guide-banner h1 { font-size: clamp(1.85rem, 7.4vw, 2.75rem); text-wrap: initial; }
  .guide-banner p { font-size: 1rem; line-height: 1.32; margin-top: 5px; }
  .guide-action { display: none; }
  .step-map, .faq-search { border: 0; padding: 0; }
  .step-map h2 { margin-bottom: 4px; font-size: .95rem; }
  .step-map ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
  .step-map a { font-size: 1rem; min-height: 36px; gap: 6px; line-height: 1.2; }
  .step-map a::before { font-size: .875rem; }
  .cost-overview { padding-block: 18px 28px; }
  .guide-page .cost-overview h2 { font-size: 1.6rem; margin: 0 0 10px; }
  .fee-panels { display: block; border-block: 1px solid var(--guide-line); }
  .fee-panel { border: 0; border-radius: 0; }
  .fee-panel + .fee-panel { border-top: 1px solid var(--guide-line); }
  .fee-panel summary { grid-template-columns: minmax(78px, .7fr) minmax(0, 1.4fr) 13px; padding: 10px 0; gap: 10px; min-height: 48px; font-size: 1rem; }
  .fee-panel summary strong { font-size: 1.05rem; line-height: 1.22; }
  .fee-panel summary span { grid-column: 2; }
  .fee-panel summary::after { grid-area: 1 / 3; }
  .fee-body { padding: 12px; background: var(--guide-cream); }
  .quote-note { grid-template-columns: 1fr; gap: 5px; padding: 12px 14px; }
  .guide-block { padding-block: 32px; }
  .reading-grid, .faq-group, .step-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .step-cards { gap: 10px; }
  .reading-grid h2, .faq-group h2 { margin: 0; }
  .faq-banner .banner-grid { min-height: 0; padding-block: 22px; gap: 16px; }
  .faq-search label { font-size: 1rem; margin-bottom: 6px; }
  .search-field input { min-height: 44px; }
  .faq-topics { gap: 6px; padding-block: 12px; }
  .faq-topics a { min-height: 40px; padding: 6px 10px; }
  .faq-count { padding-top: 12px; }
  .faq-group { padding-block: 18px 25px; }
}

.abroad-banner { padding-block: clamp(32px, 4.2vw, 62px); }
.school-directory { padding-block: clamp(24px, 3.5vw, 48px) clamp(48px, 6vw, 80px); }
.directory-intro { display: flex; gap: 14px 32px; align-items: center; justify-content: space-between; margin-bottom: 24px; padding: 0 0 22px; border-bottom: 1px solid var(--guide-line); }
.directory-intro p { max-width: 76ch; margin: 0; }
.directory-intro .btn { flex: none; }
.consult-button { background: var(--navy); color: white; border: 0; cursor: pointer; font: inherit; font-weight: 650; }
.consult-button:hover { background: #24516b; }
.consult-button:disabled, fieldset:disabled .consult-button { opacity: .6; cursor: default; }
.consult-area { padding-block: clamp(24px, 4vw, 48px); }
.consult-area > * { max-width: 44rem; margin-inline: auto; }
.consult-area fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.consult-area legend { padding: 0; margin-bottom: 18px; color: var(--heading-ink); font-size: 1.55rem; font-weight: 680; }
.consult-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.consult-area label { display: block; font-weight: 650; }
.consult-area small { font-size: .94rem; font-weight: 400; }
.consult-area input:not([type=checkbox]), .consult-area select, .consult-area textarea {
  display: block; width: 100%; margin: 5px 0 16px; padding: 10px 12px; border: 1px solid #80918d; border-radius: 5px; background: #fff; color: var(--heading-ink); font: inherit;
}
.consult-area #client-phone { margin-bottom: 2px; }
.consult-area #phone-help { display: block; margin-bottom: 16px; }
.consult-area textarea { resize: vertical; }
.consult-area .consult-consent { display: flex; align-items: baseline; gap: 9px; margin: 18px 0; font-weight: 400; }
.consult-consent input { flex: none; width: 1.1em; height: 1.1em; }
.consult-privacy { background: var(--guide-cream); padding: 12px 16px; border-radius: 5px; font-size: 1rem; }
.consult-privacy summary { cursor: pointer; font-weight: 620; }
.consult-local, #consult-status:not(:empty) { padding: 14px 18px; border-left: 3px solid var(--guide-green); background: var(--guide-cream); }
#consult-status:empty { margin-block: 0; }
#consult-status[data-state=error] { border-color: #9d4435; color: #752e23; }
@media (max-width: 760px) {
  .directory-intro { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .consult-pair { grid-template-columns: 1fr; }
  .consult-area .consult-button { width: 100%; }
}
.country-picker { min-inline-size: 0; padding: 0; margin: 0; border: 0; }
.country-picker legend { padding: 0; margin-bottom: 8px; font-weight: 650; color: var(--heading-ink); }
.country-picker > label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 22px;
  min-width: 98px;
  min-height: 44px;
  margin-right: 4px;
  border: 1px solid #8b9e99;
  border-radius: 5px;
  font-weight: 650;
  color: var(--navy);
  cursor: pointer;
}
.country-picker input:checked + label { background: var(--navy); color: white; border-color: var(--navy); }
.country-picker input:focus-visible + label { outline: 3px solid #c88221; outline-offset: 3px; }
.country-list { display: none; border-top: 1px solid var(--guide-line); margin-top: 24px; padding-top: 24px; }
#chon-my:checked ~ #truong-my, #chon-canada:checked ~ #truong-canada { display: block; }
.country-list h2 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
.directory-meta { color: #4c615e; margin: 6px 0; font-size: .98rem; }
.directory-meta span { white-space: nowrap; }
.directory-context { margin: 8px 0 0; max-width: 92ch; }
.school-list { width: 100%; margin-top: 22px; border-collapse: collapse; table-layout: fixed; line-height: 1.36; }
.school-list th, .school-list td {
  text-align: left;
  vertical-align: top;
  padding: 13px 16px;
  border-bottom: 1px solid var(--guide-line);
  overflow-wrap: anywhere;
}
.school-list thead th { background: var(--guide-green); color: #fff; font-weight: 650; }
.school-list thead th:first-child { width: 41%; }
.school-list thead .state-cell { width: 19%; }
.school-list tbody th, .school-list strong { color: var(--heading-ink); font-weight: 650; }
.school-list tbody tr:nth-child(even) { background: #f7f8f5; }
.school-list small { font-weight: 450; font-size: .9em; }
.school-list .compact-state, .school-list .compact-head { display: none; }
.fee-origin, .school-fee-note, .school-list .compact-state { color: #4b615d; font-size: .93rem; }
.fee-origin, .school-fee-note { display: block; margin-top: 2px; }
.fee-origin a { color: #245856; }
.country-return { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; font-weight: 600; }
.canada-picker { margin-top: 18px; }
.canada-list { display: none; margin-top: 22px; }
#chon-cong:checked ~ #hoc-khu-cong, #chon-tu:checked ~ #truong-tu { display: block; }
.canada-list h3 { margin: 0; }
.board-list thead th:first-child { width: 35%; }
.board-list thead .state-cell { width: 18%; }
.board-list thead .school-count { width: 12%; }
.board-list .school-count { text-align: center; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .abroad-banner { padding-block: 24px; }
  .abroad-banner h1 span { display: block; }
  .school-directory { padding-block: 20px 36px; }
  .country-list { margin-top: 18px; padding-top: 18px; }
  .school-list { margin-top: 16px; font-size: 1rem; }
  .school-list th, .school-list td { padding: 10px 8px; }
  .school-list .state-cell { display: none; }
  .school-list .compact-state { display: block; font-weight: 450; margin-top: 3px; }
  .school-list .compact-head { display: inline; }
  .school-list thead th:first-child { width: 47%; }
  .canada-picker > label { padding-inline: 12px; }
  .board-list thead th:first-child { width: 41%; }
  .board-list thead .school-count { width: 21%; padding-inline: 2px; overflow-wrap: normal; }
}
