/* ============================================================================
 * theme-dark-amber.css — Aimed-Research.com site override for the
 * High-Speed Cameras Library. Load AFTER theme.css.
 * Dark warm background + amber/gold accents (site gold #e1ce8a, CEO's
 * dull orange #8a4f1c family). CEO-approved direction 2026-06-09.
 * ========================================================================== */

:root {
  /* Surface colors — cool black (CEO pick: Palette 2) */
  --bg:        #0f0f12;
  --panel:     #1a1a20;
  --panel-2:   #21212a;
  --hover:     #2c2c38;

  /* Ink — cool off-whites */
  --ink:       #e4e4e8;
  --ink-soft:  #b4b4bc;
  --ink-muted: #84848e;

  /* Brand accents — amber pop */
  --accent:        #ffb142;
  --accent-soft:   #a87b32;
  --accent-bg:     #26210f;

  /* Status */
  --status-current:      #8fce9b;
  --status-discontinued: #84848e;

  /* Section tint */
  --section-current-bg:      #1a201c;
  --section-current-border:  #34443a;
  --section-discontinued-bg: #1e1e24;

  /* Borders */
  --border:        #3a3a44;
  --border-dashed: #4a4a56;

  /* Links — amber-orange, slightly neon */
  --link:       #ffb142;
  --link-hover: #ffc46b;

  /* Source-tag colors — lightened for dark background */
  --src-datasheet: #82b4f0;
  --src-website:   #8fce9b;
  --src-testing:   #f09a9a;
  --src-simulated: #c9a3f0;
  --src-manual:    #8fd9d6;
  --src-inferred:  #d9b86a;
  --src-other:     #a9a9a9;

  /* File-type chip colors — lightened */
  --ftype-datasheet: #82b4f0;
  --ftype-manual:    #8fce9b;
  --ftype-drawing:   #d9b86a;
  --ftype-software:  #c9a3f0;
  --ftype-brochure:  #8fd9d6;
  --ftype-pricelist: #f09ab4;
  --ftype-note:      #b8ab92;
  --ftype-image:     #8a7f6a;
  --ftype-other:     #a9a9a9;

  /* Visited links — dimmer amber-orange (defined here, used below) */
  --link-visited: #d6913f;

  /* Gaps panel — amber on dark */
  --gaps-bg:     #221c10;
  --gaps-border: #8a4f1c;
  --gaps-head:   #2a2212;
  --gaps-rule:   #4a4a56;
  --gaps-accent: #d98a3d;
}

/* The base components only style links inside file lists; everything else
   fell through to browser defaults (blue/purple). Claim them all. */
a         { color: var(--link); }
a:visited { color: var(--link-visited); }
a:hover   { color: var(--link-hover); }

/* Inputs/buttons set dark backgrounds but no text color — browser default
   black was unreadable. */
.hscl-controls input[type="search"],
.hscl-controls button { color: var(--ink); }
.hscl-controls input::placeholder { color: var(--ink-muted); }

/* Catalog QA chrome stays offline: hide missing-data pills on the public site
   (the Gaps dashboard itself is stripped at integration time). */
.hscl-badge--missing { display: none; }

/* Group headers readable at a glance (CEO) */
.hscl-mgroup-title { font-weight: bold; }

/* Positive inventory badges - label what we HAVE (CEO), not what's missing */
.hscl-badge--have { background: #1a201c; color: #8fce9b; border: 1px solid #34443a; }
