.atlas-sections, .atlas-filters { display: flex; flex-wrap: wrap; gap: .75rem; }
.atlas-filters label { flex: 1 1 13rem; }
#opportunity-search label, #universities label { display: grid; gap: .35rem; font-weight: 650; }
#universities label { max-width: 28rem; }
.atlas-filters input, .atlas-filters select, #universities input {
  width: 100%; min-height: 2.7rem; padding: .5rem .65rem; border: 1px solid #8193a7;
  border-radius: .4rem; background: #fff; color: #14263c; font: inherit;
}
.atlas-table { overflow: auto; max-height: 36rem; border: 1px solid #d7e0eb; border-radius: .7rem; background: #fff; }
.atlas-table table { width: 100%; border-collapse: separate; border-spacing: 0; text-align: left; }
.atlas-table th, .atlas-table td { padding: .7rem; border-bottom: 1px solid #d7e0eb; vertical-align: top; }
.atlas-table thead { position: sticky; top: 0; background: #e8eff7; }
.atlas-table th[scope="row"] { min-width: 13rem; }
.atlas-table a, .atlas-dates a { color: #126c61; text-underline-offset: .2em; }
.atlas-dates { padding-inline-start: 1.4rem; }
.atlas-dates li { margin-block: .65rem; }
.atlas-dates time { font-weight: 700; margin-inline-end: .65rem; }
.atlas-type-counts { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin-block: 0 1.15rem; }
.atlas-type-counts li { padding: .3rem .65rem; background: #e8eff7; border-radius: .4rem; }


.atlas-comparison { margin-block: 1rem; }
.atlas-comparison h3, .atlas-comparison p { margin-block: 0 .4rem; }
.atlas-comparison .atlas-table { margin-top: .65rem; }
.atlas-comparison button { padding: .3rem .6rem; font: inherit; }
.atlas-comparison th button { display: block; margin-top: .35rem; }
.atlas-comparison th[scope="col"] { min-width: 10rem; }

.atlas-filters { margin-block: 1rem; }
.atlas-filters label { min-width: 0; }
.atlas-table thead { background: #e3eeef; }
.atlas-table tbody tr:nth-child(even) { background: #f5f8fa; }
.atlas-table tbody tr:focus-within { background: #eaf5f3; }
.atlas-type-counts li { background: #e3eeef; }
#atlas-university-form { align-items: end; }
#atlas-university-form button { min-height: 2.7rem; padding: .5rem .8rem; font: inherit; }
.atlas-university-pages { display: flex; gap: 1rem; margin-top: .75rem; }

.atlas-finder {
  margin-block: 1rem;
  padding: clamp(.8rem, 2vw, 1.25rem);
  border: 1px solid #b8d4d2;
  border-radius: .85rem;
  background: #edf6f5;
}
.atlas-finder > label input {
  width: 100%;
  min-height: 2.9rem;
  padding: .6rem .75rem;
  border: 1px solid #8193a7;
  border-radius: .5rem;
  color: #14263c;
  background: #fff;
  font: inherit;
}
.atlas-more-filters summary { width: fit-content; cursor: pointer; font-weight: 700; color: #125b53; }
.atlas-more-filters small { display: block; margin-top: .5rem; }
.atlas-active-filters, #atlas-filter-tags { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.atlas-active-filters { margin-top: .85rem; }
.atlas-finder button {
  min-height: 2.65rem;
  padding: .4rem .7rem;
  border: 1px solid #86aaa6;
  border-radius: .5rem;
  background: #fff;
  color: #124c46;
  cursor: pointer;
  font: inherit;
}
.atlas-finder button:hover { background: #d9eeea; }
.atlas-mobile-filter { display: none; }
.atlas-load-more { border: 0; font-size: 1rem; cursor: pointer; }
.atlas-finder [hidden], .atlas-load-more[hidden] { display: none; }

@media (max-width: 44rem) {
  .atlas-mobile-filter { display: inline-block; margin-top: .75rem; }
  .atlas-mobile-filter[aria-expanded="false"] + #atlas-filter-panel { display: none; }
}

.atlas-opportunity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  gap: 1rem;
}
.atlas-opportunity-card {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding: clamp(1rem, 2.5vw, 1.35rem);
  border: 1px solid #c7d8df;
  border-radius: .85rem;
  background: #fff;
  box-shadow: 0 .15rem .45rem #203b5010;
  overflow-wrap: anywhere;
}
.atlas-opportunity-card[hidden], .atlas-opportunity-card [hidden] { display: none; }
.atlas-opportunity-card h3 { margin: .3rem 0 0; font-size: clamp(1.13rem, 2vw, 1.35rem); }
.atlas-card-type { margin: 0; font-size: .875rem; font-weight: 700; color: #125b53; }
.atlas-card-provider { margin: .2rem 0 0; color: #40576a; }
.atlas-card-details { display: grid; gap: .55rem; margin: 0; }
.atlas-card-details dt { font-weight: 700; }
.atlas-card-details dd { margin: 0; }
.atlas-card-details small { display: block; }
.atlas-deadline { display: grid; gap: .2rem; }
.atlas-deadline-badge {
  width: fit-content;
  padding: .15rem .5rem;
  border-radius: .35rem;
  background: #e9edf2;
  color: #314356;
  font-size: .875rem;
}
.atlas-deadline-badge[data-status="open"], .atlas-deadline-badge[data-status="rolling"] { background: #d9f0e8; color: #164f42; }
.atlas-deadline-badge[data-status="upcoming"] { background: #e4edfa; color: #264a79; }
.atlas-deadline-badge[data-status="closed"] { background: #fae7e7; color: #8c3030; }
.atlas-scholarship-deadline { margin: .4rem 0 0; }
.atlas-opportunity-card footer { margin-top: auto; }
.atlas-card-source { margin: 0 0 .4rem; color: #40576a; font-size: .875rem; }
.atlas-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1rem; }
.atlas-card-actions .button { margin: 0; }
#opportunity-search .atlas-card-actions label:not([hidden]) { display: inline-flex; align-items: center; min-height: 2.75rem; }

.atlas-search-heading { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.atlas-search-heading h2 { margin-block: 0; }
.atlas-save-button {
  min-height: 2.75rem;
  padding: .4rem .75rem;
  border: 1px solid #7a9d9c;
  border-radius: .5rem;
  background: #fff;
  color: #124c46;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
}
.atlas-save-button:hover, .atlas-save-button[aria-pressed="true"] { background: #d9eeea; }
.atlas-finder[hidden], .atlas-type-counts[hidden] { display: none; }
.atlas-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.atlas-application-note { margin: 0; color: #40576a; }
.atlas-calendar-actions { margin-top: .65rem; }
.atlas-calendar-actions a { display: inline-flex; align-items: center; text-decoration: none; }
.atlas-calendar-actions a:hover { text-decoration: underline; }
.atlas-saved-export { margin-block: .8rem; padding: .85rem; border: 1px solid #b8d4d2; border-radius: .65rem; background: #edf6f5; }
.atlas-saved-export p { margin: .45rem 0 0; }
.atlas-saved-export p:empty { display: none; }
.atlas-saved-export summary { margin-top: .4rem; cursor: pointer; }
.atlas-saved-export button:disabled { color: #536670; cursor: default; }
.atlas-guide-links { display: flex; flex-wrap: wrap; gap: .25rem .85rem; margin-top: .65rem; }
.atlas-guide-links a { color: #125b53; text-underline-offset: .2em; font-size: .875rem; }

.atlas-checklist { padding: .8rem; border: 1px solid #b8d4d2; border-radius: .65rem; background: #edf6f5; }
.atlas-checklist summary { cursor: pointer; color: #125b53; font-weight: 700; }
.atlas-checklist p { margin: .55rem 0; }
.atlas-checklist select, .atlas-checklist input[type="text"] {
  width: 100%; min-width: 0; min-height: 2.55rem; padding: .35rem .55rem;
  border: 1px solid #8193a7; border-radius: .4rem; background: #fff; color: #14263c; font: inherit;
}
.atlas-checklist-items { padding: 0; list-style: none; }
.atlas-checklist-items li { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .65rem; margin-block: .4rem; }
#opportunity-search .atlas-checklist-items label { display: flex; align-items: center; margin-inline-end: auto; font-weight: 500; }
.atlas-checklist-items a, .atlas-checklist-items button { color: #125b53; font: inherit; font-size: .875rem; }
.atlas-checklist-items button { min-height: 2.25rem; border: 1px solid #9eb9bb; border-radius: .35rem; background: #fff; cursor: pointer; }
.atlas-checklist-add { display: flex; flex-wrap: wrap; align-items: end; gap: .45rem; }
.atlas-checklist-add label { flex: 1 1 9rem; min-width: 0; }

.atlas-availability-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.atlas-availability-links a { padding: .55rem .8rem; border: 1px solid #86aaa6; border-radius: .5rem; color: #124c46; font-weight: 700; }
.atlas-availability-links a:hover { background: #edf6f5; }
.atlas-availability-links[hidden], .atlas-opportunity-grid[hidden] { display: none; }

.atlas-eligibility { margin-block: 1.5rem; scroll-margin-top: 6rem; }
.atlas-eligibility-profile { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: .75rem; }
.atlas-eligibility-profile label, .atlas-eligibility-checklist label { display: grid; gap: .35rem; }
.atlas-eligibility select { width: 100%; max-width: 28rem; min-height: 44px; font: inherit; }
.atlas-eligibility-checklist { display: grid; gap: .75rem; padding-inline-start: 1.5rem; }
.atlas-eligibility-checklist small { display: block; margin-block-start: .25rem; }
.atlas-eligibility [role="status"] { font-weight: 700; }

.atlas-eligibility-evidence { margin-block: 1rem; }
.atlas-eligibility-evidence summary { cursor: pointer; font-weight: 700; }
.atlas-eligibility-evidence dl { margin-block: .8rem; }
