/* Copyright (c) 2026 Lernen Leben Retten. Alle Rechte vorbehalten. */
.llr-document-dialog,.llr-error-dialog{box-sizing:border-box;border:1px solid #d7e1d7;border-radius:22px;background:#fbfcf9;color:#26392f;padding:24px;box-shadow:0 28px 90px #0b241f55;font:16px/1.5 system-ui,sans-serif;max-height:94dvh;overflow:auto}.llr-document-dialog{width:min(1120px,calc(100vw - 24px))}.llr-error-dialog{width:min(600px,calc(100vw - 24px))}.llr-document-dialog::backdrop,.llr-error-dialog::backdrop{background:#18352f99;backdrop-filter:blur(4px)}.llr-dialog-head,.llr-dialog-actions{display:flex;justify-content:space-between;align-items:center;gap:12px}.llr-dialog-head h2,.llr-error-dialog h2{margin:0;font:700 1.3rem/1.3 system-ui}.llr-dialog-actions{justify-content:flex-end;margin-top:16px;flex-wrap:wrap}.llr-document-dialog .button,.llr-error-dialog .button,.llr-document-dialog button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #b9cabb;border-radius:11px;padding:10px 18px;background:#f9fbf7;color:#30543f;text-decoration:none;font:600 .95rem/1.4 system-ui;cursor:pointer}.llr-document-dialog .primary,.llr-error-dialog .primary{background:#4e6c55;color:#fff;border-color:#4e6c55}.llr-error-dialog p,.llr-dialog-error{white-space:pre-wrap;overflow-wrap:anywhere}.llr-dialog-error{background:#fff1ec;color:#8e3828;border:1px solid #e3b9ab;border-radius:10px;padding:12px}.llr-document-dialog [hidden]{display:none!important}.llr-document-dialog :focus-visible,.llr-error-dialog :focus-visible{outline:3px solid #219a9b;outline-offset:3px}
.kp-pdf-viewer{display:flex;flex-direction:column;min-height:50dvh;max-height:65dvh;border:1px solid #d7dfd7;border-radius:12px;background:#e8ede8;overflow:hidden}.kp-pdf-viewer>[data-pdf-status]{margin:10px 14px;flex:none}.kp-pdf-viewer>[data-pdf-status]:empty{display:none}.kp-pdf-tools{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;padding:8px;background:#f4f7f3;border-bottom:1px solid #d7dfd7;flex:none}.kp-pdf-tools[hidden]{display:none}.kp-pdf-tools button{padding:6px 12px}.kp-pdf-tools label{display:flex;align-items:center;gap:7px;font-size:.85rem}.kp-pdf-tools select{padding:6px;min-height:0}.kp-pdf-paper{flex:1;overflow:auto;min-height:0;padding:12px;text-align:center}.kp-pdf-paper canvas{display:block;margin:0 auto;background:white;box-shadow:0 3px 12px #26392b22}.kp-pdf-paper canvas[hidden]{display:none}
@media(max-width:600px){.llr-document-dialog,.llr-error-dialog{padding:16px}.llr-dialog-actions>*{flex:1}.llr-dialog-head h2{font-size:1.15rem}}
