:root {
  --ink: #13241e;
  --muted: #617069;
  --paper: #f7f5ef;
  --surface: #ffffff;
  --line: #d9ded9;
  --green: #0e6a4f;
  --green-dark: #084a38;
  --lime: #c9ef83;
  --gold: #d49b45;
  --danger: #9d322b;
  --shadow: 0 18px 60px rgba(17, 49, 37, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: 16px; z-index: 100; transform: translateY(-180%); padding: 10px 14px; color: var(--green-dark); background: white; border-radius: 8px; box-shadow: var(--shadow); font-weight: 800; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Release 4.10.8 — accurate IFAD access and Global EbA closed-call source states */
.standards-readiness { margin: 26px 0; padding: clamp(22px, 4vw, 38px); color: #eaf4ef; background: #123f32; border-radius: 20px; }
.standards-readiness h2 { margin-bottom: 12px; font-size: clamp(32px, 4vw, 50px); }
.standards-readiness h3 { font-size: 22px; }
.standards-readiness-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: start; }
.standards-readiness-head p:not(.eyebrow) { max-width: 720px; color: #c8dbd2; line-height: 1.6; }
.standards-summary { display: grid; grid-template-columns: repeat(3, minmax(94px, 1fr)); overflow: hidden; border: 1px solid rgba(255,255,255,.17); border-radius: 12px; }
.standards-summary span { display: grid; gap: 2px; min-width: 100px; padding: 14px; border-right: 1px solid rgba(255,255,255,.17); font-size: 11px; text-align: center; }
.standards-summary span:last-child { border-right: 0; }.standards-summary strong { font-size: 24px; }
.standards-hierarchy { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 24px 0; overflow: hidden; color: var(--ink); background: rgba(255,255,255,.15); border-radius: 12px; }
.standards-hierarchy > div { display: grid; gap: 5px; min-width: 0; padding: 16px; background: #f5f5ed; }
.standards-hierarchy small { color: var(--muted); font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }.standards-hierarchy strong,.standards-hierarchy span { overflow-wrap: anywhere; }
.standards-hierarchy span { color: var(--muted); font-size: 12px; line-height: 1.4; }
.standards-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 16px; }.standards-grid > article,.route-matrix { padding: 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; }
.standards-gates { display: grid; gap: 8px; }.standards-gate { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; padding: 11px; background: rgba(255,255,255,.06); border-left: 4px solid #e1ac59; border-radius: 6px; }.standards-gate.satisfied_for_review { border-left-color: var(--lime); }.standards-gate.blocked { border-left-color: #ee8277; }
.standards-gate > span { grid-row: 1/3; align-self: start; padding: 4px 6px; color: var(--ink); background: #f5e7c8; border-radius: 999px; font-size: 9px; font-weight: 900; text-transform: uppercase; }.standards-gate.satisfied_for_review > span { background: var(--lime); }.standards-gate.blocked > span { background: #ffd2cd; }
.standards-gate p { grid-column: 2; margin: 0; color: #c8dbd2; font-size: 12px; line-height: 1.45; }
.claim-register { display: grid; gap: 8px; }.claim-register details { padding: 10px 11px; background: rgba(255,255,255,.06); border-radius: 7px; }.claim-register summary { cursor: pointer; font-weight: 750; }.claim-register p { color: #d7e5df; line-height: 1.5; }.claim-register small { color: #a9c2b7; }
.claim-state { display: inline-block; margin-right: 8px; padding: 3px 6px; color: var(--ink); background: #e7e1cd; border-radius: 999px; font-size: 9px; text-transform: uppercase; }.claim-state.source_supported,.claim-state.human_reviewed { background: var(--lime); }.claim-state.contested { background: #ffd2cd; }
.route-matrix { margin-top: 16px; }.route-matrix-table { overflow-x: auto; }.route-matrix-row { display: grid; grid-template-columns: 1.1fr .7fr .9fr 1.3fr; gap: 12px; min-width: 760px; padding: 10px 8px; border-top: 1px solid rgba(255,255,255,.13); font-size: 12px; line-height: 1.45; }.route-matrix-row.heading { border-top: 0; color: var(--lime); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.standards-boundary { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin-top: 16px; padding: 14px; color: var(--green-dark); background: var(--lime); border-radius: 10px; }.standards-boundary span:last-child { grid-column: 2; font-size: 12px; }
@media (max-width: 900px) { .standards-readiness-head,.standards-grid { grid-template-columns: 1fr; }.standards-hierarchy { grid-template-columns: repeat(2, 1fr); }.standards-summary { width: 100%; } }
@media (max-width: 580px) { .standards-hierarchy { grid-template-columns: 1fr; }.standards-summary { grid-template-columns: 1fr; }.standards-summary span { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.17); }.standards-summary span:last-child { border-bottom: 0; }.standards-boundary { grid-template-columns: 1fr; }.standards-boundary span:last-child { grid-column: 1; } }

.topbar { position: sticky; top: 0; z-index: 30; min-height: 82px; padding: 8px clamp(20px, 5vw, 72px); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: rgba(247, 245, 239, 0.94); border-bottom: 1px solid rgba(19, 36, 30, .11); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-logo { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: 8px; mix-blend-mode: multiply; }
.brand strong, .brand small { display: block; line-height: 1.08; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .13em; }
nav { display: flex; align-items: center; gap: 8px; }
nav > a:not(.button) { padding: 10px 12px; text-decoration: none; color: #31483e; font-weight: 650; font-size: 14px; }
.menu-button { display: none; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; background: white; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 17px; border-radius: 999px; border: 1px solid transparent; text-decoration: none; font-weight: 750; transition: transform .16s, background .16s; }
.button:hover { transform: translateY(-1px); }
.button-solid { color: white; background: var(--green); }
.button-solid:hover { background: var(--green-dark); }
.button-ghost { color: var(--green-dark); background: transparent; border-color: #aebbb5; }
.button-light { color: var(--green-dark); background: white; }
.button-danger { color: white; background: var(--danger); }
.button-wide { width: 100%; }
.button:disabled { cursor: wait; opacity: .6; transform: none; }

main { min-height: calc(100vh - 180px); }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero { position: relative; overflow: hidden; padding: clamp(76px, 10vw, 132px) 0 86px; background: radial-gradient(circle at 85% 20%, rgba(201, 239, 131, .65), transparent 25%), linear-gradient(140deg, #f7f5ef 38%, #e7efe6 100%); }
.hero::after { content: ""; position: absolute; width: 430px; height: 430px; right: -130px; bottom: -240px; border: 64px solid rgba(14, 106, 79, .1); border-radius: 50%; }
.eyebrow { margin: 0 0 16px; color: var(--green); font-size: 12px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; line-height: 1.04; font-weight: 500; }
h1 { max-width: 900px; margin-bottom: 22px; font-size: clamp(46px, 7vw, 88px); letter-spacing: -.045em; }
h2 { font-size: clamp(34px, 4.5vw, 58px); letter-spacing: -.035em; }
h3 { font-size: 25px; }
.lead { max-width: 760px; margin: 0 0 30px; color: #43574e; font-size: clamp(18px, 2.4vw, 24px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.audience-line { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 28px; }
.audience-line span { padding: 7px 11px; color: var(--green-dark); background: rgba(255,255,255,.7); border: 1px solid #cbd7d1; border-radius: 999px; font-size: 12px; font-weight: 750; }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #d4ded8; border-top: 1px solid #d4ded8; border-bottom: 1px solid #d4ded8; }
.trust-strip div { padding: 26px clamp(20px, 5vw, 72px); background: #eef2ec; }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip strong { font-family: Georgia, serif; font-size: 22px; }
.trust-strip span { margin-top: 5px; color: var(--muted); font-size: 14px; }
.section { padding: clamp(72px, 9vw, 116px) 0; }
.frontdoor-section { color: white; background: #123f32; }
.frontdoor-intro { display: grid; grid-template-columns: 1.05fr .95fr; align-items: end; gap: clamp(30px, 6vw, 80px); margin-bottom: 46px; }
.frontdoor-intro h2 { margin-bottom: 0; }
.frontdoor-intro .lead { margin: 0; color: #d4e2dc; font-size: 19px; }
.frontdoor-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.frontdoor-card { padding: 28px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.17); border-radius: 17px; }
.frontdoor-card > span { display: block; margin-bottom: 18px; color: var(--lime); font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.frontdoor-card h3 { margin-bottom: 12px; }
.frontdoor-card p { margin-bottom: 0; color: #d4e2dc; line-height: 1.65; }
.frontdoor-boundary { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; margin-top: 18px; padding: 20px 22px; color: var(--green-dark); background: var(--lime); border-radius: 15px; }
.frontdoor-boundary p { margin: 0; line-height: 1.5; }
.frontdoor-boundary .button { white-space: nowrap; }
.institutional-hero { background: radial-gradient(circle at 82% 20%, rgba(201,239,131,.48), transparent 25%); }
.section-dark { color: white; background: #123f32; }
.section-dark .lead, .section-dark .muted { color: #c6d9d0; }
.section-head { max-width: 800px; margin-bottom: 44px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 26px rgba(18, 45, 35, .04); }
.section-dark .card { color: white; background: rgba(255,255,255,.065); border-color: rgba(255,255,255,.14); box-shadow: none; }
.card-number { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 20px; color: var(--green-dark); background: var(--lime); border-radius: 50%; font-weight: 850; }
.muted { color: var(--muted); line-height: 1.65; }
.check-list { padding: 0; list-style: none; }
.check-list li { position: relative; padding: 8px 0 8px 29px; color: #43574e; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.section-dark .check-list li { color: #dce9e3; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 44px; color: white; background: var(--green); border-radius: 24px; }
.cta h2 { margin-bottom: 10px; font-size: clamp(32px, 4vw, 50px); }

.page-head { padding: 72px 0 42px; }
.page-head h1 { max-width: 880px; font-size: clamp(44px, 6vw, 74px); }
.pricing-toggle { display: inline-flex; padding: 4px; background: #e4e9e5; border-radius: 999px; }
.pricing-toggle button { padding: 9px 16px; border: 0; border-radius: 999px; color: var(--muted); background: transparent; font-weight: 750; }
.pricing-toggle button.active { color: white; background: var(--green); }
.price-card { display: flex; flex-direction: column; min-height: 500px; }
.price-card.featured { border: 2px solid var(--green); transform: translateY(-8px); }
.price { margin: 10px 0 20px; font-family: Georgia, serif; font-size: 48px; }
.price small { color: var(--muted); font-family: Inter, sans-serif; font-size: 14px; }
.price-card .button { margin-top: auto; }
.badge { display: inline-block; width: fit-content; padding: 6px 10px; color: var(--green-dark); background: var(--lime); border-radius: 999px; font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.billing-notice { width: fit-content; margin: -8px 0 22px; padding: 11px 14px; color: #6a4818; background: #fff4dc; border: 1px solid #ead3a3; border-radius: 10px; }
.billing-boundary { max-width: 840px; margin: 30px auto 0; color: var(--muted); font-size: 13px; line-height: 1.6; text-align: center; }
.selected-plan { display: grid; gap: 4px; margin: 0 0 24px; padding: 14px 16px; color: #24463a; background: #e3f1e8; border: 1px solid #bbd9c7; border-radius: 12px; }
.selected-plan span { color: var(--muted); font-size: 12px; line-height: 1.5; }
.billing-shell { max-width: 900px; }
.billing-card { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 10px 0 20px; }
.billing-card > div { padding: 22px; background: white; border: 1px solid var(--line); border-radius: 14px; }
.billing-card span, .billing-card strong { display: block; }
.billing-card span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.billing-card strong { margin-top: 8px; font: 500 26px/1.2 Georgia, serif; }
.billing-success { width: min(620px, 100%); }
.institutional-pricing { background: #eef3ef; }
.institutional-tier .record-type, .access-window-card .record-type { width: fit-content; }
.monthly-equivalent { margin: -10px 0 18px; color: var(--muted); font-size: 12px; }
.institutional-license-boundary { display: flex; gap: 16px; margin-top: 22px; padding: 16px 18px; color: #254c68; background: #eaf4f9; border: 1px solid #bdd5e2; border-radius: 12px; line-height: 1.5; }
.institutional-license-boundary strong { flex: 0 0 auto; }
.access-window-pricing { background: #f7f4ed; }
.access-window-card .price { margin-bottom: 18px; }
.invitation-addon { margin-top: 8px; }

.auth-wrap { display: grid; place-items: center; min-height: calc(100vh - 170px); padding: 56px 20px; background: linear-gradient(135deg, #e8efe8, #f7f5ef 58%); }
.auth-card { width: min(520px, 100%); padding: clamp(28px, 5vw, 48px); background: white; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 44px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: #344b41; font-size: 13px; font-weight: 780; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 13px; color: var(--ink); background: white; border: 1px solid #c9d2cd; border-radius: 10px; outline: none; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(14,106,79,.12); }
.form-error { padding: 11px 13px; color: #7d211b; background: #feeae8; border-radius: 9px; }
.form-note { color: var(--muted); font-size: 13px; line-height: 1.55; }

.project-intake { background: #f5f5f0; }
.intake-boundary { display: flex; gap: 18px; margin: -8px 0 30px; padding: 17px 20px; color: #24463a; background: #e3f1e8; border: 1px solid #bbd9c7; border-radius: 13px; line-height: 1.55; }
.intake-boundary strong { flex: 0 0 auto; color: var(--green-dark); }
.intake-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); align-items: start; gap: 26px; }
.intake-spine { position: sticky; top: 92px; padding: 22px; background: #123f32; border: 1px solid #245d4d; border-radius: 18px; color: white; }
.intake-spine > .eyebrow { color: var(--lime); }
.intake-progress { height: 7px; margin: 13px 0 8px; overflow: hidden; background: rgba(255,255,255,.14); border-radius: 999px; }
.intake-progress span { display: block; width: 0; height: 100%; background: var(--lime); border-radius: inherit; transition: width .2s ease; }
.intake-spine > strong { display: block; margin-bottom: 19px; color: #dce9e3; font-size: 12px; }
.intake-spine a { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 10px; margin-top: 6px; padding: 10px; color: #dce9e3; border: 1px solid transparent; border-radius: 11px; text-decoration: none; }
.intake-spine a > span { display: grid; place-items: center; width: 28px; height: 28px; background: rgba(255,255,255,.09); border-radius: 50%; font-size: 12px; font-weight: 850; }
.intake-spine a strong, .intake-spine a small { display: block; }
.intake-spine a small { margin-top: 2px; color: #9fbbb0; font-size: 10px; }
.intake-spine a.active { background: rgba(255,255,255,.08); border-color: #4a7969; }
.intake-spine a.complete > span { color: #123f32; background: var(--lime); }
.intake-spine a.complete > span::before { content: "✓"; }
.intake-spine a.complete > span { font-size: 0; }
.intake-spine a.complete > span::before { font-size: 13px; }
.intake-form { display: grid; gap: 22px; min-width: 0; }
.intake-section { scroll-margin-top: 90px; }
.intake-section-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 25px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.intake-section-head > span { display: grid; place-items: center; flex: 0 0 38px; height: 38px; color: white; background: var(--green); border-radius: 50%; font-weight: 850; }
.intake-section-head .eyebrow { margin: 1px 0 5px; }
.intake-section-head h2 { margin: 0; font-size: 30px; }
.confirmation-group { margin: 0; padding: 18px; background: #f5f7f4; border: 1px solid var(--line); border-radius: 12px; }
.confirmation-group legend { padding: 0 7px; color: #344b41; font-size: 13px; font-weight: 800; }
.confirmation-group label { display: flex; align-items: flex-start; gap: 11px; padding: 9px 0; color: #344b41; font-size: 13px; font-weight: 600; line-height: 1.5; }
.confirmation-group input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); }
.intake-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding-top: 8px; }
.intake-record { margin-top: 16px; }
.intake-record-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.intake-record-head h2 { margin: 5px 0 0; font-size: 30px; }
.intake-record-head > span { padding: 6px 9px; color: #315748; background: #edf5f0; border-radius: 999px; font-size: 11px; font-weight: 800; }
.intake-record dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 25px; }
.intake-record dl div { padding: 13px; background: #f1f4f1; border-radius: 10px; }
.intake-record dt { color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.intake-record dd { margin: 5px 0 0; color: var(--ink); font-size: 13px; font-weight: 700; }

.dashboard { padding: 54px 0 100px; }
.dashboard-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.dashboard-head h1 { margin-bottom: 8px; font-size: clamp(40px, 5vw, 64px); }
.project-list { display: grid; gap: 14px; }
.project-card { display: grid; grid-template-columns: 1.6fr .8fr .6fr auto; align-items: center; gap: 20px; padding: 22px 24px; color: inherit; background: white; border: 1px solid var(--line); border-radius: 15px; text-decoration: none; }
.project-card:hover { border-color: #8caaa0; box-shadow: 0 12px 30px rgba(20,60,45,.07); }
.project-card strong, .project-card span { display: block; }
.project-card span { margin-top: 4px; color: var(--muted); font-size: 13px; }
.status { display: inline-block; width: fit-content; padding: 6px 10px; color: #1c503f; background: #dff2e7; border-radius: 999px; font-size: 12px; font-weight: 800; text-transform: capitalize; }
.empty { padding: 60px 30px; text-align: center; background: white; border: 1px dashed #aebbb5; border-radius: 18px; }
.panel { padding: 28px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 24px 0; }
.metric { padding: 20px; background: #edf2ed; border-radius: 13px; }
.metric small, .metric strong { display: block; }
.metric small { color: var(--muted); }
.metric strong { margin-top: 8px; font-family: Georgia, serif; font-size: 28px; }
.document-list { margin: 0; padding: 0; list-style: none; }
.document-list li { display: flex; justify-content: space-between; gap: 15px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.loading { display: grid; place-items: center; min-height: 52vh; color: var(--muted); }

.console-lead { max-width: 760px; margin-bottom: 0; font-size: 17px; }
.protection-note { display: flex; align-items: center; gap: 14px; margin-bottom: 44px; padding: 16px 18px; color: #24463a; background: #e3f1e8; border: 1px solid #bbd9c7; border-radius: 13px; }
.protection-note strong { flex: 0 0 auto; color: var(--green-dark); }
.console-section { margin-top: 58px; }
.console-section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 22px; }
.console-section-head h2 { margin-bottom: 0; font-size: clamp(32px, 4vw, 48px); }
.console-section-head > p { max-width: 460px; margin: 0; color: var(--muted); line-height: 1.55; }
.connection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.connection-card { display: flex; flex-direction: column; min-height: 210px; padding: 23px; background: #123f32; border: 1px solid #245d4d; border-radius: 17px; color: white; }
.connection-card > div { display: flex; align-items: center; gap: 9px; }
.connection-card p { margin: 24px 0 5px; font-family: Georgia, serif; font-size: 24px; }
.connection-card small { color: #c4d9d0; line-height: 1.5; }
.connection-card .system-link { align-self: flex-start; margin-top: auto; color: var(--lime); }
.connection-dot { width: 9px; height: 9px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 0 5px rgba(201,239,131,.12); }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.portfolio-card { display: flex; flex-direction: column; padding: 26px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 26px rgba(18,45,35,.04); }
.portfolio-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.portfolio-card h3 { margin: 9px 0 4px; font-size: 28px; }
.record-type { color: var(--green); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.record-code { margin: 0; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.record-meta { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0 4px; }
.record-meta span, .record-meta strong { padding: 6px 9px; background: #edf2ed; border-radius: 8px; font-size: 12px; }
.record-meta strong { color: var(--green-dark); background: #e2f0c8; }
.funding-route { color: #344b41; font-size: 13px; line-height: 1.55; }
.source-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.source-badges span { padding: 5px 8px; color: #315748; background: #edf5f0; border: 1px solid #d4e4db; border-radius: 999px; font-size: 11px; font-weight: 700; }
.portfolio-actions { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.system-link { color: var(--green); font-size: 13px; font-weight: 800; text-decoration: none; }
.system-link:hover { text-decoration: underline; }
.capital-boundary { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 16px; padding: 18px 20px; color: #6a4818; background: #fff4dc; border: 1px solid #ead3a3; border-radius: 13px; line-height: 1.55; }
.capital-boundary strong { flex: 0 0 auto; }
.capital-summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 30px; }
.capital-summary-grid > div { padding: 20px; background: #123f32; border-radius: 14px; color: white; }
.capital-summary-grid strong, .capital-summary-grid span { display: block; }
.capital-summary-grid strong { color: var(--lime); font-family: Georgia, serif; font-size: 38px; }
.capital-summary-grid span { margin-top: 4px; color: #c6d9d0; font-size: 13px; }
.capital-subhead { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 34px 0 14px; }
.capital-subhead h3 { margin-bottom: 0; font-size: 30px; }
.capital-subhead p { max-width: 600px; margin: 0; color: var(--muted); line-height: 1.5; }
.capital-route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.capital-route-card { display: flex; flex-direction: column; padding: 22px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.capital-route-card h3 { margin: 16px 0 5px; font-size: 23px; }
.capital-route-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.capital-route-head span, .capital-route-head strong { padding: 5px 8px; border-radius: 999px; font-size: 10px; line-height: 1.2; }
.capital-route-head span { color: #315748; background: #edf5f0; }
.capital-route-head strong { color: #6a4818; background: #fff0cb; text-align: right; }
.route-name { margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.capital-route-card dl { margin: 0; }
.capital-route-card dl div { margin-bottom: 11px; }
.capital-route-card dt { color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.capital-route-card dd { margin: 3px 0 0; color: #30483e; font-size: 13px; line-height: 1.45; }
.route-boundary { color: #6a5a45; font-size: 12px; line-height: 1.5; }
.capital-route-card .system-link { align-self: flex-start; margin-top: auto; padding-top: 10px; }
.capital-contact-list { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 16px; }
.capital-contact-row { display: grid; grid-template-columns: 1.05fr 1.05fr 1.4fr auto; align-items: center; gap: 18px; padding: 17px 20px; border-bottom: 1px solid var(--line); }
.capital-contact-row:last-child { border-bottom: 0; }
.capital-contact-row strong, .capital-contact-row span, .capital-contact-row small { display: block; }
.capital-contact-row strong { font-size: 13px; }
.capital-contact-row span { margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.capital-contact-row small { margin-top: 4px; color: #466b5c; font-size: 10px; text-transform: capitalize; }

.match-link-button { padding: 0; background: transparent; border: 0; cursor: pointer; }
.matching-method { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 20px; color: #dcece4; background: #123f32; border-radius: 13px; }
.matching-method strong { color: var(--lime); }
.matching-method span { font-size: 13px; text-align: right; }
.matching-target-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.matching-target { display: flex; min-height: 132px; flex-direction: column; align-items: flex-start; padding: 18px; color: #17382d; background: white; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; text-align: left; transition: border-color .15s, transform .15s; }
.matching-target:hover { transform: translateY(-2px); border-color: #7da994; }
.matching-target span { padding: 4px 7px; color: #315748; background: #edf5f0; border-radius: 999px; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.matching-target strong { margin: 13px 0 5px; font-size: 15px; line-height: 1.35; }
.matching-target small { color: var(--muted); line-height: 1.45; }
.matching-panel { scroll-margin-top: 90px; margin-top: 32px; padding: 24px; background: #f1f5f1; border: 1px solid #cadbd2; border-radius: 16px; }
.matching-panel.empty { text-align: center; }
.matching-result-head { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.matching-result-head h3 { margin: 5px 0 8px; font-size: 32px; }
.matching-result-head p { margin: 0; color: var(--muted); line-height: 1.55; }
.match-score-summary { min-width: 126px; padding: 16px; color: white; background: var(--green-dark); border-radius: 13px; text-align: center; }
.match-score-summary strong, .match-score-summary span { display: block; }
.match-score-summary strong { color: var(--lime); font-family: Georgia, serif; font-size: 38px; }
.match-score-summary span { color: #d2e2db; font-size: 11px; }
.match-counts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.match-counts span { padding: 11px 13px; color: #355449; background: white; border: 1px solid var(--line); border-radius: 10px; font-size: 12px; }
.match-counts strong { color: var(--green); font-size: 18px; }
.match-review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; max-height: 1200px; padding-right: 4px; overflow-y: auto; }
.match-review-card { padding: 19px; background: white; border: 1px solid var(--line); border-top: 4px solid #8fab9f; border-radius: 14px; }
.match-review-card.candidate { border-top-color: #16805d; }
.match-review-card.conditional { border-top-color: #c68d30; }
.match-review-card.route_only { border-top-color: #557b91; }
.match-review-card.excluded { border-top-color: #b84945; }
.match-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.match-card-head span { color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.match-card-head h4 { margin: 7px 0 2px; font-size: 20px; }
.match-card-head p { margin: 0; color: var(--muted); font-size: 12px; }
.match-card-head > strong { flex: 0 0 auto; color: var(--green); font-family: Georgia, serif; font-size: 31px; }
.match-status-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0; }
.match-status-row span { padding: 5px 8px; border-radius: 999px; font-size: 10px; font-weight: 800; text-transform: capitalize; }
.fit-status { color: #285445; background: #e3f1e9; }
.review-status { color: #6a4818; background: #fff0cb; }
.match-review-card > p { color: #405a4f; font-size: 13px; line-height: 1.5; }
.scorecard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin: 15px 0; }
.scorecard-grid div { padding: 7px; background: #f4f7f4; border-radius: 7px; }
.scorecard-grid span, .scorecard-grid strong { display: block; }
.scorecard-grid span { color: var(--muted); font-size: 8px; text-transform: uppercase; }
.scorecard-grid strong { margin-top: 3px; font-size: 14px; }
.match-review-card details, .released-match-card details { margin: 12px 0; color: #5b4d3a; font-size: 12px; }
.match-review-card summary, .released-match-card summary { cursor: pointer; font-weight: 800; }
.match-review-card li, .released-match-card li { margin: 5px 0; line-height: 1.45; }
.match-exclusion { padding: 10px; color: #8a2e2b; background: #fff0ef; border-radius: 8px; font-size: 12px; }
.match-exclusion span { display: block; }
.match-route-meta { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.match-route-meta > span { color: var(--muted); font-size: 11px; line-height: 1.4; }
.match-review-actions { display: flex; gap: 7px; margin-top: 13px; }
.match-review-actions button { flex: 1; padding: 9px; color: #385448; background: white; border: 1px solid #b9cdc3; border-radius: 8px; cursor: pointer; font-size: 11px; font-weight: 800; }
.match-review-actions button.release { color: white; background: var(--green); border-color: var(--green); }
.match-review-actions button:disabled { opacity: .55; cursor: wait; }
.match-project-row > div:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.released-matches { margin-top: 24px; padding: 30px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.released-match-card { margin-top: 12px; padding: 20px; background: #f6f8f5; border: 1px solid #d5e1da; border-radius: 13px; }
.released-match-card > p { color: #405a4f; line-height: 1.55; }
.released-match-boundary { display: flex; gap: 10px; margin: 14px 0; padding: 11px; color: #6a4818; background: #fff4dc; border-radius: 8px; font-size: 11px; line-height: 1.45; }
.released-match-boundary strong { flex: 0 0 auto; }
.debt-policy-alert { display: flex; align-items: flex-start; gap: 14px; margin: 16px 0; padding: 15px 17px; color: #654411; background: #fff1cc; border: 1px solid #e5c77e; border-radius: 11px; line-height: 1.5; }
.debt-policy-alert strong { flex: 0 0 auto; }
.debt-policy-alert.critical { color: #842b27; background: #fff0ef; border-color: #e4aaa7; }
.debt-policy-alert.notice { color: #285445; background: #e8f3ed; border-color: #bfd8cb; }

.restored-operations { padding: 30px; background: #edf2ed; border: 1px solid #cbd9d1; border-radius: 20px; }
.operations-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; padding: 8px; background: #dfe8e1; border-radius: 13px; }
.operations-tabs button { padding: 10px 13px; color: #345146; background: transparent; border: 0; border-radius: 9px; cursor: pointer; font-weight: 800; }
.operations-tabs button.active { color: white; background: var(--green); }
.engine-jump-nav { position: sticky; top: 74px; z-index: 18; display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 10px; padding: 8px; background: rgba(249, 248, 242, .96); border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 8px 24px rgba(17, 51, 39, .08); backdrop-filter: blur(8px); }
.engine-jump-nav a, .engine-jump-nav button { padding: 9px 11px; color: #315548; background: white; border: 1px solid #cbd9d1; border-radius: 8px; cursor: pointer; font: 800 11px/1.2 inherit; text-decoration: none; }
.engine-jump-nav a:hover, .engine-jump-nav button:hover { color: white; background: var(--green); border-color: var(--green); }
.governance-spine-overlay { position: sticky; top: 132px; z-index: 15; display: grid; grid-template-columns: 1.1fr repeat(3, 1fr); gap: 9px; margin: 10px 0 22px; padding: 10px; color: white; background: rgba(16, 43, 34, .97); border: 1px solid #315b4c; border-radius: 14px; box-shadow: 0 14px 34px rgba(6, 30, 22, .18); backdrop-filter: blur(8px); }
.governance-spine-title, .governance-layer { padding: 11px 12px; border-radius: 10px; }
.governance-spine-title { display: grid; align-content: center; background: #0a211a; }
.governance-spine-title span { color: var(--lime); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.governance-spine-title strong { margin-top: 4px; font-size: 14px; }
.governance-layer { display: grid; grid-template-columns: 24px 1fr; gap: 9px; background: rgba(255,255,255,.07); }
.governance-layer b { display: grid; place-items: center; width: 23px; height: 23px; color: #15372a; background: var(--lime); border-radius: 50%; font-size: 11px; }
.governance-layer strong, .governance-layer span { display: block; }
.governance-layer strong { color: white; font-size: 12px; }
.governance-layer span { margin-top: 3px; color: #c7d9d0; font-size: 10px; line-height: 1.35; }
.capital-route-matrix { margin: 18px 0; border: 1px solid var(--line); border-radius: 14px; background: white; overflow: hidden; }
.matrix-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 18px; background: #f2f6f2; }
.matrix-head h4 { margin: 6px 0 0; font-size: 23px; }
.matrix-head p { max-width: 520px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.capital-matrix-labels, .capital-matrix-row { display: grid; grid-template-columns: 1.05fr .95fr 1.25fr 1.25fr; gap: 14px; align-items: center; padding: 11px 16px; }
.capital-matrix-labels { color: #5b7168; background: #e5ede7; font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.capital-matrix-row { border-top: 1px solid var(--line); color: #345146; font-size: 11px; line-height: 1.45; }
.capital-matrix-row strong, .capital-matrix-row small { display: block; }
.capital-matrix-row small { margin-top: 3px; color: var(--muted); }
.matrix-authority { display: inline-block; padding: 6px 8px; border-radius: 8px; font-weight: 800; }
.matrix-authority.ready { color: #20503e; background: #dff2e7; }
.matrix-authority.review { color: #6a4818; background: #fff0cb; }
.operations-panel { padding: 24px; background: white; border: 1px solid var(--line); border-radius: 15px; }
.operations-panel > h3, .panel-head h3 { margin: 0 0 5px; font-size: 28px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 20px; }
.panel-head p { margin: 0; color: var(--muted); }
.panel-head-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.radar-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 16px; }
.radar-summary div { padding: 16px; color: white; background: var(--green-dark); border-radius: 11px; }
.radar-summary strong, .radar-summary span { display: block; }
.radar-summary strong { color: var(--lime); font: 700 30px/1 Georgia, serif; }
.radar-summary span { margin-top: 5px; color: #d5e6de; font-size: 11px; }
.automated-scan-status { margin: 18px 0; padding: 20px; border: 1px solid #b9d7c8; border-radius: 14px; background: linear-gradient(135deg, #edf7f1, #f9fbf8); }
.scan-status-head { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(170px, .55fr); gap: 24px; align-items: center; }
.scan-status-head h4 { margin: 6px 0 4px; font-size: 23px; }
.scan-status-head p { max-width: 760px; margin: 0; color: #416055; font-size: 12px; line-height: 1.55; }
.scan-status-head > div:last-child { padding: 14px; color: white; background: var(--green-dark); border-radius: 11px; }
.scan-status-head > div:last-child strong, .scan-status-head > div:last-child span, .scan-status-head > div:last-child small { display: block; }
.scan-status-head > div:last-child strong { color: var(--lime); font: 700 34px/1 Georgia, serif; }
.scan-status-head > div:last-child span { margin-top: 5px; font-size: 11px; font-weight: 800; }
.scan-status-head > div:last-child small { margin-top: 5px; color: #c7dad1; font-size: 9px; }
.scan-resolution-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.scan-resolution-grid div { min-width: 0; padding: 12px; background: #fff; border: 1px solid #cbded4; border-radius: 9px; }
.scan-resolution-grid strong, .scan-resolution-grid span { display: block; }
.scan-resolution-grid strong { color: var(--green-dark); font-size: 22px; }
.scan-resolution-grid span { margin-top: 3px; color: var(--muted); font-size: 10px; }
.scan-class-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.scan-class-grid div { min-width: 0; padding: 12px; background: rgba(255,255,255,.86); border: 1px solid #d6e4dc; border-radius: 9px; }
.scan-class-grid strong, .scan-class-grid span { display: block; }
.scan-class-grid strong { color: var(--green); font-size: 21px; }
.scan-class-grid span { margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.35; }
.automated-scan-status details { margin-top: 14px; }
.automated-scan-status summary { cursor: pointer; color: var(--green); font-size: 11px; font-weight: 850; }
.scan-source-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.scan-source { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 11px; background: white; border: 1px solid #dce6e0; border-radius: 8px; }
.scan-source strong, .scan-source small { display: block; }
.scan-source strong { color: #23483a; font-size: 11px; }
.scan-source small { margin-top: 2px; color: var(--muted); font-size: 9px; line-height: 1.35; }
.scan-source a { font-size: 10px; font-weight: 800; }
.connection-dot.advisory { background: #d7a23f; box-shadow: 0 0 0 5px rgba(215,162,63,.13); }
.connection-dot.offline { background: #c9824d; box-shadow: 0 0 0 5px rgba(201,130,77,.12); }
.scan-status-head .scan-now-button { display: inline-flex; min-width: 128px; min-height: 42px; margin-top: 12px; padding: 9px 14px; color: var(--green-dark); background: var(--lime); border-color: var(--lime); font-size: 11px; font-weight: 850; line-height: 1.2; white-space: nowrap; }
.scan-status-head .scan-now-button:hover { color: #052f25; background: #dcf7a9; border-color: #dcf7a9; }
.scan-status-head .scan-now-button:focus-visible { outline-color: white; }

.responsible-actor-research {
  display: grid;
  gap: .65rem;
  margin-top: .8rem;
  padding: .9rem;
  border: 1px solid rgba(13, 86, 67, .24);
  border-left: 4px solid var(--green-mid);
  border-radius: 12px;
  background: rgba(239, 249, 244, .92);
  color: var(--ink);
}
.responsible-actor-research.compact { padding: .75rem; }
.responsible-actor-research strong { display: block; color: var(--green-dark); }
.responsible-actor-research p,
.responsible-actor-research small { margin: 0; }
.responsible-actor-research > small { color: var(--muted); }
.responsible-actor-routes { display: flex; flex-wrap: wrap; gap: .5rem; }
.responsible-actor-routes span {
  display: grid;
  gap: .1rem;
  padding: .5rem .65rem;
  border-radius: 8px;
  background: white;
  overflow-wrap: anywhere;
}
.responsible-actor-routes b { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.responsible-research-row > div:nth-child(2) { min-width: 0; }
.responsible-research-row .responsible-actor-research { margin-top: 0; }
.status.new { color: #4a6118; background: #e5f4bd; }
.status.resolved { color: #20503e; background: #dff2e7; }
.status.dismissed { color: #655b49; background: #eee9dd; }
.automated-candidate .record-type { color: var(--green); }
.actor-resolution-banner { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 22px; margin: 14px 0 18px; padding: 20px; border: 1px solid #b8d8c7; border-radius: 14px; background: #eaf6ef; }
.actor-resolution-banner.attention { border-color: #e3c076; background: #fff7e7; }
.actor-resolution-banner h4 { margin: 7px 0 4px; font-size: 23px; }
.actor-resolution-banner p { margin: 0; color: #416055; font-size: 12px; line-height: 1.5; }
.resolution-counts { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.resolution-counts span { padding: 10px; background: rgba(255,255,255,.76); border-radius: 8px; color: var(--muted); font-size: 11px; }
.resolution-counts strong { display: block; color: var(--green); font-size: 20px; }
.radar-group { margin-top: 14px; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
.radar-group > summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 18px; cursor: pointer; background: #f2f6f2; font-weight: 850; }
.radar-group > summary small { color: var(--muted); font-weight: 600; }
.radar-group[open] > summary { border-bottom: 1px solid var(--line); }
.historical-outreach-boundary { display: grid; gap: 5px; padding: 14px 17px; color: #4f493e; background: #f5f1e8; border-bottom: 1px solid #ddd4c2; }
.historical-outreach-boundary strong { font-size: 12px; }
.historical-outreach-boundary span { font-size: 11px; line-height: 1.5; }
.library-outreach-card { border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.library-outreach-card:last-child { border-bottom: 0; }
.library-outreach-card details { padding: 0 17px 15px; }
.library-outreach-card summary { cursor: pointer; color: var(--green); font-size: 11px; font-weight: 850; }
.library-outreach-card details p { color: var(--muted); font-size: 11px; line-height: 1.5; }
.evidence-state { color: #345146 !important; font-weight: 800; }
.evidence-hash { display: block; padding: 8px; color: #46564f; background: #f2f5f3; border-radius: 7px; font-size: 9px; overflow-wrap: anywhere; }
.radar-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px; }
.radar-card { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fcfdfb; }
.radar-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.radar-card h4 { margin: 7px 0 2px; font-size: 19px; }
.radar-card p { margin: 7px 0; color: #405a4f; line-height: 1.5; }
.radar-card-head p { margin: 0; color: var(--muted); font-size: 12px; }
.prelaunch-boundary { display: grid; gap: 4px; padding: 14px 18px; color: #5d4418; background: #fff5df; border-bottom: 1px solid #ead39c; }
.prelaunch-boundary strong { font-size: 12px; }
.prelaunch-boundary span { font-size: 11px; line-height: 1.5; }
.radar-card.prelaunch { border-color: #dfc078; background: #fffdf8; }
.radar-card.prelaunch .status { color: #654713; background: #f7e7bd; }
.prelaunch-controls { display: grid; gap: 8px; margin-top: 13px; padding: 12px; border: 1px solid #e3d2aa; border-radius: 9px; background: #fff9ec; }
.prelaunch-controls > div { display: grid; gap: 3px; }
.prelaunch-controls strong { color: #60471d; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
.prelaunch-controls span, .prelaunch-controls li { color: #5a554b; font-size: 10px; line-height: 1.45; }
.prelaunch-controls ul { margin: 2px 0 0 18px; padding: 0; }
.prelaunch-lock { padding: 9px; border-radius: 7px; background: #f6e8c7; }
.actor-resolution.pending { color: #654713; background: #fff0ce; border: 1px solid #e3c27d; }
.radar-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 13px 0; }
.radar-meta span { padding: 5px 8px; color: #305448; background: #e6f0e9; border-radius: 999px; font-size: 10px; font-weight: 750; }
.actor-resolution { display: grid; gap: 3px; margin: 12px 0; padding: 10px; border-radius: 9px; font-size: 11px; }
.actor-resolution.resolved { color: #20503e; background: #e5f3ea; border: 1px solid #c2ddcc; }
.actor-resolution span { overflow-wrap: anywhere; }
.radar-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.radar-route-list { max-height: 720px; overflow: auto; }
.radar-route-row { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.5fr) minmax(180px, .7fr); gap: 18px; align-items: center; padding: 14px 17px; border-bottom: 1px solid var(--line); }
.radar-route-row:last-child { border-bottom: 0; }
.radar-route-row strong, .radar-route-row span, .radar-route-row small { display: block; }
.radar-route-row strong { margin: 5px 0 2px; }
.radar-route-row span:not(.record-type), .radar-route-row small { color: var(--muted); font-size: 11px; line-height: 1.45; }
.resolution-pill { display: inline-block !important; width: fit-content; margin-bottom: 5px; padding: 5px 8px; border-radius: 999px; font-weight: 800; }
.resolution-pill.named_actor { color: #20503e !important; background: #dff2e7; }
.resolution-pill.direct_named_actor { color: #20503e !important; background: #dff2e7; }
.resolution-pill.named_actor_via_institutional_delivery { color: #254c68 !important; background: #e4f1f8; }
.resolution-pill.official_application_authority { color: #254c68 !important; background: #e4f1f8; }
.resolution-pill.institutional_information_authority { color: #0f5f4a !important; background: #ddf4eb; }
.resolution-pill.directory_reference { color: #284d65 !important; background: #e3eef4; }
.resolution-pill.no_outreach_determination { color: #5b4d36 !important; background: #f0ece3; }
.actor-desk-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.actor-desk-summary div { padding: 16px; border: 1px solid var(--line); border-radius: 11px; background: #f3f7f3; }
.actor-desk-summary strong, .actor-desk-summary span { display: block; }
.actor-desk-summary strong { color: var(--green); font: 700 30px/1 Georgia, serif; }
.actor-desk-summary span { margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.actor-desk-rule { display: flex; gap: 14px; margin: 14px 0; padding: 15px 17px; color: #254c68; border: 1px solid #bdd5e2; border-radius: 11px; background: #eaf4f9; font-size: 12px; line-height: 1.5; }
.actor-desk-rule strong { flex: 0 0 auto; }
.actor-attachment-control { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(320px, .9fr) auto; gap: 20px; align-items: center; margin: 16px 0 22px; padding: 18px 20px; border: 2px solid #14825f; border-radius: 12px; background: #effbf6; }
.actor-attachment-control strong { display: block; margin: 5px 0; color: var(--green-dark); font-size: 16px; }
.actor-attachment-control p { margin: 0; color: #40584e; font-size: 11px; line-height: 1.55; }
.actor-attachment-control ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 0; padding: 0; list-style: none; counter-reset: actor-attach; }
.actor-attachment-control li { counter-increment: actor-attach; display: flex; gap: 7px; align-items: center; color: #254c42; font-size: 9px; font-weight: 850; }
.actor-attachment-control li::before { content: counter(actor-attach); display: grid; place-items: center; width: 21px; height: 21px; color: white; background: #14825f; border-radius: 50%; font-size: 9px; }
.actor-attachment-control .button { white-space: nowrap; }
.actor-ladder { margin: 16px 0; padding: 12px; border: 1px solid var(--line); border-left: 5px solid #408568; border-radius: 14px; background: #fafcf9; }
.actor-ladder.tier-review { border-left-color: #c69538; }
.actor-ladder.tier-route { border-left-color: #668297; }
.actor-tier-head { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 7px 7px 10px; }
.actor-tier-head > span { padding: 6px 8px; color: white; background: var(--green); border-radius: 999px; font-size: 10px; font-weight: 900; }
.tier-review .actor-tier-head > span { background: #9b6b13; }
.tier-route .actor-tier-head > span { background: #496b80; }
.actor-tier-head h4 { margin: 0; font-size: 20px; }
.actor-tier-head p { margin: 3px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.actor-tier-head > strong { color: var(--green); font: 700 30px/1 Georgia, serif; }
.actor-group { margin-top: 12px; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
.actor-group > summary { display: flex; justify-content: space-between; gap: 16px; padding: 16px 18px; cursor: pointer; background: #f2f6f2; font-weight: 850; }
.actor-group > summary small { color: var(--muted); }
.actor-group[open] > summary { border-bottom: 1px solid var(--line); }
.actor-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px; }
.actor-card { padding: 17px; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 11px; background: #fcfdfb; }
.actor-card.institutional { border-left-color: #4d809f; }
.actor-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.actor-card h4 { margin: 7px 0 3px; font-size: 20px; }
.actor-card-head p { margin: 0; color: var(--muted); font-size: 12px; }
.actor-card dl { display: grid; gap: 8px; margin: 14px 0; }
.actor-card dl div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding-top: 8px; border-top: 1px solid #e2e9e4; }
.actor-card dt { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.actor-card dd { margin: 0; overflow-wrap: anywhere; font-size: 12px; }
.actor-card-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actor-card-actions .match-link-button { font: inherit; }
.actor-authority-list { max-height: 620px; overflow: auto; }
.actor-authority-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr) auto; gap: 16px; align-items: center; padding: 14px 17px; border-bottom: 1px solid var(--line); }
.actor-authority-row:last-child { border-bottom: 0; }
.actor-authority-row strong, .actor-authority-row span, .actor-authority-row small { display: block; }
.actor-authority-row span:not(.record-type), .actor-authority-row small { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.reference-contact { display: grid; gap: 3px; margin-top: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.reference-contact strong, .reference-contact span, .reference-contact small { overflow-wrap: anywhere; }
.reference-contact a { width: fit-content; }
.actor-archive { margin-top: 18px; padding: 20px; border: 1px solid #d8d0c1; border-radius: 14px; background: #f7f4ed; }
.actor-archive h4 { margin: 7px 0 4px; font-size: 22px; }
.actor-archive p { color: var(--muted); font-size: 12px; line-height: 1.5; }
.archive-counts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0; }
.archive-counts span { padding: 10px; border-radius: 8px; background: white; color: var(--muted); font-size: 10px; }
.archive-counts strong { display: block; color: #655b49; font-size: 20px; }
.archive-search label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 800; }
.archive-search > div { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.archive-search input { padding: 11px 12px; border: 1px solid var(--line); border-radius: 9px; }
.archive-search-results { margin-top: 12px; }
.archive-result-list { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: white; }
.archive-result-row { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.archive-result-row:last-child { border-bottom: 0; }
.archive-result-row strong, .archive-result-row span, .archive-result-row small { display: block; }
.archive-result-row span, .archive-result-row small { margin-top: 3px; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.status.archive { width: fit-content; color: #655b49 !important; background: #eee9dd; }
.workspace-map { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.workspace-map article { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.workspace-map article > span { display: grid; place-items: center; width: 28px; height: 28px; color: white; background: var(--green); border-radius: 50%; font-weight: 900; }
.workspace-map h3 { margin: 12px 0 5px; }
.workspace-map p { min-height: 54px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.operations-list { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.operations-row { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(150px, .8fr) auto; align-items: center; gap: 18px; padding: 15px 17px; border-bottom: 1px solid var(--line); }
.operations-row:last-child { border-bottom: 0; }
.operations-row strong, .operations-row span, .operations-row small { display: block; }
.operations-row span, .operations-row small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.invitation-audit-card { border-bottom: 1px solid var(--line); }
.invitation-audit-card:last-child { border-bottom: 0; }
.invitation-audit-card .operations-row { border-bottom: 0; }
.invitation-audit-card details { margin: 0 17px 16px; padding: 12px; background: #f4f7f4; border-radius: 8px; }
.invitation-audit-card summary { cursor: pointer; font-weight: 800; }
.invitation-audit-card pre { max-height: 360px; padding: 12px; background: white; border: 1px solid var(--line); border-radius: 8px; overflow: auto; white-space: pre-wrap; font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.invitation-audit-history { display: grid; gap: 6px; margin-top: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.invitation-audit-history > span { color: var(--muted); font-size: 12px; }
.invitation-audit-history ul { display: grid; gap: 5px; margin: 4px 0 0; padding: 0; list-style: none; }
.invitation-audit-history li { display: flex; justify-content: space-between; gap: 12px; padding-top: 5px; border-top: 1px solid var(--line); font-size: 12px; }
.invitation-audit-history li span { font-weight: 750; }
.invitation-audit-history li small { color: var(--muted); }
.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.review-card { padding: 20px; background: #f5f7f4; border: 1px solid var(--line); border-radius: 13px; }
.review-card h3 { margin: 8px 0 2px; font-size: 20px; }
.review-card > p { line-height: 1.45; }
.review-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.review-actions button { padding: 8px 10px; color: #345146; background: white; border: 1px solid #b9cdc3; border-radius: 7px; cursor: pointer; font-weight: 750; }
.review-actions .promote { color: white; background: var(--green); border-color: var(--green); }
.analytics-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.analytics-grid div { padding: 18px; color: white; background: var(--green-dark); border-radius: 12px; }
.analytics-grid strong, .analytics-grid span { display: block; }
.analytics-grid strong { color: var(--lime); font-family: Georgia, serif; font-size: 30px; }
.analytics-grid span { margin-top: 4px; color: #c7dad1; font-size: 11px; text-transform: capitalize; }
.integration-list { display: grid; gap: 9px; }
.integration-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 15px; padding: 13px 15px; background: #f4f7f4; border-radius: 10px; }
.integration-state { padding: 5px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.integration-state.ready, .integration-state.linked { color: #22503f; background: #dff2e7; }
.integration-state.missing { color: #7f2f2b; background: #feeae8; }
.integration-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
#integration-result { margin-top: 12px; }
.production-readiness { margin-bottom: 24px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #f7faf8; }
.production-readiness.ready { border-color: #aad1b8; background: #f0f8f3; }
.production-readiness.attention { border-color: #e0bd7d; background: #fffaf0; }
.production-readiness-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.production-readiness-head h4 { margin: 5px 0 7px; font-size: 24px; }
.production-readiness-head p { max-width: 760px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.production-readiness-head > strong { color: var(--green); font: 700 34px/1 Georgia, serif; }
.production-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 16px; }
.production-check { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 10px; padding: 12px; background: white; border: 1px solid var(--line); border-radius: 10px; }
.production-check > span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-weight: 900; }
.production-check.ready > span { color: #20533e; background: #dff2e7; }
.production-check.missing > span { color: #7f2f2b; background: #feeae8; }
.production-check strong, .production-check small { display: block; }
.production-check small { margin-top: 4px; color: var(--muted); line-height: 1.45; }
.production-check b { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.ai-data-disclosure { display: flex; gap: 12px; margin-top: 14px; padding: 13px; color: #254c68; background: #eef7fb; border: 1px solid #bdd5e2; border-radius: 10px; font-size: 12px; line-height: 1.5; }
.ai-data-disclosure strong { flex: 0 0 auto; }
.post-deploy-checks { margin-top: 12px; }
.post-deploy-checks summary { color: var(--green); font-weight: 800; cursor: pointer; }
.post-deploy-checks li { margin: 8px 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.integration-heading { margin: 0 0 10px; }
.readiness-targets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 18px 0; }
.readiness-targets button { display: flex; flex-direction: column; align-items: flex-start; padding: 14px; color: var(--ink); background: #f4f7f4; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; text-align: left; }
.readiness-targets button:hover { border-color: var(--green); }
.cfr-context { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin: 12px 0; padding: 12px; background: #eef4ef; border: 1px solid var(--line); border-radius: 10px; }
.cfr-context strong { margin-right: 5px; }
.cfr-context span { padding: 5px 8px; color: #315548; background: white; border-radius: 999px; font-size: 10px; font-weight: 800; }
.cfr-context small { color: var(--muted); }
.portfolio-readiness-strip { background: #102b22; color: white; }
.readiness-strip-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; }
.readiness-strip-head h2 { margin: 4px 0 0; color: white; }
.readiness-strip-head p:last-child { max-width: 580px; margin: 0; color: #c7d9d0; font-size: 11px; line-height: 1.5; }
.readiness-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-top: 17px; }
.readiness-strip-grid > div { padding: 15px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 11px; }
.readiness-strip-grid span, .readiness-strip-grid strong, .readiness-strip-grid small { display: block; }
.readiness-strip-grid span { color: var(--lime); font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.readiness-strip-grid strong { margin: 6px 0; color: white; font: 700 28px/1 Georgia, serif; }
.readiness-strip-grid small { color: #c7d9d0; font-size: 10px; line-height: 1.45; }
.readiness-strip-grid em { display: inline-block; margin: 2px 4px 2px 0; padding: 3px 5px; color: #dce9e3; background: rgba(255,255,255,.08); border-radius: 5px; font-style: normal; }
.evidence-boundary-labels { display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 0; }
.evidence-boundary-labels span { padding: 4px 7px; color: #315548; background: #e7f0e9; border-radius: 999px; font-size: 9px; font-weight: 800; }
.compliance-sequence { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0 18px; }
.compliance-sequence > div { padding: 12px; background: #f2f6f2; border: 1px solid var(--line); border-radius: 10px; }
.compliance-sequence span { display: grid; place-items: center; width: 21px; height: 21px; margin-bottom: 8px; color: white; background: var(--green); border-radius: 50%; font-size: 10px; font-weight: 900; }
.compliance-sequence strong, .compliance-sequence small { display: block; }
.compliance-sequence small { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.readiness-targets span { margin-top: 4px; color: var(--muted); font-size: 11px; }
.readiness-result { margin-top: 18px; padding: 20px; background: #f4f7f4; border: 1px solid var(--line); border-radius: 13px; }
.readiness-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.readiness-head h3 { margin: 3px 0; font-size: 30px; }
.readiness-head > strong { color: var(--green); font-family: Georgia, serif; font-size: 46px; }
.readiness-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0; }
.readiness-grid article { padding: 16px; background: white; border: 1px solid var(--line); border-radius: 11px; }
.readiness-grid article > div { display: flex; justify-content: space-between; }
.readiness-grid article > div span { color: var(--green); font-weight: 900; }
.readiness-grid h4 { margin: 10px 0 5px; }
.readiness-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.invite-button { width: 100%; margin-top: 12px; padding: 10px; }
.invite-button.contact-required { color: #6d4914; background: #fff7e7; border-color: #dabd83; }
.contact-readiness { display: grid; gap: 4px; margin: 14px 0; padding: 12px 13px; border-radius: 10px; font-size: 12px; line-height: 1.45; }
.contact-readiness.ready { color: #24503f; background: #e4f2e9; border: 1px solid #bfdac9; }
.contact-readiness.email { color: #24503f; background: #e4f2e9; border: 1px solid #bfdac9; }
.contact-readiness.application { color: #254c68; background: #eaf4f9; border: 1px solid #bdd5e2; }
.contact-readiness.reference_only { color: #554b39; background: #f3f0e9; border: 1px solid #d8d0c1; }
.contact-readiness.pending { color: #6d4914; background: #fff7e7; border: 1px solid #dabd83; }
.contact-readiness strong, .contact-readiness span { display: block; }
.imported-contact-vault { margin-top: 28px; border: 1px solid var(--line); border-radius: 16px; background: #f8faf7; overflow: hidden; }
.imported-contact-vault > summary { cursor: pointer; padding: 18px 20px; color: var(--ink); font-weight: 700; }
.imported-contact-vault[open] > summary { border-bottom: 1px solid var(--line); }
.imported-contact-vault .capital-boundary { margin: 18px; }
.imported-contact-vault .capital-contact-list { margin: 0 18px 18px; max-height: 720px; overflow: auto; }

.governed-dialog { width: min(960px, calc(100vw - 30px)); max-height: calc(100vh - 30px); padding: 0; border: 0; border-radius: 20px; box-shadow: 0 30px 90px rgba(6, 30, 22, .3); }
.governed-dialog::backdrop { background: rgba(8, 28, 21, .68); }
.dialog-card { padding: clamp(22px, 4vw, 38px); }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.dialog-head h2 { margin: 4px 0; font-size: 36px; }
.dialog-close { color: var(--muted); background: transparent; border: 0; cursor: pointer; font-size: 34px; }
.authority-box { display: flex; gap: 14px; margin-bottom: 20px; padding: 14px 16px; color: #624513; background: #fff4dc; border: 1px solid #ead3a3; border-radius: 10px; line-height: 1.45; }
.authority-box strong { flex: 0 0 auto; }
.delivery-authority-note { margin: 16px 0; padding: 13px 15px; border: 1px solid #e0bd7d; border-radius: 10px; color: #6d4914; background: #fff7e7; font-size: 12px; line-height: 1.5; }
.delivery-authority-note.ready { color: #24503f; background: #e4f2e9; border-color: #bfdac9; }
.delivery-authority-note.blocked { color: #6d4914; background: #fff7e7; border-color: #dabd83; }
.dialog-step { margin: 17px 0 8px; color: var(--green); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.dialog-evidence { margin: 0 0 18px; padding: 13px 15px; color: #254c68; background: #eaf4f9; border: 1px solid #bdd5e2; border-radius: 10px; font-size: 12px; line-height: 1.5; }
.dialog-evidence .dialog-step { margin-top: 0; color: #254c68; }
.dialog-evidence p:last-child { margin-bottom: 0; }
.recipient-verification { margin: -8px 0 20px; padding: 11px 13px; color: #714a16; background: #fff4dc; border: 1px solid #ead3a3; border-radius: 9px; font-size: 12px; line-height: 1.45; }
.recipient-verification.verified { color: #24503f; background: #e4f2e9; border-color: #bfdac9; }
.email-preview { margin: 18px 0; padding: 18px; color: #1d332b; background: #f1f5f1; border: 1px solid #c5d8ce; border-radius: 11px; }
.email-preview pre { max-height: 420px; margin: 12px 0 0; padding: 14px; background: white; border-radius: 8px; overflow: auto; white-space: pre-wrap; font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.approval-checks { display: grid; gap: 9px; margin: 18px 0; }
.approval-checks label { display: flex; align-items: flex-start; gap: 9px; color: #344b41; font-size: 13px; line-height: 1.45; }
.approval-checks input { margin-top: 3px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; }
.actor-project-targets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.actor-project-target { display: flex; min-height: 118px; flex-direction: column; align-items: flex-start; padding: 17px; color: #17382d; background: #f6f9f6; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; text-align: left; }
.actor-project-target:hover { border-color: #5b9178; background: #edf5f0; }
.actor-project-target span { color: var(--green); font-size: 10px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.actor-project-target strong { margin: 10px 0 4px; font-size: 15px; }
.actor-project-target small { color: var(--muted); line-height: 1.4; }
.invitation-drafting-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.button-ai { gap: 9px; color: white; background: var(--green-dark); border-color: var(--green-dark); cursor: pointer; }
.button-ai:hover { background: var(--green); }
.button-ai img { display: block; width: 32px; height: 37px; object-fit: contain; background: white; border-radius: 8px; }

.help-toggle { position: fixed; right: 22px; bottom: 22px; z-index: 50; display: inline-flex; align-items: center; gap: 9px; padding: 7px 18px 7px 8px; color: white; background: var(--green-dark); border: 0; border-radius: 999px; box-shadow: var(--shadow); font-weight: 800; cursor: pointer; }
.help-toggle-avatar, .help-head-avatar, .help-message-avatar, .ai-readiness-title img { display: block; flex: 0 0 auto; object-fit: contain; background: white; border: 1px solid rgba(14,106,79,.18); box-shadow: 0 3px 10px rgba(9,48,37,.17); }
.help-toggle-avatar { width: 38px; height: 44px; border-radius: 10px; }
.help-panel { position: fixed; right: 22px; bottom: 82px; z-index: 50; display: grid; grid-template-rows: auto minmax(150px, 1fr) auto auto auto; width: min(410px, calc(100vw - 30px)); height: min(610px, calc(100vh - 112px)); background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.help-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; color: white; background: var(--green-dark); }
.help-identity { display: flex; align-items: center; gap: 11px; }
.help-head-avatar { width: 44px; height: 51px; border-radius: 11px; }
.help-identity strong, .help-identity small { display: block; }
.help-identity small { margin-top: 2px; color: #c9ddd3; font-size: 11px; }
.help-head-actions { display: flex; align-items: center; gap: 8px; }
.help-head select { max-width: 105px; padding: 7px 24px 7px 8px; color: white; background: #244b3d; border: 1px solid #527566; border-radius: 8px; font-family: inherit; font-size: 11px; font-weight: 700; line-height: 1.2; }
.help-head button { color: white; background: transparent; border: 0; font-size: 25px; }
.help-messages { padding: 18px; overflow-y: auto; background: #f5f6f2; }
.help-message-row { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 10px; }.help-message-row.user { justify-content: flex-end; }.help-message-avatar { width: 28px; height: 33px; border-radius: 8px; }
.help-messages p { width: fit-content; max-width: calc(88% - 36px); margin: 0; padding: 10px 12px; border-radius: 12px; line-height: 1.45; white-space: pre-line; }.help-message-row.user p { max-width: 88%; }
.assistant-message { background: white; }
.assistant-message.thinking { color: var(--muted); font-style: italic; }
.user-message { margin-left: auto; color: white; background: var(--green); }
.help-suggestions { display: flex; gap: 7px; padding: 10px 12px 4px; overflow-x: auto; border-top: 1px solid var(--line); }
.help-suggestions button { flex: 0 0 auto; padding: 7px 10px; color: var(--green-dark); background: #edf5f0; border: 1px solid #c9ddd3; border-radius: 999px; font-size: 11px; font-weight: 800; cursor: pointer; }
.help-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.help-form textarea { min-width: 0; resize: none; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; line-height: 1.35; }
.help-form button { align-self: end; }
.help-boundary { margin: 0; padding: 0 12px 10px; color: var(--muted); background: white; font-size: 10px; line-height: 1.35; }
.ai-readiness-title { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }.ai-readiness-title img { width: 52px; height: 60px; border-radius: 12px; }.ai-readiness-title .eyebrow { margin-bottom: 3px; }.ai-readiness-title h3 { margin: 0; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 70; transform: translateX(-50%); padding: 12px 18px; color: white; background: #1c2d26; border-radius: 999px; box-shadow: var(--shadow); }

/* Release 4.10.11 — readable official-source scan CTA */
.funding-pursuit-ledger { background: linear-gradient(145deg, #eef5ef, #f8f5ed); border: 1px solid #c9d8cf; }
.pursuit-global-summary, .pursuit-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; margin: 20px 0 26px; overflow: hidden; background: #cbd9d1; border: 1px solid #cbd9d1; border-radius: 14px; }
.pursuit-global-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pursuit-global-summary > div, .pursuit-summary > div { display: grid; gap: 4px; padding: 17px; background: white; }
.pursuit-global-summary strong, .pursuit-summary strong { color: var(--green-dark); font-family: Georgia, serif; font-size: 28px; font-weight: 500; }
.pursuit-global-summary span, .pursuit-summary span { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.pursuit-target-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pursuit-target { display: grid; gap: 4px; padding: 15px; text-align: left; color: var(--ink); background: white; border: 1px solid #cbd7d0; border-radius: 12px; }
.pursuit-target:hover { border-color: var(--green); box-shadow: 0 8px 25px rgba(14, 106, 79, .08); }
.pursuit-target.active { border-color: var(--green); box-shadow: 0 0 0 3px rgba(14, 106, 79, .14); background: #f2f8f5; }
.pursuit-target span, .pursuit-target small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.pursuit-target strong { font-size: 14px; }
.pursuit-ledger-panel { margin-top: 22px; padding: 22px; background: white; border: 1px solid #cad6cf; border-radius: 16px; }
.pursuit-ledger-panel.empty { text-align: center; }
.pursuit-ledger-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.pursuit-ledger-head h3 { margin-bottom: 8px; font-size: 32px; }
.pursuit-ledger-head p:not(.eyebrow) { max-width: 760px; color: var(--muted); line-height: 1.5; }
.pursuit-group { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.pursuit-group > summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; cursor: pointer; background: #f3f5f1; font-weight: 850; }
.pursuit-group > summary strong { min-width: 30px; padding: 4px 8px; text-align: center; color: white; background: var(--green); border-radius: 999px; }
.pursuit-list { display: grid; gap: 10px; padding: 12px; }
.funding-pursuit-row { padding: 16px; border: 1px solid #d5ddd8; border-left: 5px solid #9aaa9f; border-radius: 10px; }
.funding-pursuit-row.to-contact { border-left-color: var(--gold); }
.funding-pursuit-row.approached { border-left-color: var(--green); }
.funding-pursuit-row.new-signal { border-left-color: #4878bc; }
.pursuit-primary { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.pursuit-primary h4 { margin: 4px 0; font-family: Georgia, serif; font-size: 22px; font-weight: 500; }
.pursuit-primary p { margin: 0; color: var(--muted); font-size: 13px; }
.pursuit-flags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.status.to-contact { color: #6b4200; background: #fae4b8; }
.status.approached { color: #07543f; background: #d8efe5; }
.status.new-signal, .status.new { color: #234b85; background: #dce9fb; }
.status.review { color: #55615b; background: #eaeeeb; }

/* Release 4.10.13 — independent institutional profiles with current official-source verification */
.institutional-profile-screen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
.institutional-profile-screen > div { display: grid; align-content: start; gap: 5px; padding: 11px; background: #edf4f1; border: 1px solid #d2dfd8; border-radius: 9px; }
.institutional-profile-screen span { color: var(--green-dark); font-size: 10px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.institutional-profile-screen strong { color: var(--ink); font-size: 12px; line-height: 1.4; }
.institutional-profile-screen small { color: var(--muted); font-size: 10px; line-height: 1.45; }
.institutional-profile-screen details { grid-column: 1 / -1; padding: 10px 12px; background: #f7f9f7; border: 1px solid #d7e0db; border-radius: 9px; }
.institutional-profile-screen details summary { cursor: pointer; color: var(--green-dark); font-size: 11px; font-weight: 850; }
.institutional-profile-screen details p { margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.radar-route-row.institutional-reference { align-items: start; }
.route-profile-screen { display: grid; gap: 5px; margin-top: 9px; padding: 9px; background: #f2f6f4; border: 1px solid #dae4df; border-radius: 8px; }
.radar-route-row .route-profile-screen small { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px; color: #40584e; }
.route-profile-screen b { color: var(--green-dark); }
.institutional-source-state { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 3px; padding: 7px 8px; border-radius: 7px; }
.institutional-source-state b, .institutional-source-state span { font-size: 10px; line-height: 1.35; }
.institutional-source-state.verified { color: #07543f; background: #d8efe5; }
.institutional-source-state.attention { color: #6b4200; background: #fae4b8; }
.route-profile-screen details { margin-top: 3px; padding-top: 6px; border-top: 1px solid #d6e0db; }
.route-profile-screen details summary { cursor: pointer; color: var(--green-dark); font-size: 10px; font-weight: 850; }
.route-profile-screen details small { margin-top: 6px; }
.institutional-verification-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0 16px 14px; overflow: hidden; background: #cad9d1; border: 1px solid #cad9d1; border-radius: 10px; }
.institutional-verification-summary span { display: grid; gap: 2px; padding: 10px 12px; color: var(--muted); background: white; font-size: 10px; }
.institutional-verification-summary strong { color: var(--green-dark); font-family: Georgia, serif; font-size: 20px; font-weight: 500; }
.institutional-investor-group { border-color: #7eaa95; box-shadow: 0 10px 28px rgba(16, 71, 53, .08); }
.institutional-investor-group > summary { color: white; background: var(--green-dark); }
.institutional-investor-group > summary small { color: #d8e8e0; }
.institutional-route-guide { display: grid; gap: 3px; margin: 14px 16px; padding: 13px 15px; color: #effff7; background: #07533e; border: 1px solid #07533e; border-radius: 10px; }
.institutional-route-guide strong { color: #d7ff82; font-size: 12px; }
.institutional-route-guide span { font-size: 10px; line-height: 1.5; }
.institutional-investor-tools { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(260px, 1.35fr) auto; gap: 14px; align-items: center; margin: 0 16px 16px; padding: 14px; background: #eef6f1; border: 1px solid #c2d8cc; border-radius: 10px; }
.institutional-investor-tools label strong, .institutional-investor-tools label span { display: block; }
.institutional-investor-tools label strong { color: var(--green-dark); font-size: 12px; }
.institutional-investor-tools label span { margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.institutional-investor-tools input { width: 100%; min-height: 44px; padding: 10px 12px; color: var(--ink); background: white; border: 1px solid #94b5a5; border-radius: 8px; font: 600 12px/1.3 inherit; }
.institutional-investor-tools input:focus { outline: 3px solid rgba(184, 240, 105, .48); outline-offset: 1px; border-color: var(--green); }
.institutional-investor-tools output { min-width: 112px; color: var(--green-dark); font-size: 11px; font-weight: 850; text-align: right; }
.institutional-contact-filters { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.institutional-contact-filters button { min-height: 38px; padding: 8px 13px; color: #07533e; background: white; border: 1px solid #78a792; border-radius: 999px; cursor: pointer; font: 850 11px/1.2 inherit; }
.institutional-contact-filters button:hover, .institutional-contact-filters button:focus-visible { border-color: #07533e; outline: 2px solid rgba(184, 240, 105, .55); outline-offset: 1px; }
.institutional-contact-filters button.active { color: #06251d; background: #d7ff82; border-color: #07533e; }
.radar-route-row.institutional-reference.contactable { box-shadow: inset 4px 0 0 #67a91d; }
.institutional-route-cta { display: block; width: 100%; margin-top: 12px; padding: 10px 12px; color: #06251d !important; background: #d7ff82 !important; border: 2px solid #07533e !important; font-size: 11px !important; font-weight: 900 !important; line-height: 1.25 !important; text-align: center; white-space: normal; }
.institutional-route-cta:hover, .institutional-route-cta:focus-visible { color: white !important; background: #07533e !important; }
.institutional-route-locked { margin-top: 10px; padding: 7px 9px; color: #6f3333 !important; background: #fff2f0; border: 1px solid #e4b8b3; border-radius: 7px; font-weight: 800; text-align: center; }
.project-opportunity-signals { margin: 24px 0; padding: 22px; background: #edf7f1; border: 1px solid #acd1bd; border-radius: 16px; }
.project-opportunity-signal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 12px; }
.project-opportunity-signal { padding: 18px; background: white; border: 1px solid #c9ddd2; border-radius: 12px; box-shadow: 0 8px 22px rgba(17, 51, 39, .06); }
.project-opportunity-signal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.project-opportunity-signal-head h3 { margin: 5px 0 3px; font-size: 19px; }
.project-opportunity-signal-head p { margin: 0; color: var(--muted); font-size: 11px; }
.project-opportunity-signal-head > strong { flex: 0 0 auto; padding: 9px 10px; color: var(--green-dark); background: var(--lime); border-radius: 9px; font: 700 17px/1 Georgia, serif; }
.project-opportunity-signal > p { color: #3f584d; font-size: 12px; line-height: 1.55; }
.project-opportunity-signal details { margin: 12px 0; color: var(--muted); font-size: 11px; }
.project-opportunity-signal details summary { color: var(--green); cursor: pointer; font-weight: 850; }
.project-opportunity-signal-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.project-opportunity-signal-actions span { color: var(--muted); font-size: 9px; }
.institutional-project-map { scroll-margin-top: 88px; }
.institutional-project-map .console-section-head > div:last-child { max-width: 520px; }
.institutional-project-map .console-section-head > div:last-child p { margin-top: 0; }
.institutional-map-boundary { display: grid; gap: 4px; margin: 14px 0; padding: 14px 16px; color: #eafff4; background: #07533e; border-radius: 10px; }
.institutional-map-boundary strong { color: #d7ff82; }
.institutional-map-boundary span { font-size: 11px; line-height: 1.5; }
.institutional-map-target-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 9px; margin: 16px 0; }
.institutional-map-target { display: grid; gap: 4px; min-height: 96px; padding: 13px; color: var(--ink); text-align: left; background: white; border: 1px solid #bfd2c8; border-radius: 10px; cursor: pointer; }
.institutional-map-target span { color: var(--green); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.institutional-map-target strong { font-size: 13px; line-height: 1.3; }
.institutional-map-target small { color: var(--muted); font-size: 9px; }
.institutional-map-target.active { background: #eaffcf; border: 2px solid #07533e; box-shadow: 0 7px 18px rgba(7, 83, 62, .12); }
.institutional-project-map-panel { min-height: 180px; padding: 18px; background: #f5faf7; border: 1px solid #b9d2c5; border-radius: 12px; scroll-margin-top: 90px; }
.institutional-map-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.institutional-map-head h3 { margin: 4px 0 7px; font-size: 22px; }
.institutional-map-head p { max-width: 780px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.institutional-outreach-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 18px 0 10px; }
.institutional-outreach-summary span { display: grid; gap: 3px; min-height: 76px; padding: 13px; color: #365148; background: white; border: 1px solid #c8d8d0; border-top: 5px solid #9aaba2; border-radius: 9px; font-size: 10px; font-weight: 800; }
.institutional-outreach-summary strong { color: var(--green-dark); font: 600 25px/1 Georgia, serif; }
.institutional-outreach-summary .contacted { border-top-color: #14825f; background: #effbf6; }
.institutional-outreach-summary .not-sent { border-top-color: #c99014; background: #fff9eb; }
.institutional-outreach-summary .draft { border-top-color: #4c78b7; background: #f1f6fd; }
.institutional-outreach-summary .issue { border-top-color: #b94a42; background: #fff3f1; }
.institutional-outreach-summary .response { border-top-color: #6b4aa5; background: #f6f2fb; }
.institutional-outreach-boundary { display: flex; align-items: center; gap: 9px; margin: 10px 0; padding: 11px 13px; color: #5d4000; background: #fff3ce; border: 1px solid #e4c26e; border-radius: 8px; font-size: 10px; line-height: 1.45; }
.institutional-outreach-boundary strong { flex: 0 0 auto; color: #5d3500; }
.institutional-outreach-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 12px 0 15px; padding: 12px; background: #eaf3ee; border: 1px solid #bed3c8; border-radius: 9px; }
.institutional-outreach-filters button { min-height: 38px; padding: 8px 12px; color: #07533e; background: white; border: 1px solid #75a590; border-radius: 999px; cursor: pointer; font: 850 10px/1.2 inherit; }
.institutional-outreach-filters button:hover, .institutional-outreach-filters button:focus-visible { outline: 3px solid rgba(184, 240, 105, .48); outline-offset: 1px; }
.institutional-outreach-filters button.active { color: #06251d; background: #d7ff82; border: 2px solid #07533e; }
.institutional-outreach-filters output { margin-left: auto; color: var(--green-dark); font-size: 10px; font-weight: 900; }
.institutional-fit-summary { margin: 12px 0; }
.institutional-fit-summary > summary { color: var(--green-dark); cursor: pointer; font-size: 11px; font-weight: 900; }
.institutional-map-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; margin: 16px 0; overflow: hidden; background: #bdd1c6; border: 1px solid #bdd1c6; border-radius: 10px; }
.institutional-map-summary span { display: grid; gap: 2px; padding: 12px; color: var(--muted); background: white; font-size: 9px; }
.institutional-map-summary strong { color: var(--green-dark); font: 500 20px/1 Georgia, serif; }
.institutional-map-groups { display: grid; gap: 10px; }
.institutional-map-group { overflow: hidden; background: white; border: 1px solid #c8d8d0; border-radius: 10px; }
.institutional-map-group > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 15px; cursor: pointer; }
.institutional-map-group > summary span { display: grid; gap: 2px; }
.institutional-map-group > summary small { color: var(--muted); font-size: 9px; font-weight: 500; }
.institutional-map-group > summary b { min-width: 30px; padding: 6px 8px; color: white; text-align: center; background: var(--green-dark); border-radius: 999px; }
.institutional-map-list { display: grid; gap: 10px; padding: 10px; background: #eef5f1; }
.institutional-map-row { padding: 15px; background: white; border: 1px solid #d0ddd6; border-left: 5px solid #a7b9b0; border-radius: 9px; }
.institutional-map-row.priority_review { border-left-color: #5d9e18; }
.institutional-map-row.conditional_review { border-left-color: #c99014; }
.institutional-map-row.excluded { border-left-color: #a63d35; }
.institutional-map-row-head { display: flex; justify-content: space-between; gap: 14px; }
.institutional-map-row-head h4 { margin: 4px 0; font-size: 16px; }
.institutional-map-row-head p, .institutional-map-row > p { color: var(--muted); font-size: 10px; line-height: 1.45; }
.institutional-map-row-head > div:last-child { min-width: 140px; text-align: right; }
.institutional-map-row-head > div:last-child > strong { display: block; color: var(--green-dark); font: 500 22px/1 Georgia, serif; }
.institutional-map-row-head > div:last-child > span { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; font-weight: 850; }
.institutional-map-row.outreach-contacted { box-shadow: inset 0 4px 0 #14825f; }
.institutional-map-row.outreach-draft-not-sent { box-shadow: inset 0 4px 0 #4c78b7; }
.institutional-map-row.outreach-delivery-issue { box-shadow: inset 0 4px 0 #b94a42; }
.institutional-map-row.outreach-not-contacted { box-shadow: inset 0 4px 0 #c99014; }
.institutional-outreach-pill { display: inline-block !important; margin-top: 8px !important; padding: 6px 9px; border-radius: 999px; font-size: 9px !important; font-style: normal; font-weight: 900 !important; line-height: 1.15; text-align: center; }
.institutional-outreach-pill.contacted { color: #07543f !important; background: #d8efe5; }
.institutional-outreach-pill.not-contacted { color: #6b4200 !important; background: #fae4b8; }
.institutional-outreach-pill.draft-not-sent { color: #234b85 !important; background: #dce9fb; }
.institutional-outreach-pill.delivery-issue { color: #87342f !important; background: #f8dcd8; }
.institutional-outreach-record { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0 8px; }
.institutional-outreach-record span { display: grid; gap: 4px; padding: 10px; background: #eef5f1; border: 1px solid #d0ddd6; border-radius: 7px; }
.institutional-outreach-record b { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .07em; }
.institutional-outreach-record strong { color: var(--ink); font-size: 10px; }
.institutional-outreach-next { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin: 8px 0 12px; padding: 9px 11px; color: #e7f3ed; background: #174b3b; border-radius: 7px; font-size: 10px; line-height: 1.4; }
.institutional-map-evidence { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
.institutional-map-evidence span { display: grid; gap: 4px; padding: 9px; color: #40584e; background: #f4f7f5; border-radius: 7px; font-size: 9px; line-height: 1.4; }
.institutional-map-evidence b { color: var(--green-dark); font-size: 9px; text-transform: uppercase; letter-spacing: .05em; }
.institutional-map-row details { margin: 10px 0; color: var(--muted); font-size: 10px; }
.institutional-map-row details summary { color: var(--green); cursor: pointer; font-weight: 850; }
.institutional-map-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line); }
.institutional-map-actions .button-solid { color: #06251d; background: #d7ff82; border: 2px solid #07533e; font-weight: 900; }
.institutional-map-no-action { color: #87342f; font-size: 10px; font-weight: 850; }

/* Release 4.10.28 — global family-office routes; existing governed status surfaces reused */
.invitation-outreach-state { display: grid; gap: 6px; margin: -8px 0 20px; padding: 14px 16px; border: 2px solid #c99014; border-radius: 10px; background: #fff9eb; }
.invitation-outreach-state strong { color: #5d3b00; font-size: 14px; letter-spacing: .03em; }
.invitation-outreach-state span { color: #594d37; font-size: 12px; line-height: 1.5; }
.invitation-outreach-state small { color: #6a5732; font-size: 10px; font-weight: 850; }
.invitation-outreach-state.sent { border-color: #14825f; background: #eaf8f2; }
.invitation-outreach-state.sent strong, .invitation-outreach-state.sent small { color: #07543f; }
.invitation-outreach-state.delivery-issue { border-color: #b94a42; background: #fff0ee; }
.invitation-outreach-state.delivery-issue strong, .invitation-outreach-state.delivery-issue small { color: #87342f; }
.institutional-outreach-next.shared-route { color: #07543f; background: #eaf8f2; border-color: #b6ddcf; }
.dialog-card.existing-outreach > .dialog-step,
.dialog-card.existing-outreach > .form-grid,
.dialog-card.existing-outreach > .invitation-drafting-actions,
.dialog-card.existing-outreach > #ai-draft-status,
.dialog-card.existing-outreach > #invitation-preview,
.dialog-card.existing-outreach > .approval-checks,
.dialog-card.existing-outreach #send-invitation { display: none; }
.outreach-queue-group > summary { border-left: 7px solid #9aaba2; }
.outreach-queue-group.queue-open > summary { color: #5d3b00; background: #fff4d8; border-left-color: #c99014; }
.outreach-queue-group.queue-sent > summary { color: #07543f; background: #e4f5ed; border-left-color: #14825f; }
.outreach-queue-group.queue-delivery-issue > summary { color: #87342f; background: #fff0ee; border-left-color: #b94a42; }
.outreach-queue-group.queue-closed > summary { color: #4d5b55; background: #eef1ef; border-left-color: #7e8d86; }
.institutional-project-outreach-state, .pursuit-project-state, .match-project-outreach-state, .project-route-action-state { display: grid; gap: 3px; margin: 12px 0; padding: 10px 12px; border: 1px solid #e1c46f; border-left: 5px solid #c99014; border-radius: 8px; background: #fff9eb; }
.institutional-project-outreach-state b, .pursuit-project-state b { color: #6b4200; font-size: 8px; text-transform: uppercase; letter-spacing: .07em; }
.institutional-project-outreach-state strong, .pursuit-project-state strong, .match-project-outreach-state strong, .project-route-action-state strong { color: #4e3500; font-size: 11px; }
.institutional-project-outreach-state.contacted, .pursuit-project-state.sent, .match-project-outreach-state.sent, .project-route-action-state.sent { border-color: #a9d5c3; border-left-color: #14825f; background: #effbf6; }
.institutional-project-outreach-state.contacted b, .institutional-project-outreach-state.contacted strong, .pursuit-project-state.sent b, .pursuit-project-state.sent strong, .match-project-outreach-state.sent strong, .project-route-action-state.sent strong { color: #07543f; }
.institutional-project-outreach-state.delivery-issue, .pursuit-project-state.delivery-issue, .match-project-outreach-state.delivery-issue, .project-route-action-state.delivery-issue { border-color: #e3b3ae; border-left-color: #b94a42; background: #fff3f1; }
.match-project-outreach-state.status-unavailable, .project-route-action-state.status-unavailable { border-color: #aab7c0; border-left-color: #51636f; background: #f3f6f8; }
.project-route-action-state.automatic-research { border-color: #a9c8dc; border-left-color: #34789d; background: #eef7fc; }
.project-route-action-state.automatic-research strong { color: #1d5674; }
.project-route-action-state.project-remediation { border-color: #e4c26e; border-left-color: #b98213; background: #fff8e7; }
.project-route-action-state.project-remediation strong { color: #6b4200; }
.project-route-action-state.not-suitable { border-color: #cbb9b5; border-left-color: #845d5a; background: #f7f3f2; }
.match-project-outreach-state span, .project-route-action-state span { color: #40584e; font-size: 10px; font-weight: 800; }
.match-project-outreach-state small, .project-route-action-state small { color: var(--muted); font-size: 9px; }
.pursuit-project-boundary { display: flex; gap: 9px; margin: 14px 0 4px; padding: 12px 14px; color: #eafff4; background: #07533e; border-radius: 9px; font-size: 11px; line-height: 1.45; }
.pursuit-project-boundary strong { color: #d7ff82; }
.owner-project-outreach-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 18px 0; padding: 14px; background: #f3f7f4; border: 1px solid #bed3c8; border-radius: 12px; }
.owner-project-outreach-summary > div:not(.owner-outreach-filters) { display: grid; gap: 5px; padding: 13px; background: white; border: 1px solid #d0ddd6; border-top: 5px solid #9aaba2; border-radius: 9px; }
.owner-project-outreach-summary > .open { border-top-color: #c99014; background: #fff9eb; }
.owner-project-outreach-summary > .sent { border-top-color: #14825f; background: #effbf6; }
.owner-project-outreach-summary > .delivery-issue { border-top-color: #b94a42; background: #fff3f1; }
.owner-project-outreach-summary > .status-unavailable { border-top-color: #51636f; background: #f3f6f8; }
.owner-project-outreach-summary > div > strong { color: var(--green-dark); font: 600 25px/1 Georgia, serif; }
.owner-project-outreach-summary > div > span { color: #40584e; font-size: 9px; font-weight: 900; line-height: 1.35; text-transform: uppercase; }
.owner-project-outreach-summary > p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.owner-outreach-filters { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding-top: 6px; }
.owner-outreach-filters button { min-height: 36px; padding: 8px 12px; color: #07533e; background: white; border: 1px solid #75a590; border-radius: 999px; cursor: pointer; font: 850 10px/1.2 inherit; }
.owner-outreach-filters button.active { color: #06251d; background: #d7ff82; border: 2px solid #07533e; }
.owner-outreach-filters output { margin-left: auto; color: var(--green-dark); font-size: 10px; font-weight: 900; }
@media (max-width: 900px) {
  .actor-attachment-control { grid-template-columns: 1fr; align-items: start; }
  .institutional-profile-screen { grid-template-columns: 1fr; }
  .institutional-verification-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .institutional-investor-tools { grid-template-columns: 1fr; }
  .institutional-investor-tools output { text-align: left; }
  .institutional-map-head { display: grid; }
  .institutional-outreach-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .institutional-outreach-boundary { align-items: flex-start; flex-direction: column; }
  .institutional-outreach-filters output { flex-basis: 100%; margin-left: 0; }
  .institutional-map-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .institutional-outreach-record { grid-template-columns: 1fr; }
  .institutional-map-evidence { grid-template-columns: 1fr; }
  .owner-project-outreach-summary { grid-template-columns: 1fr; }
  .owner-outreach-filters output { flex-basis: 100%; margin-left: 0; }
  .pursuit-project-boundary { display: grid; }
}
.pursuit-facts { display: grid; grid-template-columns: .7fr 1fr 1fr; gap: 10px; margin-top: 14px; }
.pursuit-facts > span, .pursuit-facts > label { display: grid; gap: 4px; padding: 11px; background: #f5f6f2; border-radius: 8px; }
.pursuit-facts small { color: var(--muted); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.pursuit-facts em { color: var(--muted); font-size: 10px; font-style: normal; }
.pursuit-facts select { width: 100%; padding: 7px 8px; color: var(--ink); background: white; border: 1px solid #bdcac3; border-radius: 7px; font-weight: 700; }
.pursuit-next { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin-top: 12px; padding: 11px 13px; color: #e7f3ed; background: #174b3b; border-radius: 8px; font-size: 12px; }
.funding-pursuit-row details { margin-top: 10px; }
.funding-pursuit-row details > summary { cursor: pointer; color: var(--green-dark); font-size: 12px; font-weight: 800; }
.funding-pursuit-row details p { color: var(--muted); font-size: 12px; line-height: 1.5; }
.pursuit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.manual-outreach { flex: 1 1 100%; padding-top: 8px; border-top: 1px solid var(--line); }
.manual-outreach form { display: grid; grid-template-columns: .7fr 1.5fr 1.2fr auto; gap: 9px; align-items: end; margin-top: 10px; }
.manual-outreach label { display: grid; gap: 5px; color: var(--muted); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .05em; }
.manual-outreach input, .manual-outreach select { min-width: 0; padding: 9px 10px; color: var(--ink); background: white; border: 1px solid #bdcac3; border-radius: 8px; text-transform: none; letter-spacing: normal; }
footer { display: flex; justify-content: space-between; gap: 30px; padding: 38px clamp(20px, 5vw, 72px); color: #c4d4cc; background: #102b22; }
footer strong, footer span { display: block; }
footer span { margin-top: 6px; font-size: 13px; }
.footer-company { max-width: 720px; }
.footer-company address { margin-top: 12px; color: #d8e5df; font-size: 13px; font-style: normal; line-height: 1.55; }
.footer-company .footer-email { display: inline-block; margin: 8px 0 0; color: var(--lime); font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; align-content: flex-start; justify-content: flex-end; gap: 12px 20px; }
.footer-links a { margin: 0; }

@media (max-width: 860px) {
  .menu-button { display: block; }
  nav { position: absolute; top: 68px; left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; padding: 14px; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  nav.open { display: flex; }
  .help-toggle { right: 14px; bottom: 14px; }
  .help-panel { right: 10px; bottom: 70px; width: calc(100vw - 20px); height: min(620px, calc(100vh - 84px)); }
  nav > * { width: 100%; text-align: center; }
  .grid-3, .grid-2, .trust-strip, .connection-grid, .portfolio-grid, .capital-route-grid, .matching-target-grid, .match-review-grid, .review-grid, .readiness-targets, .readiness-grid, .radar-grid, .actor-resolution-banner, .actor-card-grid, .actor-project-targets, .workspace-map, .billing-card, .readiness-strip-grid, .compliance-sequence, .scan-status-head, .scan-source-grid, .production-checks { grid-template-columns: 1fr; }
  .pursuit-target-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pursuit-global-summary, .pursuit-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pursuit-facts, .manual-outreach form { grid-template-columns: 1fr; }
  .pursuit-ledger-head, .pursuit-primary { flex-direction: column; }
  .pursuit-flags { justify-content: flex-start; }
  .scan-class-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .governance-spine-overlay { position: static; grid-template-columns: 1fr; }
  .capital-matrix-labels { display: none; }
  .capital-matrix-row { grid-template-columns: 1fr; gap: 7px; }
  .capital-matrix-row > div:not(:first-child)::before { display: block; margin-bottom: 2px; color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
  .capital-matrix-row > div:nth-child(2)::before { content: "Access basis"; }
  .capital-matrix-row > div:nth-child(3)::before { content: "Governance gate"; }
  .capital-matrix-row > div:nth-child(4)::before { content: "Invitation authority"; }
  .readiness-strip-head, .matrix-head, .production-readiness-head { align-items: flex-start; flex-direction: column; }
  .frontdoor-intro, .frontdoor-grid { grid-template-columns: 1fr; }
  .frontdoor-boundary { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .project-card { grid-template-columns: 1fr 1fr; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .cta, .dashboard-head, .console-section-head, .capital-subhead, .matching-result-head, .matching-method { align-items: flex-start; flex-direction: column; }
  .matching-method span { text-align: left; }
  .debt-policy-alert { flex-direction: column; }
  .capital-contact-row { grid-template-columns: 1fr 1fr; }
  .analytics-grid { grid-template-columns: repeat(3, 1fr); }
  .operations-row, .radar-route-row, .actor-authority-row, .archive-result-row { grid-template-columns: 1fr; }
  .panel-head, .readiness-head { align-items: flex-start; flex-direction: column; }
  .intake-layout { grid-template-columns: 1fr; }
  .intake-spine { position: static; }
  .intake-spine a { display: none; }
  .intake-record dl { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .brand-logo { width: 52px; height: 52px; }
  .shell { width: min(100% - 28px, 1180px); }
  .scan-class-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { padding-top: 58px; }
  .form-grid, .project-card, .metric-grid, .capital-summary-grid, .capital-contact-row, .match-counts, .scorecard-grid, .analytics-grid, .radar-summary, .scan-resolution-grid, .resolution-counts, .actor-desk-summary, .archive-counts { grid-template-columns: 1fr; }
  .pursuit-target-grid, .pursuit-global-summary, .pursuit-summary { grid-template-columns: 1fr; }
  .pursuit-next { grid-template-columns: 1fr; }
  .actor-card dl div, .archive-search > div { grid-template-columns: 1fr; }
  .card, .panel, .auth-card { padding: 22px; }
  .protection-note { align-items: flex-start; flex-direction: column; }
  .capital-boundary { flex-direction: column; }
  .restored-operations, .operations-panel { padding: 18px; }
  .authority-box, .ai-data-disclosure { flex-direction: column; }
  .billing-card { grid-template-columns: 1fr; }
  .engine-jump-nav { position: static; }
  .intake-boundary, .intake-record-head { flex-direction: column; }
  .intake-section-head h2 { font-size: 25px; }
  .intake-actions { justify-content: stretch; }
  .intake-actions > * { width: 100%; text-align: center; }
  .intake-record dl { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

/* Release 4.10.29 — unified, tenant-scoped Funding Command Centre */
.anchor-alias { position: absolute; transform: translateY(-100px); }
.funding-command-centre { scroll-margin-top: 82px; }
.command-centre-target-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.command-centre-target { display: grid; gap: 5px; min-height: 92px; padding: 14px; color: var(--ink); background: white; border: 1px solid #bfd1c7; border-radius: 11px; cursor: pointer; text-align: left; }
.command-centre-target:hover, .command-centre-target.active { border-color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }
.command-centre-target span { color: var(--green); font-size: 12px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.command-centre-target strong { font-size: 15px; line-height: 1.25; }
.command-centre-target small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.funding-command-centre-panel { min-height: 180px; }
.funding-command-context { position: sticky; top: 72px; z-index: 8; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 16px 0 0; padding: 16px 18px; color: white; background: #0b4f3d; border: 1px solid #277461; border-radius: 12px 12px 0 0; box-shadow: 0 8px 20px rgba(9, 58, 45, .13); }
.funding-command-context h3 { margin: 2px 0 4px; color: white; font-size: clamp(21px, 3vw, 28px); }
.funding-command-context p { margin: 0; color: #dcece5; font-size: 13px; }
.funding-command-context > div:last-child { display: grid; gap: 3px; min-width: 190px; text-align: right; }
.funding-command-context > div:last-child span, .funding-command-context > div:last-child small { color: #cde2d9; font-size: 12px; }
.funding-command-context > div:last-child strong { color: var(--lime); font-size: 16px; }
.funding-command-boundary { display: flex; gap: 12px; padding: 14px 16px; color: #173f32; background: #ecf6f0; border: 1px solid #b7d4c5; border-top: 0; font-size: 13px; line-height: 1.5; }
.funding-command-boundary strong { flex: 0 0 auto; }
.capital-action-cockpit { display: grid; gap: 12px; margin: 14px 0; padding: 16px; background: linear-gradient(135deg, #f4fbf7, #eef4ff); border: 1px solid #b9d2c6; border-radius: 12px; }
.capital-action-cockpit-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.capital-action-cockpit-head h4 { margin: 2px 0 5px; color: var(--green-dark); font: 600 23px/1.2 Georgia, serif; }
.capital-action-cockpit-head p { margin: 0; color: #40584e; line-height: 1.5; }
.state-integrity { display: grid; gap: 3px; max-width: 360px; padding: 11px 13px; border: 1px solid #b7cbc1; border-radius: 9px; background: white; }
.state-integrity.reconciled { border-left: 5px solid #13825f; }
.state-integrity.mismatch { border-left: 5px solid #b74a43; background: #fff5f3; }
.state-integrity strong { color: var(--green-dark); font-size: 13px; }
.state-integrity span, .state-integrity small { color: #52675e; font-size: 11px; line-height: 1.4; }
.capital-action-list { display: grid; gap: 9px; }
.capital-action-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 13px; padding: 13px; background: white; border: 1px solid #c9d9d1; border-radius: 10px; }
.capital-action-row > span { display: grid; place-items: center; width: 32px; height: 32px; color: white; background: var(--green-dark); border-radius: 50%; font-weight: 800; }
.capital-action-row h4 { margin: 2px 0; color: var(--green-dark); }
.capital-action-row small, .capital-action-row p, .capital-action-row em { color: #52675e; font-size: 12px; font-style: normal; line-height: 1.4; }
.capital-action-row p { margin: 5px 0 0; }
.capital-action-row > div:last-child { display: grid; justify-items: end; gap: 8px; }
.funding-command-route.route-focus { outline: 4px solid rgba(19, 130, 95, .3); box-shadow: 0 12px 30px rgba(11, 70, 52, .18); }
.decision-queue-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 14px 0; }
.decision-queue-summary > div { display: grid; gap: 4px; padding: 14px; background: white; border: 1px solid #c9d9d1; border-top: 5px solid #8da197; border-radius: 9px; }
.decision-queue-summary .act-now { border-top-color: #b74a43; background: #fff5f3; }
.decision-queue-summary .automatic { border-top-color: #34789d; background: #eef7fc; }
.decision-queue-summary .project-remediation { border-top-color: #b98213; background: #fff8e7; }
.decision-queue-summary .monitor { border-top-color: #6f7773; }
.decision-queue-summary .not-suitable { border-top-color: #845d5a; background: #f7f3f2; }
.decision-queue-summary strong { color: var(--green-dark); font: 600 25px/1 Georgia, serif; }
.decision-queue-summary span { color: #40584e; font-size: 12px; font-weight: 800; }
.automatic-route-research { display: grid; grid-template-columns: minmax(260px, 1.25fr) minmax(360px, 1.4fr) auto; align-items: center; gap: 14px; margin: 14px 0; padding: 16px; background: #eef7fc; border: 1px solid #a9c8dc; border-radius: 11px; }
.automatic-route-research h4 { margin: 2px 0 5px; color: #174f6d; font: 600 22px/1.2 Georgia, serif; }
.automatic-route-research p { margin: 0; color: #405e6d; font-size: 11px; line-height: 1.5; }
.automatic-route-research-counts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.automatic-route-research-counts span { display: grid; gap: 2px; padding: 9px 10px; color: #405e6d; background: white; border: 1px solid #c4dce8; border-radius: 8px; font-size: 9px; font-weight: 800; }
.automatic-route-research-counts strong { color: #174f6d; font: 600 20px/1 Georgia, serif; }
.automatic-route-research-clock { display: grid; gap: 6px; min-width: 190px; }
.automatic-route-research-clock span { display: grid; gap: 2px; color: #405e6d; font-size: 10px; }
.automatic-route-research-clock b { color: #174f6d; font-size: 8px; letter-spacing: .06em; text-transform: uppercase; }
.automatic-route-research-clock small { padding: 6px 8px; color: #174f6d; background: #d9edf7; border-radius: 999px; font-size: 9px; font-weight: 900; text-align: center; }
.automatic-route-research-actions { display: grid; gap: 5px; margin-top: 3px; }
.automatic-route-research-actions .button { width: 100%; min-height: 38px; padding: 8px 11px; font-size: 10px; }
.automatic-route-research-actions span { color: #405e6d; font-size: 9px; line-height: 1.4; }
.programme-funding-snapshot { display: grid; gap: 14px; margin: 14px 0; padding: 18px; background: linear-gradient(145deg, #f4faf6, #eef5f1); border: 1px solid #aac8b9; border-left: 7px solid var(--green); border-radius: 11px; box-shadow: 0 5px 14px rgba(25, 61, 48, .06); }
.programme-funding-snapshot-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.programme-funding-snapshot-head h4 { margin: 3px 0 0; color: var(--green-dark); font-size: clamp(22px, 3vw, 30px); }
.programme-funding-snapshot-head > span { flex: 0 0 auto; padding: 7px 10px; color: #5d4300; background: #fff0c2; border: 1px solid #d5b35e; border-radius: 999px; font-size: 12px; font-weight: 850; }
.programme-funding-metrics { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; }
.programme-funding-metrics > div { display: grid; align-content: start; gap: 5px; min-height: 94px; padding: 13px; background: white; border: 1px solid #c9d9d1; border-radius: 9px; }
.programme-funding-metrics strong { color: var(--green-dark); font: 600 23px/1.1 Georgia, serif; }
.programme-funding-metrics span { color: #40584e; font-size: 12px; font-weight: 800; line-height: 1.35; }
.programme-funding-decisions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.programme-funding-decisions > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 13px; background: #fffaf0; border: 1px solid #dec887; border-radius: 8px; }
.programme-funding-decisions span { color: #5a5135; font-size: 12px; font-weight: 800; }
.programme-funding-decisions strong { color: #704e00; font-size: 13px; text-transform: uppercase; }
.programme-funding-decisions > div[data-state="cleared"], .programme-funding-decisions > div[data-state="started"] { background: #edf8f2; border-color: #9ac7b0; }
.programme-funding-decisions > div[data-state="cleared"] strong, .programme-funding-decisions > div[data-state="started"] strong { color: #07533e; }
.programme-funding-decisions > div[data-state="not_recorded"] { background: #f5f6f5; border-color: #c8cfcb; }
.programme-funding-decisions > div[data-state="not_recorded"] strong { color: #59645f; }
.programme-funding-notes { display: grid; gap: 7px; padding-top: 12px; border-top: 1px solid #bfd4c9; }
.programme-funding-notes p { margin: 0; color: #40584e; font-size: 12px; line-height: 1.55; }
.programme-funding-notes [data-snapshot-authority-boundary] { padding: 10px 12px; color: #543a00; background: #fff5da; border: 1px solid #dec887; border-radius: 8px; }
.funding-command-summary { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 9px; margin: 14px 0; }
.funding-command-summary > div { display: grid; gap: 5px; min-height: 88px; padding: 14px; background: white; border: 1px solid #c9d9d1; border-top: 5px solid #8da197; border-radius: 9px; }
.funding-command-summary .action { border-top-color: #0b6b51; }
.funding-command-summary .open { border-top-color: #c58b13; background: #fffaf0; }
.funding-command-summary .draft { border-top-color: #52708d; }
.funding-command-summary .sent, .funding-command-summary .response { border-top-color: #13825f; background: #f1fbf6; }
.funding-command-summary .issue { border-top-color: #b74a43; background: #fff5f3; }
.funding-command-summary .call { border-top-color: #6c55a4; }
.funding-command-summary strong { color: var(--green-dark); font: 600 25px/1 Georgia, serif; }
.funding-command-summary span { color: #40584e; font-size: 12px; font-weight: 800; line-height: 1.35; }
.funding-command-calls { margin: 14px 0; padding: 0; background: #f7f4ff; border: 1px solid #d5ccec; border-radius: 11px; }
.funding-command-calls > summary { cursor: pointer; padding: 14px 16px; color: #3e315d; }
.funding-command-calls > summary span { display: grid; gap: 3px; }
.funding-command-calls > summary small { font-size: 12px; font-weight: 500; }
.funding-command-call-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 14px 14px; }
.funding-command-call { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 14px; background: white; border: 1px solid #d9d1ec; border-radius: 9px; }
.funding-command-call.new { border-left: 6px solid #7559b2; }
.funding-command-call h4 { margin: 3px 0; font-size: 17px; }
.funding-command-call p { grid-column: 1 / -1; margin: 3px 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.funding-command-call > div:nth-child(2) { display: grid; align-content: start; gap: 2px; text-align: right; }
.funding-command-call > div:nth-child(2) strong { color: #4b3972; font-size: 20px; }
.funding-command-call > div:nth-child(2) span { color: var(--muted); font-size: 12px; text-transform: capitalize; }
.shared-call-catalogue-note { margin: 0 14px 14px; padding: 10px 12px; color: #4b4261; background: #eee9f8; border-radius: 8px; font-size: 12px; font-weight: 750; line-height: 1.45; }
.funding-command-tools { position: sticky; top: 170px; z-index: 7; display: grid; gap: 12px; margin: 14px 0; padding: 14px; background: rgba(244, 249, 246, .97); border: 1px solid #bed1c7; border-radius: 11px; backdrop-filter: blur(8px); }
.funding-command-tools label { display: grid; grid-template-columns: auto minmax(240px, 1fr); align-items: center; gap: 12px; color: var(--green-dark); font-size: 13px; }
.funding-command-tools input { width: 100%; min-height: 44px; padding: 10px 12px; color: var(--ink); background: white; border: 1px solid #9bb8aa; border-radius: 8px; font: 500 14px/1.4 inherit; }
.funding-command-filters { display: grid; gap: 9px; }
.funding-command-primary-row { display: flex; align-items: center; gap: 10px; }
.funding-command-primary-filters { display: flex; flex: 1; flex-wrap: wrap; align-items: center; gap: 7px; }
.funding-command-filters button { min-height: 38px; padding: 8px 12px; color: #07533e; background: white; border: 1px solid #75a590; border-radius: 999px; cursor: pointer; font: 800 12px/1.2 inherit; }
.funding-command-filters button.active { color: #06251d; background: var(--lime); border: 2px solid #07533e; }
.funding-command-filters output { margin-left: auto; color: var(--green-dark); font-size: 12px; font-weight: 850; }
.funding-command-more-filters { border-top: 1px solid #d4e1db; }
.funding-command-more-filters > summary { display: flex; align-items: center; gap: 9px; width: fit-content; padding: 9px 2px 0; color: #07533e; cursor: pointer; list-style: none; }
.funding-command-more-filters > summary::-webkit-details-marker { display: none; }
.funding-command-more-filters > summary strong::after { content: " +"; }
.funding-command-more-filters[open] > summary strong::after { content: " −"; }
.funding-command-more-filters > summary span { color: var(--muted); font-size: 11px; font-weight: 650; }
.funding-command-secondary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding-top: 10px; }
.funding-command-filter-group { display: flex; align-content: flex-start; flex-wrap: wrap; gap: 7px; min-width: 0; margin: 0; padding: 10px; background: #fff; border: 1px solid #d4e1db; border-radius: 9px; }
.funding-command-filter-group legend { width: auto; padding: 0 5px; color: #40584e; font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.funding-command-route-list { display: grid; gap: 12px; }
.funding-command-route { display: grid; gap: 12px; padding: 17px; background: white; border: 1px solid #c8d8d0; border-left: 7px solid #94a59d; border-radius: 11px; box-shadow: 0 4px 12px rgba(25, 61, 48, .05); }
.funding-command-route.workflow-open { border-left-color: #c58b13; }
.funding-command-route.workflow-sent, .funding-command-route.workflow-delivered, .funding-command-route.workflow-response, .funding-command-route.workflow-submitted { border-left-color: #13825f; }
.funding-command-route.workflow-draft, .funding-command-route.workflow-approved { border-left-color: #52708d; }
.funding-command-route.workflow-delivery_issue { border-left-color: #b74a43; }
.funding-command-route.workflow-closed { border-left-color: #6f7773; background: #f5f6f5; }
.funding-command-route.decision-act_now { border-left-color: #b74a43; }
.funding-command-route.decision-engine_research { border-left-color: #34789d; }
.funding-command-route.decision-monitor { border-left-color: #6f7773; }
.funding-command-route.decision-not_suitable { border-left-color: #845d5a; background: #f7f3f2; }
.decision-reliability-banner { display: grid; grid-template-columns: minmax(130px, auto) 1fr; gap: 12px; align-items: center; padding: 11px 13px; border-radius: 8px; background: #f1f5f2; }
.decision-reliability-banner strong { color: var(--green-dark); font-size: 13px; }
.decision-reliability-banner span { color: #40584e; font-size: 12px; line-height: 1.45; }
.decision-reliability-banner.act_now { background: #fff0ee; }
.decision-reliability-banner.engine_research { background: #eef7fc; }
.decision-reliability-banner.project_remediation { background: #fff8e7; }
.decision-blockers, .decision-unlocks { margin-top: 10px; padding: 11px 13px; border-radius: 8px; }
.decision-blockers { color: #7e302d; background: #fff0ef; }
.decision-unlocks { color: #285445; background: #edf7f1; }
.funding-command-route-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.funding-command-route-head h4 { margin: 4px 0 0; font-size: 20px; }
.funding-command-scores { display: flex; align-items: stretch; justify-content: flex-end; gap: 8px; }
.funding-command-score { display: grid; gap: 2px; min-width: 86px; text-align: right; }
.funding-command-score strong { color: var(--green-dark); font: 600 24px/1 Georgia, serif; }
.funding-command-score span { color: var(--muted); font-size: 12px; }
.investor-risk-badge { display: grid; gap: 2px; min-width: 130px; max-width: 185px; padding: 9px 11px; border: 1px solid #b7cbc1; border-radius: 9px; background: #f2f7f4; }
.investor-risk-badge strong { color: var(--green-dark); font: 600 22px/1 Georgia, serif; }
.investor-risk-badge span { color: #284c3f; font-size: 11px; font-weight: 850; }
.investor-risk-badge small { color: var(--muted); font-size: 9px; line-height: 1.3; }
.investor-risk-badge.risk-moderate { background: #fff8e8; border-color: #dec887; }
.investor-risk-badge.risk-high { background: #fff0e6; border-color: #e0ae88; }
.investor-risk-badge.risk-critical, .investor-risk-badge.risk-excluded { background: #fff0ef; border-color: #dcaaa6; }
.investor-risk-detail { display: grid; gap: 3px; margin-top: 10px; padding: 11px 13px; color: #334f45; background: #f2f6f4; border-radius: 8px; font-size: 12px; }
.funding-command-state { display: flex; flex-wrap: wrap; gap: 8px; }
.workflow-badge, .readiness-badge { padding: 7px 10px; border-radius: 999px; font-size: 12px; font-weight: 850; line-height: 1.2; }
.workflow-badge.open { color: #654500; background: #fff0c2; }
.workflow-badge.sent, .workflow-badge.delivered, .workflow-badge.response, .workflow-badge.submitted { color: #07533e; background: #d9f5e8; }
.workflow-badge.draft, .workflow-badge.approved { color: #2e4962; background: #e0eaf3; }
.workflow-badge.delivery_issue { color: #8b302b; background: #ffe0dc; }
.workflow-badge.closed { color: #4d5652; background: #e2e5e3; }
.readiness-badge { color: #22483a; background: #eef4f0; border: 1px solid #bdd1c7; }
.funding-command-facts { display: grid; grid-template-columns: .8fr .8fr 1.5fr; gap: 9px; }
.funding-command-facts span { display: grid; gap: 4px; padding: 11px 12px; color: #385449; background: #f3f7f4; border-radius: 8px; font-size: 13px; line-height: 1.45; }
.funding-command-facts b { color: var(--green-dark); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.funding-command-evidence { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; }
.funding-command-evidence > summary { cursor: pointer; color: var(--green-dark); font-size: 13px; font-weight: 850; }
.funding-command-evidence > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 10px; }
.funding-command-evidence span { display: grid; gap: 4px; padding: 11px; color: var(--muted); background: #f7f8f6; border-radius: 8px; font-size: 13px; line-height: 1.45; }
.funding-command-evidence b { color: var(--ink); }
.funding-command-evidence li { margin: 5px 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.funding-command-route-readiness { display: grid; gap: 3px; }
.funding-command-route-readiness strong { color: var(--green-dark); font-size: 14px; }
.funding-command-route-readiness span { color: var(--muted); font-size: 13px; line-height: 1.45; }
.funding-command-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.funding-command-actions .project-route-action-state { flex: 1 1 360px; }
.funding-command-actions .button, .funding-command-actions .system-link { min-height: 42px; font-size: 13px; }

.investor-risk-summary { display: grid; grid-template-columns: minmax(240px, 1.3fr) auto minmax(320px, 1fr); align-items: center; gap: 14px; margin: 14px 0; padding: 16px; background: #f4f8f6; border: 1px solid #bdd0c7; border-radius: 11px; }
.investor-risk-summary h4 { margin: 2px 0 5px; color: var(--green-dark); font: 600 22px/1.2 Georgia, serif; }
.investor-risk-summary p { margin: 0; color: #52675e; font-size: 12px; line-height: 1.45; }
.route-research-execution { margin: 0; padding: 10px 12px; background: #f2f8fb; border: 1px solid #bdd8e5; border-radius: 8px; }
.route-research-execution > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; color: #174f6d; }
.route-research-execution > summary span { display: grid; gap: 2px; }
.route-research-execution > summary strong { font-size: 11px; }
.route-research-execution > summary small, .route-research-execution > summary b { color: #486675; font-size: 9px; }
.route-research-execution > div:not(.route-research-sources) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 9px; }
.route-research-execution > div > span { display: grid; gap: 2px; padding: 7px; color: #405e6d; background: white; border-radius: 6px; font-size: 9px; }
.route-research-execution > div > span b { color: #174f6d; font-size: 8px; text-transform: uppercase; }
.route-research-sources { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.route-research-execution p { margin: 8px 0 0; color: #486675; font-size: 9px; line-height: 1.45; }
.investor-risk-average { display: grid; justify-items: center; gap: 3px; min-width: 130px; padding: 12px; background: white; border: 1px solid #c8d8d0; border-radius: 9px; }
.investor-risk-average strong { color: var(--green-dark); font: 600 30px/1 Georgia, serif; }
.investor-risk-average span { font-size: 11px; font-weight: 850; }
.investor-risk-average small { color: var(--muted); font-size: 9px; }
.investor-risk-counts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.investor-risk-counts > div { display: grid; gap: 3px; padding: 9px; background: white; border-top: 4px solid #76a58f; border-radius: 7px; text-align: center; }
.investor-risk-counts .risk-moderate { border-top-color: #c58b13; }
.investor-risk-counts .risk-high { border-top-color: #d06b2d; }
.investor-risk-counts .risk-critical, .investor-risk-counts .risk-excluded { border-top-color: #b74a43; }
.investor-risk-counts strong { color: var(--green-dark); font-size: 17px; }
.investor-risk-counts span { color: var(--muted); font-size: 9px; font-weight: 800; }

.opportunity-activation-workspace { display: grid; gap: 13px; margin: 16px 0 22px; padding: 18px; background: #f7f4ff; border: 1px solid #d5ccec; border-radius: 12px; }
.opportunity-activation-title { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 18px; }
.opportunity-activation-title h3 { margin: 3px 0 6px; color: #3e315d; font-size: clamp(22px, 3vw, 29px); }
.opportunity-activation-title p { margin: 0; color: #5b5370; font-size: 12px; line-height: 1.5; }
.opportunity-integrity { display: grid; gap: 3px; min-width: 190px; padding: 12px; background: white; border: 1px solid #bcb0dc; border-left: 5px solid #13825f; border-radius: 9px; }
.opportunity-integrity.mismatch { border-left-color: #b74a43; }
.opportunity-integrity strong { color: #3e315d; font-size: 20px; }
.opportunity-integrity span, .opportunity-integrity small { color: #5b5370; font-size: 10px; }
.opportunity-activation-tools { position: sticky; top: 170px; z-index: 6; display: grid; gap: 10px; padding: 12px; background: rgba(247, 244, 255, .97); border: 1px solid #d5ccec; border-radius: 9px; backdrop-filter: blur(8px); }
.opportunity-activation-tools label { display: grid; grid-template-columns: auto minmax(240px, 1fr); align-items: center; gap: 10px; color: #3e315d; font-size: 12px; }
.opportunity-activation-tools input { min-height: 42px; padding: 9px 11px; border: 1px solid #9f91c4; border-radius: 8px; }
.opportunity-activation-tools > div { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.opportunity-activation-tools button { padding: 7px 10px; color: #49396f; background: white; border: 1px solid #9f91c4; border-radius: 999px; cursor: pointer; font-size: 11px; font-weight: 850; }
.opportunity-activation-tools button.active { color: #241843; background: #e0d7f4; border-width: 2px; }
.opportunity-activation-tools output { margin-left: auto; color: #49396f; font-size: 11px; font-weight: 850; }
.opportunity-activation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opportunity-activation { content-visibility: auto; contain-intrinsic-size: 360px; display: grid; align-content: start; gap: 10px; padding: 15px; background: white; border: 1px solid #d9d1ec; border-left: 6px solid #8c78bd; border-radius: 10px; }
.opportunity-activation.state-ready_to_apply { border-left-color: #13825f; }
.opportunity-activation.state-ready_for_inquiry, .opportunity-activation.state-partner_route { border-left-color: #3d7997; }
.opportunity-activation.state-engine_research { border-left-color: #34789d; background: #f8fcfe; }
.opportunity-activation.state-project_remediation { border-left-color: #b98213; background: #fffaf0; }
.opportunity-activation.state-monitor { border-left-color: #77716f; }
.opportunity-activation.state-ineligible, .opportunity-activation.state-closed { border-left-color: #845d5a; background: #faf7f6; }
.opportunity-activation-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
.opportunity-activation-head h4 { margin: 3px 0; color: #3e315d; font-size: 18px; }
.opportunity-activation-head p { margin: 0; color: #5b5370; font-size: 11px; }
.opportunity-activation-head > div:last-child { display: grid; align-content: start; justify-items: end; gap: 2px; }
.opportunity-activation-head > div:last-child strong { color: #49396f; font-size: 20px; }
.opportunity-activation-head > div:last-child span { color: var(--muted); font-size: 10px; }
.opportunity-activation-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.opportunity-activation-facts span { display: grid; gap: 3px; padding: 8px; color: #4f4861; background: #f6f3fb; border-radius: 7px; font-size: 11px; }
.opportunity-activation-facts b { color: #3e315d; font-size: 9px; text-transform: uppercase; }
.opportunity-next-action { display: grid; gap: 4px; padding: 10px; color: #244e40; background: #eef7f2; border-radius: 8px; font-size: 12px; line-height: 1.45; }
.opportunity-activation details { color: #4f4861; font-size: 11px; }
.opportunity-activation details summary { cursor: pointer; color: #3e315d; font-weight: 850; }
.opportunity-condition-list { display: grid; gap: 6px; margin-top: 8px; }
.opportunity-condition-list p { margin: 0; padding: 7px 9px; border-left: 3px solid #d6cbea; border-radius: 6px; background: #f8f5fc; color: #40384c; line-height: 1.45; }
.opportunity-activation-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 9px; border-top: 1px solid #e0d9ee; }
.opportunity-activation-actions small { color: #5b5370; font-size: 9px; font-weight: 800; text-align: right; }

.document-screening { display: grid; gap: 15px; margin: 20px 0; padding: 20px; background: linear-gradient(145deg, #f3f9f6, #eef6fa); border: 1px solid #a8c8ba; border-left: 7px solid #34789d; border-radius: 12px; }
.document-screening.match_ready { border-left-color: #13825f; }
.document-screening.evidence_foundation_required { border-left-color: #b74a43; }
.document-screening-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.document-screening-head h2 { margin: 3px 0 6px; color: var(--green-dark); }
.document-screening-head p { margin: 0; color: #40584e; line-height: 1.5; }
.document-screening-score { display: grid; justify-items: end; gap: 3px; min-width: 170px; }
.document-screening-score strong { color: var(--green-dark); font: 600 31px/1 Georgia, serif; }
.document-screening-score span { font-size: 11px; font-weight: 850; text-transform: capitalize; }
.document-screening-score small { color: var(--muted); font-size: 10px; }
.document-screening-rule { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px; color: #254f40; background: white; border: 1px solid #bfd4c9; border-radius: 9px; font-size: 12px; line-height: 1.45; }
.evidence-gap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.evidence-gap-card { padding: 15px; background: white; border: 1px solid #d8c3a7; border-left: 5px solid #c58b13; border-radius: 9px; }
.evidence-gap-card > div { display: flex; align-items: center; gap: 9px; }
.evidence-gap-card > div span { display: grid; place-items: center; width: 25px; height: 25px; color: white; background: #9a6900; border-radius: 50%; font-size: 11px; font-weight: 850; }
.evidence-gap-card > div strong { color: #5f4307; }
.evidence-gap-card dl { display: grid; gap: 8px; margin: 12px 0 0; }
.evidence-gap-card dl > div { display: grid; gap: 2px; }
.evidence-gap-card dt { color: #6f5a2c; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.evidence-gap-card dd { margin: 0; color: #4d514f; font-size: 11px; line-height: 1.45; }
.evidence-clear { display: flex; justify-content: space-between; gap: 12px; padding: 13px; color: #07533e; background: #e9f8f0; border: 1px solid #98c8b1; border-radius: 9px; }
.screening-evidence, .screening-contradictions { padding: 12px 14px; background: white; border: 1px solid #c5d5cd; border-radius: 9px; }
.screening-evidence summary, .screening-contradictions summary { cursor: pointer; color: var(--green-dark); font-weight: 850; }
.screening-evidence li, .screening-contradictions li { display: grid; gap: 3px; margin: 9px 0; color: #40584e; font-size: 11px; }
.document-screening-boundary { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.funding-command-route { content-visibility: auto; contain-intrinsic-size: 460px; }

@media (max-width: 1050px) {
  .command-centre-target-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .programme-funding-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .funding-command-summary, .decision-queue-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .investor-risk-summary { grid-template-columns: 1fr auto; }
  .automatic-route-research { grid-template-columns: 1fr 1fr; }
  .automatic-route-research-clock { grid-column: 1 / -1; grid-template-columns: 1fr 1fr auto; }
  .investor-risk-counts { grid-column: 1 / -1; }
  .funding-command-secondary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .funding-command-context, .funding-command-boundary, .funding-command-route-head, .programme-funding-snapshot-head, .capital-action-cockpit-head { align-items: flex-start; flex-direction: column; }
  .state-integrity { max-width: none; width: 100%; }
  .capital-action-row { grid-template-columns: auto minmax(0, 1fr); }
  .capital-action-row > div:last-child { grid-column: 2; justify-items: start; }
  .funding-command-context { position: static; }
  .funding-command-context > div:last-child { min-width: 0; text-align: left; }
  .programme-funding-decisions { grid-template-columns: 1fr; }
  .funding-command-tools { position: static; }
  .funding-command-tools label { grid-template-columns: 1fr; }
  .funding-command-primary-row { align-items: flex-start; flex-direction: column; }
  .funding-command-filters output { margin-left: 0; }
  .funding-command-secondary-grid { grid-template-columns: 1fr; }
  .funding-command-call-grid, .funding-command-facts, .funding-command-evidence > div, .opportunity-activation-grid, .evidence-gap-grid { grid-template-columns: 1fr; }
  .funding-command-score { text-align: left; }
  .funding-command-scores, .document-screening-head { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .document-screening-score { justify-items: start; }
  .document-screening-rule { grid-template-columns: 1fr; }
  .opportunity-activation-title { grid-template-columns: 1fr; }
  .opportunity-activation-tools { position: static; }
  .opportunity-activation-tools label { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .command-centre-target-grid, .programme-funding-metrics, .funding-command-summary, .decision-queue-summary { grid-template-columns: 1fr; }
  .decision-reliability-banner { grid-template-columns: 1fr; }
  .funding-command-route { padding: 14px; }
  .funding-command-actions > * { width: 100%; text-align: center; }
  .investor-risk-summary { grid-template-columns: 1fr; }
  .automatic-route-research, .automatic-route-research-counts, .automatic-route-research-clock { grid-template-columns: 1fr; }
  .automatic-route-research-clock { grid-column: auto; }
  .route-research-execution > div:not(.route-research-sources) { grid-template-columns: 1fr; }
  .investor-risk-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opportunity-activation-facts { grid-template-columns: 1fr; }
}

/* Release 4.10.30 — distinct administrative module views */
.engine-module-nav button.active { color: white; background: var(--green); border-color: var(--green); box-shadow: inset 0 -3px 0 var(--lime); }
.engine-module-nav button[aria-current="page"] { cursor: default; }
.engine-view-panel { scroll-margin-top: 142px; }
.engine-view-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin: 28px 0 8px; padding: 24px 26px; color: white; background: linear-gradient(130deg, #073f31, #0d624d); border: 1px solid #277461; border-radius: 15px; box-shadow: 0 9px 24px rgba(9, 58, 45, .12); }
.engine-view-head h2 { margin: 3px 0 7px; color: white; font-size: clamp(31px, 5vw, 48px); }
.engine-view-head p { max-width: 760px; margin: 0; color: #dcece5; font-size: 14px; line-height: 1.55; }
.engine-view-head > strong { flex: 0 0 auto; padding: 10px 13px; color: #06251d; background: var(--lime); border-radius: 999px; font-size: 13px; }
.engine-view-panel > .console-section:first-of-type { margin-top: 30px; }
.portfolio-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0 8px; }
.portfolio-overview > div { display: grid; gap: 4px; min-height: 92px; padding: 17px; background: white; border: 1px solid #c8d8d0; border-radius: 11px; }
.portfolio-overview strong { color: var(--green-dark); font: 600 28px/1 Georgia, serif; }
.portfolio-overview span { color: var(--muted); font-size: 13px; font-weight: 800; }
[data-engine-view-panel="portfolio"] .portfolio-card { border-top: 5px solid #277461; }
[data-engine-view-panel="portfolio"] .portfolio-actions .match-link-button { color: #06251d; background: var(--lime); border-color: #8aaa4a; }
.funding-command-route.ledger-focus { outline: 4px solid var(--lime); outline-offset: 3px; box-shadow: 0 0 0 8px rgba(181, 232, 105, .22); }

@media (max-width: 760px) {
  .engine-view-head { align-items: flex-start; flex-direction: column; padding: 20px; }
  .portfolio-overview { grid-template-columns: 1fr; }
}
