.pdf-section{display:grid;grid-template-columns:1fr minmax(330px,.9fr);gap:34px;align-items:center;margin:42px 0;padding:38px;border:1px solid #d9e4f5;border-radius:22px;background:radial-gradient(circle at 88% 8%,rgba(82,119,240,.18),transparent 34%),linear-gradient(135deg,#f8fbff,#fff);box-shadow:0 15px 34px rgba(38,64,107,.06)}.pdf-copy h2{margin:8px 0 10px;font-size:30px}.pdf-copy p{max-width:510px;margin:0;color:#63738a;line-height:1.8}.pdf-copy ul{display:grid;gap:8px;margin:20px 0 0;padding:0;list-style:none;color:#52647e;font-size:13px}.pdf-copy li:before{content:'✓';display:inline-grid;place-items:center;width:18px;height:18px;margin-right:8px;border-radius:50%;color:#2b64d6;background:#eaf1ff;font-size:11px;font-weight:800}#pdf-watermark-form{display:grid;gap:14px;padding:23px;border:1px solid #d9e5f5;border-radius:16px;background:rgba(255,255,255,.88);box-shadow:0 10px 22px rgba(41,68,110,.05)}.pdf-upload{display:grid;gap:8px;min-height:140px;place-content:center;padding:22px;border:1.5px dashed #9db7e6;border-radius:12px;color:#305fba;background:#f6f9ff;text-align:center;cursor:pointer}.pdf-upload strong{font-size:15px}.pdf-upload span{color:#72829a;font-size:12px}.pdf-upload input{display:none}.pdf-consent{color:#61718a;font-size:12px}.pdf-consent input{accent-color:#3067e8}.pdf-submit{height:45px;border:0;border-radius:10px;color:#fff;background:linear-gradient(135deg,#3067e8,#2758ca);box-shadow:0 8px 15px rgba(48,103,232,.2);font-weight:800;cursor:pointer}.pdf-submit:disabled{opacity:.6;cursor:wait}@media(max-width:760px){.pdf-section{grid-template-columns:1fr;margin:28px 0;padding:24px}.pdf-copy h2{font-size:25px}}

.pdf-operations{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding-top:6px}.pdf-operation{display:grid;gap:11px;padding:18px;border:1px solid #dbe6f5;border-radius:14px;background:rgba(255,255,255,.72)}.pdf-operation h3{margin:0;font-size:16px}.pdf-operation p{min-height:38px;margin:0;color:#6f8098;font-size:11px;line-height:1.7}.pdf-operation .pdf-upload{min-height:104px;padding:15px}.pdf-operation .pdf-upload strong{font-size:13px}.pdf-operation .pdf-upload span{font-size:10px}.pdf-operation .pdf-submit{height:40px;font-size:12px}.pdf-operation .form-status{min-height:18px;margin:0}@media(max-width:820px){.pdf-operations{grid-template-columns:1fr}.pdf-operation p{min-height:0}.pdf-operation.has-pdf-files{grid-template-rows:22px 56px 104px 68px 40px 18px}}

.pdf-section{align-items:start}.pdf-copy,#pdf-watermark-form{align-self:stretch}.pdf-operations{margin-top:2px;padding-top:22px;border-top:1px solid #dce6f4}.pdf-operation{grid-template-rows:22px 56px 104px 40px 18px;align-content:start}.pdf-operation p{min-height:0}.pdf-operation.has-pdf-files{grid-template-rows:22px 56px 104px 68px 40px 18px}.pdf-operation .pdf-upload{width:100%}@media(max-width:820px){.pdf-operations{padding-top:16px}.pdf-operation{grid-template-rows:auto auto 104px 40px 18px}}

/* PDF toolkit: four compact, aligned function cards. */.pdf-section{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:28px;align-items:stretch}.pdf-copy{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:28px;align-items:end;padding-bottom:18px;border-bottom:1px solid #dce6f4}.pdf-copy .eyebrow,.pdf-copy h2{grid-column:1}.pdf-copy p{grid-column:1;max-width:680px}.pdf-copy ul{grid-column:2;grid-row:1/4;align-self:center;margin:0}.pdf-operations{display:contents}#pdf-watermark-form,.pdf-operation{display:grid;grid-template-rows:22px 56px 104px 0 40px 18px;gap:10px;min-width:0;padding:16px;border:1px solid #dbe6f5;border-radius:14px;background:rgba(255,255,255,.76);box-shadow:none}#pdf-watermark-form h3,.pdf-operation h3{margin:0;font-size:15px}#pdf-watermark-form>p,.pdf-operation>p{min-height:0;margin:0;color:#6f8098;font-size:11px;line-height:1.65}#pdf-watermark-form .pdf-upload,.pdf-operation .pdf-upload{min-height:104px;padding:14px}#pdf-watermark-form .pdf-consent{align-self:center;font-size:10px}#pdf-watermark-form .pdf-submit,.pdf-operation .pdf-submit{grid-row:5;height:40px;margin:0;font-size:12px}#pdf-watermark-form .form-status,.pdf-operation .form-status{grid-row:6;min-height:18px;margin:0}.pdf-operations{margin:0;padding:0;border:0}@media(max-width:1020px){.pdf-section{grid-template-columns:repeat(2,minmax(0,1fr))}.pdf-copy{grid-column:1/-1}.pdf-copy ul{grid-column:1;grid-row:auto;display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.pdf-copy li:before{display:none}.pdf-copy li{padding:5px 8px;border-radius:6px;background:#edf3ff;font-size:11px}}@media(max-width:620px){.pdf-section{grid-template-columns:1fr;padding:20px}.pdf-copy{display:block;padding-bottom:15px}.pdf-copy ul{display:grid;margin-top:14px}#pdf-watermark-form,.pdf-operation{grid-template-rows:auto auto 104px auto 40px 18px}}

.pdf-selected-files{grid-row:4;display:grid;gap:5px;max-height:68px;overflow:auto;padding:0}.pdf-selected-files:empty{display:none}.pdf-selected-files span{display:grid;grid-template-columns:25px minmax(0,1fr) auto;align-items:center;gap:6px;padding:5px 6px;border:1px solid #dce7f6;border-radius:7px;background:#f7faff}.pdf-selected-files b{display:grid;place-items:center;width:25px;height:22px;border-radius:5px;color:#e24b4b;background:#fdeaea;font-size:7px}.pdf-selected-files i{overflow:hidden;color:#40516a;font-size:10px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.pdf-selected-files em{color:#8090a4;font-size:9px;font-style:normal}

.pdf-layout-option{display:flex;align-items:flex-start;gap:6px;margin-top:6px;color:#58708f!important;font-size:9px!important;line-height:1.45;text-align:left}.pdf-layout-option input{display:block!important;width:13px;height:13px;margin:0;accent-color:#3067e8;flex:0 0 auto}.pdf-operation:has(.pdf-layout-option){grid-template-rows:22px 56px 104px 0 40px 18px}.pdf-operation:has(.pdf-layout-option.has-pdf-files){grid-template-rows:22px 56px 104px 68px 40px 18px}

.pdf-upload .pdf-selected-files{grid-row:auto;display:grid;gap:4px;max-height:48px;overflow:auto;width:100%;padding:0}.pdf-upload .pdf-selected-files:empty{display:none}.pdf-upload .pdf-selected-file{display:grid;grid-template-columns:24px minmax(0,1fr) auto auto;align-items:center;gap:5px;padding:4px 5px;border:1px solid #dce7f6;border-radius:6px;background:#f7faff;text-align:left}.pdf-upload .pdf-selected-file[draggable="true"]{cursor:grab}.pdf-upload .pdf-selected-file b{display:grid;place-items:center;width:24px;height:20px;border-radius:5px;color:#e24b4b;background:#fdeaea;font-size:7px}.pdf-upload .pdf-selected-file i{overflow:hidden;color:#40516a;font-size:10px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.pdf-upload .pdf-selected-file em{color:#8090a4;font-size:9px;font-style:normal;white-space:nowrap}.pdf-upload .pdf-selected-file span{display:flex;gap:2px}.pdf-upload .pdf-selected-file button{width:18px;height:18px;padding:0;border:1px solid #ceddf3;border-radius:4px;color:#3565bd;background:#fff;font-size:11px;line-height:1;cursor:pointer}.pdf-upload .pdf-selected-file button:disabled{opacity:.4;cursor:default}.pdf-range-input{grid-row:4;display:grid;gap:4px;align-content:start;font-size:10px;color:#52677f}.pdf-range-input em{font-style:normal;color:#8290a5}.pdf-range-input input{height:32px;box-sizing:border-box;width:100%;padding:0 9px;border:1px solid #cddcf2;border-radius:7px;color:#344762;background:#fff;font-size:11px;outline:none}.pdf-operation:has(.pdf-range-input){grid-template-rows:22px 56px 104px 40px 40px 18px}
