/* ==========================================================================
   Union Group design tokens - ONE light theme, no dark mode. VARIABLES ONLY.
   Benchmark (80%): PLU Management Portal (app/globals.css).
   Borrowed (20%): Operational Dashboard - gold primary button, logo, favicon.
   Copy this file unchanged into every project; do not fork the values.
   Component styles live in components.css (for apps that have no CSS of their own).
   ========================================================================== */

:root {
  /* surfaces - from the PLU portal */
  --bg-cream: #FAF7F2;
  --bg-card: #FFFDF8;
  --bg-dark: #1A1008;          /* sidebar and the secondary dark button */
  --bg-row-alt: #F5EFE8;

  /* text */
  --text-primary: #1C1107;
  --text-secondary: #6B5744;

  /* lines */
  --border: #E8DDD0;
  --input-border: #C8B8A8;

  /* the single gold */
  --accent-gold: #C9A84C;
  --accent-gold-light: #DDC477;
  --accent-gold-deep: #B08F38;
  --accent-gold-ring: rgba(201, 168, 76, 0.2);

  /* status - from the PLU portal, plus offline for the hub */
  --status-pending-bg: rgba(184, 134, 11, 0.08);
  --status-pending-text: #8B6914;
  --status-pending-border: rgba(184, 134, 11, 0.2);
  --status-done-bg: rgba(61, 90, 62, 0.08);
  --status-done-text: #2D4A2E;
  --status-done-border: rgba(61, 90, 62, 0.2);
  --status-down-bg: rgba(122, 46, 31, 0.08);
  --status-down-text: #7A2E1F;
  --status-down-border: rgba(122, 46, 31, 0.2);

  --danger: #7A2E1F;
  --danger-hover: #6A2418;

  /* shape and depth */
  --radius-card: 8px;
  --radius-control: 4px;
  --shadow-card: 0 1px 4px rgba(26, 16, 8, 0.08);
  --shadow-card-md: 0 4px 16px rgba(26, 16, 8, 0.12);
  --shadow-gold: 0 4px 14px -4px rgba(201, 168, 76, 0.55);

  /* type */
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

html { color-scheme: light; }
