/* FrontHub Resize Image v76 — PDF Tools visual standard */
#fhr76-root *{box-sizing:border-box}
.fhr76-backdrop{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(15,23,42,.56);backdrop-filter:blur(4px)}
.fhr76-modal{position:relative;width:min(720px,calc(100vw - 28px));max-height:92vh;overflow:auto;border:1px solid #e4e8f0;border-radius:22px;background:#fff;color:#1e293b;box-shadow:0 28px 80px rgba(15,23,42,.24)}
.fhr76-close{position:absolute;right:16px;top:14px;z-index:5;width:34px;height:34px;border:1px solid #e5e9f1;border-radius:10px;background:#fff;color:#64748b;font-size:22px;cursor:pointer}
.fhr76-head{padding:25px 27px 18px;border-bottom:1px solid #edf0f5}.fhr76-head>span{color:#5b63e9;font-size:10px;font-weight:900;letter-spacing:.16em}.fhr76-head h2{margin:7px 44px 5px 0;color:#202b3d;font-size:25px;font-weight:800}.fhr76-head p{margin:0;color:#738095;font-size:12px}
.fhr76-tabbar{padding:14px 20px;border-bottom:1px solid #edf0f5;background:#fafbfe}.fhr76-tabbar span{display:flex;align-items:center;justify-content:center;height:38px;border-radius:10px;background:linear-gradient(135deg,#6659ef,#339cf3);color:#fff;font-size:12px;font-weight:850}
.fhr76-body{padding:22px 24px 24px}.fhr76-creditbox{display:flex;align-items:center;gap:10px;min-height:38px;margin-bottom:10px;padding:0 12px;border:1px solid #e2e7ef;border-radius:11px;background:#f8faff;font-size:11px}.fhr76-creditbox strong{color:#4354d4}.fhr76-creditbox em{margin-left:auto;color:#7b879a;font-style:normal}
.fhr76-credit{margin-bottom:12px}.fhr76-credit-toggle{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;width:100%;min-height:42px;padding:0 13px;border:1px solid #e1e6ef;border-radius:11px;background:#f8faff;color:#445067;font:inherit;font-size:11px;font-weight:800;text-align:left;cursor:pointer}.fhr76-credit-toggle b{padding:4px 8px;border-radius:999px;background:#eef0ff;color:#5561df;font-size:10px}.fhr76-credit-toggle i{font-style:normal;transition:transform .18s}.fhr76-credit-toggle.open i{transform:rotate(180deg)}
.fhr76-credit-panel{margin-top:7px;padding:12px 13px;border:1px solid #e1e6ef;border-radius:11px;background:#fff}.fhr76-credit-line,.fhr76-credit-op{display:flex;justify-content:space-between;gap:14px;padding:8px 0;border-top:1px solid #edf0f5}.fhr76-credit-line:first-child{border-top:0;padding-top:0}.fhr76-credit-line strong,.fhr76-credit-line small,.fhr76-credit-op strong,.fhr76-credit-op small{display:block}.fhr76-credit-line strong,.fhr76-credit-op strong{font-size:10px}.fhr76-credit-line small,.fhr76-credit-op small{margin-top:3px;color:#8994a6;font-size:9px}.fhr76-credit-line>span,.fhr76-credit-op>span{color:#4e59cf;font-size:10px;font-weight:850}.fhr76-credit-total{display:flex;justify-content:space-between;padding-top:10px;border-top:1px solid #dfe5ed;font-size:11px}.fhr76-credit-total strong{color:#3546c5}.fhr76-warning{margin-top:10px;padding:10px;border-radius:9px;background:#fff2f2;color:#aa291f;font-size:10px}
.fhr76-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-height:145px;padding:24px;border:1.5px dashed #cbd4e3;border-radius:16px;background:#fafcff;text-align:center;cursor:pointer}.fhr76-drop.drag,.fhr76-drop:hover{border-color:#6874eb;background:#f6f7ff}.fhr76-icon{display:flex;align-items:center;justify-content:center;width:46px;height:46px;margin-bottom:10px;border-radius:13px;background:#edf8f3;color:#21865a;font-size:11px;font-weight:900}.fhr76-drop strong{font-size:14px;color:#273247}.fhr76-drop small{margin-top:5px;color:#8490a3;font-size:11px}
.fhr76-file-row{display:grid;grid-template-columns:38px minmax(0,1fr) 32px;align-items:center;gap:9px;margin-top:12px;padding:8px 9px;border:1px solid #e6eaf1;border-radius:11px;background:#fff}.fhr76-file-icon{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:8px;background:#edf8f3;color:#21865a;font-size:8px;font-weight:900}.fhr76-file-row strong,.fhr76-file-row small{display:block}.fhr76-file-row small{color:#8a95a6;font-size:9px}.fhr76-file-row button{border:0;background:transparent;font-size:19px;cursor:pointer}
.fhr76-settings{margin-top:14px;padding:14px;border:1px solid #e3e8ef;border-radius:13px;background:#fbfcfe}.fhr76-original{display:flex;justify-content:space-between;margin-bottom:12px;font-size:11px}.fhr76-original strong{color:#4354d4}.fhr76-dimensions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.fhr76-dimensions label span,.fhr76-fit>span{display:block;margin-bottom:5px;color:#68758a;font-size:10px;font-weight:750}.fhr76-dimensions input,.fhr76-fit select{width:100%;height:40px;padding:0 10px;border:1px solid #dce2eb;border-radius:9px;background:#fff}.fhr76-options{display:flex;flex-wrap:wrap;gap:16px;margin:12px 0}.fhr76-options label{display:flex;align-items:center;gap:7px;font-size:10px}
.fhr76-progress-wrap{margin-top:15px}.fhr76-progress-head{display:flex;justify-content:space-between;margin-bottom:6px;color:#596477;font-size:10px}.fhr76-progress{height:8px;overflow:hidden;border-radius:999px;background:#e9edf4}.fhr76-progress i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#6659ef,#38a0ed);transition:width .28s}
.fhr76-error{margin-top:14px;padding:10px 12px;border-radius:9px;background:#fff0f0;color:#b42318;font-size:11px}.fhr76-ready{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px;padding:13px 14px;border:1px solid #d8e3db;border-radius:12px;background:#f4fbf6}.fhr76-ready[hidden]{display:none!important}.fhr76-ready strong,.fhr76-ready small{display:block}.fhr76-ready small{margin-top:3px;color:#62776a}.fhr76-ready button{height:39px;padding:0 16px;border:0;border-radius:10px;background:#39a66f;color:#fff;font-weight:850;cursor:pointer}
.fhr76-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.fhr76-actions button{height:39px;padding:0 15px;border-radius:10px;font-weight:850;cursor:pointer}.fhr76-actions .secondary{border:1px solid #dce2eb;background:#fff;color:#596477}.fhr76-actions .primary{border:0;background:linear-gradient(135deg,#6659ef,#339cf3);color:#fff}.fhr76-actions .primary:disabled{opacity:.55;cursor:not-allowed}
.fhr76-credit[hidden],.fhr76-credit-panel[hidden],.fhr76-settings[hidden],.fhr76-progress-wrap[hidden],.fhr76-error[hidden]{display:none!important}
#fhr76-root .fhstd-credit-wrap{display:none!important}
