.public-site {
  --radar-ink: #102c3e;
  --radar-muted: #3e5666;
  --radar-green: #075878;
  --radar-line: #d6e3eb;
  --radar-pill: #eaf4fa;
  background: #f7f9f6;
  color: var(--radar-ink);
  font-family: "Instrument Sans", system-ui, sans-serif;
}
.public-header {
  min-height: 74px;
  gap: 12px;
  padding-inline: clamp(18px, 5vw, 76px);
  border-color: var(--radar-line);
  background: #fff;
}
.public-brand { padding: 0; }
.public-brand img { width: 146px; }
.public-nav { gap: 8px; }
.public-nav-link { color: #3d4a54; border-radius: 8px; font-weight: 650; }
.public-nav-link:hover, .public-nav-current { color: var(--radar-green); background: var(--radar-pill); }
.public-login-button {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: #172b3d;
  color: #fff;
}
.public-login-button:hover { background: #203c54; }
.public-activity-button {
  min-width: 47px;
  min-height: 40px;
  border: 1px solid var(--radar-line);
  border-radius: 8px;
  color: var(--radar-green);
}
.public-site :focus-visible {
  outline: 2px solid #114b7e;
  outline-offset: 3px;
}
.library-hero {
  --radar-gutter: clamp(22px, 5vw, 76px);
  position: relative;
  isolation: isolate;
  display: block;
  max-width: none;
  min-height: 0;
  padding: 0 0 19px;
  background: #081b2b;
  color: #f5f9fb;
}
.radar-map-hero {
  position: relative;
  display: grid;
  align-content: center;
  min-height: max(680px, calc(100svh - 74px));
  padding: 116px var(--radar-gutter) 135px;
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(35vw, 490px);
  min-width: 0;
}
.hero-copy .radar-hero-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 17px;
  color: #b9dcf0;
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.radar-hero-kicker span { width: 7px; height: 7px; border-radius: 50%; background: #ffac51; box-shadow: 0 0 11px #ff971caa; }
.hero-copy h1 {
  margin: 0 0 20px;
  color: #f3f7fa;
  font-size: clamp(42px, 4.75vw, 77px);
  font-weight: 740;
  letter-spacing: -.068em;
  line-height: .99;
}
.hero-copy h1 span { display: block; color: #ade1ff; }
.hero-copy > p:not(.radar-hero-kicker) {
  max-width: 37ch;
  margin-bottom: 26px;
  color: #c0cbd4;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.58;
}
.hero-search {
  gap: 14px;
  padding: 4px 14px;
  border: 1px solid #516474;
  border-radius: 9px;
  background: #15222e;
  box-shadow: 0 7px 28px #050d155e;
}
.hero-search input { min-height: 44px; color: #f1f7fb; }
.hero-search input::placeholder { color: #b8c5cf; opacity: 1; }
.hero-search input:focus-visible { outline: none; }
.hero-search:focus-within { border-color: #406686; box-shadow: 0 0 0 3px #52779635; }
.radar-search-icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border: 1.7px solid #a8bac9;
  border-radius: 50%;
}
.radar-search-icon::after {
  position: absolute;
  width: 7px;
  height: 1.7px;
  right: -5px;
  bottom: -2px;
  background: #a8bac9;
  transform: rotate(47deg);
  content: "";
}
.hero-search-meta { align-items: flex-start; justify-content: flex-start; margin-top: 12px; row-gap: 4px; color: #a8b8c5; }
.hero-search-meta strong { color: #d5ecfb; font-size: 13px; font-weight: 720; }
.hero-search-meta span::before { content: none; }
.radar-hero-actions { margin-top: 26px; }
.radar-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 45px;
  padding: 0 17px;
  border: 1px solid #ffd090;
  border-radius: 8px;
  background: #ffb456;
  color: #172c3b;
  box-shadow: 0 5px 24px #090f1880;
  font-weight: 730;
}
.radar-cta:hover { background: #ffcd88; }
.radar-map-panel {
  position: absolute;
  inset: 0;
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #f1f7fb;
}
.radar-map-heading {
  position: absolute;
  z-index: 2;
  top: 32px;
  right: var(--radar-gutter);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  text-align: right;
}
.radar-map-kicker {
  margin: 0 0 6px;
  color: #a7bbcb;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}
.radar-map-heading h2 {
  margin: 0;
  color: #f1f7fb;
  font-size: clamp(15px, 1.46vw, 21px);
  font-weight: 690;
  letter-spacing: -.035em;
  line-height: 1.12;
}
.radar-map-total {
  display: grid;
  justify-items: end;
  padding-left: 12px;
  border-left: 1px solid #576b7a;
  color: #c0ced9;
  font-size: 11px;
}
.radar-map-total strong { color: #ffcb8e; font-size: 29px; line-height: 1; font-variant-numeric: tabular-nums; }
.radar-map-visual canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.radar-map-footer {
  margin: 0 var(--radar-gutter);
  padding-top: 10px;
  border-top: 1px solid #54657485;
}
.radar-map-footer p { margin: 0 0 9px; color: #c3d0da; font-size: 11px; line-height: 1.45; }
.radar-map-footer .radar-funding-legend {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #d6e6f2;
}
.radar-funding-legend[hidden] { display: none !important; }
.radar-funding-legend-light {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #ffac51;
  box-shadow: 0 0 8px #ff971caa;
}
.radar-funding-pause {
  flex: none;
  margin-left: 4px;
  padding: 3px 6px;
  border: 1px solid #5f7a8f;
  border-radius: 5px;
  background: #12202c;
  color: #e4f1fa;
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
}
.radar-funding-pause:hover { background: #253b4e; }
@media (prefers-reduced-motion: reduce) {
  .radar-funding-pause { display: none; }
}
.radar-origin-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.radar-origin-list button {
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  min-height: 34px;
  padding: 5px 9px;
  border: 1px solid #627585;
  border-radius: 7px;
  background: #20303d;
  color: #f0f6fa;
  font-size: 11px;
  text-align: start;
  overflow-wrap: anywhere;
}
.radar-origin-list button strong {
  flex: none;
  min-width: 12px;
  color: #c9e8ff;
  text-align: end;
  font-variant-numeric: tabular-nums;
}
.radar-origin-list button:hover, .radar-origin-list button[aria-pressed="true"] {
  border-color: #a3ccea;
  background: #31485b;
}
.radar-map-panel :focus-visible, .radar-map-footer :focus-visible, .hero-copy :focus-visible {
  outline-color: #b5daf7;
}
.public-library-section {
  position: relative;
  padding: 44px clamp(18px, 5vw, 76px) 50px;
  border-top: 1px solid var(--radar-line);
  background: #fff;
  scroll-margin-top: 72px;
}
.radar-catalog-globe {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.radar-catalog-globe canvas {
  position: absolute;
  inset: 0 0 auto;
  display: block;
  width: 100%;
  height: 100vh;
  mask-image: linear-gradient(transparent, black 9%, black 82%, transparent);
}
.public-library-section .library-heading-row,
.public-library-section .public-library-layout { position: relative; max-width: 1388px; }
.library-heading-row h2 { margin: 0; font-weight: 720; color: var(--radar-ink); }
.library-heading-row p { margin: 7px 0 0; color: var(--radar-muted); font-size: 14px; }
.library-results-meta strong { color: var(--radar-ink); font-size: 14px; }
.radar-status-toggle {
  display: inline-flex;
  padding: 3px;
  gap: 3px;
  border: 1px solid var(--radar-line);
  border-radius: 8px;
  background: #f4f6f7;
}
.radar-status-toggle button {
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #3e4e5a;
  font-size: 12px;
}
.radar-status-toggle button[aria-pressed="true"] { background: #fff; color: var(--radar-green); box-shadow: 0 1px 3px #25374635; font-weight: 730; }
.public-filter-panel { border-color: var(--radar-line); background: #f8f9fa; border-radius: 12px; }
.public-filter-panel label, .public-filter-panel .public-vertical-control,
.public-filter-panel select, .public-vertical-control summary { color: var(--radar-ink); }
.public-filter-panel select, .public-vertical-control summary { border-color: #c6cfd6; border-radius: 7px; }
.public-opportunity-card { min-height: 0; border-color: var(--radar-line); border-radius: 12px; box-shadow: 0 5px 14px #142a3c0a; }
.public-opportunity-card:hover, .public-opportunity-card:focus-visible { border-color: #8e9da9; box-shadow: 0 11px 25px #142a3c1b; transform: translateY(-2px); }
.opportunity-image-wrap { aspect-ratio: 16 / 8; background: #eaeef0; }
.opportunity-image-label { padding: 3px 7px; border-radius: 4px; background: #13222feb; color: #fff; text-shadow: none; }
.opportunity-card-body { padding: 17px; }
.opportunity-org { color: var(--radar-green); }
.public-opportunity-card h3 { color: var(--radar-ink); font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -.025em; }
.public-opportunity-card p { color: var(--radar-muted); }
.card-tag { color: #314454; background: #edf1f4; }
.card-facts { border-color: var(--radar-line); }
.card-facts strong { color: var(--radar-ink); }
.radar-match-groups { display: grid; gap: 18px; }
.radar-match-group > h2 { margin: 0 0 10px; font-size: 1rem; }
.radar-match-group > h2 span { margin-left: 6px; font-size: .8em; color: #515d66; }
.radar-match-group .match-card + .match-card { margin-top: 12px; }
.radar-match-project { color: #3d4e5b; font-weight: 670; margin: 0; }
@media (prefers-reduced-motion: reduce) {
  .public-site *, .public-site *::before, .public-site *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
/* Geographic filters share the search column so they never cover the globe. */
.radar-map-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  min-width: 0;
  margin-top: 20px;
  color: #dbe6ee;
  font-size: 13px;
}
.radar-map-controls label { display: flex; align-items: center; gap: 8px; }
.radar-map-controls .radar-map-select {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  min-width: 0;
  font-weight: 650;
}
.radar-map-controls select, .radar-map-controls input[type="search"], .radar-map-controls button {
  width: auto;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #6c8294;
  border-radius: 8px;
  background: #182c3e;
  color: #f2f7fb;
  font: inherit;
  font-weight: 500;
}
.radar-map-controls .radar-map-select select { width: 100%; min-width: 0; text-overflow: ellipsis; }
.radar-map-controls label[hidden], .radar-map-controls button[hidden] { display: none; }
.radar-map-controls input { width: 18px; height: 18px; min-height: 0; flex: none; accent-color: #fbb357; }
.radar-map-controls input[type="search"] { width: 100%; min-width: 0; height: auto; min-height: 44px; font-size: 16px; }
.radar-map-controls .radar-map-select small { color: #c2d5e3; font-size: 12px; line-height: 1.4; font-weight: 400; }
.radar-map-controls .radar-map-select .country-search-error { color: #ffcd8e; }
.country-search-error { color: #8a3e12; font-size: 13px; }
.country-search-error[hidden] { display: none !important; }
select[data-country-control][hidden], #public-applicant-country[hidden], #profile-country[hidden], #project-country[hidden] { display: none !important; }
#public-geo-review-label { min-height: 28px; font-size: 12px; line-height: 1.4; }
#public-clear-origin { justify-self: start; }
#public-geo-feedback { color: #d3e6f5; }
.radar-geo-unverified { margin-top: 5px; color: #815810; font-size: 12px; }
.radar-map-stage {
  position: absolute;
  inset: 0;
  display: block;
  min-width: 0;
  scroll-margin-top: 82px;
}
.radar-map-visual {
  --globe-center-x: .67;
  --globe-center-y: .49;
  --globe-focus-x: .59;
  --globe-focus-left: .34;
  --globe-focus-right: .78;
  position: absolute;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at 70% 43%, #173653 2%, #0a2439 43%, #081a2a 77%);
}
.radar-map-visual::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 18% 38%, #5f7a9280 0 1px, transparent 2px),
    radial-gradient(circle at 81% 24%, #8fabbd90 0 1px, transparent 2px),
    radial-gradient(circle at 15% 79%, #5f7a9280 0 1px, transparent 2px),
    radial-gradient(circle at 82% 70%, #8fabbd60 0 1px, transparent 2px),
    radial-gradient(circle at 84% 50%, #8fabbd75 0 1px, transparent 2px),
    radial-gradient(circle at 68% 13%, #84a3bd90 0 1px, transparent 2px),
    radial-gradient(ellipse at 69% 52%, #406c9140, transparent 64%);
  pointer-events: none;
  content: "";
}
.radar-map-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #081b2b 2%, #081b2bed 13%, #081b2b70 35%, transparent 56%);
  pointer-events: none;
  content: "";
}
.fundabl-globe-marker {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1.5px solid #ffc779;
  border-radius: 50%;
  outline: none;
  background: transparent;
  color: #fff5de;
  font-size: clamp(16px, 1.39vw, 22px);
  font-weight: 810;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  -webkit-text-stroke: 1px #302015;
  paint-order: stroke fill;
  text-shadow: 0 0 5px #ffe1aa, 0 0 11px #ff9e3bc0, 0 0 18px #ff7c3599;
}
.fundabl-globe-marker:is(:hover, :focus-visible, [aria-pressed="true"]) {
  z-index: 2;
  border-color: #ffe5b5;
  color: #fffaf0;
  text-shadow: 0 0 5px #fff7da, 0 0 12px #ffb34b, 0 0 23px #ff983ce0;
}
.fundabl-globe-marker:focus-visible {
  outline: none;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
@media (forced-colors: active) {
  .fundabl-globe-marker {
    border-color: ButtonText;
    color: ButtonText;
    -webkit-text-stroke: 0;
    text-shadow: none;
  }
  .fundabl-globe-marker:focus-visible {
    outline: 2px solid Highlight;
    outline-offset: -3px;
  }
}
.fundabl-globe-opportunity {
  position: absolute;
  display: grid;
  place-items: center;
  width: var(--globe-thumbnail-size, 54px);
  height: var(--globe-thumbnail-size, 54px);
  padding: 0;
  border: 2px solid #f0f9ff;
  border-radius: 50%;
  overflow: hidden;
  background: #e8edf1;
  box-shadow: 0 4px 14px #051019a8, 0 0 0 3px #e4f3ff32;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  animation: radar-thumbnail-appear 240ms ease-out both;
}
.fundabl-globe-opportunity[hidden] { display: none; }
@keyframes radar-thumbnail-appear {
  from { opacity: 0; transform: translate(-50%, -50%) scale(.82); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .fundabl-globe-opportunity { animation: none; }
}
.fundabl-globe-opportunity img { width: 100%; height: 100%; object-fit: cover; }
.fundabl-globe-opportunity.is-previewed, .fundabl-globe-opportunity:focus-visible {
  z-index: 1;
  border-color: #bde2ff;
  outline: none;
  box-shadow: 0 0 0 4px #7cb5e59e, 0 7px 20px #061019e6;
}
.fundabl-globe-markers { z-index: 1; }
.radar-map-deck {
  position: absolute;
  top: 247px;
  right: var(--radar-gutter);
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: clamp(202px, 19vw, 288px);
  max-height: calc(100% - 342px);
  min-width: 0;
  min-height: 0;
  padding: 15px;
  border: 1px solid #77879479;
  border-radius: 12px;
  background: #101d28f3;
  box-shadow: 0 16px 38px #0811187a;
}

.radar-map-deck[hidden], .radar-map-preview[hidden], .radar-map-pager[hidden] { display: none; }
.radar-map-deck h3 { margin: 0 0 11px; color: #e8f3fb; font-size: 17px; font-weight: 700; }
.radar-map-thumbnails { display: grid; gap: 6px; min-height: 0; overflow: auto; scrollbar-color: #728a9e #162837; }
.radar-map-pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  margin-bottom: 9px;
  color: #d3e1eb;
  font-size: 11px;
}
.radar-map-pager button {
  min-width: 42px;
  min-height: 42px;
  border: 1px solid #6f899e;
  border-radius: 6px;
  background: #20313f;
  color: #f1f8fd;
  font-size: 19px;
}
.radar-map-pager button:disabled { opacity: .45; cursor: default; }
.radar-map-thumbnail {
  display: grid;
  grid-template-columns: 53px minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-height: 53px;
  gap: 8px;
  padding: 4px;
  border: 1px solid #526778;
  border-radius: 7px;
  background: #1b2d3c;
  color: #f3f8fb;
  text-align: left;
}
.radar-map-thumbnail:hover, .radar-map-thumbnail:focus-visible, .radar-map-thumbnail.is-previewed { background: #283d4e; border-color: #b0d0e8; }
.radar-thumb-image {
  display: block;
  height: 43px;
  overflow: hidden;
  border-radius: 4px;
  background: #e5e9ec;
}
.radar-thumb-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.radar-thumb-text { min-width: 0; padding-right: 3px; }
.radar-thumb-text strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.radar-thumb-text small { display: block; margin-top: 2px; color: #a9c2d5; font-size: 10px; line-height: 1.25; }
.radar-map-preview {
  position: absolute;
  z-index: 5;
  right: calc(var(--radar-gutter) + clamp(202px, 19vw, 288px) + 14px);
  bottom: 136px;
  width: min(290px, 33%);
  border: 1px solid #8197a8;
  border-radius: 9px;
  background: #111f2bf7;
  color: #edf4f9;
  padding: 12px;
  box-shadow: 0 10px 30px #08111ab0;
  pointer-events: none;
  font-size: 12px;
}
.radar-map-preview strong { display: block; font-size: 13px; line-height: 1.32; }
.radar-map-preview p { margin: 4px 0 8px; color: #c3d2de; }
.radar-map-preview dl { display: grid; gap: 3px; margin: 0; }
.radar-map-preview dl div { display: grid; grid-template-columns: 70px 1fr; gap: 6px; }
.radar-map-preview dt { color: #afc4d4; }
.radar-map-preview dd { margin: 0; overflow-wrap: anywhere; }
.radar-map-empty { margin: 0; color: #c9d6e0; font-size: 12px; }
.radar-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 1060px) {
  .hero-copy h1 { font-size: clamp(37px, 4.55vw, 60px); }
  .radar-map-visual { --globe-focus-x: .55; --globe-focus-left: .33; --globe-focus-right: .74; }
}
@media (max-width: 850px) {
  .public-header { min-height: 62px; }
  .public-brand img { width: 126px; }
  .library-hero {
    --radar-gutter: 18px;
    min-height: calc(100svh - 62px);
    padding: 24px 0 10px;
  }
  .radar-map-hero { display: block; min-height: 0; padding: 0; }
  .hero-copy { width: auto; max-width: 510px; margin: 0 var(--radar-gutter) 16px; }
  .hero-copy .radar-hero-kicker { margin-bottom: 9px; }
  .hero-copy h1 { margin-bottom: 8px; font-size: clamp(35px, 8.6vw, 49px); }
  .hero-copy h1 span { display: inline; }
  .hero-copy > p:not(.radar-hero-kicker) { margin-bottom: 13px; }
  .hero-search { padding-block: 1px; }
  .hero-search-meta { margin-top: 7px; }
  .radar-hero-actions { margin-top: 13px; }
  .radar-map-panel { position: relative; display: flex; flex-direction: column; padding-top: 4px; }
  .radar-map-heading {
    position: relative;
    inset: auto;
    margin: 0 var(--radar-gutter);
    text-align: left;
  }
  .radar-map-controls { margin-top: 16px; }
  .radar-map-stage { position: relative; inset: auto; scroll-margin-top: 73px; }
  .radar-map-visual {
    --globe-center-x: .5;
    --globe-center-y: .50;
    --globe-focus-x: .5;
    --globe-focus-left: 0;
    --globe-focus-right: 1;
    position: relative;
    inset: auto;
    min-height: max(280px, 44svh);
    background: radial-gradient(ellipse at 50% 48%, #1b2a39 2%, #101c27 43%, #0a131c 76%);
  }
  .radar-map-visual::after { content: none; }
  .radar-map-deck {
    position: relative;
    inset: auto;
    width: auto;
    max-height: none;
    margin: 5px var(--radar-gutter) 12px;
    padding: 9px;
  }
  .radar-map-deck h3 { font-size: 15px; }
  .radar-map-thumbnails { display: flex; padding-bottom: 5px; scroll-snap-type: x proximity; }
  .radar-map-thumbnail { flex: 0 0 176px; scroll-snap-align: start; }
  .radar-map-preview { right: var(--radar-gutter); left: var(--radar-gutter); top: 6px; bottom: auto; width: auto; }
  .radar-origin-list button { min-height: 44px; }
  .public-library-section { padding-block: 30px; }
}
