.ath-funding,
.ath-fundingStudent,
.ath-fundingOpportunities,
.ath-fundingSponsorStrip,
.ath-fundingNotice,
.ath-funding__empty,
.ath-fundingPublic,
.ath-fundingDirectory,
.ath-fundingDashboard,
.ath-studentAccountFunding {
  --athfund-ink: var(--text-high, #10233f);
  --athfund-muted: var(--text-mid, #60708a);
  --athfund-subtle: var(--text-low, #7d8ca2);
  --athfund-line: var(--border, #dce5f0);
  --athfund-surface: var(--surface-1, #ffffff);
  --athfund-soft: var(--surface-2, #f5f8fc);
  --athfund-panel: var(--surface-3, #edf2f7);
  --athfund-navy: var(--ctl-c1, #12335b);
  --athfund-blue: var(--ctl-c2, #1769aa);
  --athfund-teal: var(--ctl-c2, #0d8d7d);
  --athfund-gold: var(--ctl-c3, #d69b2d);
  --athfund-button-bg: var(--btn-bg, linear-gradient(135deg, var(--athfund-navy), var(--athfund-blue)));
  --athfund-button-fg: var(--btn-fg, #ffffff);
  --athfund-focus: var(--focus-ring, color-mix(in srgb, var(--athfund-blue) 28%, transparent));
  --athfund-radius: var(--radius, 12px);
  --athfund-radius-lg: var(--radius-lg, 18px);
  --athfund-shadow: 0 10px 32px color-mix(in srgb, var(--athfund-ink) 9%, transparent);
  --athfund-positive-line: color-mix(in srgb, var(--athfund-teal) 42%, var(--athfund-line));
  --athfund-positive-bg: color-mix(in srgb, var(--athfund-teal) 14%, var(--athfund-surface));
  --athfund-warning-line: color-mix(in srgb, var(--athfund-gold) 45%, var(--athfund-line));
  --athfund-warning-bg: color-mix(in srgb, var(--athfund-gold) 13%, var(--athfund-surface));
}

/* Keep the benefactor application legible as a light frontend CPT surface
 * even when the surrounding site theme is dark or high-contrast. The active
 * theme still supplies the accent scale, button treatment, focus language,
 * radius, and elevation tokens. */
.ath-funding--benefactor-application {
  --athfund-c1: var(--ctl-c1, #0f6c7f);
  --athfund-c2: var(--ctl-c2, #1e8f87);
  --athfund-c3: var(--ctl-c3, #c39a5a);
  --athfund-c4: var(--ctl-c4, #2f2415);
  --athfund-c6: var(--ctl-c6, #f6f1e7);
  --athfund-ink: color-mix(in srgb, #05070c 94%, var(--athfund-c4));
  --athfund-muted: color-mix(in srgb, #151d2b 90%, var(--athfund-c1));
  --athfund-subtle: color-mix(in srgb, #202838 88%, var(--athfund-c3));
  --athfund-line: color-mix(in srgb, #cbd5dc 80%, var(--athfund-c1));
  --athfund-surface: color-mix(in srgb, #ffffff 96%, var(--athfund-c6));
  --athfund-soft: color-mix(in srgb, #f1f6f6 92%, var(--athfund-c2));
  --athfund-panel: color-mix(in srgb, #e8f0f1 88%, var(--athfund-c1));
  --athfund-navy: var(--athfund-c1);
  --athfund-blue: var(--athfund-c2);
  --athfund-teal: var(--athfund-c2);
  --athfund-gold: var(--athfund-c3);
  --athfund-button-bg: var(--btn-bg, linear-gradient(135deg, var(--athfund-c1), var(--athfund-c2)));
  --athfund-button-fg: var(--btn-fg, #ffffff);
  --athfund-focus: color-mix(in srgb, var(--athfund-c2) 28%, transparent);
  --athfund-shadow: var(--drop-md, 0 14px 34px color-mix(in srgb, var(--athfund-c4) 10%, transparent));
  --text-high: var(--athfund-ink);
  --text-mid: var(--athfund-muted);
  --text-low: var(--athfund-subtle);
  --surface-0: var(--athfund-soft);
  --surface-1: var(--athfund-surface);
  --surface-2: var(--athfund-soft);
  --surface-3: var(--athfund-panel);
  --border: var(--athfund-line);
  color: var(--athfund-ink);
  color-scheme: light;
}

.ath-fundingAdoption__details,
.ath-fundingOpportunity__details,
.ath-fundingAgreement__publicLink {
  display: inline-flex;
  margin: 9px 0;
  color: var(--athfund-blue);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.ath-fundingAdoption__details:hover,
.ath-fundingOpportunity__details:hover,
.ath-fundingAgreement__publicLink:hover {
  text-decoration: underline;
}

.ath-fundingApplicants__allocation {
  display: grid;
  gap: 8px;
  margin: 10px 0;
  padding: 11px;
  border: 1px solid var(--athfund-positive-line);
  border-radius: 10px;
  background: var(--athfund-positive-bg);
}

.ath-fundingApplicants__allocation > p {
  margin: -3px 0 2px;
  color: var(--athfund-muted);
  font-size: 11px;
  line-height: 1.45;
}

.ath-fundingPublic {
  width: min(1180px, calc(100% - 32px));
  margin: clamp(24px, 4vw, 58px) auto 70px;
  color: var(--athfund-ink);
}

.ath-funding.ath-academy-shell {
  border-color: var(--athfund-line);
  color: var(--athfund-ink);
  background:
    radial-gradient(circle at 0 0, color-mix(in srgb, var(--athfund-navy) 10%, transparent), transparent 35%),
    linear-gradient(180deg, var(--surface-0, var(--athfund-soft)), var(--athfund-surface));
  box-shadow: var(--athfund-shadow);
}

.ath-fundingPublic__hero,
.ath-fundingPublic__campaignHero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(230px, .5fr);
  overflow: hidden;
  align-items: center;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--athfund-navy) 34%, var(--athfund-line));
  border-radius: calc(var(--athfund-radius-lg) + 8px);
  color: var(--athfund-button-fg);
  background:
    radial-gradient(circle at 85% 10%, color-mix(in srgb, var(--athfund-surface) 30%, transparent), transparent 34%),
    var(--athfund-button-bg);
  box-shadow: 0 24px 60px color-mix(in srgb, var(--athfund-ink) 18%, transparent);
}

.ath-fundingPublic__hero > div > span,
.ath-fundingPublic__campaignHero > div > .ath-fundingPublic__badges,
.ath-fundingPublic__content > section > span,
.ath-fundingPublic__apply > span,
.ath-fundingPublic__benefactor span {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ath-fundingPublic__hero h1,
.ath-fundingPublic__campaignHero h1 {
  max-width: 820px;
  margin: 0;
  color: inherit;
  font-size: clamp(18px, 5vw, 32px);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.ath-fundingPublic__hero p,
.ath-fundingPublic__campaignHero > div > p {
  max-width: 760px;
  margin: 16px 0 0;
  color: color-mix(in srgb, var(--athfund-button-fg) 82%, transparent);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
}

.ath-fundingPublic__hero > aside {
  display: grid;
  gap: 7px;
  padding: 22px;
  border: 1px solid color-mix(in srgb, var(--athfund-button-fg) 24%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--athfund-button-fg) 10%, transparent);
  backdrop-filter: blur(12px);
}

.ath-fundingPublic__hero > aside strong {
  font-size: clamp(28px, 2vw, 44px);
  line-height: 1;
}

.ath-fundingPublic__hero > aside span {
  color: color-mix(in srgb, var(--athfund-button-fg) 74%, transparent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.ath-fundingPublic__filters {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  margin: 18px 0;
  padding: 7px;
  border: 1px solid var(--athfund-line);
  border-radius: calc(var(--athfund-radius) + 2px);
  background: var(--athfund-surface);
  scrollbar-width: thin;
}

.ath-fundingPublic__filters a {
  flex: 0 0 auto;
  padding: 9px 13px;
  border-radius: calc(var(--athfund-radius) - 3px);
  color: var(--athfund-muted);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.ath-fundingPublic__filters a:hover,
.ath-fundingPublic__filters a.is-active {
  color: var(--athfund-button-fg);
  background: var(--athfund-button-bg);
}

.ath-fundingPublic__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ath-fundingPublicCard {
  display: grid;
  min-width: 0;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--athfund-line);
  border-radius: var(--athfund-radius-lg);
  background: var(--athfund-surface);
  box-shadow: var(--athfund-shadow);
}

@media (min-width: 681px) {
  .ath-fundingPublicCard.has-media {
    grid-template-columns: minmax(0, 1fr) minmax(168px, 32%);
    grid-template-areas:
      "cardHeader cardMedia"
      "cardSummary cardMedia"
      "cardFacts cardSponsor"
      "cardFacts cardFooter";
    align-items: start;
  }

  .ath-fundingPublicCard.has-media > header {
    grid-area: cardHeader;
  }

  .ath-fundingPublicCard.has-media > p {
    grid-area: cardSummary;
  }

  .ath-fundingPublicCard.has-media dl {
    grid-area: cardFacts;
  }

  .ath-fundingPublicCard.has-media .ath-fundingPublicCard__media {
    grid-area: cardMedia;
  }

  .ath-fundingPublicCard.has-media .ath-fundingPublicCard__sponsor {
    grid-area: cardSponsor;
  }

  .ath-fundingPublicCard.has-media > footer {
    grid-area: cardFooter;
  }
}

.ath-fundingPublicCard__media,
.ath-fundingOpportunity__media,
.ath-fundingPublic__campaignMedia {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 142px;
  margin: 0;
  border: 1px solid var(--athfund-line);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--athfund-soft), var(--athfund-surface));
  text-decoration: none;
}

.ath-fundingPublicCard__media {
  min-height: 150px;
  align-self: stretch;
}

.ath-fundingOpportunity__media {
  margin-bottom: 10px;
}

.ath-fundingPublicCard__media > img,
.ath-fundingOpportunity__media > img,
.ath-fundingPublic__campaignMedia > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 142px;
  object-fit: cover;
}

.ath-fundingPublicCard__media > img {
  height: 100%;
  min-height: 150px;
}

.ath-fundingCampaignMedia__logo {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 5px;
  border: 1px solid color-mix(in srgb, var(--athfund-line) 70%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--athfund-surface) 92%, transparent);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--athfund-ink) 18%, transparent);
}

.ath-fundingCampaignMedia__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ath-fundingPublicCard > header,
.ath-fundingPublicCard > footer {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  justify-content: space-between;
}

.ath-fundingPublicCard > header span,
.ath-fundingPublicCard__sponsor span {
  display: block;
  color: var(--athfund-teal);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.ath-fundingPublicCard h2 {
  margin: 4px 0 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.2;
}

.ath-fundingPublicCard h2 a {
  color: var(--athfund-ink);
  text-decoration: none;
}

.ath-fundingPublicCard mark,
.ath-fundingPublic__badges mark {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--athfund-subtle);
  background: var(--athfund-panel);
  font-size: 9px;
  font-weight: 800;
}

.ath-fundingPublicCard mark.is-open,
.ath-fundingPublic__badges mark.is-open {
  color: var(--athfund-teal);
  background: var(--athfund-positive-bg);
}

.ath-fundingPublicCard > p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin: 0;
  color: var(--athfund-muted);
  font-size: 11px;
  line-height: 1;
}

.ath-fundingPublicCard dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
}

.ath-fundingPublicCard dl > div {
  min-width: 0;
  padding: 9px;
  border-radius: 9px;
  background: var(--athfund-soft);
}

.ath-fundingPublicCard dt,
.ath-fundingPublicCard dd {
  display: block;
  margin: 0;
}

.ath-fundingPublicCard dt {
  color: var(--athfund-muted);
  font-size: 9px;
  font-weight: 750;
  text-transform: uppercase;
}

.ath-fundingPublicCard dd {
  overflow: hidden;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 750;
  text-overflow: ellipsis;
}

.ath-fundingPublicCard__sponsor {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--athfund-gold);
  border-radius: 0 8px 8px 0;
  background: var(--athfund-warning-bg);
}

.ath-fundingPublicCard__sponsor img {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--athfund-surface);
}

.ath-fundingPublicCard__sponsor.is-available {
  border-color: var(--athfund-positive-line);
  background: var(--athfund-positive-bg);
}

.ath-fundingPublicCard__sponsor strong {
  display: block;
  margin-top: 3px;
  font-size: 12px;
}

.ath-fundingPublicCard > footer {
  display: grid;
  gap: 8px;
  align-items: end;
  margin-top: auto;
  padding-top: 0;
}

.ath-fundingPublicCard > footer > span {
  color: var(--athfund-muted);
  font-size: 10px;
}

.ath-fundingPublic__benefactor {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--athfund-warning-line);
  border-radius: calc(var(--athfund-radius-lg) + 2px);
  background: linear-gradient(135deg, var(--athfund-warning-bg), color-mix(in srgb, var(--athfund-gold) 8%, var(--athfund-soft)));
}

.ath-fundingPublic__benefactor h2 {
  margin: 0;
}

.ath-fundingPublic__benefactor p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--athfund-muted);
}

.ath-fundingPublic__empty {
  display: grid;
  gap: 8px;
  place-items: center;
  min-height: 220px;
  padding: 36px;
  border: 1px dashed var(--athfund-line);
  border-radius: 18px;
  color: var(--athfund-muted);
  text-align: center;
}

.ath-fundingPublic__crumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  overflow: hidden;
  margin-bottom: 14px;
  color: var(--athfund-muted);
  font-size: 11px;
  white-space: nowrap;
}

.ath-fundingPublic__crumbs a {
  color: var(--athfund-blue);
}

.ath-fundingPublic__crumbs strong {
  overflow: hidden;
  text-overflow: ellipsis;
}

.ath-fundingPublic__campaignHero {
  align-items: stretch;
}

.ath-fundingPublic__badges {
  display: flex !important;
  gap: 7px;
}

.ath-fundingPublic__campaignHero > aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--athfund-button-fg) 24%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--athfund-button-fg) 10%, transparent);
}

.ath-fundingPublic__campaignMedia {
  min-height: 170px;
  margin-bottom: 10px;
  border-color: color-mix(in srgb, var(--athfund-button-fg) 22%, transparent);
  background: color-mix(in srgb, var(--athfund-button-fg) 8%, transparent);
}

.ath-fundingPublic__campaignMedia > img {
  min-height: 170px;
}

.ath-fundingPublic__campaignHero > aside > span {
  margin-top: 8px;
  color: color-mix(in srgb, var(--athfund-button-fg) 65%, transparent);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ath-fundingPublic__campaignHero > aside > strong {
  color: inherit;
  font-size: 13px;
}

.ath-fundingPublic__schoolNote {
  color: color-mix(in srgb, var(--athfund-button-fg) 70%, transparent);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
}

.ath-fundingPublic__heroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.ath-fundingPublic__heroActions .ath-fundingButton:not(.ath-fundingButton--primary) {
  border-color: color-mix(in srgb, var(--athfund-button-fg) 34%, transparent);
  color: var(--athfund-button-fg);
  background: color-mix(in srgb, var(--athfund-button-fg) 8%, transparent);
}

.ath-fundingPublic__columns {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, .5fr);
  gap: 16px;
  align-items: start;
  margin-top: 16px;
}

.ath-fundingPublic__content {
  display: grid;
  gap: 12px;
}

.ath-fundingPublic__content > section,
.ath-fundingPublic__apply {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--athfund-line);
  border-radius: 16px;
  background: var(--athfund-surface);
  box-shadow: var(--athfund-shadow);
}

.ath-fundingPublic__content > section > span,
.ath-fundingPublic__apply > span {
  color: var(--athfund-teal);
}

.ath-fundingPublic__content h2,
.ath-fundingPublic__apply h2 {
  margin: 0;
  font-size: clamp(20px, 2.6vw, 28px);
}

.ath-fundingPublic__content p,
.ath-fundingPublic__apply > p {
  margin: 10px 0 0;
  color: var(--athfund-muted);
  line-height: 1.65;
}

.ath-fundingPublic__apply {
  position: sticky;
  top: 24px;
}

.ath-fundingPublic__apply .ath-fundingForm {
  margin-top: 14px;
}

.ath-fundingPublic__pathway {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.ath-fundingPublic__pathway a {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--athfund-line);
  border-radius: 10px;
  color: var(--athfund-ink);
  background: var(--athfund-soft);
  text-decoration: none;
}

.ath-fundingPublic__pathway a:hover {
  border-color: var(--athfund-teal);
}

.ath-fundingPublic__pathway span {
  color: var(--athfund-muted);
  font-size: 9px;
  font-weight: 750;
  text-transform: uppercase;
}

.ath-fundingPublic__applicationStatus {
  display: grid;
  gap: 5px;
  margin-top: 13px;
  padding: 14px;
  border: 1px solid var(--athfund-line);
  border-radius: 11px;
  background: var(--athfund-soft);
}

.ath-fundingPublic__applicationStatus.is-submitted,
.ath-fundingPublic__applicationStatus.is-pre_registered,
.ath-fundingPublic__applicationStatus.is-converted,
.ath-fundingPublic__applicationStatus.is-accepted {
  border-color: var(--athfund-positive-line);
  background: var(--athfund-positive-bg);
}

.ath-fundingPublic__applicationStatus span,
.ath-fundingPublic__privacy {
  color: var(--athfund-muted);
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 850px) {
  .ath-fundingPublic__hero,
  .ath-fundingPublic__campaignHero,
  .ath-fundingPublic__columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .ath-fundingPublic__apply {
    position: static;
  }
}

@media (max-width: 680px) {
  .ath-fundingPublic {
    width: min(100% - 20px, 1180px);
    margin-top: 16px;
  }

  .ath-fundingPublic__hero,
  .ath-fundingPublic__campaignHero {
    padding: 25px 20px;
    border-radius: 18px;
  }

  .ath-fundingPublic__grid,
  .ath-fundingPublicCard dl,
  .ath-fundingPublic__pathway {
    grid-template-columns: minmax(0, 1fr);
  }

  .ath-fundingPublic__benefactor,
  .ath-fundingPublicCard > footer {
    display: grid;
  }

  .ath-fundingPublicCard > header {
    display: grid;
  }

  .ath-fundingPublicCard mark {
    width: max-content;
  }

  .ath-fundingPublicCard .ath-fundingButton,
  .ath-fundingPublic__benefactor .ath-fundingButton,
  .ath-fundingPublic__heroActions .ath-fundingButton {
    width: 100%;
    justify-content: center;
  }
}

.ath-funding .ath-academy-shell__hero {
  color: var(--athfund-button-fg);
  background:
    radial-gradient(circle at 85% 12%, color-mix(in srgb, var(--athfund-surface) 22%, transparent), transparent 32%),
    var(--athfund-button-bg);
}

.ath-fundingMetrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.ath-fundingMetrics > div {
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid var(--athfund-line);
  border-radius: 12px;
  background: var(--athfund-surface);
  box-shadow: 0 5px 18px color-mix(in srgb, var(--athfund-ink) 6%, transparent);
}

.ath-fundingMetrics strong,
.ath-fundingMetrics span {
  display: block;
}

.ath-fundingMetrics strong {
  overflow: hidden;
  color: var(--athfund-ink);
  font-size: clamp(14px, 1.5vw, 20px);
  line-height: 1.1;
  text-overflow: ellipsis;
}

.ath-fundingMetrics span {
  margin-top: 5px;
  color: var(--athfund-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.ath-fundingApproval,
.ath-fundingCrowdfunding {
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid var(--athfund-line);
  border-radius: 14px;
  background: var(--athfund-surface);
  box-shadow: var(--athfund-shadow);
}

.ath-fundingApproval > header,
.ath-fundingCrowdfunding > header,
.ath-fundingCrowdfunding__receipt > header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.ath-fundingApproval > header,
.ath-fundingCrowdfunding > header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--athfund-line);
  background: linear-gradient(180deg, var(--athfund-surface), var(--athfund-soft));
}

.ath-fundingApproval span,
.ath-fundingCrowdfunding span,
.ath-fundingCrowdfunding__receipt header span {
  display: block;
}

.ath-fundingApproval header span,
.ath-fundingCrowdfunding header span,
.ath-fundingCrowdfunding__receipt header span {
  color: var(--athfund-teal);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ath-fundingApproval h3,
.ath-fundingCrowdfunding h3,
.ath-fundingCrowdfunding h4 {
  margin: 0;
  color: var(--athfund-ink);
  line-height: 1.25;
}

.ath-fundingApproval h3,
.ath-fundingCrowdfunding h3 {
  font-size: 15px;
}

.ath-fundingCrowdfunding h4 {
  font-size: 14px;
}

.ath-fundingApproval mark,
.ath-fundingCrowdfunding > header mark {
  padding: 5px 8px;
  border: 1px solid var(--athfund-line);
  border-radius: 999px;
  color: var(--athfund-navy);
  background: var(--athfund-surface);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.ath-fundingApproval > p {
  margin: 0;
  padding: 13px 16px 0;
  color: var(--athfund-muted);
  font-size: 12px;
  line-height: 1.45;
}

.ath-fundingApproval dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 12px 16px 16px;
}

.ath-fundingApproval dl > div,
.ath-fundingCrowdfunding__facts span,
.ath-fundingCrowdfunding__pending {
  padding: 9px;
  border-radius: 9px;
  background: var(--athfund-soft);
}

.ath-fundingApproval dt,
.ath-fundingApproval dd,
.ath-fundingCrowdfunding__facts small,
.ath-fundingCrowdfunding__facts strong,
.ath-fundingCrowdfunding__allocations strong,
.ath-fundingCrowdfunding__allocations b,
.ath-fundingCrowdfunding__allocations small {
  display: block;
}

.ath-fundingApproval dt,
.ath-fundingCrowdfunding__facts small {
  color: var(--athfund-muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.ath-fundingApproval dd {
  margin: 3px 0 0;
  color: var(--athfund-ink);
  font-size: 12px;
  font-weight: 800;
}

.ath-fundingCrowdfunding__grid {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.ath-fundingCrowdfunding__receipt {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--athfund-line);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--athfund-surface), var(--athfund-soft));
}

.ath-fundingCrowdfunding__receipt header p {
  margin: 4px 0 0;
  color: var(--athfund-muted);
  font-size: 11px;
  line-height: 1.35;
}

.ath-fundingCrowdfunding__receipt header strong {
  flex: 0 0 auto;
  color: var(--athfund-ink);
  font-size: 18px;
  line-height: 1.1;
}

.ath-fundingCrowdfunding__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
}

.ath-fundingCrowdfunding__facts strong {
  overflow: hidden;
  margin-top: 3px;
  color: var(--athfund-ink);
  font-size: 12px;
  text-overflow: ellipsis;
}

.ath-fundingCrowdfunding__allocations {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.ath-fundingCrowdfunding__allocations > strong {
  color: var(--athfund-ink);
  font-size: 11px;
}

.ath-fundingCrowdfunding__allocations > div {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 9px;
  border: 1px solid var(--athfund-line);
  border-radius: 9px;
  background: var(--athfund-surface);
}

.ath-fundingCrowdfunding__allocations b {
  color: var(--athfund-ink);
  font-size: 12px;
}

.ath-fundingCrowdfunding__allocations small,
.ath-fundingCrowdfunding__pending {
  color: var(--athfund-muted);
  font-size: 10px;
  line-height: 1.35;
}

.ath-fundingCrowdfunding__allocations mark {
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 999px;
  color: var(--athfund-navy);
  background: color-mix(in srgb, var(--athfund-blue) 13%, var(--athfund-surface));
  font-size: 10px;
  font-weight: 800;
}

.ath-fundingCrowdfunding__receipt .ath-fundingButton {
  margin-top: 10px;
}

.ath-fundingAdoption {
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid var(--athfund-positive-line);
  border-radius: 14px;
  background: var(--athfund-surface);
  box-shadow: var(--athfund-shadow);
}

.ath-fundingAdoption > header,
.ath-fundingAdoption article > header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.ath-fundingAdoption > header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--athfund-positive-line);
  background: linear-gradient(135deg, var(--athfund-positive-bg), var(--athfund-soft));
}

.ath-fundingAdoption > header span,
.ath-fundingAdoption article > header span {
  display: block;
  color: var(--athfund-teal);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ath-fundingAdoption h3,
.ath-fundingAdoption h4 {
  margin: 3px 0 0;
  color: var(--athfund-ink);
  line-height: 1.25;
}

.ath-fundingAdoption h3 { font-size: 15px; }
.ath-fundingAdoption h4 { font-size: 14px; }

.ath-fundingAdoption header p,
.ath-fundingAdoption article > p {
  margin: 4px 0 0;
  color: var(--athfund-muted);
  font-size: 12px;
  line-height: 1.45;
}

.ath-fundingAdoption header mark {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--athfund-teal);
  background: var(--athfund-positive-bg);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.ath-fundingAdoption__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
}

.ath-fundingAdoption article {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--athfund-line);
  border-radius: 11px;
  background: linear-gradient(180deg, var(--athfund-surface), var(--athfund-soft));
}

.ath-fundingAdoption__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.ath-fundingAdoption__facts > span {
  min-width: 0;
  padding: 8px;
  border-radius: 8px;
  background: var(--athfund-soft);
}

.ath-fundingAdoption__facts small,
.ath-fundingAdoption__facts strong,
.ath-fundingAdoption__resource strong,
.ath-fundingAdoption__resource span { display: block; }

.ath-fundingAdoption__facts small {
  color: var(--athfund-muted);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.ath-fundingAdoption__facts strong {
  overflow: hidden;
  margin-top: 3px;
  color: var(--athfund-ink);
  text-overflow: ellipsis;
}

.ath-fundingAdoption__resource {
  margin-top: 9px;
  padding: 9px;
  border-left: 3px solid var(--athfund-gold);
  border-radius: 6px;
  color: var(--athfund-muted);
  background: var(--athfund-warning-bg);
  font-size: 11px;
  line-height: 1.4;
}

.ath-fundingAdoption__resource strong { color: var(--athfund-ink); }
.ath-fundingAdoption__resource span { margin-top: 2px; }

.ath-fundingAdoption__action {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid var(--athfund-line);
}

.ath-fundingAdoption__action label {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  color: var(--athfund-muted);
  font-size: 10px;
  line-height: 1.35;
}

.ath-fundingAdoption__action input { margin-top: 1px; }

.ath-funding__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr);
  gap: 12px;
  align-items: start;
}

.ath-funding__main,
.ath-funding__aside {
  display: grid;
  min-width: 0;
  gap: 10px;
}

.ath-fundingPortfolio,
.ath-fundingBuilder {
  overflow: hidden;
  border: 1px solid var(--athfund-line);
  border-radius: 14px;
  background: var(--athfund-surface);
  box-shadow: var(--athfund-shadow);
}

.ath-fundingPortfolio > header,
.ath-fundingAgreement > header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.ath-fundingPortfolio > header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--athfund-line);
  background: linear-gradient(180deg, var(--athfund-surface), var(--athfund-soft));
}

.ath-fundingPortfolio > header span,
.ath-fundingAgreement > header span,
.ath-fundingBuilder > summary span {
  display: block;
  margin-bottom: 3px;
  color: var(--athfund-teal);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ath-fundingPortfolio h3,
.ath-fundingAgreement h4,
.ath-fundingBuilder > summary strong {
  margin: 0;
  color: var(--athfund-ink);
  font-size: 15px;
  line-height: 1.25;
}

.ath-fundingPortfolio > header > mark {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--athfund-navy);
  background: color-mix(in srgb, var(--athfund-blue) 13%, var(--athfund-surface));
  font-size: 10px;
  font-weight: 800;
}

.ath-fundingAgreement {
  margin: 10px;
  padding: 13px;
  border: 1px solid var(--athfund-line);
  border-radius: 12px;
  background: var(--athfund-surface);
}

.ath-fundingAgreement > header p {
  margin: 4px 0 0;
  color: var(--athfund-muted);
  font-size: 11px;
}

.ath-fundingAgreement__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
}

.ath-fundingAgreement__badges mark,
.ath-fundingLearners footer mark {
  padding: 4px 7px;
  border: 1px solid var(--athfund-line);
  border-radius: 999px;
  color: var(--athfund-muted);
  background: var(--athfund-soft);
  font-size: 9px;
  font-weight: 800;
}

.ath-fundingAgreement__badges mark.is-active,
.ath-fundingLearners footer mark.is-posted {
  border-color: var(--athfund-positive-line);
  color: var(--athfund-teal);
  background: var(--athfund-positive-bg);
}

.ath-fundingAgreement__badges mark.is-pending {
  border-color: var(--athfund-warning-line);
  color: var(--athfund-gold);
  background: var(--athfund-warning-bg);
}

.ath-fundingAgreement__money {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 12px;
}

.ath-fundingAgreement__money > div {
  min-width: 0;
  padding: 8px 9px;
  border-radius: 8px;
  background: var(--athfund-soft);
}

.ath-fundingAgreement__money span,
.ath-fundingAgreement__money strong {
  display: block;
}

.ath-fundingAgreement__money span {
  color: var(--athfund-muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ath-fundingAgreement__money strong {
  overflow: hidden;
  margin-top: 2px;
  color: var(--athfund-ink);
  font-size: 12px;
  text-overflow: ellipsis;
}

.ath-fundingAgreement__progress {
  overflow: hidden;
  height: 5px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--athfund-panel);
}

.ath-fundingAgreement__progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--athfund-blue), var(--athfund-teal));
}

.ath-fundingAgreement__rules {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.ath-fundingAgreement__rules span {
  padding: 4px 7px;
  border-radius: 6px;
  color: var(--athfund-muted);
  background: var(--athfund-soft);
  font-size: 12px;
  font-weight: 700;
}

.ath-fundingAgreement__note {
  margin: 9px 0 0;
  padding: 8px 10px;
  border-left: 3px solid var(--athfund-gold);
  color: var(--athfund-muted);
  background: var(--athfund-warning-bg);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.ath-fundingPayment {
  display: grid;
  gap: 8px;
  margin: 10px 0;
  padding: 10px;
  border: 1px solid var(--athfund-positive-line);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--athfund-positive-bg), var(--athfund-surface));
}

.ath-fundingPayment > header {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}

.ath-fundingPayment > header span,
.ath-fundingPayment__summary small {
  display: block;
  color: var(--athfund-teal);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.ath-fundingPayment > header strong {
  display: block;
  margin-top: 2px;
  color: var(--athfund-ink);
  font-size: 13px;
  line-height: 1.1;
}

.ath-fundingPayment > header mark {
  flex: 0 0 auto;
  padding: 6px 8px;
  border: 1px solid var(--athfund-positive-line);
  border-radius: 999px;
  color: var(--athfund-teal);
  background: var(--athfund-surface);
  font-size: 11px;
  font-weight: 850;
}

.ath-fundingPayment__summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.ath-fundingPayment__summary > span,
.ath-fundingPayment__history article {
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--athfund-line);
  border-radius: 9px;
  background: color-mix(in srgb, var(--athfund-surface) 82%, transparent);
}

.ath-fundingPayment__summary strong {
  display: block;
  margin-top: 3px;
  color: var(--athfund-ink);
  font-size: 13px;
  line-height: 1.05;
}

.ath-fundingPayment__form {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(160px, .85fr) auto;
  gap: 8px;
  align-items: end;
}

.ath-fundingPayment__form label {
  display: grid;
  gap: 4px;
  margin: 0;
  color: var(--athfund-muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.ath-fundingPayment__form input[type="number"] {
  min-height: 36px;
  width: 100%;
  border: 1px solid var(--athfund-line);
  border-radius: 9px;
  color: var(--athfund-ink);
  background: var(--athfund-surface);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
}

.ath-fundingPayment__invoice {
  display: flex !important;
  gap: 7px !important;
  align-items: center;
  min-height: 36px;
  padding: 8px;
  border: 1px solid var(--athfund-line);
  border-radius: 9px;
  background: var(--athfund-surface);
  text-transform: none !important;
}

.ath-fundingPayment__invoice span {
  color: var(--athfund-muted);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
}

.ath-fundingPayment__history {
  display: grid;
  gap: 6px;
}

.ath-fundingPayment__history > strong {
  color: var(--athfund-muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ath-fundingPayment__history article {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.ath-fundingPayment__history span,
.ath-fundingPayment__history small {
  display: block;
  color: var(--athfund-muted);
  font-size: 10px;
  line-height: 1.2;
}

.ath-fundingPayment__history b {
  display: block;
  color: var(--athfund-ink);
  font-size: 12px;
  line-height: 1.15;
}

.ath-fundingPayment__history a {
  flex: 0 0 auto;
  color: var(--athfund-blue);
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
}

.ath-fundingPayment__history a:hover {
  text-decoration: underline;
}

.ath-fundingAgreement__noAwards {
  margin-top: 9px;
  padding: 8px 10px;
  border: 1px dashed var(--athfund-line);
  border-radius: 8px;
  color: var(--athfund-muted);
  font-size: 10px;
  text-align: center;
}

.ath-fundingInternship {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid var(--athfund-positive-line);
  border-radius: 9px;
  background: linear-gradient(135deg, var(--athfund-positive-bg), var(--athfund-soft));
}

.ath-fundingInternship > strong {
  display: block;
  margin-bottom: 7px;
  color: var(--athfund-teal);
  font-size: 9px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.ath-fundingInternship > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.ath-fundingInternship span {
  min-width: 0;
  padding: 7px 8px;
  border-radius: 7px;
  background: color-mix(in srgb, var(--athfund-surface) 82%, transparent);
}

.ath-fundingInternship small,
.ath-fundingInternship b {
  display: block;
}

.ath-fundingInternship small {
  color: var(--athfund-muted);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.ath-fundingInternship b {
  overflow-wrap: anywhere;
  margin-top: 2px;
  color: var(--athfund-ink);
  font-size: 9px;
  line-height: 1.35;
}

.ath-fundingLearners {
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid var(--athfund-line);
}

.ath-fundingLearners > strong {
  display: block;
  margin-bottom: 7px;
  color: var(--athfund-ink);
  font-size: 10px;
}

.ath-fundingLearners__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.ath-fundingLearners article {
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--athfund-line);
  border-radius: 9px;
  background: var(--athfund-soft);
}

.ath-fundingLearners article header,
.ath-fundingLearners article footer {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.ath-fundingLearners article header strong,
.ath-fundingLearners article header span {
  display: block;
}

.ath-fundingLearners article header strong {
  color: var(--athfund-ink);
  font-size: 11px;
}

.ath-fundingLearners article header span,
.ath-fundingLearners__contact,
.ath-fundingLearners article footer span {
  color: var(--athfund-muted);
  font-size: 8px;
}

.ath-fundingLearners article header > mark {
  color: var(--athfund-teal);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}

.ath-fundingLearners__progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin: 7px 0;
}

.ath-fundingLearners__progress span {
  padding: 5px;
  border-radius: 6px;
  color: var(--athfund-muted);
  background: var(--athfund-panel);
  font-size: 7px;
}

.ath-fundingLearners__progress strong {
  display: block;
  color: var(--athfund-ink);
  font-size: 9px;
}

.ath-fundingLearners__contact {
  overflow-wrap: anywhere;
  margin: 0 0 7px;
}

.ath-fundingLearners__contact.is-private {
  font-style: italic;
}

.ath-fundingLearners__directory {
  display: grid;
  gap: 6px;
  margin-bottom: 7px;
}

.ath-fundingLearners__contact {
  padding: 6px 7px;
  border-radius: 6px;
  background: var(--athfund-panel);
}

.ath-fundingLearners__contact strong,
.ath-fundingLearners__contact span {
  display: block;
}

.ath-fundingLearners__contact strong {
  margin-bottom: 2px;
  color: var(--athfund-ink);
  font-size: 7px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ath-fundingLearners__career {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin: 0;
}

.ath-fundingLearners__career > div {
  min-width: 0;
  padding: 6px 7px;
  border-radius: 6px;
  background: var(--athfund-panel);
}

.ath-fundingLearners__career dt,
.ath-fundingLearners__career dd {
  overflow-wrap: anywhere;
  margin: 0;
}

.ath-fundingLearners__career dt {
  color: var(--athfund-muted);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ath-fundingLearners__career dd {
  margin-top: 2px;
  color: var(--athfund-ink);
  font-size: 8px;
  line-height: 1.35;
}

.ath-fundingLearners__resume {
  width: max-content;
  color: var(--athfund-blue);
  font-size: 8px;
  font-weight: 800;
}

.ath-fundingOps {
  margin-top: 10px;
  border: 1px solid var(--athfund-line);
  border-radius: 9px;
  background: var(--athfund-soft);
}

.ath-fundingOps > summary,
.ath-fundingBuilder > summary {
  cursor: pointer;
  list-style: none;
}

.ath-fundingOps > summary {
  padding: 9px 11px;
  color: var(--athfund-navy);
  font-size: 10px;
  font-weight: 800;
}

.ath-fundingOps > summary::-webkit-details-marker,
.ath-fundingBuilder > summary::-webkit-details-marker {
  display: none;
}

.ath-fundingOps__body {
  display: grid;
  gap: 8px;
  padding: 0 9px 9px;
}

.ath-fundingBuilder > summary {
  position: relative;
  padding: 12px 38px 12px 13px;
  background: linear-gradient(180deg, var(--athfund-surface), var(--athfund-soft));
}

.ath-fundingBuilder > summary::after {
  position: absolute;
  top: 50%;
  right: 14px;
  content: "+";
  color: var(--athfund-blue);
  font-size: 20px;
  transform: translateY(-50%);
}

.ath-fundingBuilder[open] > summary::after {
  content: "−";
}

.ath-fundingBuilder[open] > summary {
  border-bottom: 1px solid var(--athfund-line);
}

.ath-fundingForm {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 11px;
}

.ath-fundingBuilder__accordion {
  display: grid;
  gap: 8px;
}

.ath-fundingBuilder__section {
  overflow: hidden;
  border: 1px solid var(--athfund-line);
  border-radius: 10px;
  background: var(--athfund-surface);
}

.ath-fundingBuilder__section > summary {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  list-style: none;
  color: var(--athfund-ink);
  background: linear-gradient(180deg, var(--athfund-soft), var(--athfund-surface));
}

.ath-fundingBuilder__section > summary::-webkit-details-marker {
  display: none;
}

.ath-fundingBuilder__section > summary span,
.ath-fundingBuilder__section > summary small {
  display: block;
}

.ath-fundingBuilder__section > summary span {
  font-size: 11px;
  font-weight: 850;
}

.ath-fundingBuilder__section > summary small {
  color: var(--athfund-muted);
  font-size: 8px;
  font-weight: 700;
}

.ath-fundingBuilder__section > summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--athfund-blue);
  font-size: 16px;
  font-weight: 900;
}

.ath-fundingBuilder__section[open] > summary::after {
  content: "−";
}

.ath-fundingBuilder__section > .ath-fundingForm__grid,
.ath-fundingBuilder__section > .ath-fundingField,
.ath-fundingBuilder__section > .ath-fundingChecks,
.ath-fundingBuilder__section > .ath-fundingScope,
.ath-fundingBuilder__section > .ath-fundingQuestions {
  margin: 9px;
}

.ath-fundingForm--compact {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
  padding: 0;
}

.ath-fundingForm__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.ath-fundingField {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.ath-fundingField > span,
.ath-fundingScope legend {
  color: var(--athfund-muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.ath-fundingField input,
.ath-fundingField select,
.ath-fundingField textarea,
.ath-fundingField input[type="file"] {
  width: 100%;
  min-width: 0;
  min-height: 34px;
  margin: 0;
  padding: 7px 8px;
  border: 1px solid var(--athfund-line);
  border-radius: 7px;
  color: var(--athfund-ink);
  background: var(--athfund-surface);
  font: inherit;
  font-size: 10px;
  box-sizing: border-box;
}

.ath-fundingField textarea {
  min-height: 70px;
  line-height: 1.4;
  resize: vertical;
}

.ath-fundingField input:focus,
.ath-fundingField select:focus,
.ath-fundingField textarea:focus,
.ath-fundingField input[type="file"]:focus {
  border-color: var(--athfund-blue);
  outline: 2px solid var(--athfund-focus);
}

.ath-fundingField--wide {
  grid-column: 1 / -1;
}

.ath-fundingScope {
  min-width: 0;
  margin: 0;
  padding: 9px;
  border: 1px solid var(--athfund-line);
  border-radius: 9px;
  background: var(--athfund-soft);
}

.ath-fundingScope legend {
  padding: 0 4px;
}

.ath-fundingScope legend small {
  color: var(--athfund-subtle);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.ath-fundingScope--internship {
  border-color: var(--athfund-positive-line);
  background: linear-gradient(135deg, var(--athfund-positive-bg), var(--athfund-soft));
}

.ath-fundingScope__help {
  margin: 0 0 8px;
  color: var(--athfund-muted);
  font-size: 9px;
  line-height: 1.4;
}

.ath-fundingChecks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.ath-fundingCheck {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  padding: 8px;
  border: 1px solid var(--athfund-line);
  border-radius: 8px;
  background: var(--athfund-soft);
}

.ath-fundingCheck input {
  flex: 0 0 auto;
  margin: 2px 0 0;
}

.ath-fundingCheck span,
.ath-fundingCheck strong,
.ath-fundingCheck small {
  display: block;
}

.ath-fundingCheck strong {
  color: var(--athfund-ink);
  font-size: 9px;
}

.ath-fundingCheck small {
  margin-top: 2px;
  color: var(--athfund-muted);
  font-size: 8px;
  line-height: 1.35;
}

.ath-fundingEstimate {
  padding: 8px 9px;
  border-radius: 8px;
  color: var(--athfund-muted);
  background: color-mix(in srgb, var(--athfund-blue) 11%, var(--athfund-surface));
  font-size: 9px;
  line-height: 1.4;
}

.ath-fundingQuestions,
.ath-fundingPublic__questions {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--athfund-line);
  border-radius: 10px;
  background: var(--athfund-soft);
}

.ath-fundingQuestions > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ath-fundingQuestions > header span,
.ath-fundingPublic__questions > legend {
  color: var(--athfund-blue);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ath-fundingQuestions > header strong {
  color: var(--athfund-ink);
  font-size: 11px;
}

.ath-fundingQuestions > p {
  margin: 0;
  color: var(--athfund-muted);
  font-size: 9px;
  line-height: 1.35;
}

.ath-fundingQuestions__add,
.ath-fundingQuestions__remove {
  min-height: 28px;
  border: 1px solid var(--athfund-line);
  border-radius: 999px;
  color: var(--athfund-blue);
  background: var(--athfund-surface);
  font-size: 9px;
  font-weight: 850;
}

.ath-fundingQuestions__rows {
  display: grid;
  gap: 7px;
}

.ath-fundingQuestions__row {
  display: grid;
  grid-template-columns: minmax(170px, 1.5fr) minmax(120px, .75fr) minmax(160px, 1fr) auto auto;
  gap: 6px;
  align-items: end;
  padding: 7px;
  border: 1px solid var(--athfund-line);
  border-radius: 9px;
  background: var(--athfund-surface);
}

.ath-fundingQuestions__row label {
  display: grid;
  gap: 4px;
}

.ath-fundingQuestions__row label > span,
.ath-fundingQuestions__required span,
.ath-fundingField small {
  color: var(--athfund-muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.ath-fundingField small {
  display: block;
  margin-top: 3px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
}

.ath-fundingQuestions__row input[type="text"],
.ath-fundingQuestions__row select {
  min-height: 32px;
  border: 1px solid var(--athfund-line);
  border-radius: 7px;
  color: var(--athfund-ink);
  background: var(--athfund-surface);
  font-size: 10px;
}

.ath-fundingQuestions__required {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  padding-bottom: 7px;
}

.ath-fundingApplicants__responses {
  margin: 8px 0;
}

.ath-fundingButton {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border: 1px solid var(--athfund-line);
  border-radius: 7px;
  color: var(--athfund-blue);
  background: var(--athfund-surface);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
}

.ath-fundingButton:hover,
.ath-fundingButton:focus {
  border-color: var(--athfund-blue);
  color: var(--athfund-button-fg);
  background: var(--athfund-button-bg);
  outline: 2px solid var(--athfund-focus);
  outline-offset: 2px;
}

.ath-fundingButton--primary {
  border-color: var(--athfund-navy);
  color: var(--athfund-button-fg);
  background: var(--athfund-button-bg);
}

.ath-fundingNotice {
  margin-bottom: 9px;
  padding: 9px 11px;
  border: 1px solid var(--athfund-positive-line);
  border-radius: 8px;
  color: var(--athfund-teal);
  background: var(--athfund-positive-bg);
  font-size: 10px;
  font-weight: 700;
}

.ath-fundingNotice.is-error {
  border-color: color-mix(in srgb, #d94b4b 45%, var(--athfund-line));
  color: color-mix(in srgb, #d94b4b 72%, var(--athfund-ink));
  background: color-mix(in srgb, #d94b4b 11%, var(--athfund-surface));
}

.ath-funding__empty {
  display: grid;
  justify-items: start;
  gap: 5px;
  margin: 10px;
  padding: 16px;
  border: 1px dashed var(--athfund-line);
  border-radius: 10px;
  color: var(--athfund-muted);
  background: var(--athfund-soft);
  font-size: 10px;
}

.ath-funding__empty strong {
  color: var(--athfund-ink);
  font-size: 12px;
}

.ath-fundingStudent {
  overflow: hidden;
  border: 1px solid var(--athfund-line);
  border-radius: 13px;
  background: var(--athfund-surface);
}

.ath-fundingStudent__head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 13px 14px;
  color: var(--athfund-button-fg);
  background:
    radial-gradient(circle at 80% 0%, color-mix(in srgb, var(--athfund-gold) 24%, transparent), transparent 35%),
    var(--athfund-button-bg);
}

.ath-fundingStudent__head span,
.ath-fundingStudent__head h3,
.ath-fundingStudent__head p,
.ath-fundingStudent__head strong,
.ath-fundingStudent__head small {
  display: block;
  margin: 0;
  color: inherit;
}

.ath-fundingStudent__head span {
  opacity: .75;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ath-fundingStudent__head h3 {
  margin-top: 2px;
  font-size: 15px;
}

.ath-fundingStudent__head p {
  max-width: 520px;
  margin-top: 4px;
  opacity: .8;
  font-size: 9px;
  line-height: 1.4;
}

.ath-fundingStudent__head > strong {
  flex: 0 0 auto;
  font-size: 16px;
  text-align: right;
}

.ath-fundingStudent__head small {
  opacity: .7;
  font-size: 8px;
  font-weight: 600;
}

.ath-fundingStudent__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-bottom: 1px solid var(--athfund-line);
  background: var(--athfund-line);
}

.ath-fundingStudent__stats span {
  padding: 8px 10px;
  color: var(--athfund-muted);
  background: var(--athfund-soft);
  font-size: 8px;
}

.ath-fundingStudent__stats strong {
  display: block;
  color: var(--athfund-ink);
  font-size: 11px;
}

.ath-fundingStudent__awards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 10px;
}

.ath-fundingStudent__award {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--athfund-line);
  border-radius: 9px;
}

.ath-fundingStudent__award img,
.ath-fundingStudent__monogram {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: contain;
  background: var(--athfund-panel);
}

.ath-fundingStudent__monogram {
  display: grid;
  place-items: center;
  color: var(--athfund-blue);
  font-size: 14px;
  font-weight: 900;
}

.ath-fundingStudent__award div,
.ath-fundingStudent__award strong,
.ath-fundingStudent__award span,
.ath-fundingStudent__award small {
  display: block;
  min-width: 0;
}

.ath-fundingStudent__award strong {
  overflow: hidden;
  color: var(--athfund-ink);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ath-fundingStudent__award span,
.ath-fundingStudent__award small {
  margin-top: 2px;
  color: var(--athfund-muted);
  font-size: 8px;
  line-height: 1.3;
}

.ath-fundingStudent__award > mark {
  color: var(--athfund-teal);
  background: transparent;
  font-size: 11px;
  font-weight: 900;
}

.ath-fundingConsent {
  display: grid;
  gap: 10px;
  margin: 0 10px 10px;
  padding: 9px;
  border: 1px solid var(--athfund-line);
  border-radius: 9px;
  background: var(--athfund-soft);
}

.ath-fundingConsent__choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  flex: 1 1 auto;
}

.ath-fundingConsent__choices > label {
  display: flex;
  min-width: 0;
  gap: 7px;
  align-items: flex-start;
  padding: 7px;
  border: 1px solid var(--athfund-line);
  border-radius: 7px;
  background: var(--athfund-surface);
}

.ath-fundingConsent__agreement {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 9px;
  border: 1px solid var(--athfund-positive-line);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--athfund-positive-bg), var(--athfund-soft));
}

.ath-fundingConsent__fineprint {
  margin: 0;
  color: var(--athfund-muted);
  font-size: 8px;
  line-height: 1.4;
}

.ath-fundingConsent > label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.ath-fundingConsent input {
  margin-top: 2px;
}

.ath-fundingConsent span,
.ath-fundingConsent strong,
.ath-fundingConsent small {
  display: block;
}

.ath-fundingConsent strong {
  color: var(--athfund-ink);
  font-size: 9px;
}

.ath-fundingConsent small {
  margin-top: 2px;
  color: var(--athfund-muted);
  font-size: 8px;
  line-height: 1.35;
}

.ath-fundingConsent button {
  justify-self: end;
  min-height: 32px;
  padding: 6px 9px;
  border: 1px solid var(--athfund-navy);
  border-radius: 7px;
  color: var(--athfund-button-fg);
  background: var(--athfund-button-bg);
  font-size: 8px;
  font-weight: 800;
  cursor: pointer;
}

.ath-fundingOpportunities {
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid var(--athfund-line);
  border-radius: 14px;
  color: var(--athfund-ink);
  background: var(--athfund-surface);
  box-shadow: var(--athfund-shadow);
}

.ath-fundingOpportunities > header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 15px 16px;
  border-bottom: 1px solid var(--athfund-line);
  background: linear-gradient(135deg, var(--athfund-soft), var(--athfund-positive-bg));
}

.ath-fundingOpportunities > header span,
.ath-fundingOpportunity > header span,
.ath-fundingApplicants > header span {
  display: block;
  color: var(--athfund-teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.ath-fundingOpportunities h3,
.ath-fundingOpportunity h4 {
  margin: 3px 0 0;
  color: var(--athfund-ink);
}

.ath-fundingOpportunities h3 {
  font-size: 16px;
}

.ath-fundingOpportunities > header p,
.ath-fundingOpportunity > header p {
  margin: 4px 0 0;
  color: var(--athfund-muted);
  font-size: 10px;
  line-height: 1.4;
}

.ath-fundingOpportunities > header > mark,
.ath-fundingOpportunity > header > mark,
.ath-fundingApplicants > header > mark {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--athfund-navy);
  background: color-mix(in srgb, var(--athfund-blue) 13%, var(--athfund-surface));
  font-size: 14px;
  font-weight: 800;
}

.ath-fundingOpportunities__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
}

.ath-fundingOpportunity {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--athfund-line);
  border-radius: 11px;
  background: var(--athfund-surface);
}

.ath-fundingOpportunity > header {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}

.ath-fundingOpportunity h4 {
  font-size: 14px;
  line-height: 1.25;
}

.ath-fundingOpportunity__benefactor {
  display: flex;
  gap: 8px;
  align-items: center;
}

.ath-fundingOpportunity__benefactorLogo {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  width: 40px;
  height: 40px;
  max-width: 40px;
  max-height: 40px;
  padding: 3px;
  border: 1px solid color-mix(in srgb, var(--athfund-gold) 35%, var(--athfund-line));
  border-radius: 10px;
  background: color-mix(in srgb, var(--athfund-surface) 95%, transparent);
}

.ath-fundingOpportunity__benefactorLogo img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
}

.ath-fundingOpportunity__benefactorLogo b {
  color: var(--athfund-blue);
  font-size: 24px;
  line-height: 1;
}

.ath-fundingOpportunity__benefactorCopy {
  min-width: 0;
}

.ath-fundingOpportunity__benefactorCopy span,
.ath-fundingOpportunity__benefactorMetric span {
  display: block;
  color: var(--athfund-blue);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ath-fundingOpportunity__benefactorCopy strong,
.ath-fundingOpportunity__benefactorCopy a,
.ath-fundingOpportunity__benefactorMetric strong {
  color: var(--athfund-ink);
  text-decoration: none;
}

.ath-fundingOpportunity__benefactorCopy strong {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.12;
}

.ath-fundingOpportunity__benefactorCopy small {
  display: block;
  margin-top: 2px;
  color: var(--athfund-muted);
  font-size: 10px;
  font-weight: 750;
}

.ath-fundingOpportunity__benefactorMetric {
  display: grid;
  flex: 0 0 auto;
  gap: 2px;
  min-width: 92px;
  margin-left: auto;
  padding: 6px 8px;
  border: 1px solid color-mix(in srgb, var(--athfund-gold) 36%, var(--athfund-line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--athfund-surface) 88%, transparent);
}

.ath-fundingOpportunity__benefactorMetric strong {
  display: block;
  font-size: 13px;
  line-height: 1.1;
}

.ath-fundingOpportunity__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.ath-fundingOpportunity__facts small,
.ath-fundingOpportunity__facts strong {
  display: block;
}

.ath-fundingOpportunity__facts small {
  color: var(--athfund-muted);
  font-size: 7px;
  font-weight: 800;
  text-transform: uppercase;
}

.ath-fundingOpportunity__facts strong {
  overflow: hidden;
  margin-top: 2px;
  color: var(--athfund-ink);
  font-size: 10px;
  text-overflow: ellipsis;
}

.ath-fundingOpportunity__apply {
  margin-top: 10px;
  border: 1px solid var(--athfund-line);
  border-radius: 9px;
  background: var(--athfund-soft);
}

.ath-fundingOpportunity__apply > summary {
  padding: 9px 10px;
  color: var(--athfund-blue);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.ath-fundingOpportunity__status {
  margin-top: 10px;
  padding: 9px;
  border: 1px solid var(--athfund-line);
  border-radius: 8px;
  color: var(--athfund-muted);
  background: var(--athfund-soft);
  font-size: 12px;
}

.ath-fundingOpportunity__status strong,
.ath-fundingOpportunity__status span {
  display: block;
}

.ath-fundingOpportunity__status strong {
  color: var(--athfund-ink);
  font-size: 10px;
}

.ath-fundingOpportunity__status.is-accepted {
  border-color: var(--athfund-positive-line);
  background: var(--athfund-positive-bg);
}

.ath-fundingOpportunity__status p {
  margin: 5px 0 0;
}

.ath-fundingOpportunity > footer {
  margin-top: 9px;
  color: var(--athfund-muted);
  font-size: 8px;
  line-height: 1.35;
}

.ath-fundingApplicants,
.ath-fundingApplicants__empty {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--athfund-line);
}

.ath-fundingApplicants__empty {
  color: var(--athfund-muted);
  font-size: 9px;
  text-align: center;
}

.ath-fundingApplicants > header {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.ath-fundingApplicants > header strong {
  display: block;
  margin-top: 2px;
  color: var(--athfund-ink);
  font-size: 11px;
}

.ath-fundingApplicants__grid {
  display: grid;
  gap: 7px;
  margin-top: 7px;
}

.ath-fundingApplicants__grid > article,
.ath-fundingApplicants__card {
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--athfund-line);
  border-radius: 9px;
  background: var(--athfund-soft);
}

.ath-fundingApplicants__card {
  padding: 0;
  overflow: hidden;
}

.ath-fundingApplicants__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: flex-start;
  padding: 10px;
  cursor: pointer;
  list-style: none;
}

.ath-fundingApplicants__summary::-webkit-details-marker {
  display: none;
}

.ath-fundingApplicants__summaryMain,
.ath-fundingApplicants__summaryTop,
.ath-fundingApplicants__summarySide,
.ath-fundingApplicants__excerpt,
.ath-fundingApplicants__toggle {
  min-width: 0;
  display: block;
}

.ath-fundingApplicants__summaryTop {
  display: flex;
  gap: 8px;
  align-items: baseline;
  justify-content: space-between;
}

.ath-fundingApplicants__summaryTop strong {
  overflow: hidden;
  color: var(--athfund-ink);
  font-size: 15px;
  line-height: 1.15;
  text-overflow: ellipsis;
}

.ath-fundingApplicants__summaryTop em {
  flex: 0 0 auto;
  color: var(--athfund-muted);
  font-size: 9px;
  font-style: normal;
}

.ath-fundingApplicants__excerpt {
  margin-top: 5px;
  color: var(--athfund-muted);
  font-size: 11px;
  line-height: 1.35;
}

.ath-fundingApplicants__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

.ath-fundingApplicants__chips span {
  min-width: 0;
  max-width: 100%;
  padding: 4px 6px;
  border: 1px solid var(--athfund-line);
  border-radius: 999px;
  background: var(--athfund-panel);
}

.ath-fundingApplicants__chips small,
.ath-fundingApplicants__chips b {
  display: inline;
  font-size: 8px;
  line-height: 1.2;
}

.ath-fundingApplicants__chips small {
  color: var(--athfund-muted);
  font-weight: 800;
  text-transform: uppercase;
}

.ath-fundingApplicants__chips b {
  margin-left: 4px;
  color: var(--athfund-ink);
}

.ath-fundingApplicants__summarySide {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.ath-fundingApplicants__grid article > header {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  justify-content: space-between;
}

.ath-fundingApplicants__grid article > header strong,
.ath-fundingApplicants__grid article > header span {
  display: block;
}

.ath-fundingApplicants__grid article > header strong {
  color: var(--athfund-ink);
  font-size: 17px;
}

.ath-fundingApplicants__grid article > header span {
  color: var(--athfund-muted);
  font-size: 10px;
}

.ath-fundingApplicants__grid article > header mark,
.ath-fundingApplicants__summarySide mark {
  padding: 4px 6px;
  border-radius: 999px;
  color: var(--athfund-muted);
  background: var(--athfund-panel);
  font-size: 7px;
  font-weight: 800;
}

.ath-fundingApplicants__toggle {
  padding: 4px 7px;
  border: 1px solid var(--athfund-line);
  border-radius: 999px;
  color: var(--athfund-navy);
  background: var(--athfund-surface);
  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.ath-fundingApplicants__toggle::before {
  content: "View details";
}

.ath-fundingApplicants__card[open] .ath-fundingApplicants__toggle::before {
  content: "Hide details";
}

.ath-fundingApplicants__body {
  padding: 0 10px 10px;
  border-top: 1px solid var(--athfund-line);
}

.ath-fundingApplicants__grid blockquote {
  margin: 7px 0;
  padding: 7px;
  border-left: 3px solid var(--athfund-teal);
  color: var(--athfund-muted);
  background: var(--athfund-positive-bg);
  font-size: 12px;
  line-height: 1.45;
}

.ath-fundingApplicants__availability,
.ath-fundingApplicants__note {
  margin: 6px 0;
  color: var(--athfund-muted);
  font-size: 12px;
}

.ath-fundingApplicants__grid dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin: 7px 0;
}

.ath-fundingApplicants__grid dl > div {
  min-width: 0;
  padding: 5px 6px;
  border-radius: 6px;
  background: var(--athfund-panel);
}

.ath-fundingApplicants__grid dt,
.ath-fundingApplicants__grid dd {
  overflow-wrap: anywhere;
  margin: 0;
}

.ath-fundingApplicants__grid dt {
  color: var(--athfund-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.ath-fundingApplicants__grid dd {
  margin-top: 2px;
  color: var(--athfund-ink);
  font-size: 12px;
}

.ath-fundingApplicants__resume {
  color: var(--athfund-blue);
  font-size: 8px;
  font-weight: 800;
}

.ath-fundingApplicants__review {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--athfund-line);
}

.ath-fundingApplicants__review .ath-fundingForm {
  padding: 0;
}

.ath-fundingApplicants__foot {
  margin: 7px 0 0;
  color: var(--athfund-muted);
  font-size: 10px;
  line-height: 1.4;
}

.ath-fundingSponsorStrip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 14px;
  align-items: center;
  margin-top: 20px;
  padding: 13px 15px;
  border: 1px solid var(--athfund-line);
  border-radius: 13px;
  background: linear-gradient(135deg, var(--athfund-soft), var(--athfund-positive-bg));
}

.ath-fundingSponsorStrip__label {
  grid-row: 1 / span 2;
  color: var(--athfund-muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ath-fundingSponsorStrip > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ath-fundingSponsorStrip a,
.ath-fundingSponsorStrip > div > span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--athfund-ink);
  font-size: 11px;
  text-decoration: none;
}

.ath-fundingSponsorStrip img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: contain;
  background: var(--athfund-surface);
}

.ath-fundingSponsorStrip p {
  margin: 0;
  color: var(--athfund-muted);
  font-size: 9px;
}

.ath-fundingStudent--compactLight,
.ath-fundingOpportunities--compactLight,
.ath-fundingSponsorStrip--compactLight {
  --athfund-ink: color-mix(in srgb, #05070c 94%, var(--ctl-c4, #2f2415));
  --athfund-muted: color-mix(in srgb, #425066 84%, var(--ctl-c4, #2f2415));
  --athfund-subtle: color-mix(in srgb, #6a778b 86%, var(--ctl-c4, #2f2415));
  --athfund-line: color-mix(in srgb, var(--ctl-c1, #0f6c7f) 18%, #dbe3ee);
  --athfund-surface: color-mix(in srgb, #ffffff 97%, var(--ctl-c6, #f6f1e7));
  --athfund-soft: color-mix(in srgb, #ffffff 86%, var(--ctl-c6, #f6f1e7));
  --athfund-panel: color-mix(in srgb, #eef3f8 88%, var(--ctl-c6, #f6f1e7));
  --athfund-blue: var(--ctl-c1, #0f6c7f);
  --athfund-teal: var(--ctl-c2, #1e8f87);
  --athfund-gold: var(--ctl-c3, #c39a5a);
  --athfund-shadow: 0 8px 22px color-mix(in srgb, var(--ctl-c4, #2f2415) 10%, transparent);
  box-sizing: border-box;
  margin-inline: calc(50% - min(45vw, 800px));
  max-width: min(1600px, calc(100vw - 24px));
  width: min(90vw, 1600px);
}

.ath-academy-shell .ath-fundingStudent--compactLight {
  margin-inline: 0;
  max-width: 100%;
  width: 100%;
}

.ath-academy-shell .ath-fundingOpportunities--compactLight,
.ath-academy-shell .ath-fundingSponsorStrip--compactLight {
  margin-inline: 0;
  max-width: 100%;
  width: 100%;
}

.ath-fundingStudent--compactLight {
  border-color: var(--athfund-line);
  border-radius: calc(var(--athfund-radius) + 1px);
  color: var(--athfund-ink);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--athfund-soft) 82%, transparent), var(--athfund-surface));
  box-shadow: var(--athfund-shadow);
}

.ath-fundingStudent--compactLight .ath-fundingStudent__head {
  align-items: center;
  padding: 9px 11px;
  border-bottom: 1px solid var(--athfund-line);
  color: var(--athfund-ink);
  background: linear-gradient(135deg, var(--athfund-soft), color-mix(in srgb, var(--athfund-teal) 9%, var(--athfund-surface)));
}

.ath-fundingStudent--compactLight .ath-fundingStudent__head span {
  color: var(--athfund-teal);
  opacity: 1;
  font-size: 10px;
}

.ath-fundingStudent--compactLight .ath-fundingStudent__head h3 {
  color: var(--athfund-ink);
  font-size: 18px;
  line-height: 1.05;
}

.ath-fundingStudent--compactLight .ath-fundingStudent__head p {
  max-width: 720px;
  color: var(--athfund-muted);
  opacity: 1;
  font-size: 12px;
  line-height: 1.35;
}

.ath-fundingStudent--compactLight .ath-fundingStudent__head > strong {
  padding: 5px 8px;
  border: 1px solid color-mix(in srgb, var(--athfund-gold) 34%, var(--athfund-line));
  border-radius: 999px;
  color: var(--athfund-navy);
  background: color-mix(in srgb, var(--athfund-gold) 14%, var(--athfund-surface));
  font-size: 14px;
  line-height: 1;
}

.ath-fundingStudent--compactLight .ath-fundingStudent__head small {
  margin-top: 2px;
  color: var(--athfund-muted);
  opacity: 1;
  font-size: 9px;
}

.ath-fundingStudent--compactLight .ath-fundingStudent__stats {
  gap: 4px;
  padding: 8px;
  border-bottom: 0;
  background: transparent;
}

.ath-fundingStudent--compactLight .ath-fundingStudent__stats span {
  padding: 7px 8px;
  border: 1px solid color-mix(in srgb, var(--athfund-line) 72%, transparent);
  border-radius: 8px;
  background: var(--athfund-soft);
  font-size: 10px;
  line-height: 1.2;
}

.ath-fundingStudent--compactLight .ath-fundingStudent__stats strong {
  font-size: 13px;
  line-height: 1.05;
}

.ath-fundingStudent--compactLight .ath-fundingStudent__awards {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 8px;
  padding: 0 8px 8px;
}

.ath-fundingStudent--compactLight .ath-fundingStudent__award {
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 8px;
  padding: 8px;
  border-color: color-mix(in srgb, var(--athfund-line) 86%, transparent);
  border-left: 3px solid var(--athfund-gold);
  border-radius: calc(var(--athfund-radius) - 3px);
  background: var(--athfund-surface);
}

.ath-fundingStudent--compactLight .ath-fundingStudent__award img,
.ath-fundingStudent--compactLight .ath-fundingStudent__monogram {
  width: 40px;
  height: 40px;
  border: 1px solid color-mix(in srgb, var(--athfund-gold) 28%, var(--athfund-line));
  border-radius: 10px;
  background: var(--athfund-soft);
}

.ath-fundingStudent--compactLight .ath-fundingStudent__award strong {
  font-size: 13px;
  line-height: 1.1;
}

.ath-fundingStudent--compactLight .ath-fundingStudent__award span,
.ath-fundingStudent--compactLight .ath-fundingStudent__award small {
  font-size: 11px;
  line-height: 1.25;
}

.ath-fundingStudent--compactLight .ath-fundingStudent__award > mark {
  padding: 4px 7px;
  border: 1px solid color-mix(in srgb, var(--athfund-teal) 32%, var(--athfund-line));
  border-radius: 999px;
  color: var(--athfund-teal);
  background: color-mix(in srgb, var(--athfund-teal) 9%, var(--athfund-surface));
  font-size: 12px;
  line-height: 1;
}

.ath-fundingStudent--compactLight .ath-funding__empty {
  /* The base empty-state component declares its own standalone tokens. Within
   * a compact-light student card, inherit the card's theme values instead so
   * an empty awards state does not fall back to the dark portal palette. */
  --athfund-ink: inherit;
  --athfund-muted: inherit;
  --athfund-subtle: inherit;
  --athfund-line: inherit;
  --athfund-surface: inherit;
  --athfund-soft: inherit;
  --athfund-panel: inherit;
  --athfund-navy: inherit;
  --athfund-blue: inherit;
  --athfund-teal: inherit;
  --athfund-gold: inherit;
  --athfund-button-bg: inherit;
  --athfund-button-fg: inherit;
  --athfund-focus: inherit;
  margin: 8px;
  border-radius: calc(var(--athfund-radius) - 3px);
  color: var(--athfund-muted);
  background: var(--athfund-soft);
  font-size: 12px;
}

.ath-fundingStudent--compactLight .ath-funding__empty strong {
  color: var(--athfund-ink);
  font-size: 14px;
}

.ath-fundingStudent--compactLight .ath-fundingConsent {
  margin: 0 8px 8px;
  border-radius: calc(var(--athfund-radius) - 3px);
}

.ath-fundingStudent--compactLight + .ath-fundingOpportunities--compactLight {
  margin-top: 8px;
}

.ath-fundingOpportunities--compactLight {
  margin-block: 16px 0;
  border-color: var(--athfund-line);
  border-radius: calc(var(--athfund-radius) + 1px);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--athfund-soft) 82%, transparent), var(--athfund-surface));
  box-shadow: var(--athfund-shadow);
}

.ath-fundingOpportunities--compactLight > header {
  align-items: center;
  padding: 9px 11px;
  background: linear-gradient(135deg, var(--athfund-soft), color-mix(in srgb, var(--athfund-teal) 9%, var(--athfund-surface)));
}

.ath-fundingOpportunities--compactLight > header span {
  margin-bottom: 2px;
  font-size: 10px;
}

.ath-fundingOpportunities--compactLight h3 {
  font-size: 18px;
  line-height: 1.05;
}

.ath-fundingOpportunities--compactLight > header p {
  max-width: 720px;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.35;
}

.ath-fundingOpportunities--compactLight > header > mark {
  padding: 4px 7px;
  font-size: 12px;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunities__grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 8px;
  padding: 8px;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity {
  display: grid;
  padding: 8px;
  border-color: color-mix(in srgb, var(--athfund-line) 86%, transparent);
  border-radius: calc(var(--athfund-radius) - 2px);
  background: var(--athfund-surface);
  box-shadow: none;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media {
  grid-template-columns: minmax(0, 1fr) clamp(92px, 24vw, 150px);
  grid-template-areas:
    "oppHead oppMedia"
    "oppBenefactor oppMedia"
    "oppFacts oppFacts"
    "oppMessage oppMessage"
    "oppAction oppAction"
    "oppStatus oppStatus"
    "oppFooter oppFooter";
  align-items: start;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media > header {
  grid-area: oppHead;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media .ath-fundingOpportunity__benefactor {
  grid-area: oppBenefactor;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media .ath-fundingOpportunity__media {
  grid-area: oppMedia;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media .ath-fundingOpportunity__facts {
  grid-area: oppFacts;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media .ath-fundingOpportunity__message {
  grid-area: oppMessage;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media .ath-fundingOpportunity__actions {
  grid-area: oppAction;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media .ath-fundingOpportunity__status,
.ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media .ath-fundingOpportunity__apply,
.ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media .ath-fundingOpportunity__access {
  grid-area: oppStatus;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media > footer {
  grid-area: oppFooter;
}

@media (min-width: 760px) {
  .ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media {
    grid-template-columns: minmax(0, 1fr) clamp(112px, 8vw, 148px);
  }
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__media {
  aspect-ratio: 1.08 / 1;
  min-height: 0;
  max-height: 132px;
  border-color: color-mix(in srgb, var(--athfund-gold) 34%, var(--athfund-line));
  border-radius: calc(var(--athfund-radius) - 3px);
  box-shadow: 0 6px 14px color-mix(in srgb, var(--ctl-c4, #2f2415) 12%, transparent);
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__media > img {
  height: 100%;
  min-height: 0;
}

.ath-fundingOpportunities--compactLight .ath-fundingCampaignMedia__logo {
  right: 7px;
  bottom: 7px;
  width: 34px;
  height: 34px;
  padding: 4px;
  border-color: color-mix(in srgb, var(--athfund-gold) 38%, var(--athfund-line));
  border-radius: 10px;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--ctl-c4, #2f2415) 20%, transparent);
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity > header {
  gap: 7px;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity > header span {
  font-size: 10px;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity h4 {
  margin-top: 2px;
  font-size: 16px;
  line-height: 1.12;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity > header p {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.3;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity > header > mark {
  padding: 4px 6px;
  font-size: 10px;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__benefactorLogo {
  width: 34px;
  height: 34px;
  max-width: 34px;
  max-height: 34px;
  padding: 3px;
  border-radius: 9px;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__benefactorCopy span,
.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__benefactorMetric span {
  font-size: 8px;
  line-height: 1;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__benefactorCopy strong {
  font-size: 13px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__benefactorCopy small {
  font-size: 10px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__benefactorMetric {
  min-width: 76px;
  padding: 4px 6px;
  border-radius: 7px;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__benefactorMetric strong {
  font-size: 12px;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin-top: 0;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__facts small {
  font-size: 9px;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__facts strong {
  margin-top: 1px;
  font-size: 9px;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__message,
.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__access {
  display: block;
  overflow: visible;
  margin-top: 0;
  padding: 6px 8px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.35;
}

.ath-fundingOpportunities--compactLight .ath-fundingInternship {
  margin-top: 0;
  padding: 7px;
  border-radius: 8px;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__details {
  justify-self: start;
  margin: 0;
  padding: 6px 9px;
  border: 1px solid color-mix(in srgb, var(--athfund-blue) 30%, var(--athfund-line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--athfund-blue) 8%, var(--athfund-surface));
  font-size: 11px;
  line-height: 1;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__actions .ath-fundingButton {
  min-height: 28px;
  padding: 6px 9px;
  font-size: 11px;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__apply,
.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__status {
  margin-top: 0;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity > footer {
  display: none;
}

.ath-fundingSponsorStrip--compactLight {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  margin-top: 12px;
  padding: 8px 10px;
  border-color: var(--athfund-line);
  border-radius: calc(var(--athfund-radius) - 1px);
  color: var(--athfund-ink);
  background: linear-gradient(135deg, var(--athfund-soft), color-mix(in srgb, var(--athfund-teal) 8%, var(--athfund-surface)));
  box-shadow: var(--athfund-shadow);
}

.ath-fundingSponsorStrip--compactLight .ath-fundingSponsorStrip__label {
  font-size: 10px;
}

.ath-fundingSponsorStrip--compactLight > div {
  gap: 6px;
}

.ath-fundingSponsorStrip--compactLight a,
.ath-fundingSponsorStrip--compactLight > div > span {
  padding: 3px 6px;
  border: 1px solid color-mix(in srgb, var(--athfund-line) 70%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--athfund-surface) 84%, transparent);
  font-size: 12px;
  font-weight: 800;
}

.ath-fundingSponsorStrip--compactLight img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.ath-fundingSponsorStrip--compactLight p {
  grid-column: 2;
  font-size: 10px;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .ath-fundingMetrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ath-funding__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .ath-funding__aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ath-fundingOpportunities--compactLight,
  .ath-fundingSponsorStrip--compactLight {
    margin-inline: auto;
    max-width: 100%;
    width: 100%;
  }

  .ath-fundingOpportunities--compactLight {
    margin-block: 8px 0;
  }

  .ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media {
    grid-template-columns: minmax(0, 1fr) 92px;
    grid-template-areas:
      "oppHead oppMedia"
      "oppBenefactor oppBenefactor"
      "oppFacts oppFacts"
      "oppMessage oppMessage"
      "oppAction oppAction"
      "oppStatus oppStatus"
      "oppFooter oppFooter";
  }

  .ath-fundingOpportunities--compactLight .ath-fundingOpportunity__benefactor {
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 6px;
  }

  .ath-fundingOpportunities--compactLight .ath-fundingOpportunity__benefactorLogo {
    width: 30px;
    height: 30px;
    max-width: 30px;
    max-height: 30px;
  }

  .ath-fundingOpportunities--compactLight .ath-fundingOpportunity__benefactorMetric {
    display: none;
  }

  .ath-fundingOpportunities--compactLight .ath-fundingOpportunity__media {
    max-height: 90px;
  }

  .ath-fundingOpportunities--compactLight .ath-fundingOpportunity__message,
  .ath-fundingOpportunities--compactLight .ath-fundingOpportunity__access {
    font-size: 10px;
    line-height: 1.1;
  }

  .ath-fundingMetrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ath-fundingMetrics > div:last-child {
    grid-column: 1 / -1;
  }

  .ath-funding__aside,
  .ath-fundingForm__grid,
  .ath-fundingChecks,
  .ath-fundingQuestions__row,
  .ath-fundingPayment__form,
  .ath-fundingPayment__summary,
  .ath-fundingLearners__grid,
  .ath-fundingInternship > div,
  .ath-fundingLearners__career,
  .ath-fundingConsent__choices,
  .ath-fundingOpportunities__grid,
  .ath-fundingApplicants__grid,
  .ath-fundingApplicants__grid dl,
  .ath-fundingStudent__awards,
  .ath-fundingAdoption__grid,
  .ath-fundingApproval dl,
  .ath-fundingCrowdfunding__facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .ath-fundingAgreement > header,
  .ath-fundingPortfolio > header,
  .ath-fundingApproval > header,
  .ath-fundingCrowdfunding > header,
  .ath-fundingCrowdfunding__receipt > header {
    display: grid;
  }

  .ath-fundingPayment > header,
  .ath-fundingPayment__history article {
    display: grid;
  }

  .ath-fundingAdoption > header,
  .ath-fundingAdoption article > header,
  .ath-fundingAdoption__action {
    display: grid;
  }

  .ath-fundingAgreement__badges {
    justify-content: flex-start;
  }

  .ath-fundingAgreement__money {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ath-fundingForm--compact {
    grid-template-columns: minmax(0, 1fr);
  }

  .ath-fundingStudent__head {
    display: grid;
  }

  .ath-fundingStudent__head > strong {
    text-align: left;
  }

  .ath-fundingApplicants__summary,
  .ath-fundingApplicants__summaryTop {
    display: grid;
  }

  .ath-fundingApplicants__summarySide {
    justify-items: start;
  }

  .ath-fundingStudent__award {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .ath-fundingStudent__award > mark {
    grid-column: 2;
  }

  .ath-fundingConsent {
    display: grid;
  }

  .ath-fundingConsent button,
  .ath-fundingButton {
    width: 100%;
    min-height: 40px;
  }

  .ath-fundingSponsorStrip__label {
    grid-row: auto;
  }
}

@media (max-width: 380px) {
  .ath-fundingMetrics,
  .ath-fundingAgreement__money,
  .ath-fundingStudent__stats,
  .ath-fundingLearners__progress,
  .ath-fundingOpportunity__facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .ath-fundingAdoption__facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .ath-fundingMetrics > div:last-child {
    grid-column: auto;
  }
}

/* Student dashboard opportunity rows: preserve the existing opportunity
 * content and actions while presenting each item as a compact list row. */
.ath-fundingOpportunities--compactLight {
  margin-block: 12px 0;
  border-radius: 12px;
  box-shadow: var(--athfund-shadow);
}

.ath-fundingOpportunities--compactLight > header {
  gap: 10px;
  padding: 8px 10px;
}

.ath-fundingOpportunities--compactLight > header span {
  font-size: 9px;
}

.ath-fundingOpportunities--compactLight h3 {
  font-size: 16px;
  line-height: 1.08;
}

.ath-fundingOpportunities--compactLight > header p {
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.25;
}

.ath-fundingOpportunities--compactLight > header > mark {
  padding: 4px 7px;
  font-size: 11px;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunities__grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 5px;
  padding: 5px;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity {
  grid-template-columns: clamp(64px, 7vw, 88px) minmax(220px, 1.2fr) minmax(260px, 1fr) minmax(132px, .48fr);
  grid-template-areas:
    "oppMedia oppHead oppBenefactor oppActions"
    "oppMedia oppFacts oppFacts oppStatus"
    "oppMedia oppMessage oppMessage oppStatus"
    "oppMedia oppInternship oppInternship oppInternship"
    "oppMedia oppFooter oppFooter oppFooter";
  gap: 5px 8px;
  min-height: 0;
  padding: 7px;
  border-radius: 9px;
  background: var(--athfund-surface);
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity:not(.has-media) {
  grid-template-columns: minmax(220px, 1.2fr) minmax(260px, 1fr) minmax(132px, .48fr);
  grid-template-areas:
    "oppHead oppBenefactor oppActions"
    "oppFacts oppFacts oppStatus"
    "oppMessage oppMessage oppStatus"
    "oppInternship oppInternship oppInternship"
    "oppFooter oppFooter oppFooter";
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media > header,
.ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media .ath-fundingOpportunity__benefactor,
.ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media .ath-fundingOpportunity__media,
.ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media .ath-fundingOpportunity__facts,
.ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media .ath-fundingOpportunity__message,
.ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media .ath-fundingOpportunity__actions,
.ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media > footer {
  min-width: 0;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media > header {
  grid-area: oppHead;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media .ath-fundingOpportunity__benefactor {
  grid-area: oppBenefactor;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media .ath-fundingOpportunity__media {
  grid-area: oppMedia;
  align-self: start;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 88px;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media .ath-fundingOpportunity__facts {
  grid-area: oppFacts;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media .ath-fundingOpportunity__message {
  grid-area: oppMessage;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media .ath-fundingInternship {
  grid-area: oppInternship;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media .ath-fundingOpportunity__actions {
  grid-area: oppActions;
  align-self: start;
  justify-content: flex-end;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media .ath-fundingOpportunity__status,
.ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media .ath-fundingOpportunity__apply,
.ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media .ath-fundingOpportunity__access {
  grid-area: oppStatus;
  align-self: start;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media > footer {
  grid-area: oppFooter;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity:not(.has-media) > header {
  grid-area: oppHead;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity:not(.has-media) .ath-fundingOpportunity__benefactor {
  grid-area: oppBenefactor;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity:not(.has-media) .ath-fundingOpportunity__facts {
  grid-area: oppFacts;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity:not(.has-media) .ath-fundingOpportunity__message {
  grid-area: oppMessage;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity:not(.has-media) .ath-fundingInternship {
  grid-area: oppInternship;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity:not(.has-media) .ath-fundingOpportunity__actions {
  grid-area: oppActions;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity:not(.has-media) .ath-fundingOpportunity__status,
.ath-fundingOpportunities--compactLight .ath-fundingOpportunity:not(.has-media) .ath-fundingOpportunity__apply,
.ath-fundingOpportunities--compactLight .ath-fundingOpportunity:not(.has-media) .ath-fundingOpportunity__access {
  grid-area: oppStatus;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity:not(.has-media) > footer {
  grid-area: oppFooter;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity > header {
  gap: 6px;
  align-items: flex-start;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity > header span {
  font-size: 8px;
  line-height: 1;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity h4 {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.1;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity > header p {
  margin-top: 2px;
  font-size: 10px;
  line-height: 1.2;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity > header > mark {
  padding: 3px 5px;
  font-size: 12px;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__benefactorLogo {
  width: 30px;
  height: 30px;
  max-width: 30px;
  max-height: 30px;
  padding: 2px;
  border-radius: 7px;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__benefactorCopy span,
.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__benefactorMetric span {
  font-size: 7px;
  line-height: 1;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__benefactorCopy strong {
  margin-top: 1px;
  font-size: 12px;
  line-height: 1.05;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__benefactorCopy small {
  margin-top: 1px;
  font-size: 9px;
  line-height: 1.1;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__benefactorMetric {
  min-width: 68px;
  padding: 4px 5px;
  border-radius: 6px;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__benefactorMetric strong {
  font-size: 11px;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin: 0;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__facts small {
  font-size: 7px;
  line-height: 1;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__facts strong {
  margin-top: 1px;
  font-size: 9px;
  line-height: 1.1;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__message,
.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__access {
  margin: 0;
  padding: 5px 7px;
  border-left-width: 2px;
  font-size: 9px;
  line-height: 1.3;
}

.ath-fundingOpportunities--compactLight .ath-fundingInternship {
  margin: 0;
  padding: 5px 6px;
  border-radius: 7px;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: flex-start;
  margin: 0;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__details {
  margin: 0;
  padding: 5px 7px;
  font-size: 10px;
  line-height: 1;
  text-align: center;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__apply,
.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__status {
  margin: 0;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__apply > summary {
  padding: 6px 7px;
  font-size: 10px;
  line-height: 1.1;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__status {
  padding: 6px 7px;
  font-size: 10px;
  line-height: 1.2;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity__status strong {
  font-size: 10px;
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity > footer {
  margin: 0;
  padding-top: 1px;
  font-size: 7px;
  line-height: 1.2;
}

@media (max-width: 760px) {
  .ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media,
  .ath-fundingOpportunities--compactLight .ath-fundingOpportunity:not(.has-media) {
    grid-template-columns: 58px minmax(0, 1fr);
    grid-template-areas:
      "oppMedia oppHead"
      "oppMedia oppBenefactor"
      "oppFacts oppFacts"
      "oppMessage oppMessage"
      "oppInternship oppInternship"
      "oppActions oppActions"
      "oppStatus oppStatus"
      "oppFooter oppFooter";
  }

  .ath-fundingOpportunities--compactLight .ath-fundingOpportunity:not(.has-media) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "oppHead"
      "oppBenefactor"
      "oppFacts"
      "oppMessage"
      "oppInternship"
      "oppActions"
      "oppStatus"
      "oppFooter";
  }

  .ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media .ath-fundingOpportunity__media {
    width: 58px;
    max-height: 58px;
  }

  .ath-fundingOpportunities--compactLight .ath-fundingOpportunity__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ath-fundingOpportunities--compactLight .ath-fundingOpportunity__actions {
    justify-content: stretch;
  }

  .ath-fundingOpportunities--compactLight .ath-fundingOpportunity__details,
  .ath-fundingOpportunities--compactLight .ath-fundingOpportunity__actions .ath-fundingButton {
    flex: 1 1 auto;
  }
}

@media (max-width: 420px) {
  .ath-fundingOpportunities--compactLight > header {
    align-items: flex-start;
  }

  .ath-fundingOpportunities--compactLight h3 {
    font-size: 15px;
  }

  .ath-fundingOpportunities--compactLight > header > mark {
    font-size: 10px;
  }

  .ath-fundingOpportunities--compactLight .ath-fundingOpportunity__benefactor {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .ath-fundingOpportunities--compactLight .ath-fundingOpportunity__benefactorLogo {
    width: 28px;
    height: 28px;
    max-width: 28px;
    max-height: 28px;
  }

  .ath-fundingOpportunities--compactLight .ath-fundingOpportunity__benefactorMetric {
    display: none;
  }
}

/* Final area-map specificity: the original compact card rules also target
 * .has-media, so keep this explicit map later in the cascade. */
.ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media {
  grid-template-columns: clamp(64px, 7vw, 88px) minmax(220px, 1.2fr) minmax(260px, 1fr) minmax(132px, .48fr);
  grid-template-areas:
    "oppMedia oppHead oppBenefactor oppActions"
    "oppMedia oppFacts oppFacts oppStatus"
    "oppMedia oppMessage oppMessage oppStatus"
    "oppMedia oppInternship oppInternship oppInternship"
    "oppMedia oppFooter oppFooter oppFooter";
}

.ath-fundingOpportunities--compactLight .ath-fundingOpportunity:not(.has-media) {
  grid-template-columns: minmax(220px, 1.2fr) minmax(260px, 1fr) minmax(132px, .48fr);
  grid-template-areas:
    "oppHead oppBenefactor oppActions"
    "oppFacts oppFacts oppStatus"
    "oppMessage oppMessage oppStatus"
    "oppInternship oppInternship oppInternship"
    "oppFooter oppFooter oppFooter";
}

@media (max-width: 760px) {
  .ath-fundingOpportunities--compactLight .ath-fundingOpportunity.has-media {
    grid-template-columns: 58px minmax(0, 1fr);
    grid-template-areas:
      "oppMedia oppHead"
      "oppMedia oppBenefactor"
      "oppFacts oppFacts"
      "oppMessage oppMessage"
      "oppInternship oppInternship"
      "oppActions oppActions"
      "oppStatus oppStatus"
      "oppFooter oppFooter";
  }

  .ath-fundingOpportunities--compactLight .ath-fundingOpportunity:not(.has-media) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "oppHead"
      "oppBenefactor"
      "oppFacts"
      "oppMessage"
      "oppInternship"
      "oppActions"
      "oppStatus"
      "oppFooter";
  }
}

/* Student dashboard funding consolidation: one panel owns the hierarchy while
 * the existing awards and opportunity renderers remain responsible for their
 * data, forms, status messages, and links. */
.ath-fundingCombined--compactLight {
  --athfund-ink: var(--athaa-text, #05070c);
  --athfund-muted: var(--athaa-muted, #425066);
  --athfund-subtle: var(--athaa-subtle, #6a778b);
  --athfund-line: var(--athaa-border, #dbe3ee);
  --athfund-surface: var(--athaa-surface, #ffffff);
  --athfund-soft: var(--athaa-surface-2, #f5f8fc);
  --athfund-panel: var(--athaa-surface-3, #edf2f7);
  --athfund-navy: var(--athaa-c1-ink, var(--athaa-c1, #12335b));
  --athfund-blue: var(--athaa-c1, #1769aa);
  --athfund-teal: var(--athaa-c2, #0d8d7d);
  --athfund-gold: var(--athaa-c3, #d69b2d);
  --athfund-radius: var(--athaa-radius, var(--radius, 12px));
  --athfund-shadow: 0 6px 16px color-mix(in srgb, var(--athaa-c4, #2f2415) 6%, transparent);
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--athaa-c1) 16%, var(--athaa-border));
  border-radius: calc(var(--athaa-radius) - 2px);
  color: var(--athfund-ink);
  background: linear-gradient(135deg, color-mix(in srgb, var(--athaa-c1) 5%, var(--athaa-surface)), color-mix(in srgb, var(--athaa-c3) 4%, var(--athaa-surface)));
  box-shadow: var(--athfund-shadow);
}

.ath-academy-shell .ath-fundingCombined--compactLight {
  margin-inline: 0;
  max-width: 100%;
}

.ath-fundingCombined__head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 9px 11px;
  border-bottom: 1px solid var(--athfund-line);
  background: linear-gradient(135deg, color-mix(in srgb, var(--athaa-c1) 5%, var(--athaa-surface)), color-mix(in srgb, var(--athaa-c3) 4%, var(--athaa-surface)));
}

.ath-fundingCombined__head span,
.ath-fundingCombined__head h3,
.ath-fundingCombined__head p {
  display: block;
  margin: 0;
}

.ath-fundingCombined__head span {
  color: var(--athaa-c3-ink, var(--athfund-gold));
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ath-fundingCombined__head h3 {
  margin-top: 2px;
  color: var(--athfund-ink);
  font-size: 18px;
  line-height: 1.05;
}

.ath-fundingCombined__head p {
  max-width: 760px;
  margin-top: 3px;
  color: var(--athfund-muted);
  font-size: 11px;
  line-height: 1.3;
}

/* Use the same icon / kicker / title grid as the other expanded student
 * sections instead of distributing the header children with space-between. */
.ath-academy-shell--studentAccess .ath-fundingCombined[data-athaa-student-accordion] > .ath-fundingCombined__head {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  justify-content: initial;
  margin: 0;
  min-width: 0;
  padding: 0 32px 1px 1px;
}

.ath-academy-shell--studentAccess .ath-fundingCombined[data-athaa-student-accordion] > .ath-fundingCombined__head > .ath-academy-studentSectionIcon {
  grid-column: 1;
  grid-row: 1;
}

.ath-academy-shell--studentAccess .ath-fundingCombined[data-athaa-student-accordion] > .ath-fundingCombined__head > div:first-of-type {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.ath-academy-shell--studentAccess .ath-fundingCombined[data-athaa-student-accordion] > .ath-fundingCombined__head > div:first-of-type > span {
  color: var(--athaa-c3-ink, var(--athfund-gold));
  display: block;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
}

.ath-academy-shell--studentAccess .ath-fundingCombined[data-athaa-student-accordion] > .ath-fundingCombined__head h3 {
  color: var(--athaa-text, var(--athfund-ink));
  font-size: 15px;
  letter-spacing: -.01em;
  line-height: 1.1;
  margin: 2px 0 1px;
}

.ath-academy-shell--studentAccess .ath-fundingCombined[data-athaa-student-accordion] > .ath-fundingCombined__head p {
  color: var(--athaa-muted, var(--athfund-muted));
  font-size: 10px;
  line-height: 1.25;
  margin: 0;
}

.ath-academy-shell--studentAccess .ath-fundingCombined[data-athaa-student-accordion] > .ath-fundingCombined__head > .ath-fundingCombined__summary {
  grid-column: 3;
  grid-row: 1;
}

.ath-fundingCombined__summary {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
}

.ath-fundingCombined__summary > strong {
  display: block;
  min-width: 70px;
  padding: 5px 8px;
  border: 1px solid color-mix(in srgb, var(--athaa-c1) 24%, var(--athaa-border));
  border-radius: 999px;
  color: var(--athfund-navy);
  background: color-mix(in srgb, var(--athaa-c1) 8%, var(--athaa-surface));
  font-size: 13px;
  line-height: 1;
  text-align: center;
}

.ath-fundingCombined__summary small {
  display: block;
  margin-top: 2px;
  color: var(--athfund-muted);
  font-size: 8px;
  font-weight: 600;
}

.ath-fundingCombined__body {
  display: grid;
  gap: 8px;
  padding: 8px;
}

.ath-fundingCombined__section {
  min-width: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--athaa-c1) 15%, var(--athaa-border));
  border-radius: calc(var(--athaa-radius) - 3px);
  background: linear-gradient(135deg, color-mix(in srgb, var(--athaa-c1) 5%, var(--athaa-surface)), color-mix(in srgb, var(--athaa-c3) 4%, var(--athaa-surface)));
}

.ath-fundingCombined__sectionHead {
  display: flex;
  gap: 8px;
  align-items: baseline;
  justify-content: space-between;
  padding: 7px 9px 5px;
}

.ath-fundingCombined__sectionHead h4 {
  margin: 0;
  color: var(--athfund-ink);
  font-size: 13px;
  line-height: 1.1;
}

.ath-fundingCombined__sectionHead span {
  color: var(--athfund-muted);
  font-size: 9px;
  line-height: 1.2;
  text-align: right;
}

.ath-fundingCombined__section > .ath-fundingStudent--combinedMember,
.ath-fundingCombined__section > .ath-fundingOpportunities--combinedMember {
  width: 100%;
  max-width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ath-fundingCombined__section > .ath-fundingStudent--combinedMember > .ath-fundingStudent__head,
.ath-fundingCombined__section > .ath-fundingOpportunities--combinedMember > header {
  display: none;
}

.ath-fundingCombined .ath-fundingStudent--combinedMember .ath-funding__empty {
  margin: 0 8px 8px;
}

.ath-fundingCombined .ath-fundingOpportunities--combinedMember {
  margin-block: 0;
}

.ath-fundingCombined .ath-fundingOpportunities--combinedMember .ath-fundingOpportunities__grid {
  padding: 0 8px 8px;
}

/* Keep student crowdfunding inside the Scholarships & Funding hierarchy. The
 * campaign renderer retains its public directory/card markup while this
 * wrapper removes the standalone shell treatment used on public pages. */
.ath-fundingCombined__section > .ath-cfDirectory {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 8px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ath-fundingCombined__section > .ath-cfDirectory > header {
  padding-top: 0;
}

.ath-fundingCombined__section > .ath-cfDirectory .ath-cfDirectory__grid {
  margin-top: 10px;
}

@media (max-width: 640px) {
  .ath-fundingCombined__head {
    display: grid;
    gap: 7px;
    align-items: start;
  }

  .ath-academy-shell--studentAccess .ath-fundingCombined[data-athaa-student-accordion] > .ath-fundingCombined__head {
    grid-template-columns: 24px minmax(0, 1fr);
    padding-right: 30px;
  }

  .ath-academy-shell--studentAccess .ath-fundingCombined[data-athaa-student-accordion] > .ath-fundingCombined__head > .ath-fundingCombined__summary {
    grid-column: 2;
    grid-row: 2;
    justify-content: start;
  }

  .ath-fundingCombined__summary {
    justify-content: start;
  }

  .ath-fundingCombined__summary > strong {
    min-width: 0;
  }

  .ath-fundingCombined__body {
    padding: 6px;
  }

  .ath-fundingCombined__sectionHead {
    display: grid;
    gap: 2px;
  }

  .ath-fundingCombined__sectionHead span {
    text-align: left;
  }
}

.ath-fundingDirectory {
  color: var(--athfund-ink);
}

.ath-fundingDirectory__results,
.ath-fundingDirectory__privacy,
.ath-fundingDirectSettings {
  border: 1px solid var(--athfund-line);
  border-radius: var(--athfund-radius-lg);
  background: var(--athfund-surface);
  box-shadow: var(--athfund-shadow);
}

.ath-fundingDirectory__results header span,
.ath-fundingDirectSettings header span {
  display: block;
  margin-bottom: 7px;
  color: var(--athfund-gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ath-fundingDirectory__results h2,
.ath-fundingDirectSettings h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(27px, 4vw, 44px);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.ath-fundingDirectory__results header p,
.ath-fundingDirectSettings header p {
  max-width: 720px;
  margin: 12px 0 0;
  color: color-mix(in srgb, currentColor 76%, transparent);
  font-size: 14px;
  line-height: 1.55;
}

.ath-fundingDirectory__search {
  display: flex;
  gap: 10px;
  align-items: end;
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid var(--athfund-line);
  border-radius: var(--athfund-radius);
  background: var(--athfund-soft);
}

.ath-fundingDirectory__searchStatus {
  align-self: center;
  min-width: 132px;
  color: var(--athfund-muted);
  font-size: 10px;
  line-height: 1.35;
  text-align: right;
}

.ath-fundingDirectory__search label {
  display: grid;
  flex: 1 1 auto;
  gap: 6px;
  color: var(--athfund-muted);
  font-size: 11px;
  font-weight: 800;
}

.ath-fundingDirectory__search input {
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  padding: 9px 12px;
  border: 1px solid var(--athfund-line);
  border-radius: var(--athfund-radius);
  color: var(--athfund-ink);
  background: var(--athfund-surface);
}

.ath-fundingDirectory__search input:focus,
.ath-fundingDirectory__search input:focus-visible {
  border-color: var(--athfund-blue);
  outline: 0;
  box-shadow: 0 0 0 3px var(--athfund-focus);
}

.ath-fundingDirectory__clear {
  align-self: center;
  color: var(--athfund-muted);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.ath-fundingDirectory__results {
  margin-top: 16px;
  padding: clamp(18px, 3vw, 28px);
}

.ath-fundingDirectory__results > header,
.ath-fundingDirectSettings > header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
}

.ath-fundingDirectory__results > header mark,
.ath-fundingDirectSettings > header mark,
.ath-fundingProfileCard mark {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--athfund-blue);
  background: var(--athfund-panel);
  font-size: 10px;
  font-weight: 850;
  white-space: nowrap;
}

.ath-fundingDirectory__results > header mark.is-match,
.ath-fundingProfileCard mark.is-match,
.ath-fundingDirectSettings > header mark.is-on {
  color: var(--athfund-teal);
  background: var(--athfund-positive-bg);
}

.ath-fundingDirectory__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.ath-fundingProfileCard {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: block;
  min-width: 0;
  padding: 0;
  border: 1px solid var(--athfund-line);
  border-radius: var(--athfund-radius-lg);
  background: linear-gradient(150deg, var(--athfund-surface), var(--athfund-soft));
}

.ath-fundingProfileCard__hero {
  position: relative;
  display: flex;
  min-height: 126px;
  padding: 13px;
  overflow: hidden;
  align-items: flex-end;
  background: linear-gradient(150deg, var(--athfund-soft), var(--athfund-surface));
}

.ath-fundingProfileCard.has-media .ath-fundingProfileCard__hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, color-mix(in srgb, var(--athfund-surface) 86%, transparent), color-mix(in srgb, var(--athfund-surface) 44%, transparent));
}

.ath-fundingProfileCard__hero > header,
.ath-fundingProfileCard__body {
  position: relative;
  z-index: 2;
}

.ath-fundingProfileCard__hero > header {
  display: flex;
  width: 100%;
  gap: 8px;
  align-items: flex-end;
  justify-content: space-between;
}

.ath-fundingProfileCard__hero > header > mark {
  position: absolute;
  top: 0;
  right: 0;
  padding: 5px 7px;
  font-size: 9px;
}

.ath-fundingProfileCard__body {
  display: grid;
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid var(--athfund-line);
  background: color-mix(in srgb, var(--athfund-surface) 96%, transparent);
}

.ath-fundingProfileCard.is-exact {
  border-color: var(--athfund-positive-line);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--athfund-teal) 10%, transparent);
}

.ath-fundingProfileCard__body > footer {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  justify-content: space-between;
}

.ath-fundingProfileCard__identity {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.ath-fundingProfileCard__identity img,
.ath-fundingProfileCard__avatar {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 11px;
  object-fit: cover;
  color: var(--athfund-blue);
  background: var(--athfund-panel);
  border: 2px solid color-mix(in srgb, var(--athfund-surface) 84%, transparent);
  font-size: 16px;
  font-weight: 850;
}

.ath-fundingProfileCard__identity div {
  min-width: 0;
}

.ath-fundingProfileCard__identity div > span,
.ath-fundingProfileCard__identity small,
.ath-fundingProfileCard__identifiers small,
.ath-fundingProfileCard__details small,
.ath-fundingProfileCard__metrics small {
  display: block;
  color: var(--athfund-muted);
  font-size: 9px;
}

.ath-fundingProfileCard__identity h3 {
  overflow: hidden;
  margin: 2px 0 0;
  color: var(--athfund-ink);
  font-size: 17px;
  line-height: 1.05;
  text-overflow: ellipsis;
}

.ath-fundingProfileCard__identity small {
  margin-top: 3px;
  line-height: 1.35;
}

.ath-fundingProfileCard__identifiers,
.ath-fundingProfileCard__details,
.ath-fundingProfileCard__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.ath-fundingProfileCard__description {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.ath-fundingProfileCard__identifiers span,
.ath-fundingProfileCard__details span,
.ath-fundingProfileCard__metrics span {
  min-width: 0;
  padding: 7px 8px;
  border-radius: 8px;
  background: var(--athfund-panel);
}

.ath-fundingProfileCard__identifiers strong,
.ath-fundingProfileCard__details strong,
.ath-fundingProfileCard__metrics strong {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: var(--athfund-ink);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ath-fundingProfileCard__metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ath-fundingProfileCard__metrics strong {
  color: var(--athfund-teal);
  font-size: 13px;
}

.ath-fundingProfileCard__note {
  margin: 0;
  color: var(--athfund-muted);
  font-size: 11px;
  line-height: 1.4;
}

.ath-fundingProfileCard__closed {
  color: var(--athfund-muted);
  font-size: 10px;
  line-height: 1.4;
}

.ath-fundingProfileCard__body > footer {
  align-items: center;
}

.ath-fundingProfileCard__body > footer .ath-fundingButton {
  min-height: 32px;
  padding: 7px 8px;
  font-size: 10px;
}

.ath-fundingDirectory__empty {
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--athfund-radius);
  color: var(--athfund-muted);
  background: var(--athfund-soft);
}

.ath-fundingDirectory__empty strong,
.ath-fundingDirectory__empty span {
  display: block;
}

.ath-fundingDirectory__empty strong {
  color: var(--athfund-ink);
}

.ath-fundingDirectory__empty span {
  margin-top: 5px;
  font-size: 12px;
}

.ath-fundingDirectory__privacy {
  margin-top: 16px;
  padding: 15px 17px;
  border-color: var(--athfund-positive-line);
  background: var(--athfund-positive-bg);
}

.ath-fundingDirectory__privacy strong {
  color: var(--athfund-ink);
  font-size: 12px;
}

.ath-fundingDirectory__privacy p {
  margin: 5px 0 0;
  color: var(--athfund-muted);
  font-size: 12px;
  line-height: 1.5;
}

.ath-fundingDirectSettings {
  margin: 16px 0;
  padding: 18px;
  background: linear-gradient(150deg, var(--athfund-surface), var(--athfund-soft));
}

.ath-fundingDirectSettings h3 {
  color: var(--athfund-ink);
  font-size: 22px;
}

.ath-fundingDirectSettings__columns {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: 12px;
  align-items: start;
  margin-top: 14px;
}

.ath-fundingDirectSettings__primary,
.ath-fundingDirectSettings__crowdfunding {
  min-width: 0;
}

.ath-fundingDirectSettings__primary .ath-fundingForm {
  gap: 7px;
  padding: 0;
}

.ath-fundingDirectSettings__primary .ath-fundingCheck {
  padding: 7px;
}

.ath-fundingDirectSettings__primary .ath-fundingField input,
.ath-fundingDirectSettings__primary .ath-fundingField textarea {
  font-size: 11px;
}

.ath-fundingDirectSettings__crowdfunding {
  display: grid;
  gap: 12px;
  overflow: hidden;
  border: 1px solid var(--athfund-line);
  border-radius: var(--athfund-radius);
  background: linear-gradient(150deg, var(--athfund-soft), var(--athfund-surface));
  padding: 12px;
}

.ath-fundingDirectSettings__crowdfunding > .ath-fundingDirectSettings__share {
  margin: 0;
}

.ath-fundingDirectSettings__crowdfunding .ath-cfDirectory {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
}

.ath-fundingDirectSettings__crowdfunding .ath-cfDirectory > header {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 0;
}

.ath-fundingDirectSettings__crowdfunding .ath-cfDirectory > header span {
  margin-bottom: 4px;
  font-size: 9px;
}

.ath-fundingDirectSettings__crowdfunding .ath-cfDirectory h2 {
  font-size: 18px;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.ath-fundingDirectSettings__crowdfunding .ath-cfDirectory > header p {
  margin: 5px 0 0;
  font-size: 10px;
  line-height: 1.35;
}

.ath-fundingDirectSettings__crowdfunding .ath-cfDirectory > header mark {
  padding: 5px 7px;
  font-size: 9px;
}

.ath-fundingDirectSettings__crowdfunding .ath-cfDirectory__grid {
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: 10px;
}

.ath-fundingDirectSettings__crowdfunding .ath-cfDirectory__grid article {
  padding: 11px;
  border-radius: 10px;
}

.ath-fundingDirectSettings__crowdfunding .ath-cfDirectory__grid article > span {
  font-size: 8px;
}

.ath-fundingDirectSettings__crowdfunding .ath-cfDirectory__grid h3 {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.1;
}

.ath-fundingDirectSettings__crowdfunding .ath-cfDirectory__grid p {
  min-height: 0;
  margin: 4px 0 0;
  font-size: 10px;
  line-height: 1.3;
}

.ath-fundingDirectSettings__crowdfunding .ath-cfDirectory__grid small,
.ath-fundingDirectSettings__crowdfunding .ath-cfDirectory__grid a {
  font-size: 10px;
}

.ath-fundingDirectSettings__crowdfunding .ath-cfEmpty {
  margin: 10px 0 0;
  padding: 10px;
  font-size: 10px;
}

.ath-fundingDirectSettings__share {
  display: grid;
  gap: 3px;
  margin: 16px 0;
  padding: 13px 15px;
  border: 1px solid var(--athfund-positive-line);
  border-radius: var(--athfund-radius);
  background: var(--athfund-positive-bg);
}

.ath-fundingDirectSettings__share span,
.ath-fundingDirectSettings__share small {
  color: var(--athfund-muted);
  font-size: 11px;
}

.ath-fundingDirectSettings__share strong {
  color: var(--athfund-teal);
  font-size: 21px;
  letter-spacing: .08em;
}

.ath-fundingDirectSettings__privacy {
  margin: 12px 0;
  color: var(--athfund-muted);
  font-size: 11px;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .ath-fundingDirectory__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ath-fundingDirectSettings__columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ath-fundingDirectory__search,
  .ath-fundingDirectory__results > header,
  .ath-fundingDirectSettings > header {
    display: grid;
    align-items: start;
  }

  .ath-fundingDirectory__searchStatus {
    min-width: 0;
    text-align: left;
  }

  .ath-fundingDirectory__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ath-fundingProfileCard__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ath-fundingProfileCard__metrics span:last-child {
    grid-column: 1 / -1;
  }
}

.ath-fundingProfileCard__media {
  overflow: hidden;
  position: absolute;
  z-index: 0;
  inset: 0;
  aspect-ratio: auto;
  opacity: .58;
  pointer-events: none;
}

.ath-fundingProfileCard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.85);
}

.ath-fundingProfileCard__story,
.ath-fundingProfileCard__status {
  margin: 0;
  padding: 8px 9px;
  border-radius: 8px;
  color: var(--athfund-muted);
  background: var(--athfund-panel);
  font-size: 11px;
  line-height: 1.35;
}

.ath-fundingProfileCard__note {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ath-fundingProfileCard__story strong,
.ath-fundingProfileCard__status small {
  display: block;
  margin-bottom: 3px;
  color: var(--athfund-ink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ath-fundingProfileCard__status strong {
  color: var(--athfund-teal);
  font-size: 12px;
}

.ath-fundingProfileCard__progress {
  display: grid;
  gap: 6px;
}

.ath-fundingProfileCard__progress > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ath-fundingProfileCard__progress small,
.ath-fundingProfileCard__progress strong {
  color: var(--athfund-muted);
  font-size: 10px;
}

.ath-fundingProfileCard__progress strong {
  color: var(--athfund-teal);
}

.ath-fundingProfileCard__progress > span,
.ath-fundingProgress {
  display: block;
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: var(--athfund-panel);
}

@media (max-width: 640px) {
  .ath-fundingDirectory__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .ath-fundingProfileCard {
    border-radius: 12px;
  }

  .ath-fundingProfileCard__hero {
    min-height: 106px;
    padding: 10px;
  }

  .ath-fundingProfileCard__body {
    gap: 7px;
    padding: 8px 10px 10px;
  }

  .ath-fundingProfileCard__identity img,
  .ath-fundingProfileCard__avatar {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .ath-fundingProfileCard__identity h3 {
    font-size: 16px;
  }

  .ath-fundingProfileCard__identifiers,
  .ath-fundingProfileCard__details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ath-fundingProfileCard__identifiers span,
  .ath-fundingProfileCard__details span,
  .ath-fundingProfileCard__metrics span {
    padding: 6px 7px;
  }

  .ath-fundingProfileCard__note {
    -webkit-line-clamp: 2;
  }

  .ath-fundingProfileCard__story {
    -webkit-line-clamp: 2;
  }

  .ath-fundingProfileCard__body > footer {
    align-items: stretch;
  }

  .ath-fundingProfileCard__body > footer .ath-fundingButton {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ath-fundingProfileCard__body > footer .ath-fundingProfileCard__closed {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.ath-fundingProfileCard__progress i,
.ath-fundingProgress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--athfund-blue), var(--athfund-teal));
}

.ath-fundingDirectSettings__shareActions,
.ath-fundingDashboard__formActions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ath-fundingDirectSettings__shareActions {
  margin-top: 9px;
}

.ath-fundingDirectSettings__privacy a {
  color: var(--athfund-blue);
  font-weight: 750;
}

.ath-fundingDashboard {
  display: grid;
  gap: 14px;
  color: var(--athfund-ink);
}

.ath-fundingDashboard__hero,
.ath-fundingDashboard__share,
.ath-fundingDashboard__panel {
  border: 1px solid var(--athfund-line);
  border-radius: var(--athfund-radius-lg);
  background: var(--athfund-surface);
  box-shadow: var(--athfund-shadow);
}

.ath-fundingDashboard__hero {
  display: none;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 23px;
  color: var(--athfund-button-fg);
  background: radial-gradient(circle at 84% 8%, color-mix(in srgb, var(--athfund-surface) 26%, transparent), transparent 35%), var(--athfund-button-bg);
}

.ath-fundingDashboard__hero > div > span,
.ath-fundingDashboard__panel header > div > span,
.ath-fundingDashboard__share span {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ath-fundingDashboard__hero h2,
.ath-fundingDashboard__panel h3 {
  margin: 0;
  color: inherit;
}

.ath-fundingDashboard__hero p,
.ath-fundingDashboard__panel header p {
  max-width: 690px;
  margin: 6px 0 0;
  color: color-mix(in srgb, currentColor 76%, transparent);
  font-size: 13px;
  line-height: 1.5;
}

.ath-fundingDashboard__heroIdentity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 9px;
  align-items: center;
  min-width: 190px;
}

.ath-fundingDashboard__heroIdentity img {
  grid-row: span 2;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
}

.ath-fundingDashboard__heroIdentity span {
  margin: 0;
  font-size: 11px;
}

.ath-fundingDashboard__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.ath-fundingDashboard__metrics article {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--athfund-line);
  border-radius: var(--athfund-radius);
  background: var(--athfund-soft);
}

.ath-fundingDashboard__metrics span,
.ath-fundingDashboard__metrics small {
  color: var(--athfund-muted);
  font-size: 10px;
}

.ath-fundingDashboard__metrics strong {
  overflow-wrap: anywhere;
  color: var(--athfund-ink);
  font-size: 19px;
}

.ath-fundingDashboard__share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 17px;
  border-color: var(--athfund-positive-line);
  background: var(--athfund-positive-bg);
}

.ath-fundingDashboard__share > div:first-child {
  display: grid;
  gap: 2px;
}

.ath-fundingDashboard__share strong {
  color: var(--athfund-teal);
  font-size: 22px;
}

.ath-fundingDashboard__share small {
  color: var(--athfund-muted);
  font-size: 11px;
}

.ath-fundingDashboard__columns {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 14px;
}

.ath-fundingDashboard__columns main,
.ath-fundingDashboard__columns aside {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
}

.ath-fundingDashboard__panel {
  padding: 18px;
}

.ath-fundingDashboard__panel > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.ath-fundingDashboard__panel header > div > span,
.ath-fundingDashboard__share span {
  color: var(--athfund-muted);
}

.ath-fundingDashboard__panel header h3 {
  color: var(--athfund-ink);
  font-size: 20px;
}

.ath-fundingDashboard__panel header p {
  color: var(--athfund-muted);
}

.ath-fundingDashboard__form {
  display: grid;
  gap: 13px;
}

.ath-fundingDashboard__settings {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.ath-fundingDashboard__settings .ath-fundingCheck {
  height: 100%;
}

.ath-fundingDashboard__form .ath-fundingField small {
  display: block;
  margin-top: 5px;
  color: var(--athfund-muted);
  font-size: 10px;
  line-height: 1.35;
}

.ath-fundingDashboard__formActions {
  justify-content: space-between;
  margin-top: 4px;
}

.ath-fundingDashboard__formActions > span {
  color: var(--athfund-muted);
  font-size: 11px;
}

.ath-fundingDashboard__formActions strong {
  color: var(--athfund-ink);
}

.ath-fundingDashboard__progress > header > strong {
  color: var(--athfund-teal);
  font-size: 30px;
}

.ath-fundingDashboard__entries {
  display: grid;
  gap: 8px;
}

.ath-fundingDashboard__entries article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 10px 0;
  border-top: 1px solid var(--athfund-line);
}

.ath-fundingDashboard__entries article:first-child {
  border-top: 0;
  padding-top: 0;
}

.ath-fundingDashboard__entries article > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ath-fundingDashboard__entries strong {
  color: var(--athfund-ink);
  font-size: 12px;
}

.ath-fundingDashboard__entries span,
.ath-fundingDashboard__entries small,
.ath-fundingDashboard__empty {
  color: var(--athfund-muted);
  font-size: 11px;
  line-height: 1.4;
}

.ath-fundingDashboard__entries small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ath-fundingDashboard__entries mark {
  flex: 0 0 auto;
  color: var(--athfund-ink);
  background: transparent;
  font-size: 13px;
  font-weight: 850;
}

.ath-fundingDashboard__entries mark.is-credit {
  color: var(--athfund-teal);
}

.ath-academy-shell--studentAccess .ath-studentAccountFunding {
  --athfund-ink: var(--athaa-text, #10131a);
  --athfund-muted: var(--athaa-muted, #425066);
  --athfund-subtle: var(--athaa-subtle, #59677b);
  --athfund-line: var(--athaa-border, #d5dde7);
  --athfund-surface: var(--athaa-surface, #ffffff);
  --athfund-soft: var(--athaa-surface-2, #f5f8fc);
  --athfund-panel: var(--athaa-surface-3, #edf2f7);
  --athfund-navy: var(--athaa-c1-ink, #12335b);
  --athfund-blue: var(--athaa-c1, #1769aa);
  --athfund-teal: var(--athaa-c2, #0d8d7d);
  --athfund-gold: var(--athaa-c3, #d69b2d);
  color: var(--athaa-text, #10131a);
}

.ath-studentAccountFunding {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ath-studentAccountFunding__actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.ath-studentAccountFunding small {
  color: var(--athfund-muted);
  font-size: 10px;
}

.ath-studentAccountFunding__progress > div span {
  display: block;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.ath-studentAccountFunding__actions > strong {
  color: var(--athfund-ink);
  font-size: 15px;
}

.ath-studentAccountFunding__actions > a {
  flex: 0 0 auto;
  color: var(--athfund-blue);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.ath-studentAccountFunding__actions > a:hover,
.ath-studentAccountFunding__actions > a:focus,
.ath-studentAccountFunding__controlsActions > a:hover,
.ath-studentAccountFunding__controlsActions > a:focus {
  text-decoration: underline;
}

.ath-studentAccountFunding__notice {
  padding: 8px 10px;
  border: 1px solid var(--athfund-line);
  border-radius: 9px;
  color: var(--athfund-ink);
  background: var(--athfund-soft);
  font-size: 11px;
  line-height: 1.35;
}

.ath-studentAccountFunding__notice.is-success {
  border-color: var(--athfund-positive-line);
  color: color-mix(in srgb, var(--athfund-teal) 78%, var(--athfund-ink));
  background: var(--athfund-positive-bg);
}

.ath-studentAccountFunding__notice.is-error {
  border-color: color-mix(in srgb, #b42318 34%, var(--athfund-line));
  color: #8a1f16;
  background: color-mix(in srgb, #b42318 10%, var(--athfund-surface));
}

.ath-studentAccountFunding__identity {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
}

.ath-studentAccountFunding__identity strong {
  color: var(--athfund-teal);
  font-size: 16px;
}

.ath-studentAccountFunding__identity span {
  color: var(--athfund-muted);
  font-size: 10px;
}

.ath-studentAccountFunding__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.ath-studentAccountFunding__stats span {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 8px;
  border-radius: 9px;
  background: var(--athfund-panel);
}

.ath-studentAccountFunding__stats strong {
  overflow-wrap: anywhere;
  color: var(--athfund-ink);
  font-size: 13px;
}

.ath-studentAccountFunding__progress {
  display: grid;
  gap: 6px;
}

.ath-studentAccountFunding__progress > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.ath-studentAccountFunding__progress > div strong {
  color: var(--athfund-teal);
  font-size: 11px;
}

.ath-studentAccountFunding__track {
  display: block;
  overflow: hidden;
  height: 7px;
  border-radius: 999px;
  background: var(--athfund-panel);
}

.ath-studentAccountFunding__track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--athfund-blue), var(--athfund-teal));
}

.ath-studentAccountFunding__recent {
  display: grid;
  gap: 5px;
}

.ath-studentAccountFunding__recent > span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 6px;
  border-top: 1px solid var(--athfund-line);
}

.ath-studentAccountFunding__recent strong {
  color: var(--athfund-ink);
  font-size: 10px;
}

.ath-studentAccountFunding__recent small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ath-studentAccountFunding__recent mark {
  flex: 0 0 auto;
  color: var(--athfund-ink);
  background: transparent;
  font-size: 11px;
  font-weight: 850;
}

.ath-studentAccountFunding__controls {
  display: grid;
  gap: 7px;
  padding-top: 8px;
  border-top: 1px solid var(--athfund-line);
}

.ath-studentAccountFunding__toggle {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 9px;
  border: 1px solid var(--athfund-line);
  border-radius: 9px;
  color: var(--athfund-ink);
  background: var(--athfund-soft);
  cursor: pointer;
}

.ath-studentAccountFunding__toggleRow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, .9fr);
  gap: 7px;
  min-width: 0;
}

.ath-studentAccountFunding__handleField,
.ath-studentAccountFunding__profileEdit {
  display: grid;
  align-content: center;
  gap: 3px;
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid var(--athfund-line);
  border-radius: 9px;
  background: var(--athfund-surface);
}

.ath-studentAccountFunding__handleField > label,
.ath-studentAccountFunding__profileEdit > a {
  color: var(--athfund-ink);
  font-size: 10px;
  font-weight: 850;
}

.ath-studentAccountFunding__handleField input {
  min-width: 0;
  width: 100%;
  padding: 5px 7px;
  border: 1px solid var(--athfund-line);
  border-radius: 6px;
  color: var(--athfund-ink);
  background: var(--athfund-soft);
  font: inherit;
  font-size: 11px;
}

.ath-studentAccountFunding__handleField input:focus {
  border-color: var(--athfund-blue);
  outline: 2px solid var(--athfund-focus);
  outline-offset: 1px;
}

.ath-studentAccountFunding__handleActions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.ath-studentAccountFunding__handleActions a,
.ath-studentAccountFunding__handleActions button,
.ath-studentAccountFunding__profileEdit a {
  color: var(--athfund-blue);
  font-size: 9px;
  font-weight: 850;
  text-decoration: none;
}

.ath-studentAccountFunding__handleActions a:hover,
.ath-studentAccountFunding__handleActions a:focus,
.ath-studentAccountFunding__handleActions button:hover,
.ath-studentAccountFunding__handleActions button:focus,
.ath-studentAccountFunding__profileEdit a:hover,
.ath-studentAccountFunding__profileEdit a:focus {
  text-decoration: underline;
}

.ath-studentAccountFunding__handleActions button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.ath-studentAccountFunding__handleField > small,
.ath-studentAccountFunding__profileEdit > small {
  color: var(--athfund-muted);
  font-size: 9px;
  line-height: 1.3;
}

.ath-studentAccountFunding__profileEdit {
  align-content: center;
}

.ath-studentAccountFunding__toggle:has(input:checked) {
  border-color: color-mix(in srgb, var(--athfund-blue) 48%, var(--athfund-line));
  background: color-mix(in srgb, var(--athfund-blue) 9%, var(--athfund-surface));
}

.ath-studentAccountFunding__toggle input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--athfund-blue);
}

.ath-studentAccountFunding__toggle span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ath-studentAccountFunding__toggle strong {
  color: var(--athfund-ink);
  font-size: 11px;
}

.ath-studentAccountFunding__toggle small {
  color: var(--athfund-muted);
  font-size: 10px;
  line-height: 1.35;
}

.ath-studentAccountFunding__controlsActions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 2px;
}

.ath-studentAccountFunding__controlsActions .ath-academy-button {
  min-height: 28px;
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--athfund-blue) 34%, var(--athfund-line));
  border-radius: 8px;
  color: var(--athfund-ink);
  background: color-mix(in srgb, var(--athfund-blue) 13%, var(--athfund-surface));
  font-size: 10px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

.ath-studentAccountFunding__controlsActions .ath-academy-button:hover,
.ath-studentAccountFunding__controlsActions .ath-academy-button:focus {
  border-color: var(--athfund-blue);
  background: color-mix(in srgb, var(--athfund-blue) 20%, var(--athfund-surface));
}

.ath-studentAccountFunding__controlsActions > a {
  color: var(--athfund-blue);
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 800px) {
  .ath-fundingDashboard__metrics,
  .ath-fundingDashboard__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ath-fundingDashboard__settings {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ath-fundingDashboard__columns > main,
  .ath-fundingDashboard__columns > aside {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .ath-fundingDashboard {
    width: min(100% - 20px, 1120px);
  }

  .ath-fundingDashboard__hero,
  .ath-fundingDashboard__share {
    grid-template-columns: 1fr;
    display: grid;
  }

  .ath-fundingDashboard__metrics,
  .ath-studentAccountFunding__stats {
    grid-template-columns: 1fr 1fr;
  }

  .ath-fundingDashboard__settings {
    grid-template-columns: 1fr;
  }

  .ath-studentAccountFunding__toggleRow {
    grid-template-columns: 1fr;
  }

  .ath-fundingDashboard__share > div:last-child {
    display: flex;
    flex-wrap: wrap;
  }

  .ath-fundingDashboard__share .ath-fundingButton {
    flex: 1 1 auto;
  }
}
