:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#24283a;background:#f7f8fa;font-synthesis:none;--green:#7460db;--muted:#808292;--line:#e7e7ee}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,label,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.42;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ac9af4;outline-offset:4px}button{transition:background .15s,transform .15s}button:not(:disabled):active{transform:translateY(1px)}.header{height:89px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 5%;gap:20px}.brand{text-decoration:none;color:#292637;display:flex;align-items:center;font-weight:750;letter-spacing:-1.2px;font-size:26px}.brand-icon{font-size:27px;background:#7460db;color:white;width:34px;height:36px;display:grid;place-items:center;border-radius:8px;margin-right:10px}.brand-dot{color:#7460db}.header-note{font-size:12px;color:var(--muted);margin-right:auto;margin-left:32px}.privacy{font-size:11px;color:#6c687f;display:flex;align-items:center;gap:8px}.privacy>span,.status-dot{display:inline-block;background:#a494e2;width:6px;height:6px;border-radius:50%}main{max-width:1260px;padding:47px 40px 0;margin:auto}.intro{position:relative;margin-bottom:33px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#8a7bb4;margin-bottom:16px}h1{font-size:43px;line-height:1.13;letter-spacing:-1.8px;font-weight:550;margin:0}h1 span{color:#7460db}.intro>p{position:absolute;right:2px;bottom:0;font-size:13px;line-height:1.85;color:#808292;margin:0 0 4px}.workspace{display:grid;grid-template-columns:296px 1fr;border:1px solid #e7e7ee;border-radius:13px;background:#fff;overflow:hidden;box-shadow:0 6px 26px #27203603}.sidebar{padding:26px 23px;border-right:1px solid var(--line)}.section-heading{display:flex;align-items:center;gap:9px;margin-bottom:18px}.section-heading h2{font-size:13px;font-weight:650;margin:0;letter-spacing:-.2px}.step{font-size:9px;color:#93889f;background:#f0ebfb;border:1px solid #e6e2ed;border-radius:5px;padding:4px}.upload{border:1px dashed #cfc7e4;background:#faf9fc;border-radius:8px;display:flex;flex-direction:column;align-items:center;padding:20px 8px;gap:7px;cursor:pointer;position:relative}.upload:hover,.upload.dragover{background:#eee8ff;border-color:#7460db}.upload-icon{font-size:24px;line-height:30px;color:#9685ba}.upload strong{font-size:12px;font-weight:600}.upload>span:not(.upload-icon){font-size:11px;color:#808292}.upload u{text-underline-offset:3px;color:#7460db}.upload small{font-size:9px;color:#aaa6b5;margin-top:5px}.upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload:focus-within{outline:3px solid #ac9af4}.text-button{border:0;background:none;font-size:11px;color:#7460db;padding:13px 0 0;width:100%;text-align:left}.text-button span{float:right}.divider{border-top:1px solid var(--line);margin:25px 0}.reset{border:0;background:none;color:#8e839d;font-size:10px;margin-left:auto;padding:3px}.presets{display:flex;background:#f0eef4;padding:4px;border-radius:7px;gap:3px}.presets button{flex:1;border:0;background:transparent;border-radius:5px;color:#808292;padding:9px 0;font-size:11px}.presets button.active{background:white;color:#604bc9;box-shadow:0 1px 4px #29213417;font-weight:650}.preset-description{font-size:10px;color:#9893a1;margin:11px 0 23px}.control{display:block;margin-bottom:20px}.control>span{display:flex;justify-content:space-between;font-size:11px;margin-bottom:9px}.control output{font-size:10px;color:#8a7bb4;font-variant-numeric:tabular-nums}.control input{width:100%;margin:0;accent-color:#7460db;height:4px;display:block;cursor:pointer}.local-note{border-top:1px solid var(--line);margin-top:25px;padding-top:16px;display:flex;gap:10px;align-items:center;color:#9685ba}.local-note>span{font-size:23px}.local-note p{font-size:10px;line-height:1.8;margin:0}.local-note small{font-size:9px;color:#a59cab}.editor{min-width:0;display:flex;flex-direction:column}.toolbar{display:flex;align-items:center;justify-content:space-between;height:69px;padding:0 24px;border-bottom:1px solid var(--line);gap:12px}.file-info{display:flex;align-items:center;gap:11px;min-width:0}.file-info>div{min-width:0}.file-icon{font-size:24px;color:#7460db}.file-info strong{display:block;font-size:11px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:280px}.file-info small{display:block;font-size:9px;margin-top:5px;color:#808292}.view-tools{display:flex;gap:9px;align-items:center}.view-tools button{border:1px solid #e7e7ee;background:white;border-radius:5px;padding:7px 9px;color:#8e839d;font-size:12px}.view-tools button.selected{background:#efedf7;color:#7460db}.view-tools button span{font-size:10px}.preview{background-color:#f0eef4;background-image:radial-gradient(#e6e2ed 0.6px,transparent .6px);background-size:12px 12px;flex:1;min-height:566px;padding:23px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.preview.dragover{outline:3px solid #a190e1;outline-offset:-5px}.empty{text-align:center;color:#9685ba}.empty-icon{display:inline-grid;place-items:center;font-size:45px;width:90px;height:108px;border:1px solid #d9ceef;background:#fcfaff;border-radius:9px;box-shadow:8px 8px 0 #e8e1fa88;color:#a596c3;transform:rotate(-5deg);margin-bottom:22px}.empty h3{font-size:23px;color:#5c576a;font-weight:500;letter-spacing:-.6px;margin:7px 0 11px}.empty p{font-size:11px;color:#9893a1;margin-bottom:24px}.primary{background:var(--green);border:1px solid var(--green);border-radius:7px;color:#fff;padding:13px 20px;font-size:11px;font-weight:550;display:inline-flex;gap:25px;align-items:center;justify-content:center}.primary:hover:not(:disabled){background:#604bc9}.primary span{font-size:16px;font-weight:400}.empty>small{display:block;font-size:9px;color:#aaa6b5;margin-top:14px}.image-stage{position:relative;max-width:100%;box-shadow:0 4px 20px #29213417;line-height:0;isolation:isolate}.image-stage canvas{width:100%;height:100%;display:block}.image-stage #source{position:absolute;inset:0;clip-path:inset(0 50% 0 0)}.image-label{position:absolute;top:12px;background:#fffE;backdrop-filter:blur(4px);font-size:8px;letter-spacing:1px;line-height:1;padding:7px 9px;border-radius:4px;color:#71697d;pointer-events:none}.before-label{left:12px}.after-label{right:12px}#split-line{position:absolute;top:0;bottom:0;left:50%;width:2px;background:white;box-shadow:0 0 3px #0004;pointer-events:none}#split-line span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:50%;background:#fff;color:#7460db;box-shadow:0 2px 7px #0002;width:32px;height:32px;display:grid;place-items:center;font-size:18px;line-height:1;letter-spacing:3px}#split{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:ew-resize;z-index:3}.image-stage:has(#split:focus-visible){outline:3px solid #7460db;outline-offset:4px}.image-stage.no-compare #source,.image-stage.no-compare #split,.image-stage.no-compare #split-line,.image-stage.no-compare .before-label{display:none}.preview-footer{height:42px;background:#faf9fc;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 23px;font-size:9px;color:#a29aa9;gap:10px}.preview-footer>span:first-child{display:flex;align-items:center;gap:6px}.processing{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);background:#fffF;box-shadow:0 3px 15px #0001;padding:10px 16px;border-radius:30px;display:flex;align-items:center;gap:9px;font-size:11px;white-space:nowrap;z-index:4}.spinner{width:13px;height:13px;border:2px solid #dfd5f0;border-top-color:#7460db;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.export-bar{display:flex;justify-content:space-between;align-items:center;padding:23px 0;border-bottom:1px solid var(--line);gap:20px}.export-bar>div:first-child{display:flex;gap:13px;align-items:center}.export-icon{display:grid;place-items:center;width:37px;height:39px;background:#eeebf6;color:#9685ba;border-radius:8px;font-size:21px}.export-bar h2{font-size:12px;font-weight:600;margin:0 0 5px}.export-bar p{font-size:10px;color:#9893a1;margin:0}.export-actions{display:flex;gap:10px}.export-actions select{border:1px solid #e7e7ee;border-radius:7px;background:#faf9fc;font-size:10px;color:#777184;padding:0 12px;cursor:pointer}footer{display:flex;justify-content:space-between;color:#a5a0ad;font-size:9px;padding:23px 0 25px}.error{margin-top:15px;padding:14px;background:#fff0f3;color:#a03950;border-radius:7px;font-size:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}@media(min-width:1500px){main{padding-top:60px}}@media(max-width:850px){main{padding:32px 20px 0}.header-note{display:none}.intro>p{font-size:11px}.workspace{grid-template-columns:255px 1fr}.sidebar{padding:22px 17px}.toolbar{padding:0 15px}.file-info strong{max-width:150px}.preview{padding:17px;min-height:570px}.view-tools button span{display:none}.preview-footer{padding:0 12px}#drag-hint{display:none}}@media(max-width:620px){.header{height:70px;padding:0 20px}.brand{font-size:23px}.privacy{font-size:9px}.intro{margin-bottom:25px}h1{font-size:35px}.intro>p{position:static;margin-top:17px}.workspace{display:flex;flex-direction:column}.sidebar{border-right:0;border-bottom:1px solid var(--line);padding:22px}.upload{padding:15px}.upload-icon{display:none}.divider{margin:20px 0}.controls{display:grid;grid-template-columns:1fr 1fr;gap:20px}.control{margin:0}.local-note{display:none}.preset-description{margin-bottom:20px}.preview{min-height:440px;padding:20px}.export-bar{align-items:flex-start;flex-direction:column}.export-actions{width:100%}.export-actions .primary{flex:1}.export-actions select{max-width:140px}.file-info strong{max-width:200px}footer{font-size:8px;gap:20px}.empty h3{font-size:22px}}

/* Shared visual language with indy256/pdf-editor. */
:root{--purple:#7460db;--purple-dark:#604bc9;--border:#e7e7ee}
svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.icon-library{position:absolute;width:0;height:0;overflow:hidden}
.header{height:94px;max-width:1360px;margin:auto;padding:0 54px}
.brand{font-size:25px;letter-spacing:-1.1px;color:#292637;white-space:nowrap}
.brand-icon{width:35px;height:39px;border-radius:10px;transform:rotate(-5deg)}
.brand-icon svg{width:23px;height:25px}
.header-note{display:flex;align-items:center;gap:8px;margin:0;font-size:12px}
.privacy{background:#efedf7;border-radius:7px;padding:9px 12px;font-size:11px;font-weight:550;gap:7px}
.privacy svg{width:15px;height:15px}
main{max-width:1080px;margin:0 auto;padding:0 34px}
.intro{text-align:center;padding:57px 0 31px;margin:0}
.eyebrow{letter-spacing:2.1px;margin-bottom:15px}
h1{font-size:48px;font-weight:720;line-height:1.13;letter-spacing:-2px}
.intro>p{position:static;font-size:14px;line-height:1.8;color:var(--muted);margin:17px 0 0}
.workspace{grid-template-columns:270px minmax(0,1fr);box-shadow:0 4px 18px #27203603}
.sidebar{padding:23px 20px}
.upload{border:1.5px dashed #cfc7e4;background:linear-gradient(125deg,#fff 0%,#fcfaff 100%);border-radius:10px}
.upload-icon{display:grid;place-items:center;height:30px}
.upload-icon svg{height:24px;width:24px}
.text-button{display:flex;align-items:center;gap:6px;font-weight:550}
.text-button svg{width:15px;height:15px;margin-left:auto}
.text-button:hover:not(:disabled){color:var(--purple-dark)}
.section-heading h2{font-weight:650}
.step{color:#8a7bb4}
.reset:hover{color:var(--purple)}
.presets button.active{color:var(--purple-dark)}
.control input{accent-color:var(--purple)}
.local-note{gap:9px}.local-note>svg{width:18px;height:18px}
.toolbar{height:86px;padding:0 23px}
.file-icon{width:34px;height:40px;background:#f0ebfb;border-radius:7px;display:grid;place-items:center;flex-shrink:0}
.file-icon svg{width:22px;height:24px}
.file-info strong{font-size:12px;max-width:220px}.file-info small{font-size:10px}
.view-tools button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px}
.view-tools svg{width:15px;height:15px}
.preview{background:#faf9fc;min-height:550px;padding:23px}
.empty{width:100%;max-width:430px;min-height:305px;border:1.5px dashed #cfc7e4;border-radius:15px;background:linear-gradient(125deg,#fff 0%,#fcfaff 100%);padding:30px 15px}
.upload-art{position:relative;width:73px;height:74px;margin:0 auto 17px}
.art-back{position:absolute;width:46px;height:57px;top:6px;left:6px;background:#e8e1fa;border:1px solid #d9ceef;border-radius:6px;transform:rotate(-13deg)}
.art-page{position:absolute;top:0;right:9px;width:46px;height:60px;background:white;border:1px solid #d8cdec;border-radius:6px;transform:rotate(8deg);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:3px;box-shadow:0 4px 10px #6c538610}
.art-page svg{color:#a596c3;width:24px;height:24px}.art-page span{font-size:9px;font-weight:750;letter-spacing:1px;color:#9a88c3}
.art-plus{position:absolute;bottom:5px;right:0;border-radius:50%;background:var(--purple);color:white;font-size:20px;width:26px;height:26px;display:grid;place-items:center;border:3px solid #fbf9ff}
.empty h3{font-size:18px;font-weight:650;letter-spacing:-.4px;color:#24283a;margin:0 0 8px}
.empty p{font-size:12px;color:var(--muted);margin:0 0 21px}
.primary{font-size:12px;font-weight:600;gap:9px;padding:12px 17px;min-height:41px;background:var(--purple);border-color:var(--purple);box-shadow:0 3px 5px #7560da17}
.primary:hover:not(:disabled){background:var(--purple-dark);box-shadow:0 3px 9px #7560da35}
.primary svg{width:16px;height:16px}
.empty>small{font-size:10px}
.preview-footer{background:#fff;font-size:10px}
.image-label{color:#71697d}
.export-bar{padding:20px 0;border:0}.export-bar h2{font-size:12px}.export-bar p{font-size:11px}
.export-actions select{background:white;color:#666576;font-size:11px}
.export-icon{background:#eeebf6}.export-icon svg{height:20px;width:20px}
.features{display:grid;grid-template-columns:repeat(3,1fr);text-align:center;gap:30px;padding:35px 20px 46px;max-width:850px;margin:0 auto}
.feature-icon{width:36px;height:36px;display:grid;place-items:center;margin:0 auto 13px;border-radius:10px;background:#eeebf6;color:#9685ba}
.feature-icon svg{height:19px;width:19px}
.features h3{font-size:12px;font-weight:650;margin:0 0 8px;color:#5c576a}
.features p{font-size:11px;line-height:1.8;color:#9893a1;margin:0}
.site-footer{max-width:1252px;margin:0 auto;border-top:1px solid var(--border);padding:24px 0 28px;font-size:10px;color:#a5a0ad}
@media(min-width:1500px){main{padding-top:0}.intro{padding-top:75px}.features{padding-top:45px}}
@media(max-width:1000px){.header{padding:0 30px}.site-footer{margin:0 30px}.header-note{display:none}.file-info strong{max-width:175px}.toolbar{padding:0 16px}}
@media(max-width:850px){main{padding:0 24px}.workspace{grid-template-columns:245px minmax(0,1fr)}.sidebar{padding:22px 17px}.preview{min-height:570px;padding:17px}.file-info strong{max-width:140px}.view-tools button span{display:none}.preview-footer{font-size:9px}}
@media(max-width:700px){.header{height:76px;padding:0 20px}.brand{font-size:22px}.brand-icon{width:30px;height:34px}.privacy{font-size:9px;padding:8px}.intro{padding:38px 0 26px}h1{font-size:39px}.intro>p{font-size:12px}.site-footer{margin:0 20px;padding:19px 0;line-height:1.7}}
@media(max-width:620px){main{padding:0 18px}.header{gap:10px}.brand{font-size:19px;letter-spacing:-.8px}.brand-icon{margin-right:7px}.privacy{max-width:115px;line-height:1.5}.intro>p br{display:none}.workspace{display:flex}.sidebar{padding:22px}.controls{gap:22px}.local-note{display:none}.upload-icon{display:none}.toolbar{height:77px;padding:0 15px}.file-info strong{max-width:190px}.preview{min-height:430px;padding:20px}.empty{min-height:305px;padding:27px 13px}.empty h3{font-size:16px}.empty p{font-size:11px}.empty>small{font-size:9px}.features{padding:26px 0 32px;gap:16px}.features p br{display:none}.features h3{line-height:1.6}.features p{font-size:10px}.export-bar{gap:16px}.export-actions select{font-size:10px}.export-actions .primary{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
