/* Contrast check (/tools/contrast-check): only what the AI visibility check's styles (ai-visibility.css) do not
   already cover — the numbers grid, the page list, the colour swatches and the "copy all" button. Tokens only. */
.editorial .ctc-host{font-size:0.875rem;color:var(--white);opacity:0.7;}

.editorial .ctc-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1.25rem;margin:0;}
.editorial .ctc-stat{display:flex;flex-direction:column-reverse;justify-content:flex-end;gap:0.5rem;padding:1.25rem 1.5rem;border:1px solid var(--line);border-radius:0.875rem;background:var(--white);}
.editorial .ctc-stat dt{font-size:0.875rem;line-height:1.3;color:var(--muted);}
.editorial .ctc-stat dd{margin:0;font-family:var(--serif);font-size:2.5rem;line-height:1;color:var(--ink);}
@media(max-width:860px){.editorial .ctc-stats{grid-template-columns:repeat(2,minmax(0,1fr));}}

.editorial .ctc-pages{display:flex;flex-wrap:wrap;align-items:baseline;gap:0.75rem 1rem;margin-top:1.5rem;}
.editorial .ctc-pages-label{font-size:0.75rem;letter-spacing:0.04em;color:var(--muted);}
.editorial .ctc-page-list{display:flex;flex-wrap:wrap;gap:0.5rem;margin:0;padding:0;list-style:none;}
.editorial .ctc-page-list li{padding:0.375rem 0.75rem;border:1px solid var(--line);border-radius:3.125rem;font-size:0.8125rem;line-height:1;color:var(--ink-secondary);}

.editorial .ctc-issues > h2{margin-bottom:0;}
.editorial .ctc-copy-all{margin:1rem 0 1.25rem;padding:0.6875rem 1.25rem;font-size:var(--fs-btn,0.875rem);}
.editorial .ctc-swatches{display:flex;flex-wrap:wrap;align-items:center;gap:0.625rem;margin-bottom:0.75rem;}
.editorial .ctc-swatch{display:inline-flex;align-items:baseline;gap:0.625rem;padding:0.625rem 0.875rem;border:1px solid var(--line);border-radius:0.625rem;}
.editorial .ctc-swatch-aa{font-family:var(--serif);font-size:1.75rem;line-height:1;}
.editorial .ctc-swatch-label{font-size:0.8125rem;line-height:1;}
.editorial .ctc-arrow{font-size:1rem;color:var(--muted);}
.editorial .ctc-token{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:0.8125rem;}
.editorial .ctc-placeholder .aiv-issue-detail{color:var(--line);}
html[lang="nl"] .editorial .ctc-tool .aiv-issue-fix::before,html[lang="nl"].editorial .ctc-tool .aiv-issue-fix::before{content:"Oplossing: ";}

/* score panel: the two-line headline and sentence get room, the PDF download sits under the sentence; the e-mail
   panel before the result (contrast.js buildGatePanel) */
.editorial .ctc-tool .aiv-score-headline{max-width:40rem;}
.editorial .ctc-download{box-sizing:border-box;min-height:2.875rem;margin-top:2rem;padding:0 1.75rem;border:0;justify-content:center;font-size:1rem;} /* a link pill has no height of its own: the site sets .pill span{line-height:0} */
.editorial .ctc-gate .aiv-score-headline{max-width:30rem;}
.editorial .ctc-gate .aiv-unlock-form{margin-top:2rem;}
.editorial .ctc-gate .aiv-unlock-form .pill{width:100%;box-sizing:border-box;min-height:2.875rem;justify-content:center;border:0;margin-top:1.75rem;padding:0 1.75rem;font-size:var(--fs-btn);}
/* on a phone the sentence under the headline wraps by itself (the forced break leaves one word alone) */
@media(max-width:699px){.editorial .ctc-tool .aiv-score-headline p br{display:none;}}
.editorial .ctc-gate .aiv-unlock-status:empty{display:none;}
