/* Laser Saga base styles. Two rules, enforced here for every screen:
   1. Inter is the only typeface (no fallback stack).
   2. Hard corners only: border-radius is 0 everywhere.
   Load node_modules/@fontsource-variable/inter/index.css before this file. */

*, *::before, *::after { box-sizing: border-box; border-radius: 0 !important; font-family: "Inter Variable" !important; }

:root {
  --red: #FF2800;          /* Laser Red, accents only */
  --bg: #0E0E0E;
  --panel: #171717;
  --panel-2: #202020;
  --line: #2E2E2E;
  --text: #F2F2F2;
  --muted: #9A9A9A;
  --ok: #3FB950;
  --warn: #E3B341;
  --bad: #FF2800;
  color-scheme: dark;
}

html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.45; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.01em; margin: 0 0 12px; }
h1 { font-size: 20px; } h2 { font-size: 16px; } h3 { font-size: 13px; text-transform: uppercase; color: var(--muted); letter-spacing: 0.06em; }
a { color: var(--text); }
.muted { color: var(--muted); }

button, .btn {
  background: var(--panel-2); color: var(--text); border: 1px solid var(--line);
  padding: 8px 14px; font-size: 13px; font-weight: 600; cursor: pointer;
}
button:hover { border-color: #555; }
button.primary { background: var(--red); border-color: var(--red); color: #fff; }
button.ghost { background: transparent; }
button:disabled { opacity: 0.45; cursor: default; }

input, select, textarea {
  background: var(--panel); color: var(--text); border: 1px solid var(--line);
  padding: 7px 9px; font-size: 13px; width: 100%;
}
input:focus, select:focus, textarea:focus, button:focus-visible { outline: 1px solid var(--red); outline-offset: 0; }
textarea { min-height: 80px; resize: vertical; }
label { display: block; font-size: 12px; color: var(--muted); margin: 0 0 4px; }

table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; }
th, td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:hover { background: var(--panel); }

.card { background: var(--panel); border: 1px solid var(--line); padding: 16px; }

.pill { display: inline-block; padding: 2px 8px; font-size: 11px; font-weight: 600; border: 1px solid var(--line); }
.pill.ok { color: var(--ok); border-color: var(--ok); }
.pill.warn { color: var(--warn); border-color: var(--warn); }
.pill.bad { color: var(--bad); border-color: var(--bad); }

dialog { background: var(--panel); color: var(--text); border: 1px solid var(--line); padding: 20px; max-width: 560px; width: 90vw; }
dialog::backdrop { background: rgba(0,0,0,0.6); }

.banner { background: var(--panel-2); border-left: 3px solid var(--red); padding: 8px 12px; font-size: 13px; }
