/* Dutch Exam: study books, history & KNM, rules, email guide and practice exams (js/views/exam.js). */
.ex-back { margin: 4px 0 6px; }
.ex-h2 { margin: 26px 0 10px; font-size: 24px; }
.ex-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 10px 0 20px; }
.ex-tile {
  --c: #2f80ff;
  display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 18px; color: var(--ink); text-decoration: none;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 26%, transparent), rgba(9, 20, 48, .9) 70%);
  border: 1px solid color-mix(in srgb, var(--c) 55%, transparent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3); transition: transform .15s ease, box-shadow .15s ease;
}
.ex-tile:hover, .ex-tile:focus-visible { transform: translateY(-3px); box-shadow: 0 12px 30px color-mix(in srgb, var(--c) 35%, transparent); }
.ex-tile-ic { font-size: 40px; line-height: 1; }
.ex-tile b { font: 800 21px/1.2 var(--font-head); }
.ex-tile small { color: var(--muted); }
.ex-prog { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.ex-prog em { font-style: normal; font-size: 13px; color: var(--muted); white-space: nowrap; }
.ex-bar { flex: 1; height: 9px; border-radius: 9px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.ex-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--gold)); border-radius: inherit; transition: width .4s ease; }
.ex-book-prog { display: flex; align-items: center; gap: 12px; max-width: 520px; margin: 0 0 16px; color: var(--muted); }

.ex-chapters { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin: 0 0 20px; }
.ex-chapter {
  --c: #2f80ff;
  display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; color: var(--ink); text-decoration: none;
  background: var(--panel); border: 1px solid var(--line); border-left: 6px solid var(--c);
}
.ex-chapter:hover, .ex-chapter:focus-visible { background: var(--panel-2); }
.ex-chapter b { font: 800 17px/1.3 var(--font-head); }
.ex-chapter small { color: var(--muted); }
.ex-badge { align-self: flex-start; margin-top: 4px; font-size: 13px; font-weight: 800; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--muted); }
.ex-badge.ok { background: rgba(34, 197, 94, .18); color: #86efac; }
.ex-badge.low { background: rgba(255, 199, 44, .16); color: var(--gold-2); }

.ex-nl { font-size: 19px; line-height: 1.7; }
.ex-big { font: 800 22px/1.4 var(--font-head); }
.ex-read details, .ex-listen details { margin-top: 10px; }
.ex-read summary, .ex-listen summary, .ex-model summary { cursor: pointer; color: var(--gold-2); font-weight: 800; }
.ex-words { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.ex-word {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; border-radius: 12px; cursor: pointer; text-align: left;
  font: inherit; color: var(--ink); background: rgba(47, 128, 255, .1); border: 1px solid var(--line);
}
.ex-word:hover { background: rgba(47, 128, 255, .22); }
.ex-word b { font-size: 17px; }
.ex-word small { color: var(--muted); }
.ex-grammar { border-color: rgba(168, 85, 247, .5); background: linear-gradient(160deg, rgba(168, 85, 247, .16), var(--panel) 60%); }
.ex-examples { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ex-examples li { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .04); }
.ex-examples li small { grid-column: 2; color: var(--muted); }
.ex-say {
  display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 999px; cursor: pointer; vertical-align: middle;
  font: inherit; font-size: 15px; color: var(--ink); background: rgba(255, 255, 255, .1); border: 1px solid var(--line);
}
.ex-say:hover { background: rgba(255, 199, 44, .25); }

.ex-quiz { margin-top: 18px; }
.ex-qs { margin: 0; padding-left: 22px; display: grid; gap: 18px; }
.ex-q::marker { font-weight: 900; color: var(--gold); }
.ex-qt { margin: 0 0 8px; font-weight: 800; font-size: 17px; }
.ex-opts { display: grid; gap: 8px; }
.ex-opt {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 12px; cursor: pointer; text-align: left;
  font: inherit; color: var(--ink); background: rgba(255, 255, 255, .05); border: 2px solid rgba(255, 255, 255, .12);
}
.ex-opt:hover:not(:disabled) { border-color: var(--line); background: rgba(47, 128, 255, .12); }
.ex-opt.sel { border-color: var(--blue); background: rgba(47, 128, 255, .22); }
.ex-opt.right { border-color: var(--green); background: rgba(34, 197, 94, .2); }
.ex-opt.wrong { border-color: var(--red); background: rgba(239, 68, 68, .18); }
.ex-opt:disabled { cursor: default; }
.ex-letter { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 8px; font-weight: 900; background: rgba(255, 255, 255, .1); }
.ex-why { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.ex-result { margin: 16px 0 6px; }
.ex-result > b { font: 900 26px var(--font-head); }
.ex-result .ok, .ex-check .ok { color: #86efac; }
.ex-result .low, .ex-check .low { color: #fca5a5; }
.ex-check { list-style: none; padding: 0; display: grid; gap: 4px; }
.ex-clock { font-variant-numeric: tabular-nums; }

.ex-timeline { list-style: none; margin: 0; padding: 0 0 0 8px; border-left: 3px solid rgba(249, 115, 22, .5); display: grid; gap: 16px; }
.ex-timeline li { display: grid; grid-template-columns: 44px 1fr; gap: 10px; margin-left: -24px; }
.ex-tl-dot { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-size: 22px; background: #1a2550; border: 2px solid #f97316; }
.ex-timeline em { display: block; font-style: normal; font-weight: 900; color: #fdba74; font-size: 14px; }
.ex-timeline b { font: 800 19px var(--font-head); }
.ex-timeline small { display: block; }
.ex-timeline p { margin: 4px 0 0; }
.ex-points { display: grid; gap: 8px; padding-left: 22px; }
.ex-points li::marker { color: var(--gold); }

.ex-parts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.ex-part { padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.ex-part h3 { margin: 0 0 6px; font-size: 19px; }
.ex-tip { margin: 6px 0 0; padding: 8px 12px; border-radius: 10px; background: rgba(255, 199, 44, .1); color: var(--gold-2); font-size: 15px; }
.ex-note { max-width: 70ch; }
.ex-path ol { display: grid; gap: 6px; }

.ex-steps { list-style: none; padding: 0; display: grid; gap: 12px; margin: 0 0 18px; }
.ex-step { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.ex-step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font: 900 20px var(--font-head); color: #1b1150; background: var(--gold); }
.ex-pre { white-space: pre-wrap; font: 600 16px/1.6 var(--font-body); margin: 6px 0; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .06); }
.ex-letter { background: #fdfbf4; color: #1f2937; border-radius: 12px; padding: 18px 20px; box-shadow: inset 0 0 0 1px #e5e0cf; }

.ex-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.ex-split .ex-quiz { margin-top: 0; }
.ex-doc { position: sticky; top: 12px; }
@media (max-width: 900px) { .ex-split { grid-template-columns: 1fr; } .ex-doc { position: static; } }
.ex-listen { text-align: center; }
.ex-scene { font-size: 72px; line-height: 1.1; }
.ex-text, .ex-input {
  width: 100%; padding: 12px 14px; border-radius: 12px; font: 600 17px/1.6 var(--font-body);
  color: #1f2937; background: #fdfbf4; border: 2px solid #d6d0bd;
}
.ex-text { resize: vertical; min-height: 140px; }
.ex-text:focus, .ex-input:focus { outline: 3px solid var(--gold); outline-offset: 1px; }
.ex-input.good { border-color: var(--green); }
.ex-input.bad { border-color: var(--red); }
.ex-form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.ex-form-grid label { display: grid; gap: 4px; font-weight: 800; }
.chip.warn { border-color: var(--red); color: #fca5a5; }
.ex-model { margin-top: 14px; }
.ex-nav { margin-top: 16px; justify-content: space-between; }
