.m-opleidingen .ok { color: var(--ok); }
.m-opleidingen .op-head { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.op-logo { width: 40px; height: 40px; border-radius: 11px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 800; letter-spacing: -.02em; flex: none; }
.op-logo.sm { width: 28px; height: 28px; border-radius: 8px; font-size: 12px; }
.m-opleidingen .op-brand { display: flex; gap: 11px; align-items: center; }
.m-opleidingen .op-brand div { display: grid; line-height: 1.3; }
.m-opleidingen .op-brand b { font-size: 16px; }
.m-opleidingen .op-head-kpis { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.m-opleidingen .op-head-kpis div { display: grid; padding: 7px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); line-height: 1.3; }
.m-opleidingen .op-head-kpis span { font-size: 11.5px; color: var(--muted); }
.m-opleidingen .op-head-kpis b { font-size: 16px; }
.m-opleidingen .op-tabs .tab { display: inline-flex; gap: 7px; align-items: center; }
.m-opleidingen .op-tabn:empty { display: none; }
.m-opleidingen .op-tabn { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 11.5px; display: inline-grid; place-items: center; }
.m-opleidingen .op-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.m-opleidingen .op-fc { width: auto; min-width: 220px; }
.m-opleidingen .op-note { margin-top: 10px; }
.m-opleidingen .op-mb, .op-mb { margin-bottom: 10px; }
.op-ctag { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px 2px 7px; border-radius: 999px; font-size: 12px; font-weight: 650; background: hsl(var(--h) 70% 95%); color: hsl(var(--h) 55% 32%); white-space: nowrap; }
.op-ctag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: hsl(var(--h) 65% 48%); }
.m-opleidingen .is-flash td, .m-opleidingen li.is-flash { animation: opFlash 1.6s ease; }
@keyframes opFlash { 0%, 40% { background: var(--accent-soft); } 100% { background: transparent; } }

/* sessies */
.op-date { width: 58px; flex: none; display: grid; justify-items: center; padding: 7px 0; border-radius: 11px; background: var(--panel-2); border: 1px solid var(--line); line-height: 1.15; }
.op-date span { font-size: 11px; color: var(--muted); text-transform: uppercase; font-weight: 650; letter-spacing: .03em; }
.op-date b { font-size: 21px; }
.m-opleidingen .op-sessions { display: grid; gap: 10px; }
.m-opleidingen .op-sess { display: grid; grid-template-columns: auto minmax(0, 1fr) 220px auto; gap: 16px; align-items: center; padding: 14px 16px; transition: border-color .15s, box-shadow .2s; }
.m-opleidingen .op-sess:hover { border-color: #cfd4dc; }
.m-opleidingen .op-sess.is-today { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow); }
.m-opleidingen .op-sess.is-today .op-date { background: var(--accent); border-color: var(--accent); }
.m-opleidingen .op-sess.is-today .op-date span, .m-opleidingen .op-sess.is-today .op-date b { color: #fff; }
.m-opleidingen .op-sess-main { display: grid; gap: 3px; }
.m-opleidingen .op-sess-main .row { gap: 6px; }
.m-opleidingen .op-sess-title { font-size: 15.5px; }
.m-opleidingen .op-cap { display: grid; gap: 5px; }
.m-opleidingen .op-cap .row { gap: 5px; }
.m-opleidingen .op-capbar { height: 7px; border-radius: 9px; background: var(--line-2); overflow: hidden; }
.m-opleidingen .op-capbar span { display: block; height: 100%; border-radius: 9px; transition: width .4s; }
.m-opleidingen .op-full { color: var(--bad); font-weight: 650; }
.m-opleidingen .op-sess-act { display: flex; gap: 6px; }
.op-enroll-s { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line-2); }
.op-enroll-s > div:last-child { display: grid; line-height: 1.4; }
.op-err { color: var(--bad); }

/* aanwezigheid */
.m-opleidingen .op-aanw { display: grid; grid-template-columns: 290px 340px minmax(0, 1fr); gap: 16px; align-items: start; }
.m-opleidingen .op-poster { text-align: center; display: grid; justify-items: center; gap: 8px; padding: 20px 18px; background: linear-gradient(180deg, var(--accent-soft), var(--panel) 45%); }
.m-opleidingen .op-poster-top { display: flex; gap: 8px; align-items: center; }
.m-opleidingen .op-poster h3 { font-size: 26px !important; font-weight: 800 !important; letter-spacing: -.02em; margin-top: 6px; }
.m-opleidingen .op-poster-c { font-weight: 650; color: var(--accent); }
.m-opleidingen .op-qr { padding: 12px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.m-opleidingen .op-qr .qr { width: 200px; height: 200px; }
.m-opleidingen .op-poster-meta { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.m-opleidingen .op-poster-meta span { padding: 3px 9px; border-radius: 99px; background: var(--panel-2); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; }
.m-opleidingen .op-phonewrap { display: grid; gap: 8px; }
.m-opleidingen .op-phone-cap { text-align: center; }
.m-opleidingen .phone { height: 640px; }
.m-opleidingen .op-ph { padding: 16px; display: flex; flex-direction: column; gap: 12px; min-height: 100%; animation: opIn .3s ease both; }
.m-opleidingen .op-ph-scan { justify-content: center; text-align: center; background: #0f141b; color: #e6e9ee; }
.m-opleidingen .op-cam { aspect-ratio: 1; border-radius: 18px; background: radial-gradient(circle at 40% 30%, #2a3442, #10151c); display: grid; place-items: center; overflow: hidden; }
.m-opleidingen .op-cam-frame { position: relative; width: 70%; aspect-ratio: 1; display: grid; place-items: center; }
.m-opleidingen .op-cam-frame > span { position: absolute; width: 28px; height: 28px; border: 4px solid #fff; border-radius: 4px; }
.m-opleidingen .op-cam-frame > span:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.m-opleidingen .op-cam-frame > span:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.m-opleidingen .op-cam-frame > span:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.m-opleidingen .op-cam-frame > span:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.m-opleidingen .op-cam-qr { opacity: .55; transform: rotate(-6deg) scale(.9); transition: opacity .3s, transform .4s; }
.m-opleidingen .op-cam-line { position: absolute; left: 6%; right: 6%; height: 2px; background: var(--accent); box-shadow: 0 0 12px 2px var(--accent); top: 50%; opacity: 0; }
.m-opleidingen .op-cam.is-scanning .op-cam-qr { opacity: 1; transform: none; }
.m-opleidingen .op-cam.is-scanning .op-cam-line { opacity: 1; animation: opScan .45s ease-in-out infinite alternate; }
@keyframes opScan { from { top: 12%; } to { top: 86%; } }
.m-opleidingen .op-ph-scan p { font-size: 14px; color: #b9c0cb; }
.m-opleidingen .op-ph-hero { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 14px; background: var(--accent); color: #fff; }
.m-opleidingen .op-ph-hero .op-logo { background: #fff; color: var(--accent); }
.m-opleidingen .op-ph-hero div { display: grid; line-height: 1.3; }
.m-opleidingen .op-ph-hero span { font-size: 12.5px; opacity: .9; }
.m-opleidingen .op-ph-search .input { font-size: 16px; padding: 11px 13px; border-radius: 12px; }
.m-opleidingen .op-ph-lbl { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.m-opleidingen .op-ph-names { display: grid; gap: 6px; }
.m-opleidingen .op-ph-name { display: flex; gap: 10px; align-items: center; width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); cursor: pointer; text-align: left; transition: border-color .15s, background .15s; }
.m-opleidingen .op-ph-name:hover { border-color: var(--accent); background: var(--accent-soft); }
.m-opleidingen .op-ph-name span:last-child { display: grid; line-height: 1.3; }
.m-opleidingen .op-ph-name small { color: var(--muted); font-size: 12px; }
.m-opleidingen .op-ph-empty, .m-opleidingen .op-ph-nf p { text-align: center; color: var(--muted); font-size: 13.5px; padding: 8px; }
.m-opleidingen .op-ph-nf { display: grid; gap: 8px; }
.m-opleidingen .op-ph-ok { align-items: center; justify-content: center; text-align: center; background: linear-gradient(180deg, var(--ok-soft), var(--bg) 60%); }
.m-opleidingen .op-ph-check { width: 78px; height: 78px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; animation: opPop .5s ease both; box-shadow: 0 10px 26px rgba(29, 154, 85, .35); }
.m-opleidingen .op-ph-check svg { width: 42px; height: 42px; }
.m-opleidingen .op-ph-ok h4 { font-size: 22px; margin: 0; }
.m-opleidingen .op-ph-card { display: grid; gap: 4px; width: 100%; padding: 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); font-size: 13px; text-align: left; }
.m-opleidingen .op-ph-card span:first-child { font-weight: 700; font-size: 14px; }
.m-opleidingen .op-av { width: 34px; height: 34px; border-radius: 50%; background: var(--line-2); color: var(--muted); display: grid; place-items: center; font-size: 12.5px; font-weight: 700; flex: none; }
.m-opleidingen .op-av.ok { background: var(--ok); color: #fff; }
.m-opleidingen .op-av svg { width: 18px; height: 18px; }
.m-opleidingen .op-att-sum { display: grid; gap: 6px; padding: 12px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line-2); margin-bottom: 10px; }
.m-opleidingen .op-att-big { display: flex; align-items: baseline; gap: 8px; }
.m-opleidingen .op-att-big b { font-size: 30px; letter-spacing: -.03em; }
.m-opleidingen .op-att-big span { color: var(--muted); }
.m-opleidingen .op-att-bar { height: 8px; border-radius: 9px; background: var(--line); overflow: hidden; }
.m-opleidingen .op-att-bar span { display: block; height: 100%; background: var(--ok); border-radius: 9px; transition: width .5s; }
.m-opleidingen .op-att { list-style: none; margin: 0; padding: 0; display: grid; max-height: 470px; overflow-y: auto; }
.m-opleidingen .op-att li { display: flex; gap: 10px; align-items: center; padding: 8px 6px; border-bottom: 1px solid var(--line-2); border-radius: 8px; }
.m-opleidingen .op-att li:last-child { border-bottom: 0; }
.m-opleidingen .op-att li:not(.is-here) .op-att-n b { color: var(--muted); font-weight: 600; }
.m-opleidingen .op-att-n { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.m-opleidingen .op-att-n small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-opleidingen .op-att-t { font-family: var(--mono); font-weight: 600; color: var(--ok); font-size: 13.5px; }

/* attesten */
.m-opleidingen .op-attest-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.m-opleidingen .op-att-table td { vertical-align: middle; }
.m-opleidingen .op-nr { color: var(--accent); }
.m-opleidingen .op-verify .card-head svg { color: var(--accent); }
.m-opleidingen .op-vform { display: flex; gap: 8px; margin: 12px 0 10px; }
.m-opleidingen .op-vres { display: grid; gap: 2px; padding: 12px; border-radius: 10px; font-size: 13.5px; animation: opIn .3s ease both; }
.m-opleidingen .op-vres.ok { background: var(--ok-soft); color: color-mix(in srgb, var(--ok) 75%, black); }
.m-opleidingen .op-vres.bad { background: var(--bad-soft); color: var(--bad); }
.m-opleidingen .op-vres b { font-size: 15px; }

/* hernieuwingen */
.m-opleidingen .op-kpis { margin-bottom: 14px; }
.m-opleidingen .op-kpi-acc { background: linear-gradient(150deg, var(--accent-soft), var(--panel) 70%); border-color: color-mix(in srgb, var(--accent) 25%, var(--line)); }
.m-opleidingen .op-hern .card-head { flex-wrap: wrap; }
.op-mail { display: grid; gap: 12px; }
.op-mail-meta { display: grid; gap: 6px; padding: 10px 12px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line-2); font-size: 13.5px; }
.op-mail-meta span { display: inline-block; width: 90px; color: var(--muted); }
.op-mail-body { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; line-height: 1.6; background: #fff; }
.op-mail-cta { display: grid; justify-items: start; gap: 4px; margin-top: 14px; }

/* kmo */
.m-opleidingen .op-kmo-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.m-opleidingen .op-kmo-k { display: grid; gap: 2px; text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); border-top: 4px solid var(--t); background: var(--panel); cursor: pointer; font: inherit; color: inherit; transition: box-shadow .2s, transform .15s; }
.m-opleidingen .op-kmo-k:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.m-opleidingen .op-kmo-k.is-on { box-shadow: 0 0 0 3px var(--accent-soft); border-color: var(--accent); border-top-color: var(--t); }
.m-opleidingen .op-kmo-k span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.m-opleidingen .op-kmo-k b { font-size: 24px; letter-spacing: -.02em; }
.m-opleidingen .op-kmo-k small { color: var(--muted); }
.m-opleidingen .op-kmo-groups { display: grid; gap: 12px; }
.m-opleidingen .op-kmo-g .card-head { align-items: flex-start; flex-wrap: wrap; }
.m-opleidingen .op-kmo-sum { display: grid; text-align: right; line-height: 1.3; }
.m-opleidingen .op-kmo-sum span { font-size: 12.5px; color: var(--muted); }
.m-opleidingen .op-st { width: auto; padding: 5px 28px 5px 10px; font-size: 13px; font-weight: 600; border-radius: 999px; }
.m-opleidingen .op-st-niet-ingediend { background: var(--line-2); color: var(--muted); }
.m-opleidingen .op-st-ingediend { background: var(--info-soft); color: var(--info); border-color: transparent; }
.m-opleidingen .op-st-goedgekeurd { background: var(--warn-soft); color: color-mix(in srgb, var(--warn) 85%, black); border-color: transparent; }
.m-opleidingen .op-st-uitbetaald { background: var(--ok-soft); color: var(--ok); border-color: transparent; }

/* attest (A4, staat in de print-overlay) */
.op-cert { height: 100%; }
.op-cert-border { border: 2px solid var(--accent); outline: 6px solid color-mix(in srgb, var(--accent) 12%, white); outline-offset: 4px; border-radius: 6px; padding: 14mm 12mm 8mm; min-height: 255mm; display: flex; flex-direction: column; gap: 10mm; position: relative; background: radial-gradient(circle at 100% 0, color-mix(in srgb, var(--accent) 7%, white), #fff 45%); }
.op-cert-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.op-cert-brand { display: flex; gap: 10px; align-items: center; }
.op-cert-brand div { display: grid; font-size: 12px; line-height: 1.35; color: #555; }
.op-cert-brand b { font-size: 15px; color: #111; }
.op-cert-nr { display: grid; text-align: right; font-size: 11px; color: #666; }
.op-cert-nr b { font-family: var(--mono); font-size: 14px; color: #111; }
.op-cert-main { text-align: center; display: grid; gap: 6px; font-size: 15px; color: #333; margin-top: 6mm; }
.op-cert-kicker { text-transform: uppercase; letter-spacing: .22em; font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 6mm !important; }
.op-cert .op-cert-name { font-size: 38px; font-weight: 800; letter-spacing: -.02em; color: #111; margin: 4mm 0; font-family: Georgia, 'Times New Roman', serif; }
.op-cert .op-cert-course { font-size: 24px; color: var(--accent); margin: 3mm 0; }
.op-cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; padding: 5mm 0; }
.op-cert-grid div { display: grid; gap: 2px; text-align: center; }
.op-cert-grid span { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: #777; }
.op-cert-grid b { font-size: 13.5px; }
.op-cert-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: auto; }
.op-cert-qr { display: flex; gap: 10px; align-items: center; max-width: 280px; font-size: 11.5px; color: #555; }
.op-cert-sig { display: grid; justify-items: center; font-size: 12px; color: #555; }
.op-cert-sig svg { border-bottom: 1px solid #999; margin-bottom: 4px; }
.op-cert-sig b { color: #111; }
.op-cert-demo { text-align: center; font-size: 10.5px; color: #999; }
@media (max-width: 640px) {
  .op-cert-border { padding: 16px 12px; min-height: 0; gap: 16px; }
  .op-cert .op-cert-name { font-size: 28px; }
  .op-cert .op-cert-course { font-size: 19px; }
  .op-cert-grid { grid-template-columns: 1fr 1fr; }
  .op-cert-head, .op-cert-foot { flex-direction: column; align-items: center; }
  .op-cert-nr { text-align: center; }
}

/* affiche */
.op-a4poster { text-align: center; display: grid; justify-items: center; gap: 8mm; padding-top: 10mm; }
.op-a4p-top { display: flex; gap: 10px; align-items: center; font-size: 18px; }
.op-a4poster h1 { font-size: 64px; letter-spacing: -.03em; }
.op-a4p-c { font-size: 26px; font-weight: 700; color: var(--accent); }
.op-a4p-qr .qr { width: 340px; height: 340px; max-width: 100%; }
.op-a4p-txt { font-size: 20px; }
.op-a4p-meta { font-size: 15px; color: #555; }

@keyframes opIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@keyframes opPop { 0% { transform: scale(.5); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }

@media (max-width: 1240px) {
  .m-opleidingen .op-aanw { grid-template-columns: minmax(0, 1fr) 340px; }
  .m-opleidingen .op-list { grid-column: 1 / -1; }
}
@media (max-width: 1000px) {
  .m-opleidingen .op-sess { grid-template-columns: auto minmax(0, 1fr); }
  .m-opleidingen .op-cap, .m-opleidingen .op-sess-act { grid-column: 2; }
  .m-opleidingen .op-attest-grid { grid-template-columns: 1fr; }
  .m-opleidingen .op-head-kpis { margin-left: 0; }
}
@media (max-width: 720px) {
  .m-opleidingen .op-aanw { grid-template-columns: 1fr; }
  .m-opleidingen .op-kmo-kpis { grid-template-columns: 1fr 1fr; }
  .m-opleidingen .grid > * { min-width: 0; }
  .m-opleidingen .op-kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .m-opleidingen .op-kpis .kpi-val { font-size: 20px; }
}
@media (max-width: 600px) {
  .m-opleidingen .op-head-kpis { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .m-opleidingen .op-head-kpis div { padding: 6px 8px; }
  .m-opleidingen .op-head-kpis b { font-size: 14px; }
  .m-opleidingen .op-sess { gap: 10px 12px; padding: 12px; }
  .m-opleidingen .op-cap, .m-opleidingen .op-sess-act { grid-column: 1 / -1; }
  .m-opleidingen .op-sess-act .btn { flex: 1; }
  .m-opleidingen .op-fc { min-width: 0; width: 100%; }
  .m-opleidingen .op-bar .seg { flex-wrap: wrap; }
  .m-opleidingen .op-kmo-sum { text-align: left; }
}
.m-opleidingen .op-kmo-g .table { table-layout: fixed; min-width: 680px; }
.m-opleidingen .op-kmo-g th:nth-child(1) { width: 20%; }
.m-opleidingen .op-kmo-g th:nth-child(2) { width: 28%; }
.m-opleidingen .op-kmo-g th:nth-child(3), .m-opleidingen .op-kmo-g th:nth-child(4) { width: 11%; }
.m-opleidingen .op-kmo-g th:nth-child(5) { width: 15%; }
.m-opleidingen .op-kmo-g th:nth-child(6) { width: 15%; }
.m-opleidingen .op-kmo-g .op-st { max-width: 100%; }
.m-opleidingen .op-sess { border-left: 4px solid hsl(var(--h) 62% 50%); }
.m-opleidingen .op-kmo-groups > *, .m-opleidingen .op-sessions > *, .m-opleidingen .op-attest-grid > *, .m-opleidingen .op-aanw > *, .m-opleidingen .op-kmo-kpis > * { min-width: 0; }
