/* Connector health center. Uses the shared Numen token vocabulary only. */
.numen-health { max-width: var(--app-max); margin: 0 auto; padding: 42px 40px 96px; }
.nh-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 26px; }
.nh-heading h2 { margin: 2px 0 7px; font-family: 'Newsreader', serif; font-size: clamp(30px, 4vw, 42px); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; }
.nh-heading > div > p:last-child { margin: 0; max-width: 54ch; color: var(--text-3); font-size: 14px; }
.nh-eyebrow { margin: 0; color: var(--accent-deep); font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.nh-body { min-height: 140px; }
.nh-loading, .nh-empty { padding: 34px; background: var(--cream); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); color: var(--text-3); }
.nh-loading { font-family: 'Newsreader', serif; font-size: 16px; font-style: italic; }
.nh-empty h3 { margin: 0 0 7px; color: var(--ink); font-family: 'Newsreader', serif; font-size: 23px; font-weight: 500; }
.nh-empty p { margin: 0; max-width: 58ch; font-size: 14px; line-height: 1.55; }
.nh-error { border-color: color-mix(in srgb, var(--danger) 34%, var(--border)); }
.nh-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); }
.nh-connector { display: flex; flex-direction: column; min-width: 0; padding: 24px 26px; background: var(--cream); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); }
.nh-connector-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.nh-connector-head h3 { margin: 0 0 4px; color: var(--ink); font-family: 'Newsreader', serif; font-size: 22px; font-weight: 500; line-height: 1.2; }
.nh-connector-head p { margin: 0; color: var(--text-3); font-size: 13px; line-height: 1.5; }
.nh-status { display: inline-flex; align-items: center; flex: none; gap: 7px; padding: 5px 10px; color: var(--text-3); border: 1px solid var(--clay); border-radius: 99px; font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.nh-status i { width: 7px; height: 7px; background: var(--text-3); border-radius: 50%; }
.nh-connector[data-status="live"] .nh-status { color: var(--accent-deep); background: var(--accent-soft); border-color: transparent; }
.nh-connector[data-status="live"] .nh-status i { background: var(--accent); }
.nh-connector[data-status="needs_reauth"] .nh-status, .nh-connector[data-status="stale"] .nh-status { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 35%, var(--clay)); }
.nh-connector[data-status="needs_reauth"] .nh-status i, .nh-connector[data-status="stale"] .nh-status i { background: var(--danger); }
.nh-impact { margin-top: 18px; padding: 14px 16px; background: color-mix(in srgb, var(--danger) 7%, var(--oat)); border-radius: 13px; }
.nh-impact p { margin: 0 0 7px; color: var(--fig); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.nh-impact ul { margin: 0; padding: 0; list-style: none; }
.nh-impact li { position: relative; padding: 4px 0 4px 14px; color: var(--text-2); font-size: 13.5px; line-height: 1.4; }
.nh-impact li::before { content: ''; position: absolute; left: 0; top: .78em; width: 5px; height: 5px; background: var(--danger); border-radius: 50%; }
.nh-details { display: flex; flex-wrap: wrap; gap: 7px 14px; margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 11.5px; }
.nh-reconnect { align-self: flex-start; margin-top: 17px; }
body[data-motion="1"] .nh-connector { transition: transform .22s var(--spring), border-color .18s; }
body[data-motion="1"] .nh-connector:hover { transform: translateY(-1px); border-color: var(--clay); }
@media (max-width: 820px) {
  .numen-health { padding: 32px 22px 78px; }
  .nh-heading { align-items: flex-start; flex-direction: column; }
  .nh-list { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .nh-connector-head { flex-direction: column; }
  .nh-connector { padding: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .nh-connector { transition: none; }
}
