:root {
  --ink: #17231d;
  --muted: #69736e;
  --paper: #f7f3ea;
  --card: #fffdf8;
  --line: #dcd8ce;
  --green: #2f5d47;
  --green-dark: #234838;
  --lime: #ddeb7d;
  --orange: #e86f3d;
  --shadow: 0 18px 50px rgba(43, 55, 48, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { touch-action: manipulation; }

.topbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(23,35,29,.11);
  background: rgba(247,243,234,.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand { display:flex; align-items:center; gap:13px; color:inherit; text-decoration:none; }
.brand strong { display:block; font-size:17px; letter-spacing:-.02em; }
.brand small { display:block; color:var(--muted); margin-top:2px; }
.brand-logo { display:block; width:auto; height:52px; object-fit:contain; }
.site-nav { display:flex; align-items:center; gap:5px; padding:4px; border:1px solid #d6d8cf; border-radius:999px; background:rgba(255,253,248,.72); }
.site-nav a { min-height:37px; display:inline-flex; align-items:center; padding:0 15px; border-radius:999px; color:var(--muted); text-decoration:none; font-size:13px; font-weight:800; }
.site-nav a:hover,.site-nav a.active { color:white; background:var(--green); }
.brand-mark { width:39px; height:39px; display:grid; grid-template-columns:1fr 1fr; gap:3px; transform:rotate(-4deg); }
.brand-mark i { display:block; border-radius:3px; background:var(--green); }
.brand-mark i:nth-child(2), .brand-mark i:nth-child(3) { background:var(--orange); }
.privacy-pill { border:1px solid #cdd3c1; background:#f9fbeb; color:#40513f; border-radius:99px; padding:9px 14px; font-size:13px; font-weight:700; }
.privacy-pill span { color:#65a36f; font-size:10px; margin-right:5px; }

main { width:min(1400px, calc(100% - 40px)); margin:0 auto; }
.hero { display:grid; grid-template-columns:minmax(0, 1.2fr) minmax(420px, .8fr); align-items:end; gap:40px; padding:64px 0 36px; }
.eyebrow { margin:0 0 13px; color:var(--orange); font-size:12px; letter-spacing:.16em; font-weight:800; }
h1 { margin:0; max-width:760px; font-family:Georgia, "Times New Roman", serif; font-size:clamp(48px, 6vw, 88px); line-height:.9; letter-spacing:-.055em; font-weight:600; }
h1 em { color:var(--green); font-weight:500; }
.intro { max-width:690px; margin:24px 0 0; color:#55615b; font-size:clamp(16px, 1.7vw, 20px); line-height:1.55; }
.step-strip { display:flex; align-items:center; justify-content:flex-end; gap:10px; color:#7e8782; padding-bottom:9px; font-size:13px; font-weight:700; }
.step-strip span { display:flex; align-items:center; gap:7px; white-space:nowrap; }
.step-strip b { display:grid; place-items:center; width:26px; height:26px; border:1px solid #c9cbc4; border-radius:50%; font-size:12px; }
.step-strip .active { color:var(--ink); }
.step-strip .active b { background:var(--lime); border-color:var(--lime); }
.step-strip i { flex:0 1 42px; height:1px; background:#c9cbc4; }

.workspace { display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); gap:24px; margin-bottom:50px; }
.panel { min-width:0; min-height:610px; border:1px solid var(--line); background:var(--card); border-radius:18px; box-shadow:var(--shadow); padding:26px; }
.panel-head { display:flex; align-items:center; justify-content:space-between; min-height:42px; margin-bottom:20px; }
.panel-head > div { display:flex; align-items:center; gap:12px; }
.panel-head h2 { font-family:Georgia, serif; margin:0; font-size:25px; font-weight:500; }
.panel-number { display:grid; place-items:center; width:31px; height:31px; border-radius:50%; color:var(--green); background:#e8eddf; font:800 11px/1 Inter,sans-serif; }
.text-button { border:0; background:transparent; color:var(--green); text-decoration:underline; cursor:pointer; }

.dropzone { min-height:510px; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:35px; border:1.5px dashed #b8bdb2; border-radius:13px; background:linear-gradient(145deg,#fbfaf4,#f4f2e9); text-align:center; transition:.2s ease; }
.dropzone.drag { border-color:var(--green); background:#f1f5e8; transform:scale(.995); }
.dropzone input { position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
.upload-icon { display:grid; place-items:center; width:68px; height:68px; border-radius:50%; background:var(--lime); font-size:34px; color:var(--green-dark); margin-bottom:18px; }
.dropzone h3 { font-family:Georgia,serif; margin:0; font-size:28px; font-weight:500; }
.dropzone p { margin:8px 0 24px; color:var(--muted); font-size:14px; }
.primary-button, .secondary-button { min-height:47px; border-radius:8px; padding:0 20px; cursor:pointer; font-weight:800; border:1px solid var(--green); transition:transform .12s ease, box-shadow .12s ease, background .12s ease; }
.primary-button { color:white; background:var(--green); box-shadow:0 5px 0 var(--green-dark); }
.primary-button:hover { background:#376c53; }
.primary-button:active { transform:translateY(3px); box-shadow:0 2px 0 var(--green-dark); }
.secondary-button { margin-top:15px; color:var(--green); background:transparent; border-color:#b9c3b9; }
.secondary-button:hover { background:#f2f4eb; }
.compact { min-height:43px; margin:0; }

.source-editor { min-height:510px; display:flex; flex-direction:column; }
.canvas-wrap { position:relative; grid-template-columns:minmax(0,1fr); min-width:0; flex:1; min-height:415px; display:grid; place-items:center; overflow:hidden; border-radius:11px; background:#e8e5dc; }
#sourceCanvas { display:block; max-width:100%; max-height:440px; width:auto; height:auto; touch-action:none; }
.corner-hint { margin:0 0 8px; color:var(--ink); font-size:14px; line-height:1.4; }
.editor-actions { display:flex; justify-content:flex-end; gap:12px; padding-top:18px; }
.message { min-height:18px; margin:10px 0 0; color:var(--muted); font-size:13px; }

.empty-result { min-height:510px; display:flex; flex-direction:column; align-items:center; justify-content:center; color:#828b86; text-align:center; line-height:1.5; }
.mini-grid { width:110px; height:110px; opacity:.55; background-image:linear-gradient(#aab0a8 1px,transparent 1px),linear-gradient(90deg,#aab0a8 1px,transparent 1px); background-size:18px 18px; border:1px solid #aab0a8; margin-bottom:21px; transform:rotate(3deg); }
.result-area { min-height:510px; }
.result-canvas-wrap { display:grid; place-items:center; height:345px; border-radius:12px; background:#efede5; padding:16px; }
#resultCanvas { display:block; width:min(100%, 313px); height:auto; max-height:313px; image-rendering:pixelated; box-shadow:0 9px 30px rgba(29,40,34,.14); cursor:crosshair; touch-action:manipulation; background:repeating-conic-gradient(#edece7 0 25%,#fff 0 50%) 0 0/20px 20px; }
.quality-badge { border-radius:99px; padding:7px 11px; font-size:12px; font-weight:800; }
.quality-badge.waiting { color:#69736e; background:#ecece7; }
.quality-badge.good { color:#286143; background:#def1df; }
.quality-badge.check { color:#8a5317; background:#fae7c6; }
.palette-row { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; padding:18px 2px 12px; }
.palette-row small { color:var(--muted); font-size:10px; letter-spacing:.12em; font-weight:800; }
.palette-row p { max-width:255px; margin:0; color:var(--muted); font-size:12px; line-height:1.45; }
.palette { display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; }
.swatch { width:34px; height:34px; border:3px solid white; border-radius:50%; box-shadow:0 0 0 1px #c8c9c2,0 3px 7px rgba(0,0,0,.1); cursor:pointer; }
.swatch.selected { box-shadow:0 0 0 3px var(--ink),0 3px 7px rgba(0,0,0,.1); }
.swatch.transparent { position:relative; overflow:hidden; background:repeating-conic-gradient(#d9d9d4 0 25%,#fff 0 50%) 0 0/10px 10px; }
.swatch.transparent::after { content:""; position:absolute; left:4px; right:4px; top:50%; height:2px; background:#c64e40; transform:rotate(-45deg); }
.download-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; border-top:1px solid var(--line); padding-top:16px; }
.download-button { display:grid; grid-template-columns:28px auto; grid-template-rows:auto auto; text-align:left; align-items:center; column-gap:7px; height:61px; margin:0; padding:9px 14px; }
.download-button span { grid-row:1/3; font-size:22px; }
.download-button b { line-height:1; }
.download-button small { font-size:10px; font-weight:500; opacity:.75; }
.download-row { grid-template-columns:repeat(3,minmax(0,1fr)); }
.model-status { min-height:18px; margin:11px 2px 0; color:#4f6c59; font-size:12px; font-weight:700; }
.model-status.warning { color:#9a4f20; }

.api-note { margin:24px 0 50px; display:grid; grid-template-columns:auto 1fr auto; gap:20px; align-items:center; padding:25px 28px; background:var(--green-dark); color:white; border-radius:15px; }
.api-icon { display:grid; place-items:center; width:57px; height:57px; border:1px solid rgba(255,255,255,.28); border-radius:12px; color:var(--lime); font:800 17px/1 Inter,sans-serif; }
.api-note .eyebrow { color:var(--lime); margin-bottom:6px; }
.api-note h2 { font-family:Georgia,serif; font-weight:500; margin:0 0 5px; font-size:23px; }
.api-note p:last-child { margin:0; color:#cbd6cf; font-size:13px; line-height:1.5; }
code { font-family:"SFMono-Regular",Consolas,monospace; color:#fff; font-size:.95em; }
.status-chip { border:1px solid rgba(255,255,255,.25); border-radius:99px; padding:8px 12px; font-size:12px; font-weight:800; white-space:nowrap; }

footer { display:flex; justify-content:space-between; padding:22px clamp(20px,4vw,64px); color:var(--muted); border-top:1px solid rgba(23,35,29,.1); font-size:12px; }
footer a { color:var(--green); font-weight:800; }
dialog { width:min(440px,calc(100% - 32px)); border:0; border-radius:15px; padding:28px; box-shadow:0 30px 80px rgba(0,0,0,.28); }
dialog::backdrop { background:rgba(23,35,29,.52); backdrop-filter:blur(3px); }
dialog h2 { font-family:Georgia,serif; margin-top:0; }
dialog p { color:var(--muted); line-height:1.5; }

@media (max-width:640px){
  .topbar { align-items:flex-start; gap:12px; padding:12px 15px; }
  .brand small { display:none; }
  .brand-logo { height:42px; }
  .site-nav a { min-height:34px; padding:0 10px; font-size:12px; }
}

/* Shared DinoMoon landing pages */
.landing-page { min-height:100vh; display:flex; flex-direction:column; }
.landing-page .landing-topbar {
  position: relative;
  background: transparent;
  backdrop-filter: none;
}

.chat-game-page > .topbar:not(.landing-topbar) {
  background: rgba(242,237,249,.95);
  border-bottom-color: #dfd5ec;
}

.discover-page:is(.planets,.space) .landing-topbar {
  color: #f6f7ff;
  border-bottom-color: rgba(199,211,249,.28);
}

.discover-page:is(.planets,.space) .landing-topbar .brand small {
  color: #ccd7f0;
}

.discover-page:is(.planets,.space) .landing-topbar .back-link {
  color: #f6f7ff;
  background: rgba(14,22,49,.56);
  border-color: rgba(199,211,249,.48);
}

.discover-page:is(.planets,.space) .landing-topbar .back-link:hover {
  background: rgba(64,81,132,.72);
}
.landing-page .brand-home strong { font-family:Georgia,serif; font-size:23px; font-weight:600; }
.back-link { display:inline-flex; align-items:center; min-height:42px; padding:0 15px; border:1px solid #cdd3c9; border-radius:999px; color:var(--green); background:rgba(255,253,248,.72); text-decoration:none; font-size:13px; font-weight:800; transition:transform .15s ease, background .15s ease; }
.back-link:hover { background:var(--card); transform:translateY(-1px); }
.landing-main { flex:1; width:min(1180px,calc(100% - 40px)); padding-bottom:72px; }
.landing-hero { display:block; max-width:900px; padding:78px 0 48px; }
.landing-hero h1 { max-width:880px; font-size:clamp(54px,8vw,104px); }
.landing-hero .intro { max-width:780px; }
.landing-hero-compact { padding-bottom:42px; }
.landing-hero-compact h1 { font-size:clamp(50px,7vw,86px); }
.app-collection { padding:8px 0 20px; }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:24px; }
.section-heading h2 { margin:0; font-family:Georgia,serif; font-size:clamp(28px,4vw,42px); font-weight:500; letter-spacing:-.03em; }
.section-kicker { color:var(--orange); font-size:11px; letter-spacing:.15em; font-weight:800; }
.app-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.app-card, .choice-card { position:relative; display:flex; color:inherit; text-decoration:none; border:1px solid var(--line); background:var(--card); box-shadow:var(--shadow); transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.app-card:hover, .choice-card:hover { transform:translateY(-4px); border-color:#bfc9bd; box-shadow:0 24px 58px rgba(43,55,48,.14); }
.app-card:focus-visible, .choice-card:focus-visible, .back-link:focus-visible, .primary-link:focus-visible { outline:4px solid rgba(232,111,61,.34); outline-offset:4px; }
.app-card-featured { min-height:310px; align-items:center; gap:26px; padding:28px 72px 28px 28px; border-radius:160px 44px 44px 160px; overflow:hidden; }
.app-grid .app-card-featured { min-height:510px; flex-direction:column; justify-content:flex-start; gap:10px; padding:24px 28px 78px; border-radius:46px; text-align:center; }
.app-grid .app-art { flex:0 0 300px; width:300px; height:300px; }
.app-grid .app-card-copy { align-items:center; }
.app-grid .app-card-copy small { max-width:360px; }
.app-art { flex:0 0 254px; width:254px; height:254px; display:grid; place-items:center; overflow:hidden; border-radius:50%; background:linear-gradient(145deg,#eef3d9,#fff8e7); }
.app-art img { display:block; width:115%; height:115%; object-fit:contain; }
.app-card-drawing .app-art { background:linear-gradient(145deg,#fff0df,#eef3d9); }
.app-collection .app-grid .app-art { position:relative; display:block; border-radius:0; overflow:visible; background:none; aspect-ratio:1; }
.app-collection .app-art::before { content:""; position:absolute; inset:10%; border-radius:50%; background:var(--app-circle,linear-gradient(145deg,#eef3d9,#fff8e7)); }
.app-collection .app-art img { position:absolute; inset:0; width:100%; height:100%; }
.app-collection .app-card-drawing .app-art { --app-circle:linear-gradient(145deg,#fff0df,#eef3d9); }
.app-collection .app-card-cloud .app-art { --app-circle:linear-gradient(145deg,#d8f1f7,#fff); }
.app-collection .app-card-coin .app-art { --app-circle:linear-gradient(145deg,#fff0a8,#d4a22a); }
.app-discover-collection { margin:32px 0 16px; scroll-margin-top:24px; }
.app-card-compact { align-items:center; min-height:120px; min-width:0; padding:20px 78px 20px 22px; border-radius:26px; }
.app-grid .app-card-compact .app-card-copy { align-items:flex-start; }
.app-card-compact .app-card-copy strong { font-size:clamp(23px,3vw,32px); }
.app-card-copy, .choice-copy { display:flex; flex-direction:column; gap:9px; }
.app-card-copy strong { font-family:Georgia,serif; font-size:clamp(34px,4vw,48px); font-weight:500; letter-spacing:-.035em; }
.app-card-copy small { max-width:230px; color:var(--muted); font-size:15px; line-height:1.5; }
.card-arrow { position:absolute; right:24px; bottom:24px; display:grid; place-items:center; width:44px; height:44px; border-radius:50%; background:var(--lime); color:var(--green-dark); font-size:23px; font-weight:800; }
.choice-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.choice-grid-four { grid-template-columns:repeat(2,minmax(0,1fr)); max-width:1000px; margin:0 auto; }
.choice-card { min-width:0; min-height:500px; flex-direction:column; align-items:center; padding:24px 24px 72px; border-radius:34px; text-align:center; overflow:hidden; }
.choice-art { flex:none; display:grid; place-items:center; width:min(100%,310px); aspect-ratio:1; margin-bottom:18px; border-radius:50%; background:linear-gradient(145deg,#f3f4df,#fff5e7); overflow:hidden; }
.choice-art img { display:block; width:108%; height:108%; object-fit:contain; }
.choice-card:nth-child(2) .choice-art { background:linear-gradient(145deg,#fff0df,#f7f3e8); }
.choice-card:nth-child(3) .choice-art { background:linear-gradient(145deg,#e8f2e7,#f9f1df); }
.choice-card:nth-child(4) .choice-art { background:linear-gradient(145deg,#eef3d9,#fff0df); }
.choice-copy strong { font-family:Georgia,serif; font-size:clamp(25px,2.8vw,34px); font-weight:500; letter-spacing:-.025em; }
.choice-copy small { max-width:280px; color:var(--muted); font-size:14px; line-height:1.5; }
.placeholder-main { display:grid; place-items:center; padding-top:58px; }
.placeholder-card { width:min(820px,100%); display:grid; justify-items:center; padding:42px; border:1px solid var(--line); border-radius:36px; background:var(--card); box-shadow:var(--shadow); text-align:center; }
.placeholder-card .placeholder-art { width:min(340px,75vw); margin-bottom:26px; }
.placeholder-card h1 { max-width:none; font-size:clamp(44px,7vw,76px); line-height:.98; }
.placeholder-card .intro { max-width:650px; margin:20px 0 28px; }
.primary-link { display:inline-flex; align-items:center; min-height:48px; padding:0 21px; border-radius:9px; background:var(--green); color:white; box-shadow:0 5px 0 var(--green-dark); text-decoration:none; font-weight:800; }
.primary-link:active { transform:translateY(3px); box-shadow:0 2px 0 var(--green-dark); }

/* Gratis printmateriaal voor de fysieke Pixelmaker. */
.material-main { width:min(1160px,calc(100% - 40px)); padding-bottom:72px; }
.material-hero { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr); align-items:center; gap:38px; padding:62px 0 44px; }
.material-hero h1 { font-size:clamp(52px,7vw,92px); }
.material-hero > img { display:block; width:min(390px,100%); height:auto; object-fit:contain; justify-self:end; }
.material-downloads { padding:30px; border:1px solid var(--line); border-radius:28px; background:var(--card); box-shadow:var(--shadow); }
.material-downloads .section-heading { align-items:center; }
.material-file-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.material-file-grid article { padding:22px; border:1px solid #d9ded1; border-radius:17px; background:#faf8f1; }
.material-file-grid article > span { color:var(--orange); font-size:11px; font-weight:900; letter-spacing:.12em; }
.material-file-grid h3 { margin:7px 0 6px; font-family:Georgia,serif; font-size:25px; font-weight:500; }
.material-file-grid p { min-height:58px; margin:0 0 16px; color:var(--muted); font-size:13px; line-height:1.5; }
.material-file-grid a { display:inline-flex; align-items:center; min-height:42px; padding:0 14px; border:1px solid #b9c3b9; border-radius:8px; color:var(--green); text-decoration:none; font-size:13px; font-weight:800; }
.material-file-grid a:hover { background:#eef3e9; }
.material-specs { display:grid; grid-template-columns:1fr 1fr; gap:42px; align-items:center; margin-top:24px; padding:32px; border-radius:24px; color:white; background:var(--green-dark); }
.material-specs h2,.material-advice h2 { margin:0; font-family:Georgia,serif; font-size:34px; font-weight:500; }
.material-specs p { margin:12px 0 0; color:#dce8e0; line-height:1.6; }
.material-specs dl { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:0; }
.material-specs dl div { padding:15px; border:1px solid rgba(255,255,255,.2); border-radius:12px; }
.material-specs dt { color:#c9d8ce; font-size:11px; }
.material-specs dd { margin:5px 0 0; font-weight:800; }
.material-advice { margin-top:24px; padding:30px; border:1px solid var(--line); border-radius:24px; background:#fff8e9; }
.material-advice ul { padding-left:20px; color:#526058; line-height:1.65; }
.material-advice > p { margin:20px 0 0; padding-top:18px; border-top:1px solid #e4d7ba; color:#7b4a33; font-size:13px; }

/* The hidden attribute must also win over grid/flex rules in app styles. */
[hidden] { display:none!important; }

.teacher-session-notice { padding:14px 18px; margin:0 0 18px; border:1px solid #a5cfb6; border-radius:12px; background:#edf8ef; color:#194b32; font-weight:750; line-height:1.5; }
.teacher-session-notice.error { border-color:#e4b6a4; background:#fff1ea; color:#8a3220; }

/* Pixelmaker rooms */
.sr-only { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.teacher-submit { margin-top:18px; padding:18px; border:1px solid #d9ded1; border-radius:15px; background:linear-gradient(145deg,#f6f8e9,#fffaf1); }
.teacher-submit > div:first-child { display:grid; grid-template-columns:1fr; }
.teacher-submit small { color:var(--orange); font-size:10px; letter-spacing:.13em; font-weight:800; }
.teacher-submit h3 { margin:4px 0 3px; font-family:Georgia,serif; font-size:22px; font-weight:500; }
.teacher-submit p { margin:0; color:var(--muted); font-size:13px; line-height:1.45; }
.teacher-submit-controls { display:grid; grid-template-columns:minmax(110px,150px) 1fr; gap:10px; margin-top:14px; }
.room-code-input, .teacher-form input { width:100%; min-height:47px; border:1px solid #bfc7bc; border-radius:9px; padding:0 13px; color:var(--ink); background:white; outline:none; }
.room-code-input { text-transform:uppercase; font-weight:900; letter-spacing:.18em; text-align:center; }
.room-code-input:focus, .teacher-form input:focus { border-color:var(--green); box-shadow:0 0 0 3px rgba(47,93,71,.13); }
.submit-status { min-height:19px; margin-top:11px!important; font-weight:700; }
.submit-status.success, .form-message.success { color:#286143; }
.submit-status.error, .form-message.error { color:#a0482a; }

.teacher-main { flex:1; width:min(1240px,calc(100% - 40px)); margin:0 auto; padding-bottom:70px; }
.teacher-hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(260px,390px); align-items:center; gap:34px; padding:56px 0 28px; }
.teacher-hero h1 { font-size:clamp(48px,6.5vw,84px); }
.teacher-hero-art { display:block; width:100%; height:auto; max-height:330px; object-fit:contain; }
.environment-notice { display:flex; align-items:center; gap:14px; margin:0 0 24px; padding:16px 18px; border:1px solid #d8d7cd; border-radius:14px; background:var(--card); }
.environment-notice strong { display:block; font-size:14px; }
.environment-notice p { margin:3px 0 0; color:var(--muted); font-size:13px; line-height:1.4; }
.environment-dot { flex:0 0 auto; width:13px; height:13px; border-radius:50%; background:#b6b9b1; box-shadow:0 0 0 5px rgba(182,185,177,.2); }
.environment-notice.ready { border-color:#c7dccb; background:#f1f8eb; }
.environment-notice.ready .environment-dot { background:#56a36b; box-shadow:0 0 0 5px rgba(86,163,107,.17); }
.environment-notice.preview { border-color:#ead4b8; background:#fff7e8; }
.environment-notice.preview .environment-dot { background:#e3973d; box-shadow:0 0 0 5px rgba(227,151,61,.17); }
.teacher-auth { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.teacher-card { position:relative; min-width:0; padding:28px; border:1px solid var(--line); border-radius:22px; background:var(--card); box-shadow:var(--shadow); }
.teacher-card .panel-number { margin-bottom:17px; }
.teacher-card h2 { margin:0 0 8px; font-family:Georgia,serif; font-size:30px; font-weight:500; }
.teacher-card > p { margin:0; color:var(--muted); line-height:1.55; }
.teacher-form { display:grid; gap:10px; margin-top:24px; }
.teacher-form label { margin-top:4px; font-size:13px; font-weight:800; }
.teacher-form label small { color:var(--muted); font-weight:500; }
.teacher-form button { width:100%; margin-top:6px; }
.teacher-form .secondary-button { margin-top:6px; }
.teacher-form input:disabled, .teacher-form button:disabled { cursor:not-allowed; opacity:.6; }
.form-message { min-height:20px; margin:13px 0 0!important; color:var(--muted); font-size:13px!important; font-weight:700; }
.form-message.info { color:#7a6139; }
.teacher-dashboard { display:grid; gap:22px; }
.room-overview { display:flex; justify-content:space-between; align-items:center; gap:30px; padding:28px 32px; border-radius:23px; background:var(--green-dark); color:white; box-shadow:var(--shadow); }
.room-overview .eyebrow { color:var(--lime); margin-bottom:8px; }
.room-code-display { display:inline-flex; align-items:center; gap:15px; padding:0; border:0; color:white; background:transparent; cursor:pointer; text-align:left; }
.room-code-display span { font-family:Georgia,serif; font-size:clamp(50px,7vw,78px); line-height:.9; letter-spacing:.08em; }
.room-code-display small { padding:7px 10px; border:1px solid rgba(255,255,255,.28); border-radius:99px; color:#dce6df; }
.room-state { margin:15px 0 0; color:#d3ded7; font-size:14px; }
.room-state.ended { color:#ffd3b6; }
.room-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:center; gap:10px; }
.room-actions .secondary-button { color:white; border-color:rgba(255,255,255,.35); }
.room-actions .secondary-button:hover { background:rgba(255,255,255,.08); }
.room-actions .text-button { color:#e8eee9; }
.danger-button, .delete-button { min-height:43px; border:1px solid #c75a3c; border-radius:8px; padding:0 16px; color:#8f321f; background:#fff1e8; cursor:pointer; font-weight:800; }
.danger-button { color:white; background:#b64d31; border-color:#cf7259; }
.danger-button:disabled { opacity:.5; cursor:not-allowed; }
.permanent-delete-button { color:#ffd9cd; border-color:rgba(255,185,164,.42); background:transparent; }
.permanent-delete-button:not(:disabled):hover { color:white; background:#8e351f; }
.room-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.room-stats span { display:flex; flex-direction:column; gap:4px; padding:20px 22px; border:1px solid var(--line); border-radius:16px; background:var(--card); }
.room-stats strong { font-family:Georgia,serif; font-size:29px; font-weight:500; }
.room-stats small { color:var(--muted); }
.submissions-section { padding:28px; border:1px solid var(--line); border-radius:22px; background:var(--card); box-shadow:var(--shadow); }
.submissions-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:22px; }
.submissions-heading h2 { margin:0; font-family:Georgia,serif; font-size:34px; font-weight:500; }
.submissions-heading > p { max-width:340px; margin:0; color:var(--muted); font-size:13px; line-height:1.5; }
.print-export-panel { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(260px,.7fr); gap:22px; align-items:center; margin-bottom:22px; padding:20px; border:1px solid #cfd7cc; border-radius:17px; background:#f3f7ef; }
.print-export-panel > div:first-child { display:flex; align-items:flex-start; gap:14px; }
.print-export-icon { display:grid; place-items:center; flex:0 0 42px; height:42px; border-radius:12px; color:white; background:var(--green); font-size:23px; }
.print-export-panel h3 { margin:0 0 5px; font-family:Georgia,serif; font-size:22px; font-weight:500; }
.print-export-panel p { margin:0; color:var(--muted); font-size:12px; line-height:1.55; }
.print-export-panel p strong { color:var(--ink); }
.print-export-actions { display:grid; gap:8px; }
.print-export-actions button { width:100%; margin:0; }
.submissions-empty { display:grid; justify-items:center; padding:55px 20px; border:1.5px dashed #c7c9c0; border-radius:15px; color:var(--muted); text-align:center; }
.submissions-empty .mini-grid { margin-bottom:14px; }
.submissions-empty h3 { margin:0 0 5px; color:var(--ink); font-family:Georgia,serif; font-size:24px; font-weight:500; }
.submissions-empty p { max-width:520px; margin:0; line-height:1.5; }
.submission-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:17px; }
.submission-card { min-width:0; padding:15px; border:1px solid #d9d8cf; border-radius:17px; background:#faf8f1; }
.submission-preview { display:block; width:100%; height:auto; border-radius:10px; image-rendering:pixelated; background:repeating-conic-gradient(#e6e5df 0 25%,#fff 0 50%) 0 0/16px 16px; box-shadow:0 7px 18px rgba(35,50,41,.09); }
.submission-meta { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; padding:14px 2px 12px; }
.submission-meta > div { display:flex; flex-direction:column; gap:2px; }
.submission-meta small { color:var(--muted); font-size:11px; }
.submission-selections { display:grid; gap:8px; }
.wall-toggle { display:grid; grid-template-columns:auto auto; grid-template-rows:auto auto; align-items:center; column-gap:7px; cursor:pointer; }
.wall-toggle input { position:absolute; opacity:0; pointer-events:none; }
.toggle-slider { grid-row:1/3; position:relative; display:block; width:42px; height:24px; border-radius:99px; background:#c9ccc5; transition:.15s ease; }
.toggle-slider::after { content:""; position:absolute; top:3px; left:3px; width:18px; height:18px; border-radius:50%; background:white; box-shadow:0 2px 5px rgba(0,0,0,.18); transition:.15s ease; }
.wall-toggle input:checked + .toggle-slider { background:var(--green); }
.print-toggle input:checked + .toggle-slider { background:var(--orange); }
.wall-toggle input:checked + .toggle-slider::after { transform:translateX(18px); }
.wall-toggle input:focus-visible + .toggle-slider { outline:3px solid rgba(232,111,61,.35); outline-offset:2px; }
.wall-toggle > span:last-child { font-size:11px; font-weight:800; }
.submission-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.submission-actions .secondary-button { margin:0; }
.preview-test-note { display:grid; grid-template-columns:auto 1fr 1fr; gap:20px; align-items:start; margin-top:24px; padding:22px 25px; border:1px solid #dcd8ce; border-radius:17px; background:#f1eee5; }
.preview-test-note h2 { margin:0; font-family:Georgia,serif; font-size:22px; font-weight:500; }
.preview-test-note strong { display:block; font-size:13px; }
.preview-test-note p { margin:4px 0 0; color:var(--muted); font-size:12px; line-height:1.5; }

/* Live Wall: het achtergrondthema is bewust één vervangbare asset. */
.live-wall-page { min-height:100vh; }
.live-wall-main { width:min(1500px,calc(100% - 40px)); min-height:calc(100vh - 158px); padding:46px 0 54px; }
.wall-entry { width:min(720px,100%); margin:0 auto; text-align:center; }
.wall-entry-logo { display:block; width:auto; height:112px; margin:0 auto 16px; object-fit:contain; }
.wall-entry h1 { max-width:none; font-size:clamp(58px,8vw,92px); }
.wall-entry .intro { margin:22px auto 0; }
.wall-room-form { width:min(590px,100%); margin:34px auto 0; padding:25px; border:1px solid var(--line); border-radius:22px; background:var(--card); box-shadow:var(--shadow); text-align:left; }
.wall-room-form label { display:block; margin:0 0 9px; color:var(--green-dark); font-size:13px; font-weight:800; }
.wall-room-controls { display:grid; grid-template-columns:minmax(160px,.8fr) minmax(220px,1.2fr); gap:12px; }
.wall-room-controls input { min-width:0; height:51px; padding:0 16px; border:1px solid #b9c3b9; border-radius:9px; color:var(--ink); background:#fff; font-size:23px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; }
.wall-room-controls input:focus { outline:3px solid rgba(221,235,125,.65); border-color:var(--green); }
.wall-room-controls .primary-button { height:51px; }
.wall-shell { overflow:hidden; border:1px solid rgba(23,35,29,.16); border-radius:24px; background:var(--card); box-shadow:var(--shadow); }
.wall-shell[hidden] { display:none; }
.wall-toolbar { min-height:76px; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:13px 16px 13px 22px; border-bottom:1px solid rgba(23,35,29,.11); background:rgba(255,253,248,.96); }
.wall-toolbar-status { display:flex; align-items:center; gap:12px; }
.wall-toolbar-status strong { font-family:Georgia,serif; font-size:21px; font-weight:500; }
.wall-connection { display:inline-flex; align-items:center; gap:7px; color:var(--muted); font-size:12px; font-weight:800; }
.wall-connection::before { content:""; width:8px; height:8px; border-radius:50%; background:#d49a54; }
.wall-connection.ready::before { background:#65a36f; box-shadow:0 0 0 4px rgba(101,163,111,.13); }
.wall-connection.warning::before { background:#d49a54; }
.wall-toolbar-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.wall-control { min-height:42px; padding:0 14px; border:1px solid #c3cbc1; border-radius:10px; color:var(--green-dark); background:#fffdf8; cursor:pointer; font-size:13px; font-weight:800; }
.wall-control:hover { background:#f1f5e8; }
.wall-fullscreen { color:#fff; border-color:var(--green); background:var(--green); }
.wall-fullscreen:hover { background:#376c53; }
.wall-stage { --wall-theme-image:url('assets/wall-themes/soft-sky.png?v=10'); position:relative; width:100%; height:clamp(480px,68vh,850px); overflow:hidden; isolation:isolate; background:#ccecf3 var(--wall-theme-image) center/cover no-repeat; }
.wall-object { position:absolute; z-index:1; top:0; left:0; display:block; width:130px; height:130px; image-rendering:pixelated; filter:drop-shadow(0 9px 8px rgba(43,55,48,.2)); will-change:transform; pointer-events:none; }
.wall-empty { position:absolute; z-index:0; inset:50% auto auto 50%; transform:translate(-50%,-50%); display:flex; flex-direction:column; align-items:center; width:min(420px,80%); padding:24px; color:#496257; border:1px solid rgba(255,255,255,.76); border-radius:22px; background:rgba(255,253,248,.72); box-shadow:0 14px 40px rgba(43,55,48,.08); backdrop-filter:blur(8px); text-align:center; }
.wall-empty[hidden] { display:none; }
.wall-empty span { color:var(--orange); font-size:25px; }
.wall-empty strong { margin-top:5px; font-family:Georgia,serif; font-size:25px; font-weight:500; }
.wall-empty small { margin-top:7px; color:var(--muted); font-size:13px; }
.wall-shell:fullscreen { width:100vw; height:100vh; border:0; border-radius:0; background:#ccecf3; }
.wall-shell:fullscreen .wall-toolbar { display:none; }
.wall-shell:fullscreen .wall-stage { width:100vw; height:100vh; }
.wall-shell:fullscreen::backdrop { background:#ccecf3; }

@media (max-width: 900px) {
  main { width:min(100% - 28px, 720px); }
  .hero { grid-template-columns:1fr; padding-top:42px; gap:28px; }
  .step-strip { justify-content:flex-start; }
  .workspace { grid-template-columns:1fr; }
  .panel { min-height:auto; }
  .result-panel { min-height:605px; }
  .landing-main { width:min(100% - 28px,760px); }
  .landing-hero { padding-top:56px; }
  .choice-grid { grid-template-columns:1fr; max-width:620px; margin:0 auto; }
  .app-grid { grid-template-columns:1fr; max-width:680px; }
  .choice-card { min-height:0; display:grid; grid-template-columns:190px 1fr; grid-template-rows:1fr; align-items:center; gap:22px; padding:22px 68px 22px 22px; border-radius:110px 30px 30px 110px; text-align:left; }
  .choice-art { width:190px; margin:0; }
  .choice-copy small { max-width:310px; }
  .teacher-main { width:min(100% - 28px,760px); }
  .teacher-hero { grid-template-columns:1fr 240px; }
  .submission-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .preview-test-note { grid-template-columns:1fr 1fr; }
  .preview-test-note h2 { grid-column:1/-1; }
  .live-wall-main { width:min(100% - 28px,900px); }
  .material-hero { grid-template-columns:1fr 220px; }
  .material-specs { grid-template-columns:1fr; }
  .wall-toolbar { align-items:flex-start; }
  .wall-toolbar-status { align-items:flex-start; flex-direction:column; gap:5px; }
  .wall-stage { height:clamp(500px,70vh,760px); }
}
@media (max-width: 560px) {
  .topbar { min-height:68px; padding:10px 14px; }
  .brand-logo { height:44px; }
  .brand small { display:none; }
  .privacy-pill { font-size:0; padding:9px; }
  .privacy-pill::after { content:"Lokaal"; font-size:12px; }
  .hero { padding:35px 2px 26px; }
  h1 { font-size:52px; }
  .intro { font-size:16px; }
  .step-strip span { font-size:11px; }
  .step-strip i { flex-basis:14px; }
  .panel { padding:18px; border-radius:14px; }
  .dropzone { min-height:420px; padding:24px 15px; }
  .canvas-wrap { min-height:360px; }
  .editor-actions { flex-direction:column-reverse; }
  .editor-actions button { width:100%; }
  .palette-row { align-items:flex-start; flex-direction:column; }
  .palette-row p { max-width:none; }
  .swatch { width:32px; height:32px; }
  .download-row { grid-template-columns:1fr 1fr; }
  #threeMfBtn { grid-column:1 / -1; }
  .api-note { grid-template-columns:auto 1fr; padding:20px; }
  .api-note .status-chip { display:none; }
  footer { padding:20px 16px; gap:14px; }
  .back-link { min-height:39px; padding:0 12px; font-size:12px; }
  .landing-main { width:min(100% - 24px,520px); padding-bottom:48px; }
  .landing-hero { padding:48px 2px 34px; }
  .landing-hero h1, .landing-hero-compact h1 { font-size:52px; }
  .section-heading { display:block; }
  .section-heading h2 { margin-top:7px; }
  .app-card-featured { min-height:0; flex-direction:column; gap:8px; padding:20px 20px 72px; border-radius:36px; text-align:center; }
  .app-grid .app-card-featured { min-height:0; flex-direction:column; gap:8px; padding:20px 20px 72px; border-radius:36px; text-align:center; }
  .app-grid .app-art { flex-basis:auto; width:min(100%,280px); height:auto; }
  .app-art { width:min(100%,280px); height:auto; aspect-ratio:1; }
  .app-card-copy small { max-width:290px; }
  .choice-card { display:flex; min-height:0; padding:20px 20px 68px; border-radius:34px; text-align:center; }
  .choice-art { width:min(100%,270px); }
  .placeholder-main { padding-top:30px; }
  .placeholder-card { padding:25px 18px 30px; border-radius:26px; }
  .placeholder-card h1 { font-size:44px; }
  .teacher-submit-controls { grid-template-columns:1fr; }
  .material-main { width:min(100% - 24px,520px); }
  .material-hero { grid-template-columns:1fr; padding-top:38px; }
  .material-hero > img { width:min(290px,85vw); justify-self:center; }
  .material-downloads { padding:20px 16px; }
  .material-downloads .section-heading { align-items:flex-start; }
  .material-file-grid { grid-template-columns:1fr; }
  .material-file-grid p { min-height:0; }
  .material-specs,.material-advice { padding:22px 18px; }
  .material-specs dl { grid-template-columns:1fr; }
  .teacher-main { width:min(100% - 24px,520px); }
  .teacher-hero { grid-template-columns:1fr; padding-top:40px; }
  .teacher-hero-art { width:min(310px,85vw); justify-self:center; }
  .teacher-auth { grid-template-columns:1fr; }
  .teacher-card { padding:22px; }
  .room-overview { align-items:flex-start; flex-direction:column; padding:24px 20px; }
  .room-actions { justify-content:flex-start; }
  .room-stats { grid-template-columns:1fr; }
  .submissions-section { padding:20px 16px; }
  .submissions-heading { align-items:flex-start; flex-direction:column; }
  .print-export-panel { grid-template-columns:1fr; padding:18px; }
  .print-export-actions { grid-template-columns:1fr; }
  .submission-list { grid-template-columns:1fr; }
  .preview-test-note { grid-template-columns:1fr; padding:20px; }
  .preview-test-note h2 { grid-column:auto; }
  .live-wall-main { width:min(100% - 20px,520px); padding-top:34px; }
  .wall-entry-logo { height:92px; }
  .wall-room-form { padding:18px; }
  .wall-room-controls { grid-template-columns:1fr; }
  .wall-toolbar { align-items:stretch; flex-direction:column; padding:13px; }
  .wall-toolbar-status { flex-direction:row; align-items:center; }
  .wall-toolbar-actions { display:grid; grid-template-columns:1fr 1fr; }
  .wall-toolbar-actions .wall-control:last-child { grid-column:1/-1; }
  .wall-stage { height:66vh; min-height:440px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior:auto!important; transition:none!important; } }

/* Gedeelde ingang naar de platformbrede docentgidsen. */
.teacher-guide-cta{width:min(1040px,calc(100% - 28px));margin:30px auto 8px;padding:18px 20px;border:1px solid #cfe4db;border-radius:20px;background:linear-gradient(135deg,#f2fbf7,#fff8e4);display:flex;gap:18px;align-items:center;justify-content:space-between;box-sizing:border-box}.teacher-guide-cta div{display:grid;gap:4px}.teacher-guide-cta strong{font-size:1.08rem;color:#174b3c}.teacher-guide-cta small{color:#587269;line-height:1.45}.teacher-guide-cta a{white-space:nowrap}.teacher-hub-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;margin:0 0 24px;border:1px solid #cde4da;border-radius:22px;background:linear-gradient(135deg,#ecf8f3,#fff8e4);color:inherit;text-decoration:none}.teacher-hub-banner span{display:grid;gap:4px}.teacher-hub-banner strong{font-size:1.2rem}.teacher-hub-banner small{color:#55736a}.teacher-hub-banner b{font-size:1.4rem}@media(max-width:700px){.teacher-guide-cta{align-items:stretch;flex-direction:column}.teacher-guide-cta a{text-align:center}.teacher-hub-banner{align-items:flex-start}.teacher-hub-banner b{display:none}}

/* Kwaliteitsronde fase 2: veilige, gedeelde bediening zonder app-identiteit te vervangen. */
.site-nav {
  max-width:100%;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.site-nav::-webkit-scrollbar { display:none; }
.site-nav a { flex:0 0 auto; min-height:44px; }

.teacher-guide-cta .secondary-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  margin:0;
  text-decoration:none;
}

.aquarium-choice,
.dino-choice,
.quiz-card,
.chat-choice,
.coin-choice,
.mandala-choice,
.lamp-choice,
.balance-choice,
.bias-choice {
  min-height:180px;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.aquarium-choice:hover,
.dino-choice:hover,
.chat-choice:hover,
.coin-choice:hover,
.mandala-choice:hover,
.lamp-choice:hover,
.balance-choice:hover,
.bias-choice:hover {
  transform:translateY(-4px);
}

:where(a,button,input,select,textarea,[tabindex]):focus-visible {
  outline:4px solid rgba(232,111,61,.48);
  outline-offset:3px;
}

.site-nav a:focus-visible,
.teacher-guide-cta a:focus-visible,
.teacher-hub-banner:focus-visible,
.aquarium-choice:focus-visible,
.dino-choice:focus-visible,
.quiz-card:focus-visible,
.chat-choice:focus-visible,
.coin-choice:focus-visible,
.mandala-choice:focus-visible,
.lamp-choice:focus-visible,
.balance-choice:focus-visible,
.bias-choice:focus-visible {
  outline:4px solid rgba(232,111,61,.48);
  outline-offset:4px;
}

@media (max-width:640px) {
  .topbar:has(.site-nav) { flex-wrap:wrap; }
  .topbar .site-nav {
    flex:1 1 100%;
    order:3;
    width:100%;
  }
  .site-nav a { min-height:44px; }
  .aquarium-choice,
  .dino-choice,
  .quiz-card,
  .chat-choice,
  .coin-choice,
  .mandala-choice,
  .lamp-choice,
  .balance-choice,
  .bias-choice { min-height:150px; }
  footer {
    align-items:flex-start;
    flex-direction:column;
    line-height:1.5;
  }
}

@media (prefers-reduced-motion:reduce) {
  .aquarium-choice:hover,
  .dino-choice:hover,
  .quiz-card:hover,
  .chat-choice:hover,
  .coin-choice:hover,
  .mandala-choice:hover,
  .lamp-choice:hover,
  .balance-choice:hover,
  .bias-choice:hover { transform:none; }
}

/* Volwaardige appillustraties: dezelfde DinoMoon-mascotte, per app een eigen scène. */
.app-hero-illustration {
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 18px 24px rgba(35,72,56,.14));
}

:is(
  .cloud-art,
  .aquarium-hero-art,
  .dino-hero-art,
  .chat-hero-art,
  .coin-hero-art,
  .mandala-orbit,
  .lamp-glow,
  .balance-art,
  .bias-hero-art
).app-hero-artwork {
  position:relative;
  display:grid;
  place-items:center;
  justify-self:center;
  width:min(390px,35vw);
  min-width:220px;
  height:auto;
  min-height:0;
  aspect-ratio:1;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  filter:none;
  transform:none;
  animation:none;
}

.quiz-hero-icon.app-hero-illustration {
  width:min(340px,72vw);
  margin:0 auto 12px;
  font-size:inherit;
}

@media (max-width:820px) {
  :is(
    .cloud-art,
    .aquarium-hero-art,
    .dino-hero-art,
    .chat-hero-art,
    .coin-hero-art,
    .mandala-orbit,
    .lamp-glow,
    .balance-art,
    .bias-hero-art
  ).app-hero-artwork {
    display:grid;
    width:min(280px,78vw);
    min-width:0;
    margin-inline:auto;
  }
}

/* Titels krijgen ruimte voor letters met stokken en staarten. */
h1{line-height:1.13;text-wrap:balance}h1 em{display:inline-block;line-height:1.13}.dino-main>section>h1 em{display:block}

h1,h1 em{line-height:1.18!important}

.facing-learner{display:grid;gap:7px;margin:16px 0;padding:16px;border-radius:18px;background:#eef7df;font-weight:750}.facing-learner select,.facing-choice select{font:inherit;min-height:44px;border:2px solid #9fc28f;border-radius:12px;background:#fff;padding:8px}.facing-learner small{font-weight:400}.facing-choice{display:flex;align-items:center;gap:7px}.facing-choice small{font-size:.8rem}.optional-ai-inline{display:grid;gap:8px;padding-top:8px}.optional-ai-inline img{display:none}.optional-ai-inline>strong{display:none}

/* Update 3: ruimte voor tekenen, één duidelijke plek om werk in te sturen. */
[data-technical-status]{display:none!important}
[data-room-auth] form :is(.primary-button,.secondary-button){margin-top:14px}
.landing-page .student-submit-bar{display:grid;grid-template-columns:minmax(110px,.7fr) minmax(140px,1fr) auto;align-items:end;gap:16px;margin-top:24px;padding:22px;border:1px solid #ceddcc;border-radius:22px;background:#fff;max-width:100%;width:100%;box-sizing:border-box}
.student-submit-bar>div:not(.cooldown-panel),.student-submit-bar>fieldset,.student-submit-bar>.facing-learner,.student-submit-bar>p{grid-column:1/-1}
.student-submit-bar h2{font-size:1.25rem;margin:0 0 6px}.student-submit-bar p{margin:0;line-height:1.5}.student-submit-bar>label{display:grid;gap:8px;margin:0;font-size:.95rem;font-weight:700}.student-submit-bar input{box-sizing:border-box;width:100%;min-width:0;min-height:48px;padding:10px 12px;border:1px solid #b6cbb6;border-radius:12px;font:inherit}.student-submit-bar>button{min-height:48px;align-self:end}.student-submit-bar>input{max-width:100%}
.fish-facing-choice{min-width:0;margin:0;padding:14px;border:0;border-radius:18px;background:#eef7df}.fish-facing-choice legend{padding-top:12px;font-weight:800}.fish-facing-buttons{display:flex;gap:12px;margin:10px 0}.fish-facing-buttons button{display:flex;flex:1;justify-content:center;align-items:center;gap:14px;min-height:68px;border:2px solid #8ba66a;border-radius:18px;background:#fff;color:#23401e;cursor:pointer;font:inherit}.fish-facing-buttons button span{font-size:2rem;line-height:1}.fish-facing-buttons button[aria-pressed="true"]{background:#d9efab;border-color:#416d25;box-shadow:0 3px 0 #416d25}.fish-facing-buttons button:focus-visible{outline:3px solid #0b72b5;outline-offset:3px}.fish-facing-choice small{display:block;line-height:1.5}
@media(max-width:680px){.landing-page .student-submit-bar{grid-template-columns:1fr 1fr;padding:16px;gap:12px}.student-submit-bar>button{grid-column:1/-1;width:100%}.fish-facing-buttons{gap:8px}.fish-facing-buttons button{gap:8px;font-size:.9rem}}
