/* Shared styling for PDFLeo guide pages that do not carry their own <style> block. */
:root{--g-bg:#fff;--g-text:#172554;--g-muted:#475569;--g-link:#1d4ed8;--g-accent:#2563eb;--g-note-bg:#eff6ff;--g-line:#e2e8f0}
@media (prefers-color-scheme:dark){
  :root{--g-bg:#0b1220;--g-text:#e2e8f0;--g-muted:#94a3b8;--g-link:#93c5fd;--g-accent:#3b82f6;--g-note-bg:#13213d;--g-line:#1e293b}
}
body.guide-page{font:17px/1.75 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;max-width:820px;margin:0 auto;padding:24px 18px 40px;color:var(--g-text);background:var(--g-bg)}
.guide-page a{color:var(--g-link)}
.guide-page header{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;padding-bottom:14px;margin-bottom:22px;border-bottom:1px solid var(--g-line);font-size:15px}
.guide-page header a{text-decoration:none;font-weight:600}
.guide-page header a:first-child{font-size:20px;font-weight:800;margin-inline-end:6px}
.guide-page h1{font-size:clamp(28px,6vw,40px);line-height:1.15;margin:.3em 0 .5em;letter-spacing:-.02em}
.guide-page h2{font-size:clamp(21px,4.5vw,26px);line-height:1.25;margin:1.8em 0 .5em}
.guide-page h3{font-size:18px;margin:1.3em 0 .2em}
.guide-page p,.guide-page li{overflow-wrap:anywhere}
.guide-page .cta{display:inline-block;padding:12px 22px;border-radius:12px;background:var(--g-accent);color:#fff;font-weight:700;text-decoration:none}
.guide-page .cta:hover,.guide-page .cta:focus-visible{filter:brightness(1.1)}
.guide-page .note{margin:22px 0;padding:14px 18px;border-inline-start:4px solid var(--g-accent);background:var(--g-note-bg);border-radius:8px}
.guide-page footer{margin-top:40px;padding-top:18px;border-top:1px solid var(--g-line);font-size:14px;color:var(--g-muted)}

/* Urdu (right-to-left) pages: Nastaliq-friendly fonts, taller lines, and no letter-spacing (it breaks Arabic-script joining). */
.guide-page:lang(ur){font-family:"Noto Nastaliq Urdu","Jameel Noori Nastaleeq","Noto Naskh Arabic","Segoe UI",Tahoma,system-ui,sans-serif;line-height:2.1}
.guide-page:lang(ur) *{letter-spacing:0}
.guide-page:lang(ur) h1{line-height:1.7}
.guide-page:lang(ur) h2,.guide-page:lang(ur) h3{line-height:1.8}
.guide-page [lang="ur-Latn"]{font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;line-height:1.75;text-align:left}
