/* Payras Software software captures, original layout and files preserved. */
html[data-ps-reduction="on"] img[data-ps-capture]:not([data-ps-fallback]),
img[data-ps-ready] { opacity:0 !important; }
html[data-ps-reduction="on"] .ph-photo-dialog img[src*="/help-media/"]:not([data-ps-fallback]) { opacity:0 !important; }
html[data-ps-reduction="on"] .payras-help-root .ci-photo button:has(> img[src*="44-combinaisons-tea-dialogue.webp"]) {border:0;background:transparent;}
html[data-ps-reduction="on"] .payras-help-root .ci-photo button:has(> img[src*="44-combinaisons-tea-dialogue.webp"]) > img {border-radius:.8rem;object-position:50% 50%;}
canvas.ps-capture-render {position:absolute;display:block;padding:0;border:0;margin:0;pointer-events:none;image-rendering:auto;transition:none!important;animation:none!important;max-width:none!important;}
img[data-ps-capture-open] {cursor:zoom-in;}
.ps-capture-dialog {position:fixed;width:min(96vw,1800px);max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;padding:12px;border:1px solid #54718a;border-radius:16px;background:#102233;color:#edf5fd;box-shadow:0 25px 90px #0008;}
.ps-capture-dialog::backdrop {background:#06121cdd;}
.ps-capture-dialog img {display:block;width:100%;height:auto;object-fit:contain;}
.ps-capture-dialog button {display:block;margin:0 0 8px auto;border:0;background:#233b50;color:#fff;border-radius:8px;font:24px/1 sans-serif;padding:6px 12px;cursor:pointer;}
.ps-capture-dialog a {display:block;color:#b1d5ff;margin-top:12px;width:fit-content;}

/* Chapter-specific sizing: keep the TEA dialogue at native physical pixels. */
.payras-help-root #ci-tea > :is(p,ol) { margin-block:.65rem; }
.payras-help-root #ci-tea > ol { padding-inline-start:1.5rem;line-height:1.6; }
.payras-help-root #ci-tea > ol > li { margin-block:.28rem; }
.payras-help-root #ci-tea figure.ci-photo-compact:has(> button > img[src*="44-combinaisons-tea-dialogue.webp"]) { margin:1rem auto .6rem; }
.payras-help-root #ci-tea figure.ci-photo-compact:has(> button > img[src*="44-combinaisons-tea-dialogue.webp"]) > button { width:fit-content;max-width:100%;margin-inline:auto;border:0;background:transparent;border-radius:.8rem; }
.payras-help-root #ci-tea figure.ci-photo-compact:has(> button > img[src*="44-combinaisons-tea-dialogue.webp"]) > button > img { border-radius:.8rem;object-position:50% 50%; }