.funding-radar { background: var(--paper-deep); }
.funding-radar, .funding-list { overflow-x: clip; overflow-y: visible; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.funding-carousel { --funding-card-width: calc((100% - 24px) / 2); width: 100%; max-width: 100%; min-width: 0; margin-top: 36px; contain: inline-size; overflow-anchor: none; }
.funding-carousel-compact { --funding-card-width: calc((100% - 48px) / 3); }
.funding-carousel-viewport { width: 100%; min-width: 0; overflow: clip; }
.funding-carousel[data-carousel-ready] .funding-carousel-viewport { transition: height 180ms ease-out; }
.funding-carousel[data-carousel-ready] .funding-carousel-track { padding-bottom: 0; scrollbar-width: none; }
.funding-carousel[data-carousel-ready] .funding-carousel-track::-webkit-scrollbar { display: none; }
.funding-carousel-progress { position: relative; height: 4px; margin-top: 16px; overflow: hidden; border-radius: 999px; background: var(--line); pointer-events: none; }
.funding-carousel-progress[hidden] { display: none; }
.funding-carousel-progress span { position: absolute; inset-block: 0; left: 0; border-radius: inherit; background: var(--brand); }
.funding-carousel-track { position: relative; display: flex; width: 100%; max-width: 100%; min-width: 0; align-items: flex-start; gap: 24px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: none; overflow-anchor: none; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: var(--brand) var(--paper); }
.funding-carousel-track > .funding-card { flex: 0 0 var(--funding-card-width); max-width: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow-wrap: anywhere; }
.funding-carousel-track:focus-visible { outline: none; }
.funding-carousel:has(.funding-carousel-track:focus-visible) .funding-carousel-viewport { outline: 2px solid var(--brand); outline-offset: 5px; border-radius: var(--radius); }
.funding-card { min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); scroll-margin-top: 110px; }
.funding-card-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.funding-region { font-size: .75rem; font-weight: 700; }
.funding-status { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 20px; font-size: .72rem; font-weight: 800; background: #eceeed; color: #37433e; }
.funding-status::before { width: 7px; height: 7px; border-radius: 50%; background: currentColor; content: ''; flex: 0 0 auto; }
.funding-status-open { color: #285e20; background: #e8f4dc; }
.funding-status-upcoming { color: #765311; background: #fff1cf; }
.funding-status-closed, .funding-status-exhausted { color: #873c30; background: #faeae6; }
.funding-card h3 { margin: 22px 0 6px; font-size: 1.3rem; line-height: 1.25; letter-spacing: -.03em; }
.funding-provider { margin: 0 0 20px; color: var(--muted); font-size: .78rem; }
.funding-card p { font-size: .88rem; line-height: 1.65; }
.funding-card .funding-amount { font-size: 1.1rem; font-weight: 800; line-height: 1.4; }
.funding-facts { margin: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; }
.funding-facts div { margin: 6px 0; }
.funding-facts dt { font-size: .72rem; font-weight: 800; color: var(--muted); }
.funding-facts dd { margin: 2px 0 0; font-size: .83rem; }
.funding-fit { font-weight: 700; }
.funding-conditions { font-size: .85rem; }
.funding-conditions p + p { padding-top: 10px; border-top: 1px solid var(--line); }
.funding-requirements { margin: 18px 0; font-size: .85rem; }
.funding-requirements summary { cursor: pointer; padding: 8px 0; font-weight: 700; }
.funding-requirements summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 3px; }
.funding-example { padding: 12px 14px; border-radius: 12px; background: var(--paper); }
.funding-card-links { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 20px; font-size: .8rem; font-weight: 800; }
.funding-card a, .funding-results a { text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.funding-card-links details { width: 100%; font-weight: 500; }
.funding-card-links summary { cursor: pointer; padding: 5px 0; }
.funding-card .funding-checked, .funding-card .funding-changed { color: var(--muted); font-size: .7rem; margin: 14px 0 0; }
.funding-card .funding-changed { margin-top: 2px; }
.funding-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.funding-note { max-width: 900px; font-size: .78rem; color: var(--ink-soft); margin-top: 24px; }
.funding-project { background: var(--ink); color: var(--white); }
.funding-project-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.funding-project h2 { margin-top: 12px; font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1.12; letter-spacing: -.04em; }
.funding-project .funding-note { color: #c7d4cc; }
.funding-project .eyebrow { color: var(--lime); }
.funding-project-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.funding-project-form label { font-size: .78rem; font-weight: 700; }
.funding-project-form select { display: block; width: 100%; min-height: 48px; margin-top: 8px; padding: 11px; border: 1px solid #91a097; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-weight: 500; }
.funding-project-form .button { align-self: end; min-height: 48px; }
.funding-project-form .button:disabled { opacity: .55; cursor: wait; }
.funding-project-form > .funding-note { grid-column: 1 / -1; margin: 0; }
.funding-results { margin-top: 28px; }
.funding-results:empty { margin: 0; }
.funding-result { margin: 18px 0; padding: 22px; color: var(--ink); background: var(--paper); border-radius: 16px; }
.funding-result h3 { font-size: 1.2rem; margin: 0 0 12px; }
.funding-result p, .funding-result li { font-size: .86rem; }
.funding-result ul { padding-left: 20px; }
.funding-inactive-title { margin-top: 70px; }
@media (max-width: 1050px) { .funding-carousel-compact { --funding-card-width: calc((100% - 24px) / 2); } .funding-project-layout { gap: 34px; } }
@media (max-width: 760px) {
  .funding-carousel, .funding-carousel-compact { --funding-card-width: 100%; }
  .funding-carousel-track { gap: 16px; }
  .funding-carousel-track > .funding-card { scroll-snap-align: center; }
  .funding-project-layout { grid-template-columns: 1fr; }
  .funding-card { padding: 22px; }
  .funding-project-form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .funding-carousel-track { scroll-behavior: auto; }
  .funding-carousel[data-carousel-ready] .funding-carousel-viewport { transition: none; }
}
