/* NRS theme — Nuclear Regulator Surface (default, forkable).
 *
 * Reactor-cool palette: slate-blue primary, warm-cream backgrounds, amber accents
 * inspired by control-room aesthetics (not the SSM brand). Forks to other
 * regulators (FRA-ASN, DEU-BfS, etc) drop in their own theme file alongside
 * this one and the framework picks it up from /themes/<theme>.css.
 *
 * Forking checklist:
 *   1. Copy this file → themes/<your-org>.css
 *   2. Replace --primary, --accent, --brand-text
 *   3. Replace logo source in nrs.html data-logo-src attribute
 *   4. Drop your corpus into /corpus/<your-org>/
 *   5. Drop your templates into /templates/<your-org>/
 *   6. Done — no code changes.
 */
:root[data-theme="nrs"] {
  --bg:           #f4f1e9;  /* warm cream */
  --bg-card:     #ffffff;
  --bg-strip:    #2a3d52;  /* slate header */
  --primary:     #3a5577;  /* reactor-pool slate-blue */
  --primary-hi:  #5278a4;
  --accent:      #c8893d;  /* control-room amber */
  --accent-hi:   #e6a85a;
  --text:        #1f2733;
  --text-muted:  #6b7589;
  --text-on-dark:#f4f1e9;
  --border:      #d8d3c4;
  --good:        #4a8a6a;
  --warn:        #c8893d;
  --bad:         #b94747;
  --shadow:      0 1px 3px rgba(31,39,51,0.06);
  --focus-ring:  #c8893d;
}

.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;
}

:where(a[href], button, input, select, textarea, [tabindex]:not([tabindex="-1"])):focus-visible {
  outline: 3px solid var(--focus-ring, #c8893d);
  outline-offset: 2px;
}
