/* Essential cross-module interaction and contrast guarantees. */
body[data-apms-module="capture"] .mode-toggle,
body[data-apms-module="capture"] .camera-zoom-control input,
body[data-apms-module="knowledge"] .candidate-view-tabs button,
body[data-apms-module="knowledge"] .domain-filters button,
body[data-apms-module="knowledge"] .technical-details summary {
  min-height: 44px;
}

body[data-apms-module="knowledge"] .primary-button,
body[data-apms-module="operations"] .primary-command {
  color: #ffffff;
  background: #c94700;
  border-color: #c94700;
}

body[data-apms-module="capture"] .primary-action {
  color: #ffffff;
  background: linear-gradient(135deg, #c94700, #a53b00);
}

body[data-apms-module="login"] button:focus-visible,
body[data-apms-module="login"] a:focus-visible {
  outline: 3px solid rgba(201, 71, 0, 0.36);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  body[data-apms-module="knowledge"] .candidate-select {
    width: 44px;
    min-width: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-apms-module] *,
  body[data-apms-module] *::before,
  body[data-apms-module] *::after {
    scroll-behavior: auto !important;
  }
}
