
.fhpdf-backdrop{position:fixed;inset:0;z-index:99999;background:rgba(15,23,42,.55);display:flex;align-items:center;justify-content:center;padding:22px;backdrop-filter:blur(4px)}
.fhpdf-modal{position:relative;width:min(720px,100%);max-height:92vh;overflow:auto;background:#fff;border:1px solid #e4e8f0;border-radius:22px;box-shadow:0 28px 80px rgba(15,23,42,.23);color:#1e293b}
.fhpdf-close{position:absolute;right:16px;top:14px;width:34px;height:34px;border:1px solid #e5e9f1;border-radius:10px;background:#fff;color:#64748b;font-size:22px;cursor:pointer}
.fhpdf-head{padding:25px 27px 18px;border-bottom:1px solid #edf0f5}.fhpdf-kicker{font-size:10px;letter-spacing:.16em;font-weight:900;color:#5b63e9}.fhpdf-head h2{margin:6px 0 5px;font-size:25px}.fhpdf-head p{margin:0;color:#738095;font-size:12px}
.fhpdf-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;padding:14px 20px;background:#fafbfe;border-bottom:1px solid #edf0f5}
.fhpdf-tabs button{height:38px;border:1px solid #e0e5ee;border-radius:10px;background:#fff;color:#556074;font-weight:800;cursor:pointer}
.fhpdf-tabs button.active{color:#fff;border-color:transparent;background:linear-gradient(135deg,#6659ef,#339cf3)}
.fhpdf-body{padding:22px 24px 24px}.fhpdf-drop{border:1.5px dashed #cbd4e3;border-radius:16px;padding:25px;text-align:center;background:#fafcff;cursor:pointer;transition:.15s}.fhpdf-drop.drag,.fhpdf-drop:hover{border-color:#6773ee;background:#f5f6ff}
.fhpdf-drop-icon{display:inline-flex;width:46px;height:46px;border-radius:13px;align-items:center;justify-content:center;background:#eef0ff;color:#5863e8;font-weight:900;font-size:11px;margin-bottom:9px}.fhpdf-drop strong,.fhpdf-drop span{display:block}.fhpdf-drop span{font-size:11px;color:#8490a3;margin-top:4px}
.fhpdf-files{margin-top:12px;display:grid;gap:7px}.fhpdf-file{display:grid;grid-template-columns:38px 1fr 32px;align-items:center;gap:9px;padding:8px 9px;border:1px solid #e6eaf1;border-radius:11px}.fhpdf-file-icon{display:flex;width:34px;height:34px;align-items:center;justify-content:center;border-radius:8px;background:#fff1f1;color:#d74646;font-size:9px;font-weight:900}.fhpdf-file strong{display:block;font-size:11px}.fhpdf-file small{color:#8b95a6;font-size:10px}.fhpdf-file button{border:0;background:transparent;font-size:19px;color:#94a0b2;cursor:pointer}
.fhpdf-options{margin-top:15px}.fhpdf-option label{display:block;font-size:11px;font-weight:850;margin-bottom:6px}.fhpdf-option input,.fhpdf-option select{width:100%;height:40px;border:1px solid #dce2eb;border-radius:10px;padding:0 11px;background:#fff;color:#253047}.fhpdf-option small{display:block;margin-top:6px;color:#7f8a9d;font-size:10px;line-height:1.5}
.fhpdf-status{margin-top:16px}.fhpdf-status-row{display:flex;justify-content:space-between;font-size:11px;margin-bottom:6px}.fhpdf-progress{height:8px;border-radius:999px;background:#e9edf4;overflow:hidden}.fhpdf-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,#6659ef,#38a0ed);transition:width .3s}
.fhpdf-error{margin-top:14px;padding:10px 12px;border-radius:9px;background:#fff0f0;color:#b42318;font-size:11px}
.fhpdf-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.fhpdf-actions button{height:39px;border-radius:10px;padding:0 15px;font-weight:850;cursor:pointer}.fhpdf-secondary{border:1px solid #dce2eb;background:#fff;color:#596477}.fhpdf-primary{border:0;background:linear-gradient(135deg,#6659ef,#339cf3);color:#fff}.fhpdf-primary:disabled{opacity:.55;cursor:wait}
html[data-theme="dark"] .fhpdf-modal,html.dark .fhpdf-modal,body.dark .fhpdf-modal{background:#171e2a;color:#edf2fa;border-color:#2b3546}.fhpdf-backdrop .dark{}
html[data-theme="dark"] .fhpdf-head,html[data-theme="dark"] .fhpdf-tabs,html.dark .fhpdf-head,html.dark .fhpdf-tabs{border-color:#2b3546}.fhpdf-backdrop{}
html[data-theme="dark"] .fhpdf-tabs,html.dark .fhpdf-tabs{background:#121925}
html[data-theme="dark"] .fhpdf-tabs button,html.dark .fhpdf-tabs button,html[data-theme="dark"] .fhpdf-drop,html.dark .fhpdf-drop,html[data-theme="dark"] .fhpdf-option input,html.dark .fhpdf-option input,html[data-theme="dark"] .fhpdf-option select,html.dark .fhpdf-option select{background:#111823;color:#e7edf7;border-color:#303b4d}
@media(max-width:620px){.fhpdf-tabs{grid-template-columns:repeat(2,1fr)}.fhpdf-backdrop{padding:10px}}


.fhpdf-ready{margin-top:16px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 14px;border:1px solid #d8e3db;border-radius:12px;background:#f4fbf6}
.fhpdf-ready-copy strong,.fhpdf-ready-copy span{display:block}.fhpdf-ready-copy strong{font-size:12px;color:#1d5135}.fhpdf-ready-copy span{font-size:10px;color:#5f7869;margin-top:4px}
.fhpdf-download-btn{display:inline-flex;height:39px;align-items:center;justify-content:center;padding:0 16px;border-radius:10px;background:linear-gradient(135deg,#2a9363,#47b878);color:#fff!important;text-decoration:none!important;font-size:12px;font-weight:850;white-space:nowrap}


.fhpdf-creditbox{display:flex;align-items:center;gap:10px;margin-bottom:12px;padding:10px 12px;border:1px solid #e2e7ef;border-radius:11px;background:#f8faff;font-size:11px}.fhpdf-creditbox span{color:#6f7b8f}.fhpdf-creditbox strong{color:#4354d4}.fhpdf-creditbox em{margin-left:auto;font-style:normal;color:#7b879a}
.fhpdf-option label span{font-weight:500;color:#8a95a8}


.fhpdf-encrypted{
    margin-top:14px;
    padding:13px 14px;
    border:1px solid #ecd7a6;
    border-radius:12px;
    background:#fffaf0;
    display:grid;
    grid-template-columns:34px 1fr;
    gap:10px 11px;
    align-items:center;
}
.fhpdf-encrypted[hidden]{display:none!important}
.fhpdf-lock-icon{
    display:flex;
    width:32px;
    height:32px;
    align-items:center;
    justify-content:center;
    border-radius:9px;
    background:#fff0c9;
    font-size:15px;
}
.fhpdf-encrypted strong{
    display:block;
    color:#765400;
    font-size:11px;
}
.fhpdf-encrypted span{
    display:block;
    color:#8b7440;
    font-size:10px;
    margin-top:3px;
}
.fhpdf-encrypted input{
    grid-column:1/-1;
    width:100%;
    height:40px;
    border:1px solid #e2c980;
    border-radius:9px;
    padding:0 11px;
    background:#fff;
    color:#283247;
}

