/* Yippie Subsidies — gedeelde stijlen voor /subsidies en /subsidies/<regeling>
   (bovenop styles.css; zelfde tokens, "Het klaslokaal") */

.ref { font-size: .68em; line-height: 0; margin-left: 2px; }
.ref a { color: var(--coral-2); text-decoration: none; font-weight: 800; }
.board .ref a { color: var(--coral-soft); }
.narrow { max-width: 820px; }

/* ── Subsidiecheck ─────────────────────────────────────── */
.check { padding: 28px 30px 26px; background: var(--card); }
.ck-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ck-title { font-size: 1.7rem; }
.ck-time { font-family: var(--font-hand); font-weight: 600; font-size: 1.35rem; color: var(--coral-2); white-space: nowrap; }
.ck-intro { font-size: .95rem; color: var(--ink-2); line-height: 1.55; margin: 6px 0 16px; }
.ck-bar { height: 6px; background: var(--paper-2); border-radius: 99px; overflow: hidden; margin-bottom: 22px; }
.ck-bar span { display: block; height: 100%; width: 16%; background: var(--coral); border-radius: 99px; transition: width .4s cubic-bezier(.22,1,.36,1); }

.ck-step { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.ck-step.on { display: block; animation: ckIn .35s cubic-bezier(.22,1,.36,1) both; }
@keyframes ckIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.ck-step legend { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.25; color: var(--ink); margin-bottom: 16px; padding: 0; }
.ck-n { display: block; font-family: var(--font-body); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }

.ck-opts { display: grid; gap: 9px; }
.ck-opt { position: relative; display: block; cursor: pointer; }
.ck-opt input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.ck-opt span {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border: 2px solid var(--rule); border-radius: 8px;
  font-weight: 700; font-size: .96rem; line-height: 1.35; color: var(--ink); background: var(--card);
  transition: border-color .15s, background .15s;
}
.ck-opt span::before {
  content: ''; width: 18px; height: 18px; flex-shrink: 0;
  border: 2px solid var(--ink); border-radius: 50%; background: var(--card);
  transition: background .15s, box-shadow .15s;
}
.ck-opt input[type="checkbox"] + span::before { border-radius: 4px; }
.ck-opt:hover span { border-color: var(--ink); }
.ck-opt input:checked + span { border-color: var(--coral-2); background: var(--coral-tint); }
.ck-opt input:checked + span::before { background: var(--coral-2); border-color: var(--coral-2); box-shadow: inset 0 0 0 3px var(--card); }
.ck-opt input:focus-visible + span { outline: 3px solid var(--marker); outline-offset: 2px; }

.ck-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; }
.ck-nav .btn { padding: 11px 20px; font-size: .92rem; }
.ck-nav .ck-next:only-child, .ck-nav [type="submit"]:only-child { margin-left: auto; }
.ck-back { background: none; border: 0; font: inherit; font-weight: 800; font-size: .92rem; color: var(--ink-3); cursor: pointer; padding: 8px 0; }
.ck-back:hover { color: var(--ink); }
.ck-back:focus-visible { outline: 3px solid var(--marker); outline-offset: 2px; }
.ck-msg { font-size: .85rem; font-weight: 700; color: var(--coral-3); margin-top: 10px; min-height: 1px; }

.ck-res { display: flex; flex-direction: column; gap: 10px; }
.ck-item { border: 1.5px solid var(--rule); border-radius: 8px; padding: 12px 14px; }
.ck-item.hot { border: 2px solid var(--coral-2); background: var(--coral-tint); }
.ck-item-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ck-item strong { font-size: 1rem; color: var(--ink); }
.ck-st { font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); background: var(--paper-2); padding: 3px 7px 2px; border-radius: 3px; white-space: nowrap; }
.ck-item.hot .ck-st { background: var(--coral-2); color: #fff; }
.ck-item p { font-size: .88rem; color: var(--ink-2); line-height: 1.5; margin-top: 4px; }
.ck-item a { color: var(--ink); font-weight: 800; }
.ck-small { font-size: .8rem; color: var(--ink-3); line-height: 1.5; margin-top: 12px; }
.ck-small a { color: var(--ink-2); }
.check .fg { margin-bottom: 14px; }
.check .fg input, .check .fg select { font-size: .98rem; }
.ck-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); line-height: 1.45; cursor: pointer; margin-top: 4px; }
.ck-consent input { accent-color: var(--coral); width: 18px; height: 18px; margin-top: 1px; flex-shrink: 0; }
.ck-err { font-size: .88rem; font-weight: 700; color: var(--coral-3); margin-top: 8px; }
.ck-err:empty { display: none; }
.ck-done { display: none; text-align: center; padding: 30px 0 14px; }
.ck-done .hand { font-size: 2.6rem; margin-bottom: 4px; }
.ck-done h3 { font-size: 1.6rem; margin-bottom: 8px; }
.ck-done p { color: var(--ink-2); }

/* ── Vragen & bronnen ──────────────────────────────────── */
.faq { border-top: 2px solid var(--ink); margin-top: 32px; }
.faq-item { border-bottom: 1.5px solid var(--rule); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 800; font-size: 1.06rem; line-height: 1.45; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 4px; top: 13px; font-family: var(--font-display); font-size: 1.7rem; color: var(--coral-2); transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 3px solid var(--marker); outline-offset: 3px; }
.faq-item p { padding: 0 0 22px; color: var(--ink-2); line-height: 1.75; max-width: 700px; }
.faq-item p a { color: var(--ink); font-weight: 700; }
.bronnen { margin-top: 48px; font-size: .82rem; color: var(--ink-3); line-height: 1.6; }
.bronnen ol { padding-left: 18px; margin-top: 6px; }
.bronnen a { color: var(--ink-3); word-break: break-word; }
.bronnen li:target { background: var(--marker); }

/* ── Losse aanvraagformulieren (regelingpagina's) ──────── */
.lead-done { display: none; text-align: center; padding: 30px 0; }
.lead-done .hand { font-size: 2.6rem; margin-bottom: 4px; }
.lead-done h3 { font-size: 1.6rem; margin-bottom: 8px; }
.lead-done p { color: var(--ink-2); }
.form-note { font-size: .82rem; color: var(--ink-3); margin-top: 12px; line-height: 1.5; }
.form-note a { color: var(--ink-2); }

@media (max-width: 480px) {
  .check { padding: 22px 18px 20px; }
  .ck-title { font-size: 1.45rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ck-step.on { animation: none; }
}
