.n-crest-details {
  background: var(--bg-surface, rgba(255,255,255,0.03));
  border: 1px solid var(--border, rgba(255,255,255,0.07));
  border-radius: 12px;
  overflow: hidden;
}

.theme-light .n-crest-details { background: #f8fafc; border-color: #e2e8f0; }

.n-crest-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted, #64748b);
  list-style: none;
  user-select: none;
  transition: color 0.15s;
}

.n-crest-summary::-webkit-details-marker { display: none; }
.n-crest-summary:hover { color: var(--text-primary, #e2e8f0); }
.theme-light .n-crest-summary:hover { color: #1e293b; }

.n-crest-summary-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.n-crest-note {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted, #475569);
}

.n-crest-body {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--border, rgba(255,255,255,0.07));
}

.theme-light .n-crest-body { border-top-color: #e2e8f0; }

.n-crest-disclaimer {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  color: var(--text-muted, #64748b);
  line-height: 1.55;
}

.n-crest-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
}

.n-crest-card {
  background: var(--bg-surface, rgba(255,255,255,0.04));
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-radius: 10px;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.theme-light .n-crest-card { background: #fff; border-color: #e2e8f0; }

.n-crest-card-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--text-muted, #64748b);
}

.n-crest-card .value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary, #f1f5f9);
  letter-spacing: -0.02em;
}

.theme-light .n-crest-card .value { color: #1e293b; }

.n-crest-card-unit {
  font-size: 0.7rem;
  color: var(--text-muted, #64748b);
}

/* Former .n-about-* ruleset (inline "About this dashboard" <details>)
   removed 2026-04-17 when its HTML moved into the Sensor Network mini
   map's instrument tabs + footer credit. */

/* ── ALERT BANNER ───────────────────────────────────────────── */
