@font-face{font-family:Cairo;src:url('/static/fonts/Cairo.ttf') format('truetype');font-weight:200 1000;font-style:normal;font-display:swap}
:root{--bg:#0b1c26;--surface:#102530;--raised:#152e3a;--ink:#edf3ef;--muted:#a2b5bc;--accent:#93e6cd;--gold:#d9c394;--line:#2c424d;--soft:#1c3940;--radius:16px;--pointer-x:50%;--pointer-y:20%}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.8 Cairo,'Segoe UI',Tahoma,sans-serif;isolation:isolate}body:before{content:'';position:fixed;inset:0;z-index:-2;pointer-events:none;background:radial-gradient(ellipse at 85% 0%,#21483960,transparent 52%)}.ambient{position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(480px circle at var(--pointer-x) var(--pointer-y),#8ddcc60a,transparent 75%)}button,input,a{font:inherit}button,a,input{outline-offset:5px}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--gold)}[hidden]{display:none!important}svg{display:block}.topbar{max-width:1328px;margin:auto;min-height:100px;padding:20px 40px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line)}.brand{text-decoration:none;color:var(--ink);display:flex;align-items:center;gap:16px}.brand-icon{width:48px;height:48px;border:1px solid #a3d2be55;border-radius:12px;display:grid;place-items:center;color:var(--accent);background:#193832}.brand-icon svg{width:34px;height:34px}.brand strong{font-size:19px;display:block;font-weight:700;line-height:1.6}.brand small{font-size:11px;color:var(--muted);display:block;letter-spacing:.2px}.header-actions{display:flex;gap:24px;align-items:center}.version{font:10px/1.5 'Segoe UI',sans-serif;letter-spacing:2px;color:var(--muted)}.local-badge{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--accent);white-space:nowrap}.local-badge i,.live-label i{width:6px;height:6px;background:var(--accent);border-radius:50%;box-shadow:0 0 12px #93e6cd55}main{max-width:1184px;margin:auto;padding:36px 32px 0}.intro{display:flex;align-items:center;justify-content:space-between;gap:32px;margin-bottom:32px}.eyebrow{font-size:11px;color:var(--gold);margin:0 0 8px;font-weight:600;display:flex;align-items:center;gap:8px}.eyebrow>span{width:20px;height:1px;background:var(--gold)}h1{font-size:42px;line-height:1.5;margin:0 0 12px;letter-spacing:-1px;font-weight:700}h1 em{font-style:normal;color:var(--accent)}.description{color:var(--muted);font-size:13px;margin:0;max-width:560px}.hero-art{position:relative;width:320px;height:190px;flex-shrink:0;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:translate(var(--art-x,0px),var(--art-y,0px));transition:transform .3s ease-out;overflow:hidden}.orbit{width:250px;height:140px;border:1px solid #50756844;border-radius:50%;position:absolute;transform:rotate(-20deg)}.orbit:after{content:'';position:absolute;inset:16px -20px;border:1px solid #50756822;border-radius:50%;transform:rotate(40deg)}.art-label{font-size:13px;color:var(--gold);margin-top:16px}.art-coordinate{position:absolute;bottom:8px;font:9px 'Segoe UI',sans-serif;letter-spacing:2px;color:var(--muted)}.wave{display:flex;gap:5px;align-items:center;justify-content:center;direction:ltr;height:52px}.wave i{display:block;width:3px;height:14px;background:var(--accent);border-radius:3px;transform-origin:center}.wave i:nth-child(3n){height:34px}.wave i:nth-child(4n){height:48px}.wave i:nth-child(5n){height:22px}.wave i:nth-child(7n){height:60px}.hero-wave{height:64px;gap:7px;position:relative}.hero-wave i{background:#88cdb580}.hero-wave i:nth-child(3n){background:var(--accent)}.workspace{display:grid;grid-template-columns:1fr 1.12fr;gap:24px}.input-panel,.result-panel{padding:28px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);min-width:0;position:relative;overflow:hidden;box-shadow:0 16px 40px #0000000d}.glow-card:before{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(360px circle at var(--mx,50%) var(--my,0%),#a4dcc00c,transparent 65%);opacity:0;transition:opacity .3s}.glow-card:hover:before{opacity:1}.result-panel{background:linear-gradient(150deg,#132c36,#102530 65%)}.section-label{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.section-label h2{font-size:19px;line-height:1.6;margin:0;font-weight:650}.muted{color:var(--muted);font-size:10px;margin-bottom:4px}.step{font:12px/1 'Segoe UI',sans-serif;color:var(--gold);border:1px solid #d9c3943d;padding:10px;border-radius:50%}.status-badge{font-size:10px;background:#19333d;border:1px solid var(--line);border-radius:24px;padding:4px 10px;color:var(--muted);white-space:nowrap}.dropzone{border:1px dashed #44616c;border-radius:10px;padding:24px 16px;text-align:center;background:#0b202980;transition:border-color .25s,background .25s,transform .25s}.dropzone:hover,.dropzone:focus-within{border-color:var(--accent);background:#142e37}.dropzone.dragover{border-color:var(--accent);background:#1d3c40;transform:scale(1.012)}.upload-icon{width:56px;height:56px;border-radius:14px;background:#193c3e;display:grid;place-items:center;color:var(--accent);margin:0 auto 12px;transition:transform .3s}.upload-icon svg{width:32px;height:32px}.dropzone:hover .upload-icon{transform:translateY(-4px)}h3{font-size:19px;margin:0 0 8px;font-weight:650}.dropzone p{font-size:11px;color:var(--muted);margin:0 0 16px}.file-picker{position:relative;display:inline-block}.file-picker input{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.file-picker input:focus-visible+label{outline:2px solid var(--gold);outline-offset:4px}.secondary{position:relative;overflow:hidden;display:inline-flex;justify-content:center;align-items:center;gap:20px;padding:7px 20px;min-height:42px;border:1px solid #57717a;background:#18333d;color:var(--ink);border-radius:6px;font-size:12px;cursor:pointer;transition:background .2s,transform .15s}.secondary:hover{background:#244652}.secondary:active{transform:scale(.97)}#formats{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;color:var(--muted);font-size:10px;margin-top:20px}#formats b{font-family:'Segoe UI',sans-serif;letter-spacing:1px;font-weight:500}.primary{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:50px;background:var(--accent);color:#102e28;border:1px solid transparent;border-radius:7px;padding:10px 20px;margin-top:20px;text-decoration:none;font-weight:750;font-size:13px;cursor:pointer;transition:background .2s,box-shadow .2s,transform .15s}.primary:hover{background:#b3f2df;box-shadow:0 6px 24px #8ce1c718;transform:translateY(-2px)}.primary:active{transform:translateY(0) scale(.985)}.primary:disabled{background:#253b43;color:#9bafb5;cursor:not-allowed;border-color:#314851;box-shadow:none;transform:none}.button-arrow{font:24px/1 'Segoe UI',sans-serif;transition:transform .2s}.primary:hover .button-arrow{transform:translateX(-3px)}.small-note{font-size:10px;line-height:1.9;color:var(--muted);margin:16px 0 0}.small-note>span{color:var(--gold);margin-left:4px}.empty{min-height:330px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.empty-signal{width:108px;height:108px;color:#80b4a7;opacity:.8;margin-bottom:20px;transition:transform .5s}.empty:hover .empty-signal{transform:rotate(5deg)}.empty h3{font-size:20px}.empty p{font-size:12px;color:var(--muted);margin:0}.empty-tags{display:flex;gap:8px;margin-top:24px}.empty-tags span{font-size:10px;border:1px solid var(--line);padding:3px 10px;border-radius:20px;color:#b1c5c8}.file-summary{display:flex;align-items:center;gap:10px;margin-top:16px;padding:10px 12px;background:#0d222c;border:1px solid var(--line);border-radius:7px;font-size:11px}.file-summary strong{overflow-wrap:anywhere;flex:1;min-width:0;font-weight:500}.file-summary>span:last-child{white-space:nowrap;color:var(--muted);font:10px 'Segoe UI',sans-serif}.file-symbol{color:var(--accent);font-size:20px}audio{display:block;width:100%;height:40px;margin-top:16px;border-radius:20px;color-scheme:dark}.footnote{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:10px;color:var(--muted);margin:20px 4px 0}.footnote>span:last-child{font-family:'Segoe UI',sans-serif;letter-spacing:1px}.footnote>span>span{color:var(--accent);margin-left:6px}.error{background:#432b2b;border:1px solid #925b50;color:#ffe0d9;border-radius:8px;padding:12px 16px;margin:0 0 20px;font-size:12px;overflow-wrap:anywhere}.progress-hero{display:flex;align-items:center;gap:24px}.progress-ring{width:144px;height:144px;position:relative;flex-shrink:0}.progress-ring svg{width:100%;height:100%;transform:rotate(-90deg);fill:none;stroke-width:5}.ring-track{stroke:#29424b}.ring-fill{stroke:var(--accent);stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100;transition:stroke-dashoffset .7s cubic-bezier(.22,1,.36,1);filter:drop-shadow(0 0 4px #93e6cd33)}.progress-ring>div{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column}.progress-ring strong{font:600 32px 'Segoe UI',sans-serif;font-variant-numeric:tabular-nums;color:var(--ink);direction:ltr}.progress-ring>div>span{font-size:9px;color:var(--muted);margin-top:4px}.progress-copy{flex:1;min-width:0}.progress-copy h3{font-size:16px;line-height:1.8;margin-top:8px}.live-label{display:flex;align-items:center;gap:8px;color:var(--accent);font-size:10px}.processing-wave{height:32px;justify-content:flex-end;margin-top:12px;max-width:144px}.processing-wave i{max-height:30px;animation:signal 1.25s ease-in-out infinite alternate}.processing-wave i:nth-child(3n){animation-delay:-.6s}.processing-wave i:nth-child(4n){animation-delay:-.3s}.processing-wave i:nth-child(5n){animation-delay:-.9s}progress{display:block;appearance:none;width:100%;height:4px;border:0;border-radius:4px;overflow:hidden;margin:20px 0 24px;background:#29424b;accent-color:var(--accent)}progress::-webkit-progress-bar{background:#29424b}progress::-webkit-progress-value{background:var(--accent);transition:width .65s ease}progress::-moz-progress-bar{background:var(--accent)}.pipeline{list-style:none;padding:0;margin:0 0 24px;display:grid;grid-template-columns:repeat(4,1fr)}.pipeline li{display:flex;flex-direction:column;gap:6px;align-items:center;position:relative;color:#91a5ad;font-size:10px}.stage-dot{width:25px;height:25px;border:1px solid #46616d;border-radius:50%;display:grid;place-items:center;background:var(--surface);font:11px 'Segoe UI',sans-serif;z-index:1;transition:background .3s,color .3s,border-color .3s}.pipeline li:not(:last-child):after{content:'';height:1px;position:absolute;top:12px;width:100%;right:50%;background:#39515d}.pipeline .complete{color:var(--accent)}.pipeline .complete .stage-dot{background:#294a45;color:var(--accent);border-color:#658f7f}.pipeline .active{color:var(--ink)}.pipeline .active .stage-dot{background:var(--accent);color:#103329;border-color:var(--accent);box-shadow:0 0 0 4px #93e6cd12;animation:pulse 2s infinite}.pipeline .complete:after{background:#638f80}.timing{display:grid;grid-template-columns:1fr 1fr;border-block:1px solid var(--line);padding:12px 0;gap:16px}.timing div{display:flex;flex-direction:column;gap:2px}.timing div+div{border-right:1px solid var(--line);padding-right:20px}.timing span{font-size:10px;color:var(--muted)}.timing strong{font-size:17px;font-weight:650;line-height:1.7}.text-button{border:0;border-bottom:1px solid #6d828d;background:transparent;color:#c2d0d5;font-size:11px;padding:4px 0;cursor:pointer;min-height:36px;margin-top:8px}.text-button:hover{color:#fff;border-color:var(--accent)}.text-button:disabled{opacity:.6;cursor:wait}.finished{padding-top:8px}.success-mark{width:60px;height:60px;border:1px solid #71b59f;border-radius:50%;display:grid;place-items:center;background:#1f423e;color:var(--accent);margin-bottom:20px;animation:success-in .6s ease both}.success-mark svg{width:36px;height:36px;stroke-dasharray:50;stroke-dashoffset:0;animation:draw .8s ease both}.finished h3{font-size:24px;margin-bottom:8px;outline:none}.result-stats{font-size:11px;color:var(--muted);margin:0}.finished .small-note{margin-top:20px}.is-busy .dropzone{opacity:.55;pointer-events:none}[data-phase=done] .status-badge{color:var(--accent);border-color:#4a7565}[data-phase=error] .status-badge{color:#ffd0be}[data-phase=cancelled] .processing-wave i,[data-phase=error] .processing-wave i{animation:none}[data-phase=cancelled] .live-label i,[data-phase=error] .live-label i{background:var(--gold)}footer{max-width:1184px;margin:32px auto 0;padding:0 32px 24px;text-align:center}.footer-ornament{display:flex;align-items:center;justify-content:center;gap:16px;color:var(--gold);font-size:20px}.footer-ornament:before,.footer-ornament:after{content:'';display:block;width:64px;height:1px;background:#d9c3943d}.prayer{font-size:15px;line-height:2.1;color:#d5ddd6;margin:12px auto 24px;max-width:800px}.footer-bottom{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding-top:16px;font-size:10px;color:var(--muted)}.credit{color:var(--gold)}.ripple{position:absolute;border-radius:50%;background:#ffffff45;pointer-events:none;transform:scale(0);animation:ripple .65s ease-out forwards}.intro,.workspace{animation:enter .7s ease both}.workspace{animation-delay:.08s}@keyframes signal{from{transform:scaleY(.3);opacity:.45}to{transform:scaleY(1);opacity:1}}@keyframes pulse{50%{box-shadow:0 0 0 6px #93e6cd08}}@keyframes ripple{to{transform:scale(1);opacity:0}}@keyframes success-in{from{transform:scale(.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes draw{from{stroke-dashoffset:50}to{stroke-dashoffset:0}}@keyframes enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1440px){main{padding-top:44px}.intro{margin-bottom:40px}h1{font-size:46px}.dropzone{padding-block:28px}}
@media(max-width:1024px){.topbar{padding-inline:32px}.version{display:none}.hero-art{width:260px}.workspace{gap:16px}.input-panel,.result-panel{padding:24px}.progress-hero{gap:12px}.progress-ring{width:120px;height:120px}.progress-copy h3{font-size:14px}}
@media(max-width:768px){.topbar{padding:16px 24px;min-height:84px}.brand strong{font-size:15px}.brand-icon{width:42px;height:42px}.brand small{font-size:10px}.header-actions{gap:0}.local-badge{font-size:10px}.intro{gap:16px;margin-bottom:24px}.hero-art{width:160px;height:160px}.orbit{width:170px;height:110px}.hero-wave{gap:4px}.hero-wave i:nth-child(n+15){display:none}.art-coordinate{display:none}h1{font-size:32px}.description{font-size:12px}main{padding:28px 24px 0}.workspace{grid-template-columns:1fr}.input-panel,.result-panel{padding:24px}.empty{min-height:260px}.progress-ring{width:144px;height:144px}.progress-hero{gap:24px}.progress-copy h3{font-size:17px}.prayer{font-size:13px}footer{padding-inline:24px}}
@media(max-width:520px){.hero-art{display:none}.topbar{gap:12px;align-items:flex-start}.brand{gap:10px}.brand strong{font-size:13px}.brand-icon{width:36px;height:36px;border-radius:9px;flex-shrink:0}.brand-icon svg{width:28px}.local-badge{font-size:9px;gap:5px;margin-top:4px}.intro .eyebrow{font-size:10px}h1{font-size:34px}.intro br{display:none}.footer-bottom{flex-direction:column;gap:6px}.progress-ring{width:128px;height:128px}.progress-hero{gap:12px}.progress-copy h3{font-size:15px}.progress-ring strong{font-size:29px}}
@media(max-width:380px){.topbar{padding:16px;flex-wrap:wrap}.header-actions{margin-right:46px}.brand strong{font-size:14px}main{padding:24px 16px 0}.input-panel,.result-panel{padding:20px}.section-label h2{font-size:17px}.status-badge{font-size:9px;padding-inline:8px}.progress-hero{gap:8px}.progress-ring{width:106px;height:106px}.progress-copy h3{font-size:13px}.timing strong{font-size:14px}.empty h3{font-size:18px}h1{font-size:30px}footer{padding-inline:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.hero-art{transform:none!important}.ambient{display:none}}
