/* ================================================================
   Sensei-Rams Critical CSS — Loaded inline, renders first
   ================================================================ */

:root {
  color-scheme: light;
}

/* Anti-blur text rendering — Industrial instrument precision */
body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-family-sans);
}

/* Tabular figures for numeric/financial data */
[data-numeric],
.tabular-nums,
.font-mono {
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

/* Monospace utility */
.font-mono {
  font-family: var(--font-family-mono);
}

/* Dymo label style — System status, section headers */
.dymo-label,
.label-mono {
  font-family: var(--font-family-mono);
  font-size: var(--font-size-2xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rams-muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus ring — 2px orange, ALWAYS visible */
:focus-visible {
  outline: none;
  box-shadow: var(--shadow-rams-focus);
}

/* Skip link for keyboard navigation */
.skip-link:focus {
  top: var(--spacing-2);
}

.button-primary,
.button-secondary {
  min-height: 44px;
}

/* Reduced motion — respect OS preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Breadcrumb list reset */
ol.breadcrumb,
.breadcrumb ol,
.breadcrumb ol li {
  list-style: none !important;
  list-style-type: none !important;
}