@font-face {
  font-family: "UTM Avo";
  src: url("/fonts/utm-avo-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "UTM Avo";
  src: url("/fonts/utm-avo-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  --brand: #b82c00;
  --ink: #232e42;
  --muted: #687b95;
  --border: #dce3ed;
  --background: #f2f4f9;
  font: 16px/1.5 "UTM Avo", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--background);
}
* { box-sizing: border-box }
body { margin: 0 }
[hidden] { display: none !important }
.wrap { width: min(1460px, calc(100% - 48px)); margin-inline: auto }
.masthead { background: white; border-bottom: 1px solid #f0e2dc }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; padding-block: 8px }
.site-title { display: inline-flex; align-items: center }
.site-title img { width: clamp(130px,15vw,167px); height: auto; display: block }
.masthead-link { color: var(--brand); text-decoration: none }
.masthead-link:hover { text-decoration: underline }
.brand-hero { background: radial-gradient(ellipse at 80% 52%,#ffe6dc 0,transparent 62%), #fff8f4; border-bottom: 1px solid #f0e2dc; overflow: hidden }
.hero-grid { display: grid; grid-template-columns: 1.01fr 1fr; align-items: center; gap: clamp(18px,4vw,64px); padding-block: clamp(28px,4vw,62px) }
.hero-copy h1 { font-size: clamp(1.6rem,4.1vw,4.65rem); line-height: 1.07; font-weight: 830; letter-spacing: -.052em }
.hero-title-label { white-space: nowrap }
.hero-title-brand { color: var(--brand); display: block }
.hero-copy p { font-size: clamp(1rem,1.55vw,1.35rem); font-weight: 650; margin: 20px 0 24px }
.hero-action { display: inline-flex; align-items: center; text-decoration: none }
.hero-illustration { position: relative; width: 100%; max-width: 620px; justify-self: end; aspect-ratio: 1095 / 767; overflow: hidden }
.hero-illustration img { position: absolute; width: 175.3425%; max-width: none; height: auto; left: -69.4977%; top: -18.3833%; display: block }
.content { min-height: 65vh; padding: 30px 0 46px }
.box { background: white; border: 1px solid var(--border); border-radius: 20px; padding: 28px; box-shadow: 0 6px 25px #273a5505 }
h1, h2, h3 { margin: 0; line-height: 1.26; letter-spacing: -.018em }
h1 { font-size: 1.85rem }
h2 { font-size: 1.55rem }
h3 { font-size: 1.25rem }
.search-panel > p, .section-note { color: var(--muted); font-size: 1.15rem; margin: 10px 0 20px }
.search-grid, .lookup-layout, .form-grid { display: grid; gap: 20px }
.search-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
.lookup-layout { grid-template-columns: minmax(0, 2.48fr) minmax(280px, 1fr); align-items: start; margin-top: 22px }
label { display: grid; gap: 7px; color: #46546b; font-weight: 700 }
input, select, button { font: inherit }
input:not([type=checkbox]), select { width: 100%; min-width: 0; min-height: 54px; padding: 12px 16px; border-radius: 12px; border: 1px solid #c5d1e2; background: white; color: var(--ink); font-weight: 450 }
.search-grid select, .search-grid input { min-height: 59px; font-size: 1.1rem }
.search-grid select:disabled { background: #f4f6fa; color: var(--muted) }
a { color: var(--brand); font-weight: 700 }
button, .upload { cursor: pointer }
button:disabled { opacity: .5; cursor: default }
:focus-visible { outline: 3px solid #e36d43; outline-offset: 3px }
.actions, .pager { display: flex; align-items: center; flex-wrap: wrap; gap: 12px }
.search-actions { margin-top: 20px }
.primary, .outline, .soft, .upload { border: 1px solid transparent; border-radius: 12px; padding: 12px 19px; min-height: 48px; font-weight: 750 }
.search-actions button { min-height: 60px; font-size: 1.13rem }
.primary, .upload { background: var(--brand); color: white }
.outline { background: white; color: var(--brand); border-color: var(--brand) }
.soft { background: #fff0e9; color: #982500 }
.search-panel .load-status { font-size: .89rem; margin: 8px 0 21px }
.choices-panel h2 span { color: var(--brand) }
.choices-panel .section-note { margin-top: 16px }
.empty-state { color: var(--muted); padding: 26px 18px; border: 1px dashed #cdd8e5; text-align: center; border-radius: 15px; background: #f7f9fc }
.method-card { border: 1px solid var(--border); border-radius: 17px; padding: 23px; margin-bottom: 15px }
.method-head, .choice-row, .list-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px }
.program-name { color: var(--muted); margin: 4px 0 0 }
.check-option { display: flex; align-items: center; color: var(--brand); gap: 8px; font-size: .92rem; cursor: pointer }
.check-option input { accent-color: var(--brand); width: 19px; height: 19px; margin: 0 }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0 }
.tags span { background: #eef3f8; color: #50627a; padding: 5px 11px; border-radius: 99px; font-weight: 700; font-size: .86rem }
.chart { display: grid; grid-template-columns: repeat(var(--years), minmax(0, 1fr)); gap: 10px; margin: 18px 0; padding: 12px 0 0; background: repeating-linear-gradient(to top, transparent 0 28px, #edf1f7 28px 29px); border-bottom: 1px solid var(--border) }
.year-column { display: grid; grid-template-rows: 130px auto; gap: 7px; text-align: center; min-width: 0 }
.bar-area { display: flex; flex-direction: column; align-items: center; justify-content: end; gap: 3px }
.bar-area span { color: var(--brand); font-weight: 800; font-size: .9rem }
.bar-area .missing { color: var(--muted) }
.bar { background: var(--brand); border-radius: 5px 5px 0 0; width: min(46px, 65%) }
.year-label { background: white; color: var(--muted); font-weight: 650 }
.score-detail { padding-top: 8px; border-top: 1px solid var(--border); margin-top: 8px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 16px; color: #46546b }
.score-detail a { white-space: nowrap }
.choice-row { padding: 12px 0; border-bottom: 1px solid var(--border); gap: 8px }
.choice-row small { display: block; color: var(--muted) }
.choice-row button { border: 0; background: #fff0e9; padding: 5px 10px; border-radius: 8px; color: var(--brand) }
#clearChoices { margin-top: 14px }
.pager { justify-content: center }
.admin { margin-top: 16px }
.admin p { color: var(--muted) }
.notice { padding: 12px; background: #fff0e9; border-radius: 10px }
.upload { position: relative; display: inline-flex; align-items: center }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer }
.upload:focus-within { outline: 3px solid #e36d43; outline-offset: 3px }
.form-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 16px 0 }
.list-row { padding: 10px 0; border-top: 1px solid var(--border) }
.list-row span { flex: 1 }
.error { color: #a12713 !important }
footer { background: white; border-top: 1px solid var(--border); color: var(--muted) }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-block: 18px }
@media (max-width: 900px) {
  .lookup-layout { grid-template-columns: 1fr }
  .box { padding: 20px }
}
@media (max-width: 600px) {
  .wrap, .masthead .wrap { width: calc(100% - 28px) }
  .content { padding-top: 16px }
  .search-grid, .form-grid { grid-template-columns: 1fr; gap: 12px }
  .search-actions button { min-height: 46px; font-size: 1rem }
  .method-card { padding: 14px }
  .method-head { flex-direction: column }
  .search-panel .load-status { margin-bottom: 3px }
}

.school-picker { position: relative; display: grid; gap: 7px; min-width: 0 }
.school-suggestions { position: absolute; z-index: 2; top: calc(100% + 4px); inset-inline: 0; max-height: 270px; overflow: auto; background: white; border: 1px solid #c5d1e2; border-radius: 12px; box-shadow: 0 8px 20px #273a5520 }
.school-suggestions button { display: block; width: 100%; padding: 11px 14px; text-align: left; background: white; color: var(--ink); border: 0 }
.school-suggestions button:hover, .school-suggestions button:focus-visible { background: #fff0e9; outline-offset: -3px }
.school-suggestions p { margin: 0; padding: 11px 14px; color: var(--muted) }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }

@media (max-width: 700px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px }
  .hero-copy h1 { font-size: clamp(1rem,6.3vw,2.8rem) }
  .hero-illustration { justify-self: center; width: min(100%, 458px) }
  .masthead-inner { min-height: 64px }
}
