/* Shared Command Center accessibility baseline */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #005a9e !important;
  outline-offset: 3px !important;
}
.command-rail :where(a, button):focus-visible,
.credential :where(a, button):focus-visible,
.presence-evidence :where(a, button):focus-visible {
  outline-color: #d8ef70;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  background: #102539;
  color: #fff;
  border: 2px solid #fff;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

/* Small text requires a minimum 4.5:1 contrast ratio. */
.arc-state { color: #4f5f59; }
.auth-panel small { color: #bfd0d8; }
.command-rail .rail-item { color: #bfd0d8; }
.command-rail .rail-item span { opacity: 1; color: #d6e2e7; }
.command-rail .rail-item.active,
.command-rail .rail-item:hover { color: #fff; }
.section-heading > span,
.artifact-editor-head > span,
.conversation-panel small,
.room-controls label,
.artifact-picker,
.diagram-controls label,
.facilitator-console label { color: #4f5f59; }
.timeline-item button { color: #7b241f; }
.presence-capture-head p,
.presence-score-grid label span,
.presence-capture-actions strong { color: #4f5f59; }
.evidence-link span { color: #842b24; }
.evidence-link.passed span { color: #0b6b4d; }
#open-decisions-card.resolved strong,
#open-decisions-card.resolved small { color: #0b6b4d; }

/* Preserve status meaning without relying on color alone. */
.status-dot { border: 1px solid #102539; }
.status-dot.online::after {
  content: '';
  display: block;
  width: 3px;
  height: 6px;
  border: solid #102539;
  border-width: 0 2px 2px 0;
  transform: translate(2px, 0) rotate(45deg);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
@media (forced-colors: active) {
  :where(a, button, input, select, textarea, [tabindex]):focus-visible { outline-color: Highlight; }
  .status-dot, .signal-bar, .decision-pips i, .evidence-link, .quality-steps i { forced-color-adjust: none; }
}
