:root {
  --ink: #0A1628;
  --muted: #5A6A85;
  --line: #E5E9F2;
  --paper: #F4F7FD;
  --white: #ffffff;
  --mint: rgba(0, 51, 153, 0.08);
  --green: #003399;
  --green-2: #003399;
  --lime: #FFCC00;
  --amber: #f7c86b;
  --amber-bg: #fff8e8;
  --rose: #c94b48;
  --rose-bg: #fff1ef;
  --blue-bg: #edf4ff;
  --soft: #F4F7FD;
  --shadow: 0 24px 80px rgba(10, 22, 40, .10);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 6%, rgba(0, 51, 153, .06), transparent 28%),
    radial-gradient(circle at 90% 0%, rgba(255, 204, 0, .10), transparent 22%),
    var(--paper);
  font-family: "Manrope", sans-serif;
  min-height: 100vh;
}

button, input, select { font: inherit; }
button { color: inherit; }
button:disabled { opacity: .45; cursor: not-allowed; }

.shell { max-width: 1180px; margin: 0 auto; padding: 0 32px 72px; }
.topbar { height: 86px; display: flex; align-items: center; justify-content: space-between; }
.brand { color: var(--ink); text-decoration: none; font: 700 20px "Manrope", sans-serif; display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--ink); color: var(--lime); }
.beta-badge { margin-left: 5px; padding: 3px 7px; border-radius: 99px; background: var(--lime); color: var(--ink); font: 700 10px "Manrope", sans-serif; text-transform: uppercase; letter-spacing: .08em; vertical-align: middle; }
.privacy-note { color: var(--muted); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.privacy-dot { width: 8px; height: 8px; border-radius: 99px; background: #31a66a; box-shadow: 0 0 0 4px rgba(49, 166, 106, .12); }

.hero { padding: 48px 0 28px; text-align: center; }
.eyebrow { margin: 0 0 10px; color: var(--green-2); font-size: 11px; font-weight: 600; letter-spacing: .15em; }
h1, h2 { font-family: "Manrope", sans-serif; letter-spacing: -.035em; }
.hero h1 { max-width: 700px; margin: 0 auto; font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; }
.hero-copy { max-width: 620px; margin: 16px auto 26px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.evidence-block { max-width: 640px; margin: 0 auto 26px; padding: 18px 22px; text-align: left; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.7); }
.evidence-block p { margin: 0 0 10px; color: var(--ink); font-size: 13px; line-height: 1.55; }
.evidence-block p:first-child { font-weight: 600; }
.evidence-block p:last-child { margin-bottom: 0; color: var(--muted); }

.upload-card { max-width: 850px; margin: 0 auto; padding: 28px; text-align: left; border: 1px solid rgba(10, 22, 40, .12); border-radius: 24px; background: rgba(255,255,255,.88); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.document-choice { margin: 0 0 22px; padding: 0; border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.document-choice legend { grid-column: 1 / -1; margin-bottom: 7px; font-weight: 600; }
.document-choice label { display: flex; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.document-choice label:has(input:checked) { border-color: var(--green-2); background: var(--mint); }
.document-choice input { margin-top: 3px; }
.document-choice strong, .document-choice small { display: block; }
.document-choice small { margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
label > span:first-child { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 600; }
label small { color: var(--muted); font-weight: 400; }
input[type="text"], input[type="email"], select { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--white); outline: none; }
input[type="text"]:focus, input[type="email"]:focus, select:focus { border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(0,51,153,.12); }

.dropzone { min-height: 218px; border: 1.5px dashed #AEB9D6; border-radius: 18px; background: #F7F9FE; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; transition: .2s ease; }
.dropzone:hover, .dropzone.dragging { border-color: var(--green-2); background: var(--mint); }
.dropzone.has-file { border-style: solid; background: var(--mint); }
.dropzone input { position: absolute; opacity: 0; pointer-events: none; }
.upload-icon { width: 44px; height: 44px; margin-bottom: 15px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--lime); font-size: 23px; }
.dropzone strong { font: 600 17px "Manrope", sans-serif; }
.dropzone > span:last-child { margin-top: 7px; color: var(--muted); font-size: 13px; }
.consent-row { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.consent-row p { max-width: 430px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.primary-button, .secondary-button { border: 0; border-radius: 12px; cursor: pointer; font-weight: 600; transition: transform .15s ease, opacity .15s ease; }
.primary-button { padding: 15px 20px; color: var(--white); background: var(--ink); }
.primary-button:hover:not(:disabled) { transform: translateY(-1px); }
.primary-button:disabled { opacity: .35; cursor: not-allowed; }
.secondary-button { padding: 12px 16px; border: 1px solid var(--line); background: var(--white); }
.beta-disclaimer { max-width: 720px; margin: 24px auto 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.form-error { margin: 14px 0 0; color: var(--rose); font-size: 13px; }

.loading-view { max-width: 620px; margin: 130px auto 0; text-align: center; }
.loader-ring { width: 58px; height: 58px; margin: 0 auto 32px; border: 5px solid var(--mint); border-top-color: var(--green); border-radius: 50%; animation: spin 1s linear infinite; }
.loading-view h2 { font-size: 32px; margin: 0 0 12px; }
.loading-view > p:last-child { color: var(--muted); }
.progress-track { height: 7px; margin: 26px auto 18px; overflow: hidden; border-radius: 99px; background: #E5E9F2; }
.progress-track span { display: block; width: 12%; height: 100%; border-radius: inherit; background: var(--green-2); transition: width .65s ease; }
@keyframes spin { to { transform: rotate(360deg); } }

.results { padding-top: 40px; }
.results-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 34px; }
.results-heading h1 { margin: 0; font-size: clamp(34px, 5vw, 54px); }
.results-heading > div > p:last-child { color: var(--muted); margin-bottom: 0; }
.result-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.score-panel { display: grid; grid-template-columns: 220px 1fr; min-height: 210px; margin-bottom: 34px; overflow: hidden; border-radius: 22px; background: var(--ink); color: var(--white); box-shadow: var(--shadow); }
.total-score { padding: 30px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid rgba(255,255,255,.13); }
.total-score > span, .total-score p { color: #A9B4CC; font-size: 13px; }
.total-score strong { margin: 8px 0; font: 700 58px "Manrope", sans-serif; letter-spacing: -.06em; }
.total-score small { font-size: 20px; color: #A9B4CC; }
.total-score p { margin: 0; line-height: 1.4; }
.criterion-scores { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.criterion { padding: 28px; border-right: 1px solid rgba(255,255,255,.1); }
.criterion:last-child { border-right: 0; }
.criterion-head { display: flex; justify-content: space-between; gap: 12px; }
.criterion-head span { color: #A9B4CC; font-size: 13px; }
.criterion-head strong { font: 600 22px "Manrope", sans-serif; }
.score-line { height: 5px; margin-top: 20px; border-radius: 99px; background: rgba(255,255,255,.15); overflow: hidden; }
.score-line span { display: block; height: 100%; background: var(--lime); }
.analysis-warnings { margin: -10px 0 34px; padding: 18px 20px; border: 1px solid #e8c46f; border-radius: 14px; background: var(--amber-bg); color: var(--ink); }
.analysis-warnings strong { display: block; margin-bottom: 7px; }
.analysis-warnings ul { margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.55; }
.call-intelligence { margin: 0 0 24px; padding: 28px 30px; border: 1px solid rgba(10, 22, 40, .14); border-radius: 20px; background: var(--white); box-shadow: var(--shadow); }
.call-intelligence-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.call-intelligence h2 { margin: 0 0 7px; font-size: 28px; }
.call-intelligence-head p:last-child { margin: 0; color: var(--muted); }
.call-source-link { color: var(--ink); text-decoration: none; white-space: nowrap; }
.call-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 22px 0; }
.call-fact { padding: 13px 14px; border-radius: 11px; background: var(--soft); }
.call-fact span, .call-fact strong { display: block; }
.call-fact span { margin-bottom: 4px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.call-fact strong { font-size: 13px; }
.requirement-coverage { margin: 20px 0 4px; }
.requirement-coverage h3 { margin: 0 0 10px; font: 600 18px "Manrope", sans-serif; }
.coverage-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 14px; }
.coverage-heading .eyebrow { margin-bottom: 5px; }
.priority-intro { margin: 8px 0 12px; color: var(--muted); font-size: 13px; }
.priority-intro a { color: var(--green-2); font-weight: 600; }
.funded-projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.funded-project-card { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.funded-project-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.funded-project-head strong { font-size: 14px; }
.funded-project-year { color: var(--muted); font-size: 11px; }
.funded-project-title { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.4; }
.funded-project-snippet { margin: 0; font-size: 12px; line-height: 1.5; }
.funded-project-meta { color: var(--muted); font-size: 11px; }
.funded-project-card a { margin-top: 4px; color: var(--green-2); font-weight: 600; font-size: 12px; text-decoration: none; }
.fit-table { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.fit-row { display: grid; grid-template-columns: 76px minmax(240px, 1fr) minmax(280px, 1.15fr); gap: 16px; align-items: start; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.fit-row:last-child { border-bottom: 0; }
.fit-row.missing { background: #FFF9F8; }
.fit-row.partial { background: #FFFCF4; }
.fit-meaning small, .fit-meaning strong, .fit-feedback > strong { display: block; }
.fit-meaning small { margin-bottom: 3px; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.fit-meaning strong { line-height: 1.4; }
.fit-feedback > strong { margin-bottom: 3px; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.fit-feedback p, .fit-row details p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.fit-row details { margin-top: 6px; }
.fit-row summary { cursor: pointer; color: var(--green-2); font-size: 10px; font-weight: 600; }
.fit-row details p { margin-top: 5px; }
.more-requirements { margin-top: 10px; }
.more-requirements > summary { width: fit-content; cursor: pointer; color: var(--green-2); font-size: 12px; font-weight: 600; }
.more-requirements .fit-table { margin-top: 10px; }
.requirement-status { padding: 4px 8px; border-radius: 99px; background: #E7F6EF; font-size: 10px; font-weight: 700; color: var(--green-2); text-transform: uppercase; letter-spacing: .04em; }
.requirement-status.partial { color: #8A5A00; background: #FFF3D7; }
.requirement-status.missing { color: var(--rose); background: #FCE8E6; }
.call-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
.call-details details { padding: 14px 15px; border: 1px solid var(--line); border-radius: 11px; }
.call-details summary { cursor: pointer; font-weight: 600; }
.call-detail-body { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.55; white-space: pre-line; }
.policy-links { margin: 10px 0 0; padding-left: 18px; }
.policy-links a { color: var(--green-2); }
.diagnosis-summary { margin: 0 0 24px; padding: 28px 30px; border-radius: 20px; background: var(--ink); color: var(--white); display: grid; grid-template-columns: 1fr 1.2fr; gap: 34px; align-items: center; }
.diagnosis-summary h2 { margin: 0 0 8px; font-size: 28px; }
.diagnosis-summary > div > p:last-child { margin: 0; color: #A9B4CC; line-height: 1.55; }
.diagnosis-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.diagnosis-metric { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.16); }
.diagnosis-metric span, .diagnosis-metric strong { display: block; }
.diagnosis-metric span { margin-bottom: 5px; color: #A9B4CC; font-size: 11px; }
.diagnosis-metric strong { font-size: 20px; }
.email-gate { margin-bottom: 34px; padding: 30px; border: 1px solid rgba(10, 22, 40, .14); border-radius: 22px; background: var(--white); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 42px; }
.email-gate h2 { margin: 0 0 10px; font-size: 30px; }
.email-gate > div > p:last-child { margin: 0; color: var(--muted); line-height: 1.6; }
.criterion-gate-scores { display: flex; flex-wrap: wrap; gap: 8px; margin: 15px 0; }
.criterion-gate-score { padding: 7px 10px; border-radius: 9px; background: var(--soft); font-size: 12px; }
.criterion-gate-score strong { margin-left: 5px; color: var(--green-2); }
.email-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.consent-check { margin-top: 13px; display: flex; align-items: flex-start; gap: 9px; color: var(--muted); cursor: pointer; }
.consent-check input { margin-top: 3px; }
.consent-check span { font-size: 11px; line-height: 1.45; }
.consortium-option { margin-top: 10px; padding: 11px 12px; border-radius: 10px; background: var(--blue-bg); color: var(--ink); }
.consortium-option strong { font-weight: 600; }

.results-layout { display: grid; grid-template-columns: 240px 1fr; gap: 44px; }
.summary-panel { position: sticky; top: 24px; align-self: start; }
.summary-stat { margin: 22px 0; }
.summary-stat strong { display: block; font: 700 34px "Manrope", sans-serif; }
.summary-stat span, .small-copy { color: var(--muted); font-size: 13px; line-height: 1.6; }
.summary-panel hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }
.tabs { display: flex; gap: 8px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.tab { padding: 11px 4px; margin-right: 20px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); cursor: pointer; }
.tab.active { color: var(--ink); border-bottom-color: var(--ink); }
.finding { padding: 24px 0; border-bottom: 1px solid var(--line); }
.finding-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.finding-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.finding-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.finding[data-kind="priority"] .finding-tag::before { background: var(--rose); }
.finding[data-kind="strength"] .finding-tag::before { background: #31a66a; }
.finding-location { color: var(--muted); font-size: 12px; }
.finding h3 { margin: 0 0 10px; font: 600 20px "Manrope", sans-serif; }
.finding p { margin: 0; color: var(--muted); line-height: 1.65; }
.recommendation { margin-top: 15px !important; padding-left: 16px; border-left: 3px solid var(--green-2); color: var(--ink) !important; }
.consortium-intelligence { grid-column: 1 / -1; margin-top: 18px; padding-top: 38px; border-top: 1px solid var(--line); }
.consortium-preview { margin: 0 0 34px; padding: 30px; border: 1px solid rgba(10, 22, 40, .14); border-radius: 22px; background: var(--white); box-shadow: var(--shadow); }
.consortium-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; }
.consortium-heading h2 { margin: 0 0 10px; font-size: 30px; }
.consortium-heading p:last-child { max-width: 760px; margin: 0; color: var(--muted); line-height: 1.6; }
.cordis-badge { padding: 8px 11px; border-radius: 999px; background: var(--blue-bg); color: var(--green-2); font-size: 11px; font-weight: 600; white-space: nowrap; }
.consortium-profile { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.consortium-profile.compact { grid-template-columns: repeat(2, 1fr); margin-bottom: 18px; }
.consortium-profile.compact .profile-signal.present { display: none; }
.consortium-open { width: auto; }
#consortium-details { margin-top: 24px; }
.profile-signal { padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.profile-signal span, .profile-signal small { display: block; }
.profile-signal span { margin-bottom: 6px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }
.profile-signal strong { font-size: 15px; }
.profile-signal small { margin-top: 5px; color: var(--muted); line-height: 1.45; }
.profile-signal.gap { border-color: #e8c46f; background: var(--amber-bg); }
.profile-signal.present { border-color: rgba(49,166,106,.35); }
.role-status { display: inline-block; margin-top: 8px; padding: 4px 7px; border-radius: 999px; background: rgba(255,255,255,.7); color: var(--muted); font-size: 10px; font-weight: 600; }
.consortium-search { padding: 22px; border-radius: 16px; background: var(--soft); }
.cordis-search-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 7px; }
.cordis-note { margin: 9px 0 0; color: var(--muted); font-size: 11px; }
.cordis-status { margin: 22px 0 0; padding: 16px 18px; border-radius: 12px; background: var(--blue-bg); color: var(--muted); }
.cordis-results { margin-top: 12px; }
.similar-consortia { margin: 28px 0 10px; }
.similar-consortia h3 { margin: 0 0 5px; font: 600 20px "Manrope", sans-serif; }
.comparison-table-wrap { margin-top: 14px; overflow-x: auto; }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.comparison-table th, .comparison-table td { padding: 11px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison-table th { color: var(--muted); font-weight: 500; }
.comparison-table a { color: var(--green-2); font-weight: 600; text-decoration: none; }
.partner-card { display: grid; grid-template-columns: 58px 1fr auto; gap: 18px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--line); }
.partner-rank { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--lime); font: 600 15px "Manrope", sans-serif; }
.partner-card h3 { margin: 0 0 5px; font: 600 19px "Manrope", sans-serif; }
.partner-meta { color: var(--muted); font-size: 12px; }
.partner-reason { margin: 10px 0 0; color: var(--muted); line-height: 1.55; }
.partner-evidence { margin: 9px 0 0; font-size: 12px; color: var(--ink); }
.evidence-list { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.partner-role { display: inline-block; margin-top: 9px; padding: 5px 8px; border-radius: 7px; background: var(--blue-bg); color: var(--green-2); font-size: 11px; font-weight: 600; }
.partner-links { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.partner-links a { color: var(--green-2); font-size: 12px; font-weight: 600; text-decoration: none; }
.deep-check { margin: 32px 0 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.deep-check h3 { margin: 0 0 8px; font-size: 20px; }
.deep-check-copy { margin: 0 0 16px; max-width: 640px; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.deep-check-status { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.deep-check-result { margin-top: 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.deep-check-result h4 { margin: 0 0 8px; font-size: 15px; }
.deep-check-result p { margin: 0 0 12px; color: var(--ink); font-size: 13.5px; line-height: 1.55; }
.deep-check-result ul { margin: 0 0 12px; padding-left: 18px; }
.deep-check-result li { margin-bottom: 8px; color: var(--ink); font-size: 13px; line-height: 1.5; }
.deep-check-result .dc-policy-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.deep-check-result .dc-policy-list li { margin: 0; padding: 5px 10px; border-radius: 999px; background: var(--mint); color: var(--green-2); font-size: 11px; font-weight: 700; }
.deep-check-result .dc-note { margin: 10px 0 0; color: var(--muted); font-size: 11.5px; font-style: italic; }
.eic-check-result .eic-report-actions { display: flex; justify-content: flex-end; margin: 0 0 14px; }
.eic-check-result h4 { margin: 22px 0 8px; }
.eic-check-result h4:first-of-type { margin-top: 0; }
.eic-verdict-headline { font-size: 14px; }
.eic-table-wrap { overflow-x: auto; margin: 0 0 12px; }
.eic-matrix { width: 100%; border-collapse: collapse; font-size: 12px; }
.eic-matrix th, .eic-matrix td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.eic-matrix th { color: var(--muted); font-weight: 600; white-space: nowrap; }
.eic-priority { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; }
.eic-priority-p0 { background: #FCE8E6; color: var(--rose); }
.eic-priority-p1 { background: #FFF3D7; color: #8A5A00; }
.eic-priority-p2 { background: var(--mint); color: var(--green-2); }
.eic-evaluators { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 12px; }
.eic-evaluator-card { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.eic-evaluator-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px; }
.eic-evaluator-head strong { font-size: 13px; }
.eic-decision { padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.eic-decision-go { background: var(--mint); color: var(--green-2); }
.eic-decision-nogo { background: #FCE8E6; color: var(--rose); }
.eic-group-label { margin: 10px 0 4px; color: var(--ink); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.human-support { margin: 48px 0 0; padding-top: 38px; border-top: 1px solid var(--line); }
.human-support-head { max-width: 720px; }
.human-support-head h2 { margin: 0 0 10px; font-size: 30px; }
.human-support-head > p:last-child { margin: 0; color: var(--muted); line-height: 1.6; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.service-card { padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); text-align: left; cursor: pointer; transition: .15s ease; }
.service-card:hover, .service-card.selected { border-color: var(--green-2); background: var(--mint); transform: translateY(-1px); }
.service-card span, .service-card strong, .service-card small { display: block; }
.service-card span { margin-bottom: 18px; color: var(--green-2); font-size: 11px; font-weight: 600; }
.service-card strong { font: 600 18px "Manrope", sans-serif; }
.service-card small { margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.recommended-service { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 18px; width: 100%; margin-top: 22px; padding: 22px 24px; }
.recommended-service span { margin: 0; }
.recommended-service strong, .recommended-service small { margin: 0; }
.recommended-service em { color: var(--green-2); font-size: 12px; font-style: normal; font-weight: 700; white-space: nowrap; }
.support-request { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; align-items: end; margin-top: 18px; padding: 20px; border-radius: 15px; background: var(--soft); }
.support-request h3 { margin: 0; font: 600 19px "Manrope", sans-serif; }
.support-request .eyebrow { margin-bottom: 4px; font-size: 9px; }
.support-request > p { grid-column: 1 / -1; margin: 0; color: var(--green-2); }
.feedback-bar { margin: 44px 0 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.feedback-bar strong, .feedback-bar span { display: block; }
.feedback-bar span { margin-top: 4px; color: var(--muted); font-size: 13px; }
.feedback-link { color: var(--ink); text-decoration: none; white-space: nowrap; }

@media (max-width: 780px) {
  .shell { padding: 0 18px 54px; }
  .hero { padding-top: 42px; }
  .document-choice, .form-row, .score-panel, .results-layout, .email-gate, .diagnosis-summary, .call-facts, .call-details, .service-grid, .support-request { grid-template-columns: 1fr; }
  .consent-row, .results-heading, .feedback-bar { align-items: stretch; flex-direction: column; }
  .primary-button { width: 100%; }
  .email-row { grid-template-columns: 1fr; }
  .score-panel { overflow: visible; }
  .total-score { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .criterion-scores { grid-template-columns: 1fr; }
  .criterion { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .summary-panel { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .summary-panel .eyebrow, .summary-panel hr, .summary-panel .small-copy { grid-column: 1 / -1; }
  .consortium-heading { flex-direction: column; gap: 12px; }
  .call-intelligence-head { flex-direction: column; }
  .coverage-heading { align-items: flex-start; flex-direction: column; }
  .fit-row { grid-template-columns: 1fr; gap: 8px; }
  .fit-row .requirement-status { width: fit-content; }
  .consortium-profile { grid-template-columns: 1fr; }
  .consortium-profile.compact { grid-template-columns: 1fr; }
  .cordis-search-row { grid-template-columns: 1fr; }
  .partner-card { grid-template-columns: 48px 1fr; }
  .partner-rank { width: 44px; height: 44px; }
  .partner-links { grid-column: 2; align-items: flex-start; }
  .recommended-service { grid-template-columns: 1fr; }
  .eic-evaluators { grid-template-columns: 1fr; }
}

@media print {
  body { background: #fff; }
  .topbar, .result-actions, .feedback-bar, .tabs, .email-gate, .consortium-open { display: none !important; }
  .shell { max-width: none; padding: 0; }
  .results { padding: 0; }
  .score-panel { box-shadow: none; break-inside: avoid; }
  .results-layout { grid-template-columns: 190px 1fr; gap: 28px; }
  .summary-panel { position: static; }
  .finding { break-inside: avoid; }
  .consortium-search { display: none; }
  .partner-card { break-inside: avoid; }
  .eic-report-actions { display: none !important; }
  .eic-evaluator-card, .eic-matrix tr { break-inside: avoid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
