.pdf-text-content{max-width:1120px;margin:72px auto 48px;text-align:left;color:#263e50;line-height:1.8;padding:0 24px}
.pdf-text-content h2{font-size:30px;line-height:1.3;font-weight:700;letter-spacing:-.4px;margin:0 0 20px;color:#1b3041}
.pdf-text-content h3{font-size:19px;line-height:1.4;font-weight:700;margin:0 0 12px}
.pdf-text-content p{font-size:16px;margin:0 0 18px}
.pdf-text-intro{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);align-items:center;gap:44px;padding:44px;margin:0 auto 56px;text-align:left;background:linear-gradient(120deg,#fff 45%,#f3f7fb 100%);border:1px solid #e0e6ed;border-radius:24px;box-shadow:0 12px 36px rgba(35,61,83,.045);overflow:hidden}
.pdf-text-intro:before{content:"";position:absolute;z-index:-1;width:320px;height:320px;border:1px solid rgba(76,117,151,.08);border-radius:50%;right:-120px;top:-180px;box-shadow:0 0 0 40px rgba(76,117,151,.025),0 0 0 80px rgba(76,117,151,.02);pointer-events:none}
.pdf-text-intro .pdf-text-eyebrow{display:flex;align-items:center;gap:10px;color:#a93835;font-size:11px;font-weight:700;letter-spacing:1.6px;margin:0 0 20px;line-height:1.6}
.pdf-text-eyebrow>span{display:block;width:22px;height:2px;background:#c44440;flex:none}
.pdf-text-intro h2{font-size:32px;line-height:1.3;letter-spacing:-.7px;margin:0 0 20px;text-wrap:balance}
.pdf-text-intro .pdf-text-intro-description{font-size:15px;line-height:1.85;color:#5b6c7b;margin:0;max-width:62ch}
.pdf-text-intro-aside{min-width:0;background:rgba(255,255,255,.82);border:1px solid #e5ebf1;border-radius:18px;padding:26px 24px 14px}
.pdf-text-format-flow{display:flex;align-items:center;justify-content:center;gap:20px;margin:0 0 18px;padding-bottom:22px;border-bottom:1px solid #e8edf2}
.pdf-text-format-flow>span{font-size:23px;line-height:1.4;font-weight:700;letter-spacing:1px}.pdf-text-format-source{color:#be4b48}.pdf-text-format-result{color:#275d7b;display:flex;align-items:center;gap:4px}.pdf-text-format-flow svg{width:50px;height:22px;color:#99aab9}.pdf-text-format-cursor{display:inline-block;width:2px;height:22px;background:#8eb0c3}
.pdf-text-benefits{list-style:none;display:flex;flex-direction:column;gap:0;margin:0;padding:0}
.pdf-text-benefits li{display:flex;align-items:center;gap:13px;padding:15px 0;min-width:0}.pdf-text-benefits li+li{border-top:1px solid #edf1f5}
.pdf-text-benefit-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:#eef4f9;color:#306b8b;flex:none}.pdf-text-benefit-icon svg{width:23px;height:23px}.pdf-text-benefit-label{font-size:14px;line-height:1.6;color:#304b60;font-weight:500;flex:1;min-width:0}.pdf-text-benefit-check{color:#45907b;font-size:14px;flex:none}
@media(max-width:1000px){.pdf-text-intro{padding:32px;gap:28px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.pdf-text-intro h2{font-size:28px}.pdf-text-intro-aside{padding:22px 18px 10px}}
@media(max-width:767px){.pdf-text-intro{grid-template-columns:1fr;gap:26px;padding:26px 22px;border-radius:20px;margin-bottom:32px}.pdf-text-intro h2{font-size:26px}.pdf-text-intro .pdf-text-eyebrow{font-size:10px;letter-spacing:1.2px;margin-bottom:16px}.pdf-text-intro .pdf-text-intro-description{font-size:15px;line-height:1.8}.pdf-text-intro-aside{padding:22px 18px 10px}.pdf-text-format-flow{margin-bottom:8px;padding-bottom:18px}.pdf-text-benefits li{padding:13px 0}}
.pdf-text-feature{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:48px;align-items:center;padding:48px 0;border-top:1px solid #dde3e9}
.pdf-text-feature:nth-of-type(2){direction:rtl}.pdf-text-feature>*{direction:ltr}.pdf-text-feature figure{margin:0}.pdf-text-feature img{width:100%;height:auto;display:block;border-radius:18px}.pdf-text-feature figcaption{font-size:13px;color:#657484;line-height:1.6;margin-top:12px}
.pdf-text-how{padding:40px 0}.pdf-text-how ol{counter-reset:steps;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:28px 0 0;padding:0}.pdf-text-how li{position:relative;padding:24px 24px 8px 76px;border:1px solid #dde3e9;border-radius:12px;background:#fff}.pdf-text-how li:before{counter-increment:steps;content:counter(steps);position:absolute;left:22px;top:24px;width:34px;height:34px;line-height:34px;text-align:center;border-radius:50%;background:#f9e9e7;color:#a93835;font-weight:700}
.pdf-text-quality{padding:32px;background:#eef3f7;border-radius:16px;margin:16px 0 48px}.pdf-text-related>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.pdf-text-related a{display:block;padding:20px;border:1px solid #d9e2eb;border-radius:12px;color:#275d7b;background:white;text-decoration:none}.pdf-text-related a:hover{border-color:#306b8b}.pdf-text-related strong,.pdf-text-related span{display:block}.pdf-text-related span{font-size:14px;color:#5b6e7d;line-height:1.6;margin-top:10px}
.pdf-text-faq{margin-top:64px}.pdf-text-faq details{padding:18px 0;border-bottom:1px solid #dbe2e8}.pdf-text-faq summary{cursor:pointer;font-size:17px;font-weight:600;line-height:1.6}.pdf-text-faq details p{margin:14px 0 4px;max-width:960px}.pdf-text-faq summary:focus-visible,.pdf-text-related a:focus-visible{outline:3px solid #306b8b;outline-offset:4px}
@media(max-width:767px){.pdf-text-content{margin-top:48px;padding:0 18px}.pdf-text-content h2{font-size:24px}.pdf-text-feature{grid-template-columns:1fr;gap:24px;padding:32px 0}.pdf-text-feature:nth-of-type(2){direction:ltr}.pdf-text-feature figure{max-width:460px;margin:auto}.pdf-text-how ol{grid-template-columns:1fr}.pdf-text-quality{padding:24px}.pdf-text-related>div{grid-template-columns:repeat(2,minmax(0,1fr))}.pdf-text-faq{margin-top:44px}}
@media(prefers-reduced-motion:reduce){.pdf-text-content *{scroll-behavior:auto}}

/* Localized copy wraps naturally; Arabic follows its reading direction. */
.pdf-text-content{overflow-wrap:anywhere}.pdf-text-format-flow{direction:ltr}
.pdf-text-content[dir="rtl"],.pdf-text-content[dir="rtl"] .pdf-text-intro{text-align:right}
.pdf-text-content[dir="rtl"] .pdf-text-feature>*{direction:rtl}
.pdf-text-content[dir="rtl"] .pdf-text-feature:nth-of-type(2){direction:ltr}
.pdf-text-content[dir="rtl"] .pdf-text-how li{padding:24px 76px 8px 24px}
.pdf-text-content[dir="rtl"] .pdf-text-how li:before{left:auto;right:22px}
html[lang="ar"] #wrap-page .ocr-language-options,html[lang="ar"] #wrap-page .convert-setting,html[lang="ar"] #ocr-export-progress{direction:rtl;text-align:right}

.pdf-text-content [id]{scroll-margin-top:110px}
.pdf-text-toc{padding:22px 26px;margin:0 0 32px;background:#f4f7fa;border:1px solid #e0e6ed;border-radius:14px}
.pdf-text-toc ul{display:flex;flex-wrap:wrap;gap:8px 24px;list-style:none;margin:10px 0 0;padding:0}
.pdf-text-toc a,.pdf-text-comparison a,.pdf-text-example-links a{color:#245e85;text-decoration:underline;text-underline-offset:3px}
.pdf-text-comparison,.pdf-text-troubleshooting{margin:28px 0 48px}
.pdf-text-table-wrap{overflow-x:auto;border:1px solid #dbe3eb;border-radius:12px}
.pdf-text-comparison table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.65;text-align:start}
.pdf-text-comparison th,.pdf-text-comparison td{padding:17px 20px;vertical-align:top;border-bottom:1px solid #dbe3eb}
.pdf-text-comparison thead{background:#edf3f8}.pdf-text-comparison tbody th{font-weight:500;width:32%}
.pdf-text-comparison tr:last-child>*{border-bottom:0}.pdf-text-comparison td:nth-child(2){width:24%}
.pdf-text-example{padding:30px;background:#f2f7fa;border:1px solid #dbe5ed;border-radius:16px;margin-bottom:48px}
.pdf-text-example pre{padding:22px;border-radius:10px;background:white;border:1px solid #dbe5ed;color:#243d50;font-size:15px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
.pdf-text-example-links{display:flex;flex-wrap:wrap;gap:14px 28px;margin:20px 0}
.pdf-text-example .pdf-text-example-note{font-size:14px;margin:0;color:#526777}
.pdf-text-troubleshooting>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.pdf-text-troubleshooting section{border-top:2px solid #dbe5ed;padding-top:20px}
.pdf-text-toc a:focus-visible,.pdf-text-comparison a:focus-visible,.pdf-text-example-links a:focus-visible,.pdf-text-table-wrap:focus-visible{outline:3px solid #306b8b;outline-offset:4px}
@media(max-width:767px){.pdf-text-toc{padding:20px}.pdf-text-toc ul{display:block}.pdf-text-toc li+li{margin-top:8px}.pdf-text-comparison th,.pdf-text-comparison td{padding:12px 10px;font-size:13px}.pdf-text-example{padding:22px}.pdf-text-example pre{padding:16px;font-size:13px}.pdf-text-troubleshooting>div{grid-template-columns:1fr;gap:16px}}

/* Static article stays readable while the converter initializes. */
#pdf-text-landing[hidden]{display:none!important}
#pdf-text-landing .footer-main a{color:#0056b3}
#pdf-text-landing .footer-main a:hover{color:#003d80;text-decoration:underline}
#pdf-text-landing .footer-main a:focus-visible{outline:2px solid #0056b3;outline-offset:3px}
#pdf-text-app .morepdf-loading-spinner{display:block;width:48px;height:48px;border:4px solid #d5d5df;border-top-color:#9f231f;border-radius:50%;animation:pdf-text-loading-spin .8s linear infinite}
@keyframes pdf-text-loading-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#pdf-text-app .morepdf-loading-spinner{animation:none}}
