@font-face{font-family:Plus Jakarta Sans;font-weight:400;font-style:normal;font-display:swap;src:url(/fonts/PlusJakartaSans-Regular.woff2)format("woff2")}@font-face{font-family:Plus Jakarta Sans;font-weight:500;font-style:normal;font-display:swap;src:url(/fonts/PlusJakartaSans-Medium.woff2)format("woff2")}@font-face{font-family:Plus Jakarta Sans;font-weight:600;font-style:normal;font-display:swap;src:url(/fonts/PlusJakartaSans-SemiBold.woff2)format("woff2")}@font-face{font-family:Plus Jakarta Sans;font-weight:700;font-style:normal;font-display:swap;src:url(/fonts/PlusJakartaSans-Bold.woff2)format("woff2")}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#fff;--surface:#fff;--floating:#fff;--floating-hover:#f2f2f2;--raised:#fff;--fill:#f2f2f2;--fill-hover:#e6e6e6;--text:#000;--text-muted:#6b6b6b;--text-soft:#444;--on-text:#fff;--strong-hover:#333;--line:#00000026;--track-off:#d4d4d4;--hit-hover:#0000000f;--shadow:var(--shadow);--backdrop:#0006;--warning-bg:#fff4e0;--warning-text:#7a4a00;--warning-icon:#c27400;--check-bg:#fff;--check-tile:#f0f0f0;--check-flip-bg:#6b6b6b;--check-flip-tile:#5a5a5a;--select-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");--header-h:56px;--footer-h:48px;--stage-h:34vh;--radius:8px;--pill:999px;--font:"Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#111;--surface:#1c1c1c;--floating:#3a3a3a;--floating-hover:#474747;--raised:#3a3a3a;--fill:#262626;--fill-hover:#333;--text:#f2f2f2;--text-muted:#a0a0a0;--text-soft:#c8c8c8;--on-text:#111;--strong-hover:#d6d6d6;--line:#fff3;--track-off:#4a4a4a;--hit-hover:#00000014;--shadow:#00000080;--backdrop:#0009;--warning-bg:#3a2a10;--warning-text:#f5c77a;--warning-icon:#e0a040;--check-bg:#1a1a1a;--check-tile:#262626;--check-flip-bg:#e6e6e6;--check-flip-tile:#d6d6d6;--select-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23F2F2F2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}:root[data-theme=dark] .brand-logo,:root[data-theme=dark] .about-head img{filter:invert()}*,:before,:after{box-sizing:border-box;margin:0;padding:0}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}body{font-family:var(--font);color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;flex-direction:column;height:100dvh;font-size:15px;line-height:1.5;display:flex;overflow:hidden}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;background:0 0;border:none}:focus-visible{outline:2px solid var(--text);outline-offset:2px}.lucide{flex-shrink:0;width:20px;height:20px}.site-header{height:var(--header-h);flex-shrink:0;justify-content:center;align-items:center;display:flex}.brand{color:var(--text);align-items:center;gap:10px;font-size:18px;font-weight:700;text-decoration:none;display:inline-flex}.brand-logo{width:28px;height:28px;display:block}.workspace{flex:1;grid-template-rows:minmax(0,1fr);grid-template-columns:clamp(300px,26vw,360px) minmax(0,1fr) clamp(300px,26vw,360px);min-height:0;display:grid}.sidebar-right{min-height:0;overflow-y:auto}.sidebar-right .panel{overflow:visible}.tabs{display:none}.tab{border-radius:var(--pill);height:38px;color:var(--text-muted);font-size:14px;font-weight:600;transition:background .15s,color .15s}.tab:hover{color:var(--text)}.tab.active{background:var(--text);color:var(--on-text)}.panel{flex-direction:column;gap:20px;padding:24px;display:flex;overflow-y:auto}.panel-title{letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);font-size:13px;font-weight:700}.field{flex-direction:column;gap:8px;min-width:0;display:flex}.field-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.label{font-size:14px;font-weight:600}.label-row{justify-content:space-between;align-items:center;display:flex}.value{color:var(--text-muted);font-variant-numeric:tabular-nums;font-size:13px}.contrast{color:var(--text-muted);align-items:center;gap:3px;font-size:13px;font-weight:600;display:inline-flex}.contrast.fail{color:var(--text)}.contrast{outline-offset:4px;border-radius:4px;position:relative}.contrast:after{content:attr(data-tooltip);background:var(--text);width:max-content;max-width:200px;color:var(--on-text);opacity:0;pointer-events:none;z-index:20;border-radius:8px;padding:6px 10px;font-size:12px;font-weight:500;line-height:1.4;transition:opacity .15s;position:absolute;bottom:calc(100% + 8px);right:0}.contrast:hover:after,.contrast:focus:after{opacity:1}.contrast .lucide{width:14px;height:14px}.contrast.fail .contrast-pass,.contrast:not(.fail) .contrast-fail{display:none}.note{color:var(--text-muted);margin-top:-8px;font-size:13px;line-height:1.45}.warning{background:var(--warning-bg);color:var(--warning-text);border-radius:16px;align-items:flex-start;gap:10px;margin-top:-6px;padding:10px 14px;font-size:13px;font-weight:500;line-height:1.45;display:flex}.warning .lucide{width:18px;height:18px;color:var(--warning-icon);margin-top:1px}.input{border-radius:var(--pill);background:var(--fill);border:none;outline:none;width:100%;height:42px;padding:0 16px}.input:focus{box-shadow:inset 0 0 0 2px var(--text)}@media (pointer:coarse){.input{font-size:16px}}select.input{appearance:none;background-image:var(--select-chevron);background-position:right 14px center;background-repeat:no-repeat;padding-right:40px}.combo{position:relative}.combo-icon{color:var(--text-muted);pointer-events:none;position:absolute;top:11px;left:14px}.input.combo-input{text-overflow:ellipsis;padding-left:42px}.combo-input::placeholder{color:var(--text-muted);opacity:1}.combo-list{overscroll-behavior:contain;background:var(--surface);max-height:320px;box-shadow:0 8px 28px var(--shadow);z-index:30;border-radius:24px;padding:6px;list-style:none;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow-y:auto}.combo-option{border-radius:var(--pill);cursor:pointer;align-items:center;gap:10px;padding:8px 12px 8px 8px;display:flex}.combo-option.active{background:var(--fill)}.combo-option[aria-selected=true] .combo-name{font-weight:700}.combo-num{background:var(--fill);font-variant-numeric:tabular-nums;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;font-size:12px;font-weight:600;display:inline-flex}.combo-option.active .combo-num{background:var(--raised)}.combo-text{flex-direction:column;flex:1;min-width:0;line-height:1.3;display:flex}.combo-name{font-size:14px;font-weight:500}.combo-meaning{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.combo-arabic{flex-shrink:0;font-size:18px}.combo-empty{color:var(--text-muted);padding:12px 14px;font-size:14px}.switches{flex-direction:column;gap:4px;display:flex}.switch-row{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;padding:6px 0;font-size:14px;display:flex}.switch{appearance:none;background:var(--track-off);cursor:pointer;border-radius:999px;flex-shrink:0;width:40px;height:24px;transition:background .2s;position:relative}.switch:after{content:"";background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .2s;position:absolute;top:3px;left:3px}.switch:checked{background:var(--text)}.switch:checked:after{background:var(--on-text);transform:translate(16px)}.segmented{background:var(--fill);border-radius:var(--pill);grid-template-columns:repeat(4,1fr);gap:4px;padding:4px;display:grid}.seg-btn{border-radius:var(--pill);height:38px;color:var(--text-muted);justify-content:center;align-items:center;transition:background .15s,color .15s;display:flex}.seg-btn:hover{color:var(--text)}.seg-btn.active{background:var(--raised);color:var(--text);box-shadow:0 1px 3px #0000001f}.range{appearance:none;cursor:pointer;background:0 0;width:100%;height:20px}.range::-webkit-slider-runnable-track{background:var(--fill-hover);border-radius:4px;height:4px}.range::-moz-range-track{background:var(--fill-hover);border-radius:4px;height:4px}.range::-webkit-slider-thumb{appearance:none;background:var(--text);border-radius:50%;width:16px;height:16px;margin-top:-6px}.range::-moz-range-thumb{background:var(--text);border:none;border-radius:50%;width:16px;height:16px}.swatches{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.swatch{background:var(--c);width:32px;height:32px;box-shadow:inset 0 0 0 1px var(--line);border-radius:50%}.swatch.active{box-shadow:inset 0 0 0 1px var(--line), 0 0 0 2px var(--bg), 0 0 0 4px var(--text)}.swatch-custom{cursor:pointer;background:conic-gradient(red,#ff0,#0f0,#0ff,#00f,#f0f,red);position:relative;overflow:hidden}.swatch-custom.active{background:var(--c)}.swatch-none{background:repeating-conic-gradient(#e0e0e0 0 25%, #fff 0 50%) 50% / 12px 12px}.btn-share{width:100%;height:48px;font-size:15px}.btn-share .lucide{width:18px;height:18px}.swatch-custom input{opacity:0;cursor:pointer;border:none;width:100%;height:100%;position:absolute;inset:0}.preview{flex-direction:column;min-width:0;min-height:0;display:flex}.status{background:var(--floating);color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;border-radius:999px;max-width:calc(100% - 32px);padding:6px 12px;font-size:13px;position:absolute;top:16px;left:50%;overflow:hidden;transform:translate(-50%)}.status.error{color:var(--text);font-weight:600}.stage{background-color:var(--check-bg);background-image:linear-gradient(45deg, var(--check-tile) 25%, transparent 25%), linear-gradient(-45deg, var(--check-tile) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, var(--check-tile) 75%), linear-gradient(-45deg, transparent 75%, var(--check-tile) 75%);background-position:0 0,0 10px,10px -10px,-10px 0;background-size:20px 20px;border-radius:26px;flex:1;align-items:flex-start;min-height:0;padding:40px;display:flex;position:relative;overflow:auto}.stage.check-flip{background-color:var(--check-flip-bg);background-image:linear-gradient(45deg, var(--check-flip-tile) 25%, transparent 25%), linear-gradient(-45deg, var(--check-flip-tile) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, var(--check-flip-tile) 75%), linear-gradient(-45deg, transparent 75%, var(--check-flip-tile) 75%)}.stage-inner{flex-shrink:0;margin:auto}.stage-inner svg{width:100%;height:auto;display:block}.stage-wrap{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.cut-tools{pointer-events:none;z-index:6;flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex;position:absolute;bottom:8px;left:8px;right:8px}.cut-group{pointer-events:auto;border-radius:var(--pill);background:var(--floating);align-items:center;display:flex;box-shadow:0 1px 4px #00000026}.cut-divider{background:var(--track-off);width:1px;height:18px;transition:opacity .15s}.cut-group:hover .cut-divider{opacity:0}.cut-toggle{border-radius:var(--pill);background:0 0;align-items:center;gap:6px;height:36px;padding:0 14px 0 12px;font-size:13px;font-weight:600;display:inline-flex}.cut-toggle .lucide{width:18px;height:18px}.cut-toggle:hover{background:var(--floating-hover)}.cut-toggle .icon-edit,.cut-toggle.applied .icon-cut{display:none}.cut-toggle.applied .icon-edit{display:block}.cut-bar{border-radius:var(--pill);background:var(--floating);z-index:6;justify-content:space-between;align-items:center;gap:12px;padding:6px 6px 6px 18px;display:flex;position:absolute;bottom:8px;left:8px;right:8px;box-shadow:0 4px 20px #00000026}.cut-hint{white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:14px;font-weight:500;line-height:1.3;overflow:hidden}.cut-actions{flex-shrink:0;gap:6px;display:flex}.btn-sm{height:36px;padding:0 14px;font-size:13px}.btn.btn-dark{background:var(--text);color:var(--on-text)}.btn.btn-dark:hover{background:var(--strong-hover)}.cut-editing .stage{padding-bottom:84px}.cut-editing .stage-inner{-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.stage-inner .w{cursor:pointer;transition:opacity .12s}.stage-inner .w.dim{opacity:.18}@media (hover:hover){.stage-inner .w:hover .hit{fill:var(--hit-hover)}}.cut-handle{touch-action:none;cursor:ew-resize;z-index:5;width:44px;margin-left:-22px;position:absolute}.cut-handle:before{content:"";background:var(--text);width:2px;position:absolute;top:0;bottom:0;left:21px}.cut-handle .knob{background:var(--text);border:2px solid #fff;border-radius:50%;width:16px;height:16px;transition:transform .1s;position:absolute;left:14px;box-shadow:0 1px 4px #0000004d}.cut-handle .knob:after{content:"";position:absolute;inset:-14px}.cut-handle-start .knob{top:-14px}.cut-handle-end .knob{bottom:-14px}.cut-handle.dragging .knob{transform:scale(1.3)}.export-block{flex-direction:column;gap:20px;display:flex}.btn-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.btn-grid .btn{gap:6px;padding:0 8px}.btn-grid .btn .lucide{width:18px;height:18px}.btn .chevron{width:16px;height:16px;margin-left:-2px}.dropdown{display:grid;position:relative}.menu{background:var(--surface);box-shadow:0 8px 28px var(--shadow);z-index:30;border-radius:24px;padding:6px;position:absolute;top:calc(100% + 6px);left:0;right:0}.menu-item{text-align:left;border-radius:var(--pill);width:100%;padding:9px 14px;font-size:14px;display:block}.menu-item:hover{background:var(--fill)}.menu.menu-up{top:auto;bottom:calc(100% + 6px)}.btn{border-radius:var(--pill);background:var(--fill);justify-content:center;align-items:center;gap:8px;height:42px;padding:0 16px;font-size:14px;font-weight:600;transition:background .15s;display:inline-flex}.btn:hover{background:var(--fill-hover)}.btn:disabled{opacity:.6;cursor:wait}.site-footer{height:var(--footer-h);color:var(--text-muted);flex-shrink:0;justify-content:center;align-items:center;font-size:12px;display:flex}.site-footer a{color:var(--text-soft);margin-left:4px;font-weight:500;text-decoration:none}.site-footer a:hover{text-decoration:underline}.footer-sep{margin:0 12px}.footer-link{color:var(--text-soft);font-size:12px;font-weight:500}.footer-link:hover{text-decoration:underline}.theme-switch{border-radius:var(--pill);background:var(--fill);gap:2px;margin-left:32px;padding:2px;display:inline-flex}.theme-switch button{border-radius:var(--pill);width:24px;height:24px;color:var(--text-muted);justify-content:center;align-items:center;transition:background .15s,color .15s;display:inline-flex}.theme-switch button:hover{color:var(--text)}.theme-switch button.active{background:var(--raised);color:var(--text);box-shadow:0 1px 3px #0000001f}.theme-switch .lucide{width:14px;height:14px}.dialog{background:var(--surface);width:min(480px,100% - 32px);max-height:min(85vh,720px);color:var(--text);border:none;border-radius:44px;margin:auto;padding:0;overflow:hidden;box-shadow:0 20px 60px #0003}.dialog[open]{flex-direction:column;display:flex}.dialog-body{overscroll-behavior:contain;flex:auto;min-height:0;padding:28px;overflow-y:auto;-webkit-mask-image:linear-gradient(#0000,#000 20px calc(100% - 20px),#0000);mask-image:linear-gradient(#0000,#000 20px calc(100% - 20px),#0000)}.dialog::backdrop{background:var(--backdrop)}.dialog-close{z-index:1;background:var(--surface);border-radius:var(--pill);width:36px;height:36px;color:var(--text-muted);justify-content:center;align-items:center;display:inline-flex;position:absolute;top:16px;right:16px}.dialog-close:hover{background:var(--fill);color:var(--text)}.about-head{align-items:center;gap:14px;padding-right:40px;display:flex}.about-head img{flex-shrink:0}.about-head h2{font-size:22px;font-weight:700;line-height:1.2}.about-head h2:focus{outline:none}.about-tagline{color:var(--text-muted);font-size:14px}.about-lead{margin-top:18px;font-size:15px;line-height:1.6}.about-section,.about-section+.about-feedback{margin-top:28px}.about-section h3{letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);margin-bottom:12px;font-size:12px;font-weight:700}.about-steps{flex-direction:column;gap:14px;list-style:none;display:flex}.about-steps li{align-items:flex-start;gap:12px;display:flex}.about-steps li>div{flex-direction:column;gap:1px;font-size:14px;line-height:1.45;display:flex}.about-steps strong{font-weight:600}.about-steps li>div>span{color:var(--text-muted)}.about-num{background:var(--text);width:26px;height:26px;color:var(--on-text);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:12px;font-weight:700;display:inline-flex}.about-card{background:var(--fill);border-radius:16px;flex-direction:column;gap:14px;padding:16px;display:flex}.about-row{flex-direction:column;gap:2px;font-size:14px;line-height:1.45;display:flex}.about-row dt{color:var(--text-muted);font-size:13px}.about-row a{color:var(--text);font-weight:600}.about-langs{flex-direction:column;gap:4px;list-style:none;display:flex}.about-langs li{grid-template-columns:84px 1fr;gap:8px;display:grid}.about-langs li>span{color:var(--text);font-weight:600}.about-maker{font-size:14px;line-height:1.6}.about-maker strong{font-weight:600}.about-links{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.about-links a{border-radius:var(--pill);background:var(--fill);height:40px;color:var(--text);flex:auto;justify-content:center;align-items:center;gap:6px;padding:0 16px;font-size:13px;font-weight:600;text-decoration:none;transition:background .15s;display:inline-flex}.about-links a:hover{background:var(--fill-hover)}.about-links .lucide{width:16px;height:16px}.about-feedback{background:var(--fill);color:var(--text);border-radius:16px;align-items:center;gap:12px;margin-top:16px;padding:14px 16px;text-decoration:none;transition:background .15s;display:flex}.about-feedback:hover{background:var(--fill-hover)}.about-feedback-icon{background:var(--text);width:36px;height:36px;color:var(--on-text);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.about-feedback-icon .lucide{width:18px;height:18px}.about-feedback-text{flex-direction:column;min-width:0;font-size:14px;line-height:1.4;display:flex}.about-feedback-text strong{font-weight:600}.about-feedback-text>span{color:var(--text-muted);font-size:13px}@media (width<=480px){.dialog{border-radius:40px}.dialog-body{padding:24px 20px}.about-head{text-align:center;flex-direction:column;gap:12px;padding-right:0}}.toast{background:var(--text);color:var(--on-text);border-radius:var(--pill);z-index:100;max-width:calc(100% - 32px);padding:12px 18px;font-size:14px;position:fixed;bottom:24px;left:50%;transform:translate(-50%)}.hidden{display:none!important}@media (width>=1101px){body{position:relative}.site-header{z-index:5;position:absolute;top:0;left:50%;transform:translate(-50%)}.panel{padding-top:0}.panel-title{height:var(--header-h);flex-shrink:0;align-items:center;margin-bottom:-8px;display:flex}.preview{padding:var(--header-h) 0 0}}@media (width<=1100px){.workspace{grid-template-columns:260px minmax(0,1fr) 260px}.panel{padding:20px 24px}}@media (width<=860px){:root{--gutter:16px}body{height:auto;min-height:100vh;overflow:visible}.site-header{z-index:20;background:var(--bg);position:sticky;top:0}.workspace{grid-template-rows:none;grid-template-columns:minmax(0,1fr);align-content:start}.preview{top:var(--header-h);z-index:10;background:var(--bg);padding:0 var(--gutter);order:1;position:sticky}.stage-wrap{flex:none}.stage{height:var(--stage-h);flex:none;min-height:180px;padding:16px 16px 52px}body.cut-editing{--stage-h:52vh}.cut-editing .stage{padding-bottom:72px}.tabs{top:calc(var(--header-h) + max(var(--stage-h), 180px));z-index:10;padding:12px var(--gutter);background:var(--bg);order:2;grid-template-columns:repeat(3,1fr);gap:4px;display:grid;position:sticky}.tabs:before{content:"";inset:12px var(--gutter);border-radius:var(--pill);background:var(--fill);z-index:-1;position:absolute}.tab{margin:4px 0}.tab:first-child{margin-left:4px}.tab:last-child{margin-right:4px}.panel-ayah,.sidebar-right{order:3}.sidebar-right{overflow:visible}.panel{padding:8px var(--gutter) 24px;overflow:visible}.panel:not(.tab-active),.panel-title{display:none}.site-footer{padding-bottom:env(safe-area-inset-bottom);margin-top:32px}.combo{scroll-margin-top:calc(var(--header-h) + max(var(--stage-h), 180px) + 72px)}.combo-list{max-height:50vh;margin-top:6px;position:static;box-shadow:0 2px 12px #0000001a}}@media (width>=600px) and (width<=860px){:root{--gutter:40px}}
