.article-wrap {
    max-width: 740px;
    margin: 0 auto;
    padding: 0 0 48px;
}

.article-header {
    padding: 40px 0 32px;
    border-bottom: 1px solid var(--border-2);
    margin-bottom: 40px;
}

.article-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
}

.article-category {
    background: #ede9fe;
    color: #6d28d9;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 999px;
}

.article-read {
    color: var(--text-5);
    font-size: 0.85rem;
}

.article-header h1 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1.2;
    color: var(--text);
    margin: 0 0 20px;
}

.article-intro {
    font-size: 1.1rem;
    color: var(--text-3);
    line-height: 1.8;
    margin: 0;
    border-left: 3px solid #4f46e5;
    padding-left: 20px;
}

.article-toc {
    background: var(--surface-2);
    border: 1px solid var(--border-2);
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 40px;
}

.article-toc p {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-5);
    margin: 0 0 12px;
}

.article-toc ol {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 6px;
}

.article-toc ol li a {
    color: var(--text-2);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.5;
}

.article-toc ol li a:hover {
    color: #4f46e5;
}

.article-body section {
    margin-bottom: 48px;
}

.article-body h2 {
    font-size: 1.5rem;
    color: var(--text);
    margin: 0 0 16px;
    padding-top: 8px;
}

.article-body p {
    color: var(--text-2);
    line-height: 1.8;
    margin: 0 0 16px;
    font-size: 0.98rem;
}

.article-card {
    border-radius: 16px;
    padding: 24px 28px;
    margin: 24px 0;
}

.article-card h3 {
    font-size: 1rem;
    margin: 0 0 14px;
}

.article-card ul {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 8px;
}

.article-card ul li {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-2);
}

.article-card-amber {
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.article-card-amber h3 { color: #92400e; }

.article-card-red {
    background: #fff1f1;
    border: 1px solid #fecaca;
}

.article-card-red h3 { color: #991b1b; }

.article-highlight {
    border-left: 3px solid #4f46e5;
    padding: 20px 24px;
    background: #f5f3ff;
    border-radius: 0 12px 12px 0;
    margin: 24px 0;
}

.article-highlight blockquote {
    margin: 0 0 8px;
    font-size: 1.05rem;
    color: var(--text);
    font-style: italic;
    line-height: 1.7;
}

.article-highlight cite {
    font-size: 0.85rem;
    color: var(--text-4);
    font-style: normal;
}

.burnout-dimensions {
    display: grid;
    gap: 16px;
    margin-top: 16px;
}

.dimension {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.dimension-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #dc2626;
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.dimension strong {
    display: block;
    color: var(--text);
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.dimension p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-4);
    line-height: 1.6;
}

/* Continuum visuel */
.continuum-visual {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 24px 0;
    overflow-x: auto;
    padding: 4px 0;
}

.continuum-stage {
    flex: 1;
    min-width: 120px;
    border-radius: 14px;
    padding: 16px 14px;
    text-align: center;
}

.continuum-stage strong {
    display: block;
    font-size: 0.9rem;
    margin: 6px 0 6px;
}

.continuum-stage p {
    font-size: 0.78rem;
    color: var(--text-4);
    margin: 0;
    line-height: 1.5;
}

.stage-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-5);
    margin-bottom: 4px;
}

.stage-green { background: #f0fdf4; border: 1px solid #bbf7d0; }
.stage-green strong { color: #15803d; }
.stage-amber { background: #fffbeb; border: 1px solid #fde68a; }
.stage-amber strong { color: #b45309; }
.stage-orange { background: #fff7ed; border: 1px solid #fed7aa; }
.stage-orange strong { color: #c2410c; }
.stage-red { background: #fff1f1; border: 1px solid #fecaca; }
.stage-red strong { color: #dc2626; }

.continuum-arrow {
    color: var(--text-5);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Signals grid */
.signals-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0;
}

.signal-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--surface-4);
    border: 1px solid var(--border-2);
    border-radius: 14px;
    padding: 16px;
}

.signal-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.signal-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 4px;
}

.signal-item p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-4);
    line-height: 1.5;
}

/* Actions */
.action-grid {
    display: grid;
    gap: 20px;
    margin: 24px 0;
}

.action-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.action-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.action-item strong {
    display: block;
    color: var(--text);
    margin-bottom: 4px;
}

.action-item p {
    margin: 0;
    font-size: 0.9rem;
}

/* Warning */
.article-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 14px;
    padding: 20px;
    font-size: 0.88rem;
    color: #92400e;
    line-height: 1.65;
    margin-top: 24px;
}

.article-warning strong {
    display: block;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

/* CTA */
.article-cta {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    margin-top: 48px;
    display: grid;
    gap: 14px;
    justify-items: center;
}

.article-cta h2 { color: white; margin: 0; font-size: 1.6rem; }
.article-cta p { color: rgba(255,255,255,0.85); margin: 0; max-width: 420px; }
.article-cta .btn { margin-top: 4px; background: white; color: #4f46e5; }
.article-cta .btn:hover { background: #f5f3ff; }

/* ── Data deletion block ─────────────────── */
.delete-data-block {
    margin-top: 20px;
    padding: 20px 24px;
    background: #fff1f1;
    border: 1px solid #fecaca;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.delete-data-note {
    margin: 0;
    font-size: 0.9rem;
    color: #991b1b;
}

/* ── Dark mode overrides ─────────────────── */
[data-theme="dark"] .delete-data-block {
    background: #3b0d0d;
    border-color: #7f1d1d;
}
[data-theme="dark"] .delete-data-note { color: #fca5a5; }
[data-theme="dark"] .article-highlight {
    background: #1e1b4b;
}

[data-theme="dark"] .article-card-amber {
    background: #451a03;
    border-color: #92400e;
}

[data-theme="dark"] .article-card-red {
    background: #3b0d0d;
    border-color: #7f1d1d;
}

[data-theme="dark"] .article-warning {
    background: #451a03;
    border-color: #92400e;
    color: #fcd34d;
}

[data-theme="dark"] .stage-green { background: #052e16; border-color: #166534; }
[data-theme="dark"] .stage-amber { background: #451a03; border-color: #92400e; }
[data-theme="dark"] .stage-orange { background: #431407; border-color: #9a3412; }
[data-theme="dark"] .stage-red { background: #3b0d0d; border-color: #7f1d1d; }

[data-theme="dark"] .article-category {
    background: #312e81;
    color: #a5b4fc;
}

@media (max-width: 640px) {
    .signals-grid { grid-template-columns: 1fr; }
    .continuum-visual { flex-direction: column; align-items: stretch; }
    .continuum-arrow { transform: rotate(90deg); text-align: center; }
    .article-cta { padding: 28px 20px; }
    .article-cta h2 { font-size: 1.3rem; }
}
