@font-face{font-family:Noto Naskh Arabic;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/noto-naskh-arabic-arabic-400-normal-U_i0HMfG.woff2)format("woff2"),url(/assets/noto-naskh-arabic-arabic-400-normal-1AoZhAAW.woff)format("woff")}@font-face{font-family:Noto Nastaliq Urdu;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/noto-nastaliq-urdu-arabic-400-normal-BVDOj1dq.woff2)format("woff2"),url(/assets/noto-nastaliq-urdu-arabic-400-normal-Df9iHKj9.woff)format("woff")}:root{color:#14251f;font-synthesis:none;text-rendering:optimizelegibility;background:#e6ebe7;font-family:IBM Plex Sans,system-ui,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}.pairing-page{place-items:center;min-height:100dvh;padding:20px;display:grid}.home-page,.demo-page{min-height:100dvh;padding:18px}.home-shell,.demo-shell{gap:24px;width:min(100%,980px);margin-inline:auto;display:grid}.home-header{justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.home-header-actions{align-items:center;gap:8px;min-width:0;display:flex}.home-brand{color:#235a46;font-size:1.4rem;font-weight:750;text-decoration:none}.language-switch select{min-height:42px;color:inherit;background:#fbfcfa;border:1px solid #aebcb4;border-radius:8px;padding:4px 10px}.pairing-create-shell{gap:16px;width:min(100%,560px);display:grid}.home-hero{background:radial-gradient(at 90% 5%,#d0e2d8bf,#0000 48%),#fbfcfa;border:1px solid #cfd8d2;border-radius:20px;gap:14px;padding:clamp(22px,5vw,48px);display:grid;box-shadow:0 8px 32px #14251f14}.home-eyebrow{color:#235a46;letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:.9rem;font-weight:700}.home-hero h1{max-width:16ch;margin:0;font-size:clamp(2.1rem,7vw,4rem);line-height:1.08}.home-intro{color:#40544a;max-width:62ch;margin:0;font-size:1.1rem;line-height:1.6}.home-actions{flex-wrap:wrap;gap:10px;margin-top:4px;display:flex}.home-actions a{justify-content:center;align-items:center;min-height:46px;text-decoration:none;display:inline-flex}.home-actions .secondary-button{color:#235a46;background:#fbfcfa;border-color:#235a46;font-weight:600}.home-section{gap:14px;display:grid}.home-section h2{margin:0;font-size:1.45rem}.home-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.home-steps li,.home-faq-item{background:#fbfcfa;border:1px solid #cfd8d2;border-radius:14px;padding:18px}.home-step-number{color:#235a46;background:#dce9e1;border-radius:50%;place-items:center;width:34px;height:34px;margin-bottom:12px;font-weight:700;display:grid}.home-steps h3{margin:0 0 6px;font-size:1rem}.home-steps p,.home-faq-item p{color:#4e6258;margin:0;line-height:1.5}.home-faq{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.home-faq-item summary{cursor:pointer;font-weight:650}.home-faq-item p{margin-top:10px}.policy-links{flex-wrap:wrap;gap:16px;display:flex}.donation-note{color:#5c6e64;margin:0;font-size:.875rem;line-height:1.5}.policy-content{max-width:70ch;line-height:1.6}.account-agreement{color:#5c6e64;font-size:.85rem;line-height:1.4}.demo-shell{max-width:1080px}.demo-banner{color:#624200;background:#fff4d8;border:1px solid #e6ce91;border-radius:10px;padding:10px 14px;font-weight:650}.demo-scene-setting{color:#43564c;max-width:760px;margin:0;font-size:1.05rem;line-height:1.6}.demo-title{margin:0;font-size:clamp(1.7rem,5vw,2.4rem)}.demo-grid{gap:16px;display:grid}.demo-grid.demo-grid-detail{grid-template-columns:minmax(0,1fr)}.demo-reader{min-width:0}.demo-reader .mushaf-page{min-height:min(66vh,700px)}.demo-guide{background:#fbfcfa;border:1px solid #cfd8d2;border-radius:14px;align-content:start;gap:12px;padding:18px;display:grid}.demo-guide h2,.demo-guide h3,.demo-guide p{margin:0}.demo-hint{color:#235a46;background:#e8f0eb;border-radius:9px;padding:12px;font-weight:600;line-height:1.5}.demo-type-buttons,.demo-end-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.demo-type-buttons-guided{grid-template-columns:minmax(0,1fr)}.demo-mark-confirm{color:#1d6448;background:#e4f2e9;border-radius:9px;padding:12px;font-weight:700}.demo-prompt-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.demo-prompt-row p{margin:0}.demo-mistake-count{font-weight:700}.demo-review-summary,.demo-repeat-list{gap:8px;display:grid}.demo-repeat-list{margin:0;padding:0;list-style:none}.demo-repeat-list li{background:#f0f4f1;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:10px;display:flex}.demo-repeat-word{color:#14251f;direction:rtl;font-family:Noto Naskh Arabic,serif;font-size:1.25rem}.pairing-note{color:#5c6e64;margin:-8px 0 0}.pairing-card{background:#fbfcfa;border:1px solid #cfd8d2;border-radius:16px;gap:16px;width:min(100%,560px);padding:22px;display:grid;box-shadow:0 8px 32px #14251f1a}.pairing-card h1{margin:0;font-size:1.25rem}.pairing-form,.pairing-link-result{gap:12px;display:grid}.pairing-history{border-top:1px solid #cfd8d2;gap:10px;padding-top:16px;display:grid}.pairing-history h2{margin:0;font-size:1.05rem}.pairing-history>p{margin:0}.pairing-history-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.pairing-history-list li{background:#f0f4f1;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px;display:grid}.pairing-history-link{color:#235a46;gap:4px;min-width:0;text-decoration:none;display:grid}.pairing-history-link:hover .pairing-history-names{text-decoration:underline}.pairing-history-names{overflow-wrap:anywhere;font-weight:600}.pairing-history-date{color:#4e6258;font-size:.88rem}.pairing-history-remove{min-height:38px;padding:6px 10px}.pairing-card input{width:100%;min-height:46px;color:inherit;background:#fff;border:1px solid #aebcb4;border-radius:8px;padding:8px 12px}.pairing-link-result p{margin:0}.pairing-link-actions{flex-wrap:wrap;gap:8px;display:flex}.pairing-link-actions>button{flex:1}.pairing-link-result a{overflow-wrap:anywhere;color:#235a46;font-size:.85rem}.pairing-warning{color:#8a4b08;margin:0;line-height:1.45}.who-are-you-sheet{gap:12px}.who-are-you-sheet h1{margin:0 0 8px;font-size:1.2rem}button,input,select{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #34735d}.reader{width:min(100%,680px);min-height:100dvh;padding:calc(8px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-right)) calc(140px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left));margin-inline:auto}.reader.lang-ar{font-family:Noto Naskh Arabic,system-ui,sans-serif}.reader.lang-ur{font-family:Noto Nastaliq Urdu,Noto Naskh Arabic,serif;line-height:1.65}.reader-header{border-bottom:1px solid #cfd8d2;align-items:center;gap:8px;height:52px;padding-bottom:4px;display:flex}.completed-session-row{color:#235a46;border-bottom:1px solid #cfd8d2;align-items:center;width:100%;min-height:40px;font-size:.85rem;display:flex}.completed-session-link{color:inherit;font:inherit;text-align:start;cursor:pointer;background:0 0;border:0;flex:1;padding:8px 4px}.completed-session-link:disabled{opacity:.6;cursor:default}.session-ready{background:#e2eee7}.page-header-trigger{text-align:start;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:10px;min-width:0;min-height:44px;padding:0 4px;display:flex}.page-header-surah{color:#5c6e64;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:.85rem;font-weight:500;overflow:hidden}.page-header-detail{color:#5c6e64;white-space:nowrap;flex:none;font-size:.72rem}.settings-trigger{flex:0 0 44px}.settings-trigger svg{width:21px;height:21px}.settings-content{gap:16px;min-height:0;display:grid;overflow-y:auto}.settings-field input{width:100%;min-height:44px;color:inherit;background:#fbfcfa;border:1px solid #aebcb4;border-radius:8px;padding:8px}.settings-description{color:#5c6e64;margin:0}.settings-field{flex-direction:column;gap:6px;display:flex}.account-access{background:#f0f4f1;border-radius:10px;gap:8px;padding:12px;display:grid}.account-access p{margin:0;line-height:1.45}.account-status{gap:8px;display:grid}.account-access--header,.account-access--create{background:0 0;padding:0}.account-access--header{grid-template-columns:minmax(0,1fr);min-width:0;position:relative}.home-header-actions .account-save-button,.home-header-actions .account-menu-trigger,.home-header-actions .language-switch select{box-sizing:border-box;height:40px;min-height:40px;font:inherit;white-space:nowrap;border-width:1px;border-radius:8px;padding:4px 10px;font-size:15px;line-height:1}.account-access--header>.settings-warning{overflow-wrap:anywhere;max-width:14rem;font-size:.8rem}.account-menu-trigger{cursor:pointer;align-items:center;list-style:none;display:flex}.account-menu-trigger::-webkit-details-marker{display:none}.account-menu-trigger span{text-overflow:ellipsis;white-space:nowrap;max-width:10ch;display:block;overflow:hidden}.account-menu-panel{z-index:3;overflow-wrap:anywhere;background:#fbfcfa;border:1px solid #aebcb4;border-radius:10px;gap:8px;width:min(18rem,80vw);padding:12px;display:grid;position:absolute;inset-inline-end:0;box-shadow:0 8px 24px #14251f24}.account-save-button{justify-self:start}.account-auth-sheet{gap:10px;overflow-y:auto}.account-auth-form{gap:12px;display:grid}.install-tip{background:#fbfcfa;border:1px solid #cfd8d2;border-radius:10px;justify-content:space-between;align-items:flex-start;gap:10px;padding:10px 12px;line-height:1.4;display:flex}.install-tip p{color:#5c6e64;margin:4px 0 0;font-size:.86rem}.install-tip .icon-button{flex:0 0 40px;min-height:40px}.settings-field select{background:#fbfcfa;border:1px solid #aebcb4;border-radius:8px;width:100%;min-height:44px;padding:4px 8px}.secondary-button,.primary-button,.page-turn-button,.icon-button{cursor:pointer;background:#fbfcfa;border:1px solid #aebcb4;border-radius:8px;min-height:44px}.secondary-button,.primary-button{padding:8px 14px}.primary-button{color:#fff;background:#235a46;border-color:#235a46}.secondary-button:disabled,.primary-button:disabled,.page-turn-button:disabled{opacity:.45;cursor:not-allowed}.page-navigation{direction:ltr;justify-content:space-between;align-items:center;margin-bottom:4px;display:flex}.page-turn-button{color:#5c6e64;background:0 0;border:0;width:44px;min-height:40px;font-size:1.1rem}.settings-warning{color:#8a4b08;margin:0 0 12px;font-size:.875rem}.reader.session-live{padding-bottom:calc(220px + env(safe-area-inset-bottom))}.session-launcher,.marking-palette{z-index:5;background:#fbfcfa;border-top:1px solid #cfd8d2;width:min(100%,680px);position:fixed;left:50%;transform:translate(-50%);box-shadow:0 -8px 24px #14251f1a}.session-launcher{padding:10px 16px calc(10px + env(safe-area-inset-bottom));gap:5px;display:grid;bottom:0}.session-launcher .primary-button{min-height:48px}.local-only-note{color:#5c6e64;text-align:center;margin:0;font-size:.72rem}.session-sync-status{color:#5c6e64;margin:0;font-size:.8rem}.marking-palette{overscroll-behavior:contain;max-height:min(38dvh,220px);padding:6px 10px calc(6px + env(safe-area-inset-bottom));flex-direction:column;gap:4px;display:flex;bottom:0;overflow-y:auto}.marking-session-header{justify-content:space-between;align-items:center;gap:6px;min-height:30px;display:flex}.marking-session-header strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.75rem;overflow:hidden}.marking-session-title{flex:auto}.palette-sync-status{color:#5c6e64;text-overflow:ellipsis;white-space:nowrap;flex:0 auto;max-width:96px;font-size:.64rem;overflow:hidden}.palette-saved-indicator{color:#235a46;flex:none;font-size:.8rem;font-weight:700;line-height:1}.marking-timer{font-variant-numeric:tabular-nums;flex:none;align-items:center;gap:4px;font-size:.75rem;font-weight:600;display:inline-flex}.live-dot{background:#c62f3b;border-radius:50%;width:7px;height:7px}.cancel-session-button{min-height:30px;padding:3px 6px;font-size:.7rem}.marking-status{color:#5c6e64;min-height:0;margin:0;font-size:.7rem;line-height:1.2}.marking-types{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;display:grid}.mark-type-button{text-align:start;cursor:pointer;background:0 0;border:1.5px solid #cfd8d2;border-radius:8px;align-items:center;gap:7px;min-width:0;min-height:42px;padding:5px 8px;font-size:.81rem;line-height:1.2;display:flex}.mark-type-button:disabled{opacity:.45;cursor:not-allowed}.mark-type-dot{background:var(--mark-color);border-radius:50%;flex:0 0 10px;width:10px;height:10px}.mark-type-count{color:#5c6e64;font-variant-numeric:tabular-nums;margin-inline-start:auto;font-size:.8rem}.marking-types .mark-type-button{border-color:var(--mark-color);justify-content:center;gap:0;min-height:32px;padding:3px 4px;font-size:.68rem;position:relative}.marking-types .mark-type-dot{display:none}.marking-types .mark-type-button>span:nth-child(2){text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.marking-types .mark-type-count{top:2px;margin:0;font-size:.58rem;line-height:1;position:absolute;inset-inline-end:3px}.mark-type-button[aria-pressed=true]{border-color:var(--mark-color);background:var(--mark-background);font-weight:600}.mark-type-forgot,.mushaf-word.mark-forgot,.mushaf-word-action.mark-forgot{--mark-color:#c62f3b;--mark-background:#c62f3b2e}.mark-type-wrong,.mushaf-word.mark-wrong,.mushaf-word-action.mark-wrong{--mark-color:#d9641a;--mark-background:#d9641a2e}.mark-type-tajweed,.mushaf-word.mark-tajweed,.mushaf-word-action.mark-tajweed{--mark-color:#2b6fd6;--mark-background:#2b6fd62e}.mark-type-harakah,.mushaf-word.mark-harakah,.mushaf-word-action.mark-harakah{--mark-color:#7a4bd1;--mark-background:#7a4bd12e}.mark-type-added,.mushaf-word.mark-added,.mushaf-word-action.mark-added{--mark-color:#0d8a8a;--mark-background:#0d8a8a2e}.marking-added-hint{color:#5c6e64;margin:0;font-size:.68rem;line-height:1.2}.mushaf-word.mark-added:before,.mushaf-word-action.mark-added:before{top:-.12em;content:"+";color:var(--mark-color);pointer-events:none;font-family:system-ui,sans-serif;font-size:.42em;font-weight:800;line-height:1;position:absolute;inset-inline-start:-.1em}.mushaf-word.mark-general,.mushaf-word-action.mark-general{--mark-color:#66756e;--mark-background:#66756e2e}.marking-actions{gap:4px;display:flex}.marking-actions>button{flex:1;min-height:32px;padding:3px 8px;font-size:.76rem}.mushaf-word-wrap{font-size:1em;line-height:inherit;flex:none;align-items:center;display:inline-flex;position:relative}.mushaf-word-action{color:inherit;font:inherit;line-height:inherit;-webkit-user-select:none;user-select:none;touch-action:manipulation;background:0 0;border:0;border-radius:3px;padding:0;display:inline-block}.mushaf-word.mark-general,.mushaf-word.mark-forgot,.mushaf-word.mark-wrong,.mushaf-word.mark-tajweed,.mushaf-word.mark-harakah,.mushaf-word.mark-added,.mushaf-word-action.mark-general,.mushaf-word-action.mark-forgot,.mushaf-word-action.mark-wrong,.mushaf-word-action.mark-tajweed,.mushaf-word-action.mark-harakah,.mushaf-word-action.mark-added{background:var(--mark-background);box-shadow:inset 0 -2px 0 var(--mark-color)}.mushaf-word.mark-added,.mushaf-word-action.mark-added{box-shadow:inset 0 -2px 0 var(--mark-color), inset -2px 0 0 var(--mark-color);position:relative}.mushaf-word.selected,.mushaf-word-action.selected{outline-offset:1px;outline:2.5px solid #14251f}.mushaf-page{touch-action:pan-y;-webkit-touch-callout:none;direction:rtl;align-content:space-between;gap:2px;min-height:min(78vh,900px);display:grid;overflow:hidden}.mushaf-line{white-space:nowrap;justify-content:space-between;align-items:center;gap:.15em;min-width:0;line-height:1.25;display:flex}.mushaf-line.ayah{overflow:hidden}.mushaf-line.centered,.mushaf-line.surah_name,.mushaf-line.basmallah{justify-content:center}.mushaf-word{-webkit-user-select:none;user-select:none;flex:none;font-size:1em}.mushaf-line-text.surah_name{font-family:Noto Naskh Arabic,Traditional Arabic,serif;font-size:.88em}.mushaf-line-text.basmallah{white-space:pre}.mushaf-page.mushaf-styled{--paper:#fbf4de;--ink:#1d2a22;--frame:#6a9580;--frame-dark:#3d6552;--frame-width:8px;--note-width:18px;background:var(--paper);color:var(--ink);border:1px solid #e4d9b6;border-radius:3px;grid-template-columns:minmax(0,1fr);margin-inline:-8px;padding:8px 30px;position:relative;box-shadow:0 6px 20px #3c32142e,0 1px 3px #3c321433;container-type:inline-size}.mushaf-styled>*{grid-column:1}.mushaf-styled .mushaf-line{font-size:clamp(1rem,5.4cqw,1.7rem);position:relative}.mushaf-indopak .mushaf-line.ayah{font-size:var(--indopak-font-size,clamp(1rem, 5.4cqw, 1.7rem));justify-content:flex-start}.mushaf-indopak .mushaf-line.ayah.centered{justify-content:center}.indopak-line-content{transform-origin:100%;flex:none;align-items:center;gap:.15em;display:flex}.indopak-line-rule{pointer-events:none;border-bottom:1px solid #6a958040;align-self:end}.mushaf-styled .mushaf-line.surah_name,.mushaf-styled .mushaf-line.basmallah{font-size:clamp(1rem,4.7cqw,1.45rem)}.mushaf-header{min-height:1.4em;padding-bottom:calc(var(--frame-width) + 4px);color:#284c39;flex-direction:row-reverse;justify-content:space-between;align-items:center;font-family:Noto Naskh Arabic,Traditional Arabic,serif;font-size:.98rem;font-weight:600;line-height:1.3;display:flex}.mushaf-footer{padding-top:calc(var(--frame-width) + 6px);color:#284c39;text-align:center;-webkit-user-select:none;user-select:none;font-family:Noto Naskh Arabic,Traditional Arabic,serif;font-size:.98rem;font-weight:600;line-height:1.2}.mushaf-frame{margin:calc(-1 * var(--frame-width));border:var(--frame-width) solid transparent;border-image:url(/mushaf-frame.svg) 12 / var(--frame-width) round;pointer-events:none;position:relative}.mushaf-styled .mushaf-line.surah_name{border:3px double var(--frame);color:var(--frame-dark);background:linear-gradient(#f3e8c8,#ecdfb8);border-radius:8px;margin-block:1px}.mushaf-styled .mushaf-line.surah_name:before,.mushaf-styled .mushaf-line.surah_name:after{color:var(--frame);content:"❖";pointer-events:none;font-size:.7em;position:absolute;top:50%;transform:translateY(-50%)}.mushaf-styled .mushaf-line.surah_name:before{inset-inline-start:.6em}.mushaf-styled .mushaf-line.surah_name:after{inset-inline-end:.6em}.mushaf-styled .mushaf-line-text.surah_name{font-weight:600}.mushaf-styled .mushaf-line-text .banner-title{font-size:.8em}.mushaf-margin-note{z-index:1;pointer-events:none;align-self:center;width:100%;height:0;position:relative}.mushaf-margin-labels{width:var(--note-width);color:var(--frame-dark);text-align:center;-webkit-user-select:none;user-select:none;flex-direction:column;align-items:center;gap:2px;font-family:Noto Naskh Arabic,Traditional Arabic,serif;font-size:.55rem;line-height:1.1;display:flex;position:absolute;top:0;transform:translateY(-50%)}.mushaf-margin-note.on-right .mushaf-margin-labels{left:calc(100% + var(--frame-width))}.mushaf-margin-note.on-left .mushaf-margin-labels{right:calc(100% + var(--frame-width))}.margin-label{writing-mode:vertical-rl;white-space:nowrap}.margin-label.ruku{writing-mode:horizontal-tb;flex-direction:column;align-items:center;font-size:.5rem;display:flex}.margin-label.ruku .ruku-letter{border:1px solid var(--frame);border-radius:50%;place-items:center;width:1.6em;height:1.6em;font-size:1.15em;display:grid}.mushaf-indopak .margin-label.manzil{border:1px solid var(--frame);border-radius:4px;padding:2px 1px}@media (width>=600px){.mushaf-page.mushaf-styled{--frame-width:14px;margin-inline:-16px;padding:12px 38px}}.notice{background:#fbfcfa;border:1px solid #cfd8d2;border-radius:12px;margin-top:12vh;padding:20px}.notice h2{margin-top:0;font-size:1.1rem}.notice p{line-height:1.5}.sheet-backdrop{z-index:10;background:#0a140f7a;justify-content:center;align-items:flex-end;padding-top:24px;display:flex;position:fixed;inset:0}.reader-sheet{background:#fbfcfa;border:1px solid #cfd8d2;border-bottom:0;border-radius:18px 18px 0 0;flex-direction:column;width:min(100%,560px);max-height:min(88dvh,760px);padding:16px;display:flex;box-shadow:0 -12px 36px #00000024}.settings-sheet{max-height:min(70dvh,560px)}.sheet-header{justify-content:space-between;align-items:center;gap:12px;padding-bottom:12px;display:flex}.sheet-header h2{margin:0;font-size:1.1rem}.icon-button{width:44px;font-size:1.5rem;line-height:1}.sheet-tabs{background:#e6ebe7;border-radius:10px;grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;display:grid}.sheet-tabs button{cursor:pointer;background:0 0;border:0;border-radius:7px;min-height:44px}.sheet-tabs button.active{background:#fbfcfa;font-weight:600;box-shadow:0 1px 4px #0000001f}.sheet-content{overscroll-behavior:contain;min-height:176px;padding-top:12px;overflow:auto}.session-kind-prompt,.session-discard-description{color:#5c6e64;margin:0}.session-reciter-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.session-reciter-option{cursor:pointer;background:0 0;border:1px solid #aebcb4;border-radius:9px;min-height:56px;padding:8px;font-size:1rem}.session-reciter-option[aria-pressed=true]{color:#fff;background:#235a46;border-color:#235a46;font-weight:600}.session-kind-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.session-kind-option{background:0 0;border:1px solid #aebcb4;border-radius:9px;min-height:44px;padding:6px 8px;font-size:.82rem}.session-kind-option[aria-pressed=true]{color:#fff;background:#235a46;border-color:#235a46;font-weight:600}.start-page-choice{gap:6px;display:grid}.start-page-picker{justify-content:space-between;align-items:center;gap:12px;width:100%;display:flex}.start-page-picker-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.session-note-label{margin-bottom:4px;line-height:1.4;display:block}.session-confirm-sheet textarea{width:100%;min-height:84px;color:inherit;font:inherit;resize:vertical;background:#e6ebe7;border:1px solid #aebcb4;border-radius:10px;padding:10px}.finished-session-count{margin:0;font-weight:600}.past-sessions-heading{margin:8px 0 0;font-size:.95rem}.session-history-filters{flex-wrap:wrap;gap:6px;display:flex}.history-filter-button{min-height:38px;padding:6px 10px}.history-filter-button[aria-pressed=true]{color:#173b2f;background:#e2eee7;border-color:#235a46}.session-history-list{gap:8px;max-height:36vh;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.session-history-list li{color:#5c6e64;border:1px solid #cfd8d2;border-radius:8px;font-size:.85rem;overflow:hidden}.session-history-entry{width:100%;color:inherit;text-align:start;cursor:pointer;background:0 0;border:0;gap:3px;padding:10px;display:grid}.session-history-entry strong{color:#14251f}.session-history-details{flex-wrap:wrap;align-items:baseline;gap:0 4px;display:flex}.session-history-footer{direction:ltr;justify-content:space-between;align-items:baseline;gap:12px;display:flex}.session-history-action{color:#235a46;white-space:nowrap;font-weight:600}.session-history-entry:hover{background:#edf2ee}.session-history-header{flex-wrap:wrap}.session-history-header h2{flex:100%}.review-sheet{overscroll-behavior:contain;max-height:min(94dvh,900px);overflow-y:auto}.review-summary{gap:6px;display:grid}.review-summary>p{margin:0}.review-summary .review-total{margin-top:4px;font-weight:700}.review-type-counts{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0;padding:0;list-style:none;display:grid}.review-type{border:1px solid #cfd8d2;border-radius:8px;align-items:center;gap:7px;min-height:36px;padding:5px 8px;font-size:.85rem;display:flex}.review-type.mark-type-general{--mark-color:#66756e}.review-type strong{margin-inline-start:auto}.review-note{background:#e6ebe7;border-radius:8px;padding:8px 10px;line-height:1.45}.review-actions{gap:8px;display:flex}.review-actions>button{flex:1}.review-delete-confirm{border:1px solid #a3312c;border-radius:9px;padding:10px}.review-delete-confirm p{margin:0 0 8px}.review-empty{color:#5c6e64}.review-pages{gap:16px;margin-top:12px;display:grid}.review-page{scroll-margin-top:12px}.review-page h3{margin:0 0 6px;font-size:.9rem}.marked-word-info{background:#fbfcfa;justify-content:space-between;align-items:center;gap:12px;padding:10px 0 0;display:flex;position:sticky;bottom:0}.marked-word-info .secondary-button{flex:none}.review-mark-word{direction:rtl;font-family:Noto Naskh Arabic,serif;font-size:1.25rem}.repeat-sheet>p{color:#5c6e64;margin:0 0 12px}.repeat-ranked-list{gap:4px;margin:12px 0 0;padding-inline-start:24px;display:grid}.repeat-ranked-item{text-align:start;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #cfd8d2;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;width:100%;min-height:46px;padding:6px;display:grid}.repeat-ranked-item:disabled{opacity:.6;cursor:wait}.repeat-ranked-quran-word{color:#14251f;direction:rtl;grid-column:1/-1;font-family:Noto Naskh Arabic,serif;font-size:1.3rem}.repeat-ranked-item strong{color:#5c6e64}.discard-button{color:#fff;background:#a3312c;border-color:#a3312c}.page-form label{margin-bottom:6px;display:block}.page-form-row{gap:8px;display:flex}.page-form input{background:#fff;border:1px solid #aebcb4;border-radius:8px;width:100%;min-height:48px;padding:8px 12px}.form-error{color:#a3312c;margin:8px 0 0}.destination-list{gap:2px;display:grid}.destination-item{text-align:start;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #e1e7e2;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:6px 8px;display:flex}.destination-item:hover{background:#edf2ee}.destination-number,.destination-page{color:#5c6e64;font-size:.85em}.about-sheet{max-height:min(75dvh,620px)}.about-content{line-height:1.6;overflow:auto}.about-content h3{margin:0 0 8px;font-size:1rem}.about-content p{margin:0 0 12px}.license-links{margin:0 0 12px;padding-inline-start:24px}.license-links a{color:#235a46}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}@media (width<=380px){.reader{padding-left:calc(10px + env(safe-area-inset-left));padding-right:calc(10px + env(safe-area-inset-right))}}@media (width<=680px){.home-steps,.home-faq,.demo-grid{grid-template-columns:minmax(0,1fr)}.home-page,.demo-page{padding:12px}.demo-page{padding-bottom:calc(33dvh + 32px + env(safe-area-inset-bottom))}.demo-page-details{padding-bottom:12px}.home-shell,.demo-shell{gap:18px}.demo-guide:not(.demo-guide-inline){z-index:20;inset-inline:12px;bottom:calc(8px + env(safe-area-inset-bottom));border-radius:12px;gap:6px;max-height:33dvh;padding:10px 12px;position:fixed;overflow:hidden;box-shadow:0 8px 32px #14251f38}.demo-guide:not(.demo-guide-inline) h2{display:none}.demo-guide-inline{width:100%;max-height:none;box-shadow:none;position:static;inset:auto;overflow:visible}.demo-guide:not(.demo-guide-inline) .demo-hint{color:inherit;background:0 0;padding:0;font-size:.86rem;line-height:1.35}.demo-guide:not(.demo-guide-inline) .demo-mark-confirm{background:0 0;border-radius:0;padding:0;font-size:.86rem;line-height:1.35}.demo-guide:not(.demo-guide-inline) .demo-mark-confirm .demo-tap-explanation{font-size:inherit;font-weight:400}.demo-guide:not(.demo-guide-inline) .demo-prompt-row{font-size:.78rem;line-height:1.3}.demo-guide:not(.demo-guide-inline) .demo-mistake-count{white-space:nowrap;flex:none}.demo-guide:not(.demo-guide-inline) .demo-type-buttons{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.demo-guide:not(.demo-guide-inline) .demo-type-buttons-guided{grid-template-columns:minmax(0,1fr)}.demo-guide:not(.demo-guide-inline) .mark-type-button{white-space:nowrap;justify-content:center;gap:4px;min-height:32px;padding:3px 4px;font-size:.68rem}.demo-guide:not(.demo-guide-inline) .mark-type-dot{flex-basis:7px;width:7px;height:7px}.demo-guide:not(.demo-guide-inline) .primary-button{min-height:36px;padding-block:4px}.demo-reader .mushaf-page{min-height:min(60vh,620px)}}@media (width>=681px){.demo-grid{grid-template-columns:minmax(0,1.55fr) minmax(280px,.8fr);align-items:start}}@media (prefers-color-scheme:dark){:root{color:#e7efe9;background:#0f1714}.mushaf-page,.notice,.reader-sheet,.pairing-card,.home-hero,.home-steps li,.home-faq-item,.demo-guide,.session-launcher,.marking-palette{background:#17221e;border-color:#2c3b35}.secondary-button,.icon-button,.page-form input,.pairing-card input,.language-switch select,.settings-field select,.settings-field input{color:#e7efe9;background:#17221e;border-color:#43534b}.discard-button{color:#fff;background:#a3312c;border-color:#a3312c}.home-brand,.home-eyebrow,.home-step-number,.pairing-history-link{color:#7dd5ad}.home-intro,.home-steps p,.home-faq-item p,.pairing-history-date,.pairing-note,.donation-note{color:#9db0a6}.home-hero{background:radial-gradient(at 90% 5%,#28493ab3,#0000 48%),#17221e}.home-step-number,.demo-hint{background:#26352e}.demo-hint{color:#7dd5ad}.demo-banner{color:#f0d18a;background:#392f1c;border-color:#775f2c}.demo-repeat-list li,.pairing-history-list li,.account-access{background:#26352e}.demo-repeat-word{color:#e7efe9}.demo-scene-setting{color:#c4d2ca}.demo-mark-confirm{color:#8be0b8;background:#183e2e}.sheet-tabs{background:#0f1714}.sheet-tabs button.active{background:#26352e}.mark-type-button,.session-kind-option{border-color:#43534b}.session-kind-option[aria-pressed=true]{color:#06231a;background:#4fc39a;border-color:#4fc39a}.mark-type-count,.marking-status,.local-only-note,.settings-description,.session-kind-prompt,.session-discard-description,.palette-sync-status,.session-sync-status{color:#9db0a6}.session-reciter-option{border-color:#43534b}.session-reciter-option[aria-pressed=true]{color:#06231a;background:#4fc39a;border-color:#4fc39a}.history-filter-button[aria-pressed=true]{color:#e7efe9;background:#26352e;border-color:#4fc39a}.pairing-warning{color:#e7bd72}.install-tip{background:#17221e;border-color:#2c3b35}.install-tip p{color:#9db0a6}.pairing-link-result a{color:#4fc39a}.session-history-list li{color:#9db0a6;border-color:#43534b}.session-history-entry strong,.repeat-ranked-quran-word{color:#e7efe9}.marked-word-info{background:#17221e;border-color:#2c3b35}.review-note{background:#26352e}.review-type,.repeat-ranked-item{border-color:#43534b}.mushaf-word.selected,.mushaf-word-action.selected{outline-color:#e7efe9}.mark-type-forgot,.mushaf-word.mark-forgot,.mushaf-word-action.mark-forgot{--mark-color:#ff7480;--mark-background:#ff74802e}.mark-type-wrong,.mushaf-word.mark-wrong,.mushaf-word-action.mark-wrong{--mark-color:#ff9a55;--mark-background:#ff9a552e}.mark-type-tajweed,.mushaf-word.mark-tajweed,.mushaf-word-action.mark-tajweed{--mark-color:#78a9ff;--mark-background:#78a9ff2e}.mark-type-harakah,.mushaf-word.mark-harakah,.mushaf-word-action.mark-harakah{--mark-color:#b596ff;--mark-background:#b596ff2e}.mark-type-added,.mushaf-word.mark-added,.mushaf-word-action.mark-added{--mark-color:#4fc8c8;--mark-background:#4fc8c82e}.mushaf-word.mark-general,.mushaf-word-action.mark-general{--mark-color:#a9b8b0;--mark-background:#a9b8b02e}.reader-header{border-color:#2c3b35}.page-header-surah,.page-header-detail,.page-turn-button{color:#a4b3a8}.destination-item{border-color:#2c3b35}.destination-item:hover{background:#26352e}.mushaf-styled .mushaf-word.selected,.mushaf-styled .mushaf-word-action.selected{outline-color:#14251f}.mushaf-styled .mushaf-word.mark-forgot,.mushaf-styled .mushaf-word-action.mark-forgot{--mark-color:#c62f3b;--mark-background:#c62f3b2e}.mushaf-styled .mushaf-word.mark-wrong,.mushaf-styled .mushaf-word-action.mark-wrong{--mark-color:#d9641a;--mark-background:#d9641a2e}.mushaf-styled .mushaf-word.mark-tajweed,.mushaf-styled .mushaf-word-action.mark-tajweed{--mark-color:#2b6fd6;--mark-background:#2b6fd62e}.mushaf-styled .mushaf-word.mark-harakah,.mushaf-styled .mushaf-word-action.mark-harakah{--mark-color:#7a4bd1;--mark-background:#7a4bd12e}.mushaf-styled .mushaf-word.mark-added,.mushaf-styled .mushaf-word-action.mark-added{--mark-color:#0d8a8a;--mark-background:#0d8a8a2e}.mushaf-styled .mushaf-word.mark-general,.mushaf-styled .mushaf-word-action.mark-general{--mark-color:#66756e;--mark-background:#66756e2e}}
