/* Ordening van de school: wie doet wat, rollen, sectie, inzicht. */

.og > * + * { margin-top: 16px; }
.og .paneel { margin: 0; }
.og-balk { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.og-balk .dn-zoek { flex: 1; max-width: 420px; }
.og-inhoud { display: grid; gap: 16px; }
.og-noot { display: flex; align-items: flex-start; gap: 8px; color: var(--vaag); font-size: 12.5px; }
.og-noot .ic { flex: none; width: 15px; height: 15px; margin-top: 1px; }
.og-leeg { color: var(--vaag); font-size: 13px; }

.og-mensen { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.og-mensen.is-klein { grid-template-columns: minmax(0, 1fr); gap: 6px; }
.og-persoon { display: flex; align-items: center; gap: 10px; min-width: 0; }
.og-persoon .initialen { flex: none; width: 34px; height: 34px; font-size: 12px; }
.og-persoon > span:last-child { display: grid; min-width: 0; }
.og-persoon b { font-size: 14px; }
.og-persoon small { color: var(--zacht); font-size: 12.5px; }

.og-lijst { display: grid; margin: 0; padding: 0; list-style: none; }
.og-lijst li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--lijn-licht); }
.og-lijst li:first-child { border-top: 0; padding-top: 0; }
.og-lijst li > div { display: grid; }
.og-lijst li > div:last-child { text-align: right; }
.og-lijst small { color: var(--zacht); font-size: 12.5px; }
.og-naam { font-size: 14px; font-weight: 600; }

.og-secties { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.og-sectie { padding: 14px; border: 1px solid var(--lijn-licht); border-radius: 10px; background: #FAFAFB; }
.og-sectie-kop { display: grid; gap: 1px; margin-bottom: 10px; }
.og-sectie-kop b { font-size: 15px; }
.og-sectie-kop small { color: var(--zacht); font-size: 12.5px; }

/* Rollen beheren */
.og-tabel-wrap { overflow-x: auto; }
.og-tabel { width: 100%; min-width: 720px; }
.og-tabel th[scope="row"] b { display: block; font-size: 14px; }
.og-tabel th[scope="row"] small { color: var(--vaag); font-size: 12px; font-weight: 400; }
.og-tabel td, .og-tabel th { vertical-align: middle; }
.og-rollen { display: flex; flex-wrap: wrap; gap: 4px; }
.og-rol { padding: 2px 8px; border-radius: 6px; background: #EEF0F4; color: var(--navy); font-size: 12px; font-style: normal; font-weight: 600; white-space: nowrap; }
.og-rol.is-leiding { background: var(--navy); color: #FFF; }
.og-rol.is-ondersteuning { background: #F1EFE8; color: #6A5A2A; }
.og-regels, .og-log { display: grid; gap: 8px; margin: 0; padding-left: 18px; font-size: 13.5px; }
.og-log { padding: 0; list-style: none; }
.og-log small { display: block; color: var(--vaag); font-size: 12px; }
.og-rolkeuze { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.og-rolkeuze fieldset { display: grid; align-content: start; gap: 10px; margin: 0; padding: 12px; border: 1px solid var(--lijn); border-radius: 10px; }
.og-rolkeuze legend { padding: 0 4px; color: var(--zacht); font-size: 12.5px; font-weight: 600; }
.og-vink { align-items: flex-start; }
.og-vink input { margin-top: 3px; }
.og-vink span { display: grid; }
.og-vink small { color: var(--vaag); font-size: 12px; line-height: 1.35; }
.og-bereik { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; }

/* Sectie */
.og-week { margin: 14px 0 6px; color: var(--zacht); font-size: 13px; font-weight: 600; }
.og-week:first-of-type { margin-top: 0; }
.og-toetsen { display: grid; margin: 0; padding: 0; list-style: none; }
.og-toetsen li { display: grid; grid-template-columns: 120px 70px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid var(--lijn-licht); font-size: 13.5px; }
.og-toetsen li:first-child { border-top: 0; }
.og-toetsen li span:last-child { color: var(--zacht); }
.og-print { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.og-print b { display: block; font-size: 13.5px; }
.og-print small { color: var(--zacht); font-size: 12.5px; }
.og-uitleg { color: var(--vaag); font-size: 11.5px; }

@media (max-width: 760px) {
  .og-rolkeuze, .og-bereik { grid-template-columns: minmax(0, 1fr); }
  .og-toetsen li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .og-lijst li { flex-direction: column; }
  .og-lijst li > div:last-child { text-align: left; }
}
.og-toetsen.is-ruimte li { grid-template-columns: 190px 170px minmax(0, 1fr); }
@media (max-width: 760px) { .og-toetsen.is-ruimte li { grid-template-columns: minmax(0, 1fr); } }
