/* Hoofdstuk 5: Maken. Katern Studio (donker, geel accent, vlak), de dia's in de 6 stijlen van deck.js, en twee
   verzonnen sites: Leerset (h05-ls-) en Schrijfblad (h05-sb-). Geen verlopen kleuren, geen gloed. */
.k-fav.h05-fav { background: url(../img/katern.png) center / cover; border-radius: 4px; }
.k-fav.h05-ls-fav { background: #0f5f45; }
.k-fav.h05-sb-fav { background: #5b3fd0; }

/* ---------- Katern Studio ---------- */
.t-page.h05-st { background: #0c0c10; color: #f4f2ff; font-family: "Segoe UI", system-ui, sans-serif; }
.h05-st-bar { position: absolute; left: 0; right: 0; top: 0; height: 50px; display: flex; align-items: center; gap: 14px; padding: 0 22px; border-bottom: 1px solid rgba(255, 255, 255, .1); background: #0c0c10; }
.h05-st-logo { display: flex; align-items: center; gap: 8px; font-size: 15px; white-space: nowrap; }
.h05-st-logo img { width: 24px; height: 24px; border-radius: 7px; }
.h05-st-logo b { font-weight: 900; }
.h05-st-logo span { padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; background: #ffe14a; color: #17130b; }
.h05-st-kind { padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.h05-st-name { flex: 1; min-width: 0; font-weight: 800; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h05-st-who { display: flex; align-items: center; gap: 6px; padding: 4px 12px 4px 5px; border-radius: 999px; background: #ffe14a; color: #17130b; font-weight: 800; font-size: 12.5px; white-space: nowrap; }
.h05-st-who span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .12); font-size: 14px; }
.h05-st-main { position: absolute; left: 0; right: 0; top: 50px; bottom: 0; overflow: hidden; display: flex; flex-direction: column; align-items: center; padding: 14px 22px 90px; }
.h05-st-tools { position: absolute; z-index: 4; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 8px; padding: 8px; border-radius: 20px; background: rgba(16, 14, 26, .96); box-shadow: 0 16px 46px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .1); white-space: nowrap; animation: h05-rise .4s ease; }
.h05-st-tools button { height: 40px; padding: 0 15px; border: 0; border-radius: 13px; display: flex; align-items: center; gap: 7px; font: 800 13px/1 "Segoe UI", system-ui, sans-serif; color: #fff; background: rgba(255, 255, 255, .08); cursor: pointer; white-space: nowrap; }
.h05-st-tools button:hover { background: rgba(255, 255, 255, .14); }
.h05-st-tools button.h05-main { background: #ffe14a; color: #17130b; }
.h05-st-tools em { display: flex; font-style: normal; }
.h05-ico { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.h05-st-toast { position: absolute; z-index: 5; left: 50%; bottom: 80px; transform: translateX(-50%); padding: 10px 16px; border-radius: 14px; background: #17171d; color: #ececf1; border: 1px solid rgba(255, 255, 255, .12); font-weight: 800; font-size: 13.5px; white-space: nowrap; }
.h05-st-toast.h05-in { animation: h05-fadein .3s ease; }

/* Opstarten (Katern 1 in zijn eigen venster) */
.h05-boot { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.h05-orb { position: relative; width: 150px; height: 150px; margin-bottom: 12px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.h05-orb span { font-size: 66px; font-weight: 900; }
.h05-orb::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .12); border-top-color: #ffe14a; animation: h05-spin 1.6s linear infinite; }
.h05-boot h1 { margin: 0; font-size: 40px; font-weight: 900; }
.h05-boot p { margin: 0; color: rgba(244, 242, 255, .66); font-size: 16px; }
.h05-goal { margin-top: 12px; max-width: 560px; padding: 12px 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: 14.5px; }

/* ---------- De dia's (960 x 540, geschaald) ---------- */
.h05-deck { width: 680px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.h05-view { position: relative; width: 640px; height: 360px; }
.h05-slot { position: relative; flex: none; overflow: hidden; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.h05-sl { position: absolute; left: 0; top: 0; width: 960px; height: 540px; transform-origin: 0 0; overflow: hidden; color: #111; }
.h05-p { position: absolute; box-sizing: border-box; margin: 0; }
.h05-pt { display: flex; flex-direction: column; overflow-wrap: break-word; white-space: normal; pointer-events: none; }
.h05-pt span { display: block; }
.h05-pi { position: absolute; fill: none; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.h05-styles { width: 100%; display: flex; align-items: center; gap: 6px; }
.h05-styles > b { flex: none; margin-right: 2px; font-size: 11px; font-weight: 800; letter-spacing: .4px; color: rgba(244, 242, 255, .66); }
.h05-sty { flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 88px; padding: 5px 4px 6px; border: 0; border-radius: 10px; background: transparent; color: rgba(244, 242, 255, .7); font: 700 10.5px/1.15 "Segoe UI", system-ui, sans-serif; cursor: pointer; }
.h05-sty:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.h05-sty.h05-on { background: rgba(255, 255, 255, .06); color: #fff; box-shadow: 0 0 0 2px #ffe14a; }
.h05-sty .h05-slot { border-radius: 6px; }
.h05-sty > span { max-width: 84px; text-align: center; white-space: normal; }
.h05-strip { width: 100%; display: flex; gap: 8px; padding: 3px 2px; }
.h05-thumb { border-radius: 8px; cursor: pointer; animation: h05-popin .35s ease; }
.h05-thumb:hover { box-shadow: 0 0 0 2px rgba(255, 255, 255, .45); }
.h05-thumb.h05-on { box-shadow: 0 0 0 3px #ffe14a; }
.h05-fade { animation: h05-fadein .35s ease; }
.h05-pop { animation: h05-popin .4s cubic-bezier(.2, .8, .2, 1); }

/* Presenteren */
.h05-show { position: absolute; inset: 0; z-index: 6; display: flex; align-items: center; justify-content: center; background: #000; }
.h05-show-slot .h05-slot { border-radius: 0; box-shadow: none; cursor: pointer; }
.h05-show button { position: absolute; top: 50%; width: 54px; height: 54px; margin-top: -27px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.h05-show-prev { left: 16px; }
.h05-show-next { right: 16px; }
.h05-show .h05-show-x { top: 18px; right: 18px; margin: 0; width: 44px; height: 44px; font-size: 18px; }
.h05-show-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); color: rgba(255, 255, 255, .6); font-size: 13px; white-space: nowrap; }
.h05-show-count { position: absolute; right: 18px; bottom: 14px; color: rgba(255, 255, 255, .6); font: 700 12px/1 "Segoe UI", system-ui, sans-serif; }

/* ---------- Een tekst (samenvatting, stappenplan, verslag) ---------- */
.h05-paper { flex: none; width: 700px; padding: 32px 52px 36px; border-radius: 14px; background: #fff; color: #1b1830; font: 14.5px/1.55 "Segoe UI", system-ui, sans-serif; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.h05-paper h1 { margin: 0 0 12px; padding-bottom: 10px; font-size: 28px; line-height: 1.15; font-weight: 900; border-bottom: 4px solid #ffe14a; min-height: 1.15em; }
.h05-paper .h05-intro { margin: 0 0 6px; font-size: 16px; font-style: italic; color: #4a4766; }
.h05-paper h2 { margin: 16px 0 4px; font-size: 19px; color: #5f5438; }
.h05-paper p { margin: 0 0 8px; }
.h05-paper ul { margin: 4px 0 10px; padding-left: 22px; }
.h05-paper li { margin: 2px 0; }
.h05-paper li::marker { color: #e0b800; }
.h05-paper .h05-key { margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: #fffcec; border-left: 5px solid #ffe14a; font-weight: 700; }

/* ---------- Mindmap ---------- */
.h05-mindbox { width: 100%; flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; }
.h05-mind { width: 1200px; height: 500px; max-width: 100%; overflow: visible; touch-action: none; }
.h05-node { cursor: grab; }
.h05-node.h05-drag { cursor: grabbing; }
.h05-nodepop { animation: h05-fadein .4s ease; }
.h05-mind-hint { margin-top: 2px; color: rgba(244, 242, 255, .66); font-size: 13px; }

/* ---------- Woordenlijst ---------- */
.h05-cards { width: 940px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.h05-fc { position: relative; height: 136px; perspective: 900px; cursor: pointer; animation: h05-popin .4s ease; }
.h05-fc-in { position: absolute; inset: 0; transition: transform .55s cubic-bezier(.3, 1.2, .5, 1); transform-style: preserve-3d; }
.h05-fc.h05-flip .h05-fc-in { transform: rotateY(180deg); }
.h05-fc-side { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 16px; border-radius: 18px; backface-visibility: hidden; text-align: center; }
.h05-fc-front { background: #17171d; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.h05-fc-front b { min-height: 1.2em; font-size: 20px; font-weight: 900; line-height: 1.2; }
.h05-fc-front small { font-size: 11px; font-weight: 700; letter-spacing: .3px; color: rgba(244, 242, 255, .66); }
.h05-fc-back { transform: rotateY(180deg); background: #fff; color: #1b1830; font-size: 16px; font-weight: 600; line-height: 1.4; }
.h05-fc-num { position: absolute; top: 10px; left: 12px; font-size: 11px; font-weight: 800; opacity: .5; }
.h05-drill { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; background: rgba(8, 7, 16, .97); }
.h05-drill-slot .h05-fc { width: 480px; height: 250px; animation: none; }
.h05-drill-slot .h05-fc-front b { font-size: 32px; }
.h05-drill-slot .h05-fc-back { font-size: 22px; }
.h05-drill-meter { width: 480px; height: 8px; border-radius: 9px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.h05-drill-meter u { display: block; height: 100%; width: 0; background: #ffe14a; transition: width .4s; }
.h05-drill-score { font-size: 15px; font-weight: 700; color: rgba(244, 242, 255, .7); }
.h05-drill-row { display: flex; gap: 10px; }
.h05-drill-row button { height: 46px; padding: 0 20px; border: 0; border-radius: 14px; font: 800 14px/1 "Segoe UI", system-ui, sans-serif; color: #fff; background: rgba(255, 255, 255, .1); cursor: pointer; }
.h05-drill-row .h05-drill-yes { background: #22d36b; color: #06210f; }
.h05-drill-x { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 18px; cursor: pointer; }

/* ---------- Downloads van Chrome, het gesleepte bestand, de opdracht in de popup ---------- */
.h05-dl { position: absolute; z-index: 15; top: 86px; right: 12px; width: 320px; padding: 12px 14px; border-radius: 12px; background: #fff; color: #202124; font: 13px/1.35 "Segoe UI", system-ui, sans-serif; box-shadow: 0 10px 30px rgba(0, 0, 0, .25), 0 0 0 1px rgba(0, 0, 0, .08); animation: h05-fadein .3s ease; }
.h05-dl > b { font-size: 12.5px; color: #5f6368; }
.h05-dl-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.h05-dl-ico { flex: none; width: 34px; height: 40px; border-radius: 6px; display: grid; place-items: center; background: #3c4043; color: #fff; font: 800 9px/1 "Segoe UI", sans-serif; }
.h05-dl-row div { min-width: 0; }
.h05-dl-row strong { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h05-dl-row small { color: #5f6368; }
.h05-ghost { position: absolute; z-index: 31; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 9px; background: #fff; color: #33414f; font: 600 13px "Segoe UI", system-ui, sans-serif; white-space: nowrap; box-shadow: 0 10px 26px rgba(0, 0, 0, .3); }
.h05-ghost-ico { display: grid; place-items: center; width: 20px; height: 24px; border-radius: 4px; background: #2b5797; color: #fff; font: 800 10px/1 "Segoe UI", sans-serif; font-style: normal; }
.h05-drop { position: absolute; inset: 8px; z-index: 3; display: grid; place-items: center; padding: 20px; border: 3px dashed #1a140c; border-radius: 12px; background: rgba(255, 250, 241, .95); color: #1c140c; font-size: 17px; text-align: center; }
.h05-attach { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin: 10px 18px 0 28px; padding: 6px 10px; border: 2px solid #1a140c; border-radius: 10px; background: #fff; color: #1c140c; font: 700 12.5px "Segoe UI", system-ui, sans-serif; }
.h05-attach.h05-in-chat { margin: 0 0 6px; border: 0; background: rgba(255, 255, 255, .1); color: #ececf1; }
.h05-self { margin: 8px 0 0; padding: 8px 10px; border-radius: 10px; background: rgba(255, 225, 74, .12); border-left: 3px solid #ffe14a; font-size: 13px; line-height: 1.4; }

/* ---------- Nepsite "Leerset" (leerset.demo): eigen groen en oranje ---------- */
.t-page.h05-ls { background: #f3f6f4; color: #17302a; font-family: "Segoe UI", system-ui, sans-serif; }
.h05-ls-app { position: absolute; inset: 0; display: flex; flex-direction: column; }
.h05-ls-top { flex: none; height: 54px; display: flex; align-items: center; gap: 10px; padding: 0 22px; background: #0f5f45; color: #fff; }
.h05-ls-top b { font-size: 18px; }
.h05-ls-logo { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #ffb547; color: #0f5f45; font-weight: 900; }
.h05-ls-me { margin-left: auto; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #ffb547; color: #0f5f45; font-weight: 800; font-size: 13px; }
.h05-ls-body { flex: 1; min-height: 0; overflow: hidden; padding: 20px 370px 20px 60px; }
.h05-ls-head { display: flex; align-items: center; justify-content: space-between; }
.h05-ls-head h2 { margin: 0; font-size: 24px; }
.h05-ls-in { display: block; width: 100%; height: 46px; margin: 12px 0; padding: 0 14px; border: 2px solid #cfdcd5; border-radius: 10px; background: #fff; color: #17302a; font: 16px "Segoe UI", system-ui, sans-serif; }
.h05-ls-tools { display: flex; gap: 10px; }
.h05-ls-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 2px solid #0f5f45; border-radius: 10px; background: #fff; color: #0f5f45; font: 700 14px/1 "Segoe UI", system-ui, sans-serif; cursor: pointer; }
.h05-ls-btn.h05-ls-main { background: #0f5f45; color: #fff; }
.h05-ls-make { height: 46px; padding: 0 28px; font-size: 15px; }
.h05-ls-panel { margin-top: 12px; padding: 12px 14px; border: 1px solid #cfdcd5; border-radius: 12px; background: #fff; }
.h05-ls-panel p { margin: 0 0 8px; font-size: 13px; color: #4b5d55; }
.h05-ls-area { display: block; width: 100%; height: 118px; padding: 8px 10px; border: 1px solid #cfdcd5; border-radius: 8px; font: 13px/1.45 Consolas, ui-monospace, monospace; color: #17302a; resize: none; tab-size: 16; }
.h05-ls-row { display: flex; justify-content: flex-end; margin-top: 8px; }
.h05-ls-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.h05-ls-card { display: grid; grid-template-columns: 24px 1fr 1fr; gap: 10px; align-items: center; padding: 8px 12px; border: 1px solid #dfe8e3; border-radius: 10px; background: #fff; font-size: 14px; animation: h05-popin .3s ease; }
.h05-ls-card small { display: block; font-size: 11px; color: #7b8d85; }
.h05-ls-n { color: #7b8d85; font-weight: 700; font-size: 12px; }
.h05-ls-toast { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; gap: 2px; padding: 12px 18px; border-radius: 12px; background: #0f5f45; color: #fff; text-align: center; }
.h05-ls-toast span { font-size: 13px; color: #cfe8dd; }

/* ---------- Nepsite "Schrijfblad" (schrijfblad.demo): eigen paars ---------- */
.t-page.h05-sb { background: #f1f0f6; color: #1f1d2b; font-family: "Segoe UI", system-ui, sans-serif; }
.h05-sb-app { position: absolute; inset: 0; display: flex; flex-direction: column; }
.h05-sb-top { flex: none; display: flex; align-items: center; gap: 12px; padding: 8px 16px; background: #fff; border-bottom: 1px solid #e3e1ec; }
.h05-sb-logo { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: #5b3fd0; color: #fff; }
.h05-sb-logo .h05-ico { width: 20px; height: 20px; }
.h05-sb-title { min-width: 120px; min-height: 22px; font-size: 17px; }
.h05-sb-menu { display: flex; gap: 14px; font-size: 13px; color: #55536a; }
.h05-sb-share { margin-left: auto; padding: 8px 18px; border-radius: 999px; background: #5b3fd0; color: #fff; font-weight: 700; font-size: 13.5px; }
.h05-sb-me { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #f59e0b; color: #fff; font-weight: 700; font-size: 13px; }
.h05-sb-bar { flex: none; display: flex; align-items: center; gap: 14px; padding: 6px 16px; background: #f7f6fb; border-bottom: 1px solid #e3e1ec; font-size: 13px; color: #3c3a50; }
.h05-sb-style { padding: 3px 10px; border: 1px solid #d6d3e4; border-radius: 6px; background: #fff; }
.h05-sb-sep { width: 1px; height: 18px; background: #d6d3e4; }
.h05-sb-desk { flex: 1; min-height: 0; overflow: hidden; padding: 22px 0 40px; }
.h05-sb-sheet { width: 640px; min-height: 520px; margin: 0 auto; padding: 46px 62px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 0 0 1px #e6e4ee; font-size: 14.5px; line-height: 1.55; }
.h05-sb-sheet h1 { margin: 0 0 10px; font-size: 27px; min-height: 1.2em; }
.h05-sb-sheet h2 { margin: 16px 0 4px; font-size: 18px; color: #3d2c8d; min-height: 1.2em; }
.h05-sb-sheet p { margin: 0 0 8px; min-height: 1.4em; }
.h05-sb-sheet ul { margin: 4px 0 10px; padding-left: 22px; }

@keyframes h05-fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes h05-popin { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes h05-rise { from { opacity: 0; transform: translate(-50%, 14px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes h05-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .h05-fade, .h05-pop, .h05-thumb, .h05-fc, .h05-nodepop, .h05-st-tools, .h05-dl, .h05-ls-card { animation: none !important; } }
