[data-closepdf-protect] [hidden]{display:none!important}.cp-protect-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.cp-protect-fields label{display:grid;gap:6px;font-weight:600}.cp-protect-fields input{width:100%;box-sizing:border-box;border:1px solid #cbd7e7;border-radius:9px;padding:12px;font:inherit;background:#fff;color:#102544}.cp-protect-panel{border:1px solid #dce5f0;border-radius:14px;padding:18px;margin:16px 0;background:#f8faff}.cp-protect-panel label{color:#102544}.cp-protect-panel meter{width:100%;height:12px;display:block;margin:10px 0 4px}.cp-protect-panel details{margin-top:16px;border-top:1px solid #dce5f0;padding-top:14px}.cp-protect-panel summary{cursor:pointer;font-weight:650}.cp-protect-perms{display:flex;flex-wrap:wrap;gap:12px 20px;margin:12px 0}.cp-protect-panel input[type=checkbox]{accent-color:#205a9c}.cp-protect-panel small{display:block;color:#53627c;line-height:1.5}.cp-protect-panel #protect-match{color:#b42318;min-height:1.2em}.cp-protect-panel .cp-protect-show{display:block;margin:10px 0}.cp-protect-progress{display:block;width:100%;margin-top:12px;accent-color:#205a9c}.cp-protect-final{max-width:760px;margin:0 auto;text-align:center}.cp-protect-final .cpr-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.cp-protect-final .cpr-field{background:#f4f8fc;border:1px solid #dce5f0;border-radius:10px;padding:12px;overflow-wrap:anywhere}.cp-protect-final .cpr-label,.cp-protect-final .cpr-value{display:block}.cp-protect-final .cpr-label{font-size:12px;color:#53627c}.cp-protect-final .cp-download{display:inline-flex;padding:14px 32px;background:#205a9c;color:white;border-radius:10px;font-weight:700;text-decoration:none}.cp-protect-final .cpr-again{display:block;margin:14px auto}.cp-protect-final .cpr-check{color:#23845c;font-size:30px}.cp-protect-info .cp-ri-step,.cp-protect-info .cp-ri-faq{padding:18px}.cp-protect-info .cp-ri-step h3{margin-top:8px}@media(max-width:650px){.cp-protect-fields,.cp-protect-final .cpr-grid{grid-template-columns:1fr}.cp-protect-panel{padding:14px}}

/* Protect PDF v102 workspace */
main[data-closepdf-protect] .cp-upload-grid[hidden],main[data-closepdf-protect].cp-live-ready .cp-upload-grid,main[data-closepdf-protect].cpcl-final-ready .cp-upload-grid{display:none!important}
main[data-closepdf-protect] .cp-workspace[hidden]{display:none!important}
main[data-closepdf-protect] .cp-protect-layout{display:grid!important;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:16px;align-items:start;margin-top:16px}
main[data-closepdf-protect] .cp-protect-viewer{min-width:0;border:1px solid #d5e1ef;border-radius:14px;overflow:hidden;background:#edf2f8}
main[data-closepdf-protect] .cp-protect-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:12px;background:#f8faff;border-bottom:1px solid #d5e1ef;color:#102544;font-size:14px}
main[data-closepdf-protect] .cp-protect-toolbar a{font-size:13px;color:#205a9c;text-decoration:underline}
main[data-closepdf-protect] #protect-preview-frame{display:block;width:100%;height:clamp(490px,68vh,850px);border:0;background:#e5eaf0}
main[data-closepdf-protect] .cp-protect-panel{margin:0;min-width:0;box-sizing:border-box;background:#f8faff}
main[data-closepdf-protect] .cp-protect-panel h3{margin:0 0 16px;color:#102544;font-size:17px}
main[data-closepdf-protect] .cp-protect-fields{grid-template-columns:minmax(0,1fr);gap:12px}
main[data-closepdf-protect] .cp-protect-perms{display:grid;gap:12px}
main[data-closepdf-protect] .cp-protect-panel .cp-tool-actions{display:block;margin:16px 0 0}
main[data-closepdf-protect] .cp-protect-panel #protect-run{width:100%;min-height:48px}
main[data-closepdf-protect] .cp-protect-panel #protect-run:disabled{opacity:.55;cursor:not-allowed}
main[data-closepdf-protect] .cp-protect-panel .cp-field-help{font-size:12px;line-height:1.5;margin:12px 0;color:#53627c}
main[data-closepdf-protect] .cp-protect-more{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}
main[data-closepdf-protect] .cp-protect-more article{border:1px solid #dce5f0;border-radius:12px;background:#f8faff;padding:18px;min-width:0}
main[data-closepdf-protect] .cp-protect-more h3{font-size:17px;color:#102544;margin:0 0 8px}
main[data-closepdf-protect] .cp-protect-more p{font-size:14px;line-height:1.65;margin:0;color:#475b70}
@media(max-width:850px){main[data-closepdf-protect] .cp-protect-layout{grid-template-columns:minmax(0,1fr)}main[data-closepdf-protect] #protect-preview-frame{height:55vh;min-height:320px}}
@media(max-width:600px){main[data-closepdf-protect] .cp-protect-more{grid-template-columns:1fr}}

main[data-closepdf-protect] #protect-preview-area{height:clamp(490px,68vh,850px);overflow:auto;background:#e5eaf0;padding:16px;box-sizing:border-box;text-align:center}main[data-closepdf-protect] #protect-preview-canvas{display:block;margin:0 auto;background:white;box-shadow:0 2px 10px #10254422}main[data-closepdf-protect] #protect-preview-message:empty{display:none}main[data-closepdf-protect] .cp-protect-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-variant-numeric:tabular-nums}main[data-closepdf-protect] .cp-protect-nav button{border:1px solid #ccd8e7;border-radius:7px;background:#fff;color:#205a9c;min-width:32px;height:32px;font:600 19px/1 sans-serif;cursor:pointer}main[data-closepdf-protect] .cp-protect-nav button:disabled{opacity:.4;cursor:default}@media(max-width:850px){main[data-closepdf-protect] #protect-preview-area{height:55vh;min-height:320px}}
/* ClosePDF Protect PDF floating permission tooltips v107 */
.cp-protect-perms .cp-perm-row{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;position:relative;min-width:0;margin:0 0 8px}
.cp-protect-perms .cp-perm-row>label{margin:0;display:inline-flex;align-items:center;gap:6px;width:auto;flex:0 1 auto}
.cp-protect-perms .cp-perm-info{appearance:none;display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;width:24px;height:24px;padding:0;margin:0;border:0;background:transparent;box-shadow:none;color:#24649a;cursor:pointer;font:600 15px/1 Arial,sans-serif;border-radius:50%;min-height:0}
.cp-perm-info:focus-visible{outline:2px solid #24649a;outline-offset:2px}
.cp-perm-floating-tip{position:fixed;z-index:2147483000;box-sizing:border-box;width:max-content;max-width:min(326px,calc(100vw - 24px));padding:9px 12px;border:1px solid #c9d4df;border-radius:8px;background:#edf5fb;color:#102544;font:400 12px/1.5 Arial,sans-serif;box-shadow:0 3px 10px #17355014;pointer-events:none;white-space:normal}
.cp-perm-floating-tip[hidden]{display:none!important}

.cp-protect-panel .cp-perm-section{margin-top:16px;border-top:1px solid #dce5f0;padding-top:14px}.cp-protect-panel .cp-perm-heading{font:inherit;font-weight:650;margin:0 0 10px;color:inherit}.cp-protect-panel .cp-perm-section .cp-protect-perms{display:flex;flex-direction:column;gap:4px;align-items:flex-start;margin:8px 0 12px}


/* ClosePDF Blue Focus v108 */
html body .cp-protect-panel input[type="password"]:focus,
html body .cp-protect-panel input[type="text"]:focus,
html body .cp-protect-panel input[type="password"]:focus-visible,
html body .cp-protect-panel input[type="text"]:focus-visible {
    border-color: #2869ad !important;
    outline: 2px solid #2869ad !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 4px rgba(40,105,173,.12) !important;
}


/* ClosePDF Protect blue focus v109 */
html:root body main[data-closepdf-protect] .cp-upload-grid #cp-dropzone {
  border-color:#86a9d4!important; outline:none!important;
  box-shadow:none!important;
}
html:root body main[data-closepdf-protect] .cp-upload-grid #cp-dropzone:is(:hover,.is-dragging,:focus-within,:focus-visible) {
  border-color:#2869ad!important; outline:2px solid #a8c5e5!important;
  outline-offset:2px!important; box-shadow:none!important;
}
html:root body main[data-closepdf-protect] .cp-protect-fields input:is([type=password],[type=text]):focus {
  border-color:#2869ad!important;outline:2px solid #a8c5e5!important;
  outline-offset:2px!important;box-shadow:none!important;
}
main[data-closepdf-protect] .cp-cloud-btn[data-cp-loading=true]{cursor:progress;opacity:.72}


/* Unlock PDF v100 */
#unlock-feedback{font-size:13px;color:#365171;line-height:1.5;overflow-wrap:anywhere}
#unlock-save{width:100%;margin-top:8px}#unlock-save:disabled,#protect-run:disabled{opacity:.5;cursor:not-allowed}
.cp-protect-panel input[type=checkbox]{accent-color:#2869ad}
