/* Player development — AF-FED-03. Pairs held to WCAG AA by tools/a11y. */

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --fg: #111827;
  --muted: #4b5563;
  --line: #d1d5db;
  --panel: #f8fafc;
  --accent: #1d4ed8;
  --fill: #1d4ed8;
  --bad: #b91c1c;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --fg: #e2e8f0;
    --muted: #94a3b8;
    --line: #334155;
    --panel: #111b2e;
    --accent: #93c5fd;
    --bad: #f87171;
  }
}

* { box-sizing: border-box; }
body {
  font: 15px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  margin: 0 auto; max-width: 960px; padding: 16px;
  background: var(--bg); color: var(--fg);
}
h1 { margin: 0 0 4px; font-size: 1.6rem; }
h2 { margin: 0 0 8px; font-size: 1.15rem; }
h3 { font-size: 1rem; margin: 16px 0 6px; }
.lede, .note { color: var(--muted); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 8px;
  padding: 14px 16px; margin: 14px 0; }
label { display: block; margin: 6px 0; }
input, select { font: inherit; padding: 6px 8px; border: 1px solid var(--muted);
  border-radius: 6px; background: var(--bg); color: var(--fg); max-width: 100%; }
button { font: inherit; padding: 7px 14px; margin: 6px 0; border: 0; border-radius: 6px;
  background: var(--fill); color: #fff; cursor: pointer; min-height: 36px; }
button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 5px 8px; border-bottom: 1px solid var(--line); }
thead th { color: var(--muted); font-weight: 600; }
tr.small td, tr.small th { font-style: italic; }
.scroll { overflow-x: auto; }
.bad { color: var(--bad); }
.withheld { border-left: 4px solid var(--accent); padding-left: 10px; }
.status { min-height: 1.5em; }
figure { margin: 12px 0; }
.devchart { width: 100%; height: auto; max-width: 560px; }
.devchart .axis { stroke: var(--muted); stroke-width: 1; }
.devchart .line { fill: none; stroke: var(--accent); stroke-width: 2.5; }
.devchart .pt { fill: var(--accent); stroke: var(--accent); stroke-width: 2; }
.devchart .pt.hollow { fill: var(--bg); }
.devchart .tick { fill: var(--muted); font-size: 11px; }
