body[data-surface="observatory"] {
  background: #0c1230;
  color: #f2f5fc;
}
body[data-surface="observatory"] h1 {
  max-width: 940px;
}
body[data-surface="observatory"] .lead,
body[data-surface="observatory"] .small,
body[data-surface="observatory"] .instance,
body[data-surface="observatory"] footer {
  color: #b8c5db;
}
body[data-surface="observatory"] a,
body[data-surface="observatory"] .scope {
  color: #83ded4;
}
body[data-surface="observatory"] .btn {
  background: #83ded4;
  color: #0c1230;
}
body[data-surface="observatory"] .btn:hover {
  background: #a4eee5;
}
body[data-surface="observatory"] .link-btn {
  color: #83ded4;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
.observation-intro {
  background: radial-gradient(ellipse at 90% 10%, #14756e30, transparent 60%);
}
.observation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 48px;
}
.observation-card {
  min-width: 0;
  border: 1px solid #43516d;
  background: #141e3b;
  padding: 24px;
}
.observation-card h2 {
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0;
  color: #d1dced;
}
.observation-value {
  display: block;
  font-family: Space, system-ui;
  font-size: 48px;
  line-height: 1.25;
  color: #83ded4;
  margin: 16px 0;
}
.observation-value.text {
  font-size: 25px;
}
.observation-card p {
  font-size: 12px;
  color: #b8c5db;
  margin: 0;
}
.observation-panel {
  padding: 38px 0;
  border-top: 1px solid #43516d;
}
.observation-panel > p {
  max-width: 870px;
  color: #c0cce0;
}
.observation-notice {
  border-left: 3px solid #83ded4;
  padding: 16px 20px;
  background: #172444;
  margin: 0 0 38px;
  color: #d1dced;
}
.observation-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.observation-columns article {
  min-width: 0;
  background: #141e3b;
  border: 1px solid #43516d;
  padding: 26px;
}
.observation-columns h3 {
  font-size: 22px;
  margin-bottom: 16px;
}
.observation-columns p,
.observation-columns li {
  font-size: 14px;
  color: #c0cce0;
}
.observation-columns ul {
  padding-left: 20px;
}
.observation-columns strong {
  color: #f2f5fc;
}
.observation-badge {
  display: inline-block;
  font-size: 11px;
  color: #83ded4;
  border: 1px solid #43847f;
  padding: 4px 9px;
  margin-bottom: 15px;
}
.observation-evidence {
  padding: 16px 0;
}
.observation-evidence summary {
  font-family: Space, system-ui;
  font-size: 18px;
}
.observation-evidence dl {
  font-size: 13px;
  color: #c0cce0;
}
.observation-evidence dd {
  margin: 5px 0 20px;
  overflow-wrap: anywhere;
}
.observation-method {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 24px 0;
}
.observation-method td,
.observation-method th {
  padding: 16px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #43516d;
}
.observation-method td {
  color: #c0cce0;
}
.observation-table {
  overflow-x: auto;
}
body[data-surface="observatory"] footer {
  border-color: #43516d;
  margin-top: 35px;
}
@media (max-width: 850px) {
  .observation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .observation-columns {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 540px) {
  .observation-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .observation-card {
    padding: 20px;
    min-height: 0;
  }
  .observation-value {
    font-size: 40px;
  }
  .observation-columns article {
    padding: 20px;
  }
  .observation-panel {
    padding: 30px 0;
  }
  /* Correction du 11 octobre 2026 (Claude, à la demande de Rochdi) : sur
     mobile, le tableau défilait à l'horizontale et coupait la fin des lignes
     et la colonne « État » sans indice. Chaque ligne devient un bloc empilé. */
  .observation-table {
    overflow-x: visible;
  }
  .observation-method,
  .observation-method tbody,
  .observation-method tr,
  .observation-method th,
  .observation-method td {
    display: block;
    width: auto;
    min-width: 0;
  }
  .observation-method thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .observation-method tr {
    padding: 14px 0;
    border-bottom: 1px solid #43516d;
  }
  .observation-method th,
  .observation-method td {
    padding: 4px 0;
    border: 0;
  }
  .observation-method td:last-child {
    font-size: 12px;
    color: #8fd9cf;
  }
  html[lang="fr"] .observation-method td:last-child::before {
    content: "État : ";
  }
  html[lang="en"] .observation-method td:last-child::before {
    content: "Status: ";
  }
}
