.ijsot {
  --ijsot-navy: #00257a;
  --ijsot-blauw: #3777ab;
  --ijsot-ijs: #eaf2f9;
  --ijsot-lijn: #d9e3ed;
  --ijsot-tekst: #1b2a41;
  --ijsot-zacht: #566577;
  --ijsot-accent: #ff9500;
  box-sizing: border-box;
  color: var(--ijsot-tekst);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.45;
  max-width: 100%;
}
.ijsot *, .ijsot *::before, .ijsot *::after { box-sizing: border-box; }
.ijsot ul, .ijsot ol { list-style: none; margin: 0; padding: 0; }
.ijsot h2, .ijsot h3, .ijsot p { margin: 0; padding: 0; }
.ijsot button { font: inherit; margin: 0; cursor: pointer; }
.ijsot :focus-visible { outline: 3px solid var(--ijsot-accent); outline-offset: 2px; }
.ijsot-laden { min-height: 280px; border-radius: 12px; background: var(--ijsot-ijs); }
.ijsot--vandaag .ijsot-laden, .ijsot--kalender .ijsot-laden { min-height: 0; background: none; }
/* Vaste hoogte vooraf, zodat de pagina niet verspringt als de tijden binnenkomen. */
.ijsot--vandaag { min-height: calc(133px + var(--ijsot-rijen, 3) * 38px); }
.ijsot--kalender { min-height: 540px; }
.ijsot-fout { padding: 16px; border: 1px solid var(--ijsot-lijn); border-radius: 12px; }
.ijsot-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.ijsot-knop {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px;
  border-radius: 999px; background: var(--ijsot-navy); color: #fff !important; font-weight: 700; text-decoration: none !important;
}
.ijsot-knop:hover { background: var(--ijsot-blauw); }
.ijsot-link { color: var(--ijsot-navy) !important; font-weight: 700; }
.ijsot-voorbehoud { color: var(--ijsot-zacht); font-size: 14px; }
.ijsot-voet { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.ijsot-noot, .ijsot-baannoot { color: var(--ijsot-zacht); font-size: 14px; }
.ijsot-noot { margin-left: 8px; }
.ijsot-leeg { color: var(--ijsot-zacht); }
.ijsot-tijd { font-variant-numeric: tabular-nums; }
.ijsot-melding { margin-top: 8px !important; padding: 8px 12px !important; border-left: 3px solid var(--ijsot-accent); background: #fff6e8; font-weight: 600; }
.ijsot-melding--bord { margin: 0 !important; }

.ijsot-kop { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ijsot-kop strong { text-align: center; }
.ijsot-pijl {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none;
  padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--ijsot-navy);
}
.ijsot-pijl:hover { background: var(--ijsot-ijs); }

/* Variant 1: kalender */
.ijsot--kalender { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.ijsot--kalender .ijsot-laden { grid-column: 1 / -1; }
.ijsot-dagblok h2 { color: var(--ijsot-navy); font-size: 26px; line-height: 1.2; font-weight: 800; }
.ijsot-dagblok h2::first-letter { text-transform: uppercase; }
.ijsot-baan { padding: 16px 0; border-bottom: 1px solid var(--ijsot-lijn); }
.ijsot-baan h3 { font-size: 18px; font-weight: 700; color: var(--ijsot-navy); margin-bottom: 4px; }
.ijsot-baan li + li { margin-top: 2px; }
.ijsot-baannoot { margin-top: 4px; }
.ijsot-dagblok .ijsot-voorbehoud { margin-top: 12px; }
.ijsot-zij { display: grid; gap: 12px; }
.ijsot-zij .ijsot-knop { width: 100%; }
.ijsot-kaart { padding: 12px; border-radius: 16px; background: var(--ijsot-ijs); }
.ijsot-kaart .ijsot-kop { padding: 4px 4px 12px; color: var(--ijsot-navy); }
.ijsot-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.ijsot-wd { padding: 4px 0; text-align: center; font-size: 13px; font-weight: 700; color: var(--ijsot-zacht); }
.ijsot-dag {
  position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; min-height: 40px; padding: 0;
  border: 0; border-radius: 10px; background: #fff; color: var(--ijsot-tekst); font-variant-numeric: tabular-nums;
}
.ijsot-dag:hover { background: #d6e6f3; }
.ijsot-dag.is-vandaag { box-shadow: inset 0 0 0 2px var(--ijsot-blauw); }
.ijsot-dag.is-dicht { background: transparent; color: #7c8a9a; }
.ijsot-dag.is-speciaal::after { content: ""; position: absolute; bottom: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--ijsot-accent); }
.ijsot-dag.is-gekozen { background: var(--ijsot-navy); color: #fff; }

.ijsot-datumbalk { display: none; }
.ijsot-datumstap { display: flex; flex: 1; min-width: 0; align-items: center; justify-content: space-between; gap: 6px; padding: 8px; border-radius: 14px; background: var(--ijsot-navy); color: #fff; }
.ijsot-datumstap strong { min-width: 0; text-align: center; line-height: 1.2; }
.ijsot-datumstap strong::first-letter { text-transform: uppercase; }
.ijsot-datumstap .ijsot-pijl { width: 32px; height: 32px; }
.ijsot-kalknop { display: inline-flex; align-items: center; justify-content: center; width: 56px; flex: none; padding: 0; border: 0; border-radius: 14px; background: var(--ijsot-blauw); color: #fff; }
.ijsot-kalknop[aria-expanded="true"] { background: var(--ijsot-navy); }

/* Variant 2: week */
.ijsot--week { display: grid; gap: 16px; }
.ijsot--week .ijsot-kop { padding: 8px; border-radius: 14px; background: var(--ijsot-ijs); color: var(--ijsot-navy); }
.ijsot-tabel { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; }
.ijsot-tabel th, .ijsot-tabel td { padding: 10px 8px; border: 0; border-bottom: 1px solid var(--ijsot-lijn); vertical-align: top; text-align: left; background: none; }
.ijsot-tabel thead th { color: var(--ijsot-navy); }
.ijsot-tabel thead th span { display: block; text-transform: capitalize; }
.ijsot-tabel thead small { font-weight: 400; color: var(--ijsot-zacht); }
.ijsot-tabel tbody th { color: var(--ijsot-navy); font-weight: 700; }
.ijsot-tabel .is-vandaag { background: var(--ijsot-ijs); }
.ijsot-tabel td li + li { margin-top: 6px; }
.ijsot-tabel .ijsot-noot { display: block; margin: 0; font-size: 12px; }
.ijsot-kaarten { display: none; gap: 10px; }
.ijsot-daykaart { padding: 14px; border: 1px solid var(--ijsot-lijn); border-radius: 14px; }
.ijsot-daykaart.is-vandaag { border-color: var(--ijsot-navy); box-shadow: inset 0 0 0 1px var(--ijsot-navy); }
.ijsot-daykaart h3 { color: var(--ijsot-navy); font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.ijsot-daykaart h3::first-letter { text-transform: uppercase; }
.ijsot-rij { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 6px 0; }
.ijsot-rij + .ijsot-rij { border-top: 1px solid var(--ijsot-lijn); }
.ijsot-rij ul { text-align: right; }
.ijsot-rij .ijsot-noot { display: block; margin: 0; }

/* Variant 3: ijsbord */
.ijsot--ijsbord { overflow: hidden; border: 1px solid var(--ijsot-lijn); border-radius: 20px; background: #fff; box-shadow: 0 18px 50px rgba(0, 37, 122, .12); }
.ijsot-bordkop { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--ijsot-lijn); color: var(--ijsot-navy); }
.ijsot-bordkop strong::first-letter { text-transform: uppercase; }
.ijsot-tabs { display: flex; gap: 2px; }
.ijsot-tabs button { min-width: 40px; height: 38px; padding: 0 8px; border: 0; border-radius: 999px; background: none; color: var(--ijsot-zacht); font-weight: 600; font-size: 14px; text-transform: capitalize; }
.ijsot-tabs button:hover { background: var(--ijsot-ijs); }
.ijsot-tabs button[aria-selected="true"] { background: var(--ijsot-navy); color: #fff; }
.ijsot-banen > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px 20px; }
.ijsot-banen > li + li { border-top: 1px solid var(--ijsot-lijn); }
.ijsot-baannaam { font-weight: 700; color: var(--ijsot-navy); }
.ijsot-banen .ijsot-baannaam { font-size: 18px; }
.ijsot-banen ul { color: var(--ijsot-zacht); font-size: 14px; }
.ijsot-status { margin-top: 2px; color: var(--ijsot-blauw); font-size: 14px; font-weight: 600; }
.ijsot-pil { padding: 5px 12px; border-radius: 999px; background: var(--ijsot-ijs); color: var(--ijsot-zacht); font-size: 14px; font-weight: 700; }
.ijsot-pil.is-open { background: var(--ijsot-navy); color: #fff; }
.ijsot-dweil { padding: 18px 20px; background: var(--ijsot-navy); color: #fff; }
.ijsot-dweilkop { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.ijsot-dweilkop small { color: rgba(255, 255, 255, .72); }
.ijsot-dweil p { margin-top: 6px; font-size: 20px; font-weight: 700; line-height: 1.25; }
.ijsot-dweil ol { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ijsot-dweil li { padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 13px; font-variant-numeric: tabular-nums; }
.ijsot-dweil li.is-voorbij { background: none; color: rgba(255, 255, 255, .62); }
.ijsot-dweil li.is-volgende { background: #fff; color: var(--ijsot-navy); font-weight: 700; }
.ijsot--ijsbord .ijsot-voet { padding: 14px 20px; justify-content: flex-end; }

/* Variant 4: vandaag */
.ijsot--vandaag { padding: 18px 20px; border-radius: 16px; background: var(--ijsot-ijs); }
.ijsot-compactkop { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; color: var(--ijsot-navy); }
.ijsot-compactkop strong { font-size: 20px; }
.ijsot-compact { margin-top: 10px !important; }
.ijsot-compact li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 7px 0; }
.ijsot-compact li + li { border-top: 1px solid var(--ijsot-lijn); }
.ijsot-stip { width: 10px; height: 10px; border-radius: 50%; background: #9aa8b6; }
.ijsot-stip.is-open { background: var(--ijsot-navy); }
.ijsot-compacttijd { text-align: right; font-variant-numeric: tabular-nums; }
.ijsot--vandaag .ijsot-voet { margin-top: 12px; }

@media (max-width: 860px) {
  .ijsot--kalender { grid-template-columns: minmax(0, 1fr); gap: 12px; min-height: calc(130px + var(--ijsot-rijen, 3) * 110px); }
  .ijsot-datumbalk { display: flex; gap: 8px; order: 1; }
  .ijsot--kalender .ijsot-zij { display: contents; }
  .ijsot--kalender .ijsot-kaart { display: none; order: 2; }
  .ijsot--kalender .ijsot-kaart.is-uitgeklapt { display: block; }
  .ijsot--kalender .ijsot-dagblok { order: 3; }
  .ijsot--kalender .ijsot-dagblok h2 { display: none; }
  .ijsot--kalender .ijsot-baan:first-of-type { padding-top: 4px; }
  .ijsot--kalender .ijsot-knop { order: 4; width: 100%; }
  .ijsot-tabel { display: none; }
  .ijsot-kaarten { display: grid; }
}
@media (max-width: 480px) {
  .ijsot--vandaag { min-height: calc(168px + var(--ijsot-rijen, 3) * 71px); }
  .ijsot-compact li { grid-template-columns: 10px minmax(0, 1fr); }
  .ijsot-compacttijd { grid-column: 2; text-align: left; }
  .ijsot-tabs { width: 100%; justify-content: space-between; }
  .ijsot-tabs button { min-width: 0; flex: 1; }
}
@media print {
  .ijsot-pijl, .ijsot-knop { display: none; }
}
