:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#19243a;background:#f8fafc;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}.topbar{height:78px;background:#fff;border-bottom:1px solid #e7ebf1;display:flex;align-items:center;justify-content:space-between;padding:0 max(25px,calc((100vw - 1120px)/2))}.brand{display:flex;gap:10px;align-items:center;cursor:pointer}.logo{background:#2664ef;color:#fff;width:40px;height:40px;display:grid;place-items:center;border-radius:12px;font-size:29px;font-weight:700}.brand strong{font-size:20px;display:block;line-height:1.08;letter-spacing:-.8px}.brand small{font-size:11px;color:#738197}.private{font-size:12px;color:#4a6470;background:#effbf4;padding:8px 13px;border-radius:40px}.green-dot{display:inline-block;background:#10aa6b;width:8px;height:8px;border-radius:50%;margin-right:4px}.shell{max-width:1020px;padding:55px 24px 80px;margin:0 auto;min-height:calc(100vh - 135px)}.view{display:none}.view.active{display:block}.hero{text-align:center;margin:20px auto 48px;max-width:680px}.eyebrow{font-size:11px;letter-spacing:2.3px;color:#3469ea;font-weight:800}.hero h1{font-size:clamp(31px,5vw,54px);line-height:1.13;letter-spacing:-2.2px;margin:18px 0}.hero p{font-size:17px;line-height:1.65;color:#66758b}.tools{display:grid;grid-template-columns:1fr 1fr;gap:23px}.tool{appearance:none;text-align:left;padding:33px;background:#fff;border:1px solid #e1e8f2;border-radius:19px;display:flex;flex-direction:column;gap:15px;box-shadow:0 9px 28px #1e34500a;transition:transform .22s,box-shadow .22s,border-color .22s;color:#18253a}.tool:hover{transform:translateY(-5px);box-shadow:0 19px 40px #1e345016;border-color:#acc3fc}.tool-icon{display:grid;place-items:center;background:#e9f0ff;color:#2463ea;border-radius:15px;width:61px;height:61px;font-size:34px}.tool strong{font-size:23px;letter-spacing:-.5px}.tool span:not(.tool-icon){font-size:14px;color:#66758b;line-height:1.6;min-height:45px}.tool b{color:#2463ea;font-size:14px}.footnote{text-align:center;margin:44px auto;color:#7990a0;font-size:13px}footer{text-align:center;color:#8995a7;padding:20px;font-size:12px}.toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px;font-size:16px;font-weight:750}.link-btn{border:0;background:none;color:#45628d;font-size:13px;padding:10px}.panel{background:#fff;border:1px solid #e3e8f0;border-radius:17px;padding:26px;box-shadow:0 9px 26px #263b5208}.dropzone{min-height:250px;border:2px dashed #baccdf;border-radius:13px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;transition:.2s;background:#fbfdff;cursor:pointer;text-align:center;padding:25px}.dropzone:hover,.dropzone.over{border-color:#376eff;background:#f0f5ff}.upload-icon{width:59px;height:59px;border-radius:16px;background:#e9f0ff;color:#2867ed;font-size:36px;display:grid;place-items:center}.dropzone strong{font-size:21px}.dropzone span{color:#708098;font-size:13px}#formats{font-size:11px;background:#eef2f8;border-radius:25px;padding:7px 12px;margin-top:7px}.hidden{display:none!important}.sectionhead{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:28px 0 17px}.sectionhead h2{margin:0 0 6px;font-size:22px}.sectionhead p{margin:0;color:#8290a2;font-size:13px}.outline{border:1px solid #d3deea;border-radius:10px;background:#fff;padding:11px 17px;color:#32507a;font-weight:700;font-size:13px;transition:.2s}.outline:hover{border-color:#316aec;background:#f3f7ff}.thumb-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(158px,1fr));gap:16px;margin-bottom:25px}.thumb{touch-action:none;position:relative;background:#fff;border:1px solid #e0e7f0;border-radius:14px;overflow:hidden;box-shadow:0 4px 15px #2135550c;transition:box-shadow .18s;user-select:none;cursor:grab}.thumb:hover{box-shadow:0 8px 24px #2034501c}.thumb.dragging{opacity:.35}.thumb-body{height:164px;display:grid;place-items:center;padding:9px;background:#f1f5fa;overflow:hidden}.thumb-body img{max-width:100%;max-height:100%;object-fit:contain;pointer-events:none;transition:transform .24s}.thumb-bottom{display:flex;align-items:center;gap:3px;padding:8px}.thumb-name{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1;color:#425370}.thumb-actions{display:flex;gap:3px}.icon-btn{border:0;background:#edf3fb;border-radius:7px;width:29px;height:29px;color:#35547d}.icon-btn:hover{background:#dce9fa}.icon-btn.remove:hover{color:#c63f45;background:#ffe7e8}.num{position:absolute;top:10px;left:10px;background:#ffffffed;padding:4px 7px;border-radius:7px;font-size:11px;font-weight:800;color:#6a7b90}.ghost{position:fixed;z-index:50;pointer-events:none;box-shadow:0 24px 50px #23385845;opacity:.95;transform:rotate(2deg) scale(1.035);transition:none!important}.settings h3{margin:0 0 20px;font-size:18px}.setting-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:750;color:#526580}select,input{width:100%;border:1px solid #d7e0ec;border-radius:9px;padding:12px;color:#263750;background:#fff;outline:none}select:focus,input:focus{border-color:#3d78fb;box-shadow:0 0 0 3px #dbe8ff}.primary{background:#2565ed;border:1px solid #2565ed;border-radius:10px;color:white;font-weight:750;padding:14px 20px;transition:.2s}.primary:hover{background:#1756dc}.wide{width:100%;margin-top:23px}.notice{padding:13px 17px;border-radius:10px;background:#fff3ea;color:#8c4319;font-size:13px;margin-bottom:17px;border:1px solid #f5cfb8}#pdfSettings{display:grid;gap:17px}#pdfSettings label{max-width:490px}.fine{font-size:12px;color:#8b98a9;margin:0}#processing,#results{max-width:680px;text-align:center;margin:30px auto;padding:42px}.processicon{font-size:50px;color:#2f69ef;animation:spin 1.5s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.success-icon{width:65px;height:65px;background:#e5f9ef;color:#13a263;border-radius:50%;font-size:39px;margin:auto;display:grid;place-items:center}#processing h2,#results h2{font-size:25px;letter-spacing:-.5px}#processing p,#results p{color:#78879a;line-height:1.5}.progress{height:12px;background:#e8eff8;border-radius:20px;overflow:hidden;margin:24px 0 8px}.progress>div{height:100%;width:0;background:linear-gradient(90deg,#2b72fb,#65a3ff);transition:width .25s}#progressText{font-size:12px;color:#69809a;margin-bottom:25px}.download-item{margin-top:12px;border:1px solid #e0e7f0;border-radius:12px;padding:15px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left}.download-item small{color:#7a8da2;display:block;margin-top:4px}.download-item button{padding:10px 14px;font-size:12px;border-radius:9px;color:white;background:#2565ed;border:0;font-weight:700;white-space:nowrap}@media(max-width:660px){.topbar{height:70px;padding:0 18px}.private{font-size:10px;padding:7px}.shell{padding:23px 15px 55px}.hero{margin:20px auto 35px}.hero h1{letter-spacing:-1.5px}.hero p{font-size:15px}.tools{grid-template-columns:1fr;gap:15px}.tool{padding:23px}.setting-fields{grid-template-columns:1fr}.sectionhead{align-items:flex-start;flex-direction:column}.thumb-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.thumb-body{height:140px}.panel{padding:17px}.toolbar{font-size:13px}.dropzone{min-height:210px}}

/* Desktop home stays within one laptop viewport. Tool workspaces scroll normally. */
@media (min-width: 661px){
 body:has(#home.active){height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}
 body:has(#home.active) .shell{flex:1;min-height:0;width:100%;display:flex;align-items:center;justify-content:center;padding:12px 24px}
 body:has(#home.active) #home{width:100%}
 body:has(#home.active) .hero{margin:0 auto 24px}
 body:has(#home.active) .hero h1{font-size:clamp(29px,4.2vh,48px);margin:10px 0}
 body:has(#home.active) .hero p{font-size:clamp(13px,1.65vh,16px);line-height:1.45;margin:0}
 body:has(#home.active) .tools{gap:18px}
 body:has(#home.active) .tool{padding:clamp(14px,2vh,25px);gap:9px}
 body:has(#home.active) .tool-icon{width:49px;height:49px;font-size:29px}
 body:has(#home.active) .footnote{margin:20px auto 0}
 body:has(#home.active) footer{padding:10px}
}
.ghost{will-change:transform;top:0;left:0;transition:none!important}
.is-dragging,.is-dragging *{cursor:grabbing!important}
@media (prefers-reduced-motion:reduce){.thumb,.thumb-body img{transition:none}}
