/* De aktekijker (demo/assets/aktekijker.js): scan met kader, dimmen, zoom, leeshulp en een opgelichte regel.
   Alleen tokens uit tokens.css. Gebruikt door de aktenpagina en het aktevenster. */
.akk{display:flex;flex-direction:column;gap:10px;min-width:0}
.akk-knoppen{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.akk-kn{min-width:44px;height:44px;border:2px solid var(--lijn);background:var(--wit);color:var(--inkt);border-radius:var(--radius-knop);font:inherit;font-weight:700;font-size:var(--fs-noot);cursor:pointer;padding:0 12px}
.akk-kn:hover{border-color:var(--inkt)}
.akk-kn:disabled{opacity:.45;cursor:default}
.akk-kn:focus-visible{outline:3px solid var(--kobalt);outline-offset:2px}
.akk-scan{position:relative;overflow:auto;max-height:70vh;background:var(--perk);border:1px solid var(--perk-r);border-radius:4px;touch-action:pan-x pan-y}
.akk-scan:focus-visible{outline:3px solid var(--kobalt);outline-offset:2px}
.akk-in{position:relative;min-width:100%}
.akk-img{display:block;width:100%;height:auto;user-select:none}
.akk-lees1 .akk-img{filter:contrast(1.35) saturate(.6)}
.akk-lees2 .akk-img{filter:invert(1) hue-rotate(180deg)}
.akk-dim{position:absolute;background:var(--inkt);opacity:.45;pointer-events:none}
.akk-kader{position:absolute;box-sizing:border-box;border:3px solid var(--inkt);border-radius:4px;pointer-events:none}
.akk-kader.bewerk{pointer-events:auto;cursor:move;touch-action:none}
.akk-greep{position:absolute;width:14px;height:14px;background:var(--wit);border:2px solid var(--inkt);box-sizing:border-box}
.akk-greep.lb{left:-8px;top:-8px;cursor:nwse-resize}
.akk-greep.rb{right:-8px;top:-8px;cursor:nesw-resize}
.akk-greep.lo{left:-8px;bottom:-8px;cursor:nesw-resize}
.akk-greep.ro{right:-8px;bottom:-8px;cursor:nwse-resize}
.akk-licht{position:absolute;box-sizing:border-box;border:2px solid var(--inkt);background:var(--kobalt-100);mix-blend-mode:multiply;border-radius:3px;pointer-events:none}
.akk-leeg{background:var(--perk);border:1px solid var(--perk-r);border-radius:4px;padding:16px;color:var(--bruin-d)}
.akk-leeg p{margin:0}
@media (max-width:700px){.akk-scan{max-height:60vh}.akk-greep{width:20px;height:20px}.akk-greep.lb,.akk-greep.lo{left:-11px}.akk-greep.rb,.akk-greep.ro{right:-11px}.akk-greep.lb,.akk-greep.rb{top:-11px}.akk-greep.lo,.akk-greep.ro{bottom:-11px}}

/* A2 (Ortwin 20-11): de drie knoppen van de stamboom rechts in de knoppenrij, en volledig scherm.
   In volledig scherm vult de kijker het venster (ook op de iPhone, waar de Fullscreen API ontbreekt). */
.akk-sp{flex:1 1 auto}
.akk-tkn{margin-left:auto}
.akk-tk:disabled{opacity:.35;cursor:default}
body.akk-fs{overflow:hidden}
.akk.akk-vol{position:fixed;inset:0;z-index:10050;background:var(--wit);padding:12px;box-sizing:border-box;gap:10px}
.akk.akk-vol .akk-scan{max-height:none!important;flex:1 1 auto;min-height:0}
@media (max-width:700px){.akk.akk-vol{padding:8px}.akk.akk-vol .akk-kn.breed{padding:0 10px}}
/* in volledig scherm niets over de akte: het blad, Takje onderin, de ballon en de Feedback-knop (Ugo, Daan) */
body.akk-fs #ap-pn,body.akk-fs #mb-onder,body.akk-fs .gd-bel,body.akk-fs #fc-fb-btn{display:none!important}
