:root {
  --ink: #142725;
  --green: #11665d;
  --green-dark: #123e3c;
  --soft: #f3f7f5;
  --line: #d9e3df;
  --hot: #d94832;
  --medium: #dd8d16;
}
* { box-sizing: border-box; }
body { background: #f7faf8; color: var(--ink); font: 15px Inter, Arial, sans-serif; margin: 0; }
a { color: var(--green); text-decoration: none; }
.topbar { align-items: center; background: var(--green-dark); color: white; display: flex; justify-content: space-between; padding: 18px max(calc((100% - 1200px) / 2), 28px); }
.brand { color: #aad5ce; font-size: 13px; font-weight: 600; margin: 0 0 3px; text-transform: uppercase; }
h1 { font-size: 22px; margin: 0; }
.topbar nav { display: flex; gap: 22px; }
.topbar a { color: white; }
.container { margin: 28px auto; max-width: 1200px; padding: 0 24px; }
.metrics { display: flex; gap: 16px; margin-bottom: 22px; }
.metrics article { background: white; border: 1px solid var(--line); border-radius: 12px; min-width: 175px; padding: 18px; }
.metrics span { color: #586967; display: block; margin-bottom: 8px; }
.metrics strong { font-size: 34px; }
.metrics .hot strong { color: var(--hot); }
.metrics .medium strong { color: var(--medium); }
.panel { background: white; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 20px; padding: 22px; }
h2, h3 { color: var(--green-dark); margin-top: 0; }
.filters { align-items: end; display: grid; gap: 12px; grid-template-columns: repeat(5, 1fr) auto; }
label { color: #516361; display: grid; font-size: 13px; gap: 6px; }
input { border: 1px solid #c6d5d1; border-radius: 6px; font: inherit; padding: 9px; }
button { background: var(--green); border: 0; border-radius: 7px; color: white; cursor: pointer; font: inherit; padding: 10px 14px; }
button.secondary { background: #e5efed; color: var(--green-dark); }
button.quiet { background: transparent; border: 1px solid #cfdbd7; color: #536562; }
.button-link { background: var(--green); border-radius: 7px; color: white; padding: 10px 14px; }
.button-link.secondary { background: #e5efed; color: var(--green-dark); }
.heading { align-items: center; display: flex; justify-content: space-between; }
table { border-collapse: collapse; width: 100%; }
th { color: #647471; font-size: 12px; text-align: left; text-transform: uppercase; }
td, th { border-bottom: 1px solid #ebf0ee; padding: 13px 8px; }
.badge { background: #edf2f1; border-radius: 20px; display: inline-block; font-weight: bold; padding: 6px 11px; }
.score-chaud { background: #fbe3df; color: var(--hot); }
.score-moyen { background: #fff0d8; color: #a36100; }
.empty { color: #6c7978; text-align: center; }
.back { margin-bottom: 22px; }
.detail-header { align-items: start; display: flex; justify-content: space-between; margin-bottom: 22px; }
.detail-header h2 { font-size: 30px; margin: 16px 0 8px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; max-width: 500px; }
.columns { display: grid; gap: 20px; grid-template-columns: 0.9fr 1.1fr; }
dl { display: grid; gap: 12px; grid-template-columns: 110px 1fr; }
dt { color: #637370; font-weight: 600; }
dd { margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { background: #eaf3f1; border-radius: 14px; color: var(--green-dark); padding: 6px 10px; }
pre { background: var(--soft); border-radius: 7px; font-family: inherit; line-height: 1.45; padding: 13px; white-space: pre-wrap; }
@media (max-width: 900px) { .filters, .columns { display: block; } .filters label, .filters button { margin-bottom: 10px; } .metrics { flex-wrap: wrap; } }
