/* toegankelijk.css – toegankelijkheid voor alle pagina's (verbeterlijst A181–A185, golf 1; zie toegankelijk.js).
   Als LAATSTE stylesheet laden (na mobiel.css), zodat de weergave-keuzes voorgaan. */

/* knop rechtsonder en "naar de inhoud" */
.ua-knop { position: fixed; right: 16px; bottom: 16px; z-index: 70; width: 48px; height: 48px; border-radius: 50%; border: 2px solid #fff;
  background: #0b63e5; color: #fff; font: 700 17px/1 "Segoe UI", system-ui, sans-serif; cursor: pointer; box-shadow: 0 6px 18px rgba(13,26,38,.28); }
.ua-knop:focus-visible, .ua-paneel :focus-visible, .ua-uitvenster :focus-visible, .ua-mic:focus-visible { outline: 3px solid #5AD6C1; outline-offset: 2px; }
.ua-skip { position: fixed; left: 8px; top: -60px; z-index: 90; background: #0b1a2c; color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.ua-skip:focus { top: 8px; }
@media print { .ua-knop, .ua-skip, .ua-paneel { display: none !important; } }

/* paneel */
.ua-paneel { position: fixed; right: 16px; bottom: 74px; z-index: 71; width: min(360px, calc(100vw - 32px)); max-height: calc(100vh - 100px); overflow: auto;
  background: var(--srf, #fff); color: var(--tx, #0d1a26); border: 1px solid var(--ln3, #c8d8e5); border-radius: 14px; padding: 12px 14px;
  box-shadow: 0 14px 36px rgba(13,26,38,.25); font-size: 14px; }
.ua-kop { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.ua-x { width: 36px; height: 36px; border: 0; background: transparent; color: inherit; font-size: 22px; cursor: pointer; border-radius: 8px; }
.ua-groep { border-top: 1px solid var(--ln, #e4ebf2); padding: 8px 0; display: flex; flex-direction: column; gap: 6px; }
.ua-rij { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ua-rij .pb[aria-pressed=true] { background: #0b63e5; border-color: #0b63e5; color: #fff; }
.ua-sch { display: flex; gap: 8px; align-items: center; min-height: 32px; cursor: pointer; }
.ua-sch input { width: 18px; height: 18px; }
.ua-voet { margin: 6px 0 0; }

/* uitkomst (eenvoudige taal, vertaling, controle) */
.ua-uitlaag { position: fixed; inset: 0; z-index: 80; background: rgba(13,26,38,.45); display: grid; place-items: center; padding: 16px; }
.ua-uitvenster { background: var(--srf, #fff); color: var(--tx, #0d1a26); border-radius: 14px; width: min(720px, 100%); max-height: calc(100vh - 32px);
  overflow: auto; padding: 14px 18px; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.ua-uitkop { display: flex; justify-content: space-between; align-items: center; }
.ua-uitkop h2 { margin: 0; font-size: 18px; }
.ua-tekst { white-space: normal; line-height: 1.7; font-size: 16px; background: var(--hov, #f6f9fc); border-radius: 10px; padding: 12px 14px; margin: 10px 0; }
.ua-acties { display: flex; gap: 8px; flex-wrap: wrap; }
.ua-lijst { padding-left: 18px; }
.ua-lijst li { margin: 6px 0; }
.ua-lijst .ua-fout b { color: #b3261e; }
.ua-lijst .ua-waarschuwing b { color: #8a5a00; }
.ua-lijst code { font-size: 12px; background: var(--hov, #f6f9fc); padding: 1px 4px; border-radius: 4px; overflow-wrap: anywhere; }

/* dicteerknop */
.ua-mic { min-width: 36px; height: 32px; border: 1px solid var(--ln3, #c8d8e5); background: var(--srf, #fff); border-radius: 8px; cursor: pointer; font-size: 15px; }
.ua-mic-los { margin: 4px 0 0 4px; vertical-align: top; }
.ua-mic.ua-opname { background: #c43a26; border-color: #c43a26; color: #fff; animation: ua-puls 1.2s ease-in-out infinite; }
@keyframes ua-puls { 50% { box-shadow: 0 0 0 6px rgba(196,58,38,.25); } }
@media (pointer: coarse), (max-width: 760px) { .ua-mic { min-width: 44px; height: 44px; } .ua-knop { right: 12px; bottom: 12px; } }

/* weergave-keuzes */
html.uwp-a-groot1 body { zoom: 1.15; }
html.uwp-a-groot2 body { zoom: 1.3; }
html.uwp-a-groot1 .ua-knop, html.uwp-a-groot2 .ua-knop { zoom: 1; }
html.uwp-a-links a { text-decoration: underline !important; }
html.uwp-a-ruim body { line-height: 1.8 !important; letter-spacing: .02em; word-spacing: .08em; }
html.uwp-a-ruim p, html.uwp-a-ruim li { line-height: 1.8 !important; }
html.uwp-a-rustig *, html.uwp-a-rustig *::before, html.uwp-a-rustig *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.uwp-a-contrast { --tx: #000; --tx2: #111; --tx3: #222; --ln: #6b7a88; --ln2: #8a96a2; --ln3: #3c4a57; --txa: #00264d; }
html.uwp-a-contrast[data-theme=dark] { --tx: #fff; --tx2: #f0f0f0; --tx3: #e2e2e2; --ln: #9aa9b8; --ln2: #7d8b99; --ln3: #c9d4de; --txa: #d9ecff; }
html.uwp-a-contrast .mini, html.uwp-a-contrast .sub, html.uwp-a-contrast small { color: var(--tx2) !important; }
html.uwp-a-contrast :focus-visible { outline: 3px solid #000 !important; outline-offset: 2px; box-shadow: 0 0 0 5px #ffd400 !important; }
html.uwp-a-contrast[data-theme=dark] :focus-visible { outline-color: #fff !important; }
html.uwp-a-contrast .pb, html.uwp-a-contrast .inp, html.uwp-a-contrast input, html.uwp-a-contrast select, html.uwp-a-contrast textarea { border-color: var(--ln3) !important; }
