:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans TC,Arial,sans-serif;color:#111;background:#fafafa;font-size:16px;line-height:1.5;font-synthesis:none;--border:#e5e5e5;--muted:#6b6b6b}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit;border-radius:0}button{min-height:44px;cursor:pointer;background:#fff;color:#111;border:1px solid #cfcfcf;padding:10px 16px;font-weight:600;font-size:14px}button:hover:not(:disabled){background:#f5f5f5}button:disabled{opacity:.38;cursor:not-allowed}button.primary{background:#111;color:#fff;border-color:#111;display:inline-flex;gap:28px;align-items:center;justify-content:center}button.primary:hover:not(:disabled){background:#333}:focus-visible{outline:2px solid #111;outline-offset:3px}a{color:inherit}.site-header{background:#fff;border-bottom:1px solid var(--border)}.header-inner{max-width:1120px;margin:auto;min-height:80px;padding:16px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:700;letter-spacing:-.7px;text-decoration:none}.brand-icon{display:inline-flex;width:34px;height:38px;background:#111;color:#fff;align-items:center;justify-content:center;font-size:23px;position:relative}.brand-icon span{font-size:14px;position:absolute;right:3px;top:0}.brand-divider{height:20px;border-left:1px solid #ddd;margin:0 5px}.brand-sub{font-size:13px;letter-spacing:0;font-weight:400;color:var(--muted)}.privacy{font-size:12px;color:#555}.page{width:min(100%,1120px);margin:auto;padding:36px 24px 0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.eyebrow{font-size:10px;letter-spacing:1.4px;font-weight:650;margin:0 0 11px;color:var(--muted)}h1{font-size:1.6rem;line-height:1.12;letter-spacing:-.03em;margin:0 0 10px}h2{font-size:1.05rem;letter-spacing:-.01em;margin:0}h3{font-size:16px;margin:0}.muted{color:var(--muted);font-size:14px;margin:5px 0 0}.local-tag{border:1px solid #d5d5d5;font-size:10px;letter-spacing:1px;padding:7px 10px;white-space:nowrap}.tool-nav{display:grid;grid-template-columns:repeat(6,1fr);border:1px solid var(--border);margin-bottom:18px;background:#fff}.tool-button{border:0;border-right:1px solid var(--border);padding:17px 16px;text-align:left;display:flex;flex-direction:column;gap:9px;font-size:13px}.tool-button:last-child{border:0}.tool-button.active{background:#111;color:#fff}.tool-button.active:hover{background:#222}.tool-number{font-size:11px;font-weight:400;color:#777;font-variant-numeric:tabular-nums}.active .tool-number{color:#aaa}.workspace{background:#fff;border:1px solid var(--border)}.workspace-head{padding:23px 26px;display:flex;gap:20px;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border)}.workspace-head .muted{font-size:13px}.step{font-size:10px;letter-spacing:1px;color:var(--muted);white-space:nowrap}.dropzone{margin:24px;min-height:304px;border:1px dashed #bbb;background:#fdfdfd;text-align:center;padding:26px 20px}.upload-symbol{width:40px;height:44px;margin:0 auto 14px;border:1px solid #ccc;font-size:29px;line-height:40px;background:#fff}.dropzone h3{font-size:18px;letter-spacing:-.4px}.dropzone .primary{margin-top:20px;min-width:210px}.file-hint{font-size:11px;color:var(--muted);margin:12px 0 2px}.text-button{border:0;background:transparent;font-size:12px;font-weight:500;text-decoration:underline;text-underline-offset:4px;padding:6px 10px}.workspace-foot{border-top:1px solid var(--border);display:flex;justify-content:space-between;gap:16px;padding:13px 24px;font-size:11px;color:var(--muted)}.how{padding:29px 0 30px}.how h2{font-size:14px;margin-bottom:19px}.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:35px}.how-grid>div{display:flex;align-items:flex-start;gap:14px}.how-grid>div>span{font-size:11px;color:#888;border:1px solid #ddd;width:29px;min-width:29px;height:29px;display:grid;place-items:center}.how h3{font-size:12px;font-weight:650}.how p{font-size:12px;color:var(--muted);margin:4px 0 0;max-width:240px}footer{border-top:1px solid var(--border);padding:20px 0;display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}footer span:first-child{font-weight:650;color:#111}@media(max-width:760px){.header-inner{padding:15px 14px;min-height:68px}.brand-sub,.brand-divider,.privacy{display:none}.page{padding:24px 14px 0}.page-heading{align-items:flex-start;margin-bottom:22px}.local-tag{display:none}h1{font-size:1.6rem}.tool-nav{grid-template-columns:repeat(3,1fr)}.tool-button{border-bottom:1px solid var(--border);padding:12px}.tool-button:nth-child(3){border-right:0}.workspace-head{padding:18px;align-items:flex-start}.step{display:none}.dropzone{margin:16px;padding:25px 14px}.workspace-foot{padding:14px 18px;flex-direction:column;gap:4px}.how-grid{grid-template-columns:1fr;gap:18px}.how p{max-width:none}footer span:nth-child(2){display:none}}[hidden]{display:none!important}.notice{margin:18px 24px 0;border:1px solid #cfcfcf;padding:12px 16px;font-size:13px;overflow-wrap:anywhere}.notice.error{color:#b42318;border-color:#e7b8b4;background:snow}.dropzone.dragging{border:2px solid #111;background:#f0f0f0}.dropzone.compact{min-height:0;padding:14px 18px;display:flex;align-items:center;gap:16px;text-align:left;margin-bottom:0}.compact .upload-symbol,.compact>p.muted,.compact>.file-hint{display:none}.compact h3{font-size:14px;font-weight:500;flex:1}.compact .primary{margin:0;min-width:0}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px;padding:24px}.editor-main{min-width:0}.section-bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.section-bar h3{font-size:14px}.count{font-weight:400;font-size:11px;border:1px solid #ddd;padding:2px 6px;margin-left:6px}.arrange-hint{font-size:12px;color:var(--muted);margin:0 0 16px}.file-list{display:flex;flex-direction:column;gap:8px}.file-row{display:flex;align-items:center;gap:13px;border:1px solid var(--border);padding:12px;cursor:grab}.file-index{font-size:11px;color:#777;font-variant-numeric:tabular-nums}.file-symbol{border:1px solid #bbb;font-size:9px;width:32px;height:39px;display:grid;place-items:center}.file-info{min-width:0;flex:1}.file-info strong{font-size:13px;font-weight:600;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-info>span{font-size:11px;color:var(--muted)}.row-actions{display:flex;gap:2px}.icon-button{min-width:44px;min-height:44px;padding:6px;font-size:17px;font-weight:400;background:transparent;border-color:transparent}.remove{color:#9a2921}.image-thumb{width:38px;height:44px;object-fit:contain;background:#f5f5f5}.settings{padding:18px;border:1px solid var(--border);background:#fafafa;align-self:start}.settings>h3{font-size:14px}.summary{font-size:13px;padding:0 0 14px;border-bottom:1px solid #ddd;margin:12px 0 16px}.summary strong{font-size:22px;font-weight:600;margin-right:2px}.summary span{display:block;font-size:11px;color:var(--muted)}.field{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:600;margin-bottom:16px}.field input,.field select{width:100%;min-height:44px;padding:10px;border:1px solid #cfcfcf;background:#fff;color:#111;font-size:13px}.field small{font-weight:400;font-size:11px;color:var(--muted)}.setting-note{font-size:11px;color:var(--muted);line-height:1.6;margin:12px 0 0}.export-button{width:100%;gap:8px!important}.page-toolbar{font-size:12px;display:flex;flex-wrap:wrap;gap:6px;align-items:center;justify-content:space-between;margin-bottom:16px}.page-toolbar>div{display:flex;gap:4px}.page-toolbar button{font-size:11px;padding:7px 10px}.pages-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.page-card{border:1px solid #d6d6d6;min-width:0;cursor:grab}.page-card.excluded{border-style:dashed;background:#fafafa}.excluded .page-preview{opacity:.3}.page-top{display:flex;align-items:center;justify-content:space-between;padding:0 5px 0 9px}.page-top label{display:flex;align-items:center;gap:5px;font-size:11px;min-height:44px;cursor:pointer}.page-top input{width:16px;height:16px;accent-color:#111;margin:0}.page-top .icon-button{font-size:20px}.page-preview{height:207px;background:#f4f4f4;display:flex;align-items:center;justify-content:center;overflow:hidden;margin:0 8px;font-size:11px;color:var(--muted)}.page-preview canvas{max-width:100%;object-fit:contain;background:#fff;border:1px solid #eee}.page-bottom{padding:7px 7px 0;display:flex;flex-direction:column}.page-bottom>span{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted)}.page-bottom>div{display:flex;justify-content:space-between}.result-card{margin:0 24px 24px;border:1px solid #a9d8c4;background:#f8fcf9;padding:18px;display:flex;align-items:center;justify-content:space-between;gap:16px}.result-card strong{font-size:14px}.result-card p{margin:3px 0 0;font-size:12px;color:var(--muted);overflow-wrap:anywhere}.download{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;background:#111;color:#fff;font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap}@media(max-width:1000px){.pages-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.row-actions{gap:0}.file-row{gap:8px}.file-index{display:none}}@media(max-width:760px){.editor-layout{grid-template-columns:1fr;padding:16px;gap:20px}.file-row{flex-wrap:wrap}.file-info{min-width:100px}.row-actions{margin-left:auto}.settings{padding:18px}.page-toolbar{align-items:flex-start;flex-direction:column}.page-preview{height:190px}.notice{margin:16px 16px 0}.dropzone.compact{padding:12px;gap:8px}.compact h3{font-size:12px}.compact .primary{font-size:12px;gap:10px}.result-card{margin:0 16px 16px;align-items:stretch;flex-direction:column}.field{font-size:14px}.field input,.field select{font-size:16px}}
