* {
    box-sizing: border-box;
}

:root {
    --bg: #f3f1eb;
    --surface: #ffffff;
    --ink: #111111;
    --muted: #6e6d68;
    --line: #d9d6cf;
    --soft: #e8e5dd;
}

html {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--bg);
}

body {
    margin: 0;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.login-page {
    background: var(--bg);
}

.login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
}

.brand-panel {
    min-height: 100vh;
    padding: 72px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--line);
}

.bird-wordmark,
.hero-bird {
    font-size: clamp(5rem, 12vw, 10rem);
    line-height: 0.82;
    letter-spacing: -0.08em;
    font-weight: 800;
}

.bird-fullname {
    margin: 34px 0 8px;
    font-size: 1.05rem;
    line-height: 1.4;
}

.bird-by {
    color: var(--muted);
    margin: 0;
}

.funding-label {
    margin-top: 80px;
    font-size: clamp(2.2rem, 4vw, 4rem);
    letter-spacing: -0.05em;
}

.login-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    background: var(--surface);
}

.login-card {
    width: min(440px, 100%);
}

.eyebrow {
    margin: 0 0 12px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.login-card h1 {
    margin: 0;
    font-size: 3rem;
    letter-spacing: -0.05em;
}

.login-intro {
    color: var(--muted);
    margin: 12px 0 36px;
}

.login-form {
    display: grid;
    gap: 10px;
}

.login-form label {
    margin-top: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.login-form input {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 0 14px;
    outline: none;
    background: #fff;
}

.login-form input:focus {
    border-color: var(--ink);
}

.login-form button,
.funding-search button {
    min-height: 52px;
    margin-top: 18px;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: #fff;
    cursor: pointer;
    padding: 0 22px;
}

.form-error {
    margin-bottom: 20px;
    padding: 13px 14px;
    border: 1px solid #a33;
    font-size: 0.9rem;
}

.home-page {
    background: var(--bg);
}

.topbar {
    height: 72px;
    padding: 0 42px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(243, 241, 235, 0.96);
}

.nav-brand {
    font-weight: 800;
    letter-spacing: -0.04em;
}

.nav-brand span {
    margin-left: 8px;
    color: var(--muted);
    font-weight: 400;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.86rem;
}

.logout-link {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.hero {
    max-width: 1440px;
    margin: 0 auto;
    padding: 90px 48px 72px;
}

.hero-brand p {
    margin: 26px 0 8px;
    color: var(--muted);
}

.hero-brand h1 {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 5rem);
    font-weight: 400;
    letter-spacing: -0.06em;
}

.funding-search {
    margin-top: 72px;
    max-width: 980px;
}

.funding-search label {
    display: block;
    margin-bottom: 15px;
    font-size: clamp(1.4rem, 2.7vw, 2.5rem);
    letter-spacing: -0.04em;
}

.search-row {
    display: grid;
    grid-template-columns: 1fr auto;
}

.search-row input {
    min-height: 66px;
    padding: 0 20px;
    border: 1px solid var(--ink);
    border-right: 0;
    background: #fff;
    outline: none;
}

.funding-search button {
    margin: 0;
    min-height: 66px;
}

.category-pills {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-pills button {
    border: 1px solid var(--line);
    background: transparent;
    border-radius: 999px;
    padding: 10px 16px;
    cursor: pointer;
}

.category-pills button:hover {
    border-color: var(--ink);
}

.recent-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 42px 48px 100px;
    border-top: 1px solid var(--line);
}

.section-heading h2 {
    margin: 0 0 30px;
    font-size: 2rem;
    letter-spacing: -0.04em;
}

.opportunity-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.opportunity-card {
    min-height: 300px;
    padding: 22px;
    border: 1px solid var(--line);
    background: var(--surface);
    display: flex;
    flex-direction: column;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.opportunity-card h3 {
    margin: 40px 0 14px;
    font-size: 1.35rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.opportunity-card p {
    color: var(--muted);
    line-height: 1.5;
}

.card-footer {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--soft);
    font-size: 0.82rem;
}

.empty-state {
    padding: 54px;
    border: 1px dashed var(--line);
    background: rgba(255,255,255,0.42);
}

.empty-state p {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.empty-state h3 {
    margin: 0 0 8px;
    font-size: 1.6rem;
}

.empty-state span {
    color: var(--muted);
}

@media (max-width: 1000px) {
    .login-shell {
        grid-template-columns: 1fr;
    }

    .brand-panel {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 48px;
    }

    .funding-label {
        margin-top: 42px;
    }

    .login-panel {
        min-height: 55vh;
    }

    .opportunity-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .topbar {
        padding: 0 20px;
    }

    .topbar-right span {
        display: none;
    }

    .brand-panel,
    .login-panel,
    .hero,
    .recent-section {
        padding-left: 22px;
        padding-right: 22px;
    }

    .search-row {
        grid-template-columns: 1fr;
    }

    .search-row input {
        border-right: 1px solid var(--ink);
    }

    .funding-search button {
        margin-top: 8px;
    }

    .opportunity-grid {
        grid-template-columns: 1fr;
    }
}

/* BIRD FUNDING HOMEPAGE START */
/* =========================================================
   BIRD FUNDING — HOMEPAGE
   ========================================================= */

.funding-home {
    --bird-bg: #f4f3ef;
    --bird-paper: #ffffff;
    --bird-text: #111111;
    --bird-muted: #74736e;
    --bird-line: #d7d5ce;
    --bird-soft: #eae8e2;

    margin: 0;
    min-height: 100vh;
    background: var(--bird-bg);
    color: var(--bird-text);
}

.funding-home * {
    box-sizing: border-box;
}

.funding-home a {
    color: inherit;
    text-decoration: none;
}

.bird-navbar {
    position: sticky;
    top: 0;
    z-index: 50;

    height: 72px;
    padding: 0 42px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    border-bottom: 1px solid var(--bird-line);
    background: rgba(244, 243, 239, 0.96);
    backdrop-filter: blur(14px);
}

.bird-navbar__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
}

.bird-navbar__mark {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.bird-navbar__word {
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.055em;
}

.bird-navbar__nav {
    display: flex;
    align-items: center;
    gap: 30px;

    color: var(--bird-muted);
    font-size: 0.78rem;
}

.bird-navbar__nav a:hover {
    color: var(--bird-text);
}

.bird-navbar__account {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 20px;

    font-size: 0.78rem;
}

.bird-navbar__user {
    color: var(--bird-muted);
}

.bird-navbar__logout {
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}

.funding-hero {
    max-width: 1460px;
    min-height: 630px;

    margin: 0 auto;
    padding: 90px 50px 72px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.funding-hero__brand {
    width: fit-content;
}

.funding-hero__birdline {
    display: flex;
    align-items: flex-end;
    gap: 24px;
}

.funding-hero__mark {
    width: clamp(84px, 9vw, 150px);
    height: clamp(84px, 9vw, 150px);
    object-fit: contain;
}

.funding-hero__bird {
    font-size: clamp(6rem, 13vw, 12rem);
    line-height: 0.76;
    font-weight: 800;
    letter-spacing: -0.09em;
}

.funding-hero__descriptor {
    margin-top: 30px;

    color: var(--bird-muted);
    font-size: clamp(0.75rem, 1vw, 0.92rem);
    letter-spacing: 0.01em;
}

.funding-hero h1 {
    margin: 8px 0 0;

    font-size: clamp(2.8rem, 5vw, 5.4rem);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.07em;
}

.funding-main-search {
    margin-top: 68px;
    width: min(100%, 1080px);
}

.funding-main-search label {
    display: block;
    margin-bottom: 16px;

    font-size: clamp(1.4rem, 2.4vw, 2.4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.funding-main-search__box {
    display: grid;
    grid-template-columns: 1fr auto;
}

.funding-main-search__box input {
    min-width: 0;
    height: 70px;

    padding: 0 22px;

    border: 1px solid var(--bird-text);
    border-right: 0;
    border-radius: 0;

    background: var(--bird-paper);
    color: var(--bird-text);

    outline: none;

    font-size: 1rem;
}

.funding-main-search__box input::placeholder {
    color: #9b9a95;
}

.funding-main-search__box button {
    min-width: 156px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;

    padding: 0 20px;

    border: 1px solid var(--bird-text);
    border-radius: 0;

    background: var(--bird-text);
    color: #ffffff;

    cursor: pointer;
}

.funding-main-search__box button:hover {
    background: #292929;
}

.funding-categories {
    margin-top: 22px;

    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.funding-category {
    padding: 9px 14px;

    border: 1px solid var(--bird-line);
    border-radius: 999px;

    color: var(--bird-muted);
    font-size: 0.78rem;

    transition: 140ms ease;
}

.funding-category:hover {
    border-color: var(--bird-text);
    color: var(--bird-text);
}

.funding-recent {
    max-width: 1460px;

    margin: 0 auto;
    padding: 60px 50px 110px;

    border-top: 1px solid var(--bird-line);
}

.funding-section-title {
    margin-bottom: 32px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.funding-section-title__eyebrow {
    display: block;
    margin-bottom: 8px;

    color: var(--bird-muted);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.funding-section-title h2 {
    margin: 0;

    font-size: clamp(2rem, 3.4vw, 3.6rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.06em;
}

.funding-section-title__link {
    padding-bottom: 4px;

    display: inline-flex;
    gap: 12px;
    align-items: center;

    border-bottom: 1px solid var(--bird-text);

    font-size: 0.82rem;
}

.funding-card-grid,
.funding-empty-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.funding-card {
    min-width: 0;
    min-height: 390px;

    display: flex;
    flex-direction: column;

    padding: 22px;

    border: 1px solid var(--bird-line);
    background: var(--bird-paper);
}

.funding-card__top {
    min-height: 20px;

    display: flex;
    justify-content: space-between;
    gap: 14px;

    color: var(--bird-muted);

    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.075em;
}

.funding-card__category {
    text-align: right;
}

.funding-card__body {
    padding-top: 46px;
}

.funding-card__body h3 {
    margin: 0;

    font-size: clamp(1.25rem, 1.7vw, 1.65rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.funding-card__entity {
    margin: 14px 0 0;

    color: var(--bird-muted);
    font-size: 0.82rem;
    line-height: 1.35;
}

.funding-card__summary {
    margin: 22px 0 0;

    color: var(--bird-muted);
    font-size: 0.83rem;
    line-height: 1.5;

    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.funding-card__facts {
    margin-top: auto;
    padding-top: 34px;

    display: grid;
    gap: 14px;
}

.funding-card__facts > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;

    padding-top: 10px;
    border-top: 1px solid var(--bird-soft);
}

.funding-card__facts span {
    color: var(--bird-muted);
    font-size: 0.67rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.funding-card__facts strong {
    text-align: right;

    font-size: 0.78rem;
    font-weight: 500;
}

.funding-card__cta {
    margin: 24px -22px -22px;
    min-height: 54px;

    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid var(--bird-line);

    font-size: 0.78rem;
}

.funding-card__cta:hover {
    background: var(--bird-text);
    color: #ffffff;
}

.funding-card--placeholder {
    background: transparent;
}

.funding-card__cta--disabled {
    color: var(--bird-muted);
}

.funding-card__cta--disabled:hover {
    background: transparent;
    color: var(--bird-muted);
}

.funding-footer {
    min-height: 110px;

    padding: 30px 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    border-top: 1px solid var(--bird-line);

    color: var(--bird-muted);
    font-size: 0.74rem;
}

.funding-footer > div {
    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--bird-text);
}

.funding-footer strong {
    font-size: 1rem;
    letter-spacing: -0.05em;
}

@media (max-width: 1050px) {
    .bird-navbar {
        grid-template-columns: 1fr auto;
    }

    .bird-navbar__nav {
        display: none;
    }

    .funding-card-grid,
    .funding-empty-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .bird-navbar {
        height: 64px;
        padding: 0 20px;
    }

    .bird-navbar__user {
        display: none;
    }

    .funding-hero {
        min-height: auto;
        padding: 72px 22px 54px;
    }

    .funding-hero__birdline {
        gap: 12px;
    }

    .funding-main-search {
        margin-top: 52px;
    }

    .funding-main-search__box {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .funding-main-search__box input {
        border-right: 1px solid var(--bird-text);
    }

    .funding-main-search__box button {
        width: 100%;
    }

    .funding-recent {
        padding: 46px 22px 76px;
    }

    .funding-section-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .funding-card-grid,
    .funding-empty-grid {
        grid-template-columns: 1fr;
    }

    .funding-footer {
        padding: 28px 22px;
        align-items: flex-start;
        flex-direction: column;
    }
}

/* BIRD FUNDING HOMEPAGE END */

/* BIRD FUNDING V2 START */

/* =========================================================
   BIRD FUNDING V2
   ========================================================= */

.bird-funding-v2 {
    --bird-bg: #f7f6f2;
    --bird-paper: #ffffff;
    --bird-text: #181818;
    --bird-muted: #74736e;
    --bird-line: #dddcd6;
    --bird-soft: #ecebe6;
    --bird-green: #6f8c4b;

    margin: 0;
    min-height: 100vh;
    background: var(--bird-bg);
    color: var(--bird-text);
    font-family: Arial, Helvetica, sans-serif;
}

.bird-funding-v2 * {
    box-sizing: border-box;
}

.bird-funding-v2 a {
    color: inherit;
    text-decoration: none;
}

.bird-funding-v2 button,
.bird-funding-v2 input,
.bird-funding-v2 select {
    font: inherit;
}

.bird-shell-nav {
    position: sticky;
    top: 0;
    z-index: 100;

    height: 70px;
    padding: 0 48px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    border-bottom: 1px solid var(--bird-line);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
}

.bird-shell-nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    width: fit-content;
}

.bird-shell-nav__brand img {
    width: 30px;
    height: 36px;
    object-fit: contain;
}

.bird-shell-nav__brand span {
    font-size: 1.45rem;
    letter-spacing: 0.28em;
    font-weight: 400;
}

.bird-shell-nav__links {
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: 0.82rem;
}

.bird-shell-nav__links a {
    color: #474747;
}

.bird-shell-nav__links a.is-active {
    color: var(--bird-green);
    font-weight: 700;
}

.bird-shell-nav__account {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 0.76rem;
}

.bird-shell-nav__account span {
    color: var(--bird-muted);
}

.bird-shell-nav__account a {
    padding-bottom: 2px;
    border-bottom: 1px solid currentColor;
}

/* HOME */

.funding-home-hero {
    min-height: 650px;
    display: flex;
    align-items: center;
}

.funding-home-hero__inner {
    width: min(100%, 1360px);
    margin: 0 auto;
    padding: 72px 52px 66px;
}

.funding-kicker {
    margin: 0 0 28px;
    color: var(--bird-green);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.funding-home-logo {
    display: block;
    width: min(100%, 850px);
    height: auto;
}

.funding-home-hero h1 {
    margin: 22px 0 0;
    font-size: clamp(3.5rem, 6vw, 6.7rem);
    line-height: 0.92;
    font-weight: 400;
    letter-spacing: -0.07em;
}

.funding-home-search {
    margin-top: 60px;
    width: min(100%, 1060px);
}

.funding-home-search label {
    display: block;
    margin-bottom: 16px;
    font-size: clamp(1.65rem, 2.8vw, 2.8rem);
    line-height: 1;
    letter-spacing: -0.045em;
}

.funding-home-search__row {
    display: grid;
    grid-template-columns: 1fr 150px;
}

.funding-home-search__row input {
    min-width: 0;
    height: 64px;
    padding: 0 20px;
    border: 1px solid var(--bird-text);
    border-right: 0;
    background: var(--bird-paper);
    outline: none;
}

.funding-home-search__row button {
    height: 64px;
    padding: 0 18px;
    border: 1px solid var(--bird-text);
    background: var(--bird-text);
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    cursor: pointer;
}

.funding-home-categories {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.funding-home-categories a {
    padding: 9px 14px;
    border: 1px solid var(--bird-line);
    border-radius: 999px;
    background: rgba(255,255,255,0.35);
    color: #525252;
    font-size: 0.74rem;
}

.funding-home-categories a:hover {
    border-color: var(--bird-text);
    color: var(--bird-text);
}

.funding-home-recent {
    width: min(100%, 1360px);
    margin: 0 auto;
    padding: 60px 52px 110px;
    border-top: 1px solid var(--bird-line);
}

.funding-home-section-heading {
    margin-bottom: 34px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.funding-home-section-heading > div > span {
    color: var(--bird-green);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.funding-home-section-heading h2 {
    margin: 8px 0 0;
    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 400;
    letter-spacing: -0.06em;
}

.funding-home-section-heading > a {
    padding-bottom: 4px;
    border-bottom: 1px solid currentColor;
    font-size: 0.78rem;
}

.funding-home-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.funding-home-card {
    min-height: 385px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--bird-line);
    background: var(--bird-paper);
}

.funding-home-card--demo {
    background: transparent;
}

.funding-home-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--bird-muted);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.funding-home-card__content {
    padding-top: 46px;
}

.funding-home-card h3 {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -0.045em;
}

.funding-home-card__entity {
    margin: 14px 0 0;
    color: var(--bird-muted);
    font-size: 0.8rem;
}

.funding-home-card__summary {
    margin: 20px 0 0;
    color: var(--bird-muted);
    font-size: 0.8rem;
    line-height: 1.45;

    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.funding-home-card__facts {
    margin-top: auto;
    padding-top: 30px;
    display: grid;
    gap: 10px;
}

.funding-home-card__facts > div {
    padding-top: 10px;
    border-top: 1px solid var(--bird-soft);
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.funding-home-card__facts span {
    color: var(--bird-muted);
    font-size: 0.64rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.funding-home-card__facts strong {
    text-align: right;
    font-size: 0.76rem;
    font-weight: 500;
}

.funding-home-card__cta {
    min-height: 52px;
    margin: 22px -20px -20px;
    padding: 0 18px;

    border-top: 1px solid var(--bird-line);

    display: flex;
    align-items: center;
    justify-content: space-between;

    font-size: 0.75rem;
}

.funding-home-card__cta:hover {
    background: var(--bird-text);
    color: #fff;
}

.funding-home-card__cta--disabled {
    color: var(--bird-muted);
}

.funding-home-card__cta--disabled:hover {
    background: transparent;
    color: var(--bird-muted);
}

.funding-v2-footer {
    min-height: 100px;
    padding: 28px 48px;
    border-top: 1px solid var(--bird-line);

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    color: var(--bird-muted);
    font-size: 0.72rem;
}

.funding-v2-footer > div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--bird-text);
}

/* SEARCH PAGE */

.funding-search-page {
    background: #fff;
}

.funding-results-shell {
    width: min(100%, 1380px);
    margin: 0 auto;
    padding: 58px 48px 100px;

    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 34px;
}

.funding-filters {
    padding-right: 20px;
    border-right: 1px solid var(--bird-line);
}

.funding-filters__heading {
    padding-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--bird-line);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
}

.funding-filter-icon {
    font-size: 0.9rem;
}

.funding-filter-summary {
    padding: 20px 0;
    display: flex;
    align-items: baseline;
    gap: 8px;
    border-bottom: 1px solid var(--bird-line);
}

.funding-filter-summary strong {
    font-size: 1.5rem;
}

.funding-filter-summary span {
    color: var(--bird-muted);
    font-size: 0.78rem;
}

.funding-filter-form {
    display: grid;
    gap: 8px;
    padding-top: 18px;
}

.funding-filter-form label,
.funding-amount-group > label {
    margin-top: 12px;
    color: #444;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.funding-filter-form input,
.funding-filter-form select {
    width: 100%;
    min-height: 42px;
    padding: 0 11px;
    border: 1px solid var(--bird-line);
    background: #fff;
    color: var(--bird-text);
    outline: none;
}

.funding-amount-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.funding-filter-submit {
    min-height: 44px;
    margin-top: 16px;
    border: 1px solid var(--bird-text);
    background: var(--bird-text);
    color: #fff;
    cursor: pointer;
}

.funding-filter-reset {
    margin-top: 4px;
    text-align: center;
    color: var(--bird-muted);
    font-size: 0.72rem;
}

.funding-results-toolbar {
    min-height: 60px;
    margin-bottom: 26px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.funding-results-tabs {
    display: flex;
    gap: 26px;
    margin-bottom: 10px;
}

.funding-results-tabs a {
    padding-bottom: 8px;
    color: var(--bird-muted);
    font-size: 0.78rem;
}

.funding-results-tabs a.is-active {
    color: var(--bird-text);
    border-bottom: 2px solid var(--bird-green);
}

.funding-results-tabs sup {
    margin-left: 4px;
    font-size: 0.58rem;
}

.funding-results-toolbar p {
    margin: 0;
    color: var(--bird-muted);
    font-size: 0.72rem;
}

.funding-sort-form {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--bird-muted);
    font-size: 0.7rem;
}

.funding-sort-form select {
    min-width: 170px;
    height: 42px;
    padding: 0 10px;
    border: 1px solid var(--bird-line);
    background: #fff;
}

.funding-results-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.funding-result-card {
    min-height: 370px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--bird-line);
    background: #fff;
}

.funding-result-card__top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--bird-muted);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.funding-result-card__body {
    padding-top: 38px;
}

.funding-result-card h2 {
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.13;
    letter-spacing: -0.035em;
}

.funding-result-card__entity {
    margin: 12px 0 0;
    color: var(--bird-muted);
    font-size: 0.76rem;
}

.funding-result-card__summary {
    margin: 16px 0 0;
    color: var(--bird-muted);
    font-size: 0.76rem;
    line-height: 1.45;

    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.funding-result-card__more {
    display: inline-block;
    margin-top: 15px;
    color: #4e6eb2;
    font-size: 0.72rem;
}

.funding-result-card__facts {
    margin-top: auto;
    padding-top: 26px;
    display: grid;
    gap: 8px;
}

.funding-result-card__facts > div {
    padding-top: 8px;
    border-top: 1px solid var(--bird-soft);
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.funding-result-card__facts span {
    color: var(--bird-muted);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.funding-result-card__facts strong {
    text-align: right;
    font-size: 0.7rem;
    font-weight: 500;
}

.funding-results-empty {
    min-height: 350px;
    padding: 70px 40px;
    border: 1px dashed var(--bird-line);
    background: var(--bird-bg);
}

.funding-results-empty > span {
    color: var(--bird-green);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.funding-results-empty h2 {
    margin: 10px 0;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: -0.04em;
}

.funding-results-empty p {
    max-width: 560px;
    color: var(--bird-muted);
    line-height: 1.5;
}

.funding-results-empty a {
    display: inline-block;
    margin-top: 14px;
    border-bottom: 1px solid currentColor;
    font-size: 0.76rem;
}

/* DETAIL */

.funding-detail {
    width: min(100%, 1240px);
    margin: 0 auto;
    padding: 54px 48px 100px;
}

.funding-detail__back {
    display: inline-block;
    margin-bottom: 38px;
    color: var(--bird-muted);
    font-size: 0.76rem;
}

.funding-detail__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 70px;
}

.funding-detail__meta {
    display: flex;
    gap: 18px;
    color: var(--bird-green);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.funding-detail__main h1 {
    max-width: 820px;
    margin: 18px 0 0;
    font-size: clamp(2.4rem, 4.6vw, 4.7rem);
    line-height: 0.98;
    font-weight: 400;
    letter-spacing: -0.06em;
}

.funding-detail__entity {
    margin: 22px 0 0;
    color: var(--bird-muted);
}

.funding-detail__summary {
    max-width: 800px;
    margin-top: 50px;
    color: #404040;
    font-size: 1rem;
    line-height: 1.7;
}

.funding-detail__official {
    display: inline-block;
    margin-top: 38px;
    padding-bottom: 4px;
    border-bottom: 1px solid currentColor;
}

.funding-detail__facts {
    padding: 24px;
    border: 1px solid var(--bird-line);
    background: #fff;
}

.funding-detail__facts h2 {
    margin: 0 0 20px;
    font-size: 1rem;
}

.funding-detail__facts dl {
    margin: 0;
}

.funding-detail__facts dl > div {
    padding: 14px 0;
    border-top: 1px solid var(--bird-soft);
}

.funding-detail__facts dt {
    color: var(--bird-muted);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.funding-detail__facts dd {
    margin: 6px 0 0;
    font-size: 0.82rem;
    line-height: 1.35;
}

@media (max-width: 1080px) {
    .funding-home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .funding-detail__layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .bird-shell-nav {
        grid-template-columns: 1fr auto;
        padding: 0 22px;
    }

    .bird-shell-nav__links {
        display: none;
    }

    .bird-shell-nav__account span {
        display: none;
    }

    .funding-home-hero__inner,
    .funding-home-recent {
        padding-left: 24px;
        padding-right: 24px;
    }

    .funding-results-shell {
        grid-template-columns: 1fr;
        padding: 34px 22px 70px;
    }

    .funding-filters {
        padding-right: 0;
        padding-bottom: 26px;
        border-right: 0;
        border-bottom: 1px solid var(--bird-line);
    }

    .funding-results-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .funding-detail {
        padding: 36px 22px 70px;
    }
}

@media (max-width: 620px) {
    .funding-home-logo {
        width: 100%;
    }

    .funding-home-search__row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .funding-home-search__row input {
        border-right: 1px solid var(--bird-text);
    }

    .funding-home-search__row button {
        width: 100%;
    }

    .funding-home-grid,
    .funding-results-grid {
        grid-template-columns: 1fr;
    }

    .funding-v2-footer {
        padding: 26px 22px;
        align-items: flex-start;
        flex-direction: column;
    }
}

/* BIRD FUNDING V2 END */

/* HERO CENTER PATCH START */

/* HERO CENTER PATCH */

.funding-home-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.funding-kicker {
    width: 100%;
    text-align: left;
    align-self: stretch;
}

.funding-home-logo {
    width: min(100%, 860px);
    margin-left: auto;
    margin-right: auto;
}

.funding-home-hero h1 {
    margin-top: 20px;
    font-size: clamp(2.2rem, 3.7vw, 4rem);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.055em;
}

.funding-home-search {
    width: min(100%, 1060px);
    text-align: left;
}

.funding-home-categories {
    width: min(100%, 1060px);
    justify-content: flex-start;
}

@media (max-width: 620px) {
    .funding-home-hero__inner {
        align-items: stretch;
        text-align: left;
    }

    .funding-home-logo {
        margin-left: 0;
        margin-right: 0;
    }
}

/* HERO CENTER PATCH END */

/* BIRD PATCH: fundo branco */
html,
body,
main {
    background: #ffffff !important;
}

.search-page,
.search-layout,
.search-content,
.search-results,
.page,
.page-content,
.site-main,
main > section {
    background-color: #ffffff !important;
}
/* END BIRD PATCH: fundo branco */


/* BIRD FUNDING — OPEN + PLANNED */
.funding-result-card.is-planned,
.funding-home-card.is-planned {
    background: #ffffff;
}

/* BIRD Funding — interest tags UI v1 */
.bird-interest-tags,
.bird-interest-detail__tags,
.bird-interest-filter__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.bird-interest-tags {
  margin-top: 14px;
  margin-bottom: 10px;
}

.bird-interest-badge,
.bird-interest-more,
.bird-interest-filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 999px;
  background: #fff;
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  color: #374151;
}

.bird-interest-more {
  color: #6b7280;
}

.bird-interest-filter {
  margin: 18px 0 24px;
  padding: 16px 18px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 16px;
  background: #fff;
}

.bird-interest-filter__heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}

.bird-interest-filter__heading strong {
  font-size: 14px;
}

.bird-interest-filter__heading span {
  font-size: 12px;
  color: #6b7280;
}

.bird-interest-filter-chip {
  cursor: pointer;
  font-family: inherit;
}

.bird-interest-filter-chip:hover,
.bird-interest-filter-chip:focus-visible,
.bird-interest-filter-chip.is-active {
  border-color: rgba(17, 24, 39, 0.42);
  background: #f6f6f3;
  color: #111827;
}

.bird-interest-detail {
  margin: 18px 0 24px;
  padding: 20px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 18px;
  background: #fff;
}

.bird-interest-detail__heading {
  margin-bottom: 12px;
}

.bird-interest-detail__heading h2 {
  margin: 3px 0 0;
  font-size: 18px;
}

.bird-interest-detail__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.bird-interest-badge.is-detail {
  min-height: 32px;
  padding: 6px 11px;
  font-size: 13px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 700px) {
  .bird-interest-filter__heading {
    display: block;
  }

  .bird-interest-filter__heading span {
    display: block;
    margin-top: 3px;
  }
}

/* BIRD Funding — filtros live + áreas multi-select v2 */
.bird-live-filter-sidebar {
  align-self: flex-start;
}

.bird-live-filter-form {
  display: flex;
  flex-direction: column;
}

.bird-live-filter-form > * {
  min-width: 0;
}

.bird-sidebar-section {
  order: -20;
  margin: 0 0 20px;
  padding: 0 0 20px;
  border: 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 0;
  background: transparent;
}

.bird-interest-filter__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.bird-interest-filter__heading strong {
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #252923;
}

.bird-interest-live-count {
  font-size: 10px;
  line-height: 1.2;
  color: #7a7f78;
  text-align: right;
}

.bird-interest-filter__chips {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}

.bird-interest-filter-chip {
  width: 100%;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  padding: 6px 8px;
  color: #3b4039;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 120ms ease,
    color 120ms ease;
}

.bird-interest-filter-chip::before {
  content: "";
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  border: 1px solid #9ca39a;
  border-radius: 3px;
  background: #fff;
  box-sizing: border-box;
}

.bird-interest-filter-chip > span {
  flex: 1 1 auto;
}

.bird-interest-filter-chip small {
  flex: 0 0 auto;
  min-width: 18px;
  color: #858b83;
  font-size: 10px;
  text-align: right;
}

.bird-interest-filter-chip:hover,
.bird-interest-filter-chip:focus-visible {
  background: #f3f5f0;
  outline: none;
}

.bird-interest-filter-chip.is-active {
  background: #edf2e8;
  color: #25331f;
  font-weight: 600;
}

.bird-interest-filter-chip.is-active::before {
  border-color: #71865f;
  background:
    linear-gradient(135deg, transparent 45%, #fff 45% 55%, transparent 55%),
    #71865f;
}

.bird-interest-filter-chip.is-active small {
  color: #52634a;
}

.bird-interest-filter.is-collapsed
  .bird-interest-filter-chip[data-extra-area="1"] {
  display: none;
}

.bird-interest-more-areas {
  margin-top: 8px;
  border: 0;
  background: transparent;
  padding: 4px 0;
  color: #66755d;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.bird-interest-more-areas:hover,
.bird-interest-more-areas:focus-visible {
  text-decoration: underline;
  outline: none;
}

/* badges nos cards — discretas para não competir com a informação principal */
.bird-interest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 8px 0 9px;
}

.bird-interest-badge,
.bird-interest-more {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border: 1px solid rgba(94, 111, 82, 0.22);
  border-radius: 999px;
  background: #f8faf6;
  padding: 3px 7px;
  color: #5a6852;
  font-size: 9px;
  line-height: 1.1;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.bird-interest-more {
  color: #7d8478;
  background: #fff;
}

/* remove espaço residual de botões submit/aplicar eventualmente escondidos */
.bird-live-filter-form button[type="submit"][hidden],
.bird-live-filter-form input[type="submit"][hidden] {
  display: none !important;
}

.bird-interest-detail {
  margin: 18px 0 24px;
  padding: 20px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 14px;
  background: #fff;
}

.bird-interest-detail__heading {
  margin-bottom: 12px;
}

.bird-interest-detail__heading h2 {
  margin: 3px 0 0;
  font-size: 18px;
}

.bird-interest-detail__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #747a72;
}

.bird-interest-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bird-interest-badge.is-detail {
  min-height: 28px;
  padding: 5px 9px;
  font-size: 11px;
}

@media (min-width: 900px) {
  .bird-live-filter-sidebar {
    position: sticky;
    top: 86px;
  }
}

/* BIRD Funding — paginação 20 por página v1 */
.bird-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 28px 0 8px;
  padding: 18px 0 4px;
  border-top: 1px solid rgba(17, 24, 39, 0.10);
}

.bird-pagination[hidden] {
  display: none !important;
}

.bird-pagination__meta {
  font-size: 11px;
  color: #737970;
}

.bird-pagination__controls {
  display: flex;
  align-items: center;
  gap: 5px;
}

.bird-pagination__button {
  min-width: 34px;
  height: 34px;
  border: 1px solid rgba(17, 24, 39, 0.13);
  border-radius: 5px;
  background: #fff;
  color: #30352e;
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
}

.bird-pagination__button:hover:not(:disabled):not(.is-active),
.bird-pagination__button:focus-visible:not(:disabled):not(.is-active) {
  border-color: #70815f;
  background: #f4f7f1;
  outline: none;
}

.bird-pagination__button.is-active {
  border-color: #6f805f;
  background: #6f805f;
  color: #fff;
  font-weight: 700;
}

.bird-pagination__button:disabled {
  opacity: 0.35;
  cursor: default;
}

.bird-pagination__dots {
  min-width: 22px;
  text-align: center;
  color: #8a9087;
}

.bird-sidebar-section {
  order: 90 !important;
  margin-top: 18px !important;
  padding-top: 18px !important;
  border-top: 1px solid rgba(17, 24, 39, 0.12) !important;
  border-bottom: 0 !important;
}

@media (max-width: 700px) {
  .bird-pagination {
    align-items: flex-start;
    flex-direction: column;
  }

  .bird-pagination__controls {
    flex-wrap: wrap;
  }
}

/* BIRD Funding — correção paginação + sidebar fluida v3 */

/* A paginação fica FORA da grelha, nunca dentro de um card. */
.bird-pagination-fixed {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  margin: 28px 0 12px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(17, 24, 39, 0.10);
  box-sizing: border-box;
}

.bird-pagination-fixed[hidden] {
  display: none !important;
}

.bird-pagination-fixed__meta {
  color: #737970;
  font-size: 11px;
}

.bird-pagination-fixed__controls {
  display: flex;
  align-items: center;
  gap: 5px;
}

.bird-pagination-fixed__button {
  min-width: 34px;
  height: 34px;
  border: 1px solid rgba(17, 24, 39, 0.13);
  border-radius: 5px;
  background: #fff;
  color: #30352e;
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
}

.bird-pagination-fixed__button:hover:not(:disabled):not(.is-active),
.bird-pagination-fixed__button:focus-visible:not(:disabled):not(.is-active) {
  border-color: #70815f;
  background: #f4f7f1;
  outline: none;
}

.bird-pagination-fixed__button.is-active {
  border-color: #6f805f;
  background: #6f805f;
  color: #fff;
  font-weight: 700;
}

.bird-pagination-fixed__button:disabled {
  opacity: 0.35;
  cursor: default;
}

.bird-pagination-fixed__dots {
  min-width: 22px;
  text-align: center;
  color: #8a9087;
}

/*
 * Sidebar fluida:
 * continua fixa no desktop, mas passa a ter scroll próprio quando é
 * maior do que o ecrã. Assim não é preciso chegar ao fundo da lista.
 */
@media (min-width: 900px) {
  .bird-live-filter-sidebar {
    position: sticky !important;
    top: 74px !important;
    max-height: calc(100vh - 88px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-gutter: stable;
    padding-right: 8px;
  }

  .bird-live-filter-sidebar::-webkit-scrollbar {
    width: 6px;
  }

  .bird-live-filter-sidebar::-webkit-scrollbar-thumb {
    background: rgba(82, 94, 75, 0.24);
    border-radius: 999px;
  }

  .bird-live-filter-sidebar::-webkit-scrollbar-track {
    background: transparent;
  }
}

/* As áreas ficam depois de TODOS os filtros normais. */
.bird-live-filter-sidebar > .bird-interest-filter {
  margin-top: 22px !important;
  margin-bottom: 10px !important;
}

/* O script antigo pode ter deixado regras para .bird-pagination. */
.bird-pagination {
  display: none !important;
}

@media (max-width: 700px) {
  .bird-pagination-fixed {
    flex-direction: column;
    align-items: flex-start;
  }

  .bird-pagination-fixed__controls {
    flex-wrap: wrap;
  }
}

/* BIRD Funding — pesquisa por nome + favoritos v1 */

.bird-name-search {
  width: 100%;
  margin: 0 0 18px;
}

.bird-name-search__label {
  display: block;
  margin: 0 0 7px;
  color: #697067;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bird-name-search__field {
  position: relative;
  width: 100%;
}

.bird-name-search__field > svg {
  position: absolute;
  z-index: 2;
  left: 15px;
  top: 50%;
  width: 18px;
  height: 18px;
  color: #7c8479;
  transform: translateY(-50%);
  pointer-events: none;
}

.bird-name-search__input {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: 8px;
  background: #fff;
  padding: 0 44px 0 44px;
  color: #242923;
  font: inherit;
  font-size: 13px;
  outline: none;
  transition:
    border-color 120ms ease,
    box-shadow 120ms ease;
}

.bird-name-search__input:focus {
  border-color: #77896a;
  box-shadow: 0 0 0 3px rgba(119, 137, 106, 0.10);
}

.bird-name-search__input::placeholder {
  color: #9a9f98;
}

.bird-card-has-favorite {
  position: relative !important;
}

.bird-favorite-button {
  position: absolute;
  z-index: 6;
  top: 13px;
  right: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  box-sizing: border-box;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #767d73;
  cursor: pointer;
  transition:
    color 120ms ease,
    background-color 120ms ease,
    border-color 120ms ease,
    transform 120ms ease;
}

.bird-favorite-button svg {
  width: 17px;
  height: 17px;
}

.bird-favorite-button:hover,
.bird-favorite-button:focus-visible {
  border-color: rgba(102, 120, 88, 0.36);
  background: #f7faf5;
  color: #647655;
  outline: none;
  transform: translateY(-1px);
}

.bird-favorite-button.is-favorite {
  border-color: rgba(102, 120, 88, 0.34);
  background: #eef3e9;
  color: #647655;
}

.bird-favorite-button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.bird-detail-favorite-host {
  position: relative;
}

.bird-favorite-button--detail {
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
}

.bird-favorite-button--detail svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 700px) {
  .bird-name-search__input {
    min-height: 44px;
  }
}

/* BIRD Funding — polish cards favoritos + beneficiário v2 */

.bird-favorite-card-shell {
  position: relative !important;
}

/*
 * A bandeira fica fixa no canto superior direito do card,
 * abaixo da linha FONTE / ESTADO para não tapar "ABERTO".
 */
.bird-favorite-card-shell > .bird-favorite-button--card-corner {
  position: absolute !important;
  z-index: 8 !important;
  top: 48px !important;
  right: 14px !important;
  left: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 1px 4px rgba(17, 24, 39, 0.05);
}

.bird-favorite-card-shell > .bird-favorite-button--card-corner svg {
  width: 16px !important;
  height: 16px !important;
}

/*
 * O texto completo do beneficiário continua guardado no DOM/title,
 * mas o card mostra apenas 3 linhas.
 */
.bird-beneficiary-row {
  align-items: flex-start !important;
}

.bird-beneficiary-value {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  overflow: hidden !important;

  line-clamp: 3;
  max-height: 4.2em !important;
  line-height: 1.4 !important;

  text-align: right !important;
  overflow-wrap: anywhere;
  word-break: normal;
}

/* Evita que beneficiários muito longos aumentem exageradamente o card. */
.bird-beneficiary-row {
  min-height: 58px;
  max-height: 76px;
  overflow: hidden;
}

/* Dá espaço visual para a bandeira sem mexer na estrutura do card. */
.bird-favorite-card-shell h2,
.bird-favorite-card-shell h3,
.bird-favorite-card-shell .title,
.bird-favorite-card-shell .card-title {
  padding-right: 34px;
}

@media (max-width: 700px) {
  .bird-favorite-card-shell > .bird-favorite-button--card-corner {
    top: 44px !important;
    right: 10px !important;
  }

  .bird-beneficiary-value {
    -webkit-line-clamp: 2 !important;
    line-clamp: 2;
    max-height: 2.8em !important;
  }
}

/* BIRD Funding — favoritos card v3: um único botão por card */
.bird-favorite-card-shell {
  position: relative !important;
}

.bird-favorite-card-shell > .bird-favorite-button--card-corner {
  position: absolute !important;
  z-index: 12 !important;
  top: 45px !important;
  right: 14px !important;
  left: auto !important;
  bottom: auto !important;
  margin: 0 !important;

  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  border: 1px solid rgba(17, 24, 39, 0.14) !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.98) !important;
  color: #737b70 !important;
  box-shadow: 0 1px 5px rgba(17, 24, 39, 0.08) !important;

  padding: 0 !important;
}

.bird-favorite-card-shell > .bird-favorite-button--card-corner svg {
  width: 15px !important;
  height: 15px !important;
  display: block !important;
}

.bird-favorite-card-shell > .bird-favorite-button--card-corner.is-favorite {
  background: #edf3e8 !important;
  border-color: #aebba5 !important;
  color: #667a57 !important;
}

/* Qualquer botão antigo que ainda tenha ficado dentro das tags/metadados desaparece. */
.bird-favorite-card-shell
  .bird-interest-tags
  .bird-favorite-button,
.bird-favorite-card-shell
  .bird-interest-more
  .bird-favorite-button {
  display: none !important;
}

/* Reserva espaço no título para o botão do canto. */
.bird-favorite-card-shell h2,
.bird-favorite-card-shell h3,
.bird-favorite-card-shell .title,
.bird-favorite-card-shell .card-title {
  padding-right: 40px !important;
}

@media (max-width: 700px) {
  .bird-favorite-card-shell > .bird-favorite-button--card-corner {
    top: 42px !important;
    right: 10px !important;
  }
}

/* BIRD Funding — tab Favoritos v1 */
.bird-favorites-tab {
  appearance: none;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  margin-left: 18px;
  padding: 0 0 8px;
  color: #5f655d;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

.bird-favorites-tab small {
  margin-left: 5px;
  color: #7d8579;
  font-size: 9px;
  vertical-align: super;
}

.bird-favorites-tab:hover,
.bird-favorites-tab:focus-visible {
  color: #546548;
  outline: none;
}

.bird-favorites-tab.is-active {
  border-bottom-color: #71865f;
  color: #283124;
  font-weight: 600;
}

.bird-todos-tab.is-inactive {
  border-bottom-color: transparent !important;
  color: #666c64 !important;
  font-weight: 400 !important;
}

.bird-todos-tab.is-active {
  color: #283124;
}

/* BIRD Funding — favoritos estáveis FINAL */
.bird-favorite-card-shell {
  position: relative !important;
}

.bird-favorite-card-shell > .bird-favorite-button {
  position: absolute !important;
  z-index: 100 !important;
  top: 46px !important;
  right: 14px !important;
  left: auto !important;
  bottom: auto !important;

  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 1px solid rgba(17, 24, 39, 0.14) !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #737b70 !important;

  box-shadow: 0 1px 5px rgba(17, 24, 39, 0.08) !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

.bird-favorite-card-shell > .bird-favorite-button:hover,
.bird-favorite-card-shell > .bird-favorite-button:focus-visible {
  background: #f4f8f1 !important;
  border-color: #99a88e !important;
  color: #617652 !important;
  outline: none !important;
}

.bird-favorite-card-shell > .bird-favorite-button.is-favorite {
  background: #e8f0e2 !important;
  border-color: #9cac91 !important;
  color: #5f754f !important;
}

.bird-favorite-card-shell > .bird-favorite-button svg {
  display: block !important;
  width: 15px !important;
  height: 15px !important;
  pointer-events: none !important;
}

.bird-favorite-card-shell > .bird-favorite-button.is-favorite .bird-flag-shape {
  fill: currentColor !important;
}

/* Nunca mostrar favoritos dentro das tags */
.bird-interest-tags .bird-favorite-button,
.bird-interest-more .bird-favorite-button {
  display: none !important;
}

/* Mantém a tab Favoritos acima de qualquer overlay */
.bird-favorites-tab {
  position: relative !important;
  z-index: 50 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

/* BIRD Funding — personalized UX v02 */

/* ---------- Navegação / recomendações ---------- */
.bird-match-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  margin-top: 14px;
  padding: 5px 9px;
  border: 1px solid #cbd4c4;
  border-radius: 999px;
  background: #f2f6ef;
  color: #53644b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
}

.bird-home-reco-note {
  max-width: 600px;
  margin: 10px 0 0;
  color: var(--bird-muted);
  font-size: 12px;
  line-height: 1.5;
}

.bird-profile-invite {
  margin: 28px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--bird-line);
  background: #fafaf7;
  color: var(--bird-muted);
  font-size: 13px;
}

.bird-profile-invite a {
  color: var(--bird-text);
  border-bottom: 1px solid currentColor;
}

/* ---------- Perfil ---------- */
.bird-profile-page {
  background: #fff;
}

.bird-profile-shell {
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 58px 48px 100px;
}

.bird-profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 64px;
  align-items: end;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--bird-line);
}

.bird-profile-eyebrow,
.bird-profile-section__head > div > span,
.bird-profile-state > span {
  color: var(--bird-green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.bird-profile-hero h1 {
  margin: 10px 0 0;
  font-size: clamp(3rem, 6vw, 5.6rem);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .95;
}

.bird-profile-hero p {
  max-width: 710px;
  margin: 22px 0 0;
  color: #555b53;
  font-size: 15px;
  line-height: 1.65;
}

.bird-profile-state {
  padding-left: 22px;
  border-left: 1px solid var(--bird-line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.bird-profile-state strong {
  margin-top: 12px;
  font-size: 46px;
  font-weight: 400;
  letter-spacing: -.06em;
}

.bird-profile-state small {
  margin-top: 2px;
  color: var(--bird-muted);
  font-size: 11px;
  line-height: 1.4;
}

.bird-profile-state a {
  margin-top: 22px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
}

.bird-profile-alert {
  margin-top: 24px;
  padding: 14px 16px;
  border: 1px solid;
  font-size: 13px;
}

.bird-profile-alert.is-success {
  border-color: #c8d3c0;
  background: #f2f6ef;
  color: #4d6244;
}

.bird-profile-alert.is-error {
  border-color: #dabfba;
  background: #fbf3f1;
  color: #7a3d34;
}

.bird-profile-form {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.bird-profile-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.bird-profile-section {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--bird-line);
  background: #fff;
}

.bird-profile-section--wide {
  padding-bottom: 30px;
}

.bird-profile-section__head {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.bird-profile-section__head > div {
  min-width: 170px;
}

.bird-profile-section__head h2 {
  margin: 6px 0 0;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.035em;
}

.bird-profile-section__head p {
  max-width: 390px;
  margin: 0;
  color: var(--bird-muted);
  font-size: 12px;
  line-height: 1.5;
}

.bird-profile-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.bird-profile-chip {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.bird-profile-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bird-profile-chip span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid #d9ddd6;
  border-radius: 999px;
  background: #fff;
  color: #555b53;
  font-size: 11px;
  line-height: 1.1;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.bird-profile-chip span::before {
  content: "+";
  color: #8c9288;
  font-size: 12px;
}

.bird-profile-chip input:checked + span {
  border-color: #829476;
  background: #edf2e9;
  color: #31402b;
}

.bird-profile-chip input:checked + span::before {
  content: "✓";
  color: #617653;
}

.bird-profile-chip input:focus-visible + span {
  outline: 2px solid #71865f;
  outline-offset: 2px;
}

.bird-profile-fields {
  display: grid;
  gap: 15px;
}

.bird-profile-field {
  display: grid;
  gap: 7px;
}

.bird-profile-field > span {
  color: var(--bird-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.bird-profile-field select,
.bird-profile-field input {
  width: 100%;
  height: 47px;
  padding: 0 12px;
  border: 1px solid #d7dad4;
  border-radius: 0;
  background: #fff;
  color: var(--bird-text);
  font: inherit;
  font-size: 13px;
  outline: none;
}

.bird-profile-field select:focus,
.bird-profile-field input:focus {
  border-color: #71865f;
}

.bird-profile-actions {
  margin-top: 10px;
  padding-top: 28px;
  border-top: 1px solid var(--bird-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.bird-profile-actions p {
  max-width: 650px;
  margin: 0;
  color: var(--bird-muted);
  font-size: 12px;
  line-height: 1.55;
}

.bird-profile-actions p strong {
  color: var(--bird-text);
}

.bird-profile-actions button {
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--bird-text);
  background: var(--bird-text);
  color: #fff;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.bird-profile-actions button:hover,
.bird-profile-actions button:focus-visible {
  background: #30342f;
  outline: none;
}

/* ---------- Detalhe: dados objetivos à esquerda ---------- */
body.funding-detail-page .funding-detail {
  width: min(100%, 1320px);
  padding-top: 46px;
}

body.funding-detail-page .funding-detail__layout {
  grid-template-columns: minmax(0, 1fr) 365px;
  gap: 52px;
  align-items: start;
}

body.funding-detail-page .funding-detail__main h1 {
  max-width: 900px;
}

.bird-native-classification {
  margin-top: 44px;
  padding: 0 0 28px;
  border-bottom: 1px solid var(--bird-line);
}

.bird-native-classification__head,
.bird-main-facts__head {
  display: flex;
  align-items: baseline;
  gap: 15px;
  margin-bottom: 14px;
}

.bird-native-classification__head > span,
.bird-main-facts__head > span,
.bird-opportunity-about > span {
  color: var(--bird-green);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.bird-native-classification__head h2,
.bird-main-facts__head h2,
.bird-opportunity-about h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.bird-native-classification__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bird-native-classification__tags > span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid #d8ddd4;
  border-radius: 999px;
  background: #f9faf7;
  color: #566051;
  font-size: 10px;
  line-height: 1;
}

.bird-main-facts {
  margin-top: 28px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--bird-line);
}

.bird-main-facts__grid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--bird-soft);
  border-left: 1px solid var(--bird-soft);
}

.bird-main-facts__grid > div {
  min-width: 0;
  min-height: 86px;
  padding: 15px 16px;
  border-right: 1px solid var(--bird-soft);
  border-bottom: 1px solid var(--bird-soft);
}

.bird-main-facts__grid > div.is-wide {
  grid-column: 1 / -1;
  min-height: auto;
}

.bird-main-facts__grid dt {
  color: var(--bird-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bird-main-facts__grid dd {
  margin: 8px 0 0;
  color: #30332f;
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.bird-opportunity-about {
  margin-top: 35px;
}

.bird-opportunity-about h2 {
  margin-top: 6px;
  font-size: 18px;
}

body.funding-detail-page .funding-detail__summary {
  max-width: 820px;
  margin-top: 16px;
  color: #444842;
  font-size: 14px;
  line-height: 1.75;
}

body.funding-detail-page .funding-detail__official {
  width: fit-content;
  min-height: 48px;
  margin-top: 28px;
  padding: 0 15px;
  border: 1px solid var(--bird-text);
  display: inline-flex;
  align-items: center;
  gap: 28px;
  color: var(--bird-text);
  font-size: 12px;
}

body.funding-detail-page .funding-detail__official:hover {
  background: var(--bird-text);
  color: #fff;
}

/* ---------- Detalhe: inteligência BIRD à direita ---------- */
.bird-compatibility-rail {
  position: sticky;
  top: 96px;
}

.bird-compat-card {
  overflow: hidden;
  border: 1px solid #c9ba69;
  background: #f1e7ad;
  color: #292b27;
}

.bird-compat-card__eyebrow {
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(67, 63, 35, .18);
  color: #625c35;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.bird-compat-card__score-row {
  padding: 22px 20px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.bird-compat-card__score {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.bird-compat-card__score strong {
  font-size: 54px;
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.07em;
}

.bird-compat-card__score span {
  color: #6c6643;
  font-size: 14px;
}

.bird-compat-card__status {
  max-width: 125px;
  padding: 6px 8px;
  border: 1px solid rgba(67, 63, 35, .22);
  background: rgba(255,255,255,.28);
  color: #4d4a31;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.bird-compat-card__status.is-partial {
  background: rgba(255,255,255,.5);
}

.bird-compat-card__score-label {
  margin: 7px 20px 0;
  color: #6b6543;
  font-size: 10px;
}

.bird-compat-card__partial-note {
  margin: 18px 20px 0;
  padding: 12px 0 0;
  border-top: 1px solid rgba(67, 63, 35, .17);
  color: #575238;
  font-size: 11px;
  line-height: 1.55;
}

.bird-compat-card__group {
  margin: 20px 20px 0;
  padding-top: 15px;
  border-top: 1px solid rgba(67, 63, 35, .17);
}

.bird-compat-card__group > span {
  color: #6b6543;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.bird-compat-card__group ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.bird-compat-card__group li {
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr);
  gap: 7px;
  align-items: start;
  font-size: 11px;
  line-height: 1.45;
}

.bird-compat-card__group li i {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(67, 63, 35, .22);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}

.bird-compat-card__group li.is-positive i {
  background: rgba(103, 127, 83, .13);
  color: #425638;
}

.bird-compat-card__group li.is-negative i {
  background: rgba(148, 80, 60, .10);
  color: #7b493d;
}

.bird-compat-card__group li.is-missing {
  color: #5f5a40;
}

.bird-compat-card__coverage {
  margin: 22px 20px 0;
  padding-top: 15px;
  border-top: 1px solid rgba(67, 63, 35, .17);
}

.bird-compat-card__coverage > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #5e593d;
  font-size: 10px;
}

.bird-compat-card__coverage strong {
  font-weight: 700;
}

.bird-compat-card__meter {
  height: 4px;
  margin-top: 9px;
  background: rgba(67, 63, 35, .14);
  overflow: hidden;
}

.bird-compat-card__meter > span {
  height: 100%;
  display: block;
  background: #606e48;
}

.bird-compat-card__disclaimer {
  margin: 18px 20px 0;
  color: #6b6543;
  font-size: 9px;
  line-height: 1.5;
}

.bird-compat-card__action {
  min-height: 50px;
  margin-top: 18px;
  padding: 0 18px;
  border-top: 1px solid rgba(67, 63, 35, .20);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #2f312a;
  font-size: 11px;
  font-weight: 600;
}

.bird-compat-card__action:hover {
  background: rgba(255,255,255,.32);
}

.bird-compat-card__empty {
  padding-top: 22px;
}

.bird-compat-card__empty > strong,
.bird-compat-card__empty > p {
  display: block;
  margin-left: 20px;
  margin-right: 20px;
}

.bird-compat-card__empty > strong {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -.03em;
}

.bird-compat-card__empty > p {
  margin-top: 10px;
  color: #625d40;
  font-size: 11px;
  line-height: 1.55;
}

/* A classificação da oportunidade passa a ser server-side nesta página. */
body.funding-detail-page > .bird-interest-detail,
body.funding-detail-page .funding-detail > .bird-interest-detail {
  display: none !important;
}

@media (max-width: 1080px) {
  body.funding-detail-page .funding-detail__layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .bird-compatibility-rail {
    position: static;
  }

  .bird-compat-card {
    max-width: 650px;
  }

  .bird-profile-hero {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .bird-profile-state {
    padding-left: 0;
    padding-top: 18px;
    border-left: 0;
    border-top: 1px solid var(--bird-line);
  }
}

@media (max-width: 820px) {
  .bird-profile-shell {
    padding: 38px 22px 70px;
  }

  .bird-profile-columns {
    grid-template-columns: 1fr;
  }

  .bird-profile-section__head {
    display: block;
  }

  .bird-profile-section__head p {
    margin-top: 10px;
  }

  .bird-profile-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .bird-profile-actions button {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .bird-main-facts__grid {
    grid-template-columns: 1fr;
  }

  .bird-main-facts__grid > div.is-wide {
    grid-column: auto;
  }

  .bird-native-classification__head,
  .bird-main-facts__head {
    display: block;
  }

  .bird-native-classification__head h2,
  .bird-main-facts__head h2 {
    margin-top: 5px;
  }

  .bird-profile-section {
    padding: 20px;
  }
}


/* BIRD Funding — requirements & eligibility v03 */
/* Compatibilidade: butter/paper muito claro, integrada com a linguagem editorial BIRD. */
.bird-compat-card {
  border-color: #e7e0c9;
  background: #faf8ef;
  color: #20211f;
}
.bird-compat-card__eyebrow {
  border-bottom-color: #e9e3d1;
  color: #73795b;
}
.bird-compat-card__score span,
.bird-compat-card__score-label,
.bird-compat-card__group > span,
.bird-compat-card__coverage > div:first-child,
.bird-compat-card__disclaimer,
.bird-compat-card__empty > p { color: #666854; }
.bird-compat-card__status {
  border-color: #dcd6c1;
  background: rgba(255,255,255,.72);
  color: #5f674c;
}
.bird-compat-card__partial-note,
.bird-compat-card__group,
.bird-compat-card__coverage,
.bird-compat-card__action { border-color: #e9e3d1; }
.bird-compat-card__partial-note { color: #5e604f; }
.bird-compat-card__group li i { border-color: #ddd7c3; background: rgba(255,255,255,.52); }
.bird-compat-card__group li.is-positive i { background: #f0f3e9; color: #536545; }
.bird-compat-card__group li.is-negative i { background: #f8efec; color: #855446; }
.bird-compat-card__group li.is-missing { color: #61624f; }
.bird-compat-card__meter { background: #e8e2cf; }
.bird-compat-card__meter > span { background: #87936b; }
.bird-compat-card__action:hover { background: rgba(255,255,255,.75); }

.bird-eligibility-card {
  margin-top: 14px;
  border: 1px solid var(--bird-line, #deded8);
  background: #fff;
  color: #22231f;
}
.bird-eligibility-card__head { padding: 18px 20px 16px; border-bottom: 1px solid var(--bird-line, #deded8); }
.bird-eligibility-card__head > span { color: #777d5d; font-size: 8px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.bird-eligibility-card__head h3 { margin: 7px 0 0; font-size: 20px; font-weight: 500; letter-spacing: -.03em; }
.bird-eligibility-card__counts { padding: 18px 20px; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; border-bottom: 1px solid var(--bird-line, #deded8); }
.bird-eligibility-card__counts div { min-width: 0; }
.bird-eligibility-card__counts strong { display: block; font-size: 25px; font-weight: 400; letter-spacing: -.04em; }
.bird-eligibility-card__counts span { display: block; margin-top: 3px; color: #777; font-size: 8px; text-transform: uppercase; letter-spacing: .05em; }
.bird-eligibility-card__list { margin: 0; padding: 16px 20px; list-style: none; display: grid; gap: 9px; }
.bird-eligibility-card__list li { display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 7px; font-size: 10px; line-height: 1.4; }
.bird-eligibility-card__list i { width: 17px; height: 17px; border: 1px solid #ddd; border-radius: 50%; display: inline-flex; align-items:center; justify-content:center; font-size: 9px; font-style: normal; }
.bird-eligibility-card__list .is-fulfilled i { background:#f0f3e9; color:#536545; }
.bird-eligibility-card__list .is-failed i { background:#f8efec; color:#855446; }
.bird-eligibility-card__list .is-unknown i { background:#f7f5ed; color:#6a6859; }
.bird-eligibility-card__empty { padding: 18px 20px; color:#666; font-size:10px; line-height:1.55; }
.bird-eligibility-card__note { margin:0; padding: 0 20px 16px; color:#777; font-size:9px; line-height:1.5; }
.bird-eligibility-card__action { min-height:48px; padding:0 18px; border-top:1px solid var(--bird-line,#deded8); display:flex; align-items:center; justify-content:space-between; gap:14px; font-size:11px; font-weight:600; color:#222; }
.bird-eligibility-card__action:hover { background:#f8f8f5; }

.bird-requirements-shell { width:min(1180px,calc(100% - 44px)); margin:0 auto; padding:42px 0 80px; }
.bird-requirements-back { display:inline-flex; margin-bottom:34px; color:#222; font-size:11px; }
.bird-requirements-hero { display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:70px; align-items:end; padding-bottom:36px; border-bottom:1px solid var(--bird-line,#deded8); }
.bird-requirements-hero h1 { margin:7px 0 0; font-size:clamp(44px,5vw,72px); font-weight:400; line-height:.95; letter-spacing:-.055em; }
.bird-requirements-hero p { margin:16px 0 0; max-width:700px; color:#666; font-size:13px; line-height:1.5; }
.bird-eligibility-summary { padding:18px; border:1px solid #deded8; background:#fafafa; }
.bird-eligibility-summary > span { display:block; color:#777d5d; font-size:8px; font-weight:800; letter-spacing:.1em; }
.bird-eligibility-summary > strong { display:block; margin-top:9px; font-size:20px; font-weight:500; letter-spacing:-.03em; }
.bird-eligibility-summary > div { margin-top:13px; font-size:10px; line-height:1.5; }
.bird-eligibility-summary > small { display:block; margin-top:7px; color:#777; font-size:9px; }
.bird-eligibility-summary.is-negative { border-color:#e8d4cd; background:#fbf5f3; }
.bird-eligibility-summary.is-pending { border-color:#e7e0c9; background:#faf8ef; }
.bird-eligibility-summary.is-positive { border-color:#dce4d4; background:#f6f8f2; }
.bird-requirements-layout { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:54px; align-items:start; margin-top:42px; }
.bird-requirements-section-head { display:flex; justify-content:space-between; gap:30px; margin-bottom:20px; }
.bird-requirements-section-head > div { display:flex; align-items:baseline; gap:12px; }
.bird-requirements-section-head > div > span { color:#838b65; font-size:9px; font-weight:800; }
.bird-requirements-section-head h2 { margin:0; font-size:24px; font-weight:500; letter-spacing:-.035em; }
.bird-requirements-section-head > p { max-width:370px; margin:0; color:#777; font-size:10px; line-height:1.5; }
.bird-requirements-empty { padding:26px; border:1px solid var(--bird-line,#deded8); background:#fafafa; }
.bird-requirements-empty strong { font-size:16px; font-weight:500; }
.bird-requirements-empty p { margin:9px 0 0; color:#777; font-size:11px; line-height:1.6; }
.bird-requirement-card { margin-top:12px; border:1px solid var(--bird-line,#deded8); background:#fff; }
.bird-requirement-card > header { padding:19px 20px; display:flex; justify-content:space-between; gap:20px; border-bottom:1px solid var(--bird-line,#deded8); }
.bird-requirement-card > header span { color:#7a8061; font-size:8px; font-weight:800; letter-spacing:.08em; }
.bird-requirement-card > header h3 { margin:6px 0 0; font-size:17px; font-weight:500; letter-spacing:-.025em; }
.bird-requirement-card > header em { flex:0 0 auto; font-size:9px; font-style:normal; font-weight:700; text-transform:uppercase; letter-spacing:.04em; }
.bird-requirement-card.is-fulfilled > header em { color:#536545; }
.bird-requirement-card.is-failed > header em { color:#855446; }
.bird-requirement-card.is-unknown > header em { color:#77705a; }
.bird-requirement-card__description { margin:0; padding:16px 20px 0; color:#555; font-size:11px; line-height:1.6; }
.bird-requirement-card blockquote { margin:15px 20px 0; padding:11px 13px; border-left:2px solid #d9d3bd; background:#faf8ef; color:#666; font-size:10px; line-height:1.55; }
.bird-requirement-answer { padding:18px 20px; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px 18px; align-items:end; }
.bird-requirement-answer label > span, .bird-requirements-admin label > span { display:block; margin-bottom:7px; color:#686868; font-size:9px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }
.bird-requirement-answer input, .bird-requirement-answer select, .bird-requirements-admin input, .bird-requirements-admin select, .bird-requirements-admin textarea { width:100%; min-height:42px; border:1px solid #d8d8d2; background:#fff; padding:9px 10px; border-radius:0; color:#222; font:inherit; font-size:11px; }
.bird-requirements-admin textarea { resize:vertical; }
.bird-requirement-answer button, .bird-requirements-admin form > button { min-height:42px; border:1px solid #222; background:#222; color:#fff; padding:0 14px; font-size:10px; cursor:pointer; }
.bird-requirement-answer__meta { grid-column:1/-1; display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; color:#818181; font-size:9px; }
.bird-requirement-delete { padding:0 20px 14px; }
.bird-requirement-delete button { padding:0; border:0; background:transparent; color:#9a6658; font-size:9px; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.bird-requirements-admin { position:sticky; top:92px; border:1px solid var(--bird-line,#deded8); background:#fafafa; }
.bird-requirements-admin__head { padding:18px; border-bottom:1px solid var(--bird-line,#deded8); }
.bird-requirements-admin__head > span { color:#7a8061; font-size:8px; font-weight:800; letter-spacing:.1em; }
.bird-requirements-admin__head h2 { margin:7px 0 0; font-size:20px; font-weight:500; }
.bird-requirements-admin__head p { margin:8px 0 0; color:#777; font-size:10px; line-height:1.5; }
.bird-requirements-admin > form { padding:18px; display:grid; gap:13px; }
.bird-requirements-admin label small { display:block; margin-top:5px; color:#8b8b8b; font-size:8px; line-height:1.4; }
.bird-admin-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.bird-admin-checks { display:grid; gap:7px; }
.bird-admin-checks label { display:flex; align-items:center; gap:8px; color:#555; font-size:10px; }
.bird-admin-checks input { width:auto; min-height:0; }
.bird-requirements-disclaimer { margin:34px 0 0; padding-top:18px; border-top:1px solid var(--bird-line,#deded8); color:#777; font-size:9px; line-height:1.6; }

.bird-profile-facts { margin-top:18px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; background:var(--bird-line,#deded8); border:1px solid var(--bird-line,#deded8); }
.bird-profile-fact { min-height:92px; padding:16px; background:#fff; }
.bird-profile-fact span { display:block; color:#7a8061; font-size:8px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; overflow-wrap:anywhere; }
.bird-profile-fact strong { display:block; margin-top:9px; font-size:17px; font-weight:500; }
.bird-profile-fact small { display:block; margin-top:5px; color:#888; font-size:8px; }
.bird-profile-facts-empty { margin-top:16px; padding:18px; border:1px dashed #d9d9d2; color:#777; font-size:10px; line-height:1.5; }

@media (max-width:1080px) {
  .bird-requirements-hero, .bird-requirements-layout { grid-template-columns:1fr; gap:30px; }
  .bird-requirements-admin { position:static; }
}
@media (max-width:720px) {
  .bird-requirements-shell { width:min(100% - 28px,1180px); padding-top:30px; }
  .bird-requirements-section-head { display:block; }
  .bird-requirements-section-head > p { margin-top:10px; }
  .bird-requirement-answer { grid-template-columns:1fr; }
  .bird-requirement-answer__meta { grid-column:auto; }
  .bird-admin-grid, .bird-profile-facts { grid-template-columns:1fr; }
}

/* BIRD Funding — multi-profile v04 */
.bird-profile-switcher{display:flex;align-items:center;gap:7px;margin-left:auto;padding:0 10px;border-left:1px solid #e5e5df;border-right:1px solid #e5e5df;min-height:34px}
.bird-profile-switcher>span{font-size:7px;font-weight:800;letter-spacing:.12em;color:#8a8d74}
.bird-profile-switcher select{appearance:none;border:0;background:transparent;padding:5px 20px 5px 5px;max-width:180px;font:600 10px/1.2 inherit;color:#24251f;cursor:pointer;background-image:linear-gradient(45deg,transparent 50%,#777 50%),linear-gradient(135deg,#777 50%,transparent 50%);background-position:calc(100% - 9px) 50%,calc(100% - 5px) 50%;background-size:4px 4px,4px 4px;background-repeat:no-repeat}
.bird-profile-switcher>a{font-size:12px;color:#777;text-decoration:none;padding:4px}
.bird-v04-active-profile-note{margin-top:5px;font-size:9px;font-weight:650;color:#6f7657}.bird-v04-hero-actions{display:flex;gap:18px;margin-top:20px}.bird-v04-hero-actions a{font-size:10px;font-weight:650;color:#25261f;text-decoration:none;border-bottom:1px solid #bfc1a7;padding-bottom:2px}
.bird-v04-profile-identity{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:18px;padding:22px;border:1px solid #deded8;background:#fafaf7}.bird-v04-profile-identity>div>span,.bird-v04-profile-identity>label>span{display:block;font-size:8px;font-weight:800;letter-spacing:.1em;color:#7a805f}.bird-v04-profile-identity label{display:grid;gap:7px;font-size:9px;color:#666}.bird-v04-profile-identity input,.bird-v04-profile-identity textarea,.bird-v04-org-grid input,.bird-v04-org-grid select{width:100%;box-sizing:border-box;border:1px solid #dcdcd5;background:#fff;padding:10px 11px;font:inherit;color:#222}
.bird-v04-org-section{background:#fbfbf8}.bird-v04-org-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:14px;margin-top:18px}.bird-v04-org-grid label{display:grid;gap:7px;font-size:9px;color:#666}.bird-v04-capabilities{margin-top:22px;padding-top:18px;border-top:1px solid #e4e4de}.bird-v04-capabilities>span{display:block;margin-bottom:12px;font-size:8px;font-weight:800;letter-spacing:.1em;color:#7a805f}.bird-v04-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}.bird-v04-facts>div{padding:12px;border:1px solid #e1e1db;background:#fff}.bird-v04-facts span{display:block;color:#777;font-size:8px}.bird-v04-facts strong{display:block;margin-top:5px;font-size:11px;font-weight:600}
.bird-v04-profiles-shell{width:min(1180px,calc(100% - 48px));margin:54px auto 90px}.bird-v04-profiles-shell>header>span,.bird-v04-create-profile>div>span{font-size:8px;font-weight:800;letter-spacing:.12em;color:#7a805f}.bird-v04-profiles-shell>header h1{margin:8px 0 9px;font-size:42px;font-weight:420;letter-spacing:-.045em}.bird-v04-profiles-shell>header p{max-width:680px;color:#666;font-size:11px;line-height:1.6}.bird-v04-profile-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:34px}.bird-v04-profile-card{border:1px solid #deded8;background:#fff;display:grid;grid-template-rows:1fr auto auto}.bird-v04-profile-card.is-active{border-color:#bfc5a7;background:#fafbf6}.bird-v04-profile-card__top{padding:20px}.bird-v04-profile-card__top>span{font-size:8px;font-weight:800;letter-spacing:.1em;color:#7a805f}.bird-v04-profile-card__top>strong{display:block;margin-top:9px;font-size:21px;font-weight:500;letter-spacing:-.03em}.bird-v04-profile-card__top>p{min-height:32px;margin:9px 0 0;color:#777;font-size:9px;line-height:1.5}.bird-v04-profile-card__stats{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #e5e5df;border-bottom:1px solid #e5e5df}.bird-v04-profile-card__stats span{padding:11px 9px;font-size:8px;color:#777;text-align:center;border-right:1px solid #e5e5df}.bird-v04-profile-card__stats span:last-child{border-right:0}.bird-v04-profile-card__stats b{display:block;font-size:15px;font-weight:500;color:#222}.bird-v04-profile-card__actions{display:flex;align-items:stretch}.bird-v04-profile-card__actions form{flex:1}.bird-v04-profile-card__actions button,.bird-v04-profile-card__actions a{display:flex;width:100%;min-height:42px;box-sizing:border-box;align-items:center;justify-content:center;border:0;border-right:1px solid #e5e5df;background:transparent;color:#25261f;font:600 9px/1 inherit;text-decoration:none;cursor:pointer}.bird-v04-profile-card__actions form:last-child button{border-right:0}.bird-v04-profile-card__actions .is-danger{color:#8b5a4d}.bird-v04-profile-card__actions button:hover,.bird-v04-profile-card__actions a:hover{background:#f7f7f3}.bird-v04-create-profile{display:grid;grid-template-columns:1fr 1fr;gap:35px;margin-top:34px;padding:28px;border:1px solid #deded8;background:#fafaf7}.bird-v04-create-profile h2{margin:8px 0;font-size:25px;font-weight:450;letter-spacing:-.035em}.bird-v04-create-profile p{font-size:10px;color:#777;line-height:1.55}.bird-v04-create-profile form{display:grid;gap:12px}.bird-v04-create-profile label{display:grid;gap:6px;font-size:9px;color:#666}.bird-v04-create-profile input,.bird-v04-create-profile textarea{border:1px solid #dcdcd5;background:#fff;padding:10px;font:inherit}.bird-v04-create-profile button{min-height:43px;border:1px solid #25261f;background:#25261f;color:#fff;font:650 9px/1 inherit;cursor:pointer}
@media(max-width:900px){.bird-profile-switcher{order:4;width:100%;border:0;border-top:1px solid #e5e5df;padding:8px 0}.bird-profile-switcher select{max-width:none;flex:1}.bird-v04-profile-cards{grid-template-columns:1fr 1fr}.bird-v04-profile-identity,.bird-v04-create-profile{grid-template-columns:1fr}.bird-v04-org-grid{grid-template-columns:1fr 1fr}.bird-v04-facts{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.bird-v04-profiles-shell{width:min(100% - 28px,1180px);margin-top:30px}.bird-v04-profile-cards{grid-template-columns:1fr}.bird-v04-org-grid,.bird-v04-facts{grid-template-columns:1fr}}

/* BIRD Funding — profiles UI v05 LOCAL */
.bird-funding-v2{--bird-ink:#1d1e1a;--bird-muted:#6f7169;--bird-line:#e5e5de;--bird-soft:#f8f8f4;--bird-soft-2:#fbfbf8;--bird-accent:#768054;--bird-accent-soft:#f3f5ec}
.bird-profile-page--v05 .bird-shell-nav,.bird-profiles-page--v05 .bird-shell-nav{min-height:68px;padding-top:0;padding-bottom:0}
.bird-profile-switcher--v05{display:flex!important;align-items:center;gap:10px;margin-left:18px!important;padding:0 0 0 18px!important;border:0!important;border-left:1px solid var(--bird-line)!important;min-height:32px!important;white-space:nowrap}
.bird-profile-switcher--v05 .bird-profile-switcher__label{font-size:8px!important;font-weight:700!important;letter-spacing:.08em!important;text-transform:uppercase;color:#8a8c82!important}
.bird-profile-switcher--v05 .bird-profile-switcher__control{position:relative;display:inline-flex;align-items:center}
.bird-profile-switcher--v05 select{appearance:none!important;min-width:150px;max-width:220px!important;border:0!important;border-bottom:1px solid #cfd1c3!important;border-radius:0!important;background:transparent!important;padding:6px 22px 6px 2px!important;font-size:10px!important;font-weight:600!important;color:var(--bird-ink)!important;cursor:pointer;background-image:linear-gradient(45deg,transparent 50%,#71756b 50%),linear-gradient(135deg,#71756b 50%,transparent 50%)!important;background-position:calc(100% - 8px) 52%,calc(100% - 4px) 52%!important;background-size:4px 4px!important;background-repeat:no-repeat!important}
.bird-profile-switcher--v05 .bird-profile-switcher__manage{font-size:9px!important;font-weight:600!important;color:#676b5b!important;text-decoration:none!important;border-bottom:1px solid #cfd1c3;padding-bottom:2px}
.bird-profile-v05-shell,.bird-profiles-v05-shell{width:min(1120px,calc(100% - 56px));margin:0 auto 96px;padding-top:62px;color:var(--bird-ink)}
.bird-kicker{display:block;font-size:8px;font-weight:800;letter-spacing:.14em;color:var(--bird-accent)}
.bird-text-link{font-size:10px;font-weight:650;color:var(--bird-ink);text-decoration:none;border-bottom:1px solid #c4c8b1;padding-bottom:3px}
.bird-profile-v05-hero{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:70px;align-items:end;padding-bottom:40px;border-bottom:1px solid var(--bird-line)}
.bird-profile-v05-hero__copy h1{max-width:740px;margin:10px 0 12px;font-size:58px;line-height:.97;font-weight:420;letter-spacing:-.055em}
.bird-profile-v05-hero__copy p{max-width:670px;margin:0;color:var(--bird-muted);font-size:12px;line-height:1.65}
.bird-profile-v05-hero__actions{display:flex;gap:24px;margin-top:22px}
.bird-profile-v05-status{display:flex;gap:13px;align-items:flex-start;padding:0 0 4px 22px;border-left:1px solid var(--bird-line)}
.bird-profile-v05-status__dot{width:7px;height:7px;border-radius:50%;margin-top:5px;background:var(--bird-accent)}
.bird-profile-v05-status div{display:grid}.bird-profile-v05-status small{font-size:8px;font-weight:800;letter-spacing:.1em;color:var(--bird-accent)}.bird-profile-v05-status strong{margin-top:6px;font-size:38px;line-height:1;font-weight:430;letter-spacing:-.05em}.bird-profile-v05-status span{margin-top:2px;font-size:9px;color:#73756e}.bird-profile-v05-status em{margin-top:10px;font-size:9px;font-style:normal;font-weight:600;color:#33352f}
.bird-profile-alert{margin:22px 0 0;padding:11px 14px;border:1px solid var(--bird-line);font-size:10px}.bird-profile-alert.is-success{background:#f6f8f0;border-color:#d8dec7;color:#4e5835}.bird-profile-alert.is-error{background:#faf2ef;border-color:#ead8d2;color:#7f4f43}
.bird-profile-v05-form{display:grid;gap:18px;margin-top:28px}
.bird-profile-v05-introcard,.bird-profile-v05-section,.bird-profile-v05-organization{border:1px solid var(--bird-line);background:#fff}
.bird-profile-v05-introcard{display:grid;grid-template-columns:.78fr 1.22fr;gap:42px;padding:30px 32px;background:var(--bird-soft-2)}
.bird-profile-v05-introcard__heading>span,.bird-profile-v05-section__head>div>span,.bird-profile-v05-capabilities>div>span{font-size:8px;font-weight:800;letter-spacing:.12em;color:var(--bird-accent)}
.bird-profile-v05-introcard__heading h2,.bird-profile-v05-section__head h2,.bird-profile-v05-organization h2{margin:7px 0 8px;font-size:25px;line-height:1.04;font-weight:460;letter-spacing:-.035em}.bird-profile-v05-introcard__heading p,.bird-profile-v05-section__head p,.bird-profile-v05-organization__intro p{margin:0;color:var(--bird-muted);font-size:10px;line-height:1.55}
.bird-profile-v05-fields{display:grid;gap:14px}.bird-profile-v05-fields--identity{grid-template-columns:.9fr 1.5fr}.bird-profile-v05-fields--org{grid-template-columns:1.35fr 1fr .8fr}
.bird-field{display:grid;gap:7px}.bird-field>span{font-size:8px;font-weight:700;letter-spacing:.04em;color:#6e7068}.bird-field input,.bird-field textarea,.bird-field select{width:100%;box-sizing:border-box;border:1px solid #d9dad3;border-radius:0;background:#fff;padding:12px 13px;font:500 11px/1.4 inherit;color:var(--bird-ink);outline:none;transition:border-color .15s,box-shadow .15s}.bird-field textarea{resize:vertical}.bird-field input:focus,.bird-field textarea:focus,.bird-field select:focus{border-color:#aeb59a;box-shadow:0 0 0 3px rgba(118,128,84,.08)}
.bird-profile-v05-section{padding:28px 32px}.bird-profile-v05-section--primary{padding-bottom:31px}.bird-profile-v05-section__head{display:flex;justify-content:space-between;gap:34px;align-items:flex-start;margin-bottom:22px}.bird-profile-v05-section__head>div{min-width:240px}.bird-profile-v05-section__head p{max-width:360px;text-align:right}
.bird-option-grid{display:flex;flex-wrap:wrap;gap:8px}.bird-option-chip{position:relative;display:inline-flex;cursor:pointer}.bird-option-chip input{position:absolute;opacity:0;pointer-events:none}.bird-option-chip span{display:inline-flex;align-items:center;min-height:31px;padding:0 13px;border:1px solid #dedfd8;border-radius:999px;background:#fff;color:#5e6159;font-size:9px;font-weight:550;transition:.15s}.bird-option-chip span:before{content:'+';margin-right:6px;color:#9a9c94}.bird-option-chip input:checked+span{border-color:#aeb79b;background:var(--bird-accent-soft);color:#3f4830}.bird-option-chip input:checked+span:before{content:'✓';color:var(--bird-accent);font-weight:800}.bird-option-chip:hover span{border-color:#bbc0ae}
.bird-profile-v05-split{display:grid;grid-template-columns:1fr 1fr;gap:18px}.bird-profile-v05-split .bird-profile-v05-section__head{display:block}.bird-profile-v05-split .bird-profile-v05-section__head p{max-width:none;text-align:left;margin-top:7px}
.bird-profile-v05-organization{display:grid;grid-template-columns:.72fr 1.28fr;background:var(--bird-soft-2)}.bird-profile-v05-organization__intro{padding:32px;border-right:1px solid var(--bird-line)}.bird-profile-v05-organization__body{padding:32px}.bird-profile-v05-capabilities{margin-top:24px;padding-top:21px;border-top:1px solid var(--bird-line)}.bird-profile-v05-capabilities>div:first-child{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:14px}.bird-profile-v05-capabilities small{max-width:440px;color:#888a82;font-size:8px;line-height:1.45;text-align:right}
.bird-profile-v05-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.bird-profile-v05-facts article{min-height:86px;padding:15px;border:1px solid var(--bird-line);background:var(--bird-soft-2);display:grid;align-content:start}.bird-profile-v05-facts article>span{font-size:8px;color:#75786e;word-break:break-word}.bird-profile-v05-facts strong{margin-top:7px;font-size:15px;font-weight:520}.bird-profile-v05-facts small{margin-top:10px;font-size:7px;font-weight:800;letter-spacing:.08em;color:var(--bird-accent)}
.bird-profile-v05-savebar{position:sticky;bottom:14px;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:6px;padding:15px 16px 15px 20px;border:1px solid #d8d9d0;background:rgba(250,250,247,.96);backdrop-filter:blur(8px);box-shadow:0 8px 30px rgba(20,20,15,.06)}.bird-profile-v05-savebar div{display:grid}.bird-profile-v05-savebar strong{font-size:11px;font-weight:650}.bird-profile-v05-savebar span{margin-top:3px;font-size:8px;color:#777a72}.bird-profile-v05-savebar button,.bird-button-primary{min-height:42px;border:1px solid #20211d;background:#20211d;color:#fff;padding:0 20px;font:650 9px/1 inherit;cursor:pointer}.bird-profile-v05-savebar button:hover,.bird-button-primary:hover{background:#33352e}
.bird-profiles-v05-hero{display:flex;justify-content:space-between;gap:50px;align-items:end;padding-bottom:38px;border-bottom:1px solid var(--bird-line)}.bird-profiles-v05-hero h1{max-width:780px;margin:10px 0 12px;font-size:50px;line-height:1;font-weight:430;letter-spacing:-.05em}.bird-profiles-v05-hero p{max-width:720px;margin:0;color:var(--bird-muted);font-size:11px;line-height:1.6}.bird-profiles-v05-hero p strong{font-weight:650;color:#343630}
.bird-profiles-v05-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:30px}.bird-profile-v05-card{display:grid;grid-template-rows:auto 1fr auto auto;min-height:310px;border:1px solid var(--bird-line);background:#fff}.bird-profile-v05-card.is-active{border-color:#b9c09f;background:#fbfcf7}.bird-profile-v05-card__header{display:flex;justify-content:space-between;gap:16px;padding:22px 22px 0}.bird-profile-v05-card__header span{font-size:7px;font-weight:800;letter-spacing:.12em;color:var(--bird-accent)}.bird-profile-v05-card__header h2{margin:8px 0 0;font-size:24px;line-height:1.05;font-weight:480;letter-spacing:-.04em}.bird-profile-v05-card__header>b{align-self:start;padding:5px 7px;border:1px solid #cbd1ba;background:#f2f5e9;color:#59633e;font-size:7px;letter-spacing:.1em}.bird-profile-v05-card__description{margin:15px 22px 22px;color:#777a72;font-size:9px;line-height:1.55}.bird-profile-v05-card__stats{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--bird-line);border-bottom:1px solid var(--bird-line)}.bird-profile-v05-card__stats div{padding:13px 10px;border-right:1px solid var(--bird-line);text-align:center}.bird-profile-v05-card__stats div:last-child{border-right:0}.bird-profile-v05-card__stats strong{display:block;font-size:19px;font-weight:480}.bird-profile-v05-card__stats span{display:block;margin-top:2px;color:#85877f;font-size:7px}.bird-profile-v05-card__actions{display:flex}.bird-profile-v05-card__actions form{display:flex;flex:1}.bird-profile-v05-card__actions button,.bird-profile-v05-card__actions a{display:flex;flex:1;align-items:center;justify-content:center;min-height:45px;border:0;border-right:1px solid var(--bird-line);background:transparent;color:#4d5048;font:650 8px/1 inherit;text-decoration:none;cursor:pointer}.bird-profile-v05-card__actions .is-primary{color:#25271f;background:#fafbf6}.bird-profile-v05-card__actions .is-danger{color:#8b5d51}.bird-profile-v05-card__actions button:hover,.bird-profile-v05-card__actions a:hover{background:#f6f6f2}
.bird-profiles-v05-create{display:grid;grid-template-columns:.8fr 1.2fr;gap:52px;margin-top:32px;padding:32px;border:1px solid var(--bird-line);background:var(--bird-soft-2)}.bird-profiles-v05-create h2{margin:8px 0;font-size:27px;font-weight:460;letter-spacing:-.035em}.bird-profiles-v05-create p{margin:0;max-width:460px;color:var(--bird-muted);font-size:10px;line-height:1.55}.bird-profiles-v05-create form{display:grid;grid-template-columns:1fr 1.3fr;gap:12px;align-items:end}.bird-profiles-v05-create .bird-button-primary{grid-column:1/-1;justify-self:end;min-width:170px}
@media(max-width:980px){.bird-profile-v05-hero{grid-template-columns:1fr;gap:28px}.bird-profile-v05-status{border-left:0;border-top:1px solid var(--bird-line);padding:18px 0 0}.bird-profile-v05-organization{grid-template-columns:1fr}.bird-profile-v05-organization__intro{border-right:0;border-bottom:1px solid var(--bird-line)}.bird-profile-v05-fields--identity,.bird-profile-v05-fields--org{grid-template-columns:1fr 1fr}.bird-profiles-v05-grid{grid-template-columns:1fr 1fr}.bird-profiles-v05-create{grid-template-columns:1fr}.bird-profile-switcher--v05 .bird-profile-switcher__label{display:none}}
@media(max-width:720px){.bird-profile-v05-shell,.bird-profiles-v05-shell{width:min(100% - 28px,1120px);padding-top:34px}.bird-profile-v05-hero__copy h1{font-size:42px}.bird-profile-v05-introcard,.bird-profile-v05-split,.bird-profile-v05-fields--identity,.bird-profile-v05-fields--org,.bird-profiles-v05-grid,.bird-profiles-v05-create form{grid-template-columns:1fr}.bird-profile-v05-introcard{gap:24px}.bird-profile-v05-section__head{display:block}.bird-profile-v05-section__head p{max-width:none;text-align:left;margin-top:8px}.bird-profile-v05-facts{grid-template-columns:1fr 1fr}.bird-profile-v05-savebar{position:static}.bird-profile-v05-savebar span{display:none}.bird-profiles-v05-hero{display:block}.bird-profiles-v05-hero>a{display:inline-block;margin-top:20px}.bird-profile-switcher--v05{order:4;width:100%;margin:8px 0 0!important;padding:9px 0 0!important;border-left:0!important;border-top:1px solid var(--bird-line)!important}.bird-profile-switcher--v05 .bird-profile-switcher__control{flex:1}.bird-profile-switcher--v05 select{width:100%;max-width:none!important}}
@media(max-width:480px){.bird-profile-v05-facts{grid-template-columns:1fr}.bird-profile-v05-section,.bird-profile-v05-introcard,.bird-profile-v05-organization__intro,.bird-profile-v05-organization__body{padding:22px}.bird-profile-v05-hero__copy h1{font-size:36px}.bird-profiles-v05-hero h1{font-size:38px}}
/* END BIRD Funding — profiles UI v05 LOCAL */


/* BIRD Funding — profiles/navigation UI v06 LOCAL */
.bird-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Topbar limpa, numa só linha */
.bird-funding-v2 .bird-shell-nav{position:relative!important;display:flex!important;align-items:center!important;flex-wrap:nowrap!important;min-height:64px!important;padding:0 38px!important;gap:0!important;border-bottom:1px solid #e8e8e1!important;background:rgba(255,255,255,.98)!important;z-index:50!important}
.bird-funding-v2 .bird-shell-nav__brand{flex:0 0 auto!important;margin:0!important}
.bird-funding-v2 .bird-shell-nav__links{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;display:flex!important;align-items:center!important;gap:30px!important;margin:0!important;white-space:nowrap!important}
.bird-funding-v2 .bird-shell-nav__account{display:flex!important;align-items:center!important;gap:12px!important;flex:0 0 auto!important;margin-left:14px!important;white-space:nowrap!important;font-size:9px!important}
.bird-funding-v2 .bird-shell-nav__account span{color:#777a72!important}
.bird-funding-v2 .bird-shell-nav__account a{color:#292a26!important;text-decoration:none!important;border-bottom:1px solid #bfc1b7!important;padding-bottom:2px!important}

/* Só o nome do perfil na topbar */
.bird-profile-switcher--v06{display:flex!important;align-items:center!important;flex:0 0 auto!important;margin-left:auto!important;padding:0!important;min-height:auto!important;border:0!important;white-space:nowrap!important}
.bird-profile-switcher--v06 .bird-profile-switcher__control{display:flex!important;align-items:center!important}
.bird-profile-switcher--v06 select{appearance:none!important;min-width:132px!important;max-width:190px!important;height:34px!important;margin:0!important;padding:0 30px 0 13px!important;border:1px solid #e2e3dc!important;border-radius:999px!important;background-color:#fbfbf8!important;color:#33352f!important;font-size:9px!important;font-weight:650!important;line-height:1!important;cursor:pointer!important;outline:none!important;background-image:linear-gradient(45deg,transparent 50%,#777a70 50%),linear-gradient(135deg,#777a70 50%,transparent 50%)!important;background-position:calc(100% - 14px) 48%,calc(100% - 10px) 48%!important;background-size:4px 4px!important;background-repeat:no-repeat!important}
.bird-profile-switcher--v06 select:hover{border-color:#cfd2c4!important;background-color:#f7f8f2!important}
.bird-profile-switcher--v06 select:focus{border-color:#adb597!important;box-shadow:0 0 0 3px rgba(118,128,84,.07)!important}

/* Perfil = editor. Lado direito = grelha rápida dos perfis */
.bird-profile-page--v06 .bird-profile-v05-shell{padding-top:54px}
.bird-profile-page--v06 .bird-profile-v06-hero{grid-template-columns:minmax(0,1fr) 330px!important;gap:58px!important;align-items:end!important}
.bird-profile-v06-switchboard{padding-left:24px;border-left:1px solid var(--bird-line)}
.bird-profile-v06-switchboard__head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:13px}
.bird-profile-v06-switchboard__head>div{display:grid;gap:4px}
.bird-profile-v06-switchboard__head>div>span{font-size:8px;font-weight:800;letter-spacing:.12em;color:var(--bird-accent)}
.bird-profile-v06-switchboard__head small{color:#878a81;font-size:8px;line-height:1.35}
.bird-profile-v06-switchboard__head>a{flex:0 0 auto;color:#4d5144;text-decoration:none;font-size:8px;font-weight:650;border-bottom:1px solid #c6cab8;padding-bottom:2px}
.bird-profile-v06-switchboard__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.bird-profile-v06-mini{min-width:0;min-height:52px;border:1px solid #e0e1da;background:#fff}
.bird-profile-v06-mini.is-active{border-color:#b9c29e;background:#f5f7ee;padding:10px 11px;display:grid;align-content:center}
.bird-profile-v06-mini button{width:100%;min-height:50px;padding:10px 11px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer;display:grid;align-content:center}
.bird-profile-v06-mini button:hover{background:#fafaf6}
.bird-profile-v06-mini strong,.bird-profile-v06-mini button strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:650;color:#292b26}
.bird-profile-v06-mini span,.bird-profile-v06-mini button span{display:block;margin-top:4px;font-size:7px;font-weight:750;letter-spacing:.08em;text-transform:uppercase;color:#7d826c}
.bird-profile-v06-switchboard__meta{display:flex;justify-content:space-between;gap:12px;margin-top:11px;padding-top:9px;border-top:1px solid var(--bird-line);color:#85877f;font-size:7px}
.bird-profile-page--v06 .bird-profile-v05-hero__actions{margin-top:18px}
.bird-profile-page--v06 .bird-profile-v05-hero__copy p{max-width:650px}

/* Guardar já não tapa conteúdo */
.bird-profile-page--v06 .bird-profile-v05-savebar{position:static!important;bottom:auto!important;margin-top:4px!important;box-shadow:none!important;backdrop-filter:none!important;background:#fafaf7!important}

/* Gestor fica claramente secundário */
.bird-profiles-page--v06 .bird-profiles-v05-shell{padding-top:54px}

@media(min-width:981px){.bird-funding-v2 .bird-shell-nav__account{max-width:160px!important}.bird-funding-v2 .bird-shell-nav__account span{max-width:105px!important;overflow:hidden!important;text-overflow:ellipsis!important}}
@media(max-width:1100px){.bird-funding-v2 .bird-shell-nav{padding:0 24px!important}.bird-funding-v2 .bird-shell-nav__links{gap:20px!important}.bird-funding-v2 .bird-shell-nav__account span{display:none!important}.bird-profile-page--v06 .bird-profile-v06-hero{grid-template-columns:minmax(0,1fr) 300px!important;gap:36px!important}}
@media(max-width:860px){.bird-funding-v2 .bird-shell-nav{min-height:auto!important;padding:13px 20px!important;flex-wrap:wrap!important;row-gap:10px!important}.bird-funding-v2 .bird-shell-nav__links{position:static!important;transform:none!important;order:3!important;width:100%!important;justify-content:center!important;padding-top:10px!important;border-top:1px solid #efefe9!important}.bird-profile-switcher--v06{margin-left:auto!important}.bird-funding-v2 .bird-shell-nav__account{margin-left:10px!important}.bird-profile-page--v06 .bird-profile-v06-hero{grid-template-columns:1fr!important;gap:26px!important}.bird-profile-v06-switchboard{padding:18px 0 0!important;border-left:0!important;border-top:1px solid var(--bird-line)!important}}
@media(max-width:560px){.bird-profile-switcher--v06 select{min-width:118px!important;max-width:145px!important}.bird-profile-v06-switchboard__grid{grid-template-columns:1fr!important}}

/* END BIRD Funding — profiles/navigation UI v06 LOCAL */


/* BIRD Funding — search structural v10 LOCAL */
.funding-search-page .funding-filters.bird-live-filter-sidebar{
  position:sticky!important;top:78px!important;align-self:start!important;
  max-height:calc(100vh - 94px)!important;overflow-y:auto!important;overflow-x:hidden!important;
  padding-right:20px!important;
}
.funding-search-page .funding-filters > .bird-interest-filter{
  position:static!important;inset:auto!important;float:none!important;transform:none!important;
  width:100%!important;max-width:100%!important;margin:28px 0 4px!important;padding:24px 0 0!important;
  border:0!important;border-top:1px solid var(--bird-line)!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;order:initial!important;
}
.funding-search-page .funding-filters > .bird-interest-filter .bird-interest-filter__chips{
  display:grid!important;grid-template-columns:1fr!important;gap:4px!important;
}
.funding-search-page .funding-filter-form .bird-interest-filter{display:none!important;}
.funding-search-page .bird-favorites-tab{display:none!important;}
.funding-results-context{display:grid;gap:5px;}
.funding-results-context__eyebrow{color:var(--bird-green);font-size:8px;font-weight:800;letter-spacing:.13em;}
.funding-results-context h1{margin:0;font-size:32px;line-height:1;font-weight:430;letter-spacing:-.045em;}
.funding-results-context p{margin:0!important;}
.funding-search-page.is-favorites-view .funding-results-toolbar{
  min-height:82px;align-items:flex-end;padding-bottom:18px;border-bottom:1px solid var(--bird-line);
}
.bird-funding-v2 .bird-shell-nav__links{gap:27px!important;}
@media(max-width:820px){
  .funding-search-page .funding-filters.bird-live-filter-sidebar{
    position:static!important;max-height:none!important;overflow:visible!important;padding-right:0!important;
  }
}
/* END BIRD Funding — search structural v10 LOCAL */


/* BIRD Funding — sources V11 LOCAL */
.bird-sources-page{background:#fff}
.bird-sources-shell{width:min(1120px,calc(100% - 56px));margin:0 auto;padding:58px 0 100px}
.bird-sources-hero{padding-bottom:34px;border-bottom:1px solid var(--bird-line)}
.bird-sources-hero>span,.bird-sources-next>span{color:var(--bird-green);font-size:8px;font-weight:800;letter-spacing:.14em}
.bird-sources-hero h1{margin:8px 0 10px;font-size:48px;line-height:1;font-weight:430;letter-spacing:-.05em}
.bird-sources-hero p{max-width:680px;margin:0;color:var(--bird-muted);font-size:11px;line-height:1.6}
.bird-sources-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:30px}
.bird-source-card{padding:22px;border:1px solid var(--bird-line);background:#fff}
.bird-source-card__top{display:flex;justify-content:space-between;gap:16px;color:#777;font-size:8px;letter-spacing:.08em;text-transform:uppercase}
.bird-source-card__top b{font-weight:700;color:#8a665d}.bird-source-card__top b.is-ok{color:#65754f}
.bird-source-card h2{margin:24px 0 8px;font-size:27px;font-weight:470;letter-spacing:-.04em}
.bird-source-card>p{min-height:35px;margin:0;color:#777;font-size:10px;line-height:1.5}
.bird-source-card dl{display:grid;grid-template-columns:repeat(3,1fr);margin:24px 0 0;border-top:1px solid var(--bird-line);border-left:1px solid var(--bird-line)}
.bird-source-card dl>div{padding:12px;border-right:1px solid var(--bird-line);border-bottom:1px solid var(--bird-line)}
.bird-source-card dt{color:#888;font-size:7px;text-transform:uppercase;letter-spacing:.06em}.bird-source-card dd{margin:6px 0 0;font-size:15px}
.bird-source-card code{display:block;margin-top:18px;padding:10px;background:#f8f8f4;color:#555;font-size:9px;overflow-wrap:anywhere}
.bird-source-empty{margin-top:22px;padding:18px;border:1px dashed var(--bird-line);color:#888;font-size:10px}
.bird-sources-next{margin-top:36px;padding:28px;border:1px solid #e5e0ca;background:#faf8ef}
.bird-sources-next h2{margin:7px 0;font-size:24px;font-weight:470}.bird-sources-next p{max-width:650px;margin:0;color:#676858;font-size:10px;line-height:1.6}
@media(max-width:760px){.bird-sources-shell{width:min(100% - 28px,1120px);padding-top:34px}.bird-sources-grid{grid-template-columns:1fr}.bird-source-card dl{grid-template-columns:1fr 1fr}}
/* END BIRD Funding — sources V11 LOCAL */

/* BIRD Funding — EUFT detail v13.2 LOCAL */

.bird-euft-source-link{
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-width:210px;
  margin:20px 0 4px;
  padding:11px 14px;
  border:1px solid #d9dccf;
  background:#f8f9f4;
  color:#55633d!important;
  font-size:10px;
  font-weight:700;
  letter-spacing:.04em;
  transition:background .16s ease,border-color .16s ease;
}

.bird-euft-source-link:hover{
  background:#f1f4e9;
  border-color:#bfc8aa;
}

.bird-euft-facts .bird-main-facts__grid dd{
  overflow-wrap:anywhere;
}

.bird-euft-facts .bird-main-facts__grid > div.is-wide dd{
  line-height:1.45;
}

/* END BIRD Funding — EUFT detail v13.2 LOCAL */

/* BIRD Funding — server pagination V14.5
   A regra legacy .bird-pagination{display:none!important}
   escondia a nova paginação server-side. */
.bird-pagination[data-bird-server-pagination="1"] {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  width: 100% !important;
  margin: 28px 0 12px !important;
  padding: 18px 0 0 !important;
  border-top: 1px solid rgba(17, 24, 39, 0.10) !important;
  box-sizing: border-box !important;
}

.bird-pagination[data-bird-server-pagination="1"][hidden] {
  display: none !important;
}

.bird-pagination[data-bird-server-pagination="1"]
.bird-pagination__controls {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  flex-wrap: wrap !important;
}

.bird-pagination[data-bird-server-pagination="1"]
.bird-pagination__button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 34px !important;
  height: 34px !important;
  padding: 0 9px !important;
  border: 1px solid rgba(17, 24, 39, 0.13) !important;
  border-radius: 5px !important;
  background: #fff !important;
  color: #30352e !important;
  text-decoration: none !important;
  font-family: inherit !important;
  font-size: 12px !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
}

.bird-pagination[data-bird-server-pagination="1"]
.bird-pagination__button.is-active {
  border-color: #6f805f !important;
  background: #6f805f !important;
  color: #fff !important;
  font-weight: 700 !important;
}

.bird-pagination[data-bird-server-pagination="1"]
.bird-pagination__button[aria-disabled="true"] {
  opacity: 0.35 !important;
}

.bird-pagination[data-bird-server-pagination="1"]
.bird-pagination__dots {
  min-width: 22px !important;
  text-align: center !important;
  color: #8a9087 !important;
}

.bird-pagination[data-bird-server-pagination="1"]
.bird-pagination__meta {
  color: #737970 !important;
  font-size: 11px !important;
}

@media (max-width: 700px) {
  .bird-pagination[data-bird-server-pagination="1"] {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}
/* END BIRD Funding — server pagination V14.5 */

/* =========================================================
   BIRD Funding — REAL SERVER PAGINATION V14.6
   Classe exclusiva: não é tocada pela paginação legacy JS.
   ========================================================= */

.bird-server-pagination-v146 {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  position: relative !important;
  z-index: 20 !important;
  width: 100% !important;
  min-height: 54px !important;
  margin: 28px 0 14px !important;
  padding: 18px 0 0 !important;
  border-top: 1px solid rgba(17, 24, 39, 0.12) !important;
  background: #fff !important;
  clear: both !important;
  float: none !important;
  box-sizing: border-box !important;
}

.bird-server-pagination-v146__meta {
  display: block !important;
  color: #71776e !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.bird-server-pagination-v146__controls {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 5px !important;
  flex-wrap: wrap !important;
}

.bird-server-pagination-v146__button {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 34px !important;
  height: 34px !important;
  padding: 0 9px !important;
  border: 1px solid rgba(17, 24, 39, 0.14) !important;
  border-radius: 5px !important;
  background: #fff !important;
  color: #30352e !important;
  font-family: inherit !important;
  font-size: 12px !important;
  line-height: 1 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}

a.bird-server-pagination-v146__button:hover,
a.bird-server-pagination-v146__button:focus-visible {
  border-color: #70815f !important;
  background: #f4f7f1 !important;
  outline: none !important;
}

.bird-server-pagination-v146__button.is-active {
  border-color: #6f805f !important;
  background: #6f805f !important;
  color: #fff !important;
  font-weight: 700 !important;
}

.bird-server-pagination-v146__button.is-disabled {
  opacity: 0.35 !important;
  cursor: default !important;
}

.bird-server-pagination-v146__dots {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 22px !important;
  height: 34px !important;
  color: #8a9087 !important;
  font-size: 12px !important;
}

@media (max-width: 700px) {
  .bird-server-pagination-v146 {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .bird-server-pagination-v146__controls {
    justify-content: flex-start !important;
  }
}

/* END BIRD Funding — REAL SERVER PAGINATION V14.6 */

/* BIRD Funding — personalized score cards V17.3 */

.funding-result-card__score-row{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    min-height:24px;
    margin:7px 0 0;
}

.funding-result-card__score{
    display:inline-flex;
    align-items:baseline;
    gap:6px;
    padding:4px 8px;
    border:1px solid #dfe3d4;
    border-radius:999px;
    background:#f8faf4;
    color:#667246;
    white-space:nowrap;
}

.funding-result-card__score > span{
    font-size:8px;
    line-height:1;
    letter-spacing:.11em;
    font-weight:700;
}

.funding-result-card__score > strong{
    font-size:12px;
    line-height:1;
    font-weight:650;
    color:#30352a;
}

.funding-result-card__score.is-empty{
    background:#fafaf7;
    border-color:#e7e7df;
    color:#99998f;
}

.funding-result-card__score.is-empty > strong{
    color:#99998f;
}

@media(max-width:760px){
    .funding-result-card__score-row{
        justify-content:flex-start;
    }
}

/* END BIRD Funding — personalized score cards V17.3 */

/* BIRD Funding — robust personalized ranking V17.4
 * Score aligned LEFT so it never sits below the favorite flag.
 */

.funding-result-card__score-row{
    justify-content:flex-start;
    margin:7px 46px 0 0;
}

.funding-result-card__score{
    gap:6px;
    max-width:100%;
}

.funding-result-card__score > small{
    display:inline-block;
    margin-left:1px;
    padding-left:7px;
    border-left:1px solid #dfe3d4;
    font-size:8px;
    line-height:1;
    letter-spacing:.04em;
    font-weight:500;
    color:#7d8274;
    white-space:nowrap;
}

.funding-result-card__score.is-empty > small{
    color:#9b9b92;
    border-left-color:#e7e7df;
}

@media(max-width:760px){
    .funding-result-card__score-row{
        margin-right:42px;
    }
}

/* END BIRD Funding — robust personalized ranking V17.4 */

/* BIRD Funding — CV and confirmed facts V17.5 */

.bird-profile-facts{
    margin:34px auto 64px;
    padding:28px;
    border:1px solid #e2e4dc;
    background:#fff;
}

.bird-profile-facts__head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:28px;
    padding-bottom:24px;
    border-bottom:1px solid #e7e8e2;
}

.bird-profile-facts__eyebrow{
    margin:0 0 8px;
    font-size:9px;
    line-height:1.2;
    letter-spacing:.15em;
    font-weight:700;
    color:#697547;
}

.bird-profile-facts__head h2{
    margin:0;
    font-size:26px;
    line-height:1.05;
    font-weight:500;
    letter-spacing:-.025em;
}

.bird-profile-facts__intro{
    max-width:680px;
    margin:12px 0 0;
    font-size:13px;
    line-height:1.5;
    color:#6e7169;
}

.bird-profile-facts__count{
    min-width:112px;
    padding:12px 14px;
    border:1px solid #e2e4dc;
    text-align:right;
}

.bird-profile-facts__count strong{
    display:block;
    font-size:24px;
    line-height:1;
    font-weight:500;
}

.bird-profile-facts__count span{
    display:block;
    margin-top:6px;
    font-size:9px;
    line-height:1.2;
    letter-spacing:.06em;
    text-transform:uppercase;
    color:#7e8178;
}

.bird-profile-facts__empty{
    margin-top:24px;
    padding:22px;
    border:1px dashed #dfe1d8;
    background:#fafbf7;
}

.bird-profile-facts__empty strong{
    display:block;
    margin-bottom:7px;
    font-size:14px;
    font-weight:600;
}

.bird-profile-facts__empty p{
    max-width:680px;
    margin:0;
    font-size:12px;
    line-height:1.55;
    color:#74776e;
}

.bird-profile-facts__groups{
    display:grid;
    gap:30px;
    margin-top:28px;
}

.bird-profile-facts__group-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-bottom:10px;
}

.bird-profile-facts__group-head h3{
    margin:0;
    font-size:12px;
    line-height:1.2;
    font-weight:650;
    letter-spacing:.035em;
}

.bird-profile-facts__group-head span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:24px;
    height:24px;
    padding:0 7px;
    border:1px solid #e1e3da;
    border-radius:999px;
    font-size:10px;
    color:#6f7369;
}

.bird-profile-facts__list{
    border-top:1px solid #e4e5df;
}

.bird-profile-fact{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:24px;
    padding:16px 0;
    border-bottom:1px solid #e8e9e4;
}

.bird-profile-fact__title-row{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px;
}

.bird-profile-fact__title-row h4{
    margin:0;
    font-size:13px;
    line-height:1.35;
    font-weight:600;
}

.bird-profile-fact__scope{
    display:inline-flex;
    align-items:center;
    min-height:20px;
    padding:2px 7px;
    border:1px solid #dfe3d4;
    border-radius:999px;
    background:#f8faf4;
    font-size:8px;
    line-height:1;
    letter-spacing:.05em;
    text-transform:uppercase;
    color:#657044;
}

.bird-profile-fact__value{
    margin:7px 0 0;
    font-size:15px;
    line-height:1.35;
    color:#1e211c;
}

.bird-profile-fact__key{
    display:block;
    margin-top:6px;
    padding:0;
    background:transparent;
    border:0;
    font-size:9px;
    line-height:1.25;
    color:#9a9c94;
    word-break:break-word;
}

.bird-profile-fact__meta{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    justify-content:center;
    gap:5px;
    min-width:150px;
    font-size:9px;
    line-height:1.35;
    color:#85887f;
    text-align:right;
}

.bird-profile-fact__meta a{
    color:#586537;
    text-decoration:none;
}

.bird-profile-fact__meta a:hover{
    text-decoration:underline;
}

@media(max-width:760px){
    .bird-profile-facts{
        margin:24px 0 48px;
        padding:20px;
    }

    .bird-profile-facts__head{
        flex-direction:column;
    }

    .bird-profile-facts__count{
        text-align:left;
    }

    .bird-profile-fact{
        grid-template-columns:1fr;
        gap:10px;
    }

    .bird-profile-fact__meta{
        align-items:flex-start;
        min-width:0;
        text-align:left;
    }
}

/* END BIRD Funding — CV and confirmed facts V17.5 */

/* BIRD Funding — CV facts layout FINAL3
 *
 * Neutraliza regras genéricas do Perfil que estavam a transformar
 * a secção num layout em "T". A secção passa a ocupar uma linha
 * completa: header full-width + conteúdo full-width.
 */

#cv-factos.bird-profile-facts{
    display:block !important;
    width:100% !important;
    max-width:none !important;
    grid-template-columns:none !important;
    grid-template-rows:none !important;
    grid-auto-flow:initial !important;
    grid-column:1 / -1 !important;
    align-items:initial !important;
    gap:0 !important;
    box-sizing:border-box;
    margin:34px 0 64px !important;
    padding:28px !important;
}

#cv-factos .bird-profile-facts__head{
    display:grid !important;
    grid-template-columns:minmax(0, 1fr) auto !important;
    align-items:start !important;
    gap:32px !important;
    width:100% !important;
    padding:0 0 24px !important;
    margin:0 !important;
    border-bottom:1px solid #e7e8e2;
}

#cv-factos .bird-profile-facts__head > div:first-child{
    min-width:0;
    max-width:760px;
}

#cv-factos .bird-profile-facts__head h2{
    max-width:none !important;
}

#cv-factos .bird-profile-facts__intro{
    max-width:720px !important;
}

#cv-factos .bird-profile-facts__count{
    align-self:start !important;
    justify-self:end !important;
    min-width:132px !important;
    margin:0 !important;
    padding:12px 14px !important;
    box-sizing:border-box;
}

#cv-factos .bird-profile-facts__empty{
    display:block !important;
    width:100% !important;
    max-width:none !important;
    min-height:0 !important;
    grid-column:1 / -1 !important;
    margin:24px 0 0 !important;
    padding:24px !important;
    box-sizing:border-box;
}

#cv-factos .bird-profile-facts__empty p{
    max-width:760px !important;
}

#cv-factos .bird-profile-facts__groups{
    display:block !important;
    width:100% !important;
    margin:28px 0 0 !important;
}

#cv-factos .bird-profile-facts__group{
    display:block !important;
    width:100% !important;
    max-width:none !important;
    grid-column:1 / -1 !important;
    margin:0 0 30px !important;
    padding:0 !important;
}

#cv-factos .bird-profile-facts__group:last-child{
    margin-bottom:0 !important;
}

#cv-factos .bird-profile-facts__list{
    display:block !important;
    width:100% !important;
}

#cv-factos .bird-profile-fact{
    width:100% !important;
    box-sizing:border-box;
}

@media(max-width:760px){
    #cv-factos.bird-profile-facts{
        margin:24px 0 48px !important;
        padding:20px !important;
    }

    #cv-factos .bird-profile-facts__head{
        grid-template-columns:1fr !important;
        gap:18px !important;
    }

    #cv-factos .bird-profile-facts__count{
        justify-self:start !important;
    }

    #cv-factos .bird-profile-facts__empty{
        padding:20px !important;
    }
}

/* END BIRD Funding — CV facts layout FINAL3 */
