/* CruScout — podstawa strony v2 (opcjonalna). Dla ekranów, które w całości przechodzą na wygląd v2.
   Raport osadzony w obcej stronie (np. edytor) może pominąć ten plik: elementy z components.css same ustawiają krój. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cs-bg);
  color: var(--cs-text);
  font: var(--cs-weight-text) var(--cs-t-m)/var(--cs-l-m) var(--cs-font);
  font-variant-numeric: lining-nums;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--cs-accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 64px; }
details > summary { cursor: pointer; font-weight: var(--cs-weight-strong); }
details > summary::marker { color: var(--cs-text-2); }

/* Jeden pierścień fokusu */
:focus-visible { outline: var(--cs-focus-width) solid var(--cs-focus); outline-offset: var(--cs-focus-offset); }

/* Ograniczenie ruchu */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
