/* The R11 Body alias uses the immutable Source Sans3 binary; it is not a third font design.
   The builder replaces the URL marker with the existing packaged font data URI. */
@font-face { font-family: "R11 Body"; src: url("/fonts/sourcesans3.ttf"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "R11 Body Fallback"; src: local("DejaVu Sans"); font-weight: 400; size-adjust: 82.7897%; ascent-override: 123.6869%; descent-override: 48.3152%; line-gap-override: 0%; }
/* ORDREL JEM-33 R11 — Phase B. Additive tokens only.
   No legacy variable, body font/color, header, native instrument or source rule is changed here. */
body.jem33-r4 {
  --r11-canvas: #E7F0FF;
  --r11-surface-light: #F2F7FF;
  --r11-surface-deep: #102338;
  --r11-surface-brand: #1749CC;
  --r11-lift: rgba(255,255,255,.06);
  --r11-text: #102338;
  --r11-on-deep: #F7FAFD;
  --r11-muted: #445666;
  --r11-muted-deep: #CBD5DE;
  --r11-on-brand-muted: #DFE9FF;
  --r11-action: #FF9C50;
  --r11-action-text: #102338;
  --r11-safety: #267B19;
  --r11-safety-text: #FFFFFF;
  --r11-lime: #C3FF45;
  --r11-link: #1749CC;
  --r11-line: #B8C8DC;
  --r11-control-border: #667B91;
  --r11-line-dark: rgba(255,255,255,.22);
  --r11-input-bg: #FFFFFF;
  --r11-input-text: #102338;
  --r11-placeholder: #526173;
  --r11-focus-light: #FFFFFF;
  --r11-focus-dark: #102338;
  --r11-focus-outer: #FFFFFF;
  --r11-focus-inner: #102338;
  --r11-focus-shadow: 0 0 0 2px #102338;
  --r11-status-active-bg: #D6F5FB;
  --r11-status-active-text: #075469;
  --r11-status-review-bg: #FFF1BA;
  --r11-status-review-text: #664B00;
  --r11-status-complete-bg: #E1F3DC;
  --r11-status-complete-text: #245E1C;
  --r11-status-neutral-bg: #E8EEF5;
  --r11-status-neutral-text: #35465B;
  --r11-caution-bg: #FFF1BA;
  --r11-caution-text: #664B00;
  --r11-price-bg: #FF9C50;
  --r11-price-text: #102338;
  /* Owner-locked OEE title/example accent; not an ordinary heading color. */
  --r11-oee-accent: #FF9C50;
  --r11-font-heading: Manrope, "Segoe UI", Arial, sans-serif;
  --r11-font-body: "R11 Body", "R11 Body Fallback", "Source Sans 3", "OrderSource", sans-serif;
  --r11-font-number: Manrope, "Segoe UI", Arial, sans-serif;
  --r11-display: clamp(42px, 5.1vw, 72px);
  --r11-h1: clamp(34px, 4vw, 52px);
  --r11-h2: clamp(26px, 2.6vw, 36px);
  --r11-h3: 22px;
  --r11-h4: 19px;
  --r11-lead: 20px;
  --r11-body: 17px;
  --r11-small: 14px;
  --r11-caption: 14px;
  --r11-eyebrow: 13px;
  --r11-button: 16px;
  --r11-chip: 14px;
  --r11-table: 16px;
  --r11-input: 17px;
  --r11-prose: 68ch;
  --r11-card-prose: 56ch;
  --r11-centered-heading: 28ch;
  --r11-container: 1280px;
  --r11-gutter: 32px;
  --space-section: 64px;
  --gap-card: 24px;
  --panel-padding: 32px;
  --heading-body: 12px;
  --radius-card: 12px;
  --radius-control: 10px;
  --r11-radius-pill: 999px;
  --r11-border: 1px;
  --r11-border-strong: 2px;
  --r11-callout-rule: 4px;
  --r11-space-1: 4px;
  --r11-space-2: 8px;
  --r11-space-3: 12px;
  --r11-space-4: 16px;
  --r11-space-6: 24px;
  --r11-space-8: 32px;
  --r11-space-12: 48px;
  --r11-space-16: 64px;
  --r11-space-24: 96px;
  --r11-shadow: none;
}
@media (max-width: 760px) {
  body.jem33-r4 {
    --space-section: 40px;
    --gap-card: 16px;
    --panel-padding: 24px;
    --r11-gutter: 20px;
    --r11-h3: 20px;
    --r11-lead: 18px;
  }
}
@media (prefers-contrast: more) {
  body.jem33-r4 {
    --r11-muted: #102338;
    --r11-muted-deep: #FFFFFF;
    --r11-on-brand-muted: #FFFFFF;
    --r11-line: #526173;
    --r11-line-dark: #FFFFFF;
    --r11-control-border: #102338;
    --r11-placeholder: #35465B;
  }
}
/* R11 adds no animation or transition. Native reduced-motion guards remain frozen.
   No JEM-30 hover/pressed/loading/success/error behavior is introduced. */
