/* ClearSteward — modern philanthropic intelligence */
:root {
  --page: #f4f1e9;
  --page-deep: #ebe5d8;
  --surface: #fffdf8;
  --surface-2: #f8f4eb;
  --ink: #152824;
  --ink-2: #4d5f5b;
  --muted: #7c8985;
  --grid: #e5ded0;
  --baseline: #cec5b5;
  --border: rgba(21, 40, 36, .12);
  --forest: #123f3a;
  --forest-2: #1c6158;
  --sage: #93aa9d;
  --brass: #c68b32;
  --brass-soft: #f3e4c8;
  --series-1: #176c62;
  --series-2: #d09237;
  --series-3: #7f8f83;
  --compare-1: #176c62;
  --compare-2: #c68b32;
  --compare-3: #7b668f;
  --grant-theme-1: #176c62;
  --grant-theme-2: #c68b32;
  --grant-theme-3: #7b668f;
  --grant-theme-4: #cc7659;
  --grant-theme-5: #4d7894;
  --grant-theme-6: #82904d;
  --grant-theme-7: #b76470;
  --grant-theme-8: #4d928c;
  --grant-theme-9: #b6a24b;
  --grant-theme-10: #9b6c4a;
  --grant-theme-11: #8f7664;
  --grant-theme-12: #929a94;
  --giving-local: #176c62;
  --giving-regional: #6f9b83;
  --giving-national: #c68b32;
  --giving-international: #7b668f;
  --accent: #176c62;
  --accent-soft: rgba(23, 108, 98, .10);
  --good: #2d7d5c;
  --good-text: #1f684a;
  --warning: #d39a37;
  --warning-text: #8a5b0d;
  --serious: #cc7659;
  --serious-text: #963f27;
  --critical: #b94c3b;
  --shadow: 0 1px 1px rgba(21,40,36,.03), 0 16px 40px -28px rgba(21,40,36,.38);
  --shadow-lift: 0 22px 55px -32px rgba(21,40,36,.46);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 126px; }
body {
  margin: 0; color: var(--ink); background:
    radial-gradient(circle at 12% 0%, rgba(198,139,50,.10), transparent 27rem),
    linear-gradient(180deg, #f8f5ee 0, var(--page) 32rem);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }

/* Header and global search */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--page) 86%, transparent);
  border-bottom: 1px solid rgba(21,40,36,.08); backdrop-filter: blur(18px) saturate(140%);
}
.topbar-inner {
  max-width: 1180px; min-height: 72px; margin: 0 auto; padding: 12px 28px;
  display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; white-space: nowrap; }
.brand-mark {
  position: relative; width: 34px; height: 34px; border-radius: 50% 50% 50% 8px;
  background: var(--forest); color: #fffdf8; display: grid; place-items: center;
  font-family: Georgia, serif; font-size: 17px; font-weight: 700; transform: rotate(-3deg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15), 0 8px 18px -10px var(--forest);
}
.brand-mark span { transform: rotate(3deg); }
.brand-name { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 19px; letter-spacing: -.02em; line-height: 1; }
.brand-tag { color: var(--muted); font-size: 10px; margin-top: 4px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.searchbox { position: relative; flex: 1; max-width: 610px; margin: 0 auto; }
.searchbox input {
  width: 100%; padding: 11px 16px 11px 42px; border: 1px solid var(--border); border-radius: 999px;
  background: rgba(255,253,248,.84); color: var(--ink); font-size: 14px; outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8); transition: .18s ease;
}
.searchbox input:focus { border-color: var(--forest-2); box-shadow: 0 0 0 4px var(--accent-soft), inset 0 1px 0 rgba(255,255,255,.8); background: var(--surface); }
.searchbox.search-attention input { animation: searchAttention 1.05s ease; }
@keyframes searchAttention { 0%, 100% { box-shadow: 0 0 0 4px var(--accent-soft), inset 0 1px 0 rgba(255,255,255,.8); } 45% { border-color: var(--brass); box-shadow: 0 0 0 7px var(--brass-soft), 0 12px 30px -20px var(--forest); } }
.searchbox .search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--forest-2); pointer-events: none; }
.search-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; display: none; max-height: 390px; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 22px 60px -22px rgba(21,40,36,.38); padding: 6px;
}
.search-results.open { display: block; }
.search-result-row { display: grid; grid-template-columns: minmax(0, 1fr) 34px; gap: 4px; align-items: center; border-radius: 10px; }
.search-result-row:hover { background: var(--accent-soft); }
.search-result { display: block; width: 100%; text-align: left; padding: 11px 12px; background: none; border: 0; border-radius: 10px; color: var(--ink); }
.search-result:hover, .search-result.active { background: var(--accent-soft); }
.search-result-row:hover .search-result { background: transparent; }
.search-result .r-name { font-weight: 700; font-size: 14px; }
.search-result .r-meta { color: var(--muted); font-size: 12px; margin-top: 2px; }
.search-compare-add { width: 27px; height: 27px; padding: 0; border: 1px solid var(--border); border-radius: 8px; color: var(--forest); background: var(--surface); font-size: 16px; font-weight: 700; line-height: 1; }
.search-compare-add:hover { color: #fffdf8; border-color: var(--forest); background: var(--forest); }
.search-empty { padding: 12px; font-size: 12.5px; }
.search-theme-block { margin: 2px 2px 7px; padding: 10px; border-radius: 11px; background: linear-gradient(135deg, var(--brass-soft), rgba(255,253,248,.72)); }
.search-theme-heading, .search-organization-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 0 2px 7px; }.search-theme-heading span, .search-organization-heading span { color: var(--forest); font-size: 8px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }.search-theme-heading small, .search-organization-heading small { color: var(--muted); font-size: 7px; }
.search-theme-block > div:last-child { display: flex; flex-wrap: wrap; gap: 5px; }.search-theme-option { min-height: 42px; padding: 7px 9px; display: flex; align-items: center; justify-content: space-between; gap: 13px; border: 1px solid rgba(198,139,50,.2); border-radius: 9px; color: var(--ink); background: rgba(255,253,248,.82); text-align: left; }.search-theme-option:hover, .search-theme-option.active { border-color: rgba(23,108,98,.32); background: var(--surface); box-shadow: 0 7px 18px -16px var(--forest); }.search-theme-option > span { display: grid; }.search-theme-option strong { color: var(--forest); font-family: Georgia, serif; font-size: 11px; }.search-theme-option small { margin-top: 2px; color: var(--muted); font-size: 7px; }.search-theme-option > b { color: var(--brass); font-size: 7px; white-space: nowrap; }
.search-organization-heading { display: block; padding: 8px 12px 5px; }.search-organization-heading small { display: block; margin-top: 3px; line-height: 1.35; }
.source-status { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); font-size: 11px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.source-status span { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px rgba(45,125,92,.12); }

/* Layout */
.container { max-width: 1180px; margin: 0 auto; padding: 36px 28px 88px; }
.card { background: color-mix(in srgb, var(--surface) 96%, transparent); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); }
.panel { padding: 24px 26px; }
.panel h2 { font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 700; letter-spacing: -.015em; margin: 0 0 3px; }
.panel .panel-sub { color: var(--muted); font-size: 12.5px; margin: 0 0 17px; }
.section-kicker, .profile-eyebrow, .eyebrow {
  display: block; margin: 0 0 7px; color: var(--brass); font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}

/* Landing */
.hero { position: relative; text-align: center; padding: 82px 30px 44px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 760px; height: 760px; left: 50%; top: -570px; transform: translateX(-50%);
  border: 1px solid rgba(198,139,50,.22); border-radius: 50%; box-shadow: 0 0 0 70px rgba(198,139,50,.025), 0 0 0 150px rgba(23,108,98,.018); pointer-events: none;
}
.hero-clearsteward { display: grid; place-items: center; margin-bottom: 23px; }
.hero-clearsteward .brand-mark { width: 56px; height: 56px; font-size: 27px; border-radius: 50% 50% 50% 14px; box-shadow: 0 16px 34px -20px var(--forest); }
.hero h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(44px, 6.2vw, 76px); line-height: .99; letter-spacing: -.045em; margin: 0 auto 22px; font-weight: 500; max-width: 850px; }
.hero h1 em { color: var(--forest-2); font-weight: 400; }
.hero-copy { color: var(--ink-2); max-width: 690px; margin: 0 auto 30px; font-size: 17px; line-height: 1.65; }
.hero-proof { display: inline-grid; grid-template-columns: repeat(3, auto); gap: 0; margin: 0 auto 32px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,253,248,.6); }
.hero-proof div { min-width: 150px; padding: 12px 20px; border-right: 1px solid var(--border); }
.hero-proof div:last-child { border-right: 0; }
.hero-proof strong { display: block; color: var(--forest); font-family: Georgia, serif; font-size: 17px; }
.hero-proof span { display: block; color: var(--muted); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; margin-top: 1px; }
.samples { display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; }
.sample-label { color: var(--muted); font-size: 11px; text-transform: uppercase; font-weight: 700; letter-spacing: .09em; margin-right: 4px; }
.sample-chip { border: 1px solid var(--border); background: var(--surface); color: var(--ink-2); padding: 7px 13px; border-radius: 999px; font-size: 12.5px; transition: .16s ease; }
.sample-chip:hover { transform: translateY(-1px); border-color: var(--forest-2); color: var(--forest-2); box-shadow: 0 8px 20px -16px var(--forest); }
.hero-notes { max-width: 940px; margin: 72px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); text-align: left; border-top: 1px solid var(--border); }
.hero-note { padding: 24px 24px 8px; border-right: 1px solid var(--border); }
.hero-note:last-child { border-right: 0; }
.hero-note .note-number { color: var(--brass); font-family: Georgia, serif; font-size: 12px; }
.hero-note h3 { font-family: Georgia, serif; font-size: 17px; margin: 8px 0 6px; }
.hero-note p { color: var(--muted); font-size: 12.5px; margin: 0; line-height: 1.55; }

/* Product landing page */
.landing-nav { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.landing-nav a { color: var(--ink-2); font-size: 11.5px; font-weight: 750; }
.landing-nav a:hover { color: var(--forest-2); }
.hero-actions { display: flex; justify-content: center; gap: 10px; margin: 0 0 24px; flex-wrap: wrap; }
.landing-btn {
  min-height: 44px; padding: 11px 18px; border-radius: 10px; border: 1px solid transparent;
  display: inline-flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 800;
  letter-spacing: .01em; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.landing-btn:hover { transform: translateY(-2px); }
.landing-btn.primary { color: #fffdf8; background: var(--forest); box-shadow: 0 13px 28px -18px var(--forest); }
.landing-btn.primary:hover { color: white; background: var(--forest-2); box-shadow: 0 16px 32px -18px var(--forest); }
.landing-btn.giving { color: var(--forest); background: var(--brass-soft); border-color: rgba(198,139,50,.25); }
.landing-btn.giving:hover { color: var(--forest); background: #f1d9b1; box-shadow: 0 12px 28px -20px var(--brass); }
.landing-btn.secondary { color: var(--forest); background: rgba(255,253,248,.72); border-color: var(--border); }
.landing-btn.secondary:hover { border-color: rgba(23,108,98,.35); box-shadow: var(--shadow); }
.landing-section { padding: 104px 34px; border-top: 1px solid var(--border); }
.landing-section-head { max-width: 740px; margin: 0 auto 44px; text-align: center; }
.landing-section-head.compact { max-width: 690px; margin-bottom: 38px; }
.landing-section h2, .landing-cta h2 {
  margin: 0; color: var(--ink); font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.8vw, 56px); font-weight: 500; line-height: 1.06; letter-spacing: -.04em;
}
.landing-section-head > p { max-width: 650px; margin: 18px auto 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.7; }

.audience-section { padding-left: 0; padding-right: 0; }
.audience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.audience-card { position: relative; min-height: 390px; padding: 42px; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.audience-card::after { content: ""; position: absolute; width: 280px; height: 280px; right: -145px; bottom: -160px; border: 1px solid currentColor; border-radius: 50%; opacity: .13; box-shadow: 0 0 0 45px currentColor; pointer-events: none; }
.ngo-card { color: #fffdf8; background: var(--forest); border-color: transparent; }
.funder-card { color: var(--ink); background: var(--surface); }
.audience-label { font-size: 10.5px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; opacity: .72; }
.audience-card h3 { max-width: 430px; margin: 22px 0 14px; font-family: Georgia, serif; font-size: clamp(26px, 3vw, 38px); font-weight: 500; line-height: 1.1; letter-spacing: -.035em; }
.audience-card > p { max-width: 480px; margin: 0 0 26px; opacity: .76; font-size: 14px; line-height: 1.7; }
.audience-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 12.5px; font-weight: 700; }
.audience-card li { display: flex; align-items: center; gap: 9px; }
.audience-card li::before { content: ""; width: 17px; height: 17px; border: 1px solid currentColor; border-radius: 50%; opacity: .6; background: radial-gradient(circle, currentColor 0 2px, transparent 3px); }
.funder-card h3 { color: var(--forest); }
.funder-card::after { color: var(--brass); }
.individual-card { color: var(--ink); background: var(--brass-soft); }
.individual-card h3 { color: var(--forest); }.individual-card::after { color: var(--forest-2); }
.audience-card-action { position: relative; z-index: 1; margin-top: 25px; padding: 0; border: 0; color: var(--forest); background: none; font-size: 11px; font-weight: 850; }

.product-section { display: grid; grid-template-columns: minmax(290px, .8fr) minmax(540px, 1.45fr); gap: 58px; align-items: center; padding-left: 0; padding-right: 0; }
.product-copy > p { margin: 20px 0 30px; max-width: 470px; color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.product-feature-list { display: grid; gap: 0; border-top: 1px solid var(--border); }
.product-feature-list div { padding: 17px 0; border-bottom: 1px solid var(--border); }
.product-feature-list strong { display: block; color: var(--forest); font-size: 13px; }
.product-feature-list span { display: block; color: var(--muted); font-size: 12px; line-height: 1.55; margin-top: 3px; }
.product-preview { position: relative; padding: 16px; border: 1px solid var(--border); border-radius: 22px; background: rgba(255,253,248,.94); box-shadow: 0 32px 80px -40px rgba(18,63,58,.5), 0 1px 1px rgba(255,255,255,.8) inset; transform: rotate(.7deg); }
.product-preview::before { content: ""; position: absolute; inset: 8% -5% -6% 8%; z-index: -1; border-radius: 24px; background: var(--brass-soft); transform: rotate(-2.2deg); opacity: .65; }
.preview-topbar { min-height: 32px; padding: 0 4px 12px; display: flex; align-items: center; gap: 8px; color: var(--muted); border-bottom: 1px solid var(--grid); font-size: 8.5px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.preview-topbar b { margin-left: auto; color: var(--good-text); padding: 3px 7px; border-radius: 999px; background: rgba(45,125,92,.09); }
.preview-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); }
.preview-org { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; padding: 20px 6px 15px; }
.preview-org small, .preview-org p { color: var(--muted); font-size: 8px; letter-spacing: .08em; }
.preview-org h3 { margin: 3px 0 2px; color: var(--forest); font-family: Georgia, serif; font-size: 20px; line-height: 1.1; }
.preview-org p { margin: 0; letter-spacing: 0; font-size: 9px; }
.preview-badge { flex: 0 0 auto; padding: 6px 9px; border-radius: 7px; color: white; background: var(--forest); font-size: 8px; font-weight: 750; }
.preview-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.preview-metrics > div { padding: 12px; border: 1px solid var(--grid); border-radius: 10px; background: var(--surface-2); }
.preview-metrics span { display: block; color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .07em; }
.preview-metrics strong { display: block; margin: 3px 0 0; color: var(--forest); font-family: Georgia, serif; font-size: 18px; }
.preview-metrics small { color: var(--good-text); font-size: 7.5px; }
.preview-body { display: grid; grid-template-columns: 1.15fr .85fr; gap: 8px; margin-top: 8px; }
.preview-chart-card, .preview-signal-card, .preview-fit { padding: 13px; border: 1px solid var(--grid); border-radius: 10px; background: var(--surface); }
.preview-chart-card > span, .preview-signal-card > span, .preview-fit > span { color: var(--ink); font-family: Georgia, serif; font-size: 10px; font-weight: 700; }
.preview-chart { height: 104px; display: flex; align-items: end; justify-content: center; gap: 4px; padding: 16px 8px 0; border-bottom: 1px solid var(--grid); background: repeating-linear-gradient(to bottom, transparent 0 25px, rgba(21,40,36,.045) 26px); }
.preview-chart i, .preview-chart b { width: 12px; display: block; border-radius: 3px 3px 0 0; }
.preview-chart i { background: var(--series-1); }.preview-chart b { background: var(--series-2); }
.preview-signal-card p { display: grid; grid-template-columns: 9px 1fr; column-gap: 6px; margin: 9px 0 0; padding-top: 7px; border-top: 1px solid var(--grid); font-size: 8px; }
.preview-signal-card p i { grid-row: 1 / span 2; width: 8px; height: 8px; border-radius: 50%; margin-top: 2px; }
.preview-signal-card p .good { background: var(--good); }.preview-signal-card p .watch { background: var(--warning); }
.preview-signal-card p b { color: var(--ink); line-height: 1.2; }.preview-signal-card p small { color: var(--muted); font-size: 7px; }
.preview-fit { margin-top: 8px; display: flex; align-items: center; gap: 18px; border-left: 3px solid var(--brass); }
.preview-fit > span { flex: 0 0 118px; color: var(--brass); font-family: inherit; font-size: 7.5px; text-transform: uppercase; letter-spacing: .08em; }
.preview-fit div { display: flex; flex-direction: column; }.preview-fit b { color: var(--forest); font-size: 9px; }.preview-fit small { color: var(--muted); font-size: 7.5px; }

.portfolio-feature-section { display: grid; grid-template-columns: minmax(540px, 1.35fr) minmax(300px, .75fr); gap: 64px; align-items: center; padding-left: 0; padding-right: 0; }
.portfolio-feature-preview { position: relative; min-width: 0; padding: 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; color: #fffdf8; background: var(--forest); box-shadow: 0 34px 84px -44px rgba(18,63,58,.7); overflow: hidden; transform: rotate(-.55deg); }
.portfolio-feature-preview::after { content: ""; position: absolute; width: 350px; height: 350px; right: -245px; bottom: -245px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 48px rgba(198,139,50,.035); pointer-events: none; }
.portfolio-preview-head { min-height: 42px; padding: 0 3px 14px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-bottom: 1px solid rgba(255,255,255,.12); }
.portfolio-preview-head span, .portfolio-preview-head strong { display: block; }.portfolio-preview-head span { color: rgba(255,255,255,.55); font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }.portfolio-preview-head strong { margin-top: 4px; font-family: Georgia, serif; font-size: 17px; font-weight: 600; }
.portfolio-preview-head > b { padding: 5px 8px; border-radius: 999px; color: #fff4dc; background: rgba(198,139,50,.18); font-size: 7.5px; letter-spacing: .04em; }
.portfolio-feature-preview blockquote { margin: 16px 2px; padding: 0 0 0 13px; border-left: 2px solid var(--brass); color: rgba(255,255,255,.75); font-family: Georgia, serif; font-size: 12.5px; line-height: 1.48; }
.portfolio-preview-summary { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255,255,255,.11); border-radius: 10px; overflow: hidden; }
.portfolio-preview-summary div { padding: 10px 11px; border-right: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.035); }.portfolio-preview-summary div:last-child { border-right: 0; }.portfolio-preview-summary strong { display: block; color: #fff4dc; font-family: Georgia, serif; font-size: 16px; }.portfolio-preview-summary span { color: rgba(255,255,255,.47); font-size: 6.7px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.portfolio-preview-body { display: grid; grid-template-columns: 1.25fr .75fr; gap: 9px; margin-top: 10px; }
.portfolio-preview-groups { display: grid; gap: 8px; }.portfolio-preview-group { padding: 11px; border-radius: 10px; background: #fffdf8; color: var(--ink); }
.portfolio-preview-group-title { margin-bottom: 6px; display: flex; align-items: center; gap: 6px; color: var(--brass); font-size: 6.7px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }.portfolio-preview-group-title::after { content: ""; flex: 1; height: 1px; background: var(--grid); }.portfolio-preview-group-title b { order: 3; min-width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; color: var(--forest); background: var(--accent-soft); font-size: 6.5px; }
.portfolio-preview-group article { padding: 7px 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--grid); }.portfolio-preview-group article:first-of-type { border-top: 0; }.portfolio-preview-group article strong, .portfolio-preview-group article small { display: block; }.portfolio-preview-group article strong { color: var(--forest); font-family: Georgia, serif; font-size: 10px; }.portfolio-preview-group article small { margin-top: 2px; color: var(--muted); font-size: 6.7px; }
.portfolio-status { flex: 0 0 auto; padding: 3px 6px; border-radius: 999px; font-size: 6.3px; font-weight: 850; text-transform: uppercase; letter-spacing: .04em; }.portfolio-status.made { color: var(--good-text); background: rgba(45,125,92,.11); }.portfolio-status.pending { color: var(--warning-text); background: rgba(211,154,55,.14); }.portfolio-status.planned { color: var(--forest); background: var(--accent-soft); }
.portfolio-preview-decision { padding: 13px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: rgba(255,255,255,.045); }.portfolio-preview-decision > span { color: #f2c77f; font-size: 7px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }.portfolio-preview-decision > p { margin: 9px 0 16px; color: rgba(255,255,255,.66); font-size: 8px; line-height: 1.55; }.portfolio-preview-decision > div { padding-top: 12px; border-top: 1px solid rgba(255,255,255,.11); }.portfolio-preview-decision small, .portfolio-preview-decision strong, .portfolio-preview-decision b { display: block; }.portfolio-preview-decision small { color: rgba(255,255,255,.42); font-size: 6.5px; text-transform: uppercase; letter-spacing: .06em; }.portfolio-preview-decision strong { margin: 3px 0 9px; color: #fff4dc; font-family: Georgia, serif; font-size: 18px; }.portfolio-preview-decision b { padding: 6px 7px; border-radius: 6px; color: var(--forest); background: #fffdf8; font-size: 6.7px; text-align: center; }
.portfolio-feature-copy > p { max-width: 480px; margin: 20px 0 25px; color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.portfolio-feature-list { margin-bottom: 25px; border-top: 1px solid var(--border); }.portfolio-feature-list > div { padding: 13px 0; display: grid; grid-template-columns: 27px 1fr; gap: 10px; border-bottom: 1px solid var(--border); }.portfolio-feature-list > div > span { color: var(--brass); font-family: Georgia, serif; font-size: 10px; }.portfolio-feature-list p { margin: 0; }.portfolio-feature-list strong, .portfolio-feature-list small { display: block; }.portfolio-feature-list strong { color: var(--forest); font-size: 12px; }.portfolio-feature-list small { margin-top: 3px; color: var(--muted); font-size: 10.5px; line-height: 1.45; }
.portfolio-feature-footnote { display: block; margin-top: 10px; color: var(--muted); font-size: 9px; }

.process-section { padding-left: 0; padding-right: 0; }
.process-grid { counter-reset: process; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); }
.process-grid article { min-height: 220px; padding: 28px 32px 20px; border-right: 1px solid var(--border); }
.process-grid article:last-child { border-right: 0; }
.process-grid article > span { color: var(--brass); font-family: Georgia, serif; font-size: 13px; }
.process-grid h3 { margin: 40px 0 10px; color: var(--forest); font-family: Georgia, serif; font-size: 21px; }
.process-grid p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.65; }
.trust-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; padding: 76px 44px; border-radius: 22px; background: var(--brass-soft); border-top: 0; }
.trust-section h2 { font-size: clamp(32px, 4vw, 46px); }
.trust-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.trust-points div { min-height: 120px; padding: 18px 14px; border-left: 1px solid rgba(138,91,13,.23); }
.trust-points strong { display: block; color: var(--forest); font-size: 12.5px; }
.trust-points span { display: block; margin-top: 7px; color: var(--ink-2); font-size: 11.5px; line-height: 1.5; }
.landing-cta { position: relative; margin-top: 104px; padding: 80px 30px; text-align: center; color: #fffdf8; background: var(--forest); border-radius: 24px; overflow: hidden; }
.landing-cta::before, .landing-cta::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; pointer-events: none; }
.landing-cta::before { width: 460px; height: 460px; left: -280px; bottom: -300px; box-shadow: 0 0 0 55px rgba(255,255,255,.02); }
.landing-cta::after { width: 380px; height: 380px; right: -230px; top: -270px; box-shadow: 0 0 0 45px rgba(198,139,50,.06); }
.landing-cta .cta-mark { width: 46px; height: 46px; margin: 0 auto 20px; color: var(--forest); background: #fffdf8; font-size: 22px; }
.landing-cta h2 { color: #fffdf8; }
.landing-cta > p { max-width: 560px; margin: 18px auto 27px; color: rgba(255,253,248,.7); font-size: 14.5px; }
.landing-btn.light { position: relative; z-index: 1; color: var(--forest); background: #fffdf8; box-shadow: 0 13px 28px -18px #000; }
.landing-cta-actions { position: relative; z-index: 1; display: flex; justify-content: center; gap: 9px; flex-wrap: wrap; }.landing-btn.light-outline { color: #fffdf8; border-color: rgba(255,255,255,.38); background: transparent; }.landing-btn.light-outline:hover { border-color: #fffdf8; background: rgba(255,255,255,.07); }
.landing-footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 30px 4px 0; color: var(--muted); font-size: 11px; }
.landing-footer > span { color: var(--forest); font-family: Georgia, serif; font-size: 18px; font-weight: 700; }
.landing-footer p { margin: 0; }.landing-footer small { max-width: 390px; text-align: right; font-size: 9.5px; }

/* Personal strategic giving assessment */
.compare-tray.giving-mode { display: none; }
.giving-masthead { position: relative; padding: 46px 5px 42px; overflow: hidden; }
.giving-masthead::after { content: ""; position: absolute; width: 430px; height: 430px; right: -250px; top: -285px; border: 1px solid rgba(198,139,50,.2); border-radius: 50%; box-shadow: 0 0 0 55px rgba(198,139,50,.035); pointer-events: none; }
.giving-back-home { margin-bottom: 36px; padding: 0; border: 0; color: var(--forest-2); background: none; font-size: 11px; font-weight: 800; }
.giving-masthead h1 { max-width: 830px; margin: 0; font-family: Georgia, serif; font-size: clamp(47px, 6.4vw, 76px); font-weight: 500; line-height: .99; letter-spacing: -.045em; }
.giving-masthead h1 em { color: var(--forest-2); font-weight: 400; }
.giving-masthead > p { max-width: 710px; margin: 20px 0 27px; color: var(--ink-2); font-size: 15.5px; line-height: 1.7; }
.giving-framework-strip { display: flex; gap: 7px; flex-wrap: wrap; }
.giving-framework-strip span { padding: 5px 9px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); background: rgba(255,253,248,.58); font-size: 9px; font-weight: 750; }
.giving-assessment { display: grid; grid-template-columns: 255px minmax(0, 1fr); gap: 14px; align-items: start; }
.giving-progress { position: sticky; top: 92px; padding: 23px 20px; color: #fffdf8; background: var(--forest); border-radius: 18px; box-shadow: var(--shadow); }
.giving-progress-intro { display: flex; flex-direction: column; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
.giving-progress-intro span { color: var(--brass-soft); font-size: 8px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.giving-progress-intro strong { margin-top: 5px; font-family: Georgia, serif; font-size: 17px; }
.giving-progress-intro small { margin-top: 4px; color: rgba(255,255,255,.5); font-size: 8.5px; }
.giving-progress ol { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 5px; }
.giving-progress li { padding: 9px 7px; display: grid; grid-template-columns: 23px 1fr; gap: 8px; align-items: start; border-radius: 9px; opacity: .45; }
.giving-progress li.active { background: rgba(255,255,255,.09); opacity: 1; }.giving-progress li.complete { opacity: .72; }
.giving-progress li > span { color: var(--brass-soft); font-family: Georgia, serif; font-size: 10px; }
.giving-progress li div { display: flex; flex-direction: column; }.giving-progress li strong { font-size: 10.5px; }.giving-progress li small { color: rgba(255,255,255,.5); font-size: 8px; }
.giving-progress > p { margin: 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.52); font-size: 8.5px; line-height: 1.55; }
.giving-form-main { min-width: 0; padding: 35px 38px 26px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.giving-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.giving-step legend { width: 100%; margin: 0; color: var(--forest); font-family: Georgia, serif; font-size: clamp(27px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -.025em; }
.giving-step legend span { display: block; margin-bottom: 7px; color: var(--brass); font-family: Inter, sans-serif; font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.giving-step-copy { max-width: 670px; margin: 12px 0 29px; color: var(--muted); font-size: 12.5px; line-height: 1.65; }
.giving-field { min-width: 0; margin-bottom: 25px; }
.giving-field > label, .giving-field-row .giving-field > label { display: block; margin-bottom: 8px; color: var(--ink); font-size: 11.5px; font-weight: 780; }
.giving-field > small, .giving-guidance { display: block; margin-top: 6px; color: var(--muted); font-size: 9px; }.giving-guidance.error { color: var(--critical); font-weight: 750; }
.giving-field-context { max-width: 760px; margin: -1px 0 10px; color: var(--muted); font-size: 9.5px; line-height: 1.55; }
.giving-field input[type="text"], .giving-field input[type="number"], .giving-field textarea, .giving-field select, .giving-money-input { width: 100%; border: 1px solid var(--border); border-radius: 10px; color: var(--ink); background: var(--surface-2); font-size: 12.5px; outline: none; }
.giving-field input[type="text"], .giving-field input[type="number"], .giving-field select { min-height: 43px; padding: 10px 12px; }
.giving-field textarea { padding: 12px; resize: vertical; line-height: 1.55; }
.giving-field input:focus, .giving-field textarea:focus, .giving-field select:focus, .giving-money-input:focus-within { border-color: var(--forest-2); box-shadow: 0 0 0 4px var(--accent-soft); background: var(--surface); }
.giving-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.giving-choice-grid { display: grid; gap: 9px; }.giving-choice-grid.two { grid-template-columns: repeat(2, 1fr); }.giving-choice-grid.three { grid-template-columns: repeat(3, 1fr); }
.giving-choice { position: relative; min-width: 0; cursor: pointer; }
.giving-choice input { position: absolute; opacity: 0; pointer-events: none; }
.giving-choice > span { min-height: 74px; padding: 13px; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 11px; background: var(--surface-2); transition: .16s ease; }
.giving-choice strong { color: var(--forest); font-family: Georgia, serif; font-size: 13px; }.giving-choice small { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.giving-choice input:checked + span { border-color: var(--forest-2); background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(23,108,98,.12); }
.giving-theme-grid, .giving-quality-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.giving-theme-grid label, .giving-quality-grid label { cursor: pointer; }
.giving-theme-grid input, .giving-quality-grid input { position: absolute; opacity: 0; }
.giving-theme-grid span, .giving-quality-grid span { min-height: 42px; padding: 9px 10px; display: flex; align-items: center; border: 1px solid var(--border); border-radius: 9px; color: var(--ink-2); background: var(--surface-2); font-size: 9.5px; font-weight: 700; line-height: 1.25; }
.giving-theme-grid input:checked + span, .giving-quality-grid input:checked + span { color: var(--forest); border-color: rgba(23,108,98,.35); background: var(--accent-soft); }
.giving-allocation-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.giving-allocation-grid > label { min-width: 0; padding: 15px 13px; border: 1px solid var(--border); border-top: 3px solid var(--giving-local); border-radius: 11px; background: var(--surface-2); }
.giving-allocation-grid > label:nth-child(2) { border-top-color: var(--giving-regional); }.giving-allocation-grid > label:nth-child(3) { border-top-color: var(--giving-national); }.giving-allocation-grid > label:nth-child(4) { border-top-color: var(--giving-international); }
.giving-allocation-grid label > span:first-child { display: flex; flex-direction: column; }.giving-allocation-grid strong { color: var(--forest); font-family: Georgia, serif; font-size: 14px; }.giving-allocation-grid small { color: var(--muted); font-size: 8px; }
.allocation-input { display: flex; align-items: baseline; margin-top: 15px; }.allocation-input input { width: 75px; padding: 0; border: 0; outline: 0; color: var(--forest); background: transparent; font-family: Georgia, serif; font-size: 27px; }.allocation-input b { color: var(--muted); font-size: 12px; }
.giving-allocation-total { margin: 10px 0 25px; padding: 10px 13px; display: flex; align-items: baseline; gap: 9px; border-radius: 9px; font-size: 9.5px; }
.giving-allocation-total span { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }.giving-allocation-total strong { font-family: Georgia, serif; font-size: 15px; }.giving-allocation-total small { margin-left: auto; }
.giving-allocation-total.valid { color: var(--good-text); background: rgba(45,125,92,.08); }.giving-allocation-total.invalid { color: var(--serious-text); background: rgba(185,76,59,.08); }
.giving-money-input { padding: 0 12px; display: flex; align-items: center; }.giving-money-input > span { color: var(--muted); }.giving-money-input input { border: 0!important; box-shadow: none!important; background: transparent!important; }
.giving-range { width: 100%; accent-color: var(--forest-2); }
.giving-range-labels { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: start; margin-top: 8px; color: var(--muted); font-size: 9px; }.giving-range-labels > span:last-child { text-align: right; }.giving-range-labels strong { color: var(--forest); font-family: Georgia, serif; font-size: 12px; text-align: center; }.giving-range-labels small { font-size: 8px; }
.giving-size-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.giving-size-grid label { position: relative; cursor: pointer; }.giving-size-grid input { position: absolute; opacity: 0; }
.giving-size-grid span { min-height: 62px; padding: 10px; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-2); }
.giving-size-grid strong { color: var(--forest); font-family: Georgia, serif; font-size: 11.5px; }.giving-size-grid small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.giving-size-grid input:checked + span { border-color: rgba(198,139,50,.45); background: var(--brass-soft); }
.giving-form-actions { display: flex; align-items: center; gap: 9px; padding-top: 21px; border-top: 1px solid var(--grid); }.giving-form-actions > span { flex: 1; }.giving-form-actions .landing-btn { min-width: 120px; }
.giving-review-thesis { padding: 21px; border-radius: 13px; color: #fffdf8; background: var(--forest); }.giving-review-thesis > span { color: var(--brass-soft); font-size: 8.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }.giving-review-thesis blockquote { margin: 9px 0 0; font-family: Georgia, serif; font-size: 21px; line-height: 1.4; }
.giving-review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 9px; }.giving-review-grid > div { min-height: 94px; padding: 14px; border: 1px solid var(--grid); border-radius: 10px; background: var(--surface-2); }.giving-review-grid span { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .07em; }.giving-review-grid strong { display: block; margin-top: 7px; color: var(--forest); font-family: Georgia, serif; font-size: 12px; line-height: 1.4; }
.giving-review-note { margin-top: 17px; padding: 14px; border-left: 3px solid var(--brass); color: var(--ink-2); background: var(--brass-soft); border-radius: 0 9px 9px 0; }.giving-review-note strong { color: var(--warning-text); font-size: 10px; }.giving-review-note p { margin: 4px 0 0; font-size: 9.5px; line-height: 1.55; }

.giving-results { padding-top: 30px; }
.giving-results-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 18px; }.giving-results-head h2 { margin: 0; color: var(--forest); font-family: Georgia, serif; font-size: clamp(37px, 5vw, 55px); font-weight: 500; letter-spacing: -.035em; }.giving-results-head p { margin: 9px 0 0; color: var(--muted); font-size: 12px; }.giving-results-head > div:last-child { display: flex; gap: 7px; }
.giving-thesis-card { position: relative; padding: 35px 38px; border-radius: 18px; color: #fffdf8; background: var(--forest); overflow: hidden; }.giving-thesis-card::after { content: ""; position: absolute; width: 230px; height: 230px; right: -120px; bottom: -155px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 38px rgba(255,255,255,.025); }.giving-thesis-card > span { color: var(--brass-soft); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }.giving-thesis-card blockquote { position: relative; z-index: 1; max-width: 890px; margin: 13px 0; font-family: Georgia, serif; font-size: clamp(24px, 3.5vw, 39px); line-height: 1.22; letter-spacing: -.02em; }.giving-thesis-card small { color: rgba(255,255,255,.56); font-size: 9.5px; }
.giving-strategy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 10px 0 18px; }.giving-strategy-grid article { min-height: 150px; padding: 19px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }.giving-strategy-grid span { color: var(--brass); font-size: 8.5px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }.giving-strategy-grid strong { display: block; margin: 18px 0 7px; color: var(--forest); font-family: Georgia, serif; font-size: 16px; line-height: 1.3; }.giving-strategy-grid p { margin: 0; color: var(--muted); font-size: 9.5px; line-height: 1.5; }
.giving-portfolio-panel, .giving-ministry-panel, .giving-matches-panel { padding: 27px 29px; margin-bottom: 18px; }
.giving-results-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 20px; }.giving-results-section-head h3 { margin: 0; color: var(--forest); font-family: Georgia, serif; font-size: 24px; }.giving-results-section-head > p { max-width: 470px; margin: 0; color: var(--muted); text-align: right; font-size: 10.5px; }
.giving-portfolio { display: grid; grid-template-columns: 175px minmax(230px, .75fr) minmax(280px, 1fr); gap: 25px; align-items: center; }
.giving-geo-chart { position: relative; width: 170px; height: 170px; border-radius: 50%; }.giving-geo-chart::after { content: ""; position: absolute; inset: 34px; border-radius: 50%; background: var(--surface); }.giving-geo-chart > div { position: absolute; inset: 34px; z-index: 1; display: grid; place-content: center; text-align: center; }.giving-geo-chart strong { color: var(--forest); font-family: Georgia, serif; font-size: 20px; }.giving-geo-chart span { color: var(--muted); font-size: 8px; }
.giving-geo-legend { display: grid; gap: 8px; }.giving-geo-legend > div { display: grid; grid-template-columns: 9px 1fr auto; gap: 8px; align-items: center; }.giving-geo-legend i { width: 9px; height: 9px; border-radius: 3px; }.giving-geo-legend i.local { background: var(--giving-local); }.giving-geo-legend i.regional { background: var(--giving-regional); }.giving-geo-legend i.national { background: var(--giving-national); }.giving-geo-legend i.international { background: var(--giving-international); }.giving-geo-legend span { display: flex; flex-direction: column; }.giving-geo-legend strong { color: var(--ink); font-size: 10px; }.giving-geo-legend small { color: var(--muted); font-size: 8px; }.giving-geo-legend b { color: var(--forest); font-family: Georgia, serif; font-size: 12px; }
.giving-portfolio-posture { padding: 18px; border-left: 1px solid var(--grid); }.giving-portfolio-posture > span { color: var(--brass); font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }.giving-portfolio-posture > strong { display: block; margin-top: 8px; color: var(--forest); font-family: Georgia, serif; font-size: 17px; line-height: 1.4; }.giving-portfolio-posture p { color: var(--ink-2); font-size: 10px; }.giving-portfolio-posture small { color: var(--muted); font-size: 8.5px; }
.giving-ministry-map { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.giving-ministry-card { min-width: 0; padding: 21px; border: 1px solid var(--grid); border-top: 4px solid var(--giving-local); border-radius: 13px; background: var(--surface-2); }
.giving-ministry-card:nth-child(2) { border-top-color: var(--giving-regional); }.giving-ministry-card:nth-child(3) { border-top-color: var(--giving-national); }.giving-ministry-card:nth-child(4) { border-top-color: var(--giving-international); }
.giving-ministry-card.unallocated { opacity: .67; }.giving-ministry-card-head { display: flex; justify-content: space-between; gap: 15px; align-items: baseline; }.giving-ministry-card-head span { color: var(--muted); font-size: 8.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }.giving-ministry-card-head strong { color: var(--forest); font-family: Georgia, serif; font-size: 18px; }
.giving-ministry-card h4 { margin: 13px 0 6px; color: var(--forest); font-family: Georgia, serif; font-size: 20px; }.giving-ministry-card > p { min-height: 47px; margin: 0; color: var(--ink-2); font-size: 9.5px; line-height: 1.55; }
.giving-ministry-types { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--grid); }.giving-ministry-types > span, .giving-ministry-diligence > span, .giving-trust-evidence > span { color: var(--brass); font-size: 7.5px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }.giving-ministry-types ul { margin: 8px 0 0; padding-left: 16px; color: var(--ink); font-size: 9px; line-height: 1.5; }.giving-ministry-types li { margin-bottom: 5px; }
.giving-ministry-diligence { margin-top: 13px; padding: 12px 13px; border-radius: 9px; background: var(--accent-soft); }.giving-ministry-diligence p { margin: 6px 0 0; color: var(--forest); font-size: 8.5px; line-height: 1.45; }.giving-ministry-diligence p::before { content: "→"; margin-right: 6px; color: var(--brass); }
.beta-badge { display: inline-block; margin-left: 5px; padding: 2px 5px; border-radius: 4px; color: var(--warning-text); background: var(--brass-soft); font-size: 7px; letter-spacing: .07em; vertical-align: 1px; }
.giving-match-loading { min-height: 120px; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-size: 10.5px; }.giving-match-loading .spinner { flex: 0 0 auto; }
.giving-matches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.giving-match-card { min-width: 0; padding: 17px; display: flex; flex-direction: column; border: 1px solid var(--grid); border-radius: 12px; background: var(--surface-2); }
.giving-match-tags { display: flex; gap: 5px; flex-wrap: wrap; }.giving-match-tags span { padding: 3px 6px; border-radius: 5px; color: var(--forest-2); background: var(--accent-soft); font-size: 7.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }.giving-match-tags span:nth-child(2) { color: var(--warning-text); background: var(--brass-soft); }
.giving-match-card h4 { margin: 13px 0 3px; color: var(--forest); font-family: Georgia, serif; font-size: 16px; line-height: 1.2; }.giving-match-meta { min-height: 30px; margin: 0; color: var(--muted); font-size: 8.5px; }.giving-match-revenue { margin: 12px 0; padding: 10px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; border-top: 1px solid var(--grid); border-bottom: 1px solid var(--grid); }.giving-match-revenue span { color: var(--muted); font-size: 8px; }.giving-match-revenue strong { color: var(--forest); font-family: Georgia, serif; font-size: 14px; }
.giving-match-themes { display: flex; gap: 4px; flex-wrap: wrap; }.giving-match-themes span { color: var(--ink-2); font-size: 8px; font-weight: 700; }.giving-match-themes span + span::before { content: "·"; margin-right: 4px; color: var(--brass); }
.giving-match-why { margin: 12px 0 0; color: var(--ink-2); font-size: 9px; line-height: 1.5; }
.giving-trust-evidence { margin: 13px 0; padding: 11px 12px; border-radius: 9px; background: var(--accent-soft); }.giving-match-card .giving-trust-evidence ul { margin: 7px 0 0; padding-left: 14px; color: var(--forest); font-size: 8.5px; line-height: 1.5; }.giving-trust-evidence li { margin-bottom: 3px; }
.giving-match-card ul { margin: 12px 0; padding-left: 15px; color: var(--ink-2); font-size: 9px; line-height: 1.5; }.giving-match-card li { margin-bottom: 4px; }.giving-match-caution { margin: auto 0 12px; color: var(--muted); font-size: 8px; font-style: italic; }
.giving-match-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }.giving-match-actions button, .giving-match-actions a { min-height: 32px; padding: 6px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 7px; color: var(--forest); background: var(--surface); font-size: 8.5px; font-weight: 800; text-align: center; text-decoration: none; }.giving-match-actions > :first-child { color: #fffdf8; border-color: var(--forest); background: var(--forest); }
.giving-match-method { margin: 14px 0 0; color: var(--muted); font-size: 8.5px; line-height: 1.5; }.giving-no-matches { grid-column: 1/-1; padding: 24px; border: 1px dashed var(--baseline); border-radius: 11px; color: var(--ink-2); background: var(--surface-2); }.giving-no-matches strong { color: var(--forest); font-family: Georgia, serif; }.giving-no-matches p { margin: 5px 0 0; font-size: 10px; }
.giving-crosswalk { margin-top: 12px; border-top: 1px solid var(--grid); }.giving-crosswalk summary { padding: 12px 0 3px; color: var(--forest); cursor: pointer; font-size: 9px; font-weight: 800; }.giving-crosswalk > div { padding-top: 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }.giving-crosswalk > div > span { padding: 9px 10px; border: 1px solid var(--grid); border-radius: 8px; background: var(--surface-2); }.giving-crosswalk strong { display: block; color: var(--ink); font-size: 8px; }.giving-crosswalk small { display: block; margin-top: 3px; color: var(--muted); font-size: 7.5px; line-height: 1.35; }
.giving-next-cycle { padding: 55px 20px 25px; text-align: center; }.giving-next-cycle h3 { margin: 0; color: var(--forest); font-family: Georgia, serif; font-size: 30px; }.giving-next-cycle > div { max-width: 940px; margin: 28px auto 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--border); }.giving-next-cycle > div span { padding: 17px 12px; border-right: 1px solid var(--border); color: var(--muted); font-size: 8.5px; }.giving-next-cycle > div span:last-child { border-right: 0; }.giving-next-cycle b { display: block; margin-bottom: 4px; color: var(--forest); font-family: Georgia, serif; font-size: 13px; }

/* Comparison workflow */
.compare-tray { position: sticky; top: 72px; z-index: 46; padding: 8px 28px 0; pointer-events: none; }
.compare-tray-inner {
  width: min(1124px, 100%); min-height: 58px; margin: 0 auto; padding: 8px 9px 8px 13px;
  display: flex; align-items: center; gap: 12px; color: #fffdf8; background: color-mix(in srgb, var(--forest) 95%, transparent);
  border: 1px solid rgba(255,255,255,.12); border-radius: 14px; box-shadow: 0 18px 42px -24px rgba(18,63,58,.7);
  backdrop-filter: blur(16px); pointer-events: auto; transition: transform .2s ease;
}
.compare-limit .compare-tray-inner { animation: compareNudge .28s ease 2; }
@keyframes compareNudge { 50% { transform: translateX(4px); } }
.compare-tray-label { flex: 0 0 auto; display: flex; align-items: center; gap: 9px; padding-right: 11px; border-right: 1px solid rgba(255,255,255,.14); }
.compare-tray-label > span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.compare-tray-label strong { font-family: Georgia, serif; font-size: 13px; }
.compare-tray-label small { color: rgba(255,253,248,.58); font-size: 8.5px; margin-top: 3px; white-space: nowrap; }
.compare-symbol { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; color: var(--forest); background: var(--brass-soft); font-size: 14px; font-weight: 800; }
.compare-chips { flex: 1; display: flex; align-items: center; gap: 7px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.compare-chips::-webkit-scrollbar { display: none; }
.compare-chip { flex: 0 0 auto; max-width: 205px; padding: 7px 6px 7px 10px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,.14); border-radius: 9px; background: rgba(255,255,255,.07); color: rgba(255,253,248,.92); font-size: 10.5px; font-weight: 700; }
.compare-chip > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compare-chip button { flex: 0 0 auto; width: 18px; height: 18px; padding: 0; border: 0; border-radius: 50%; color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); line-height: 1; }
.compare-chip button:hover { color: white; background: rgba(255,255,255,.18); }
.compare-open-btn { flex: 0 0 auto; min-height: 39px; padding: 9px 14px; border: 0; border-radius: 9px; color: var(--forest); background: #fffdf8; font-size: 10.5px; font-weight: 850; }
.compare-open-btn:disabled { color: rgba(255,255,255,.45); background: rgba(255,255,255,.09); cursor: not-allowed; }

.compare-view { --compare-columns: 3; }
.compare-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 38px; padding: 42px 4px 38px; }
.compare-heading h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(42px, 6vw, 68px); font-weight: 500; line-height: 1.02; letter-spacing: -.045em; }
.compare-heading h1 em { color: var(--forest-2); font-weight: 400; }
.compare-heading p { max-width: 670px; margin: 17px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.compare-heading-actions { flex: 0 0 auto; display: flex; gap: 8px; padding-bottom: 4px; }
.compare-context-note { margin-bottom: 14px; padding: 12px 16px; display: flex; gap: 12px; align-items: baseline; color: var(--ink-2); background: var(--brass-soft); border-left: 3px solid var(--brass); border-radius: 0 10px 10px 0; font-size: 11.5px; }
.compare-context-note strong { flex: 0 0 auto; color: var(--warning-text); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.compare-org-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-bottom: 18px; }
.compare-org-card { position: relative; min-width: 0; padding: 23px 22px 19px; border: 1px solid var(--border); border-top: 4px solid var(--compare-color); border-radius: 15px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.compare-org-number { position: absolute; right: 14px; bottom: -17px; color: color-mix(in srgb, var(--compare-color) 9%, transparent); font-family: Georgia, serif; font-size: 82px; line-height: 1; pointer-events: none; }
.compare-org-remove { position: absolute; top: 13px; right: 13px; z-index: 1; width: 25px; height: 25px; padding: 0; border: 1px solid var(--border); border-radius: 50%; color: var(--muted); background: var(--surface-2); line-height: 1; }
.compare-org-remove:hover { color: var(--critical); border-color: rgba(185,76,59,.28); }
.compare-org-category { display: block; margin: 0 30px 12px 0; color: var(--compare-color); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.compare-org-card h2 { max-width: 330px; margin: 0; color: var(--forest); font-family: Georgia, serif; font-size: 22px; line-height: 1.12; letter-spacing: -.02em; }
.compare-org-card > p { min-height: 35px; margin: 8px 0 15px; color: var(--muted); font-size: 10.5px; }
.compare-org-meta { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr; gap: 5px 11px; padding: 12px 0; border-top: 1px solid var(--grid); border-bottom: 1px solid var(--grid); font-size: 10px; }
.compare-org-meta span { color: var(--muted); }.compare-org-meta strong { color: var(--ink); }
.compare-open-profile { position: relative; z-index: 1; margin-top: 13px; padding: 0; border: 0; color: var(--forest-2); background: none; font-size: 10.5px; font-weight: 800; }
.compare-open-profile:hover { color: var(--forest); }
.compare-panel { padding: 26px 28px; margin-bottom: 18px; }
.compare-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 20px; }
.compare-section-head h2 { margin: 0; color: var(--forest); font-family: Georgia, serif; font-size: 24px; }
.compare-section-head > p { max-width: 520px; margin: 0; color: var(--muted); text-align: right; font-size: 11.5px; line-height: 1.55; }
.compare-table-wrap { width: 100%; overflow-x: auto; }
.compare-metric-table { min-width: 720px; table-layout: fixed; }
.compare-metric-table th:first-child { width: 170px; }
.compare-metric-table thead th:not(:first-child) { color: var(--forest); font-family: Georgia, serif; font-size: 11px; text-transform: none; letter-spacing: 0; }
.compare-metric-table tbody th { padding: 12px 10px; color: var(--ink-2); background: transparent; border-bottom: 1px solid var(--grid); font-size: 10.5px; text-transform: none; letter-spacing: 0; }
.compare-metric-table tbody td { color: var(--forest); font-family: Georgia, serif; font-size: 15px; font-weight: 700; }
.compare-missing { color: var(--muted); font-family: inherit; font-size: 10.5px; font-weight: 500; font-style: italic; }
.compare-trends { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.compare-trend-card { min-width: 0; padding: 15px; border: 1px solid var(--grid); border-radius: 12px; background: var(--surface-2); }
.compare-trend-card > div { display: grid; grid-template-columns: 9px 1fr; column-gap: 7px; align-items: center; }
.compare-trend-card strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-size: 11.5px; }
.compare-trend-card small { grid-column: 2; color: var(--muted); font-size: 9px; }
.compare-series-dot { width: 8px; height: 8px; border-radius: 50%; grid-row: 1 / span 2; }
.compare-signal-table tbody td { vertical-align: top; font-family: inherit; font-weight: 400; }
.compare-signal-table tbody td > strong { display: block; margin: 7px 0 3px; color: var(--ink); font-family: Georgia, serif; font-size: 11.5px; }
.compare-signal-table tbody td > small { display: block; color: var(--muted); font-size: 9px; line-height: 1.45; }
.compare-signal-status { display: inline-flex; align-items: center; gap: 5px; font-size: 8.5px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.compare-signal-status i { width: 7px; height: 7px; border-radius: 50%; }
.compare-signal-status.good { color: var(--good-text); }.compare-signal-status.good i { background: var(--good); }
.compare-signal-status.warning { color: var(--warning-text); }.compare-signal-status.warning i { background: var(--warning); }
.compare-signal-status.serious { color: var(--serious-text); }.compare-signal-status.serious i { background: var(--critical); }
.compare-signal-status.neutral { color: var(--muted); }.compare-signal-status.neutral i { background: var(--muted); }
.compare-shared-fit { display: grid; grid-template-columns: 150px 1fr; column-gap: 18px; row-gap: 5px; padding: 16px 18px; border: 1px solid rgba(198,139,50,.24); border-left: 3px solid var(--brass); border-radius: 0 11px 11px 0; background: var(--brass-soft); }
.compare-shared-fit > span { grid-row: 1 / span 2; color: var(--warning-text); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.compare-shared-fit > div { display: flex; gap: 7px; flex-wrap: wrap; }
.compare-shared-fit > div strong { padding: 4px 8px; border-radius: 6px; color: var(--forest); background: rgba(255,253,248,.62); font-size: 10px; }
.compare-shared-fit p { margin: 0; color: var(--ink-2); font-size: 9.5px; }
.compare-fit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 11px; margin-top: 11px; }
.compare-fit-column { min-width: 0; padding: 17px; border: 1px solid var(--grid); border-radius: 12px; background: var(--surface-2); }
.compare-fit-org { display: flex; align-items: center; gap: 7px; padding-bottom: 11px; border-bottom: 1px solid var(--grid); }
.compare-fit-org i { width: 8px; height: 8px; border-radius: 50%; }.compare-fit-org strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--forest); font-size: 11px; }
.compare-fit-column > a { display: block; padding: 11px 0; border-bottom: 1px solid var(--grid); }
.compare-fit-column > a strong { display: block; color: var(--forest); font-family: Georgia, serif; font-size: 11.5px; }
.compare-fit-column > a span { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.compare-fit-column > small { display: block; margin-top: 12px; color: var(--muted); font-size: 8.5px; line-height: 1.5; }
.compare-footnote { max-width: 850px; margin: 22px auto 0; color: var(--muted); text-align: center; font-size: 9.5px; line-height: 1.55; }
.is-selected { color: var(--good-text)!important; border-color: rgba(45,125,92,.28)!important; background: rgba(45,125,92,.08)!important; }

/* Organization profile */
.org-header { position: relative; padding: 28px 30px 23px; margin-bottom: 12px; overflow: hidden; }
.org-header::after { content: ""; position: absolute; top: 0; right: 0; width: 180px; height: 5px; background: linear-gradient(90deg, var(--brass), var(--forest-2)); }
.org-title-row { display: flex; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
.org-title-row h1 { flex: 1; min-width: 260px; margin: 0; font-family: Georgia, serif; font-size: clamp(28px, 4vw, 40px); line-height: 1.08; letter-spacing: -.035em; font-weight: 500; }
.org-meta { display: flex; gap: 12px; flex-wrap: wrap; color: var(--ink-2); font-size: 12.5px; margin-top: 11px; }
.org-meta span { display: inline-flex; align-items: center; }
.org-meta .dot::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--brass); margin-right: 12px; }
.mission { color: var(--ink-2); font-family: Georgia, serif; font-size: 15.5px; line-height: 1.65; margin: 15px 0 0; max-width: 860px; }
.org-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.btn { border: 1px solid var(--border); background: var(--surface); color: var(--ink); padding: 8px 13px; border-radius: 9px; font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; transition: .16s ease; }
.btn:hover { border-color: var(--forest-2); color: var(--forest-2); transform: translateY(-1px); box-shadow: 0 9px 20px -17px var(--forest); }
#memo-btn { background: var(--forest); border-color: var(--forest); color: #fffdf8; }
#memo-btn:hover { color: white; background: var(--forest-2); }
.band-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; font-weight: 700; font-size: 12px; border: 1px solid var(--border); }
.band-pill .pip { width: 7px; height: 7px; border-radius: 50%; }
.band-good { background: color-mix(in srgb, var(--good) 8%, var(--surface)); }.band-good .pip { background: var(--good); }
.band-warning { background: color-mix(in srgb, var(--warning) 10%, var(--surface)); }.band-warning .pip { background: var(--warning); }
.band-serious { background: color-mix(in srgb, var(--critical) 8%, var(--surface)); }.band-serious .pip { background: var(--critical); }
.band-neutral .pip { background: var(--muted); }
.org-source-row { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 18px; padding-top: 17px; border-top: 1px solid var(--grid); align-items: center; }
.org-source-row a { font-size: 11.5px !important; font-weight: 700; }
.latest-chip { font-size: 11.5px; color: var(--ink-2); border: 1px solid var(--border); border-radius: 999px; padding: 5px 11px; background: var(--surface-2); }
.latest-chip strong { color: var(--ink); }
.profile-nav { position: sticky; top: 83px; z-index: 35; display: flex; gap: 5px; margin: 0 0 18px; padding: 6px; overflow-x: auto; background: color-mix(in srgb, var(--surface) 90%, transparent); border: 1px solid var(--border); border-radius: 12px; backdrop-filter: blur(14px); box-shadow: var(--shadow); }
.profile-nav a { flex: 0 0 auto; color: var(--ink-2); font-size: 11.5px; font-weight: 700; padding: 7px 11px; border-radius: 8px; }
.profile-nav a:hover { color: var(--forest); background: var(--accent-soft); }

/* Warnings and KPIs */
.warnings { margin-bottom: 16px; display: grid; gap: 8px; }
.warning-item { border: 1px solid color-mix(in srgb, var(--warning) 35%, var(--border)); background: color-mix(in srgb, var(--warning) 7%, var(--surface)); border-radius: 10px; padding: 11px 14px; font-size: 12.5px; color: var(--ink-2); display: flex; gap: 10px; }
.warning-item .w-icon { color: var(--warning-text); }
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.stat-tile { position: relative; padding: 18px 19px 16px; display: flex; flex-direction: column; gap: 3px; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.stat-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.stat-tile::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 0 3px 3px 0; background: var(--brass); }
.stat-label { font-size: 10.5px; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.stat-value { font-family: Georgia, serif; font-size: 28px; font-weight: 500; letter-spacing: -.03em; color: var(--forest); }
.stat-sub { display: flex; align-items: center; gap: 8px; min-height: 24px; }
.stat-delta { font-size: 11.5px; font-weight: 700; }.stat-delta.up { color: var(--good-text); }.stat-delta.down { color: var(--critical); }.stat-delta.flat { color: var(--muted); }
.stat-spark { margin-left: auto; }

/* Panels, signals, and charts */
.panel-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(300px, 2fr); gap: 18px; margin-bottom: 18px; align-items: start; }
.panel-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.signal { display: flex; gap: 11px; padding: 12px 0; border-bottom: 1px solid var(--grid); }
.signal:last-child { border-bottom: 0; }
.signal-icon { flex-shrink: 0; width: 23px; height: 23px; border-radius: 7px; display: grid; place-items: center; margin-top: 1px; font-size: 11px; font-weight: 900; }
.signal-icon.good { background: color-mix(in srgb, var(--good) 12%, var(--surface)); color: var(--good-text); }
.signal-icon.warning { background: color-mix(in srgb, var(--warning) 15%, var(--surface)); color: var(--warning-text); }
.signal-icon.serious { background: color-mix(in srgb, var(--critical) 10%, var(--surface)); color: var(--critical); }
.signal-icon.neutral { background: var(--surface-2); color: var(--muted); }
.signal-body { flex: 1; min-width: 0; }.signal-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.signal-name { font-weight: 750; font-size: 13.5px; }.signal-value { font-family: Georgia, serif; font-size: 13px; color: var(--forest-2); }
.signal-detail { font-size: 12px; color: var(--muted); margin-top: 2px; }
.signal-method { display: none; font-size: 11.5px; color: var(--muted); margin-top: 7px; padding: 9px 10px; background: var(--surface-2); border-radius: 8px; border: 1px solid var(--grid); }
.signal.open .signal-method { display: block; }
.method-toggle { background: none; border: 0; color: var(--accent); font-size: 11px; padding: 0; margin-top: 4px; font-weight: 700; }
.chart-wrap { position: relative; }.chart-tooltip { position: absolute; pointer-events: none; z-index: 30; background: var(--forest); color: #fffdf8; border-radius: 8px; padding: 7px 10px; font-size: 11.5px; opacity: 0; transition: opacity .1s; white-space: nowrap; transform: translate(-50%, calc(-100% - 10px)); box-shadow: 0 10px 22px -14px #000; }
.chart-tooltip.show { opacity: 1; }.chart-tooltip .tt-title { font-weight: 700; }
.legend { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 10px; }.legend-item { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--ink-2); }.legend-swatch { width: 9px; height: 9px; border-radius: 3px; }
svg text { font-family: inherit; }
.mix-bar { display: flex; height: 20px; border-radius: 6px; overflow: hidden; gap: 2px; background: var(--surface-2); }.mix-seg { height: 100%; }.mix-labels { display: flex; gap: 16px; margin-top: 11px; flex-wrap: wrap; }.mix-label { font-size: 11.5px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }.mix-label strong { color: var(--ink); }

/* Foundation fit */
.grantmaking-panel { margin-bottom: 18px; }
.grantmaking-heading { align-items: center; }
.grantmaking-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 6px 0 20px; border: 1px solid var(--grid); border-radius: 12px; background: var(--surface-2); }
.grantmaking-summary > div { padding: 13px 15px; border-right: 1px solid var(--grid); }
.grantmaking-summary > div:last-child { border-right: 0; }
.grantmaking-summary span { display: block; color: var(--muted); font-size: 8.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.grantmaking-summary strong { display: block; margin-top: 3px; color: var(--forest); font-family: Georgia, serif; font-size: 16px; }
.grant-theme-years { display: grid; grid-template-columns: repeat(auto-fit, minmax(460px, 1fr)); gap: 12px; }
.grant-theme-card { min-width: 0; padding: 18px; border: 1px solid var(--grid); border-radius: 14px; background: var(--surface-2); }
.grant-theme-year-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 12px; border-bottom: 1px solid var(--grid); }
.grant-theme-year-head > div { display: flex; align-items: baseline; gap: 7px; }
.grant-theme-year-head span { color: var(--muted); font-size: 8.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.grant-theme-year-head strong { color: var(--forest); font-family: Georgia, serif; font-size: 19px; }
.grant-theme-year-head a { color: var(--forest-2); font-size: 9.5px; font-weight: 750; }
.grant-theme-chart-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; align-items: center; padding: 20px 0 8px; }
.grant-theme-pie { position: relative; width: 174px; height: 174px; border-radius: 50%; box-shadow: 0 10px 28px -24px rgba(21,40,36,.6); }
.grant-theme-pie::after { content: ""; position: absolute; inset: 35px; border-radius: 50%; background: var(--surface-2); box-shadow: 0 0 0 1px rgba(21,40,36,.04); }
.grant-theme-pie > div { position: absolute; inset: 35px; z-index: 1; display: grid; place-content: center; text-align: center; }
.grant-theme-pie strong { color: var(--forest); font-family: Georgia, serif; font-size: 16px; line-height: 1.1; }
.grant-theme-pie span { margin-top: 4px; color: var(--muted); font-size: 8.5px; }
.grant-theme-legend { min-width: 0; display: grid; gap: 6px; }
.grant-theme-key { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 7px; align-items: center; }
.grant-theme-key > i { width: 8px; height: 8px; border-radius: 3px; }
.grant-theme-key > span { min-width: 0; display: flex; flex-direction: column; }
.grant-theme-key strong { overflow: hidden; color: var(--ink); font-size: 9.5px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.grant-theme-key small { color: var(--muted); font-size: 7.5px; }
.grant-theme-key > b { color: var(--ink-2); font-size: 9px; font-variant-numeric: tabular-nums; }
.grant-theme-coverage-line { margin: 7px 0 0; color: var(--muted); font-size: 8px; text-align: right; }
.grant-theme-method { margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--grid); color: var(--muted); font-size: 10px; }
.grant-theme-method summary { color: var(--forest-2); font-size: 10px; font-weight: 800; cursor: pointer; }
.grant-theme-method p { margin: 7px 0 0; max-width: 880px; }
.grant-theme-empty { padding: 24px; border: 1px dashed var(--baseline); border-radius: 12px; color: var(--ink-2); background: var(--surface-2); }
.grant-theme-empty strong { color: var(--forest); font-family: Georgia, serif; font-size: 15px; }.grant-theme-empty p { margin: 5px 0 0; font-size: 11px; }

.section-heading-row { display: flex; gap: 24px; justify-content: space-between; align-items: flex-start; }
.research-badge { flex: 0 0 auto; color: var(--warning-text); background: var(--brass-soft); border: 1px solid rgba(198,139,50,.2); border-radius: 999px; padding: 5px 10px; font-size: 10.5px; font-weight: 700; }
.foundation-fit-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fit-card { position: relative; border: 1px solid var(--grid); border-radius: 12px; padding: 16px; background: var(--surface-2); overflow: hidden; transition: .18s ease; }
.fit-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: linear-gradient(180deg, var(--brass), var(--forest-2)); }
.fit-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--forest-2) 28%, var(--grid)); box-shadow: var(--shadow-lift); }
.fit-card-head { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
.fit-name { font-family: Georgia, serif; font-size: 15px; font-weight: 700; color: var(--forest); }.fit-focus { color: var(--muted); font-size: 11.5px; line-height: 1.45; margin-top: 4px; }
.fit-label { flex: 0 0 auto; border: 1px solid rgba(23,108,98,.18); background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: 3px 8px; font-size: 9.5px; font-weight: 800; white-space: nowrap; text-transform: uppercase; letter-spacing: .04em; }
.fit-why { color: var(--ink-2); font-size: 12.5px; margin: 12px 0 7px; }.fit-verify { color: var(--muted); font-size: 11px; margin: 0; }
.local-lead { grid-column: 1/-1; border-left: 3px solid var(--brass); padding: 10px 13px; color: var(--ink-2); background: var(--brass-soft); border-radius: 0 9px 9px 0; font-size: 12px; }
.fit-method { color: var(--muted); font-size: 11px; margin: 12px 0 0; }

/* Tables and support content */
table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
th { text-align: left; font-size: 9.5px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 800; padding: 9px 10px; border-bottom: 1px solid var(--baseline); background: var(--surface-2); }
th:first-child { border-radius: 7px 0 0 7px; } th:last-child { border-radius: 0 7px 7px 0; }
td { padding: 10px; border-bottom: 1px solid var(--grid); vertical-align: top; } tr:last-child td { border-bottom: 0; } tbody tr:hover { background: rgba(23,108,98,.025); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.src-badge { display: inline-block; font-size: 9.5px; font-weight: 800; border-radius: 5px; padding: 2px 6px; border: 1px solid var(--border); color: var(--ink-2); background: var(--surface-2); margin-right: 3px; white-space: nowrap; }
.src-badge.efile { border-color: rgba(23,108,98,.3); color: var(--series-1); }.doc-links a { margin-right: 9px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }.year-new { font-size: 9px; font-weight: 900; color: var(--brass); letter-spacing: .06em; margin-left: 5px; }
.li-link { display: inline-block; margin-left: 5px; font-size: 9px; font-weight: 800; line-height: 1; padding: 3px 5px; border-radius: 4px; background: #0a66c2; color: #fff!important; vertical-align: 1px; opacity: .76; }.li-link:hover { opacity: 1; }
.news-item { padding: 12px 0; border-bottom: 1px solid var(--grid); }.news-item:last-child { border-bottom: 0; }.news-title { font-family: Georgia, serif; font-size: 13.5px; font-weight: 700; color: var(--forest); }.news-meta { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.provenance { padding: 20px 23px; font-size: 11.5px; color: var(--muted); background: transparent; box-shadow: none; }.provenance h3 { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 9px; color: var(--brass); }.provenance ul { margin: 0; padding-left: 18px; }.provenance li { margin-bottom: 4px; }

/* States */
.loading-panel { text-align: center; padding: 110px 0; color: var(--muted); }.loading-panel strong { color: var(--ink); font-family: Georgia, serif; font-size: 18px; }
.loading-mark { position: relative; width: 50px; height: 50px; display: grid; place-items: center; margin: 0 auto 16px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow); }
.spinner { width: 25px; height: 25px; border: 2px solid var(--grid); border-top-color: var(--brass); border-right-color: var(--forest-2); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.error-panel { border: 1px solid color-mix(in srgb, var(--critical) 34%, var(--border)); background: color-mix(in srgb, var(--critical) 5%, var(--surface)); border-radius: 14px; padding: 20px 22px; color: var(--ink-2); }
.hidden { display: none!important; }.muted { color: var(--muted); }.fade-in { animation: fadeIn .32s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

/* Personal giving profile */
.topbar-account { display: flex; align-items: center; gap: 7px; }.profile-open-btn, .profile-signin-btn { min-height: 34px; padding: 7px 12px; border: 1px solid var(--forest); border-radius: 999px; color: var(--forest); background: var(--surface); font-size: 10.5px; font-weight: 800; white-space: nowrap; }.profile-open-btn:hover { color: #fffdf8; background: var(--forest); }.profile-signin-btn { padding-left: 8px; padding-right: 8px; border-color: transparent; background: transparent; }.profile-signin-btn:hover { color: var(--forest-2); background: var(--accent-soft); }
.signin-dialog { width: min(92vw, 470px); padding: 28px; border: 1px solid var(--border); border-radius: 20px; color: var(--ink); background: var(--surface); box-shadow: 0 34px 100px -35px rgba(21,40,36,.72); }.signin-dialog[open] { animation: signinReveal .2s ease; }.signin-dialog::backdrop { background: rgba(18,37,33,.48); backdrop-filter: blur(5px); }.signin-dialog-head { margin-bottom: 23px; display: flex; align-items: flex-start; justify-content: space-between; }.signin-dialog h2 { margin: 7px 0 0; color: var(--forest); font-family: Georgia, serif; font-size: 31px; font-weight: 500; line-height: 1.08; letter-spacing: -.035em; }.signin-dialog > p { margin: 13px 0 20px; color: var(--ink-2); font-size: 12px; line-height: 1.6; }.signin-dialog form { display: grid; gap: 10px; }.signin-dialog form label { display: grid; gap: 5px; color: var(--ink-2); font-size: 9px; font-weight: 800; }.signin-dialog form input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 9px; color: var(--ink); background: var(--surface-2); font: inherit; outline: none; }.signin-dialog form input:focus { border-color: var(--forest-2); box-shadow: 0 0 0 3px var(--accent-soft); }.signin-dialog form .landing-btn { width: 100%; }.signin-status { min-height: 18px; margin: 12px 0 0!important; color: var(--muted)!important; font-size: 10px!important; }.signin-status.is-error { color: var(--critical)!important; }.signin-preview { margin-top: 12px; padding: 14px; border-left: 3px solid var(--brass); border-radius: 0 10px 10px 0; background: var(--brass-soft); }.signin-preview strong, .signin-preview span { display: block; }.signin-preview strong { color: var(--forest); font-size: 10px; }.signin-preview span { margin: 4px 0 10px; color: var(--ink-2); font-size: 9px; line-height: 1.45; }.signin-preview .landing-btn { width: 100%; min-height: 38px; }.signin-dialog .icon-action { border: 0; background: var(--surface-2); }@keyframes signinReveal { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }
.profile-signup-card { margin: 20px 0; padding: 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr); gap: 28px; align-items: center; border-color: color-mix(in srgb, var(--brass) 28%, var(--border)); background: linear-gradient(135deg, var(--surface), var(--brass-soft)); }.profile-signup-card h3 { margin: 0; color: var(--forest); font-family: Georgia, serif; font-size: 24px; }.profile-signup-card p { margin: 8px 0 0; color: var(--ink-2); font-size: 11px; line-height: 1.55; }.profile-signup-card form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.profile-signup-card form button { grid-column: 1/-1; }.profile-signup-card label, .board-builder-controls label { display: grid; gap: 5px; color: var(--ink-2); font-size: 9px; font-weight: 800; }.profile-signup-card label small { color: var(--muted); font-weight: 500; }.profile-signup-card input, .profile-signup-card select, .board-builder-controls input, .board-builder-controls select, .portfolio-filters select { width: 100%; min-height: 39px; padding: 9px 10px; border: 1px solid var(--border); border-radius: 8px; color: var(--ink); background: var(--surface); font: inherit; outline: none; }.profile-signup-card input:focus, .profile-signup-card select:focus, .board-builder-controls input:focus, .board-builder-controls select:focus { border-color: var(--forest-2); box-shadow: 0 0 0 3px var(--accent-soft); }.profile-signup-saved { padding: 20px; border-radius: 12px; background: var(--forest); color: #fffdf8; }.profile-signup-saved strong { font-family: Georgia, serif; font-size: 18px; }.profile-signup-saved p { color: rgba(255,255,255,.72); }.profile-signup-saved > div { margin-top: 13px; display: flex; gap: 7px; }.profile-signup-saved .btn { color: #fffdf8; border-color: rgba(255,255,255,.36); background: transparent; }.profile-signup-saved .landing-btn { width: auto; border-color: #fffdf8; background: #fffdf8; color: var(--forest); }.profile-inline-error { grid-column: 1/-1; margin: 0!important; color: var(--critical)!important; font-weight: 750; }
.user-profile-view { padding-bottom: 70px; }.profile-dashboard-head { padding: 38px 2px 32px; }.profile-dashboard-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; }.profile-dashboard-title h1 { margin: 0; color: var(--forest); font-family: Georgia, serif; font-size: clamp(38px, 5vw, 58px); font-weight: 500; letter-spacing: -.04em; }.profile-dashboard-title p { margin: 7px 0 0; color: var(--muted); font-size: 12px; }.profile-dashboard-head blockquote { max-width: 940px; margin: 25px 0 0; padding: 18px 22px; border-left: 3px solid var(--brass); color: var(--ink-2); background: var(--surface-2); font-family: Georgia, serif; font-size: 19px; line-height: 1.45; }.profile-summary { margin-top: 17px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: 13px; background: var(--surface); overflow: hidden; }.profile-summary > div { padding: 15px 17px; border-right: 1px solid var(--grid); }.profile-summary > div:last-child { border-right: 0; }.profile-summary strong { display: block; color: var(--forest); font-family: Georgia, serif; font-size: 21px; }.profile-summary span { color: var(--muted); font-size: 8px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }.profile-needs-strategy { max-width: 720px; margin: 60px auto; padding: 42px; text-align: center; }.profile-needs-strategy h2 { color: var(--forest); font-family: Georgia, serif; font-size: 31px; }.profile-needs-strategy p { color: var(--muted); }.profile-needs-strategy .landing-btn { margin-top: 15px; }
.portfolio-panel, .board-builder-panel { margin-bottom: 22px; padding: 27px; }.profile-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }.profile-section-head h2 { margin: 0; color: var(--forest); font-family: Georgia, serif; font-size: 27px; }.profile-section-head p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }.portfolio-filters { margin: 21px 0; padding: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; border-radius: 11px; background: var(--surface-2); }.portfolio-filters label { display: grid; gap: 4px; color: var(--muted); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }.portfolio-filters select { min-height: 35px; padding: 7px 8px; text-transform: none; letter-spacing: 0; }.portfolio-empty { padding: 38px; border: 1px dashed var(--baseline); border-radius: 12px; text-align: center; background: var(--surface-2); }.portfolio-empty strong { color: var(--forest); font-family: Georgia, serif; font-size: 19px; }.portfolio-empty p { color: var(--muted); }.portfolio-empty .landing-btn { width: auto; margin-top: 10px; }
.portfolio-theme-group { margin-top: 24px; }.portfolio-theme-heading { margin-bottom: 9px; display: flex; align-items: center; gap: 10px; color: var(--brass); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }.portfolio-theme-heading::after { content: ""; flex: 1; height: 1px; background: var(--grid); }.portfolio-theme-heading b { order: 3; min-width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; color: var(--forest); background: var(--accent-soft); font-size: 9px; }.portfolio-theme-group > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }.portfolio-org-card { min-width: 0; padding: 19px; border: 1px solid var(--grid); border-radius: 12px; background: var(--surface-2); }.portfolio-org-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }.portfolio-org-head span { color: var(--brass); font-size: 7px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }.portfolio-org-head h3 { margin: 4px 0 2px; color: var(--forest); font-family: Georgia, serif; font-size: 18px; }.portfolio-org-head p { margin: 0; color: var(--muted); font-size: 8px; }.portfolio-theme-editor { margin-top: 15px; }.portfolio-theme-editor > span, .portfolio-notes > span, .gift-ledger-head > span { color: var(--ink-2); font-size: 8px; font-weight: 800; }.portfolio-theme-editor > div { margin-top: 7px; display: flex; flex-wrap: wrap; gap: 5px; }.portfolio-theme-editor label input { position: absolute; opacity: 0; pointer-events: none; }.portfolio-theme-editor label span { display: block; padding: 4px 7px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); background: var(--surface); font-size: 7.5px; cursor: pointer; }.portfolio-theme-editor label input:checked + span { border-color: rgba(23,108,98,.22); color: var(--forest); background: var(--accent-soft); font-weight: 800; }.portfolio-notes { margin-top: 15px; display: grid; gap: 6px; }.portfolio-notes textarea, .board-section-row textarea { width: 100%; padding: 10px 11px; resize: vertical; border: 1px solid var(--border); border-radius: 8px; color: var(--ink); background: var(--surface); font: inherit; font-size: 9px; line-height: 1.45; outline: none; }.portfolio-notes textarea:focus, .board-section-row textarea:focus { border-color: var(--forest-2); box-shadow: 0 0 0 3px var(--accent-soft); }.portfolio-org-actions { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; }.text-danger { padding: 5px; border: 0; color: var(--critical); background: transparent; font-size: 8px; font-weight: 750; }.gift-ledger { margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--grid); }.gift-ledger-head { display: flex; align-items: center; justify-content: space-between; }.gift-ledger-head small, .gift-empty { color: var(--muted); font-size: 7.5px; }.gift-record { margin-top: 7px; display: grid; grid-template-columns: 62px 92px 85px minmax(80px, 1fr) auto auto; gap: 4px; }.gift-record input, .gift-record select { min-width: 0; height: 31px; padding: 5px 6px; border: 1px solid var(--border); border-radius: 6px; color: var(--ink); background: var(--surface); font-size: 8px; }.gift-record .btn, .gift-record .landing-btn { width: auto; min-height: 31px; padding: 5px 7px; font-size: 7.5px; }.icon-action { min-width: 28px; height: 28px; padding: 0; border: 1px solid var(--border); border-radius: 7px; color: var(--forest); background: var(--surface); font-weight: 850; }.icon-action:disabled { opacity: .35; }.gift-record-new { grid-template-columns: 62px 92px 85px minmax(80px, 1fr) auto; padding-top: 7px; border-top: 1px dashed var(--grid); }
.board-builder-controls { margin: 22px 0; display: grid; grid-template-columns: 2fr 1fr .8fr 1fr; gap: 10px; }.board-structure-head { padding-top: 17px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--grid); }.board-structure-head strong { display: block; color: var(--forest); font-family: Georgia, serif; font-size: 17px; }.board-structure-head small { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; }.board-sections { margin-top: 13px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.board-section-row { padding: 13px; border: 1px solid var(--grid); border-radius: 10px; background: var(--surface-2); }.board-section-controls { display: grid; grid-template-columns: auto 1fr auto auto auto; gap: 4px; align-items: center; }.board-section-controls label { color: var(--muted); font-size: 8px; font-weight: 800; }.board-section-title { width: 100%; margin: 8px 0 6px; padding: 7px 8px; border: 0; border-bottom: 1px solid var(--border); color: var(--forest); background: transparent; font-family: Georgia, serif; font-size: 14px; font-weight: 700; outline: none; }.board-builder-actions { margin-top: 16px; display: flex; justify-content: flex-end; gap: 8px; }.board-builder-actions .landing-btn { width: auto; }.profile-inline-message { min-height: 16px; margin: 8px 0 0; color: var(--muted); font-size: 8.5px; text-align: right; }

.profile-section-actions { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }.manual-org-open { color: var(--forest); border-color: rgba(198,139,50,.35); background: var(--brass-soft); }
.manual-org-form { margin: 21px 0 4px; padding: 22px; border: 1px solid rgba(198,139,50,.28); border-radius: 14px; background: linear-gradient(135deg, var(--surface), var(--brass-soft)); }
.manual-org-form-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }.manual-org-form-head h3 { margin: 3px 0 0; color: var(--forest); font-family: Georgia, serif; font-size: 22px; }.manual-org-form-head p { max-width: 610px; margin: 6px 0 0; color: var(--muted); font-size: 10.5px; line-height: 1.5; }
.manual-org-fields { margin-top: 18px; display: grid; grid-template-columns: 1.5fr 1fr .45fr 1.3fr; gap: 9px; }.manual-org-form label, .manual-org-themes legend { display: grid; gap: 5px; color: var(--ink-2); font-size: 8.5px; font-weight: 800; }.manual-org-form label small { color: var(--muted); font-weight: 500; }.manual-org-form input, .manual-org-form textarea { width: 100%; min-height: 38px; padding: 9px 10px; border: 1px solid var(--border); border-radius: 8px; color: var(--ink); background: var(--surface); font: inherit; outline: none; }.manual-org-form textarea { resize: vertical; line-height: 1.45; }.manual-org-form input:focus, .manual-org-form textarea:focus { border-color: var(--forest-2); box-shadow: 0 0 0 3px var(--accent-soft); }
.manual-org-themes { margin: 17px 0 0; padding: 0; border: 0; }.manual-org-themes legend { padding: 0; }.manual-org-themes > p { margin: 3px 0 8px; color: var(--muted); font-size: 8px; }.manual-org-themes > div { display: flex; flex-wrap: wrap; gap: 5px; }.manual-org-themes label { position: relative; }.manual-org-themes input { position: absolute; opacity: 0; pointer-events: none; }.manual-org-themes label span { display: block; padding: 5px 8px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); background: var(--surface); font-size: 7.5px; cursor: pointer; }.manual-org-themes label input:checked + span { color: var(--forest); border-color: rgba(23,108,98,.25); background: var(--accent-soft); font-weight: 850; }.manual-org-themes label input:focus-visible + span { outline: 2px solid var(--forest-2); outline-offset: 2px; }
.manual-org-notes { margin-top: 17px; }.manual-org-caution { margin-top: 13px; padding: 10px 12px; display: flex; gap: 10px; border-left: 3px solid var(--brass); color: var(--ink-2); background: rgba(255,253,248,.68); font-size: 8.5px; }.manual-org-caution strong { flex: 0 0 auto; color: var(--brass); text-transform: uppercase; letter-spacing: .07em; }.manual-org-actions { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }.manual-org-actions .landing-btn { width: auto; }.manual-org-actions .profile-inline-error { margin-right: auto!important; }
.portfolio-manual-badge { display: inline-block; margin-left: 6px; padding: 2px 5px; border-radius: 999px; color: var(--warning-text)!important; background: rgba(211,154,55,.13); font-family: inherit; font-size: 6.5px!important; letter-spacing: .05em; text-transform: uppercase; }.portfolio-org-head-actions { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }.portfolio-org-head-actions .btn { white-space: nowrap; }.portfolio-empty > div { display: flex; justify-content: center; gap: 7px; flex-wrap: wrap; }.portfolio-empty > div .btn { margin-top: 10px; }

/* Responsive */
@media (max-width: 900px) {
  .topbar-inner { gap: 14px; }.brand-tag, .source-status, .landing-nav { display: none; }
  .panel-grid { grid-template-columns: 1fr; }.kpi-row { grid-template-columns: repeat(2, 1fr); }
  .hero-notes { grid-template-columns: 1fr; max-width: 620px; }.hero-note { border-right: 0; border-bottom: 1px solid var(--border); padding: 20px 8px; }.hero-note:last-child { border-bottom: 0; }
  .product-section { grid-template-columns: 1fr; gap: 45px; }.product-copy { max-width: 650px; }.product-preview { max-width: 700px; margin: 0 auto; }
  .portfolio-feature-section { grid-template-columns: 1fr; gap: 45px; }.portfolio-feature-preview { max-width: 760px; margin: 0 auto; }.portfolio-feature-copy { max-width: 650px; }
  .trust-section { grid-template-columns: 1fr; gap: 35px; }.trust-points { max-width: 650px; }
  .compare-tray-label { display: none; }.compare-heading { display: block; }.compare-heading-actions { margin-top: 20px; padding: 0; }.compare-section-head { align-items: flex-start; }.compare-section-head > p { max-width: 420px; }
  .grantmaking-summary { grid-template-columns: repeat(2, 1fr); }.grantmaking-summary > div:nth-child(2) { border-right: 0; }.grantmaking-summary > div:nth-child(-n+2) { border-bottom: 1px solid var(--grid); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }.individual-card { grid-column: 1/-1; min-height: 330px; }
  .giving-assessment { grid-template-columns: 1fr; }.giving-progress { position: static; }.giving-progress ol { grid-template-columns: repeat(4, 1fr); }.giving-progress > p { display: none; }.giving-choice-grid.three, .giving-theme-grid, .giving-quality-grid { grid-template-columns: repeat(2, 1fr); }.giving-allocation-grid { grid-template-columns: repeat(2, 1fr); }.giving-size-grid { grid-template-columns: repeat(3, 1fr); }.giving-portfolio { grid-template-columns: 175px 1fr; }.giving-portfolio-posture { grid-column: 1/-1; border-left: 0; border-top: 1px solid var(--grid); }.giving-matches { grid-template-columns: repeat(2, 1fr); }
  .profile-signup-card { grid-template-columns: 1fr; }.portfolio-theme-group > div { grid-template-columns: 1fr; }.board-sections { grid-template-columns: 1fr; }.board-builder-controls { grid-template-columns: 1fr 1fr; }.manual-org-fields { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .topbar-inner { padding: 10px 14px; min-height: 64px; }.brand-name, .brand-tag { display: none; }.brand-mark { width: 32px; height: 32px; }
  .container { padding: 22px 14px 64px; }.hero { padding: 54px 4px 24px; }.hero h1 { font-size: 43px; }.hero-copy { font-size: 15px; padding: 0 8px; }
  .hero-actions { display: grid; padding: 0 14px; }.landing-btn { width: 100%; }.landing-section { padding: 72px 4px; }.landing-section h2, .landing-cta h2 { font-size: 36px; }.landing-section-head { margin-bottom: 32px; }
  .hero-proof { display: grid; width: 100%; grid-template-columns: repeat(3, 1fr); }.hero-proof div { min-width: 0; padding: 10px 5px; }.hero-proof strong { font-size: 14px; }.hero-proof span { font-size: 8.5px; }
  .samples { gap: 6px; }.sample-label { width: 100%; margin-bottom: 3px; }.hero-notes { margin-top: 50px; }
  .audience-grid { grid-template-columns: 1fr; }.audience-card { min-height: 0; padding: 30px 24px; }.audience-card h3 { font-size: 29px; }.product-section { gap: 36px; }.product-preview { padding: 10px; transform: none; }.preview-org { padding: 15px 3px 12px; }.preview-org h3 { font-size: 15px; }.preview-badge { display: none; }.preview-metrics > div { padding: 8px; }.preview-metrics strong { font-size: 14px; }.preview-body { grid-template-columns: 1fr; }.preview-chart { height: 90px; }.preview-fit > span { flex-basis: 88px; }.portfolio-feature-section { gap: 34px; }.portfolio-feature-preview { padding: 11px; transform: none; }.portfolio-preview-head strong { font-size: 14px; }.portfolio-preview-head > b { display: none; }.portfolio-feature-preview blockquote { font-size: 10.5px; }.portfolio-preview-summary div { padding: 8px 6px; }.portfolio-preview-summary strong { font-size: 13px; }.portfolio-preview-summary span { font-size: 5.6px; }.portfolio-preview-body { grid-template-columns: 1fr; }.portfolio-preview-decision { display: grid; grid-template-columns: 1fr .75fr; gap: 12px; }.portfolio-preview-decision > p { margin-bottom: 0; }.portfolio-preview-decision > div { padding-top: 0; padding-left: 12px; border-top: 0; border-left: 1px solid rgba(255,255,255,.11); }.process-grid { grid-template-columns: 1fr; }.process-grid article { min-height: 0; padding: 24px 10px; border-right: 0; border-bottom: 1px solid var(--border); }.process-grid article:last-child { border-bottom: 0; }.process-grid h3 { margin: 17px 0 7px; }.trust-section { padding: 42px 24px; }.trust-points { grid-template-columns: 1fr; }.trust-points div { min-height: 0; padding: 14px; }.landing-cta { margin-top: 72px; padding: 60px 22px; border-radius: 18px; }.landing-cta-actions { display: grid; }.landing-footer { grid-template-columns: 1fr; gap: 5px; }.landing-footer small { text-align: left; }
  .individual-card { grid-column: auto; }.giving-masthead { padding: 28px 2px 30px; }.giving-back-home { margin-bottom: 24px; }.giving-masthead h1 { font-size: 43px; }.giving-masthead > p { font-size: 13.5px; }.giving-progress { padding: 16px; border-radius: 13px; }.giving-progress-intro { padding-bottom: 12px; }.giving-progress ol { grid-template-columns: 1fr 1fr; }.giving-progress li { padding: 7px 5px; }.giving-progress li small { display: none; }.giving-form-main { padding: 27px 17px 20px; }.giving-step legend { font-size: 30px; }.giving-field-row, .giving-choice-grid.two, .giving-choice-grid.three, .giving-theme-grid, .giving-quality-grid { grid-template-columns: 1fr; }.giving-allocation-grid { grid-template-columns: 1fr 1fr; }.giving-size-grid { grid-template-columns: 1fr 1fr; }.giving-form-actions { flex-wrap: wrap; }.giving-form-actions > span { display: none; }.giving-form-actions .landing-btn { flex: 1; }.giving-review-grid { grid-template-columns: 1fr; }.giving-results-head { display: block; }.giving-results-head > div:last-child { margin-top: 14px; }.giving-thesis-card { padding: 27px 22px; }.giving-strategy-grid { grid-template-columns: 1fr; }.giving-portfolio-panel, .giving-ministry-panel, .giving-matches-panel { padding: 21px 16px; }.giving-results-section-head { display: block; }.giving-results-section-head > p { margin-top: 7px; text-align: left; }.giving-portfolio { grid-template-columns: 1fr; justify-items: center; }.giving-geo-legend { width: 100%; }.giving-portfolio-posture { width: 100%; }.giving-ministry-map, .giving-matches, .giving-crosswalk > div { grid-template-columns: 1fr; }.giving-next-cycle > div { grid-template-columns: 1fr; }.giving-next-cycle > div span { border-right: 0; border-bottom: 1px solid var(--border); }.giving-next-cycle > div span:last-child { border-bottom: 0; }
  .compare-tray { top: 64px; padding: 6px 8px 0; }.compare-tray-inner { min-height: 50px; padding: 6px; gap: 6px; border-radius: 11px; }.compare-chip { max-width: 112px; padding-left: 8px; font-size: 9px; }.compare-open-btn { min-height: 36px; max-width: 106px; padding: 7px 9px; font-size: 9px; line-height: 1.2; }.compare-heading { padding: 28px 2px 25px; }.compare-heading h1 { font-size: 43px; }.compare-heading p { font-size: 13.5px; }.compare-heading-actions { display: grid; grid-template-columns: 1fr 1fr; }.compare-heading-actions .btn { justify-content: center; text-align: center; }.compare-context-note { display: block; }.compare-context-note strong { display: block; margin-bottom: 4px; }.compare-org-grid { grid-template-columns: 1fr; }.compare-panel { padding: 21px 16px; }.compare-section-head { display: block; }.compare-section-head > p { margin-top: 7px; text-align: left; }.compare-metric-table { min-width: 640px; }.compare-shared-fit { grid-template-columns: 1fr; }.compare-shared-fit > span { grid-row: auto; }.compare-fit-grid { grid-template-columns: 1fr; }
  .grantmaking-heading { display: block; }.grantmaking-summary { grid-template-columns: 1fr 1fr; }.grantmaking-summary > div { padding: 11px 10px; }.grantmaking-summary strong { font-size: 13px; }.grant-theme-years { grid-template-columns: 1fr; }.grant-theme-card { padding: 15px; }.grant-theme-chart-row { grid-template-columns: 1fr; justify-items: center; }.grant-theme-legend { width: 100%; }.grant-theme-pie { width: 190px; height: 190px; }.grant-theme-coverage-line { text-align: left; }
  .org-header { padding: 23px 19px 18px; }.org-title-row h1 { min-width: 100%; font-size: 30px; }.org-actions { width: 100%; }.org-source-row { gap: 10px; }
  .profile-nav { top: 73px; margin-left: -3px; margin-right: -3px; }.kpi-row { grid-template-columns: 1fr 1fr; gap: 9px; }.stat-tile { padding: 15px 14px; }.stat-value { font-size: 23px; }
  .panel { padding: 20px 17px; }.foundation-fit-list { grid-template-columns: 1fr; }.fit-card-head { display: block; }.fit-label { display: inline-block; margin-top: 8px; }.section-heading-row { display: block; }.research-badge { display: inline-block; margin: -5px 0 14px; }
  table { font-size: 11.5px; } th, td { padding: 8px 7px; }
  .profile-open-btn { padding: 7px 9px; font-size: 9px; }.profile-signup-card { padding: 19px; }.profile-signup-card form { grid-template-columns: 1fr; }.profile-signup-card form label, .profile-signup-card form button { grid-column: 1; }.profile-dashboard-title { display: block; }.profile-dashboard-title #profile-logout { margin-top: 12px; }.profile-dashboard-head blockquote { padding: 15px; font-size: 16px; }.profile-summary { grid-template-columns: 1fr 1fr; }.profile-summary > div { border-bottom: 1px solid var(--grid); }.profile-summary > div:nth-child(2) { border-right: 0; }.profile-summary > div:nth-last-child(-n+2) { border-bottom: 0; }.portfolio-panel, .board-builder-panel { padding: 19px 14px; }.profile-section-head { display: block; }.profile-section-actions { margin-top: 11px; justify-content: flex-start; }.profile-section-actions .btn { flex: 1; }.portfolio-filters, .board-builder-controls, .manual-org-fields { grid-template-columns: 1fr; }.manual-org-form { padding: 17px 13px; }.manual-org-actions { align-items: stretch; flex-direction: column; }.manual-org-actions .landing-btn { width: 100%; }.portfolio-org-head { display: block; }.portfolio-org-head-actions { margin-top: 10px; justify-content: flex-start; }.gift-record, .gift-record-new { grid-template-columns: 1fr 1fr; }.gift-record [data-gift-note], .gift-record [data-new-gift-note] { grid-column: 1/-1; }.board-structure-head { display: block; }.board-structure-head > .btn { margin-top: 10px; }.board-builder-actions { display: grid; }.board-builder-actions .landing-btn { width: 100%; }
}
@media (max-width: 680px) {
  .topbar-account { gap: 2px; }.profile-open-btn, .profile-signin-btn { min-height: 32px; padding: 6px 7px; font-size: 8.5px; }.signin-dialog { padding: 22px 18px; border-radius: 16px; }.signin-dialog h2 { font-size: 27px; }
}
/* Theme ministry directory */
.theme-directory-view { padding-bottom: 76px; }.theme-directory-masthead { padding: 38px 3px 26px; border-bottom: 1px solid var(--border); }.theme-directory-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }.theme-directory-heading h1 { margin: 0; color: var(--forest); font-family: Georgia, serif; font-size: clamp(43px, 6vw, 68px); font-weight: 500; line-height: 1.02; letter-spacing: -.045em; }.theme-directory-heading p { max-width: 700px; margin: 13px 0 0; color: var(--ink-2); font-size: 14px; line-height: 1.6; }.theme-directory-count { flex: 0 0 auto; min-width: 155px; padding: 17px 19px; border-left: 3px solid var(--brass); border-radius: 0 12px 12px 0; background: var(--brass-soft); }.theme-directory-count strong, .theme-directory-count span { display: block; }.theme-directory-count strong { color: var(--forest); font-family: Georgia, serif; font-size: 30px; }.theme-directory-count span { margin-top: 2px; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.theme-directory-categories { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px; }.theme-directory-categories span { padding: 6px 9px; border: 1px solid var(--border); border-radius: 999px; color: var(--ink-2); background: var(--surface); font-size: 8px; }.theme-directory-categories b { margin-left: 4px; color: var(--brass); }.theme-directory-status { min-height: 39px; padding: 18px 3px 8px; color: var(--muted); font-size: 9px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.theme-directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }.theme-directory-loading, .theme-directory-empty { grid-column: 1/-1; min-height: 210px; display: grid; place-items: center; align-content: center; gap: 11px; border: 1px dashed var(--baseline); border-radius: 15px; color: var(--muted); background: var(--surface-2); text-align: center; }.theme-directory-empty strong, .theme-directory-empty span { display: block; }.theme-directory-empty strong { color: var(--forest); font-family: Georgia, serif; font-size: 19px; }.theme-directory-empty span { margin-top: 6px; font-size: 10px; }
.theme-ministry-card { min-width: 0; padding: 20px; display: flex; flex-direction: column; border: 1px solid var(--grid); border-radius: 14px; background: var(--surface); box-shadow: 0 14px 34px -32px rgba(21,40,36,.65); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }.theme-ministry-card:hover { transform: translateY(-2px); border-color: rgba(23,108,98,.25); box-shadow: var(--shadow-lift); }.theme-ministry-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.theme-ministry-card-head span { overflow: hidden; color: var(--brass); font-size: 7px; font-weight: 850; letter-spacing: .08em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }.theme-ministry-card-head small { flex: 0 0 auto; color: var(--muted); font-size: 7px; }.theme-ministry-card h2 { margin: 11px 0 0; color: var(--forest); font-family: Georgia, serif; font-size: 19px; line-height: 1.2; }.theme-ministry-tags { margin-top: 11px; display: flex; flex-wrap: wrap; gap: 5px; }.theme-ministry-tags span { padding: 4px 7px; border-radius: 999px; color: var(--forest-2); background: var(--accent-soft); font-size: 7px; font-weight: 750; }.theme-ministry-card > p { flex: 1; margin: 13px 0 17px; color: var(--muted); font-size: 9px; line-height: 1.5; }.theme-ministry-card > div:last-child { display: flex; gap: 6px; }.theme-ministry-card .landing-btn, .theme-ministry-card .btn { width: auto; min-height: 34px; padding: 7px 10px; font-size: 8px; }.theme-directory-footer { margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 8px; }.theme-directory-note { max-width: 830px; margin: 19px auto 0; color: var(--muted); font-size: 8px; line-height: 1.55; text-align: center; }

/* Plans, pricing, and paywall */
.pricing-section { background: linear-gradient(180deg, transparent, rgba(198,139,50,.055) 48%, transparent); }
.billing-toggle { width: max-content; margin: 24px auto 0; padding: 4px; display: flex; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.billing-toggle button { min-height: 34px; padding: 7px 14px; border: 0; border-radius: 999px; color: var(--muted); background: transparent; font-size: 9px; font-weight: 800; }
.billing-toggle button.active { color: #fffdf8; background: var(--forest); }.billing-toggle span { margin-left: 4px; color: var(--brass-soft); font-size: 7px; }
.pricing-grid { max-width: 1020px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; align-items: stretch; }
.price-card { position: relative; min-width: 0; padding: 25px 22px 21px; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 17px; background: rgba(255,253,248,.84); box-shadow: 0 15px 40px -38px rgba(21,40,36,.65); }
.price-card.featured { border-color: rgba(198,139,50,.55); background: var(--surface); box-shadow: 0 26px 65px -38px rgba(18,63,58,.55); transform: translateY(-8px); }
.popular-tag { position: absolute; top: -12px; right: 17px; padding: 5px 9px; border-radius: 999px; color: #fffdf8; background: var(--brass); font-size: 7px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.price-audience { color: var(--brass); font-size: 7.5px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }.price-card h3 { margin: 5px 0 0; color: var(--forest); font-family: Georgia, serif; font-size: 27px; }.price-card > div > p { min-height: 52px; margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.price { margin: 20px 0 17px; padding-bottom: 15px; border-bottom: 1px solid var(--grid); }.price strong { display: block; color: var(--forest); font-family: Georgia, serif; font-size: 29px; line-height: 1; }.price span { display: block; margin-top: 5px; color: var(--muted); font-size: 8px; }
.price-card ul, .paywall-plans ul { margin: 0 0 22px; padding: 0; display: grid; gap: 10px; list-style: none; }.price-card li, .paywall-plans li { position: relative; padding-left: 17px; color: var(--ink-2); font-size: 9px; line-height: 1.35; }.price-card li::before, .paywall-plans li::before { content: "✓"; position: absolute; left: 0; color: var(--forest-2); font-weight: 900; }.price-card li.coming-soon { color: var(--muted); }.price-card li.coming-soon::before { content: "◌"; }.price-card li em { display: inline-block; color: var(--brass); font-size: 7px; font-style: normal; font-weight: 850; text-transform: uppercase; }
.price-card > .landing-btn { width: 100%; margin-top: auto; }.pricing-footnote { max-width: 780px; margin: 27px auto 0; color: var(--muted); font-size: 9px; line-height: 1.55; text-align: center; }
.plan-badge, .pro-feature-label { display: inline-flex; align-items: center; width: max-content; padding: 4px 8px; border: 1px solid rgba(198,139,50,.22); border-radius: 999px; color: var(--brass); background: var(--brass-soft); font-size: 7px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }.pro-feature-label { margin-left: 5px; vertical-align: 1px; }
.profile-account-actions { display: flex; align-items: center; gap: 7px; }
.paywall-dialog { width: min(94vw, 790px); padding: 28px; border: 1px solid var(--border); border-radius: 22px; color: var(--ink); background: var(--surface); box-shadow: 0 40px 120px -40px rgba(21,40,36,.8); }.paywall-dialog::backdrop { background: rgba(18,37,33,.56); backdrop-filter: blur(6px); }.paywall-dialog[open] { animation: signinReveal .2s ease; }.paywall-dialog .signin-dialog-head > div { display: flex; align-items: center; gap: 9px; }.paywall-copy { max-width: 590px; }.paywall-copy > span { color: var(--brass); font-size: 8px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }.paywall-copy h2 { margin: 6px 0 0; color: var(--forest); font-family: Georgia, serif; font-size: 33px; font-weight: 500; line-height: 1.08; letter-spacing: -.035em; }.paywall-copy p { margin: 10px 0 20px; color: var(--ink-2); font-size: 11px; line-height: 1.55; }
.paywall-plans { display: grid; grid-template-columns: .8fr 1.2fr; gap: 11px; }.paywall-plans article { padding: 20px; border: 1px solid var(--grid); border-radius: 14px; background: var(--surface-2); }.paywall-plans article > span { color: var(--muted); font-size: 7px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }.paywall-plans h3 { margin: 5px 0; color: var(--forest); font-family: Georgia, serif; font-size: 23px; }.paywall-plans article > strong { display: block; margin-bottom: 15px; color: var(--forest); font-family: Georgia, serif; font-size: 24px; }.paywall-plans article > strong small { color: var(--muted); font: 8px sans-serif; }.paywall-plans ul { margin-bottom: 15px; }.paywall-pro { border-color: rgba(198,139,50,.4)!important; background: linear-gradient(140deg, var(--surface), var(--brass-soft))!important; }.paywall-pro .landing-btn { width: 100%; }.paywall-preview-free { width: 100%; margin-top: 8px; padding: 5px; border: 0; color: var(--muted); background: transparent; font-size: 8px; text-decoration: underline; }.paywall-pro > p { min-height: 14px; margin: 8px 0 0; color: var(--muted); font-size: 8px; text-align: center; }.paywall-note { margin: 13px 0 0; color: var(--muted); font-size: 8px; text-align: center; }
.portfolio-org-card.locked { position: relative; border-style: dashed; background: linear-gradient(135deg, var(--surface-2), var(--brass-soft)); overflow: hidden; }.portfolio-org-card.locked::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, transparent 50%, rgba(255,255,255,.35)); }.portfolio-locked-copy { position: relative; z-index: 1; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(198,139,50,.22); }.portfolio-locked-copy strong { display: block; color: var(--forest); font-family: Georgia, serif; font-size: 15px; }.portfolio-locked-copy p { margin: 5px 0 11px; color: var(--ink-2); font-size: 9px; line-height: 1.45; }.portfolio-locked-copy .landing-btn { width: 100%; }.lock-symbol { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--forest); background: var(--brass-soft); font-size: 14px; }

/* Portfolio onboarding */
.portfolio-gate-dialog { width: min(94vw, 560px); }.portfolio-gate-org { margin: 20px 0 16px; padding: 15px 17px; border-left: 3px solid var(--brass); border-radius: 0 12px 12px 0; background: var(--brass-soft); }.portfolio-gate-org span, .portfolio-gate-org strong, .portfolio-gate-org small { display: block; }.portfolio-gate-org span { color: var(--brass); font-size: 7px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }.portfolio-gate-org strong { margin-top: 4px; color: var(--forest); font-family: Georgia, serif; font-size: 18px; }.portfolio-gate-org small { margin-top: 3px; color: var(--ink-2); font-size: 9px; line-height: 1.45; }.portfolio-gate-steps { margin: 0; padding: 0; display: grid; gap: 8px; list-style: none; }.portfolio-gate-steps li { padding: 9px 11px; display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: center; border: 1px solid var(--grid); border-radius: 10px; background: var(--surface-2); }.portfolio-gate-steps li > span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: #fffdf8; background: var(--forest); font-size: 8px; font-weight: 850; }.portfolio-gate-steps strong, .portfolio-gate-steps small { display: block; }.portfolio-gate-steps strong { color: var(--forest); font-size: 10px; }.portfolio-gate-steps small { margin-top: 2px; color: var(--muted); font-size: 8px; }.portfolio-gate-actions { margin-top: 16px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }.portfolio-gate-actions .landing-btn, .portfolio-gate-actions .btn { width: 100%; min-height: 42px; }
.giving-account-path { max-width: 1120px; margin: 0 auto 18px; padding: 16px 18px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; border: 1px solid rgba(198,139,50,.36); border-radius: 14px; background: linear-gradient(135deg, var(--surface), var(--brass-soft)); box-shadow: 0 18px 45px -40px rgba(21,40,36,.7); }.giving-account-path > div:last-child { padding-left: 20px; border-left: 1px solid rgba(198,139,50,.25); }.giving-account-path span, .giving-account-path strong, .giving-account-path p, .giving-account-path small { display: block; }.giving-account-path span { color: var(--brass); font-size: 7px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }.giving-account-path strong { margin-top: 4px; color: var(--forest); font-family: Georgia, serif; font-size: 16px; }.giving-account-path p, .giving-account-path small { margin: 4px 0 0; color: var(--ink-2); font-size: 9px; line-height: 1.45; }

@media (max-width: 1050px) { .pricing-grid { grid-template-columns: 1fr 1fr; }.price-card.featured { transform: none; } }
@media (max-width: 1050px) { .theme-directory-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .pricing-grid, .paywall-plans, .theme-directory-grid { grid-template-columns: 1fr; }.price-card { padding: 23px 20px; }.price-card > div > p { min-height: 0; }.paywall-dialog { padding: 22px 17px; }.paywall-copy h2 { font-size: 27px; }.paywall-plans article:first-child { display: none; }.profile-account-actions { margin-top: 12px; flex-wrap: wrap; }.theme-directory-heading { display: block; }.theme-directory-heading h1 { font-size: 43px; }.theme-directory-heading p { font-size: 12px; }.theme-directory-count { margin-top: 18px; }.theme-ministry-card > div:last-child, .theme-directory-footer { align-items: stretch; flex-direction: column; }.theme-ministry-card .landing-btn, .theme-ministry-card .btn, .theme-directory-footer .landing-btn, .theme-directory-footer .btn { width: 100%; }.portfolio-gate-actions, .giving-account-path { grid-template-columns: 1fr; }.giving-account-path > div:last-child { padding: 13px 0 0; border-top: 1px solid rgba(198,139,50,.25); border-left: 0; } }

@media print {
  body { background: white; }.topbar, .compare-tray, .giving-masthead, .giving-assessment, .giving-results-head button, .giving-match-actions, .giving-next-cycle { display: none!important; }
  .container { max-width: none; padding: 0; }.giving-view, .giving-results { display: block!important; padding: 0; }.giving-results-head { margin-bottom: 12px; }.giving-results-head h2 { font-size: 34px; }
  .giving-thesis-card { color: var(--ink); background: var(--surface-2); border: 1px solid var(--border); }.giving-thesis-card blockquote { font-size: 24px; }.giving-thesis-card small { color: var(--muted); }
  .giving-strategy-grid, .giving-matches { grid-template-columns: repeat(3, 1fr); }.giving-ministry-map { grid-template-columns: repeat(2, 1fr); }.giving-portfolio-panel, .giving-ministry-panel, .giving-matches-panel, .giving-ministry-card, .giving-match-card, .giving-strategy-grid article { box-shadow: none; break-inside: avoid; }
  .giving-matches-panel { break-before: page; }.giving-match-loading { display: none!important; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto!important; animation-duration: .01ms!important; transition-duration: .01ms!important; } }
