html body .ss-upload-scan{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0;clear:both;position:relative;z-index:1}html body .ss-upload-scan button{flex:1 1 auto;min-height:34px;padding:6px 9px;border:1px solid #c9dad4;border-radius:7px;background:#f1f7f5;color:#245649;font-family:inherit;font-size:11px;font-weight:600;line-height:1.45;cursor:pointer}html body .ss-upload-scan button:disabled{opacity:.5;cursor:default}.ss-upload-scan-note{flex:1 0 100%;overflow-wrap:anywhere;color:#315e48;font-size:11px}.ss-upload-scan-note:empty{display:none}html body #r459ScanPdfButton{display:none!important}
html body dialog.ss-scan-dialog{box-sizing:border-box;width:min(460px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);margin:auto;padding:0;border:1px solid #d8e5df;border-radius:16px;background:#fff;color:#183d34;box-shadow:0 22px 80px #122e3440;font-family:inherit;overflow:auto;overscroll-behavior:contain}dialog.ss-scan-dialog::backdrop{background:#142d37a6;backdrop-filter:blur(3px)}html body .ss-scan-dialog [hidden]{display:none!important}html body .ss-scan-dialog header{display:flex;justify-content:space-between;align-items:center;padding:15px 16px;background:#f0f6f3;border-bottom:1px solid #d8e5df}html body .ss-scan-dialog header small{font-size:10px;letter-spacing:.07em;color:#507067}html body .ss-scan-dialog h2{font-size:16px;line-height:1.5;margin:2px 0 0}html body .ss-scan-dialog button{box-sizing:border-box;min-height:36px;border:1px solid #c8d9d2;border-radius:7px;background:#fff;color:#245449;padding:7px 9px;font-family:inherit;font-size:12px;line-height:1.4;font-weight:600;cursor:pointer;box-shadow:none}html body .ss-scan-dialog button:disabled{opacity:.45;cursor:default}html body .ss-scan-dialog button:focus-visible,html body .ss-upload-scan button:focus-visible{outline:2px solid #31765e;outline-offset:2px}html body .ss-scan-dialog header>button{min-width:34px;padding:0;font-size:23px}html body .ss-scan-guide,html body .ss-scan-dialog [data-scan-status],html body .ss-scan-dialog [data-scan-empty]{margin:12px 16px;font-size:12px;line-height:1.7}html body .ss-scan-sources{display:flex;gap:6px;flex-wrap:wrap;margin:12px 16px}html body .ss-scan-sources button{flex:1;min-width:100px}html body .ss-scan-dialog [data-scan-live]{padding:0 16px}html body .ss-scan-dialog video{width:100%;max-height:300px;background:#142b27;border-radius:8px;object-fit:contain}html body .ss-scan-dialog [data-scan-live]>div{display:flex;gap:8px;margin:8px 0}html body .ss-scan-count{margin:12px 16px;font-size:11px;font-weight:700}html body .ss-scan-pages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 16px}html body .ss-scan-page{min-width:0;border:1px solid #dce7e1;border-radius:9px;padding:8px;background:#f9fbfa}html body .ss-scan-page strong{display:block;font-size:11px;margin-bottom:6px}html body .ss-scan-page img{width:100%;height:155px;object-fit:contain;background:#e6ece8;border-radius:4px}html body .ss-scan-page-tools{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}html body .ss-scan-page-tools button{flex:1 1 40%;min-height:29px;padding:4px;font-size:10px}html body .ss-scan-dialog footer{display:flex;gap:8px;position:sticky;bottom:0;background:#fff;border-top:1px solid #dce7e1;padding:12px 16px}html body .ss-scan-dialog footer button{flex:1}html body .ss-scan-dialog [data-scan-attach]{background:#315e48;color:#fff;border-color:#315e48}html body .ss-scan-dialog [data-scan-download]{display:block;margin:12px 16px;padding:10px;border-radius:7px;background:#e6f1eb;color:#245449;font-size:12px;font-weight:700}
