.crm-document-preview{display:flex;flex-direction:column;width:100%;height:100%;min-height:360px;min-width:0;overflow:hidden;background:#e9edf3;color:#1c1d29;font:14px/1.5 "Open Sans",sans-serif}
.crm-document-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;flex-shrink:0;padding:8px 12px;background:#fff;border-bottom:1px solid #e2e5ec}
.crm-document-count{font-size:12px;color:#626574}
.crm-document-actions{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.crm-document-preview button,.crm-document-preview a{font:inherit;font-size:12px;line-height:1.5;display:inline-flex;align-items:center;justify-content:center;min-height:34px;min-width:34px;padding:5px 9px;border:1px solid transparent;border-radius:8px;background:transparent;color:#111f53;text-decoration:none;cursor:pointer;box-sizing:border-box}
.crm-document-preview button:hover,.crm-document-preview a:hover{background:#f3f3f7}
.crm-document-preview button:focus-visible,.crm-document-preview a:focus-visible,.crm-document-scroll:focus-visible{outline:2px solid #435185;outline-offset:-2px}
.crm-document-preview button:disabled{opacity:.45;cursor:default}
.crm-document-scroll{flex:1;min-height:0;overflow:auto;padding:18px;position:relative;overscroll-behavior:contain}
.crm-pdf-page{margin:0 auto 18px;max-width:none;min-width:0}
.crm-pdf-sheet{position:relative;background:#fff;box-shadow:0 2px 10px #111f5314}
.crm-pdf-sheet canvas{display:block;width:100%;height:100%}
.crm-pdf-sheet .crm-document-message{position:absolute;inset:0}
.crm-pdf-page figcaption{text-align:center;font-size:11px;color:#626574;padding:8px 0 0}
.crm-document-message{display:flex;min-height:160px;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:24px;color:#626574}
.crm-document-message button{border-color:#c7cad5;background:#fff}
.crm-document-error{padding:8px 16px;background:#fff1f2;color:#991b1b;font-size:13px}
.crm-document-image{display:block;height:auto;margin:auto;background:#fff;box-shadow:0 2px 10px #111f5314}
.crm-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:600px){.crm-document-toolbar{gap:4px;padding:8px}.crm-document-count{width:100%}.crm-document-scroll{padding:10px}.crm-document-preview button,.crm-document-preview a{min-height:40px}.crm-document-actions{width:100%;justify-content:flex-end}}
