/* Konya text controls and bilingual reading; preserve each language site's shell. */
.fmk-switcher,.fmk-jump,.fmk-jump form,.fmk-form-row{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem}
.fmk-switcher{padding:1rem;background:#edf6fc;border:1px solid #b8d3e5;border-radius:8px}
.fmk-switcher [aria-current="page"]{background:#183d52;color:white;border-color:#183d52}
.fmk-jump{margin:1rem 0;justify-content:space-between}.fmk-jump input{width:8rem}
.fmk-texts{display:grid;grid-template-columns:minmax(0,1fr);gap:1.25rem;align-items:start}
.fmk-texts.fmk-both{grid-template-columns:repeat(2,minmax(0,1fr));direction:ltr}
.fmk-pane{min-width:0}.fmk-pane>h2{font-size:1.05rem;border-bottom:2px solid #bdd5e3;padding-bottom:.5rem}
.fmk-texts .source-text{max-width:none;width:100%;min-width:0;overflow-wrap:anywhere;font-size:var(--reader-size,1.18rem);text-align:start}
.fmk-texts .source-text[lang="ar"]{font-family:Amiri,"Noto Naskh Arabic","Traditional Arabic",serif;line-height:2}
.fmk-texts .source-text[lang="en"]{font-family:Georgia,"Times New Roman",serif;line-height:1.85}
.fmk-texts img{max-width:100%;height:auto}.fmk-texts table{max-width:100%}
.fmk-notes{margin-top:1.2rem;padding-top:1rem;border-top:1px solid #c9d7df;font-size:.95em}
.fmk-notes summary{cursor:pointer;font-family:system-ui,sans-serif;font-weight:600}
.fmk-notes .footnote,.fmk-notes .translator-note{margin-block:1em}
.fmk-scan{display:block;max-width:100%;max-height:85vh;object-fit:contain;margin:1rem auto}
.reader-focus .fmk-counterparts{display:none}.reader-tools[hidden]{display:none}
@media(max-width:780px){.fmk-texts.fmk-both{grid-template-columns:minmax(0,1fr)}.fmk-page-nav{display:flex}.fmk-jump form{width:100%}.fmk-form-row{display:flex!important;flex-wrap:wrap}.fmk-form-row input{flex-basis:100%}}
@media print{.fmk-switcher,.fmk-jump,.fmk-counterparts,.fmk-page-nav{display:none}.fmk-texts.fmk-both{grid-template-columns:1fr}}
