/* qsra-hosted: the landing page and the privacy notice (SKILL.md §4.2). Self-contained: the system's own fonts,
   no images, nothing from elsewhere. Light and dark follow the reader's system setting. */
:root {
  color-scheme: light;
  --page: #f9f9f7;
  --surface: #fcfcfb;
  --ink-1: #0b0b0b;
  --ink-2: #52514e;
  --muted: #898781;
  --grid: #e1e0d9;
  --axis: #c3c2b7;
  --border: rgba(11, 11, 11, 0.10);
  --series-1: #2a78d6;
  --link: #1c5cab;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --page: #0d0d0d;
    --surface: #1a1a19;
    --ink-1: #f0efec;
    --ink-2: #c3c2b7;
    --muted: #898781;
    --grid: #2c2c2a;
    --axis: #383835;
    --border: rgba(255, 255, 255, 0.10);
    --series-1: #3987e5;
    --link: #86b6ef;
  }
}
* { box-sizing: border-box; }
html { background: var(--page); color: var(--ink-1); }
body {
  margin: 0 auto; max-width: 46rem; padding: 2rem 1.25rem 4rem;
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
}
h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 0.25rem; }
h2 { font-size: 1.3rem; margin: 2.5rem 0 0.5rem; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 0.25rem; }
a { color: var(--link); }
code { font-size: 0.85em; overflow-wrap: anywhere; }
.badge {
  display: inline-block; margin: 0 0 1rem; padding: 0.1rem 0.6rem; border: 1px solid var(--border);
  border-radius: 1rem; color: var(--ink-2); font-size: 0.85rem;
}
.lead { font-size: 1.1rem; color: var(--ink-2); }
.request {
  display: inline-block; margin: 0.5rem 0; padding: 0.6rem 1.1rem; border-radius: 0.5rem;
  background: var(--series-1); color: #ffffff; font-weight: 600; text-decoration: none;
}
figure {
  margin: 1.25rem 0; padding: 1rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: 0.5rem;
}
figcaption { margin-top: 0.75rem; color: var(--ink-2); font-size: 0.85rem; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 0.75rem; }
.tile p { margin: 0; }
.tile-label { color: var(--ink-2); font-size: 0.85rem; }
.tile-value { font-size: 1.6rem; font-weight: 600; }
.tile-note { color: var(--muted); font-size: 0.85rem; }
svg.chart { display: block; width: 100%; height: auto; }
svg.chart text { font: 12px system-ui, -apple-system, "Segoe UI", sans-serif; fill: var(--ink-2); }
svg.chart text.tick { fill: var(--muted); font-variant-numeric: tabular-nums; }
svg.chart text.value { fill: var(--ink-1); }
svg.chart .grid { stroke: var(--grid); stroke-width: 1; }
svg.chart .axis { stroke: var(--axis); stroke-width: 1; }
svg.chart .fill { fill: var(--series-1); }
svg.chart .dot { fill: var(--series-1); stroke: var(--surface); stroke-width: 2; }
svg.chart .plan { fill: var(--muted); stroke: var(--surface); stroke-width: 2; }
svg.chart .hit { fill: transparent; }
svg.chart .mark:hover .fill, svg.chart .mark:hover .dot { opacity: 0.8; }
details { margin-top: 0.75rem; font-size: 0.9rem; }
summary { cursor: pointer; color: var(--ink-2); }
table { border-collapse: collapse; margin-top: 0.5rem; font-variant-numeric: tabular-nums; }
th, td { padding: 0.2rem 0.9rem 0.2rem 0; text-align: left; border-bottom: 1px solid var(--grid); }
ul { padding-left: 1.2rem; }
li { margin: 0.25rem 0; }
footer { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--grid); color: var(--ink-2); font-size: 0.9rem; }
@media (forced-colors: active) {
  svg.chart .fill, svg.chart .dot, svg.chart .plan { fill: CanvasText; }
}
