.pdf-hero{padding:45px 0 32px}.pdf-hero h1{font-size:clamp(38px,5vw,64px);margin:20px 0;max-width:900px}.pdf-hero .lead{max-width:700px}.pdf-trust{display:flex;gap:12px 26px;flex-wrap:wrap;color:#b7d1eb;font-size:13px;margin:28px 0 0}.pdf-service-note{padding:18px 22px;border:1px solid #2d526a;border-radius:12px;background:#102639;color:#b8dcea;font-size:13px;line-height:1.8;margin:0 0 30px}.pdf-filter{display:grid;grid-template-columns:1fr 260px;gap:18px;margin-bottom:12px}.pdf-filter label,#pdf-dialog label{display:block;font-size:13px;font-weight:700;margin-bottom:10px;color:#dfefff}.pdf-filter input,.pdf-filter select,#pdf-dialog input:not([type=file]),#pdf-dialog select{box-sizing:border-box;width:100%;min-height:48px;border:1px solid #3b5879;border-radius:10px;background:#101c30;color:#ecf6ff;font:inherit;font-size:16px;padding:12px 14px}.pdf-filter input::placeholder,#pdf-dialog input::placeholder{color:#93a9c4}.pdf-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0}.pdf-card{font:inherit;display:flex;flex-direction:column;align-items:flex-start;position:relative;text-align:left;padding:24px 21px;border:1px solid #2c4262;border-radius:16px;background:linear-gradient(145deg,#14243c,#10192c);color:#eaf3ff;cursor:pointer;min-height:254px;transition:border-color .2s,transform .2s}.pdf-card:not(:disabled):hover{border-color:#5edfff;transform:translateY(-3px)}.pdf-card:disabled{cursor:default;background:#101a2b;border-color:#25364e}.pdf-card:disabled .pdf-card-icon{filter:grayscale(.6);opacity:.65}.pdf-card h2{font-size:19px;margin:10px 0;line-height:1.35;letter-spacing:-.01em}.pdf-card p{font-size:13px;line-height:1.7;margin:0 0 18px;flex:1}.pdf-card-icon{font-size:29px;height:42px;line-height:1;display:block}.pdf-category-label{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#92a9c7}.pdf-mode{font-size:11px;font-weight:700;color:#80e9ef}.pdf-card:disabled .pdf-mode{color:#a1adc0}.pdf-card[hidden],.pdf-empty[hidden]{display:none!important}.pdf-empty{padding:35px;border:1px dashed #3a5576;border-radius:14px;text-align:center}.pdf-privacy{padding:28px 0 20px;max-width:900px}.pdf-privacy h2{font-size:25px}.pdf-privacy p{font-size:14px}.pdf-modal-open{overflow:hidden}#pdf-dialog{box-sizing:border-box;width:min(650px,calc(100% - 24px));max-height:calc(100dvh - 32px);padding:30px;border:1px solid #42617f;border-radius:20px;background:#101c30;color:#e8f4ff;box-shadow:0 24px 90px #0009;overflow-y:auto}#pdf-dialog::backdrop{background:#030914d9;backdrop-filter:blur(5px)}#pdf-dialog h2{font-size:29px;margin:12px 38px 12px 0}#pdf-dialog>p{font-size:14px}#pdf-dialog button{font:inherit;cursor:pointer}#pdf-dialog button:disabled{opacity:.5;cursor:default}.pdf-close{position:absolute;top:14px;right:14px;width:40px;height:40px;border:1px solid #42617f;border-radius:10px;background:#182b45;color:#e8f4ff;font-size:26px!important}.pdf-upload{padding:20px;border:1px dashed #53759d;border-radius:12px;background:#132640;margin:20px 0 14px}.pdf-upload input{width:100%;font:inherit;font-size:13px;color:#b9d4ee}.pdf-upload input::file-selector-button{padding:10px 12px;border:1px solid #6292ba;background:#21445e;border-radius:7px;color:#d7f5ff;cursor:pointer;margin:0 12px 8px 0}.pdf-upload p{font-size:11px;margin:12px 0 0}#pdf-file-list{list-style:none;padding:0;margin:0 0 22px}#pdf-file-list li{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;line-height:1.6;padding:10px 0;border-bottom:1px solid #293d57}#pdf-file-list li>span{overflow-wrap:anywhere;min-width:0}.file-actions{display:flex;gap:6px;flex-shrink:0}.file-actions button{width:30px;height:32px;background:#1b304a;color:#d9f5ff;border:1px solid #3f5d7c;border-radius:6px}.pdf-result{display:flex;flex-direction:column;gap:14px;padding:20px;border:1px solid #336275;border-radius:12px;background:#112d3a;font-size:13px}.pdf-result .btn{text-align:center}#pdf-run{width:100%;margin-top:10px;font-weight:800!important}#pdf-status{font-size:14px;color:#9eeaf7;line-height:1.7;overflow-wrap:anywhere;min-height:24px;margin:20px 0}#pdf-dialog [hidden]{display:none!important}#pdf-dialog form>.note{font-size:12px;margin-top:16px}button:focus-visible,select:focus-visible{outline:3px solid #70e8ff;outline-offset:4px}#pdf-form[aria-busy=true] .pdf-upload,#pdf-form[aria-busy=true] #pdf-file-list{pointer-events:none;opacity:.65}.pdf-promo{display:flex;align-items:center;justify-content:space-between;gap:25px;border:1px solid #3e5787;border-radius:18px;padding:26px 30px;background:linear-gradient(115deg,#152c49,#202243);margin:8px 0 30px}.pdf-promo h2{font-size:26px;margin:10px 0}.pdf-promo p{margin:0;max-width:700px;font-size:14px}.pdf-promo>.btn{flex-shrink:0}@media(max-width:1050px){.pdf-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:780px){.pdf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pdf-filter{grid-template-columns:1fr 1fr}.pdf-promo{display:block;padding:24px}.pdf-promo>.btn{margin-top:20px}}@media(max-width:480px){.pdf-grid{grid-template-columns:1fr}.pdf-card{min-height:220px}.pdf-filter{grid-template-columns:1fr}#pdf-dialog{padding:24px 20px}.pdf-trust{font-size:12px;gap:12px 18px}}@media(prefers-reduced-motion:reduce){.pdf-card{transition:none}}

.word-pdf-preview{display:block;width:100%;height:350px;border:1px solid #52708c;border-radius:8px;background:#e2e7ed}#pdf-word-preview{width:100%}#pdf-print{font-weight:800!important}#pdf-print-help{font-size:12px;margin:0;line-height:1.7}@media(max-width:480px){.word-pdf-preview{height:290px}}

/* External tools remain native links, including without JavaScript. */
.pdf-card{text-decoration:none}.pdf-card:hover{color:#eaf3ff}.pdf-card-external .pdf-mode{color:#b7c9ff}
