/* =====================================================================
   Oefenen (23-11-2026): voller en kleuriger, met StudyGo als maatstaf.
   Kaarten in de vakkleur, grote zoekbalk, tabbladen, community.
   Effen kleuren, geen verlopen of gloed. Eigen klassen (oe-*).
   ===================================================================== */
.oe { --oe-roze: #DB2777; --oe-roze-zacht: #FDF2F8; --oe-inkt: #14213A; --oe-tekst: #3F4A5C; --oe-zacht: #6B7586; --oe-lijn: #E3E6EB; display: grid; gap: 22px; }

/* kop */
.oe-kop { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.oe-kop h1 { margin: 0; font-size: 30px; font-weight: 700; letter-spacing: -.02em; color: var(--oe-inkt); }
.oe-kop p { margin: 4px 0 0; max-width: 620px; color: var(--oe-tekst); font-size: 15px; }
.oe-kop-knoppen { display: flex; gap: 8px; flex-wrap: wrap; }

/* knoppen */
.oe-knop { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid var(--oe-roze); border-radius: 999px; background: var(--oe-roze); color: #FFF; font: 600 14.5px var(--ds-font); text-decoration: none; white-space: nowrap; cursor: pointer; }
.oe-knop:hover { background: #BE185D; border-color: #BE185D; }
.oe-knop svg, .oe-knop .ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.oe-knop.is-licht { border-color: var(--oe-lijn); background: #FFF; color: var(--oe-inkt); }
.oe-knop.is-licht:hover { border-color: #C9CED6; background: #F7F8FA; }
.oe-knop.is-groot { height: 48px; padding: 0 22px; font-size: 16px; }
.oe-knop.is-wit { border-color: #FFF; background: #FFF; color: var(--vk); }
.oe-knop.is-wit:hover { background: #F3F4F6; }
.oe-knop.is-glas { border-color: rgba(255, 255, 255, .55); background: transparent; color: #FFF; }
.oe-knop.is-glas:hover, .oe-knop.is-glas.is-aan { background: rgba(255, 255, 255, .16); }
.oe-knop.is-glas.is-aan svg { fill: #FFF; }
.oe-link { padding: 0; border: 0; background: none; color: var(--oe-roze); font: 600 14px var(--ds-font); text-decoration: none; cursor: pointer; }
.oe-link:hover { text-decoration: underline; }
.oe-link.is-zacht { color: var(--oe-zacht); font-weight: 500; }
.oe-link.is-gevaar { color: #B42318; }

/* zoekbalk */
.oe-zoek { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 8px 0 20px; border: 2px solid var(--oe-lijn); border-radius: 999px; background: #FFF; transition: border-color .15s; }
.oe-zoek:focus-within { border-color: var(--oe-roze); }
.oe-zoek > svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--oe-zacht); stroke-width: 2; stroke-linecap: round; }
.oe .oe-zoek input { flex: 1; min-width: 0; height: 100% !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; font: 400 16px var(--ds-font) !important; color: var(--oe-inkt) !important; outline: none; }
.oe-zoek button { height: 40px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--oe-inkt); color: #FFF; font: 600 14.5px var(--ds-font); cursor: pointer; }
.oe-zoek button:hover { background: #24314F; }

/* tabbladen */
.oe-tabs { display: flex; gap: 6px; margin-top: -6px; border-bottom: 1px solid var(--oe-lijn); }
.oe-tabs a { display: inline-flex; align-items: center; gap: 8px; margin-bottom: -1px; padding: 12px 14px; border-bottom: 3px solid transparent; color: var(--oe-tekst); font-size: 15px; font-weight: 600; text-decoration: none; }
.oe-tabs a:hover { color: var(--oe-inkt); }
.oe-tabs a.is-aan { border-bottom-color: var(--oe-roze); color: var(--oe-roze); }
.oe-tabs a span { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: #F1F3F6; color: var(--oe-tekst); font-size: 12.5px; text-align: center; }
.oe-tabs a.is-aan span { background: var(--oe-roze-zacht); color: var(--oe-roze); }

/* vandaag */
.oe-vandaag { display: grid; grid-template-columns: minmax(0, 1fr) auto; overflow: hidden; border-radius: 16px; background: #1F4FD1; color: #FFF; }
.oe-vandaag:not(.is-actief) { background: #15803D; }
.oe-vandaag-hoofd { display: flex; align-items: center; gap: 20px; padding: 24px 28px; }
.oe-vandaag-getal { display: grid; place-items: center; min-width: 64px; height: 64px; padding: 0 10px; flex: none; border-radius: 16px; background: rgba(255, 255, 255, .16); font-size: 28px; font-weight: 700; }
.oe-vandaag h2 { margin: 0; color: #FFF; font-size: 21px; font-weight: 700; }
.oe-vandaag p { margin: 3px 0 0; color: rgba(255, 255, 255, .86); font-size: 14.5px; }
.oe-vandaag .oe-knop { margin-left: auto; border-color: #FFF; background: #FFF; color: #1F4FD1; }
.oe-vandaag:not(.is-actief) .oe-knop { color: #15803D; }
.oe-vandaag-toets { display: flex; align-items: center; min-width: 280px; padding: 18px 24px; background: rgba(0, 0, 0, .14); }
.oe-toets { display: grid; gap: 4px; font-size: 14px; }
.oe-toets b { font-size: 16px; }
.oe-toets .klein-label { display: flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .8); font-size: 12.5px; font-weight: 600; }
.oe-toets .klein-label .ic { width: 15px; height: 15px; }
.oe-toets .sub, .oe-toets .toets-dekking { color: rgba(255, 255, 255, .85) !important; font-size: 13px; }
.oe-toets .link { color: #FFF !important; font-weight: 600; text-decoration: underline; }
.oe-toets .dun-balk { display: block; height: 6px; margin: 4px 0; border-radius: 3px; background: rgba(255, 255, 255, .25) !important; overflow: hidden; }
.oe-toets .dun-balk i { display: block; height: 100%; background: #FFF !important; }

/* secties */
.oe-sectie { display: grid; gap: 14px; }
.oe-sectie-kop { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.oe-sectie-kop h2 { margin: 0; color: var(--oe-inkt); font-size: 20px; font-weight: 700; }
.oe-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.oe-leeg { margin: 0; padding: 22px; border: 1px dashed #CBD2DB; border-radius: 14px; color: var(--oe-zacht); font-size: 14.5px; text-align: center; }

/* segment */
.oe-segment { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: #EEF0F3; }
.oe-segment button { height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--oe-tekst); font: 600 13.5px var(--ds-font); cursor: pointer; }
.oe-segment button[aria-pressed="true"] { background: #FFF; color: var(--oe-inkt); box-shadow: 0 1px 2px rgba(16, 24, 40, .12); }

/* eigen lijst (deck) */
.oe-deck { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--oe-lijn); border-radius: 16px; background: #FFF; color: inherit; text-decoration: none; transition: box-shadow .15s, transform .15s; }
.oe-deck:hover { box-shadow: 0 8px 22px rgba(16, 24, 40, .1); transform: translateY(-2px); }
.oe-deck-top { position: relative; display: grid; gap: 12px; padding: 14px 16px 18px; background: var(--vk); color: #FFF; }
.oe-deck-top .oe-vak, .oe-kaart-top .oe-vak { font-size: 13px; font-weight: 700; }
.oe-deck-top .oe-soort, .oe-kaart-top .oe-soort { position: absolute; top: 12px; right: 14px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .2); font-size: 11.5px; font-weight: 700; letter-spacing: .02em; }
.oe-deck-kaart { display: grid; gap: 2px; padding: 14px 16px; border-radius: 12px; background: #FFF; color: var(--oe-inkt); text-align: center; box-shadow: 0 2px 0 rgba(0, 0, 0, .12); }
.oe-deck-kaart small { overflow: hidden; color: var(--oe-zacht); font-size: 12.5px; white-space: nowrap; text-overflow: ellipsis; }
.oe-deck-kaart b { overflow: hidden; font-size: 18px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.oe-deck-teken { position: absolute; bottom: 8px; right: 12px; padding: 2px 8px; border-radius: 999px; background: #FFF; color: var(--vk); font-size: 11.5px; font-weight: 700; }
.oe-deck-lijf { display: grid; align-content: start; gap: 6px; padding: 14px 16px 16px; }
.oe-deck-lijf h3 { margin: 0; color: var(--oe-inkt); font-size: 16px; font-weight: 700; line-height: 1.3; }
.oe-deck-lijf > p { margin: 0; color: var(--oe-zacht); font-size: 13px; }
.oe-deck .stapel { display: flex; height: 8px; margin: 6px 0 2px; overflow: hidden; border-radius: 4px; background: #EEF0F3; }
.oe-deck .stapel i { display: block; }
.oe-deck .st-beheerst { background: #15803D; } .oe-deck .st-bezig { background: #F59E0B; } .oe-deck .st-nieuw { background: #E5E7EB; }
.oe-deck-voet { display: flex; justify-content: space-between; gap: 8px; margin: 0; color: var(--oe-tekst); font-size: 12.5px; }
.oe-deck-voet span { display: inline-flex; align-items: center; gap: 4px; }
.oe-deck-voet .ic { width: 14px; height: 14px; }

.oe-nieuw { display: grid; place-content: center; justify-items: center; gap: 6px; min-height: 230px; padding: 20px; border: 2px dashed #F3B7D3; border-radius: 16px; background: var(--oe-roze-zacht); color: var(--oe-roze); text-align: center; text-decoration: none; }
.oe-nieuw:hover { border-color: var(--oe-roze); }
.oe-nieuw > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--oe-roze); color: #FFF; }
.oe-nieuw .ic { width: 22px; height: 22px; }
.oe-nieuw b { font-size: 16px; }
.oe-nieuw small { max-width: 200px; color: #9D174D; font-size: 13px; }

/* gedeelde lijst (kaart) */
.oe-kaart { display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; border: 1px solid var(--oe-lijn); border-radius: 16px; background: #FFF; color: inherit; text-decoration: none; transition: box-shadow .15s, transform .15s; }
.oe-kaart:hover { box-shadow: 0 8px 22px rgba(16, 24, 40, .1); transform: translateY(-2px); }
.oe-kaart-top { position: relative; min-height: 44px; padding: 13px 16px; background: var(--vk); color: #FFF; }
.oe-kaart-lijf { display: grid; align-content: start; gap: 4px; padding: 14px 16px 10px; }
.oe-kaart-lijf h3 { margin: 0; color: var(--oe-inkt); font-size: 16px; font-weight: 700; line-height: 1.3; }
.oe-sub { margin: 0; color: var(--oe-zacht); font-size: 13px; }
.oe-voorbeeld { display: grid; gap: 4px; margin: 8px 0 0; padding: 0; list-style: none; }
.oe-voorbeeld li { min-width: 0; display: flex; justify-content: space-between; gap: 10px; padding: 6px 10px; border-radius: 8px; background: #F5F6F8; font-size: 13px; }
.oe-voorbeeld span { flex: 1 1 0; min-width: 0; overflow: hidden; color: var(--oe-tekst); white-space: nowrap; text-overflow: ellipsis; }
.oe-voorbeeld b { overflow: hidden; flex: 0 1 auto; min-width: 0; max-width: 60%; text-align: right; color: var(--oe-inkt); font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.oe-kaart-voet { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 16px 14px; }
.oe-maker { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--oe-tekst); font-size: 13px; font-weight: 500; }
.oe-maker > i { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; color: #FFF; font-size: 11px; font-style: normal; font-weight: 700; }
.oe-maker > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.oe-maker em, .oe-band-maker em { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #EEF2FC; color: #1F4FD1; font-size: 11px; font-style: normal; font-weight: 700; }
.oe-tel { display: flex; gap: 10px; color: var(--oe-zacht); font-size: 12.5px; font-weight: 600; }
.oe-tel span { display: inline-flex; align-items: center; gap: 3px; }
.oe-tel svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.oe-tel .is-aan { color: #D97706; }
.oe-tel .is-aan svg { fill: #F59E0B; stroke: #D97706; }

/* ontdekken: filters */
.oe-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.oe-chips button { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border: 1px solid var(--oe-lijn); border-radius: 999px; background: #FFF; color: var(--oe-inkt); font: 600 13.5px var(--ds-font); cursor: pointer; }
.oe-chips button i { width: 10px; height: 10px; border-radius: 50%; background: var(--vk); }
.oe-chips button span { color: var(--oe-zacht); font-weight: 500; }
.oe-chips button:hover { border-color: #C9CED6; }
.oe-chips button[aria-pressed="true"] { border-color: var(--vk, var(--oe-inkt)); background: var(--vk, var(--oe-inkt)); color: #FFF; }
.oe-chips button[aria-pressed="true"] i { background: #FFF; }
.oe-chips button[aria-pressed="true"] span { color: rgba(255, 255, 255, .85); }
.oe-filters { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 12px 0 8px; }
.oe-sort { display: inline-flex; align-items: center; gap: 8px; color: var(--oe-tekst); font-size: 13.5px; font-weight: 500; }
.oe-sort select { height: 36px; padding: 0 30px 0 12px; border-radius: 999px; }

/* gedeelde lijst: band */
.oe-band { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 28px 32px; border-radius: 18px; background: var(--vk); color: #FFF; }
.oe-band h1 { margin: 2px 0 4px; color: #FFF; font-size: 30px; font-weight: 700; letter-spacing: -.01em; }
.oe-band p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 15px; }
.oe-band-vak { font-size: 13.5px !important; font-weight: 700; }
.oe-band-maker { display: flex; align-items: center; gap: 8px; margin-top: 14px !important; color: #FFF !important; font-weight: 600; }
.oe-band-maker i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #FFF; color: var(--vk); font-size: 11.5px; font-style: normal; font-weight: 700; }
.oe-band-knoppen { display: flex; gap: 8px; flex-wrap: wrap; }
.oe-band-knoppen .oe-knop { height: 46px; padding: 0 22px; font-size: 15.5px; }
.oe-band-knoppen svg { fill: none; }

.oe-cijfers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.oe-cijfers li { display: grid; gap: 2px; padding: 14px 18px; border: 1px solid var(--oe-lijn); border-radius: 14px; background: #FFF; }
.oe-cijfers b { color: var(--oe-inkt); font-size: 24px; font-weight: 700; }
.oe-cijfers span { color: var(--oe-zacht); font-size: 13px; }

.oe-twee { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.oe-zij { display: grid; gap: 14px; }
.oe-paneel { overflow: hidden; border: 1px solid var(--oe-lijn); border-radius: 14px; background: #FFF; }
.oe-paneel-kop { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid #EEF0F2; }
.oe-paneel-kop h2 { margin: 0; color: var(--oe-inkt); font-size: 16px; font-weight: 700; }
.oe-paneel-kop span { color: var(--oe-zacht); font-size: 13px; }
.oe-tabel { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.oe-tabel th { padding: 10px 18px; background: #F7F8FA; color: var(--oe-zacht); font-size: 12.5px; font-weight: 700; text-align: left; text-transform: uppercase; letter-spacing: .04em; }
.oe-tabel td { padding: 11px 18px; border-top: 1px solid #EEF0F2; color: var(--oe-inkt); vertical-align: top; }
.oe-tabel td + td { font-weight: 600; }
.oe-uitleg { margin: 0; padding: 14px 18px 16px; color: var(--oe-tekst); font-size: 14px; line-height: 1.5; }
.oe-mini { margin: 0; padding: 6px; list-style: none; }
.oe-mini a { display: grid; gap: 1px; padding: 9px 12px; border-radius: 10px; color: inherit; text-decoration: none; }
.oe-mini a:hover { background: #F5F6F8; }
.oe-mini b { color: var(--oe-inkt); font-size: 14px; }
.oe-mini small { color: var(--oe-zacht); font-size: 12.5px; }
.oe-zij > .oe-link { justify-self: start; padding: 0 4px; }

/* lijstpagina: delen */
.lijst-kop-knoppen { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.oe-gedeeld { display: inline-flex; align-items: center; gap: 10px; }
.lijst-kop-knoppen .oe-knop { height: 36px; font-size: 14px; }

/* samen oefenen */
.oe-mix { display: grid; gap: 16px; }
.oe-mix-lijsten { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.oe-mix-lijsten label { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--oe-lijn); border-radius: 14px; background: #FFF; cursor: pointer; }
.oe-mix-lijsten input { position: absolute; opacity: 0; }
.oe-mix-lijsten i { width: 22px; height: 22px; flex: none; border: 2px solid #C9CED6; border-radius: 6px; }
.oe-mix-lijsten span { display: grid; gap: 1px; min-width: 0; }
.oe-mix-lijsten b { color: var(--oe-inkt); font-size: 15px; }
.oe-mix-lijsten small { color: var(--oe-zacht); font-size: 13px; }
.oe-mix-lijsten label:has(input:checked) { border-color: var(--vk); background: color-mix(in srgb, var(--vk) 7%, #FFF); box-shadow: inset 0 0 0 1px var(--vk); }
.oe-mix-lijsten input:checked + i { border-color: var(--vk); background: var(--vk) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; }
.oe-mix-lijsten input:focus-visible + i { box-shadow: var(--ds-focus); }
.oe-mix-voet { position: sticky; bottom: 12px; display: flex; align-items: center; gap: 16px; padding: 12px 12px 12px 20px; border: 1px solid var(--oe-lijn); border-radius: 999px; background: #FFF; box-shadow: 0 6px 20px rgba(16, 24, 40, .1); }
.oe-mix-voet .oe-knop { margin-left: auto; }

@media (prefers-reduced-motion: reduce) { .oe-deck, .oe-kaart { transition: none; } .oe-deck:hover, .oe-kaart:hover { transform: none; } }
@media (max-width: 900px) {
  .oe-twee { grid-template-columns: 1fr; }
  .oe-vandaag { grid-template-columns: 1fr; }
  .oe-cijfers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .oe { gap: 16px; }
  .oe-kop h1 { font-size: 24px; }
  .oe-zoek { height: 48px; padding-left: 14px; }
  .oe-zoek button { display: none; }
  .oe-tabs { overflow-x: auto; }
  .oe-vandaag-hoofd { flex-wrap: wrap; padding: 18px; }
  .oe-vandaag .oe-knop { margin-left: 0; width: 100%; justify-content: center; }
  .oe-raster { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .oe-band { padding: 20px; }
  .oe-band h1 { font-size: 24px; }
  .oe-mix-voet { border-radius: 16px; flex-wrap: wrap; }
}


/* foto naar lijst (editor) */
.foto-kies { position: relative; display: grid; justify-items: center; gap: 6px; padding: 28px 20px; border: 2px dashed #F3B7D3; border-radius: 14px; background: #FDF2F8; text-align: center; cursor: pointer; }
.foto-kies:hover { border-color: #DB2777; }
.foto-kies[hidden] { display: none; }
.foto-kies input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.foto-kies-ikoon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #DB2777; }
.foto-kies-ikoon svg { width: 26px; height: 26px; fill: none; stroke: #FFF; stroke-width: 1.8; stroke-linejoin: round; }
.foto-kies b { color: #14213A; font-size: 15.5px; }
.foto-kies small { max-width: 380px; color: #6B7586; font-size: 13.5px; }
.foto-kies:focus-within { box-shadow: var(--ds-focus); }
.foto-voorbeeld { display: grid; justify-items: start; gap: 8px; }
.foto-voorbeeld[hidden] { display: none; }
.foto-voorbeeld img { max-width: 100%; max-height: 360px; border: 1px solid #E3E6EB; border-radius: 10px; object-fit: contain; }
.foto-status { min-height: 1.2em; margin: 10px 0 0; }

/* laptop (lage schermen): compacter, zodat er meer lijsten in beeld passen */
@media (min-width: 761px) and (max-height: 900px) {
  .oe { gap: 16px; }
  .oe-kop h1 { font-size: 26px; }
  .oe-kop p { font-size: 14px; }
  .oe-zoek { height: 48px; }
  .oe-zoek button { height: 36px; }
  .oe-tabs { margin-top: -4px; }
  .oe-tabs a { padding: 9px 12px; }
  .oe-vandaag-hoofd { padding: 16px 22px; gap: 16px; }
  .oe-vandaag-getal { min-width: 52px; height: 52px; font-size: 23px; border-radius: 13px; }
  .oe-vandaag h2 { font-size: 18px; }
  .oe-knop.is-groot { height: 42px; font-size: 15px; }
  .oe-deck-top { padding: 12px 14px 14px; gap: 10px; }
  .oe-deck-kaart { padding: 10px 12px; }
  .oe-deck-kaart b { font-size: 16px; }
  .oe-band { padding: 22px 26px; }
  .oe-band h1 { font-size: 26px; }
  .oe-cijfers li { padding: 10px 14px; }
  .oe-cijfers b { font-size: 20px; }
  .oe-nieuw { min-height: 200px; }
}
