/* vve-coach-next — de schil van de werkplek (schil.js): alles achter een login. Geladen na /stijl.css en na de stijl
   van het gebied, zodat de schil de breedte, het menu en de vlakken bepaalt. Alleen voor de laptop ontworpen (besluit
   Jan Willem 17-11-2026); op een smal scherm valt het menu boven de inhoud en loopt niets zijwaarts uit beeld.
   Tokens (maten, ruimte, hoeken, lijnkleur) staan in /stijl.css onder :root. */

/* Geen gebouwtekening achter gegevens: de werkplek is wit, het menu lichtgrijs. */
.schil-werk {
  background: var(--white);
}
.schil-werk::before {
  display: none;
}
.schil-skip {
  position: absolute;
  left: var(--s2);
  top: -100px;
  z-index: 10;
  padding: var(--s2) var(--s4);
  border-radius: var(--r-knop);
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
}
.schil-skip:focus {
  top: var(--s2);
}
.schil-skip:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}
.schil-raam {
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  min-height: 100vh;
  /* De blauwe lijn van de huisstijl, over de hele breedte. */
  border-top: 3px solid var(--blue);
}

/* Het menu links blijft staan terwijl de inhoud schuift. */
.schil-rail {
  position: sticky;
  top: 0;
  align-self: start;
  /* 3 px minder: de blauwe lijn boven het raam telt mee in de 100vh. */
  height: calc(100vh - 3px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--s5);
  padding: var(--s5) var(--s4);
  background: var(--rail);
  border-right: 1px solid var(--lijn);
}
.schil-logo {
  height: 48px;
  align-self: flex-start;
}
.schil-product {
  margin: calc(-1 * var(--s4)) 0 0;
  font-size: var(--f-meta);
  color: var(--muted);
}
.schil-menu {
  display: grid;
  gap: 2px;
  margin: 0;
  font-weight: 700;
}
.schil-item {
  display: block;
  padding: var(--s2) var(--s3);
  border-radius: var(--r-knop);
  color: var(--navy);
  text-decoration: none;
}
.schil-item:hover {
  background: var(--lijn-zacht);
}
.schil-item[aria-current="page"] {
  background: var(--navy);
  color: var(--white);
}
.schil-item:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}
.schil-onder {
  margin-top: auto;
  display: grid;
  gap: var(--s2);
  justify-items: start;
  font-size: var(--f-meta);
  color: var(--muted);
}
.schil-wie {
  margin: 0;
}
/* De knop onder het menu (Uitloggen) is in elk gebied dezelfde: klein en grijs. De stijl van het gebied reikt niet
   tot hier, want het menu staat naast de inhoud. */
.schil-onder .knop:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}
.schil-onder .knop {
  padding: var(--s2) var(--s4);
  font-size: var(--f-meta);
  border-radius: var(--r-knop);
  background: var(--lijn-zacht);
  color: var(--navy);
}

/* De inhoud: de paginatitel, dan de pagina zelf. */
.schil-blad {
  max-width: 1040px;
  margin: 0;
  padding: var(--s5) var(--s6) var(--s7);
}
.schil-blad-breed {
  max-width: 1304px;
}
.schil-kop {
  margin-bottom: var(--s5);
}
.schil-titel {
  font-size: var(--f-titel);
  line-height: 1.15;
}

/* Vlakken in de werkplek: een dunne grijze rand, geen schaduw. */
.schil-blad .kaart {
  border-color: var(--lijn);
  border-radius: var(--r-vlak);
  box-shadow: none;
}

/* Stap 4g: onderdelen uit /stijl.css die de coach ook gebruikt, hier naar de maten van de stijlbasis (14, 16, 19, 26, 30;
   hoeken 6 en 10). Alleen in het gebied van de begeleiders (.app.bg): de coach laadt schil.css niet en houdt zijn eigen
   maten tot stap 7a, en beheer krijgt de schil pas in stap 5 en 6. */
.app.bg .vlag {
  font-size: var(--f-tekst);
  border-radius: var(--r-vlak);
}
.app.bg .badge,
.app.bg .uitleg {
  font-size: var(--f-meta);
}
.app.bg .badge {
  border-radius: var(--r-knop);
}
.app.bg .kaart h2 {
  font-size: var(--f-kop);
}
.app.bg .knop,
.app.bg input.veld {
  border-radius: var(--r-knop);
}

/* Niet ingelogd: een smalle kolom midden op de pagina; hier blijft de gebouwtekening. */
.schil-los-blad {
  max-width: 560px;
}

@media (max-width: 860px) {
  .schil-raam {
    grid-template-columns: minmax(0, 1fr);
  }
  .schil-rail {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--lijn);
  }
  .schil-onder {
    margin-top: 0;
  }
  .schil-blad {
    padding: var(--s4);
  }
}
