:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Tahoma,Arial,sans-serif;color:#13203b;background:#f4f7fb;font-synthesis:none;--ink:#13203b;--muted:#67738d;--line:#dce4ef;--paper:#fff;--navy:#0b132b;--brand:#5968e9;--mint:#19a984}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at 85% -10%,#dfe5ff 0,transparent 27rem),#f4f7fb}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:3px solid #9aa5ff;outline-offset:2px}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.loading{min-height:100vh;display:grid;place-items:center}.brand-mark{width:54px;height:54px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(145deg,#6b77f1,#4252dc);color:#fff;box-shadow:0 15px 35px #4154d93d}.brand-mark.small{width:42px;height:42px;border-radius:14px;box-shadow:none}.brand-mark.small svg{width:21px}.language-button,.icon-button{border:1px solid var(--line);background:#fff;color:var(--ink);height:42px;border-radius:12px;padding:0 14px;display:flex;align-items:center;gap:8px}.language-button svg,.icon-button svg{width:18px}body>#root>.language-button{position:fixed;inset-block-start:22px;inset-inline-end:24px;z-index:2}.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr)}.auth-story{background:var(--navy);color:#fff;padding:clamp(40px,8vw,110px);display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.auth-story:after{content:"";position:absolute;width:480px;height:480px;border:1px solid #ffffff18;border-radius:50%;inset-inline-end:-190px;inset-block-end:-180px;box-shadow:0 0 0 50px #ffffff08,0 0 0 100px #ffffff05}.eyebrow{font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:#8792ab;margin:18px 0 10px}.auth-story .eyebrow{color:#9aa6c4}.auth-story h1{font-size:clamp(2.4rem,5vw,5.4rem);line-height:1.03;letter-spacing:-.055em;max-width:760px;margin:0}[dir=rtl] .auth-story h1{letter-spacing:0;line-height:1.25}.trust-list{display:flex;flex-wrap:wrap;gap:22px;margin-top:42px;color:#c6cee0;font-size:.9rem}.trust-list span,footer span{display:flex;gap:8px;align-items:center}.trust-list svg,footer svg{width:17px;color:#4fd5b1}.auth-card{padding:clamp(35px,7vw,95px);display:flex;flex-direction:column;justify-content:center;background:#f9fbfe}.auth-card h2{font-size:2rem;margin:0 0 28px}.auth-card form{display:grid;gap:18px}label{display:grid;gap:8px;font-size:.9rem;font-weight:600}label small{color:var(--muted);font-weight:400}input{border:1px solid #cfd8e6;background:#fff;border-radius:13px;padding:14px 15px;color:var(--ink);font-size:16px}.primary,.secondary,.upgrade{border:0;border-radius:13px;min-height:48px;padding:0 19px;display:inline-flex;justify-content:center;align-items:center;gap:9px;font-weight:700}.primary{background:var(--brand);color:#fff;box-shadow:0 10px 20px #5968e92c}.primary:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.primary svg,.upgrade svg{width:18px}.full{width:100%;margin-top:4px}.secondary{background:#edf1f7;color:var(--ink)}.text-button{border:0;background:none;color:var(--brand);padding:18px 0;text-align:start;font-weight:600}.form-error{background:#fff0f1;color:#ae2232;padding:12px;border-radius:10px;font-size:.85rem;margin:0}header{height:76px;background:#ffffffdc;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,5vw,64px);position:sticky;top:0;z-index:10}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none;font-weight:800}.brand>span:last-child{display:grid}.brand small{color:var(--muted);font-weight:500;font-size:.72rem}header nav{display:flex;align-items:center;gap:9px}.plan-pill{background:#e8ecff;color:#4252cf;border-radius:999px;padding:6px 10px;font-size:.7rem;font-weight:800}.workspace{width:min(1080px,calc(100% - 36px));margin:0 auto;padding:clamp(32px,6vw,72px) 0 34px}.workspace-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:30px}.workspace-heading h1{font-size:clamp(2rem,5vw,3.5rem);line-height:1.05;letter-spacing:-.05em;margin:0}[dir=rtl] .workspace-heading h1{letter-spacing:0}.workspace-heading p:not(.eyebrow){color:var(--muted);margin:12px 0 0}.upgrade{background:var(--navy);color:#fff;white-space:nowrap}.tool-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:14px}.tool-card{min-height:112px;border:1px solid var(--line);border-radius:18px;background:#fff;padding:18px;display:flex;align-items:center;gap:14px;text-align:start;color:var(--ink);position:relative;transition:.2s ease}.tool-card:hover{transform:translateY(-2px);border-color:#b8c2d3}.tool-card.active{border-color:var(--brand);box-shadow:0 0 0 3px #5968e915}.tool-card strong,.tool-card small{display:block}.tool-card small{color:var(--muted);margin-top:5px;line-height:1.35}.tool-icon{width:43px;height:43px;border-radius:13px;background:#eef0ff;color:var(--brand);display:grid;place-items:center;flex:none}.tool-icon svg{width:20px}.check{position:absolute;inset-block-start:12px;inset-inline-end:12px;width:17px;color:var(--brand)}.compression-levels{width:fit-content;margin:0 0 14px auto;display:flex;gap:4px;padding:4px;background:#e9edf4;border-radius:14px}[dir=rtl] .compression-levels{margin-inline-start:0;margin-inline-end:auto}.compression-levels button{border:0;background:transparent;border-radius:10px;padding:8px 16px;color:var(--muted);display:grid;text-align:start}.compression-levels button span{font-weight:700;color:inherit}.compression-levels button small{font-size:.7rem;margin-top:2px}.compression-levels button.active{background:#fff;color:var(--ink);box-shadow:0 2px 8px #27334c17}.upload-panel{border:1px solid var(--line);background:var(--paper);border-radius:22px;padding:14px;box-shadow:0 18px 48px #25385a0c}.dropzone{min-height:260px;border:1.5px dashed #bbc5d6;border-radius:16px;background:linear-gradient(180deg,#fbfcff,#f6f8fc);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px;cursor:pointer}.dropzone:hover{border-color:var(--brand);background:#f7f8ff}.dropzone input{display:none}.dropzone strong{font-size:1.08rem;margin-top:17px}.dropzone span:not(.upload-orbit){color:var(--brand);font-weight:600;margin-top:5px}.dropzone small{color:var(--muted);margin-top:16px}.upload-orbit{width:66px;height:66px;border-radius:50%;display:grid;place-items:center;color:var(--brand);background:#e9ecff;box-shadow:0 0 0 9px #f0f2ff}.file-queue{padding:20px 8px 6px}.queue-title{display:flex;justify-content:space-between;margin:0 8px 13px}.queue-title span{color:var(--muted)}.file-row{display:flex;align-items:center;gap:12px;padding:12px 9px;border-top:1px solid #edf0f5}.file-type{background:#fff0f1;color:#c43a4c;padding:7px;border-radius:8px;font-size:.68rem;font-weight:800}.file-name{min-width:0;flex:1;display:grid}.file-name strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}.file-name small{color:var(--muted);margin-top:3px}.file-actions{display:flex;gap:5px}.file-actions button{width:34px;height:34px;border:1px solid var(--line);border-radius:9px;background:#fff;display:grid;place-items:center}.file-actions button:disabled{opacity:.3;cursor:not-allowed}.file-actions svg{width:15px}.queue-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}.over-limit{color:#c43a4c!important;font-weight:700}.limit-warning{display:flex;align-items:center;gap:9px;background:#fff3f4;color:#a92d3a;border-radius:11px;padding:11px 13px;margin-top:12px;font-size:.85rem}.limit-warning svg{width:18px;flex:none}.limit-warning button{margin-inline-start:auto;border:0;background:none;color:#9f2030;font-weight:800}.page-order{border-top:1px solid #edf0f5;margin-top:12px;padding-top:18px}.page-order-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.page-order-title span{color:var(--muted);font-size:.78rem;display:flex;align-items:center;gap:7px}.page-order-title svg{width:15px}.page-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:10px;max-height:390px;overflow:auto;padding:3px}.page-card{border:1px solid var(--line);border-radius:13px;background:#f8fafc;padding:7px;text-align:center;cursor:grab}.page-card:active{cursor:grabbing}.page-thumb{height:124px;border-radius:8px;background:#fff;display:grid;place-items:center;overflow:hidden;position:relative;border:1px solid #e8ecf2}.page-thumb img{width:100%;height:100%;object-fit:contain}.page-thumb>svg{color:#bec6d3}.page-thumb b{position:absolute;inset-block-end:5px;inset-inline-end:5px;width:23px;height:23px;border-radius:7px;background:#13203bd9;color:#fff;display:grid;place-items:center;font-size:.7rem}.page-card>span{display:block;font-size:.75rem;margin:7px 0;color:var(--muted)}.page-card>div:last-child{display:flex;justify-content:center;gap:4px}.page-card button{width:28px;height:26px;border:1px solid var(--line);border-radius:7px;background:#fff;display:grid;place-items:center}.page-card button:disabled{opacity:.25}.page-card button svg{width:13px}.notice{margin:14px 0 0;border-radius:13px;padding:12px 14px;display:flex;align-items:center;gap:9px;font-size:.88rem;font-weight:600}.notice.good{background:#e9faf4;color:#08785c}.notice.bad{background:#fff0f1;color:#ac2f3d}.notice>svg{width:18px}.notice button{border:0;background:transparent;color:inherit;margin-inline-start:auto;display:grid;place-items:center}.notice button svg{width:16px}.history{margin-top:34px}.history-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:12px}.history-heading .eyebrow{margin:0 0 5px}.history-heading h2{margin:0;font-size:1.35rem}.history-heading>span{background:#e8ecf3;color:var(--muted);border-radius:999px;padding:5px 10px;font-size:.75rem;font-weight:700}.empty-history{border:1px solid var(--line);border-radius:16px;min-height:120px;background:#ffffff80;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--muted)}.empty-history svg{width:19px}.job-list{display:grid;gap:8px}.job-row{border:1px solid var(--line);background:#fff;border-radius:15px;padding:13px;display:flex;align-items:center;gap:12px}.status-icon{width:40px;height:40px;border-radius:12px;background:#eef1f7;color:#6f7c96;display:grid;place-items:center;flex:none}.status-icon.ready{background:#e6f8f1;color:#0b8968}.status-icon.failed{background:#fff0f1;color:#bc3746}.status-icon svg{width:18px}.job-main{min-width:0;flex:1;display:grid}.job-main strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.88rem}.job-main span{color:var(--muted);font-size:.74rem;margin-top:3px}.status-label{border-radius:999px;padding:5px 9px;background:#eff2f6;color:#66728a;font-size:.7rem;font-weight:800}.status-label.ready{background:#e6f8f1;color:#087a5d}.status-label.failed,.status-label.expired{background:#fff0f1;color:#a62e3b}.job-actions{display:flex;gap:6px}.job-actions button,.download-button{height:38px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);display:flex;align-items:center;justify-content:center;gap:6px;padding:0 11px;text-decoration:none;font-size:.78rem;font-weight:700}.job-actions button{width:38px;padding:0}.job-actions button:disabled{opacity:.35}.job-actions svg,.download-button svg{width:15px}.download-button{background:var(--navy);color:#fff;border-color:var(--navy)}.modal-backdrop{position:fixed;inset:0;background:#081026b8;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);z-index:50;display:grid;place-items:center;padding:20px}.upgrade-dialog{width:min(470px,100%);background:#fff;border-radius:24px;padding:34px;box-shadow:0 30px 100px #050b1e80;position:relative}.modal-close{position:absolute;inset-block-start:15px;inset-inline-end:15px;width:36px;height:36px;border:1px solid var(--line);border-radius:10px;background:#fff;display:grid;place-items:center}.modal-close svg{width:17px}.upgrade-icon{width:54px;height:54px;border-radius:17px;background:#e9edff;color:var(--brand);display:grid;place-items:center}.upgrade-dialog h2{margin:0;font-size:1.8rem}.upgrade-dialog>p:not(.eyebrow):not(.payment-note){color:var(--muted);line-height:1.6}.price{margin:21px 0 16px;display:flex;align-items:end;gap:9px}.price strong{font-size:2.2rem;letter-spacing:-.04em}.price span{color:var(--muted);padding-bottom:7px}.payment-methods{display:flex;flex-wrap:wrap;gap:6px}.payment-methods span{border:1px solid var(--line);border-radius:8px;padding:6px 9px;font-size:.72rem;font-weight:800;background:#fbfcfe}.payment-note{display:flex;align-items:center;gap:8px;color:#476077;font-size:.8rem;margin:17px 0}.payment-note svg{width:17px;color:var(--mint)}footer{color:var(--muted);font-size:.8rem;display:flex;justify-content:center;gap:26px;margin-top:26px}@media(max-width:760px){.auth-shell{grid-template-columns:1fr}.auth-story{min-height:38vh;padding:70px 28px 36px}.auth-story h1{font-size:2.6rem;max-width:520px}.trust-list{margin-top:25px;gap:13px}.auth-card{padding:35px 24px 55px}header{height:68px;padding:0 16px}.brand small,.plan-pill{display:none}header .language-button{width:42px;padding:0;justify-content:center;overflow:hidden;color:transparent;gap:0}header .language-button svg{color:var(--ink);flex:none}.workspace{width:min(100% - 24px,620px);padding-top:32px}.workspace-heading{align-items:flex-start}.workspace-heading h1{font-size:2.25rem}.upgrade{min-width:48px;width:48px;padding:0;font-size:0}.tool-grid{grid-template-columns:1fr;gap:9px}.tool-card{min-height:82px;padding:13px}.compression-levels{width:100%;margin:0 0 10px}.compression-levels button{flex:1;padding:8px 10px}.dropzone{min-height:220px}.job-row{flex-wrap:wrap}.job-main{flex-basis:calc(100% - 54px)}.status-label{margin-inline-start:52px}.job-actions{margin-inline-start:auto}.upgrade-dialog{padding:28px 22px}footer{flex-wrap:wrap;gap:11px 18px}}@media(max-width:430px){.auth-story{min-height:34vh}.auth-story h1{font-size:2.15rem}.trust-list span:nth-child(2){display:none}.workspace-heading p:not(.eyebrow){font-size:.9rem}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
