/* BGPKIT Labs — app skin for the dark-template pages.
 *
 * spectrum, seismo, rpki and vistrack share one template: the same class names
 * and the same :root variable set (--bg1..--bg3, --bd1/--bd2, --tx0..--tx2,
 * --ac-*). They ship a cool light theme behind [data-theme="light"].
 *
 * This file maps that variable set onto the Labs palette and forces it in both
 * themes, so a page keeps its layout, charts and behaviour while reading as a
 * Labs instrument. Load it AFTER the page's own stylesheet:
 *
 *   <link rel="stylesheet" href="./labs-app-skin.css">
 */

:root,
[data-theme="light"],
[data-theme="dark"] {
  color-scheme: light;

  /* Warm paper surfaces. */
  --bg1: #f1efe8;
  --bg2: #fbfaf5;
  --bg3: #f5f3eb;
  --row-sep: #e6e1d3;

  /* Hairline rules. */
  --bd1: #ddd7c7;
  --bd2: #c9c2ae;

  /* Ink. */
  --tx0: #5f5b4e;
  --tx1: #171610;
  --tx2: #3d3a31;

  /* One accent plus status colours: the Labs set. */
  --ac-blue: #0e5a46;
  --ac-blue2: #0a4435;
  --ac-green: #0e6b52;
  --ac-red: #a02517;
  --ac-yellow: #9a5a06;
  --ac-purple: #5f5b4e;
  --ac-orange: #9a5a06;

  --btn-primary-text: #fbfaf5;
  --overlay: rgba(23, 22, 16, 0.55);

  --green-badge-bg: rgba(14, 107, 82, 0.10);
  --green-badge-bd: rgba(14, 107, 82, 0.30);
  --yellow-badge-bg: rgba(154, 90, 6, 0.10);
  --yellow-badge-bd: rgba(154, 90, 6, 0.30);
}

body {
  background: var(--bg1);
  color: var(--tx1);
}

/* The Labs surface language: hard edges, no glow. */
.card,
.panel,
.panel-body,
button,
input,
select,
textarea,
.badge,
.chip {
  box-shadow: none;
}

.card,
.panel,
button,
input,
select,
textarea {
  border-radius: 2px;
}

/* Chart series keep their own colours; only the grid and axes warm up. */
.chart-grid line,
.grid line {
  stroke: var(--bd1);
}
