:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; font-size: 16px; background: #f7f8f6; color: #20332f; }
* { box-sizing: border-box; }
body { margin: 0 auto; max-width: 78rem; padding: 0 clamp(1rem, 4vw, 3.5rem) 4rem; }
header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 5rem; border-bottom: 1px solid #d7dfd9; }
header > a { color: #173c32; font-weight: 800; font-size: 1.18rem; letter-spacing: -.02em; text-decoration: none; }
header form { margin: 0; }
header button { background: transparent; color: #36544b; border: 1px solid #bdccc2; padding: .5rem .85rem; }
main { padding-top: 1.6rem; }
h1, h2, h3 { color: #173c32; line-height: 1.18; letter-spacing: -.025em; margin: 0; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.4rem, 2.3vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: .7rem 0 0; }
a { color: #155f4c; text-underline-offset: .18em; }
a:hover { color: #0d3b31; }
button, .button { display: inline-flex; justify-content: center; align-items: center; min-height: 2.65rem; padding: .62rem 1rem; border-radius: .55rem; border: 1px solid #174c3d; background: #174c3d; color: #fff; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; white-space: nowrap; }
button:hover, .button:hover { background: #103a2f; color: #fff; }
.button.secondary { border-color: #b8c9bd; background: #fff; color: #174c3d; }
.button.secondary:hover { background: #eef3ee; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #e5a429; outline-offset: 3px; }
.breadcrumbs { color: #60766d; font-size: .9rem; margin-bottom: 1.4rem; }
.breadcrumbs a { color: #386556; }
.page-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin: 0 0 2.3rem; }
.page-intro p:not(.eyebrow) { color: #61736a; max-width: 39rem; }
.eyebrow { color: #597b6b; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; margin: 0 0 .55rem; }
.page-actions { display: flex; gap: .65rem; flex-wrap: wrap; }
.section-block { margin-top: 2.3rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.count { display: inline-flex; justify-content: center; align-items: center; min-width: 2rem; height: 2rem; border-radius: 999px; background: #e7eee7; color: #385b4c; font-weight: 750; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: .9rem; }
.scholarship-card, .panel, .empty-state { background: #fff; border: 1px solid #dce5dc; border-radius: .85rem; box-shadow: 0 2px 8px rgba(28, 55, 39, .035); }
.scholarship-card { padding: 1.25rem; min-height: 11.5rem; overflow-wrap: anywhere; }
.scholarship-card h3 { margin: 1rem 0 .4rem; }
.scholarship-card h3 a { color: #173c32; text-decoration: none; }
.scholarship-card h3 a:hover { text-decoration: underline; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.status-pill { display: inline-block; border-radius: 999px; background: #e8eee9; color: #35584b; font-size: .76rem; font-weight: 750; padding: .27rem .65rem; white-space: nowrap; }
.status-interested { background: #e1efe7; color: #215b3d; }
.status-in_progress { background: #d9e8fa; color: #1d4e81; }
.status-applied { background: #e9e4f6; color: #60458a; }
.status-awarded { background: #f9eecb; color: #70531b; }
.status-not_selected, .status-not_interested { background: #eee; color: #575e5b; }
.status-ineligible { background: #f9e5e1; color: #8a3327; }
.priority-reason { color: #61756a; font-size: .8rem; text-align: right; }
.muted, .table-sub, .help { color: #66796f; }
.verify-note { color: #916321; font-size: .82rem; font-weight: 650; margin-top: .8rem; }
.empty-state { padding: 2rem; color: #5c7165; }
.empty-state h2, .empty-state h3 { margin-bottom: .35rem; }
.text-link { display: inline-block; margin-top: .8rem; font-weight: 700; }
.filters { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(10rem, 12rem) auto; align-items: end; gap: .75rem; background: #eaf1ea; padding: 1rem; border-radius: .8rem; margin-bottom: 1.2rem; }
label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: .35rem; }
input, select, textarea { display: block; width: 100%; min-height: 2.7rem; padding: .58rem .7rem; border: 1px solid #b8c9bd; border-radius: .5rem; background: #fff; color: #20332f; font: inherit; }
textarea { min-height: 5.5rem; resize: vertical; }
.table-wrap { overflow-x: auto; border: 1px solid #dce5dc; border-radius: .8rem; background: #fff; }
table { border-collapse: collapse; width: 100%; min-width: 42rem; }
th, td { padding: .9rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid #e5ebe5; }
thead th { background: #eff4ef; color: #536a5d; font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { width: 39%; font-weight: 650; }
.table-sub { display: block; margin-top: .2rem; font-size: .81rem; font-weight: 400; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(16rem, 1fr); gap: 1rem; align-items: start; }
.detail-grid > div, .detail-grid aside { display: grid; gap: 1rem; }
.panel { padding: 1.35rem; }
.panel h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.panel form { margin-top: 1.1rem; }
.panel form button { margin-top: .7rem; }
.fact-list { margin: 0; }
.fact-list > div { display: grid; grid-template-columns: minmax(8rem, 34%) 1fr; gap: 1rem; border-top: 1px solid #edf1ed; padding: .85rem 0; }
.fact-list dt { color: #6b7d70; font-size: .87rem; }
.fact-list dd { margin: 0; overflow-wrap: anywhere; }
.notice { border-left: 4px solid #bd8230; background: #fff5df; color: #694d20; border-radius: .35rem; padding: .85rem 1rem; margin: -1rem 0 1.2rem; }
.timeline, .compact-list { padding-left: 1.2rem; margin: 0; }
.timeline li, .compact-list li { padding: .4rem 0; }
.timeline li { overflow-wrap: anywhere; }
.compact-list p { margin: .25rem 0 0; }
.facts-form { background: #fff; border: 1px solid #dce5dc; border-radius: .85rem; padding: clamp(1rem, 3vw, 2rem); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.4rem; }
.field.wide { grid-column: 1 / -1; }
.field .help { margin: .25rem 0 0; font-size: .82rem; }
.field-errors, .form-errors { color: #9f2929; font-size: .88rem; margin-top: .4rem; }
.field-errors ul, .form-errors ul { margin: .3rem 0; padding-left: 1.2rem; }
.form-actions { display: flex; align-items: center; gap: 1.2rem; margin-top: 1.5rem; }
.scholarship-card .form-actions { flex-wrap: wrap; gap: .75rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 760px) { .page-intro { align-items: flex-start; flex-direction: column; gap: 1rem; } .detail-grid { grid-template-columns: 1fr; } .filters { grid-template-columns: 1fr; } .form-grid { grid-template-columns: 1fr; } .field.wide { grid-column: auto; } .page-actions { width: 100%; } .page-actions .button { flex: 1; } }
@media (max-width: 480px) { body { padding: 0 1rem 2rem; } main { padding-top: 1.15rem; } .page-actions { flex-direction: column; } .fact-list > div { grid-template-columns: 1fr; gap: .25rem; } .scholarship-card { min-height: 0; } }

.profile-card, .profile-card h2, .profile-card p, .profile-form label { overflow-wrap: anywhere; }
.profile-form .form-grid { margin-top: 1rem; }
.profile-form input[type="checkbox"], .profile-form input[type="radio"] { display: inline-block; width: auto; min-height: auto; margin-right: .5rem; }
.profile-evidence + .profile-evidence { border-top: 1px solid #edf1ed; margin-top: 1rem; padding-top: 1rem; }
.profile-value { white-space: pre-wrap; }
.profile-title { overflow-wrap: anywhere; }
.profile-form .form-actions { flex-wrap: wrap; }
.eligibility-card { margin-top: 1rem; }
.eligibility-card a, .eligibility-card form, .eligibility-card h3 { overflow-wrap: anywhere; }
