/* PixLab 7.0 — controlled refresh: responsive batch, payments, merchant disclosure */
:root{--px-navy:#15213b;--px-muted:#526078;--px-border:#dce3f0;--px-accent:#6452da;--px-surface:#fff}
html,body{max-width:100%;}
body{overflow-x:clip}
.px-batch,.px-batch *{box-sizing:border-box}
.px-batch{width:min(100% - 36px,1360px)!important;max-width:1360px!important;padding:50px 0 94px!important;margin:auto!important}
.px-batch-intro{max-width:980px;margin:0 0 32px;padding:0}
.px-batch-intro .eyebrow{font-size:12px;font-weight:800;letter-spacing:2px;color:#6050c6}
.px-batch-intro h1{font-size:clamp(31px,4vw,55px)!important;line-height:1.12!important;letter-spacing:-.045em!important;color:#16223c!important;margin:12px 0!important;overflow-wrap:break-word}
.px-batch-intro>p{font-size:16px;color:#526079;line-height:1.7;max-width:820px}
.px-batch-benefits{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}.px-batch-benefits span{background:#f1f0ff;color:#4438a8;border:1px solid #e0dcfb;border-radius:99px;padding:8px 12px;font-size:12px;font-weight:700}
.px-batch-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(290px,.8fr);gap:24px;align-items:start;width:100%;min-width:0}
.px-batch-config,.px-batch-config form,.px-batch-side{min-width:0}
.px-batch-config form{display:flex;flex-direction:column;gap:17px}
.px-batch-card,.px-batch-preview-card{background:#fff;border:1px solid #dce3ef;border-radius:22px;box-shadow:0 13px 38px rgba(34,48,90,.05);min-width:0}
.px-batch-card{padding:25px 27px 27px}
.px-batch-card-head{display:flex;align-items:flex-start;gap:15px;margin-bottom:21px}
.px-batch-step{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,#6b59e4,#496de7);color:#fff;font-size:13px;font-weight:850;box-shadow:0 8px 19px rgba(94,83,222,.15)}
.px-batch-card-head h2,.px-batch-preview-head h2{font-size:23px!important;color:#182541!important;letter-spacing:-.03em!important;line-height:1.3!important;margin:0 0 5px!important}
.px-batch-card-head p{font-size:13px;color:#66748c!important;line-height:1.55;margin:0}
.px-batch-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 15px;align-items:start;min-width:0}
.px-batch-fields>label,.px-batch-card>label:not(.px-toggle){display:flex;flex-direction:column;gap:8px;min-width:0;font-size:13px;font-weight:720;color:#34415c!important;line-height:1.4}
.px-batch-fields .px-control-wide{grid-column:1/-1}
.px-batch :is(input:not([type=checkbox],[type=range],[type=color],[type=file]),select){width:100%;min-width:0;height:46px;padding:0 12px;border-radius:11px;border:1px solid #cdd7e8;background:#fff;color:#1c2944;font-size:14px;font-weight:520;box-shadow:none}
.px-batch input[type=file]{display:block;max-width:100%;width:100%;min-width:0;padding:12px;border:1px dashed #b6b5e2;background:#f8f7ff;color:#455170;font-size:13px;border-radius:12px;overflow:hidden;cursor:pointer}
.px-batch input[type=file]::file-selector-button{background:#6553d6;border:0;border-radius:8px;color:#fff;font-weight:750;font:inherit;padding:9px 15px;cursor:pointer;margin-right:12px}
.px-batch input[type=file]:hover{border-color:#7363de;background:#f3f1ff}
.px-file-label{display:block!important;color:#2f3c58!important;font-weight:750;font-size:13px;margin-bottom:8px}
.px-field-help{font-size:12px;color:#62708b!important;line-height:1.65;margin:8px 0 0}
.px-batch input[type=range]{display:block;width:100%;height:24px;margin:6px 0 0;accent-color:#6754db;cursor:pointer}
.px-batch input[type=color]{height:44px;min-width:0;width:100%;padding:5px;border-radius:10px;background:#fff;border:1px solid #d0d8e8;cursor:pointer}
.px-batch-toggles{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}
.px-batch .px-toggle{min-width:0;display:flex!important;align-items:center;gap:10px;border:1px solid #dce3f0;background:#fafbff;border-radius:11px;padding:11px 13px;font-size:13px;color:#34415c!important;font-weight:650;line-height:1.5}
.px-batch .px-toggle>input[type=checkbox]{flex:0 0 17px;width:17px;height:17px;accent-color:#6554d6;margin:0}
.px-batch .px-control-wide.px-toggle{display:flex!important}
.px-batch-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px}
.px-btn{min-width:0;min-height:50px;border-radius:12px;font:700 13px/1.35 system-ui,-apple-system,'Segoe UI',sans-serif!important;display:flex;gap:9px;align-items:center;justify-content:center;padding:14px 16px;cursor:pointer;transition:transform .18s,box-shadow .18s;background:#fff}
.px-btn:hover:not(:disabled){transform:translateY(-1px)}.px-btn:disabled{opacity:.6;cursor:wait}
.px-btn-primary{background:linear-gradient(120deg,#6755e5,#496be8);color:white!important;border:1px solid transparent;box-shadow:0 9px 19px #5b64dc24}
.px-btn-secondary{background:#fff;color:#493ba8!important;border:1px solid #c8c4eb}
.px-status{border:1px solid #e1e5f1;background:#f6f7fb;border-radius:11px;padding:12px 14px;margin:16px 0 0!important;color:#475775!important;font-size:13px;line-height:1.55;overflow-wrap:anywhere}
.px-batch-side{position:sticky;top:91px;max-width:100%;min-width:0}
.px-batch-preview-card{padding:23px;overflow:hidden}.px-batch-preview-head{display:flex;justify-content:space-between;gap:8px;align-items:center;flex-wrap:wrap}.px-batch-preview-head span{font-size:10px;color:#6d5bcf;font-weight:800;letter-spacing:1.5px}
.px-batch-preview-stage{margin:16px 0 8px;border-radius:16px;background:repeating-conic-gradient(#e9ecf2 0% 25%,#f9fafe 0% 50%) 50%/20px 20px;border:1px solid #dde3ee;min-height:250px;display:grid;place-items:center;padding:12px;overflow:hidden}
.px-batch-preview-stage canvas{display:block!important;max-width:100%!important;width:100%!important;height:auto!important;max-height:430px;object-fit:contain;border:0;border-radius:10px;margin:0!important;box-shadow:0 9px 32px #151b3020}
#wmPreviewText{font-size:13px;color:#5f6c84!important;line-height:1.55;margin:10px 0 0;overflow-wrap:anywhere}
.px-batch-mini-guide{margin-top:23px;padding:21px 0 0;border-top:1px solid #e6eaf1;color:#52617a}.px-batch-mini-guide h3{font-size:17px;margin:0 0 11px;color:#192842}.px-batch-mini-guide ol{padding-left:21px;margin:0 0 14px}.px-batch-mini-guide li,.px-batch-mini-guide p{color:#576681!important;font-size:13px;line-height:1.65}.px-batch-mini-guide a{font-size:13px;font-weight:750;color:#5141c8;text-decoration:none}
/* Compact disclosure throughout the site; no passport/photo/registration identifiers */
.px-merchant-footer{max-width:1320px;margin:0 auto;padding:19px 25px 24px;border-top:1px solid #e3e8f1}
.px-merchant-footer-label{font-size:11px;letter-spacing:1.15px;text-transform:uppercase;font-weight:800;color:#626d85;margin-bottom:9px}
.px-merchant-footer-details{display:flex;gap:9px 18px;align-items:center;flex-wrap:wrap;color:#46556e;line-height:1.55;font-size:12px}
.px-merchant-footer-details strong{font-size:13px;font-weight:770;color:#20304b}.px-merchant-footer-details span{color:#5b6880}.px-merchant-footer-details a{color:#4e42b4!important;font-weight:750;text-decoration:underline;text-underline-offset:3px}
.premium-footer .foot-bottom a{color:#4d42b5}
.px-payment-tip{font-size:13px!important;line-height:1.6!important;color:#44536e!important;margin:9px 0 14px;padding:12px 14px;border-radius:10px;background:#f4f5fe;border:1px solid #dfe3f4}
.px-no-gateway{background:#f7f8fd;border:1px solid #dbe3f0;border-radius:12px;padding:19px;color:#263653}.px-no-gateway strong{display:block;font-weight:780;color:#263653;margin-bottom:5px}.px-no-gateway p{font-size:13px;line-height:1.6;margin:0;color:#5a6982!important}
.px-modal-open{overflow:hidden}.modal-dialog{max-height:min(90dvh,800px);overflow-y:auto;max-width:min(94vw,450px)}.pay-method{min-width:0;gap:14px}.pay-method small{color:#586b86}.payment-consent{display:flex!important;align-items:flex-start;gap:8px}.payment-consent input{flex:0 0 17px;margin-top:4px}
.px-auth-terms{display:flex!important;align-items:flex-start;gap:10px;margin:10px 0 19px;padding:12px 15px;border-radius:12px;background:#f6f5ff;border:1px solid #e2ddfb;font-size:12px!important;color:#34425c!important;line-height:1.6}.px-auth-terms input{flex:0 0 17px;margin-top:3px}.px-auth-plan{color:#39465f!important;background:#f3f0ff;padding:12px 15px;border-radius:11px;border:1px solid #dfdafa;margin:12px 0}
.px-legal-table{width:100%;border-collapse:collapse;margin:22px 0;background:#fff;font-size:13px}.px-legal-table td,.px-legal-table th{padding:12px;text-align:left;border:1px solid #dce3ef;color:#3d4d67;vertical-align:top}.px-legal-table th{color:#20334f;background:#f1f3fa;font-weight:750}
@media(max-width:1050px){.px-batch-layout{grid-template-columns:1fr}.px-batch-side{position:static}.px-batch-preview-stage{min-height:190px}}
@media(max-width:640px){.px-batch{width:calc(100% - 28px)!important;padding:30px 0 60px!important}.px-batch-card,.px-batch-preview-card{padding:18px;border-radius:16px}.px-batch-fields{grid-template-columns:1fr}.px-batch-actions{grid-template-columns:1fr}.px-batch-card-head h2{font-size:20px!important}.px-batch-card-head{gap:11px}.px-batch-step{width:37px;height:37px;flex-basis:37px}.px-batch-benefits span{font-size:11px}.px-merchant-footer{padding:18px}.px-merchant-footer-details{gap:9px}}
@media(prefers-reduced-motion:reduce){.px-btn{transition:none}.px-btn:hover{transform:none}}


/* ==== PixLab 7.1 — Payment modal readability & file input ==== */
/* Payment consent: checkbox is ONE flex item, all words/links live in ONE text element. */
#paymentDialog, #paymentDialog * {box-sizing:border-box}
#paymentDialog {padding:clamp(12px,3vw,24px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
#paymentDialog .modal-dialog {
    width:min(100%,490px);max-width:490px;min-width:0;
    max-height:calc(100dvh - 32px);overflow-y:auto;overflow-x:hidden;
    padding:clamp(22px,4vw,34px);border-radius:22px;
    background:#fff;border:1px solid #e4e8f4;
    color:#1d2944;box-shadow:0 25px 90px rgba(16,26,55,.25);
    scrollbar-width:thin;scrollbar-color:#cbd1df transparent;
}
#paymentDialog .modal-dialog > * {min-width:0;max-width:100%}
#paymentDialog .modal-dialog h2 {font-size:clamp(23px,4vw,29px);line-height:1.2;letter-spacing:-.035em;color:#17243c;margin:23px 0 20px;overflow-wrap:normal}
#paymentDialog .px-consent-box {
    display:flex;align-items:flex-start;gap:13px;
    min-width:0;width:100%;margin:19px 0 20px;padding:16px;
    border:1px solid #dfe5f2;background:#f8f9ff;border-radius:14px;
}
#paymentDialog .px-consent-box input[type=checkbox]{
    flex:0 0 18px;width:18px;height:18px;min-width:18px;margin:3px 0 0;
    accent-color:#6151d7;cursor:pointer;
}
#paymentDialog .px-consent-copy {
    display:block;flex:1 1 0;min-width:0;max-width:100%;
    white-space:normal;overflow-wrap:break-word;word-break:normal;
    font:400 13px/1.73 system-ui,-apple-system,'Segoe UI',sans-serif;
    color:#3c4d68;text-align:left;letter-spacing:normal;
}
#paymentDialog .px-consent-copy label{display:inline!important;cursor:pointer;color:inherit!important;font:inherit!important;margin:0!important;padding:0!important}
#paymentDialog .px-consent-copy a{display:inline!important;max-width:100%;color:#5042bd!important;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;white-space:normal;overflow-wrap:anywhere;font-weight:650;line-height:inherit}
#paymentDialog .px-consent-copy a:hover{color:#322697!important}
#paymentDialog .px-consent-copy a:focus-visible,
#paymentDialog .px-consent-box input:focus-visible{outline:2px solid #6957e8;outline-offset:3px}
#paymentDialog .pay-options {min-width:0;max-width:100%}
#paymentDialog .pay-method{width:100%;min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:7px 12px;text-align:left;border-radius:12px}
#paymentDialog .pay-method span{min-width:0;overflow-wrap:anywhere}
#paymentDialog .pay-method small{white-space:normal;margin-left:auto;text-align:right}
#paymentDialog .px-no-gateway,
#paymentDialog .px-payment-tip,
#paymentDialog .notice {max-width:100%;min-width:0;overflow-wrap:break-word}
#paymentDialog .modal-x{top:14px;right:16px;min-width:30px;min-height:30px;color:#8392af}
@media(max-width:520px){
    #paymentDialog{align-items:center;padding:12px}
    #paymentDialog .modal-dialog{width:100%;max-height:calc(100dvh - 24px);padding:23px 19px;border-radius:16px}
    #paymentDialog .px-consent-box{gap:10px;padding:13px 12px}
    #paymentDialog .px-consent-copy{font-size:12px;line-height:1.65}
}

/* Converter: custom button to select files, native input remains in DOM & submit FormData. */
.conv-shell .px-convert-file-area {min-width:0}
.conv-shell .px-convert-field-label {display:block;margin:0 0 10px;color:#1d2d4e!important;font-size:13px;font-weight:760;line-height:1.4}
.conv-shell .px-convert-file-card {
    display:flex;flex-wrap:wrap;align-items:center;gap:12px;
    min-width:0;padding:13px 14px;border-radius:13px;
    border:1px dashed #b9c3e4;background:#f8f9ff;
    transition:background .2s,border-color .2s;
}
.conv-shell .px-convert-file-card:hover{background:#f3f1ff;border-color:#8c7ee1}
.conv-shell .px-convert-file-input {
    position:absolute!important;width:1px!important;height:1px!important;
    padding:0!important;margin:0!important;opacity:0!important;
    overflow:hidden!important;clip-path:inset(50%)!important;
}
.conv-shell .px-convert-file-cta {
    display:inline-flex!important;align-items:center;justify-content:center;gap:9px;
    flex:0 0 auto;padding:12px 18px;margin:0!important;border-radius:10px;
    background:linear-gradient(120deg,#6755e5,#4e6be8);border:1px solid #6659df;
    color:#fff!important;box-shadow:0 6px 18px rgba(79,77,218,.16);
    font:750 13px/1.25 system-ui,-apple-system,'Segoe UI',sans-serif!important;
    cursor:pointer;transition:box-shadow .2s,transform .2s;
}
.conv-shell .px-convert-file-cta:hover{transform:translateY(-1px);box-shadow:0 9px 20px rgba(79,77,218,.25)}
.conv-shell .px-convert-file-cta{flex-direction:row!important;white-space:nowrap;align-items:center!important}
.conv-shell .px-convert-file-icon{display:inline!important;flex:0 0 auto;font-size:18px;font-weight:500;line-height:1}
.conv-shell .px-convert-file-input:focus-visible + .px-convert-file-cta{outline:3px solid #a899ef;outline-offset:3px}
.conv-shell .px-convert-file-summary {
    flex:1 1 180px;min-width:0;overflow-wrap:anywhere;
    color:#66748e;font-size:13px;line-height:1.45;
}
.conv-shell .px-convert-file-summary.has-files{color:#28395d;font-weight:650}
.conv-shell .px-convert-file-caption{color:#64748b!important;font-size:12px;line-height:1.6;margin:8px 0 0}
.conv-shell .v4-panel {min-width:0;overflow:hidden}
.conv-shell .v4-panel input:not([type=file]),
.conv-shell .v4-panel select{max-width:100%;min-width:0}
@media(max-width:520px){
  .conv-shell .px-convert-file-card{align-items:stretch;padding:12px}
  .conv-shell .px-convert-file-cta{flex:1 1 100%;width:100%}
  .conv-shell .px-convert-file-summary{flex:1 1 100%;text-align:center}
}
@media(prefers-reduced-motion:reduce){
  .conv-shell .px-convert-file-cta,.conv-shell .px-convert-file-card{transition:none}
}
