@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap");

:root {
  color-scheme: light;
  --bg: #f4f6f8;
  --panel: #ffffff;
  --panel2: #f8fafc;
  --line: #dde3ea;
  --line-soft: #edf2f7;
  --text: #19212c;
  --muted: #5a6a7d;
  --faint: #8e9eaf;
  --blue: #0e837d;
  --accent: #0b6f6a;
  --green: #0e9f6e;
  --amber: #9a6700;
  --red: #dc2626;
  --soft: #e1f2f0;
  --success-bg: rgba(14, 159, 110, .12);
  --warning-bg: #fff7ed;
  --danger-bg: #fef2f2;
  --danger-line: #fecaca;
  --shadow: 0 1px 3px rgba(15, 23, 42, .06);
  --font: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 13px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 12.5px;
  text-decoration: none;
  cursor: pointer;
}

button:hover,
.button:hover { background: var(--accent); }

button.secondary,
.button.secondary {
  background: #fff;
  color: var(--blue);
  border: 1px solid var(--line);
}

button.secondary:hover,
.button.secondary:hover { background: var(--soft); }

button.danger,
button.stop { background: var(--red); }

button.danger:hover,
button.stop:hover { background: #dc2626; }

button:disabled {
  opacity: .55;
  cursor: not-allowed;
}

input,
select {
  width: 100%;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--text);
  font: 13px var(--font);
}

a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
}

a:hover { color: var(--accent); }

.muted {
  color: var(--muted);
  font-size: 13px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.live {
  background: var(--success-bg);
  color: var(--green);
}

.rec {
  background: var(--warning-bg);
  color: var(--amber);
}

.event {
  background: var(--soft);
  color: var(--blue);
}

code {
  background: var(--soft);
  color: var(--blue);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 12px;
  word-break: break-all;
}
