body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-normal);
  background: var(--color-bg);
  color: var(--color-text);
}

input[type="checkbox"], input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  inline-size: var(--control-check);
  block-size: var(--control-check);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xs);
  background: var(--color-surface) center / 75% no-repeat;
  vertical-align: middle;
  cursor: pointer;
}

input[type="radio"] {
  border-radius: 50%;
}

input[type="checkbox"]:checked {
  border-color: var(--color-accent);
  background-color: var(--color-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

input[type="radio"]:checked {
  border-color: var(--color-accent);
  background-color: var(--color-accent);
  box-shadow: inset 0 0 0 var(--space-1) var(--color-surface);
}

input:is([type="checkbox"], [type="radio"]):disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

input:is([type="date"], [type="time"]) {
  -webkit-appearance: none;
  appearance: none;
  min-inline-size: 0;
}

input:is([type="date"], [type="time"])::-webkit-date-and-time-value {
  min-block-size: 1lh;
  text-align: start;
}

@keyframes orqen-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.sr-only {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
