/* Gedeelde huisstijl voor de gebruikershandleidingen (handleidingen/*.html).
   Zelfde tokens en fonts als lib/chrome.css, maar dan voor een leesbare documentpagina
   (A4-achtig, printvriendelijk) in plaats van de smalle tool-sidebar. */

@font-face {
  font-family: "Mulish";
  src: url("/assets/Mulish-VF.ttf") format("truetype");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/assets/SourceSerif4-VF.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --wyc-vital-green: #98CA34;
  --wyc-solid-slate: #373A36;
  --wyc-paper: #F9F9F9;
  --wyc-ink: #171D1A;
  --wyc-slate-20: #d7d8d6;
  --wyc-slate-40: #afb0ad;
  --wyc-slate-60: #878984;
  --wyc-green-20: #e6f1cc;
  --sans: "Mulish", "Arial", system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--wyc-ink);
  background: var(--wyc-paper);
}

/* ── Kop: donkere band met logo + toolnaam, zoals de titelbalk van de tools ── */
.hl-kop {
  background: var(--wyc-solid-slate);
  color: var(--wyc-paper);
  border-bottom: 3px solid var(--wyc-vital-green);
}
.hl-kop-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 30px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.hl-logo { height: 46px; width: auto; filter: brightness(0) invert(1); flex-shrink: 0; }
.hl-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wyc-vital-green);
}
.hl-titel {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 27px;
  line-height: 1.2;
}
.hl-soort {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wyc-slate-40);
  white-space: nowrap;
}

/* ── Pagina ── */
.hl-pagina {
  max-width: 880px;
  margin: 0 auto;
  padding: 10px 28px 60px;
}
.hl-terug {
  display: inline-block;
  margin: 14px 0 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--wyc-slate-60);
  text-decoration: none;
}
.hl-terug:hover { color: var(--wyc-ink); }

.hl-lead {
  font-size: 16px;
  max-width: 640px;
  margin: 18px 0 8px;
}

/* ── Stappen: tekst links, screenshot rechts ── */
.hl-stappen { counter-reset: stap; }
.hl-stap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 30px;
  align-items: start;
  padding: 30px 0 6px;
  border-top: 1px solid var(--wyc-slate-20);
  margin-top: 26px;
  break-inside: avoid;
}
.hl-stap:first-of-type { border-top: none; }
.hl-stap h2 {
  counter-increment: stap;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.25;
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}
.hl-stap h2::before {
  content: counter(stap);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
  color: var(--wyc-solid-slate);
  background: var(--wyc-vital-green);
  border-radius: 999px;
  min-width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-3px);
  flex-shrink: 0;
}
.hl-tekst p + p { margin-top: 10px; }
.hl-tekst ul, .hl-tekst ol { margin: 10px 0 0 20px; }
.hl-tekst li + li { margin-top: 5px; }

/* UI-labels (knop- en veldnamen) in de lopende tekst */
.ui {
  font-weight: 700;
  background: #fff;
  border: 1px solid var(--wyc-slate-20);
  border-radius: 5px;
  padding: 0 5px;
  white-space: nowrap;
  font-size: 0.93em;
}

/* ── Figuren ── */
.hl-stap figure { margin: 0; grid-column: 2; }
.hl-stap figure + figure { margin-top: 0; }
.hl-figuur img, .hl-stap figure img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--wyc-slate-20);
  border-radius: 10px;
  box-shadow: 0 1px 5px rgba(23, 29, 26, 0.07);
  background: #fff;
}
figcaption {
  font-size: 12px;
  color: var(--wyc-slate-60);
  margin-top: 7px;
  line-height: 1.4;
}
/* Losstaande figuur over de volle tekstbreedte (bv. het startscherm bij de inleiding) */
.hl-figuur { margin: 24px auto; max-width: 330px; }

/* ── Tip-kader ── */
.hl-tip {
  background: var(--wyc-green-20);
  border-left: 4px solid var(--wyc-vital-green);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  margin-top: 14px;
}
.hl-tip strong { font-weight: 800; }

/* ── "Goed om te weten" ── */
.hl-weetjes {
  margin-top: 40px;
  border-top: 1px solid var(--wyc-slate-20);
  padding-top: 26px;
  break-inside: avoid;
}
.hl-weetjes h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21px;
  margin-bottom: 10px;
}
.hl-weetjes ul { margin: 0 0 0 20px; }
.hl-weetjes li + li { margin-top: 7px; }

/* ── Indexpagina: kaarten per tool ── */
.hl-kaarten {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.hl-kaart {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--wyc-slate-20);
  border-radius: 12px;
  padding: 18px;
  text-decoration: none;
  color: var(--wyc-ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.hl-kaart:hover {
  border-color: var(--wyc-vital-green);
  box-shadow: 0 2px 10px rgba(23, 29, 26, 0.08);
}
.hl-kaart img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
  border: 1px solid var(--wyc-slate-20);
}
.hl-kaart > span { display: block; min-width: 0; }
.hl-kaart .hl-kaart-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wyc-slate-60);
}
.hl-kaart .hl-kaart-titel {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.25;
  margin: 1px 0 5px;
}
.hl-kaart p { font-size: 13px; color: var(--wyc-slate-60); line-height: 1.45; }

/* ── Voettekst ── */
.hl-voet {
  max-width: 880px;
  margin: 0 auto;
  padding: 18px 28px 40px;
  border-top: 1px solid var(--wyc-slate-20);
  font-size: 12px;
  color: var(--wyc-slate-60);
}

/* ── Smal scherm: figuren onder de tekst ── */
@media (max-width: 720px) {
  .hl-stap { grid-template-columns: 1fr; gap: 16px; }
  .hl-stap figure { grid-column: 1; }
  .hl-kop-inner { flex-wrap: wrap; gap: 14px; }
  .hl-soort { display: none; }
}

/* ── Print ── */
@media print {
  body { background: #fff; }
  .hl-kop { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .hl-terug { display: none; }
  .hl-stap { page-break-inside: avoid; }
  .hl-stap figure img { box-shadow: none; }
}
