@font-face{font-family:SiteUI;src:url('/assets/fonts/thmanyah-sans-Regular.woff2');font-display:swap} .site-header{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;max-width:1440px;margin:auto;padding:12px 28px;background:#faf9f4;border-bottom:1px solid #e4e4da;font-family:SiteUI,system-ui,sans-serif}.site-brand{display:block;flex:none}.site-brand img{width:150px;height:64px;object-fit:contain}.site-header nav{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.site-header nav a{font-size:14px;line-height:1.5;text-decoration:none;color:#5d6659;padding:10px 15px;border-radius:12px;white-space:nowrap}.site-header nav a[aria-current=page]{background:#e7eddf;color:#355641;font-weight:600}.site-header nav a:hover{background:#f0f1e8}.site-header .site-support{font-size:12px;white-space:nowrap;color:#89723f;text-decoration:none}.site-header a:focus-visible{outline:2px solid #8ba977;outline-offset:3px}@media(max-width:700px){.site-header{padding:10px 12px;gap:7px;flex-wrap:wrap}.site-brand img{width:110px;height:45px}.site-header nav{order:3;width:100%;justify-content:center;gap:3px}.site-header nav a{font-size:12px;padding:9px 10px}.site-header .site-support{margin-inline-start:auto;font-size:11px}}
.site-brand{overflow:visible}.site-brand img{background:transparent;animation:brand-breathe 12s ease-in-out infinite;transform-origin:50% 75%}@keyframes brand-breathe{0%,82%,100%{transform:translateY(0)}91%{transform:translateY(-1.5px) rotate(-.15deg)}}@media(prefers-reduced-motion:reduce){.site-brand img{animation:none}}

.site-header{position:sticky;top:0;z-index:50}#form,#library{scroll-margin-top:120px}
.site-brand img{animation:brand-flow 5s ease-in-out infinite!important;transform-origin:50% 75%;will-change:transform}@keyframes brand-flow{0%,100%{transform:translateY(0) rotate(0) scale(1)}35%{transform:translateY(-3px) rotate(-.5deg) scale(1.018)}65%{transform:translateY(-1px) rotate(.35deg) scale(1.008)}}@media(prefers-reduced-motion:reduce){.site-brand img{animation:none!important}}
@media(max-width:600px){.site-header nav{flex-wrap:nowrap;overflow-x:auto;justify-content:center;gap:2px;scrollbar-width:none}.site-header nav a{font-size:11px;padding:8px 7px}}

input[type="range"]{direction:rtl!important}

.site-support{display:inline-flex!important;align-items:center;gap:7px;border:1px solid #d8c49a!important;border-radius:12px!important;padding:9px 13px!important;background:#f8f1df!important;color:#9b7835!important;font-size:13px!important;text-decoration:none!important;line-height:1.5;white-space:nowrap;transition:background .18s,box-shadow .18s}.site-support:hover{background:#f2e7ca!important;box-shadow:0 3px 12px #ad8c3615}.site-support:before{content:'♡';font-size:19px;line-height:1;color:#aa8538}@media(max-width:650px){.site-support{font-size:10px!important;padding:6px 8px!important;border-radius:9px!important;gap:4px}.site-support:before{font-size:14px}}
.site-header{padding-block:18px;gap:30px}.site-brand{padding:5px 10px;margin-inline-end:12px}.site-brand img{width:168px;height:69px}@media(max-width:700px){.site-header{padding-block:13px;gap:10px}.site-brand{padding:5px 7px;margin-inline-end:0}.site-brand img{width:120px;height:50px}}

.site-header nav a:has(.nav-messenger-icon){display:inline-flex!important;align-items:center;gap:6px}.nav-messenger-icon{width:21px;height:21px;flex:none}.share-capture-action{display:inline-grid!important;place-items:center;width:26px!important;height:26px!important;padding:4px!important;margin:2px 5px 10px!important;border:1px solid #dce4ce!important;border-radius:7px!important;background:#f3f7eb!important;color:#809466!important;vertical-align:middle;cursor:pointer}.share-capture-action svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round}.share-capture-action:hover{background:#e8f0dd!important;color:#456b43!important}.chat-bubble>.share-capture-action{float:inline-end;width:22px!important;height:22px!important;padding:3px!important;margin:-20px 0 0!important;background:transparent!important;border:0!important;opacity:.7}.collection-note-actions>.share-capture-action{flex:none;margin:0!important}.capture-status{position:fixed;z-index:220;inset-inline:20px;bottom:22px;width:fit-content;max-width:calc(100vw - 40px);margin:auto;padding:10px 16px;border:1px solid #d5e0c8;border-radius:10px;background:#fffdf5;color:#607a50;font:13px/1.7 SiteUI,UI,system-ui;box-shadow:0 5px 25px #35552a20}.chat-connect-action{display:inline-block;margin-top:8px;padding:5px 9px;border-radius:8px;font-size:12px;color:#507647;background:#edf3e5}

.share-capture-action{background:transparent!important;border:0!important;color:#ad995e!important;box-shadow:none!important}.share-capture-action:hover{background:transparent!important;color:#887139!important}.chat-bubble-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:24px;margin-top:5px;clear:both}.chat-bubble-footer .share-capture-action{float:none!important;margin:0!important;width:24px!important;height:24px!important;opacity:.8}.chat-bubble-footer .chat-meta{margin:0!important}.chat-bubble[data-automatic=true] .chat-meta:before{content:"✦";margin-inline-end:4px;color:#a9945d}

.focus-reading .site-header{display:none!important}.focus-reading.site-menu-visible .site-header{display:flex!important;position:fixed;inset:0 0 auto;z-index:150}.site-menu-reveal{position:fixed;top:max(8px,env(safe-area-inset-top));right:8px;z-index:160;width:34px;height:34px;padding:0;border-radius:50%;background:#fffdf5ed;color:#355d45;border:1px solid #dce5d6;box-shadow:0 2px 10px #20332612}.focus-reading .chat-workspace{height:calc(100dvh - 20px)!important;margin:10px auto!important}.focus-reading .mushaf-main{padding-top:0!important}#api-settings{margin-top:16px;padding:18px;border:1px solid #dce4d5;border-radius:18px;background:#f5f7ef}.connection-heading{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-bottom:14px;font-weight:600}.api-fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px!important}.api-fields label{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:6px!important;min-width:0}.api-fields input,.api-fields select{width:100%!important;max-width:100%;min-width:0!important;min-height:44px!important;padding:8px 12px!important;border:1px solid #d6dfcf!important;border-radius:10px!important;background:#fff!important;font:400 14px/1.6 SiteUI,system-ui!important}.engine-grid{gap:10px!important}.engine-grid label{padding:16px 12px!important;border-radius:14px!important}.engine-grid strong{font-size:17px!important}.engine-grid span{font-size:12px!important}.engine-description{margin-block:14px!important;font-size:13px!important}.api-fields{margin-bottom:14px}.install-banner{display:flex;gap:14px;align-items:center;padding:14px 20px;margin:24px auto;max-width:1160px;background:#edf3e8;border:1px solid #d4e0ca;border-radius:20px}.install-banner img{width:45px;height:45px;border-radius:12px}.install-banner-copy{flex:1;min-width:0}.install-banner strong{display:block;color:#355d45;font-size:17px}.install-banner p{margin:3px 0 0;color:#798b6e;font-size:12px}.install-banner a{font-size:12px;color:#466b43}.install-banner button{flex:none}.install-banner .install-dismiss{padding:5px;border:0;background:none;font-size:20px}@media(max-width:650px){.api-fields{grid-template-columns:1fr!important}.engine-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.connection-heading{flex-direction:column;align-items:flex-start}.install-banner{margin:18px 12px;padding:12px;gap:10px;flex-wrap:wrap}.install-banner strong{font-size:15px}.install-banner img{width:38px;height:38px}.focus-reading.site-menu-visible .site-header{flex-wrap:wrap;padding-top:42px!important}}

.focus-reading.site-menu-visible .site-header{display:grid!important;position:relative!important;inset:auto!important;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;padding:12px 82px 12px 24px!important;min-height:80px!important;margin:0!important;z-index:60}.focus-reading.site-menu-visible .site-header .site-brand img{width:150px!important;max-height:64px;object-fit:contain}.focus-reading.site-menu-visible .site-header nav{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.focus-reading.site-menu-visible .site-header nav a{padding:8px 12px!important;font-size:14px!important}.site-menu-reveal{width:48px!important;height:48px!important;right:18px!important;top:max(12px,env(safe-area-inset-top))!important;border-radius:14px!important;background:#fffaf0ed!important;border:1px solid #dae1cc!important;color:#6c8459!important;box-shadow:0 4px 16px #4354310c!important;padding:11px!important}.site-menu-reveal svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.site-menu-reveal:hover,.site-menu-reveal[aria-expanded=true]{background:#eaf0df!important;color:#426744!important}.focus-reading .mushaf-main{padding-top:22px!important}.focus-reading.site-menu-visible .chat-workspace{height:calc(100dvh - 110px)!important}@media(max-width:650px){.site-menu-reveal{right:10px!important;width:44px!important;height:44px!important;padding:10px!important}.focus-reading.site-menu-visible .site-header{grid-template-columns:1fr auto;gap:8px!important;padding:12px 68px 10px 12px!important}.focus-reading.site-menu-visible .site-header .site-brand img{width:116px!important;max-height:54px}.focus-reading.site-menu-visible .site-header nav{grid-column:1/-1;grid-row:2;gap:3px!important}.focus-reading.site-menu-visible .site-header nav a{font-size:11px!important;padding:6px 7px!important}.focus-reading.site-menu-visible .site-header .site-support{font-size:10px!important;padding:6px 8px!important}.focus-reading .mushaf-main{padding-top:18px!important}.focus-reading.site-menu-visible .chat-workspace{height:calc(100dvh - 152px)!important}}
@media(max-width:650px){body:has(.mushaf-main) .site-menu-reveal{left:50%!important;right:auto!important;transform:translateX(-50%);top:3px!important;width:32px!important;height:30px!important;border-radius:9px!important}body:has(.chat-workspace) .site-menu-reveal{left:50%!important;right:auto!important;transform:translateX(-50%);top:7px!important;width:36px!important;height:34px!important}body:has(.chat-workspace) .chat-workspace{margin-top:48px!important;height:calc(100dvh - 48px)!important;min-height:0!important;padding:0!important}body.site-menu-visible:has(.chat-workspace) .chat-workspace{margin-top:0!important;height:calc(100dvh - 160px)!important}.source-menu-list{max-width:calc(100vw - 24px)!important}.source-menu-list button{font-size:15px!important}}

@media(max-width:650px){body.focus-reading:has(.mushaf-main) .mushaf-main{padding-top:36px!important;padding-bottom:calc(var(--reader-dock-height,160px) + 6px)!important}body.focus-reading[data-page-side=right] .mushaf-main{padding-right:14px!important;padding-left:4px!important}body.focus-reading[data-page-side=left] .mushaf-main{padding-left:14px!important;padding-right:4px!important}}
.site-menu-reveal{display:grid!important;place-items:center!important;padding:0!important;line-height:1!important}.site-menu-reveal svg{display:block!important;position:static!important;inset:auto!important;width:22px!important;height:22px!important;margin:0!important;transform:none!important;fill:none!important;stroke:currentColor;stroke-width:1.8}
body:has(.mushaf-main).site-menu-visible .site-header{grid-template-columns:minmax(0,1fr)!important;padding:10px 82px 10px 16px!important;min-height:55px!important}body:has(.mushaf-main).site-menu-visible .site-header :is(.site-brand,.site-support){display:none!important}body:has(.mushaf-main).site-menu-visible .site-header nav{gap:5px!important}@media(max-width:650px){body:has(.mushaf-main).site-menu-visible .site-header{padding:38px 8px 8px!important;min-height:0!important}body:has(.mushaf-main).site-menu-visible .site-header nav a{font-size:13px!important;padding:7px 8px!important}}

.install-banner:not(.connection-guide-banner){display:grid!important;grid-template-columns:58px minmax(0,1fr) auto 28px!important;align-items:center!important;gap:16px!important;padding:20px 24px!important;border-radius:20px!important;border:1px solid #d7e1d0!important;background:linear-gradient(110deg,#f0f5e9,#f9fbf5)!important;box-shadow:0 5px 22px #294b3710!important}.install-banner:not(.connection-guide-banner)>img{width:58px!important;height:58px!important;border-radius:16px!important;box-shadow:0 3px 9px #284f3520}.install-banner:not(.connection-guide-banner) strong{color:#355d44!important;font-size:21px!important}.install-banner:not(.connection-guide-banner) p{font-size:14px!important;margin:5px 0!important}.install-banner:not(.connection-guide-banner) [data-install]{background:#355d44!important;color:white!important;font-size:15px!important;padding:12px 20px!important;border-radius:12px!important;border:0!important}.install-banner:not(.connection-guide-banner) .install-dismiss{background:transparent!important;border:0!important;color:#8c9b82!important;font-size:24px!important;width:28px!important;height:28px!important;padding:0!important}@media(max-width:650px){.install-banner:not(.connection-guide-banner){grid-template-columns:44px minmax(0,1fr) 25px!important;gap:10px!important;padding:15px!important}.install-banner:not(.connection-guide-banner)>img{width:44px!important;height:44px!important;border-radius:12px!important}.install-banner:not(.connection-guide-banner) strong{font-size:18px!important}.install-banner:not(.connection-guide-banner) p{font-size:13px!important}.install-banner:not(.connection-guide-banner) [data-install]{grid-column:2!important;grid-row:2!important;justify-self:start!important;padding:9px 18px!important}.install-banner:not(.connection-guide-banner) .install-dismiss{grid-column:3!important;grid-row:1!important;align-self:start!important}}

body:not(.focus-reading)>.site-header{position:relative!important;top:auto!important}
/* Framed controls use the regular face; hierarchy comes from size and color. */
.result-filter-trigger,.tq-anchored-popover :is(button,input,select),.inspector-source-toggle,.result-source-name,.result-source-toggle,.result-tab-bar button{font-family:SiteUI,system-ui!important;font-weight:400!important;font-synthesis:none!important}
/* Shared invitation and free-access signature. */
.install-banner [data-install]{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;white-space:nowrap}
.install-banner .install-download-icon{width:21px;height:21px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8}
.free-access-badge{display:flex;align-items:center;justify-content:center;gap:9px;width:fit-content;max-width:calc(100% - 32px);box-sizing:border-box;margin:24px auto 16px;padding:9px 16px;border:1px solid #ddd8bd;border-radius:40px;background:#faf8ee;color:#5c684b;font:500 15px/1.7 SiteUI,system-ui;text-align:center}
.free-access-badge svg{width:23px;height:23px;flex:none;fill:#efe7ca;stroke:#9b803f;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.support-redesign .support-pillars{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.support-redesign .support-hero-copy h1{font-size:clamp(30px,3.6vw,53px)!important;line-height:1.5!important}
.support-redesign .support-body{line-height:1.95!important}
.support-redesign .support-journey h2{font-size:clamp(23px,2.25vw,33px)!important;line-height:1.65!important}
.support-redesign .journey-next p b{color:#355d44;font-weight:600}
.support-redesign .support-impact>p strong{display:block;margin-top:14px;color:#8c743d;font-weight:500}
.support-redesign .support-contribute h2{font-size:clamp(25px,2.6vw,37px)!important;line-height:1.6!important}
@media(max-width:650px){.support-redesign .support-pillars{grid-template-columns:1fr!important}.free-access-badge{font-size:14px;border-radius:16px;padding:9px 12px}}
.support-redesign .journey-next p b{color:#f4e2ad!important}
body.mushaf-close-only .site-header,body.mushaf-close-only .site-menu-reveal{display:none!important}
.mushaf-home-close{position:fixed;top:14px;left:14px;z-index:160;display:flex;align-items:center;justify-content:center;width:46px;height:46px;border:1px solid #b97264;border-radius:14px;background:#b54f43;color:#fff;font:400 34px/1 SiteUI,system-ui;text-decoration:none;box-shadow:0 5px 16px #7d30202a}
.install-redesign{max-width:1180px;margin:auto;padding:55px 28px 70px;color:#355542}
.install-hero-v7{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(260px,.8fr);gap:70px;align-items:center;padding:24px 0 65px}
.install-intro h1{font:600 clamp(34px,4.5vw,58px)/1.5 SiteUI,system-ui;margin:15px 0 22px}
.install-intro h1 em{font-style:normal;color:#a58a48}
.install-intro>p{font:400 18px/2 SiteUI,system-ui;max-width:610px;color:#6b7861}
.install-intro .install-primary{display:inline-flex;gap:9px;align-items:center;justify-content:center;padding:13px 22px;min-height:49px;background:#355d44;color:#fffefa;border:0;border-radius:13px;font:500 17px/1.5 SiteUI,system-ui;margin-top:16px}
.install-primary svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6}
.install-help-link{display:inline-block;margin:18px;color:#8d7847;font-size:15px;text-underline-offset:5px}
.install-benefits{display:flex;gap:10px;flex-wrap:wrap;margin-top:25px;color:#7d866f;font-size:14px}
.install-benefits span+span:before{content:'·';margin-inline-end:10px;color:#bca56a}
.install-app-preview{isolation:isolate;position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;text-align:center;padding:48px 25px 34px;border:1px solid #d4ddc9;border-radius:34px;background:linear-gradient(155deg,#fffefa,#f0f4e8);box-shadow:0 18px 50px #355d440c;gap:10px}
.install-app-preview img{border-radius:26px;box-shadow:0 10px 25px #355d4416;width:120px;height:120px;z-index:1}
.install-app-preview>strong{font:600 25px/1.7 SiteUI,system-ui;margin-top:5px}
.install-app-preview>span{font-size:17px;color:#8c997d}
.install-preview-search{display:flex;justify-content:space-between;width:100%;margin-top:24px;padding:15px 17px;border:1px solid #cbd8bf;border-radius:16px;background:#fffefa;color:#87967b;font-size:16px;box-sizing:border-box}
.install-preview-search span{color:#b29853}
.install-app-preview>small{font-size:14px;color:#8b937d;margin-top:10px}
.install-preview-orbit{position:absolute;z-index:-1;width:280px;height:280px;border:1px solid #dfe7d5;border-radius:50%;top:-80px;left:-90px;box-shadow:0 0 0 26px #e5ebdd55,0 0 0 52px #e5ebdd33}
.install-platforms{padding:35px 0;border-top:1px solid #e1e4d8}
.install-section-head h2{font:500 28px/1.7 SiteUI,system-ui;margin:8px 0 20px}
.install-device-tabs{display:flex;gap:5px;max-width:530px;padding:5px;background:#eef2e7;border:1px solid #dce3d3;border-radius:14px}
.install-device-tabs button{flex:1;min-height:43px;border:0;background:transparent;color:#6e7f5f;border-radius:10px;font:400 16px/1.5 SiteUI,system-ui;padding:9px}
.install-device-tabs button[aria-selected=true]{background:#355d44;color:#fffefa;box-shadow:0 3px 7px #355d4415}
.install-steps-card{margin-top:18px;border:1px solid #dce3d2;border-radius:23px;background:#fffefa;padding:26px}
.install-steps-card[hidden]{display:none}
.install-steps-card ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;padding:0;margin:0;gap:28px;counter-reset:install}
.install-steps-card li{counter-increment:install;display:flex;flex-direction:column;align-items:flex-start;gap:7px}
.install-steps-card li:before{content:counter(install,arabic-indic);display:grid;place-content:center;width:37px;height:37px;background:#f4eedb;border:1px solid #e8dbb7;border-radius:11px;color:#9b8041;font:600 22px/1 SiteUI,system-ui;margin-bottom:7px}
.install-steps-card strong{font:500 18px/1.8 SiteUI,system-ui}
.install-steps-card li span{font:400 15px/1.9 SiteUI,system-ui;color:#819072}
.install-storage{margin-top:25px;display:grid;grid-template-columns:1.4fr 1fr;gap:40px;padding:28px;border:1px solid #dce3d2;border-radius:23px;background:#f0f3e9}
.install-storage h2{font:500 24px/1.7 SiteUI,system-ui;margin:8px 0 13px}
.install-storage p{font:400 16px/1.9 SiteUI,system-ui;color:#718062}
.install-storage .muted{font-size:14px}
.install-storage-action{align-self:center}
.install-storage-action button{font:400 15px/1.7 SiteUI,system-ui;padding:10px 14px;border:1px solid #c9d3bd;border-radius:11px;background:#fffefa;color:#6b785f}
.install-storage-action #clear-status{font-size:14px}
@media(max-width:700px){.install-redesign{padding:30px 18px 45px}.install-hero-v7{grid-template-columns:1fr;gap:30px;padding:10px 0 35px}.install-intro h1{font-size:36px}.install-intro>p{font-size:17px}.install-app-preview{padding:28px 22px;border-radius:26px;max-width:400px;width:100%;box-sizing:border-box;margin:auto}.install-app-preview img{width:90px;height:90px;border-radius:21px}.install-app-preview>strong{font-size:23px}.install-preview-search{margin-top:14px}.install-steps-card{padding:20px}.install-steps-card ol{grid-template-columns:1fr;gap:24px}.install-steps-card li{position:relative;padding-inline-start:49px;min-height:48px}.install-steps-card li:before{position:absolute;right:0;top:1px}.install-storage{grid-template-columns:1fr;gap:15px;padding:22px}.install-help-link{margin-inline:12px}.install-device-tabs button{font-size:15px}.install-benefits{gap:7px}}
@media(max-width:760px){.site-header nav[aria-label="أقسام الموقع"]{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding-bottom:4px;scrollbar-width:thin;scrollbar-color:#b6c5a1 transparent}.site-header nav[aria-label="أقسام الموقع"] a{font-size:14px;flex:none;padding:9px 11px}}
html.tq-route-open,html.tq-route-open body{overflow:hidden!important;overscroll-behavior:none!important}.tq-home-route{position:fixed!important;inset:0!important;box-sizing:border-box!important;width:100vw!important;height:100vh!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#f8f7f2!important;overflow:hidden!important}.tq-home-route::backdrop{background:#f8f7f2}.tq-home-route iframe{display:block;width:100%;height:100%;border:0;background:#f8f7f2}
.tq-home-route[open]{animation:tq-route-reveal .18s ease-out}@keyframes tq-route-reveal{from{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.tq-home-route[open]{animation:none}}
.tq-home-route iframe[hidden]{display:none!important}
/* Site credits belong to document flow on every section. */
html body>footer,html body .platform-footer,html body .devotion-footer{position:relative!important;inset:auto!important;z-index:0!important;height:auto!important;min-height:0!important;max-height:none!important;transform:none!important;clear:both;flex:none;padding:22px 20px!important;margin:24px auto 0!important;background:transparent!important;isolation:isolate}

/* Intrinsic brand bounds prevent an oversized first paint during section navigation. */
html body .site-brand img{animation:none!important;transform:none!important;will-change:auto!important;object-fit:contain;max-width:168px}
.tq-home-route iframe:not([data-ready=true]){visibility:hidden!important}
