---
type: "Source File"
title: "<div class=\"detail-page\">"
description: "{% extends \"base.html\" %} {% block title %}{{ entry.company }} Layoff — Cope Score {{ verdict.cope_score if verdict else \"?\" }} | CopeCheck{% endblock %} {% block meta_desc %}A captured source claim reports {{."
resource: "https://layoffs.copecheck.com"
tags: ["copecheck", "layoffs", "source-file", "html"]
timestamp: "2026-08-24T13:34:33Z"
site: "layoffs"
source_path: "copecheck-layoffs/templates/layoff_detail.html"
---

# <div class="detail-page">

Source path: `copecheck-layoffs/templates/layoff_detail.html`  
Index snapshot generated: `2026-11-24T13:27:52Z`  
File modified: `2026-08-24T13:34:33Z`

```html
{% extends "base.html" %}

{% block title %}{{ entry.company }} Layoff — Cope Score {{ verdict.cope_score if verdict else "?" }} | CopeCheck{% endblock %}
{% block meta_desc %}A captured source claim reports {{ entry.laid_off or "an unknown number of" }} affected roles at {{ entry.company }} in {{ entry.date or "an unspecified period" }}. Verification status and source are shown on the page.{% endblock %}
{% block og_title %}{{ entry.company }}: Cope Score {{ verdict.cope_score if verdict else "?" }}/100 | CopeCheck Layoffs{% endblock %}
{% block og_description %}{{ verdict.one_liner if verdict else (entry.reason or "No reason given") }}{% endblock %}

{% block content %}
<div class="detail-page">

  {# Breadcrumb #}
  <nav class="breadcrumb" style="margin-bottom:1.5rem;font-size:.85rem;color:#6b7280;">
    <a href="/" style="color:#2a9d8f;text-decoration:none;">← All Layoffs</a>
  </nav>

  {# Company header #}
  <div class="detail-header">
    <h1 class="detail-company">{{ entry.company }}</h1>
    <div class="detail-meta">
      {% if entry.date %}<span class="meta-chip">{{ entry.date }}</span>{% endif %}
      {% if entry.sector %}<span class="meta-chip">{{ entry.sector }}</span>{% endif %}
      {% if entry.country %}<span class="meta-chip">{{ entry.country }}</span>{% endif %}
      {% if entry.ai_driven %}<span class="meta-chip ai-chip">AI-attributed claim</span>{% endif %}
    </div>
  </div>

  <div class="callout" style="margin:1rem 0 1.5rem;">
    <strong>Source-claim record:</strong> this page may be based on an automated extraction. The figure may describe a plan, an aggregate or overlapping coverage and has not necessarily been independently verified as a completed layoff.
  </div>

  {# Stats row #}
  <div class="detail-stats">
    <div class="stat-box">
      <div class="stat-label">Reported figure</div>
      <div class="stat-value">
        {{ "{:,}".format(entry.laid_off) if entry.laid_off else "?" }}
        {% if entry.pct %}<span class="stat-pct">({{ entry.pct }})</span>{% endif %}
      </div>
    </div>
    {% if verdict %}
    {% set cope_colour = "red" if verdict.cope_score >= 70 else "orange" if verdict.cope_score >= 40 else "green" %}
    <div class="stat-box cope-stat cope-{{ cope_colour }}">
      <div class="stat-label">Cope Score</div>
      <div class="stat-value cope-score-big">{{ verdict.cope_score }}<span class="cope-label">/ 100</span></div>
      <div class="cope-band-label">
        {% if verdict.cope_score >= 85 %}TERMINAL COPIUM
        {% elif verdict.cope_score >= 70 %}HIGH COPE
        {% elif verdict.cope_score >= 50 %}MODERATE COPE
        {% elif verdict.cope_score >= 26 %}PARTIAL AWARENESS
        {% else %}LUCID{% endif %}
      </div>
    </div>
    {% endif %}
  </div>

  {# Cope meter bar #}
  {% if verdict %}
  {% set bar_colour = "#e63946" if verdict.cope_score >= 70 else "#ff8c00" if verdict.cope_score >= 40 else "#44bb44" %}
  <div class="cope-meter-wrap">
    <div class="cope-meter-track">
      <div class="cope-meter-fill" style="width:{{ verdict.cope_score }}%;background:{{ bar_colour }}"></div>
    </div>
    <div class="cope-meter-labels">
      <span>LUCID</span><span>MODERATE COPE</span><span>TERMINAL COPIUM</span>
    </div>
  </div>
  {% endif %}

  {# Official reason #}
  <div class="detail-section">
    <h2 class="section-label">Reported or extracted reason</h2>
    <blockquote class="official-reason">
      {{ entry.reason or "No reason given." }}
    </blockquote>
  </div>

  {# Oracle verdict #}
  {% if verdict and verdict.verdict %}
  <div class="detail-section oracle-section">
    <h2 class="section-label">🔮 Oracle Verdict</h2>
    {% if verdict.one_liner %}
    <p class="one-liner-text">{{ verdict.one_liner }}</p>
    {% endif %}
    <div class="verdict-full-text">{{ verdict.verdict }}</div>
    <div class="oracle-meta">Scored by {{ verdict.model or "Oracle" }} on {{ verdict.scored_at or "" }}</div>
  </div>
  {% else %}
  <div class="detail-section oracle-section unscored">
    <h2 class="section-label">🔮 Oracle Verdict</h2>
    <p style="color:#6b7280;">This layoff has not yet been scored by the Oracle.</p>
  </div>
  {% endif %}

  {# Source link #}
  {% if entry.source_url %}
  <div class="detail-section">
    <h2 class="section-label">Source provenance{% if entry.get('observation_count', 1) > 1 %} — {{ entry.observation_count }} captures consolidated{% endif %}</h2>
    {% for source in entry.get('source_observations', []) %}
    <p><a href="{{ source.url }}" target="_blank" rel="noopener noreferrer" class="source-link">{{ source.url[:80] }}{% if source.url|length > 80 %}…{% endif %}</a><span class="source-label">via {{ source.label }}</span></p>
    {% else %}
    <a href="{{ entry.source_url }}" target="_blank" rel="noopener noreferrer" class="source-link">{{ entry.source_url[:80] }}{% if entry.source_url|length > 80 %}…{% endif %}</a>
    {% endfor %}
  </div>
  {% else %}
  <div class="detail-section">
    <h2 class="section-label">Source</h2>
    <p style="color:var(--accent-orange);">No reproducible source URL was retained for this legacy row. Treat the claim as unverified.</p>
  </div>
  {% endif %}

  {# Back link #}
  <div class="detail-footer">
    <a href="/" class="btn-back">← Back to all layoffs</a>
  </div>

</div>

<style>
.detail-page { max-width: 760px; margin: 0 auto; padding: 2rem 1rem 4rem; }

.detail-header { margin-bottom: 1.5rem; }
.detail-company { font-family: 'Playfair Display', Georgia, serif; font-size: 2.4rem; font-weight: 900; color: #f1faee; margin: 0 0 .75rem; line-height: 1.2; }
.detail-meta { display: flex; flex-wrap: wrap; gap: .5rem; }
.meta-chip { padding: .3rem .75rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; font-size: .78rem; color: #8a8d96; font-family: 'DM Mono', monospace; letter-spacing: .04em; }
.ai-chip { background: rgba(42,157,143,.12); border-color: rgba(42,157,143,.3); color: #2a9d8f; }

.detail-stats { display: flex; gap: 1rem; margin: 1.5rem 0; flex-wrap: wrap; }
.stat-box { flex: 1; min-width: 160px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 1.25rem 1.5rem; }
.stat-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: #6b7280; font-family: 'DM Mono', monospace; margin-bottom: .4rem; }
.stat-value { font-size: 2rem; font-weight: 800; color: #f1faee; line-height: 1.1; }
.stat-pct { font-size: 1rem; font-weight: 600; color: #8a8d96; }
.cope-stat { border-width: 2px; }
.cope-stat.cope-red { border-color: rgba(230,57,70,.5); background: rgba(230,57,70,.07); }
.cope-stat.cope-orange { border-color: rgba(255,140,0,.5); background: rgba(255,140,0,.07); }
.cope-stat.cope-green { border-color: rgba(68,187,68,.5); background: rgba(68,187,68,.07); }
.cope-score-big { font-size: 3.5rem; font-weight: 900; }
.cope-label { font-size: 1.2rem; font-weight: 400; color: #6b7280; }
.cope-band-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-family: 'DM Mono', monospace; margin-top: .3rem; font-weight: 700; }
.cope-red .cope-band-label { color: #e63946; }
.cope-orange .cope-band-label { color: #ff8c00; }
.cope-green .cope-band-label { color: #44bb44; }

.cope-meter-wrap { margin: .5rem 0 2rem; }
.cope-meter-track { height: 10px; background: rgba(255,255,255,.08); border-radius: 6px; overflow: hidden; }
.cope-meter-fill { height: 100%; border-radius: 6px; transition: width .6s ease; }
.cope-meter-labels { display: flex; justify-content: space-between; font-size: .68rem; color: #4b5563; font-family: 'DM Mono', monospace; margin-top: .4rem; text-transform: uppercase; letter-spacing: .06em; }

.detail-section { margin: 2rem 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.06); }
.section-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: #6b7280; font-family: 'DM Mono', monospace; margin: 0 0 .75rem; font-weight: 600; }

.official-reason { margin: 0; padding: 1rem 1.25rem; background: rgba(255,255,255,.03); border-left: 3px solid rgba(255,255,255,.15); border-radius: 0 6px 6px 0; color: #c8ccd4; font-style: italic; line-height: 1.7; font-size: .95rem; }

.oracle-section { background: rgba(42,157,143,.04); border: 1px solid rgba(42,157,143,.15); border-radius: 12px; padding: 1.5rem; margin: 2rem 0; border-top: none; }
.one-liner-text { font-family: 'Playfair Display', Georgia, serif; font-size: 1.15rem; font-weight: 700; color: #f1faee; margin: 0 0 1rem; line-height: 1.5; font-style: italic; }
.verdict-full-text { color: #c8ccd4; line-height: 1.8; font-size: .95rem; }
.oracle-meta { margin-top: 1rem; font-size: .72rem; color: #4b5563; font-family: 'DM Mono', monospace; }

.source-link { color: #2a9d8f; text-decoration: none; font-family: 'DM Mono', monospace; font-size: .85rem; word-break: break-all; }
.source-link:hover { text-decoration: underline; }
.source-label { margin-left: .75rem; font-size: .78rem; color: #6b7280; font-family: 'DM Mono', monospace; }

.detail-footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.06); }
.btn-back { display: inline-block; padding: .65rem 1.25rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; color: #8a8d96; text-decoration: none; font-size: .9rem; transition: all .2s; }
.btn-back:hover { background: rgba(255,255,255,.1); color: #f1faee; border-color: rgba(255,255,255,.2); }
</style>
{% endblock %}
```
