/* The document review modal sits above the existing order, with independently scrolling panes. */
body.document-modal-v717-open{overflow:hidden}
.ob-page .dm717-overlay{padding:28px;background:#102b4d80;backdrop-filter:blur(2px)}
.ob-page .ob-dialog.dm717-dialog{width:min(1280px,100%);height:min(820px,calc(100dvh - 56px));max-height:calc(100dvh - 56px);border:1px solid #dbe6f3;border-radius:12px;box-shadow:0 25px 90px #102c4b50;isolation:isolate}
.ob-page .dm717-dialog>header{padding:16px 22px 13px;align-items:flex-start;border-bottom:0;gap:12px}
.ob-page .dm717-dialog>header>div{min-width:0}
.ob-page .dm717-crumb{font-size:11px;color:#5d8dca;margin-bottom:5px}
.ob-page .dm717-title{display:flex;align-items:center;gap:13px;flex-wrap:wrap}
.ob-page .dm717-title h2{font-size:23px;font-weight:800;letter-spacing:-.4px;line-height:1.25;overflow-wrap:anywhere;color:#183764}
.ob-page .dm717-title .ob-badge{font-size:10px;font-weight:600;padding:4px 9px}
.ob-page .dm717-order-meta{display:flex;flex-wrap:wrap;gap:5px 9px;font-size:10px;color:#7793b5;margin-top:7px;line-height:1.4}
.ob-page .dm717-order-meta strong{font-weight:500}
.ob-page .dm717-order-meta>span{padding-left:9px;border-left:1px solid #d6e3f4}
.ob-page .dm717-dialog>header>.close{color:#6a8aaf;min-width:28px;min-height:28px;font-size:26px;line-height:1;flex:none}
.ob-page .dm717-body{display:grid;grid-template-columns:minmax(0,1fr) 322px;gap:10px;min-height:0;flex:1;margin:0 18px;overflow:hidden;border:1px solid #dce8f6;border-radius:7px}
.ob-page .dm717-viewer{display:flex;flex-direction:column;min-width:0;min-height:0;background:#f0f5fc;overflow:hidden}
.ob-page .dm717-viewer-head{padding:10px 12px;display:flex;align-items:center;gap:10px;background:#fafdff;border-bottom:1px solid #dfeaf6;flex-wrap:wrap;flex:none}
.ob-page .dm717-file-symbol{display:grid;place-items:center;width:28px;height:32px;color:#fff;background:#ed3543;border-radius:4px;flex:none}
.ob-page .dm717-file-symbol svg{width:20px;height:24px}
.ob-page .dm717-viewer-head>div:not(.dm717-tools){flex:1;min-width:110px}
.ob-page .dm717-viewer-head strong{font-size:12px;color:#183e70;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.ob-page .dm717-viewer-head small{font-size:9px;color:#839bb7;display:block;margin-top:2px}
.ob-page .dm717-tools{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-left:auto}
.ob-page .dm717-tools>.ob-btn{padding:5px 7px;font-size:10px;min-height:28px;border-radius:4px}
.ob-page .dm717-tools svg{width:13px;height:13px}
.ob-page .dm717-zoom{display:flex;align-items:center;gap:1px;margin-left:5px;border:1px solid #d7e4f4;border-radius:4px;background:#fff}
.ob-page .dm717-zoom .ob-btn{padding:1px 6px;min-width:23px;min-height:26px;border:0;border-radius:0;font-size:16px;color:#3a76bd}
.ob-page .dm717-zoom output{min-width:37px;text-align:center;font-size:10px;font-weight:700;color:#2b5484}
.ob-page .dm717-preview-layout{display:grid;grid-template-columns:minmax(0,1fr);min-height:0;flex:1}
.ob-page .dm717-preview-layout.multiple{grid-template-columns:142px minmax(0,1fr)}
.ob-page .dm717-files{padding:10px 8px;overflow-y:auto;min-width:0;background:#f5f9ff;border-right:1px solid #dfe9f6}
.ob-page .dm717-files h3{font-size:10px;color:#6f8db2;margin:0 0 8px;font-weight:600;display:flex;justify-content:space-between}
.ob-page .dm717-files>.ob-btn{display:flex;width:100%;text-align:left;justify-content:flex-start;align-items:flex-start;gap:7px;padding:9px 7px;margin-bottom:7px;background:#fff;border-radius:5px;border:1px solid #e0e9f5;color:#6988ad;font-weight:400}
.ob-page .dm717-files>.ob-btn.selected{border-color:#2582ff;background:#edf5ff;box-shadow:0 0 0 1px #2582ff15}
.ob-page .dm717-files>.ob-btn>span:last-child{min-width:0}
.ob-page .dm717-file-number{display:grid;place-items:center;flex:none;width:18px;height:21px;border:1px solid #d8e6f7;border-radius:3px;color:#3e7cc8;font-size:9px;background:#f8fbff}
.ob-page .dm717-files strong{display:block;font-size:10px;overflow-wrap:anywhere;line-height:1.4;color:#2c5b8b;font-weight:600}
.ob-page .dm717-files small{font-size:8px;display:block;margin-top:3px}
.ob-page .dm717-files .ob-badge{display:inline-block;font-size:8px;padding:2px 5px;margin-top:5px;white-space:normal}
.ob-page .dm717-preview-stage{min-height:0;min-width:0;overflow:hidden;display:flex;flex-direction:column;position:relative;background:#e4ecf5}
.ob-page .dm717-preview-stage iframe{width:100%;height:100%;border:0;flex:1;min-height:0;background:#e4ecf5}
.ob-page .dm717-preview-hint{font-size:9px;color:#7890aa;padding:5px 10px;background:#f4f8fd;border-top:1px solid #dce7f3;flex:none}
.ob-page .dm717-page-controls{display:flex;align-items:center;gap:2px;border:1px solid #dae6f5;border-radius:4px;background:#fff;color:#3e6595;margin-left:4px;height:28px}
.ob-page .dm717-page-controls .ob-btn{padding:0 5px;border:0;min-width:21px;min-height:25px;font-size:20px}
.ob-page .dm717-page-controls>span{font-size:10px;white-space:nowrap}
.ob-page .dm717-dialog .dm717-page-controls label{display:block;margin:0;width:25px}
.ob-page .dm717-dialog .dm717-page-controls input{width:25px;min-height:24px;padding:0;border:0;font-size:10px;font-weight:650;text-align:center;appearance:textfield;-moz-appearance:textfield}
.ob-page .dm717-page-controls input::-webkit-inner-spin-button,.ob-page .dm717-page-controls input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.ob-page .dm717-pdf-layout{display:grid;grid-template-columns:82px minmax(0,1fr);min-height:0;height:100%;flex:1;overflow:hidden}
.ob-page .dm717-pages{overflow:auto;min-height:0;padding:10px 8px;background:#f5f9ff;border-right:1px solid #dbe6f4;scrollbar-width:thin;scrollbar-color:#d0e0f5 transparent}
.ob-page .dm717-pages>.ob-btn{padding:4px;display:flex;flex-direction:column;gap:4px;min-height:90px;width:100%;background:#fff;border:1px solid #dbe6f5;margin:0 0 8px;color:#7493b9;font-size:9px;border-radius:4px}
.ob-page .dm717-pages>.ob-btn.selected{border-color:#1f81ff;box-shadow:0 0 0 1px #1f81ff30;background:#f4f9ff;color:#176ae4}
.ob-page .dm717-thumb{display:block;min-height:65px;width:100%;background:#f7faff}
.ob-page .dm717-thumb img{width:100%;height:auto;display:block}
.ob-page .dm717-pages .ob-btn small{font-size:9px;line-height:1}
.ob-page .dm717-pages>p{font-size:8px;line-height:1.4;color:#91a7c4}
.ob-page .dm717-paper-scroll{overflow:auto;padding:18px;min-height:0;min-width:0;background:#e3ebf5;scrollbar-width:thin;scrollbar-color:#bccde3 transparent}
.ob-page .dm717-paper-scroll canvas{display:block;background:#fff;margin:0 auto;box-shadow:0 3px 14px #2b486a25;max-width:none}
.ob-page .dm717-image-scroll{overflow:auto;flex:1;min-height:0;padding:20px;text-align:center}
.ob-page .dm717-image-scroll img{height:auto;max-width:none;display:block;margin:0 auto;box-shadow:0 3px 20px #28426824;background:white}
.ob-page .dm717-placeholder{display:flex;flex:1;min-height:240px;align-items:center;justify-content:center;flex-direction:column;gap:13px;padding:30px;text-align:center;color:#7290af;font-size:12px;background:linear-gradient(150deg,#f5f9ff,#e8f0f9)}
.ob-page .dm717-placeholder>svg{width:46px;height:46px;stroke:#a1bbd9;stroke-width:1.2}
.ob-page .dm717-placeholder h3{font-size:15px;margin:0;color:#42658e;max-width:100%;overflow-wrap:anywhere}
.ob-page .dm717-placeholder p{font-size:12px;max-width:300px;line-height:1.65;overflow-wrap:anywhere}
.ob-page .dm717-review-scroll{min-height:0;min-width:0;overflow:auto;padding:12px 13px 12px 3px;background:#fff;scrollbar-width:thin;scrollbar-color:#d6e5f7 transparent}
.ob-page .dm717-review-heading h3{font-size:18px;line-height:1.25;letter-spacing:-.2px;color:#173d70;margin:0 0 5px;font-weight:750}
.ob-page .dm717-review-heading>small{color:#7897bc;font-size:10px;line-height:1.5}
.ob-page .dm717-dialog .dm717-checklist{display:flex;flex-direction:column;gap:10px;margin:15px 0 13px;padding:0;border:0;border-radius:0}
.ob-page .dm717-checklist legend{font-size:11px;color:#305c92;font-weight:650;margin:0 0 9px;padding:0;line-height:1.4}
.ob-page .dm717-checklist>label{display:flex;align-items:flex-start;gap:9px;margin:0;color:#416f9f;font-size:11px;line-height:1.5;font-weight:400;cursor:pointer}
.ob-page .dm717-checklist input[type=checkbox]{accent-color:#087bff;width:14px;height:14px;min-width:14px;min-height:14px;margin:1px 0 0;padding:0;flex:none;appearance:auto;position:static}
.ob-page .dm717-checklist small{font-size:9px;color:#8aa3c0;margin:0;padding:0;line-height:1.4}
.ob-page .dm717-old-note,.ob-page .dm717-sent-note{background:#fff8e9;border:1px solid #f5dfb9;border-left:3px solid #ecad3c;padding:9px 10px;border-radius:5px;margin:12px 0;color:#836746}
.ob-page .dm717-old-note>header{display:flex;justify-content:space-between;gap:6px;align-items:baseline;margin-bottom:5px}
.ob-page .dm717-old-note strong,.ob-page .dm717-sent-note strong{font-size:10px;color:#b67d27}
.ob-page .dm717-old-note time{font-size:8px;color:#9a947e;white-space:nowrap}
.ob-page .dm717-old-note p,.ob-page .dm717-sent-note p{font-size:11px;line-height:1.5;color:#7f6748;white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0 0}
.ob-page .dm717-sent-note.revision{background:#fff2f2;border-color:#f4d3d5;border-left-color:#df7985}
.ob-page .dm717-sent-note.revision strong,.ob-page .dm717-sent-note.revision p{color:#b35365}
.ob-page .dm717-sent-note small{font-size:9px;color:#9b8490;display:block;margin-top:6px}
.ob-page .dm717-note{margin:18px 0 13px}
.ob-page .dm717-note>label{display:flex;gap:7px;justify-content:space-between;align-items:center;color:#315a91;font-size:11px;font-weight:600;margin-bottom:8px;flex-wrap:wrap}
.ob-page .dm717-note>label span{font-size:8px;color:#4f87ca;background:#edf5ff;padding:3px 5px;border-radius:4px;font-weight:400}
.ob-page .dm717-note textarea{resize:vertical;min-height:98px;max-height:220px;padding:9px 10px;font-size:11px;line-height:1.55}
.ob-page .dm717-note textarea[aria-invalid=true]{border-color:#ec5668;outline-color:#ec5668;background:#fffafa}
.ob-page .dm717-note-meta{display:flex;justify-content:space-between;gap:8px;margin-top:5px;color:#7e9bc0}
.ob-page .dm717-note-meta small{font-size:9px;line-height:1.5}
.ob-page .dm717-note-meta output{font-size:9px;white-space:nowrap}
.ob-page .dm717-note-meta .error{color:#cb435b}
.ob-page .dm717-draft{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-top:7px}
.ob-page .dm717-draft>.ob-btn.text{font-size:10px;min-height:23px}
.ob-page .dm717-draft>span{font-size:9px;color:#86a2bd}
.ob-page .dm717-section{border-top:1px solid #e4edf8;margin:0;font-size:11px;color:#6584a7}
.ob-page .dm717-section:last-child{border-bottom:1px solid #e4edf8}
.ob-page .dm717-section>summary{list-style:none;display:flex;align-items:center;gap:10px;padding:12px 0;cursor:pointer;color:#315f97;font-weight:600;font-size:11px;user-select:none}
.ob-page .dm717-section>summary::-webkit-details-marker{display:none}
.ob-page .dm717-section>summary svg{width:17px;height:17px;color:#5384bf;stroke-width:1.5}
.ob-page .dm717-chevron{font-size:15px;color:#7b9ec8;margin-left:auto;transition:transform .15s}
.ob-page .dm717-section[open] .dm717-chevron{transform:rotate(180deg)}
.ob-page .dm717-section>div{padding:2px 0 15px;font-size:11px;line-height:1.65}
.ob-page .dm717-section>div>p{margin:0 0 10px;white-space:pre-wrap;overflow-wrap:anywhere}
.ob-page .dm717-section label{font-size:10px;margin-top:9px}
.ob-page .dm717-task-actions{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}
.ob-page .dm717-task-actions .ob-btn{font-size:10px;padding:6px 9px;min-height:29px}
.ob-page .dm717-dialog label.dm717-upload{display:inline-flex;align-items:center;justify-content:center;gap:6px;margin:4px 6px 0 0;font-size:10px;min-height:29px;padding:6px 9px;color:#3b79c3;cursor:pointer}
.ob-page .dm717-settings{display:flex;flex-direction:column;gap:10px}
.ob-page .dm717-settings input:not([type=checkbox]),.ob-page .dm717-settings select,.ob-page .dm717-section textarea{font-size:11px;min-height:32px;padding:7px 9px}
.ob-page .dm717-settings fieldset{padding:8px 10px;gap:6px;margin-top:3px}
.ob-page .dm717-settings legend{font-size:10px}
.ob-page .dm717-settings .ob-check-label{font-size:11px;margin:0}
.ob-page .dm717-settings input[type=checkbox]{accent-color:#087bff;width:14px;height:14px;min-width:14px;margin:0;appearance:auto}
.ob-page .dm717-muted{font-size:10px;color:#8ba1bd;line-height:1.5}
.ob-page .dm717-history>article{padding:10px;border:1px solid #e1eaf6;border-radius:5px;margin-bottom:8px;font-size:10px}
.ob-page .dm717-history>article.selected{border-color:#98bff2;background:#f6faff}
.ob-page .dm717-history>article>header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.ob-page .dm717-history>article>header .text{font-size:11px}
.ob-page .dm717-history>article>header .ob-badge{font-size:9px}
.ob-page .dm717-history>article>strong{font-size:10px;display:block;color:#4f7299;overflow-wrap:anywhere}
.ob-page .dm717-history small{font-size:9px;display:block;color:#8aa2bf;margin-top:3px;line-height:1.4}
.ob-page .dm717-history p{font-size:10px;line-height:1.5;background:#fff6e7;color:#987339;border-radius:4px;padding:7px;margin:7px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.ob-page .dm717-history .ob-btn:not(.text){font-size:10px;padding:4px 8px;min-height:25px;margin-top:7px}
.ob-page .dm717-history details summary{cursor:pointer;color:#5783b7;font-size:10px;padding-top:7px}
.ob-page .dm717-readonly{font-size:11px;color:#8e743e;background:#fff7e7;border:1px solid #f2dfb9;padding:9px 10px;margin:12px 0;border-radius:5px;line-height:1.5}
.ob-page .dm717-readonly .text{font-size:10px;margin-top:4px}
.ob-page .dm717-error{padding:10px 12px;margin:10px 0;background:#fff1f2;border:1px solid #f3cbd1;border-radius:5px;color:#b8465b;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.ob-page .dm717-error>.text{display:block;font-size:10px;margin-top:4px}
.ob-page .dm717-dialog>footer{justify-content:space-between;align-items:center;gap:12px;padding:13px 20px;border-top:0;min-height:62px;background:#fff}
.ob-page .dm717-dialog>footer>nav{display:flex;align-items:center;gap:12px;flex-wrap:wrap;flex:1}
.ob-page .dm717-dialog>footer>nav>.text{font-size:11px;min-height:28px}
.ob-page .dm717-dialog>footer>nav>small{font-size:9px;color:#9bb0ca}
.ob-page .dm717-decisions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.ob-page .dm717-decisions .ob-btn{min-height:37px;padding:9px 15px;font-size:11px;gap:8px}
.ob-page .dm717-decisions svg{width:16px;height:16px}
.ob-page .dm717-decisions .dm717-accept{color:#fff;background:#0d9a66;border-color:#0d9a66;min-width:124px}
.ob-page .dm717-decisions .dm717-accept:hover{background:#07865a;border-color:#07865a}
.ob-page .dm717-decisions .dm717-return{color:#e24b61;background:#fff;border-color:#ee6a7d}
.ob-page .dm717-decisions .dm717-return:hover{background:#fff5f6}
.ob-page .dm717-dialog button:disabled{opacity:.45;cursor:default}
@media(max-width:1120px){.ob-page .dm717-overlay{padding:18px}.ob-page .ob-dialog.dm717-dialog{height:calc(100dvh - 36px);max-height:calc(100dvh - 36px)}.ob-page .dm717-body{grid-template-columns:minmax(0,1fr) 292px;margin:0 12px;gap:8px}.ob-page .dm717-review-scroll{padding-right:10px}.ob-page .dm717-preview-layout.multiple{grid-template-columns:115px minmax(0,1fr)}.ob-page .dm717-tools{width:100%;margin-left:38px}.ob-page .dm717-tools>.ob-btn{font-size:9px}.ob-page .dm717-dialog>footer{padding:11px 14px;gap:8px}.ob-page .dm717-dialog>footer>nav{gap:9px}.ob-page .dm717-dialog>footer>nav>.text{font-size:10px}.ob-page .dm717-decisions .ob-btn{padding:8px 11px;font-size:10px}.ob-page .dm717-decisions .dm717-accept{min-width:105px}}
@media(max-width:760px){.ob-page .dm717-overlay{padding:6px}.ob-page .ob-dialog.dm717-dialog{height:calc(100dvh - 12px);max-height:calc(100dvh - 12px);border-radius:8px}.ob-page .dm717-dialog>header{padding:12px 14px 11px}.ob-page .dm717-title{gap:7px}.ob-page .dm717-title h2{font-size:19px}.ob-page .dm717-order-meta{font-size:9px}.ob-page .dm717-order-meta>span:last-child{display:none}.ob-page .dm717-body{display:flex;flex-direction:column;overflow-y:auto;gap:0;margin:0 8px}.ob-page .dm717-viewer{height:43dvh;min-height:280px;flex:none}.ob-page .dm717-viewer-head{padding:8px 10px;gap:7px}.ob-page .dm717-viewer-head strong{font-size:11px}.ob-page .dm717-viewer-head small{font-size:8px}.ob-page .dm717-tools{width:auto;margin-left:0}.ob-page .dm717-tools>.ob-btn span{display:none}.ob-page .dm717-zoom{margin-left:2px}.ob-page .dm717-preview-layout.multiple{grid-template-columns:95px minmax(0,1fr)}.ob-page .dm717-files{padding:7px 5px}.ob-page .dm717-files>.ob-btn{padding:7px 5px;gap:4px}.ob-page .dm717-file-number{display:none}.ob-page .dm717-files strong{font-size:9px}.ob-page .dm717-review-scroll{overflow:visible;min-height:0;flex:none;padding:16px 13px}.ob-page .dm717-review-heading h3{font-size:18px}.ob-page .dm717-checklist>label{font-size:12px}.ob-page .dm717-dialog>footer{flex-wrap:wrap;padding:9px 10px;gap:8px;min-height:0;flex:none}.ob-page .dm717-dialog>footer>nav{justify-content:space-between;flex-basis:100%;gap:8px}.ob-page .dm717-dialog>footer>nav>.text{font-size:10px;min-height:22px}.ob-page .dm717-decisions{width:100%;gap:6px}.ob-page .dm717-decisions .ob-btn{flex:1;font-size:11px;min-height:37px;padding:8px 9px}.ob-page .dm717-decisions [data-ob-save]{flex-basis:100%}.ob-page .dm717-placeholder{min-height:150px;padding:15px;font-size:11px}.ob-page .dm717-placeholder>svg{width:30px;height:30px}.ob-page .dm717-image-scroll{padding:10px}}
