---
type: "Source File"
title: "<script type=\"application/ld+json\">"
description: "{% extends \"base.html\" %} {% block title %}{{ country.name }} AI Cope Score — EU CopeCheck{% endblock %} {% block meta_description %}{{ country.name }} EU cope score: {{ \"%.0f\"|format(country.overall_score or 0)."
resource: "https://eu.copecheck.com"
tags: ["copecheck", "eu", "source-file", "html"]
timestamp: "2026-05-08T08:06:56Z"
site: "eu"
source_path: "copecheck-eu/templates/country.html"
---

# <script type="application/ld+json">

Source path: `copecheck-eu/templates/country.html`  
Index snapshot generated: `2026-11-24T13:27:52Z`  
File modified: `2026-05-08T08:06:56Z`

```html
{% extends "base.html" %}
{% block title %}{{ country.name }} AI Cope Score — EU CopeCheck{% endblock %}
{% block meta_description %}{{ country.name }} EU cope score: {{ "%.0f"|format(country.overall_score or 0) }}/100. {{ country.description or '' }}{% endblock %}
{% block canonical %}https://eu.copecheck.com/country/{{ country_slug }}{% endblock %}
{% block og_title %}{{ country.name }} — Cope {{ "%.0f"|format(country.overall_score or 0) }}{% endblock %}
{% block og_url %}https://eu.copecheck.com/country/{{ country_slug }}{% endblock %}
{% block structured_data %}
<script type="application/ld+json">
{"@context":"https://schema.org","@type":"Article","headline":"{{ country.name }} — EU AI Cope Score","url":"https://eu.copecheck.com/country/{{ country_slug }}","publisher":{"@type":"Organization","name":"CopeCheck"}}
</script>
{% endblock %}
{% block head %}
<script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.0/dist/chart.umd.min.js"></script>
{% endblock %}
{% block content %}
<div class="figure-page">
  <p class="crumbs"><a href="/">Leaderboard</a> / {{ country.name }}</p>

  <div class="figure-header">
    <div class="figure-mugshot">
      <div class="figure-placeholder flag-placeholder" style="font-size:3rem;">{{ country.flag or '🏳' }}</div>
    </div>
    <div class="figure-info">
      <h1>{{ country.flag or '' }} {{ country.name }}</h1>
      <div class="figure-title">{{ country.leader_name or 'Unknown' }} · {{ country.leader_title or 'Leader' }}</div>
      <div class="figure-category">{{ country.economy_type or 'Mixed' }} Economy · EU since {{ country.eu_join_year or '?' }} · Pop. {{ country.population_m or '?' }}M</div>
      {% if country.description %}
      <div class="figure-bias">{{ country.description }}</div>
      <button class="copy-btn" onclick="copyText(this, this.previousElementSibling)" style="margin-top:6px;"><svg viewBox="0 0 24 24"><rect x="9" y="9" width="13" height="13" rx="2"/><path d="M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1"/></svg> Copy</button>
      {% endif %}
    </div>
    <div class="figure-score-card {{ country.overall_score | copecolor }}">
      <div class="big-score">{{ "%.0f"|format(country.overall_score or 0) }}</div>
      <div class="score-label">{{ country.overall_score | copelabel }}</div>
    </div>
  </div>

  <!-- Score Breakdown -->
  <section class="score-breakdown">
    <h2 class="section-label">Score Breakdown</h2>
    <div class="breakdown-grid">
      <div class="breakdown-card {{ country.preparedness_score | copecolor }}">
        <div class="breakdown-score">{{ "%.0f"|format(country.preparedness_score or 0) }}</div>
        <div class="breakdown-label">Preparedness</div>
        <div class="breakdown-desc">Policy readiness for AI displacement</div>
      </div>
      <div class="breakdown-card {{ country.leader_cope_score | copecolor }}">
        <div class="breakdown-score">{{ "%.0f"|format(country.leader_cope_score or 0) }}</div>
        <div class="breakdown-label">Leader Cope</div>
        <div class="breakdown-desc">Rhetoric vs reality gap</div>
      </div>
      <div class="breakdown-card {{ country.exposure_score | copecolor }}">
        <div class="breakdown-score">{{ "%.0f"|format(country.exposure_score or 0) }}</div>
        <div class="breakdown-label">Exposure</div>
        <div class="breakdown-desc">Economic vulnerability to automation</div>
      </div>
      <div class="breakdown-card {{ country.demographic_score | copecolor }}">
        <div class="breakdown-score">{{ "%.0f"|format(country.demographic_score or 0) }}</div>
        <div class="breakdown-label">Demographic Doom</div>
        <div class="breakdown-desc">Aging, youth exodus, hidden unemployment</div>
      </div>
      <div class="breakdown-card screwed-card {{ country.screwed_score | screwedcolor }}">
        <div class="breakdown-score">☠️ {{ "%.0f"|format(country.screwed_score or 0) }}</div>
        <div class="breakdown-label">Screwed Score</div>
        <div class="breakdown-desc">{{ country.screwed_score | screwedlabel }}</div>
        {% if country.screwed_rationale %}
        <div class="screwed-why">{{ country.screwed_rationale }}</div>
        {% endif %}
      </div>
    </div>
  </section>

  <!-- Demographic Analysis -->
  {% if country.demographic_analysis %}
  <section class="policy-section">
    <div style="display:flex;align-items:center;justify-content:space-between;">
      <h2 class="section-label" style="margin:0;">Demographic Reality</h2>
      <button class="copy-btn" onclick="copyText(this, this.closest('.policy-section').querySelector('.verdict-body'))"><svg viewBox="0 0 24 24"><rect x="9" y="9" width="13" height="13" rx="2"/><path d="M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1"/></svg> Copy</button>
    </div>
    <div class="verdict-body">
      {{ country.demographic_analysis | render_md | safe }}
    </div>
  </section>
  {% endif %}

  <!-- Policy Summary -->
  {% if country.policy_summary %}
  <section class="policy-section">
    <div style="display:flex;align-items:center;justify-content:space-between;">
      <h2 class="section-label" style="margin:0;">Policy Assessment</h2>
      <button class="copy-btn" onclick="copyText(this, this.closest('.policy-section').querySelector('.verdict-body'))"><svg viewBox="0 0 24 24"><rect x="9" y="9" width="13" height="13" rx="2"/><path d="M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1"/></svg> Copy</button>
    </div>
    <div class="verdict-body">
      {{ country.policy_summary | render_md | safe }}
    </div>
  </section>
  {% endif %}

  <!-- Leader Quotes -->
  {% set quotes = country.leader_quotes | parse_quotes %}
  {% if quotes %}
  <section class="quotes-section">
    <h2 class="section-label">Notable Cope Quotes</h2>
    <div class="figure-history">
      {% for quote in quotes %}
      <div class="cope-entry {{ country.leader_cope_score | copecolor }}">
        <div class="cope-entry-quote">&ldquo;{{ quote }}&rdquo;</div>
        <div class="cope-entry-source">— {{ country.leader_name or country.name }}</div>
      </div>
      {% endfor %}
    </div>
  </section>
  {% endif %}

  <!-- Key Sectors -->
  {% if country.key_sectors %}
  <section class="country-sectors">
    <h2 class="section-label">Key Sectors</h2>
    <div class="sectors-list">
      {% for sector in country.key_sectors.split(',') %}
      <span class="sector-tag">{{ sector.strip() }}</span>
      {% endfor %}
    </div>
  </section>
  {% endif %}


  <!-- Live Economic Data (Eurostat) -->
  {% if econ_data %}
  <section class="econ-section">
    <h2 class="section-label">📊 Live Economic Data <span style="font-size:.7rem;color:#666;font-weight:400;">(Eurostat · Updated {{ last_fetch or 'recently' }})</span></h2>
    <div class="econ-grid">
      {% for e in econ_data %}
      <div class="econ-card {% if 'unemployment' in e.indicator and e.value > 8 %}econ-danger{% elif 'unemployment' in e.indicator and e.value > 5 %}econ-warning{% elif 'dependency' in e.indicator and e.value > 35 %}econ-danger{% elif 'growth' in e.indicator and e.value < 0 %}econ-danger{% elif 'growth' in e.indicator and e.value < 1 %}econ-warning{% else %}econ-ok{% endif %}">
        <div class="econ-value">
          {% if 'per_capita' in e.indicator %}€{{ "%.0f"|format(e.value or 0) }}
          {% elif 'meur' in e.indicator %}
            {% if e.value >= 1000000 %}€{{ "%.1f"|format((e.value or 0) / 1000000) }}T
            {% else %}€{{ "%.0f"|format(e.value or 0) }}M{% endif %}
          {% elif 'pct' in e.indicator or 'rate' in e.indicator or 'ratio' in e.indicator %}{{ "%.1f"|format(e.value or 0) }}%
          {% else %}{{ "%.1f"|format(e.value or 0) }}{% endif %}
        </div>
        <div class="econ-label">{{ e.indicator.replace('_', ' ').title() }}</div>
        <div class="econ-period">{{ e.period }}</div>
        <canvas id="chart-{{ e.indicator }}" class="econ-chart" width="200" height="50"></canvas>
      </div>
      {% endfor %}
    </div>
  </section>
  {% endif %}

  <!-- Eurostat Data -->
  {% if stats %}
  <section class="stats-section">
    <h2 class="section-label">Eurostat Data</h2>
    <div class="breakdown-grid">
      {% for s in stats %}
      <div class="breakdown-card cope-moderate" style="text-align:center;">
        <div class="breakdown-score" style="font-size:1.2rem;">{{ "%.1f"|format(s.value or 0) }}</div>
        <div class="breakdown-label">{{ s.indicator }}</div>
        <div class="breakdown-desc">{{ s.dataset }} · {{ s.period }}</div>
      </div>
      {% endfor %}
    </div>
  </section>
  {% endif %}

  <div class="verdict-foot">
    <p class="stamp">Scored {{ country.scored_at or 'Recently' }} &middot; {{ country.ai_model or 'Oracle' }} &middot; EU CopeCheck</p>
  </div>
</div>

<style>
.econ-section{margin:2rem 0;}
.econ-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;}
.econ-card{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:10px;padding:16px;text-align:center;position:relative;overflow:hidden;}
.econ-card.econ-danger{border-color:rgba(231,111,81,.3);background:rgba(231,111,81,.06);}
.econ-card.econ-warning{border-color:rgba(233,196,106,.3);background:rgba(233,196,106,.06);}
.econ-card.econ-ok{border-color:rgba(42,157,143,.2);background:rgba(42,157,143,.04);}
.econ-value{font-size:1.6rem;font-weight:700;font-family:'DM Mono',monospace;color:#e0e0e0;margin-bottom:4px;}
.econ-danger .econ-value{color:#e76f51;}
.econ-warning .econ-value{color:#e9c46a;}
.econ-ok .econ-value{color:#2a9d8f;}
.econ-label{font-size:.75rem;color:#8a8d96;font-family:'DM Mono',monospace;text-transform:uppercase;letter-spacing:.5px;}
.econ-period{font-size:.7rem;color:#555;margin-top:2px;font-family:'DM Mono',monospace;}
.econ-chart{margin-top:8px;width:100%!important;height:40px!important;}
</style>

<script>
document.addEventListener('DOMContentLoaded', function() {
  if (typeof Chart === 'undefined') return;
  const countryCode = '{{ country.code }}';
  const indicators = [{% for e in econ_data %}'{{ e.indicator }}',{% endfor %}];

  indicators.forEach(function(ind) {
    const canvas = document.getElementById('chart-' + ind);
    if (!canvas) return;
    fetch('/api/chart-data/' + countryCode + '/' + ind)
      .then(r => r.json())
      .then(data => {
        if (!data.labels || data.labels.length < 2) return;
        const vals = data.values;
        const isRising = vals[vals.length-1] > vals[0];
        const isBadIfRising = ind.includes('unemployment') || ind.includes('dependency') || ind.includes('inflation');
        const color = (isBadIfRising && isRising) || (!isBadIfRising && !isRising) ? '#e76f51' : '#2a9d8f';

        new Chart(canvas, {
          type: 'line',
          data: {
            labels: data.labels,
            datasets: [{
              data: vals,
              borderColor: color,
              backgroundColor: color + '20',
              fill: true,
              tension: 0.3,
              pointRadius: 0,
              borderWidth: 1.5
            }]
          },
          options: {
            responsive: true,
            maintainAspectRatio: false,
            plugins: {legend:{display:false}, tooltip:{enabled:true,mode:'index',intersect:false}},
            scales: {x:{display:false},y:{display:false}},
            interaction:{mode:'nearest',axis:'x',intersect:false}
          }
        });
      })
      .catch(() => {});
  });
});
</script>

{% endblock %}
```
