:root{--orange:#ff781f;--orange-dark:#d95008;--ink:#29241f;--muted:#8d857b;--line:#eee7df;--paper:#fffaf5;--soft:#fff0e1;--safe:env(safe-area-inset-bottom,0px);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;touch-action:manipulation;border:0}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #f99f59;outline-offset:3px}button svg,svg.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}svg.symbols{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.app{max-width:780px;margin:auto;min-height:100dvh;padding:0 24px}.topbar{display:flex;align-items:center;justify-content:space-between;padding:22px 0 18px;gap:12px}.brand{display:flex;align-items:center;gap:9px;color:var(--ink);text-decoration:none;font-size:14px;font-weight:750;letter-spacing:.4px}.brand small{display:block;font-size:10px;color:var(--muted);font-weight:400;margin-top:3px}.top-tag{font-size:11px;color:#a69888;background:#f6efe6;padding:7px 10px;border-radius:99px}.plain{background:none;color:var(--orange-dark);padding:8px 0;font-size:13px;white-space:nowrap}.welcome{padding-top:27px}.eyebrow{color:#aa8a6b;font-size:11px;letter-spacing:1.8px;display:flex;align-items:center;gap:6px}.eyebrow>span{width:5px;height:5px;background:var(--orange);border-radius:50%}h1{margin:16px 0 15px;font-size:36px;line-height:1.4;letter-spacing:-1.6px;font-weight:800}h1>span{color:var(--orange)}.intro{font-size:13px;line-height:1.9;color:var(--muted);margin:0}.scan-art{position:relative;width:265px;height:260px;margin:10px auto 3px}.art-orbit{position:absolute;inset:35px 7px 8px;border:1px solid #f4dfcb;border-radius:50%;transform:rotate(-20deg)}.art-paper{position:absolute;width:136px;height:179px;border-radius:8px;background:white;box-shadow:0 12px 40px #986c2b13}.art-paper.back{top:34px;left:55px;transform:rotate(-13deg);background:#ffe5cc;border:1px solid #ffcf9f}.art-paper.front{top:39px;left:72px;transform:rotate(7deg);padding:20px 17px;border:1px solid #f3e2d1}.art-title{width:60px;height:7px;background:#796d60;border-radius:2px;margin-bottom:13px}.art-line{height:3px;width:79%;margin:8px 0;background:#d8cdbf;border-radius:2px}.art-line.wide{width:100%}.art-line.short{width:58%}.art-chart{display:flex;align-items:flex-end;gap:7px;height:36px;margin-top:12px}.art-chart i{width:15px;height:60%;background:#ffc893;border-radius:3px 3px 0 0}.art-chart i:nth-child(2){height:90%;background:#ff944b}.art-chart i:nth-child(3){height:70%}.art-chart i:nth-child(4){height:100%;background:#ff944b}.art-corner{position:absolute;width:18px;height:18px;border:2px solid var(--orange);border-radius:3px}.tl{top:31px;left:44px;border-right:0;border-bottom:0}.tr{top:31px;right:37px;border-left:0;border-bottom:0}.bl{bottom:27px;left:44px;border-right:0;border-top:0}.br{bottom:27px;right:37px;border-left:0;border-top:0}.scan-beam{position:absolute;top:115px;left:31px;right:24px;height:2px;background:linear-gradient(90deg,transparent,#ff8b34,transparent);box-shadow:0 -13px 20px 5px #ff8b3420}.art-badge{position:absolute;bottom:23px;right:0;background:white;border-radius:99px;padding:10px 13px;box-shadow:0 5px 25px #865a2812;font-size:11px;display:flex;align-items:center;gap:5px;color:#947254}.art-badge svg{width:16px;height:16px;background:#fff0e0;border-radius:50%;fill:none;stroke:var(--orange);stroke-width:2}.upload-panel{display:grid;grid-template-columns:1fr 1fr;gap:10px}.primary,.secondary{border-radius:14px;min-height:50px;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:650;font-size:15px;padding:12px 16px}.primary{background:var(--orange);color:white;box-shadow:0 5px 15px #ff781f20}.primary:active{background:#ed6a12}.secondary{background:white;color:var(--ink);border:1px solid var(--line)}.large{min-height:56px}.upload-panel p{grid-column:1/-1;text-align:center;font-size:10px;color:#b0a596;line-height:1.8;margin:2px 0 0}.features{display:flex;justify-content:space-between;margin:30px 0 20px;border-top:1px solid var(--line);padding-top:22px}.features>div{display:flex;flex-direction:column;gap:6px}.features span{font-size:10px;font-weight:600;color:#d6b490;letter-spacing:1px}.features strong{font-size:13px;font-weight:600}.features small{font-size:10px;color:#a79b8d}.brand-footer{text-align:center;color:#bdb0a0;font-size:10px;padding:24px 0 calc(22px + var(--safe));letter-spacing:1px}.workspace{padding:13px 0 0}.document-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:19px}.document-heading .eyebrow{font-size:10px;letter-spacing:1px}.document-title{display:flex;align-items:center;gap:9px;padding:6px 0 0;background:none;font-size:22px;font-weight:750;max-width:100%;text-align:left}.document-title>span{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.document-title svg{width:15px;height:15px;color:#aa9988}.count-pill{font-size:11px;color:#986e46;background:#f6e9d9;padding:7px 10px;border-radius:99px;white-space:nowrap}.progress-card{font-size:12px;color:#947253;margin-bottom:14px;display:flex;align-items:center;gap:8px;line-height:1.6}.progress-card.error{color:#c34837}.spinner{display:inline-block;width:14px;height:14px;border-radius:50%;border:2px solid #f3d8bc;border-top-color:var(--orange);animation:spin .9s linear infinite;flex-shrink:0}@keyframes spin{to{transform:rotate(360deg)}}.preview-card{background:white;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 7px 24px #77562804}.preview-toolbar{display:flex;justify-content:space-between;align-items:center;gap:6px;padding:12px 14px;font-size:11px;color:#8c8175}.segmented{display:flex;background:#f7f4ef;border-radius:8px;padding:3px;gap:2px}.segmented button{background:none;border-radius:6px;padding:6px 10px;font-size:11px;color:#8e8275}.segmented button.active{background:white;color:var(--orange-dark);box-shadow:0 1px 3px #6f523015}.preview{background:#eeeae5;min-height:290px;height:42dvh;max-height:640px;position:relative;display:flex;justify-content:center;align-items:center;padding:16px;overflow:hidden}.preview>img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 6px #4f402211)}.preview-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;font-size:13px;color:#a18b75;line-height:1.8;position:absolute;inset:0;padding:30px;background:#f2ede7ee}.preview-state .spinner{width:30px;height:30px}.preview-state button{margin-top:3px}.preview-footer{min-height:40px;padding:3px 14px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#b0a294;font-size:10px}.preview-footer .plain{font-size:11px}.page-actions{display:flex;justify-content:space-around;margin:13px 0 23px;gap:4px}.action-button{display:flex;flex-direction:column;align-items:center;gap:7px;padding:8px 10px;background:none;color:#71685f;font-size:11px}.action-button svg{width:21px;height:21px;color:#867464}.pages-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}h2{font-size:15px;margin:0;line-height:1.6}.pages-heading h2{font-size:14px}.pages-heading h2 span{font-size:11px;font-weight:400;margin-left:4px;color:#ac9f90}.pages-heading>.plain{font-size:12px}.pages{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.page-item{min-width:0}.page-thumb{padding:5px;width:100%;height:116px;position:relative;overflow:hidden;background:white;border:2px solid transparent;border-radius:10px;box-shadow:0 0 0 1px var(--line)}.page-thumb.active{border-color:var(--orange);box-shadow:none}.page-thumb img{width:100%;height:100%;object-fit:contain}.page-number{position:absolute;left:0;top:0;color:#fff;background:#4f453b70;font-size:9px;padding:3px 6px;border-radius:0 0 6px 0;min-width:21px}.page-thumb.active .page-number{background:var(--orange)}.page-status{position:absolute;bottom:4px;left:4px;right:4px;font-size:9px;border-radius:4px;padding:3px 0;background:#fff8eeeb;color:#997650;display:flex;align-items:center;justify-content:center;gap:3px}.page-status.error{background:#ffe9e4;color:#b74632}.page-status.done{left:auto;background:#f9fff0e6;color:#6a864f;font-size:10px;width:17px;height:17px;padding:0;border-radius:50%}.page-status .spinner{width:9px;height:9px;border-width:1px}.page-name{display:block;text-align:center;font-size:9px;color:#a79a8a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-top:5px}.sort-controls{display:flex;justify-content:space-between;gap:4px;margin-top:5px}.sort-controls button{background:#f0e7db;border-radius:5px;color:#9c7958;flex:1;min-height:28px}.sort-controls svg{height:16px;width:16px}.add-thumb{height:116px;background:transparent;border:1px dashed #dcccba;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;color:#ba9879;font-size:10px}.add-thumb svg{width:22px;height:22px}.retention-note{font-size:10px;color:#b5a899;margin:23px 0 12px;text-align:center}.bottom-bar{position:fixed;z-index:5;bottom:0;left:0;right:0;max-width:780px;margin:auto;padding:12px 24px calc(12px + var(--safe));display:flex;gap:15px;background:#fffcf9f5;backdrop-filter:blur(16px);border-top:1px solid var(--line)}.add-button{background:none;display:flex;align-items:center;flex-direction:column;gap:3px;font-size:10px;color:#8b7762;min-width:64px}.add-button svg{width:24px;height:24px}.export-button{flex:1}body.has-pages .brand-footer{padding-bottom:calc(105px + var(--safe))}.connection-note{font-size:12px;background:#fff0e4;color:#b76b3b;border-radius:8px;padding:12px;line-height:1.8}.modal{position:fixed;z-index:20;inset:0;display:flex;align-items:flex-end;justify-content:center}.modal-shade{position:absolute;inset:0;background:#30282070}.sheet{position:relative;width:100%;max-width:560px;max-height:88dvh;overflow:auto;background:#fffcf9;border-radius:24px 24px 0 0;padding:10px 24px calc(24px + var(--safe));box-shadow:0 -10px 80px #38291817}.sheet-handle{width:32px;height:4px;border-radius:8px;background:#dfd4c8;margin:0 auto 23px}.close-button{position:absolute;right:18px;top:20px;display:flex;align-items:center;justify-content:center;background:#f2eae1;color:#987e66;width:30px;height:30px;border-radius:50%}.close-button svg{width:16px;height:16px}.sheet h2{font-size:19px;margin:0 35px 18px 0}.sheet p{font-size:12px;color:#9b8e7f;line-height:1.9}.sheet .primary,.sheet .secondary{width:100%;margin-top:12px}.sheet .format-option{width:100%;padding:17px 15px;border:1px solid var(--line);border-radius:14px;margin-top:10px;display:flex;gap:12px;align-items:center;background:white;text-align:left;color:var(--ink)}.format-option svg{width:24px;height:24px;stroke:var(--orange)}.format-option strong{display:block;font-size:14px;margin-bottom:4px}.format-option small{color:#ab9b8c;font-size:11px}.format-option>span:last-child{margin-left:auto;color:#b49b83}.field-label{font-size:12px;color:#9d8a78;display:block;margin:14px 0 8px}.text-field{width:100%;border:1px solid #e3d5c6;border-radius:10px;padding:13px;background:white;color:var(--ink);font-size:15px}.sheet .notice{padding:12px;border-radius:10px;background:#fff0e3;color:#a1714a;font-size:12px}.toast{position:fixed;z-index:50;left:50%;bottom:calc(115px + var(--safe));transform:translateX(-50%);background:#3d3228ed;color:white;font-size:12px;line-height:1.7;padding:12px 18px;border-radius:12px;max-width:min(90vw,450px);width:max-content;pointer-events:none;box-shadow:0 5px 30px #22160920}.lightbox{position:fixed;z-index:30;inset:0;background:#26231f;color:white;padding-top:64px;overflow:auto}.lightbox>.close-button{position:fixed;z-index:1;background:#ffffff20;color:white}.lightbox>p{text-align:center;font-size:11px;color:#c5bbad;margin:0 10px 18px}.lightbox>div{min-height:80dvh;display:flex;align-items:center;justify-content:center}.lightbox img{max-width:100%;height:auto;touch-action:pinch-zoom}.link-button{display:block;color:var(--orange-dark);padding:15px 0;text-align:center;font-size:13px;text-decoration:none;overflow-wrap:anywhere}.sheet-busy{display:flex;align-items:center;justify-content:center;gap:10px;min-height:100px;font-size:13px;color:#98785a}@media(min-width:650px){.app{padding:0 40px}.topbar{padding-top:30px}.welcome{position:relative;padding-top:55px}.welcome h1{font-size:45px}.intro{font-size:15px}.scan-art{position:absolute;top:27px;right:-7px;transform:scale(1.15)}.upload-panel{margin-top:55px;max-width:460px}.features{margin-top:42px}.brand-footer{padding-top:35px}.pages{grid-template-columns:repeat(6,minmax(0,1fr))}.preview{height:54dvh}.document-title>span{max-width:480px}.bottom-bar{padding-left:40px;padding-right:40px}.sheet{border-radius:24px;align-self:center;margin:24px;padding-bottom:24px}.sheet-handle{display:none}.sheet h2{margin-top:15px}.page-thumb,.add-thumb{height:125px}}@media(max-width:360px){.app{padding:0 18px}h1{font-size:31px}.document-title{font-size:19px}.document-title>span{max-width:195px}.preview-toolbar{padding:10px}.segmented button{padding:6px 8px}.pages{gap:7px}.page-thumb,.add-thumb{height:102px}.upload-panel .large{font-size:13px;padding:12px 8px}.scan-art{height:245px;margin-top:3px}.intro{font-size:12px}.top-tag{font-size:10px}.bottom-bar{padding-left:18px;padding-right:18px}}@media(prefers-reduced-motion:reduce){.spinner{animation-duration:2s}}
