:root {
	--sch-navy: #071a3d;
	--sch-blue: #1747b8;
	--sch-blue-bright: #2b66e8;
	--sch-gold: #f5b40a;
	--sch-green: #138a5b;
	--sch-ink: #12213b;
	--sch-muted: #60708a;
	--sch-line: #dfe6f1;
	--sch-cloud: #f5f8fd;
}

.afi-scholarship-page .afi-main { overflow: hidden; }
.afi-sch-shell { color: var(--sch-ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; margin: 0; overflow: hidden; }
.afi-sch-shell *, .afi-sch-shell *::before, .afi-sch-shell *::after, .afi-sch-detail *, .afi-sch-detail *::before, .afi-sch-detail *::after { box-sizing: border-box; }
.afi-sch-container { margin: 0 auto; max-width: 1200px; padding-left: 24px; padding-right: 24px; width: 100%; }

.afi-sch-hero { background: var(--sch-navy); color: #fff; isolation: isolate; min-height: 610px; overflow: hidden; padding: 64px 0; position: relative; }
.afi-sch-hero::before { background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 44px 44px; content: ""; inset: 0; mask-image: linear-gradient(to bottom, #000 28%, transparent 94%); position: absolute; z-index: -2; }
.afi-sch-glow { background: radial-gradient(circle, rgba(43,102,232,.48), rgba(7,26,61,0) 67%); border-radius: 50%; height: 760px; position: absolute; right: -230px; top: -260px; width: 840px; z-index: -1; }
.afi-sch-hero-grid { align-items: center; display: grid; gap: 60px; grid-template-columns: minmax(0,.95fr) minmax(460px,1.05fr); }
.afi-sch-eyebrow { align-items: center; color: #b9cbf2; display: flex; font-size: 12px; font-weight: 800; gap: 10px; letter-spacing: .13em; margin-bottom: 18px; text-transform: uppercase; }
.afi-sch-eyebrow span { background: var(--sch-gold); border-radius: 99px; height: 3px; width: 29px; }
.afi-sch-hero h1 { color: #fff; font-size: clamp(42px,5vw,66px); font-weight: 850; letter-spacing: -.048em; line-height: 1.01; margin: 0 0 21px; max-width: 690px; }
.afi-sch-hero-copy > p { color: #c8d4ec; font-size: 17px; line-height: 1.62; margin: 0; max-width: 590px; }
.afi-sch-trust-row { border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 18px; grid-template-columns: repeat(3,1fr); margin-top: 31px; padding-top: 22px; }
.afi-sch-trust-row span { color: #aebddb; font-size: 10px; font-weight: 700; letter-spacing: .04em; line-height: 1.35; text-transform: uppercase; }
.afi-sch-trust-row strong { color: #fff; display: block; font-size: 21px; letter-spacing: -.02em; margin-bottom: 4px; text-transform: none; }

.afi-sch-search-card { background: #fff; border: 1px solid rgba(255,255,255,.52); border-radius: 22px; box-shadow: 0 35px 80px rgba(0,0,0,.34); color: var(--sch-ink); overflow: hidden; }
.afi-sch-search-head { align-items: center; background: #f9fbff; border-bottom: 1px solid var(--sch-line); display: flex; gap: 13px; padding: 19px 22px; }
.afi-sch-spark { align-items: center; background: linear-gradient(145deg,var(--sch-blue-bright),var(--sch-blue)); border-radius: 12px; box-shadow: 0 7px 15px rgba(23,71,184,.25); color: #fff; display: flex; font-size: 21px; font-weight: 900; height: 43px; justify-content: center; width: 43px; }
.afi-sch-search-head strong { color: var(--sch-ink); display: block; font-size: 16px; }
.afi-sch-search-head small { align-items: center; color: var(--sch-muted); display: flex; font-size: 12px; gap: 7px; margin-top: 3px; }
.afi-sch-search-head i { background: #20bf7b; border-radius: 50%; box-shadow: 0 0 0 3px rgba(32,191,123,.14); height: 7px; width: 7px; }
.afi-sch-search-card form { display: grid; gap: 15px; grid-template-columns: 1fr 1fr; padding: 24px 24px 18px; }
.afi-sch-field.is-wide, .afi-sch-search-card button { grid-column: 1/-1; }
.afi-sch-field label { color: #34445e; display: block; font-size: 12px; font-weight: 800; margin: 0 0 7px; }
.afi-sch-field input, .afi-sch-field select { appearance: none; background-color: #f4f7fc; border: 1px solid #d6dfed; border-radius: 10px; color: var(--sch-ink); font: inherit; font-size: 13px; height: 47px; outline: none; padding: 0 13px; width: 100%; }
.afi-sch-field select { background-image: linear-gradient(45deg,transparent 50%,#63728a 50%),linear-gradient(135deg,#63728a 50%,transparent 50%); background-position: calc(100% - 17px) 20px,calc(100% - 12px) 20px; background-repeat: no-repeat; background-size: 5px 5px,5px 5px; padding-right: 31px; }
.afi-sch-field input:focus, .afi-sch-field select:focus { border-color: var(--sch-blue-bright); box-shadow: 0 0 0 3px rgba(43,102,232,.12); }
.afi-sch-search-card button { align-items: center; background: var(--sch-gold); border: 0; border-radius: 11px; color: var(--sch-navy); cursor: pointer; display: flex; font-size: 14px; font-weight: 900; gap: 8px; height: 49px; justify-content: center; margin-top: 2px; transition: .2s; }
.afi-sch-search-card button:hover { background: #ffc72c; transform: translateY(-1px); }
.afi-sch-search-card button:disabled { cursor: wait; opacity: .7; transform: none; }
.afi-sch-search-card button svg { fill: none; height: 18px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 18px; }
.afi-sch-privacy { color: #6d7c91; font-size: 11px; line-height: 1.45; margin: -2px 24px 18px; text-align: center; }

/* Student matching journey. */
.afi-sch-match-card { min-height: 512px; }
.afi-sch-match-card .afi-sch-search-head { position: relative; }
.afi-sch-step-count { background: #eaf0fc; border-radius: 999px; color: var(--sch-blue); flex: 0 0 auto; font-size: 10px; font-weight: 850; margin-left: auto; padding: 6px 9px; }
.afi-sch-match-card form { display: block; padding: 22px 24px 14px; }
.afi-sch-match-card fieldset { border: 0; display: grid; gap: 14px; grid-template-columns: 1fr 1fr; margin: 0; min-width: 0; padding: 0; }
.afi-sch-match-card fieldset[hidden] { display: none; }
.afi-sch-match-card legend { color: var(--sch-navy); font-size: 17px; font-weight: 850; grid-column: 1/-1; margin: 0 0 3px; padding: 0; }
.afi-sch-match-card .afi-sch-field.is-wide, .afi-sch-match-actions, .afi-sch-consent, .afi-sch-honeypot { grid-column: 1/-1; }
.afi-sch-honeypot { height: 0; left: -10000px; overflow: hidden; position: absolute; width: 1px; }
.afi-sch-consent { align-items: flex-start; color: #52627a; display: flex; font-size: 11px; gap: 9px; line-height: 1.45; }
.afi-sch-consent input { accent-color: var(--sch-blue); flex: 0 0 auto; height: 16px; margin: 1px 0 0; width: 16px; }
.afi-sch-consent a { color: var(--sch-blue); font-weight: 750; }
.afi-sch-consent.is-optional { background: #f5f8fd; border-radius: 9px; padding: 10px; }
.afi-sch-match-actions { display: flex; gap: 10px; margin-top: 2px; }
.afi-sch-match-card .afi-sch-match-actions button { flex: 1; grid-column: auto; margin: 0; }
.afi-sch-match-card .afi-sch-match-actions .afi-sch-back-step { background: #fff; border: 1px solid #cbd6e8; color: #54657e; }
.afi-sch-match-card .afi-sch-match-actions .afi-sch-back-step:hover { background: #f3f6fb; transform: none; }
.afi-sch-match-message { color: #506078; font-size: 11px; line-height: 1.4; min-height: 17px; padding-top: 9px; text-align: center; }
.afi-sch-match-message.is-error { color: #a33a2d; }
.afi-sch-match-message.is-success { color: #08744a; font-weight: 750; }
.afi-sch-match-card form[aria-busy="true"] { opacity: .72; }

/* Browse filters remain available independently beneath the matcher. */
.afi-sch-browse-form { align-items: end; background: #fff; border: 1px solid var(--sch-line); border-radius: 15px; box-shadow: 0 8px 24px rgba(15,45,92,.05); display: grid; gap: 12px; grid-template-columns: 1.2fr repeat(3,1fr) auto; margin-bottom: 21px; padding: 17px; }
.afi-sch-browse-form button { background: var(--sch-blue); border: 0; border-radius: 10px; color: #fff; cursor: pointer; font-size: 12px; font-weight: 850; height: 47px; padding: 0 22px; }
.afi-sch-browse-form button:hover { background: var(--sch-navy); }
.afi-sch-browse-form button:disabled { cursor: wait; opacity: .65; }

/* Personalized, explainable results. */
.afi-sch-personal-results { background: #fff; padding: 78px 0 86px; scroll-margin-top: 20px; }
.afi-sch-match-result-head { align-items: end; display: flex; gap: 26px; justify-content: space-between; margin-bottom: 26px; }
.afi-sch-match-result-head > div:first-child > span { color: var(--sch-blue); font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.afi-sch-match-result-head h2 { color: var(--sch-navy); font-size: clamp(30px,4vw,44px); letter-spacing: -.035em; line-height: 1.08; margin: 7px 0 8px; }
.afi-sch-match-result-head p { color: var(--sch-muted); font-size: 14px; margin: 0; }
.afi-sch-reference { background: #eef4ff; border: 1px solid #cfdbef; border-radius: 10px; color: var(--sch-blue); flex: 0 0 auto; font-size: 11px; font-weight: 850; padding: 10px 13px; }
.afi-sch-card.is-match { min-height: 0; }
.afi-sch-match-score { align-items: center; background: #edf3ff; border-radius: 10px; color: var(--sch-blue); display: flex; flex: 0 0 104px; flex-direction: column; padding: 8px; text-align: center; }
.afi-sch-match-score strong { font-size: 19px; line-height: 1; }
.afi-sch-match-score small { font-size: 8px; font-weight: 800; line-height: 1.25; margin-top: 3px; text-transform: uppercase; }
.afi-sch-match-score.band-excellent, .afi-sch-match-score.band-strong { background: #e9f8f2; color: #08744a; }
.afi-sch-match-score.band-possible { background: #fff6dd; color: #856000; }
.afi-sch-match-explanation { border-top: 1px solid var(--sch-line); display: grid; gap: 12px; margin-top: 17px; padding-top: 15px; }
.afi-sch-match-explanation strong { color: #31415a; display: block; font-size: 10px; margin-bottom: 5px; text-transform: uppercase; }
.afi-sch-match-explanation ul { color: #52627a; font-size: 11px; line-height: 1.45; margin: 0; padding-left: 17px; }
.afi-sch-match-explanation li + li { margin-top: 3px; }
.afi-sch-match-warnings { background: #fff8e9; border-radius: 8px; padding: 9px 10px; }
.afi-sch-match-warnings strong { color: #775a14; }
.afi-sch-match-disclaimer { background: #fff9e8; border: 1px solid #efd98e; border-radius: 11px; color: #6c5616; font-size: 12px; line-height: 1.6; margin: 25px 0 0; padding: 14px 16px; }
.afi-sch-card-actions a.is-apply { background: var(--sch-gold); border-color: var(--sch-gold); color: var(--sch-navy); }

.afi-sch-verification-note { background: #effaf6; border-bottom: 1px solid #ccebdd; border-top: 1px solid #ccebdd; color: #245a47; }
.afi-sch-verification-note .afi-sch-container { align-items: center; display: flex; gap: 14px; min-height: 84px; padding-bottom: 16px; padding-top: 16px; }
.afi-sch-verification-note span { align-items: center; background: var(--sch-green); border-radius: 50%; color: #fff; display: flex; flex: 0 0 32px; font-size: 15px; font-weight: 900; height: 32px; justify-content: center; }
.afi-sch-verification-note strong { display: block; font-size: 13px; margin-bottom: 3px; }
.afi-sch-verification-note p { font-size: 12px; line-height: 1.55; margin: 0; }

/* Scholarship-grounded adviser. */
.afi-sch-shell .screen-reader-text { clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
.afi-sch-adviser { background: #eef4ff; padding: 82px 0; }
.afi-sch-adviser-grid { align-items: stretch; display: grid; gap: 28px; grid-template-columns: minmax(0,1.2fr) minmax(300px,.8fr); }
.afi-sch-chat-card { background: #fff; border: 1px solid #d8e2f2; border-radius: 20px; box-shadow: 0 18px 48px rgba(15,45,92,.10); display: flex; flex-direction: column; min-height: 520px; overflow: hidden; }
.afi-sch-chat-head { align-items: center; border-bottom: 1px solid var(--sch-line); display: flex; gap: 12px; padding: 18px 21px; }
.afi-sch-chat-head > span { align-items: center; background: linear-gradient(145deg,var(--sch-blue-bright),var(--sch-blue)); border-radius: 11px; color: #fff; display: flex; flex: 0 0 42px; font-size: 12px; font-weight: 900; height: 42px; justify-content: center; }
.afi-sch-chat-head strong { color: var(--sch-navy); display: block; font-size: 15px; }
.afi-sch-chat-head small { color: var(--sch-muted); display: block; font-size: 11px; margin-top: 3px; }
.afi-sch-chat-messages { display: flex; flex: 1; flex-direction: column; gap: 14px; max-height: 360px; min-height: 210px; overflow-y: auto; padding: 22px; }
.afi-sch-chat-message { align-items: flex-start; display: flex; gap: 10px; max-width: 90%; }
.afi-sch-chat-message > span { align-items: center; background: #dfe9fb; border-radius: 50%; color: var(--sch-blue); display: flex; flex: 0 0 30px; font-size: 9px; font-weight: 900; height: 30px; justify-content: center; }
.afi-sch-chat-message > div, .afi-sch-chat-message > p { background: #f2f6fc; border-radius: 4px 13px 13px 13px; color: #43536c; font-size: 13px; line-height: 1.6; margin: 0; padding: 11px 13px; }
.afi-sch-chat-message p { margin: 0; }
.afi-sch-chat-message small { color: #75849a; display: block; font-size: 9px; font-weight: 750; margin-top: 7px; text-transform: uppercase; }
.afi-sch-chat-message.is-user { align-self: flex-end; flex-direction: row-reverse; }
.afi-sch-chat-message.is-user > span { background: var(--sch-gold); color: var(--sch-navy); }
.afi-sch-chat-message.is-user > div { background: var(--sch-blue); border-radius: 13px 4px 13px 13px; color: #fff; }
.afi-sch-chat-message.is-working { opacity: .7; }
.afi-sch-chat-prompts { border-top: 1px solid var(--sch-line); display: flex; flex-wrap: wrap; gap: 7px; padding: 13px 18px 0; }
.afi-sch-chat-prompts button { background: #eef4ff; border: 1px solid #cfdbef; border-radius: 999px; color: var(--sch-blue); cursor: pointer; font-size: 10px; font-weight: 750; padding: 7px 10px; }
.afi-sch-chat-prompts button:hover { background: var(--sch-blue); color: #fff; }
.afi-sch-chat-form { align-items: flex-end; display: flex; gap: 9px; padding: 12px 18px 8px; }
.afi-sch-chat-form textarea { background: #f5f8fd; border: 1px solid #ced9e9; border-radius: 11px; color: var(--sch-ink); flex: 1; font: inherit; font-size: 13px; max-height: 130px; min-height: 50px; outline: none; padding: 12px; resize: vertical; width: 100%; }
.afi-sch-chat-form textarea:focus { border-color: var(--sch-blue-bright); box-shadow: 0 0 0 3px rgba(43,102,232,.11); }
.afi-sch-chat-form button { align-items: center; background: var(--sch-gold); border: 0; border-radius: 11px; color: var(--sch-navy); cursor: pointer; display: flex; flex: 0 0 50px; font-size: 20px; height: 50px; justify-content: center; }
.afi-sch-chat-form button:disabled { cursor: wait; opacity: .6; }
.afi-sch-chat-privacy { color: #738197; font-size: 10px; line-height: 1.45; margin: 0; padding: 0 20px 17px; }
.afi-sch-adviser-sources { background: var(--sch-navy); border-radius: 20px; color: #fff; overflow: hidden; padding: 31px; }
.afi-sch-adviser-sources > span { color: #8fafe9; font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.afi-sch-adviser-sources h2 { color: #fff; font-size: 30px; letter-spacing: -.035em; line-height: 1.12; margin: 9px 0 13px; }
.afi-sch-adviser-sources > p { color: #b5c3dc; font-size: 12px; line-height: 1.65; margin: 0 0 24px; }
.afi-sch-source-placeholder { border: 1px dashed rgba(255,255,255,.24); border-radius: 12px; color: #96a9ca; font-size: 12px; line-height: 1.55; padding: 21px; }
.afi-sch-adviser-sources [data-adviser-sources] > strong { color: #dbe6fa; display: block; font-size: 10px; letter-spacing: .08em; margin-bottom: 9px; text-transform: uppercase; }
.afi-sch-adviser-source-list { display: grid; gap: 8px; }
.afi-sch-adviser-source-list a { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.10); border-radius: 10px; color: #fff; display: block; padding: 11px 12px; text-decoration: none; }
.afi-sch-adviser-source-list a:hover { background: rgba(255,255,255,.13); }
.afi-sch-adviser-source-list span { display: block; font-size: 12px; font-weight: 800; line-height: 1.35; }
.afi-sch-adviser-source-list small { color: #9fb1cf; display: block; font-size: 9px; margin-top: 4px; }

/* Browser-only shortlist. */
.afi-sch-saved { background: #fff; padding: 76px 0 84px; scroll-margin-top: 20px; }
.afi-sch-saved-head { align-items: flex-start; display: flex; gap: 28px; justify-content: space-between; margin-bottom: 25px; }
.afi-sch-saved-head span { color: var(--sch-blue); font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.afi-sch-saved-head h2 { color: var(--sch-navy); font-size: clamp(29px,4vw,42px); letter-spacing: -.035em; margin: 6px 0 8px; }
.afi-sch-saved-head p { color: var(--sch-muted); font-size: 13px; margin: 0; }
.afi-sch-saved-head button { background: #eef4ff; border: 1px solid #cfdbef; border-radius: 9px; color: var(--sch-blue); cursor: pointer; font-size: 11px; font-weight: 800; padding: 10px 13px; }
.afi-sch-directory-tools { align-items: center; display: flex; gap: 15px; }
.afi-sch-directory-tools button:first-child { background: var(--sch-blue); border-radius: 999px; color: #fff; padding: 9px 13px; text-decoration: none; }
.afi-sch-directory-tools b { align-items: center; background: #fff; border-radius: 50%; color: var(--sch-blue); display: inline-flex; font-size: 9px; height: 19px; justify-content: center; margin-left: 4px; width: 19px; }

.afi-sch-directory { background: var(--sch-cloud); padding: 88px 0 98px; }
.afi-sch-directory-head { align-items: flex-end; display: flex; gap: 28px; justify-content: space-between; margin-bottom: 23px; }
.afi-sch-directory-head > div > span, .afi-sch-pathway-grid > div:first-child > span { color: var(--sch-blue); font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.afi-sch-directory-head h2 { color: var(--sch-navy); font-size: clamp(31px,4vw,46px); letter-spacing: -.035em; line-height: 1.08; margin: 7px 0 0; }
.afi-sch-directory-head button { background: transparent; border: 0; color: var(--sch-blue); cursor: pointer; font-size: 12px; font-weight: 850; padding: 8px 0; text-decoration: underline; text-underline-offset: 3px; }
.afi-sch-results-meta { color: var(--sch-muted); font-size: 13px; margin-bottom: 18px; min-height: 20px; }
.afi-sch-grid { display: grid; gap: 18px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.afi-sch-card { background: #fff; border: 1px solid var(--sch-line); border-radius: 16px; box-shadow: 0 4px 12px rgba(15,45,92,.035); display: flex; flex-direction: column; min-height: 390px; overflow: hidden; padding: 23px; position: relative; transition: .25s; }
.afi-sch-card:hover { border-color: #b9c9e6; box-shadow: 0 20px 43px rgba(15,45,92,.10); transform: translateY(-4px); }
.afi-sch-card.is-featured::before { background: var(--sch-gold); content: ""; height: 4px; inset: 0 0 auto; position: absolute; }
.afi-sch-card-top { align-items: flex-start; display: flex; gap: 10px; justify-content: space-between; }
.afi-sch-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.afi-sch-badge { background: #edf3ff; border-radius: 999px; color: var(--sch-blue); display: inline-block; font-size: 9px; font-weight: 900; letter-spacing: .05em; padding: 6px 8px; text-transform: uppercase; }
.afi-sch-badge.status-open { background: #eaf8f2; color: #08744a; }
.afi-sch-badge.status-upcoming { background: #fff5db; color: #806000; }
.afi-sch-badge.status-closing-soon { background: #fff0e9; color: #a44419; }
.afi-sch-featured-label { color: #987000; flex: 0 0 auto; font-size: 9px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.afi-sch-card h3 { color: var(--sch-navy); font-size: 20px; letter-spacing: -.018em; line-height: 1.25; margin: 18px 0 7px; }
.afi-sch-card h3 a { color: inherit; text-decoration: none; }
.afi-sch-card h3 a:hover { color: var(--sch-blue); }
.afi-sch-sponsor { color: var(--sch-blue); font-size: 12px; font-weight: 750; margin: 0 0 13px; }
.afi-sch-excerpt { color: var(--sch-muted); font-size: 13px; line-height: 1.65; margin: 0 0 18px; }
.afi-sch-card-facts { border-top: 1px solid var(--sch-line); display: grid; gap: 11px; grid-template-columns: 1fr 1fr; margin-top: auto; padding-top: 16px; }
.afi-sch-card-facts div:last-child { grid-column: 1/-1; }
.afi-sch-card-facts small { color: #7a879a; display: block; font-size: 9px; font-weight: 800; letter-spacing: .06em; margin-bottom: 3px; text-transform: uppercase; }
.afi-sch-card-facts strong { color: #283850; display: block; font-size: 12px; line-height: 1.4; }
.afi-sch-card-actions { display: flex; gap: 8px; margin-top: 18px; }
.afi-sch-card-actions a { border: 1px solid var(--sch-blue); border-radius: 9px; color: var(--sch-blue); flex: 1; font-size: 11px; font-weight: 850; padding: 10px; text-align: center; text-decoration: none; }
.afi-sch-card-actions a:first-child { background: var(--sch-blue); color: #fff; }
.afi-sch-card-actions a:hover { background: var(--sch-navy); border-color: var(--sch-navy); color: #fff; }
.afi-sch-card-tools { align-items: center; border-top: 1px solid var(--sch-line); display: flex; flex-wrap: wrap; gap: 0; margin-top: 15px; padding-top: 12px; }
.afi-sch-card-tools button, .afi-sch-card-tools a { background: none; border: 0; color: #60708a; cursor: pointer; font: inherit; font-size: 9px; font-weight: 800; line-height: 1.3; padding: 5px 8px; text-decoration: none; }
.afi-sch-card-tools button:first-child { padding-left: 0; }
.afi-sch-card-tools button + a, .afi-sch-card-tools a + a { border-left: 1px solid #dfe6f1; }
.afi-sch-card-tools button:hover, .afi-sch-card-tools a:hover, .afi-sch-card-tools button[aria-pressed="true"] { color: var(--sch-blue); }
.afi-sch-empty { background: #fff; border: 1px dashed #bbc9df; border-radius: 16px; grid-column: 1/-1; padding: 58px 24px; text-align: center; }
.afi-sch-empty span { align-items: center; background: #edf3ff; border-radius: 50%; color: var(--sch-blue); display: flex; font-size: 25px; height: 58px; justify-content: center; margin: 0 auto 15px; width: 58px; }
.afi-sch-empty h3 { color: var(--sch-navy); font-size: 20px; margin: 0 0 8px; }
.afi-sch-empty p { color: var(--sch-muted); font-size: 13px; margin: 0; }
.afi-sch-grid[aria-busy="true"] { opacity: .56; }
.afi-sch-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 31px; }
.afi-sch-pagination button { background: #fff; border: 1px solid #c9d5e8; border-radius: 9px; color: var(--sch-blue); cursor: pointer; font-size: 12px; font-weight: 800; min-width: 42px; padding: 10px 13px; }
.afi-sch-pagination button:hover, .afi-sch-pagination button[aria-current="page"] { background: var(--sch-blue); border-color: var(--sch-blue); color: #fff; }
.afi-sch-pagination button:disabled { cursor: default; opacity: .45; }

.afi-sch-pathway { background: #fff; padding: 88px 0; }
.afi-sch-pathway-grid { align-items: center; display: grid; gap: 55px; grid-template-columns: 1.3fr .7fr; }
.afi-sch-pathway h2 { color: var(--sch-navy); font-size: clamp(30px,4vw,44px); letter-spacing: -.035em; line-height: 1.08; margin: 10px 0 16px; }
.afi-sch-pathway p { color: var(--sch-muted); font-size: 15px; line-height: 1.7; margin: 0; }
.afi-sch-pathway-actions { display: flex; flex-direction: column; gap: 10px; }
.afi-sch-pathway-actions a { border: 1px solid #bfcae0; border-radius: 10px; color: var(--sch-blue); font-size: 13px; font-weight: 850; padding: 14px 18px; text-align: center; text-decoration: none; }
.afi-sch-pathway-actions a.is-primary { background: var(--sch-gold); border-color: var(--sch-gold); color: var(--sch-navy); }
.afi-sch-pathway-actions a:hover { box-shadow: 0 8px 20px rgba(15,45,92,.10); transform: translateY(-1px); }

.afi-sch-detail { color: var(--sch-ink); font-family: Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; margin: 0 auto; max-width: 1160px; padding: 48px 24px 82px; }
.afi-sch-back { color: var(--sch-blue); display: inline-block; font-size: 13px; font-weight: 800; margin-bottom: 28px; text-decoration: none; }
.afi-sch-detail-hero { background: var(--sch-navy); border-radius: 22px; color: #fff; overflow: hidden; padding: 46px; position: relative; }
.afi-sch-detail-hero::after { background: radial-gradient(circle,rgba(43,102,232,.55),transparent 68%); content: ""; height: 430px; position: absolute; right: -150px; top: -210px; width: 500px; }
.afi-sch-detail-badges { display: flex; flex-wrap: wrap; gap: 7px; position: relative; z-index: 1; }
.afi-sch-detail-badges span { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.17); border-radius: 999px; color: #e6edfa; font-size: 10px; font-weight: 850; padding: 6px 9px; text-transform: uppercase; }
.afi-sch-detail-badges .status-open { background: #dff7ed; border-color: #dff7ed; color: #08744a; }
.afi-sch-detail-badges .status-closing-soon { background: #fff0e9; border-color: #fff0e9; color: #a44419; }
.afi-sch-detail-hero h1 { color: #fff; font-size: clamp(35px,5vw,56px); letter-spacing: -.043em; line-height: 1.06; margin: 20px 0 11px; max-width: 900px; position: relative; z-index: 1; }
.afi-sch-detail-sponsor { color: #c6d5ee; font-size: 15px; margin: 0; position: relative; z-index: 1; }
.afi-sch-detail-sponsor strong { color: #fff; }
.afi-sch-detail-intro { color: #c6d5ee; font-size: 16px; line-height: 1.7; margin: 23px 0 0; max-width: 760px; position: relative; z-index: 1; }
.afi-sch-source-notice { align-items: center; background: #effaf6; border: 1px solid #ccebdd; border-radius: 12px; color: #245a47; display: flex; gap: 12px; margin: 18px 0 38px; padding: 14px 17px; }
.afi-sch-source-notice > span { align-items: center; background: var(--sch-green); border-radius: 50%; color: #fff; display: flex; flex: 0 0 27px; font-size: 12px; height: 27px; justify-content: center; }
.afi-sch-source-notice p { font-size: 12px; line-height: 1.55; margin: 0; }
.afi-sch-detail-layout { align-items: start; display: grid; gap: 45px; grid-template-columns: minmax(0,1fr) 340px; }
.afi-sch-detail main section { border-bottom: 1px solid var(--sch-line); padding: 0 0 28px; margin: 0 0 30px; }
.afi-sch-detail main section h2, .afi-sch-summary-card h2 { color: var(--sch-navy); font-size: 24px; letter-spacing: -.02em; margin: 0 0 14px; }
.afi-sch-prose, .afi-sch-prose p, .afi-sch-prose li { color: #53637b; font-size: 14px; line-height: 1.75; }
.afi-sch-prose p { margin: 0 0 12px; }
.afi-sch-prose p:last-child { margin-bottom: 0; }
.afi-sch-prose ul { margin: 0; padding-left: 20px; }
.afi-sch-summary-card { background: #fff; border: 1px solid var(--sch-line); border-radius: 16px; box-shadow: 0 16px 42px rgba(15,45,92,.09); padding: 25px; position: sticky; top: 24px; }
.afi-sch-summary-card dl { margin: 0 0 21px; }
.afi-sch-summary-card dl div { border-top: 1px solid var(--sch-line); padding: 12px 0; }
.afi-sch-summary-card dt { color: #7a879a; font-size: 9px; font-weight: 850; letter-spacing: .07em; margin-bottom: 3px; text-transform: uppercase; }
.afi-sch-summary-card dd { color: #263750; font-size: 13px; font-weight: 750; line-height: 1.45; margin: 0; }
.afi-sch-summary-card a { border-radius: 9px; display: block; font-size: 12px; font-weight: 850; margin-top: 9px; padding: 12px; text-align: center; text-decoration: none; }
.afi-sch-apply-button { background: var(--sch-gold); color: var(--sch-navy); }
.afi-sch-source-button { border: 1px solid var(--sch-blue); color: var(--sch-blue); }
.afi-sch-detail-disclaimer { background: #fff9e8; border: 1px solid #efd98e; border-radius: 11px; color: #6c5616; font-size: 12px; line-height: 1.65; margin-top: 38px; padding: 16px 18px; }

@media (max-width: 1000px) {
	.afi-sch-hero-grid { gap: 42px; grid-template-columns: 1fr 1fr; }
	.afi-sch-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.afi-sch-detail-layout { grid-template-columns: minmax(0,1fr) 300px; }
	.afi-sch-browse-form { grid-template-columns: repeat(2,1fr); }
	.afi-sch-browse-form button { grid-column: 1/-1; }
	.afi-sch-adviser-grid { grid-template-columns: 1fr; }
	.afi-sch-adviser-sources { min-height: 350px; }
}

@media (max-width: 820px) {
	.afi-sch-hero { padding: 48px 0 54px; }
	.afi-sch-hero-grid { grid-template-columns: 1fr; }
	.afi-sch-hero-copy { text-align: center; }
	.afi-sch-eyebrow { justify-content: center; }
	.afi-sch-hero-copy > p { margin-left: auto; margin-right: auto; }
	.afi-sch-search-card { margin: 0 auto; max-width: 590px; width: 100%; }
	.afi-sch-pathway-grid, .afi-sch-detail-layout { grid-template-columns: 1fr; }
	.afi-sch-pathway-actions { flex-direction: row; }
	.afi-sch-pathway-actions a { flex: 1; }
	.afi-sch-summary-card { position: static; }
	.afi-sch-match-result-head { align-items: flex-start; flex-direction: column; gap: 13px; }
	.afi-sch-adviser { padding: 65px 0; }
}

@media (max-width: 620px) {
	.afi-sch-container { padding-left: 17px; padding-right: 17px; }
	.afi-sch-hero { padding: 31px 0 39px; }
	.afi-sch-hero h1 { font-size: 37px; }
	.afi-sch-hero-copy > p { font-size: 14px; }
	.afi-sch-trust-row { gap: 9px; }
	.afi-sch-trust-row strong { font-size: 17px; }
	.afi-sch-trust-row span { font-size: 8px; }
	.afi-sch-search-card { border-radius: 16px; }
	.afi-sch-search-card form { grid-template-columns: 1fr; padding: 19px 17px 15px; }
	.afi-sch-field.is-wide, .afi-sch-search-card button { grid-column: auto; }
	.afi-sch-privacy { margin-left: 17px; margin-right: 17px; }
	.afi-sch-match-card { min-height: 0; }
	.afi-sch-match-card fieldset { grid-template-columns: 1fr; }
	.afi-sch-match-card legend, .afi-sch-match-card .afi-sch-field.is-wide, .afi-sch-match-actions, .afi-sch-consent, .afi-sch-honeypot { grid-column: auto; }
	.afi-sch-search-head { align-items: flex-start; flex-wrap: wrap; }
	.afi-sch-step-count { margin-left: 56px; margin-top: -10px; }
	.afi-sch-browse-form { grid-template-columns: 1fr; padding: 14px; }
	.afi-sch-browse-form button { grid-column: auto; }
	.afi-sch-personal-results { padding: 58px 0 64px; }
	.afi-sch-match-score { flex-basis: 94px; }
	.afi-sch-adviser { padding: 52px 0; }
	.afi-sch-chat-card, .afi-sch-adviser-sources { border-radius: 15px; }
	.afi-sch-chat-messages { max-height: 330px; padding: 18px 15px; }
	.afi-sch-chat-message { max-width: 96%; }
	.afi-sch-chat-prompts { flex-wrap: nowrap; overflow-x: auto; padding-left: 15px; padding-right: 15px; }
	.afi-sch-chat-prompts button { flex: 0 0 auto; }
	.afi-sch-chat-form { padding-left: 15px; padding-right: 15px; }
	.afi-sch-adviser-sources { min-height: 0; padding: 24px 21px; }
	.afi-sch-adviser-sources h2 { font-size: 27px; }
	.afi-sch-saved { padding: 58px 0 64px; }
	.afi-sch-saved-head { flex-direction: column; gap: 14px; }
	.afi-sch-directory, .afi-sch-pathway { padding: 63px 0; }
	.afi-sch-directory-head { align-items: flex-start; flex-direction: column; gap: 8px; }
	.afi-sch-directory-tools { align-items: flex-start; flex-wrap: wrap; }
	.afi-sch-grid { grid-template-columns: 1fr; }
	.afi-sch-card { min-height: 0; }
	.afi-sch-pathway-actions { flex-direction: column; }
	.afi-sch-detail { padding: 30px 17px 60px; }
	.afi-sch-detail-hero { border-radius: 16px; padding: 29px 23px; }
	.afi-sch-detail-hero h1 { font-size: 34px; }
	.afi-sch-source-notice { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	.afi-sch-shell *, .afi-sch-shell *::before, .afi-sch-shell *::after, .afi-sch-detail *, .afi-sch-detail *::before, .afi-sch-detail *::after { scroll-behavior: auto !important; transition: none !important; }
}
