:root{--bg:#fafafb;--surface:#ffffff;--surface-2:#f4f5f8;--border:#ebedf2;--border-strong:#dfe2ea;--text:#14161c;--text-muted:#646c7c;--primary:#6366f1;--primary-hover:#5457e8;--primary-soft:#eef0fe;--danger:#ef4444;--success:#10b981;--radius-lg:18px;--radius:14px;--radius-sm:10px;--shadow-sm:0 1px 2px rgba(16,24,40,0.04);--shadow-md:0 6px 24px -8px rgba(16,24,40,0.12);--maxw:1120px;--font:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Apple SD Gothic Neo","Malgun Gothic",sans-serif}*{box-sizing:border-box}body,html{padding:0;margin:0}body{font-family:var(--font);background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;line-height:1.55}a{color:inherit;text-decoration:none}h1,h2,h3{line-height:1.2;letter-spacing:-.02em;margin:0}.container{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 20px}.site-header{position:-webkit-sticky;position:sticky;top:0;z-index:40;background:rgba(255,255,255,.85);-webkit-backdrop-filter:saturate(180%) blur(12px);backdrop-filter:saturate(180%) blur(12px);border-bottom:1px solid var(--border)}.site-header .bar{justify-content:space-between;height:64px}.brand,.site-header .bar{display:flex;align-items:center}.brand{gap:10px;font-weight:800;font-size:20px;letter-spacing:-.03em}.brand .logo{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:linear-gradient(135deg,var(--primary),#8b5cf6);color:#fff;font-size:16px;font-weight:800}.nav{display:flex;gap:6px;align-items:center}.nav a{padding:8px 12px;border-radius:8px;font-size:14px;font-weight:600;color:var(--text-muted)}.nav a:hover{background:var(--surface-2);color:var(--text)}.lang-select{border:1px solid var(--border);background:var(--surface);color:var(--text);font-weight:600;font-size:14px;font-family:inherit;padding:7px 10px;border-radius:8px;cursor:pointer;max-width:130px}.lang-select:hover{border-color:var(--primary)}.lang-select:focus-visible{outline:2px solid var(--primary);outline-offset:1px}.hero{text-align:center;padding:72px 0 20px}.hero h1{font-size:clamp(32px,5.2vw,52px);font-weight:800;letter-spacing:-.03em;max-width:15ch;margin:0 auto}.hero p{color:var(--text-muted);font-size:clamp(16px,2vw,19px);max-width:600px;margin:18px auto 0;line-height:1.6}.hero .badge{display:inline-flex;align-items:center;gap:7px;background:var(--surface);border:1px solid var(--border-strong);color:var(--text);font-weight:600;font-size:13px;padding:7px 14px;border-radius:999px;margin-bottom:24px;box-shadow:var(--shadow-sm)}.hero .badge svg{color:var(--success)}.trust-row{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:26px auto 0}.trust-chip{display:inline-flex;align-items:center;gap:7px;font-size:13.5px;font-weight:600;color:var(--text-muted);background:var(--surface-2);padding:8px 14px;border-radius:999px}.trust-chip svg{color:var(--success);flex-shrink:0}.cat-section{padding-top:8px}.cat-head{display:flex;align-items:baseline;gap:10px;margin:34px 0 16px}.cat-head h2{font-size:15px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;color:var(--text-muted)}.cat-head .count{font-size:13px;color:var(--text-muted);opacity:.7}.cat-head:after{content:"";flex:1 1;height:1px;background:var(--border)}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(248px,1fr));grid-gap:14px;gap:14px}.grid.last{padding-bottom:48px}.tool-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px;transition:box-shadow .16s ease,border-color .16s ease,transform .16s ease;display:flex;flex-direction:column;gap:11px}.tool-card:hover{border-color:var(--border-strong);box-shadow:var(--shadow-md);transform:translateY(-2px)}.tool-card .icon{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;color:#fff}.tool-card h3{font-size:16px;font-weight:650}.tool-card p{margin:0;color:var(--text-muted);font-size:13.5px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tool-page{padding:40px 0 64px}.tool-head{display:flex;gap:16px;align-items:center;margin-bottom:8px}.tool-head .icon{width:52px;height:52px;border-radius:13px;display:grid;place-items:center;color:#fff;flex-shrink:0}.tool-head h1{font-size:28px}.tool-head p{margin:4px 0 0;color:var(--text-muted)}.breadcrumb{font-size:13px;color:var(--text-muted);margin-bottom:20px}.breadcrumb a:hover{color:var(--primary)}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow-sm)}.dropzone{border:2px dashed var(--border);border-radius:var(--radius);background:var(--surface-2);padding:44px 24px;text-align:center;cursor:pointer;transition:border-color .15s,background .15s}.dropzone.drag,.dropzone:hover{border-color:var(--primary);background:var(--primary-soft)}.dropzone .dz-icon{width:54px;height:54px;margin:0 auto 12px;color:var(--primary)}.dropzone strong{font-size:16px}.dropzone span{display:block;color:var(--text-muted);font-size:14px;margin-top:4px}.btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid transparent;border-radius:var(--radius-sm);padding:11px 18px;font-size:15px;font-weight:650;font-family:inherit;cursor:pointer;transition:background .15s,transform .05s,border-color .15s;display:inline-flex;align-items:center;gap:8px}.btn:active{transform:translateY(1px)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover:not(:disabled){background:var(--primary-hover)}.btn-ghost{background:var(--surface);border-color:var(--border);color:var(--text)}.btn-ghost:hover:not(:disabled){background:var(--surface-2)}.btn-danger{background:transparent;color:var(--danger);border-color:transparent;padding:6px 10px}.btn-danger:hover{background:#fee2e2}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.file-list{list-style:none;padding:0;margin:20px 0 0;display:flex;flex-direction:column;gap:10px}.file-row{display:flex;align-items:center;gap:12px;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);padding:10px 14px}.file-row .fi{color:var(--danger);flex-shrink:0}.file-row .meta{flex:1 1;min-width:0}.file-row .meta .name{font-weight:600;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-row .meta .sub{font-size:12px;color:var(--text-muted)}.file-row .move{display:flex;gap:2px}.icon-btn{border:none;background:transparent;cursor:pointer;color:var(--text-muted);width:30px;height:30px;border-radius:7px;display:grid;place-items:center}.icon-btn:hover:not(:disabled){background:#fff;color:var(--text)}.icon-btn:disabled{opacity:.3;cursor:not-allowed}.field{margin-top:18px}.field label{display:block;font-size:14px;font-weight:600;margin-bottom:6px}.field input[type=number],.field input[type=text],.field select{width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);font-size:15px;font-family:inherit;background:var(--surface);color:var(--text)}.field input:focus,.field select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.hint{font-size:13px;color:var(--text-muted);margin-top:6px}.radio-group{display:flex;gap:10px;flex-wrap:wrap}.radio-group label{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--border);border-radius:var(--radius-sm);padding:9px 14px;cursor:pointer;font-weight:600;font-size:14px;background:var(--surface)}.radio-group input{accent-color:var(--primary)}.radio-group label:has(input:checked){border-color:var(--primary);background:var(--primary-soft);color:var(--primary-hover)}.status{margin-top:16px;padding:12px 16px;border-radius:var(--radius-sm);font-size:14px;font-weight:600}.status.err{background:#fee2e2;color:#b91c1c}.status.ok{background:#dcfce7;color:#15803d}.status.info{background:var(--primary-soft);color:var(--primary-hover)}.lang-picker{max-width:560px;margin:0 auto;padding:96px 20px 64px;text-align:center}.lang-picker-brand{display:inline-flex;align-items:center;gap:12px;font-weight:800;font-size:30px;letter-spacing:-.03em}.lang-picker-brand .logo{width:44px;height:44px;border-radius:12px;background:linear-gradient(135deg,var(--primary),#8b5cf6);color:#fff;display:grid;place-items:center;font-size:22px}.lang-picker-sub{color:var(--text-muted);margin:14px 0 32px;font-size:15px}.lang-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:12px;gap:12px}@media (max-width:480px){.lang-grid{grid-template-columns:repeat(2,1fr)}}.lang-option{padding:16px 12px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);font-weight:650;font-size:15px;box-shadow:var(--shadow-sm);transition:border-color .15s,box-shadow .15s,transform .15s}.lang-option:hover{border-color:var(--primary);box-shadow:var(--shadow-md);transform:translateY(-2px)}.result{text-align:center;padding:12px 0 8px}.result-check{width:64px;height:64px;margin:0 auto 16px;border-radius:50%;background:var(--success);color:#fff;font-size:34px;font-weight:800;display:grid;place-items:center}.result-title{font-size:22px}.result-file{color:var(--text-muted);font-size:14px;margin:6px 0 0;word-break:break-all}.result-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:8px}.btn-lg{padding:14px 26px;font-size:16px}.consent{position:fixed;left:16px;right:16px;bottom:16px;z-index:60;max-width:720px;margin:0 auto;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius);box-shadow:var(--shadow-md);padding:16px 18px;display:flex;align-items:center;gap:16px;flex-wrap:wrap}.consent-msg{margin:0;flex:1 1;min-width:220px;font-size:13.5px;color:var(--text-muted);line-height:1.5}.consent-msg a{color:var(--primary);text-decoration:underline;white-space:nowrap}.consent-btns{display:flex;gap:10px;flex-shrink:0}.consent-btns .btn{padding:9px 18px}.donate-cta{display:inline-block;margin-top:22px;font-size:14px;font-weight:600;color:var(--text-muted);border-bottom:1px dashed var(--border-strong);padding-bottom:2px}.donate-cta:hover{color:var(--primary);border-color:var(--primary)}.donate-page{max-width:780px;padding:56px 20px 64px;text-align:center}.donate-page h1{font-size:30px;letter-spacing:-.02em}.donate-lead{color:var(--text-muted);font-size:16px;line-height:1.65;max-width:620px;margin:16px auto 0}.donate-page .privacy-note{justify-content:center;display:flex;margin:16px auto 0}.donate-pick{font-size:15px;font-weight:700;margin:40px 0 18px}.wallets{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));grid-gap:16px;gap:16px;max-width:720px;margin:0 auto}.wallet-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);padding:18px;box-shadow:var(--shadow-sm);gap:12px}.wallet-card,.wallet-head{display:flex;flex-direction:column;align-items:center}.wallet-head{gap:3px}.wallet-head strong{font-size:15px}.wallet-net{font-size:12px;color:var(--text-muted);background:var(--surface-2);padding:2px 9px;border-radius:999px}.wallet-qr{width:160px;height:160px;background:#fff;border-radius:10px;padding:8px;display:grid;place-items:center}.wallet-qr img{width:100%;height:100%;display:block}.wallet-qr-ph{width:100%;height:100%;background:var(--surface-2);border-radius:6px}.wallet-addr{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;color:var(--text-muted);word-break:break-all;text-align:center;line-height:1.5}.donate-thanks{margin-top:32px;font-size:16px;font-weight:600}.ad-slot{width:100%;min-height:90px;margin:28px 0;display:grid;place-items:center;background:repeating-linear-gradient(45deg,var(--surface-2),var(--surface-2) 10px,#eaedf5 10px,#eaedf5 20px);border:1px dashed var(--border);border-radius:var(--radius-sm);color:var(--text-muted);font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.left-rail{position:fixed;top:50%;left:16px;transform:translateY(-50%);width:160px;min-height:600px;z-index:20;display:none}@media (min-width:1560px) and (min-height:680px){.left-rail{display:block}}.thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));grid-gap:16px;gap:16px;margin-top:20px}.thumb{border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden;background:var(--surface);box-shadow:var(--shadow-sm)}.thumb img{width:100%;display:block}.thumb .cap{display:flex;justify-content:space-between;align-items:center;padding:8px 10px;font-size:12px;font-weight:600;color:var(--text-muted)}.viewer-canvas-wrap{margin-top:20px;background:#525659;border-radius:var(--radius-sm);padding:20px;max-height:78vh;overflow:auto;display:flex;flex-direction:column;align-items:center;gap:16px}.viewer-canvas-wrap canvas{box-shadow:0 2px 8px rgba(0,0,0,.4);max-width:100%;height:auto}.viewer-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px}.viewer-image{max-width:100%;height:auto;display:block;margin:0 auto;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.4)}.viewer-doc{border-radius:var(--radius-sm);background:#f0f0f3}.viewer-doc,.viewer-sheet{margin-top:20px;max-height:80vh;overflow:auto;border:1px solid var(--border)}.viewer-sheet{border-radius:var(--radius-sm);background:var(--surface)}.viewer-sheet .sheet-name{margin:12px 12px 4px;font-size:14px;font-weight:700;color:var(--text)}.viewer-sheet table{border-collapse:collapse;font-size:13px;color:var(--text)}.viewer-sheet td,.viewer-sheet th{border:1px solid var(--border);padding:4px 9px;white-space:nowrap}.viewer-text{margin-top:20px;white-space:pre-wrap;word-break:break-word;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);padding:16px;max-height:80vh;overflow:auto;font-size:14px;line-height:1.6}.site-footer{border-top:1px solid var(--border);background:var(--surface);margin-top:40px}.site-footer .inner{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;padding:28px 0;font-size:14px;color:var(--text-muted)}.site-footer .flinks{display:flex;gap:18px;flex-wrap:wrap}.site-footer .flinks a:hover{color:var(--primary)}.prose{max-width:760px;margin:40px auto 0;color:var(--text-muted)}.prose h2{color:var(--text);font-size:22px;margin:28px 0 10px}.prose p{margin:0 0 12px}.privacy-note{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--success);font-weight:600;margin-top:14px}:focus-visible{outline:2px solid var(--primary);outline-offset:2px;border-radius:4px}@media (max-width:720px){.nav{overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;max-width:62vw}.nav::-webkit-scrollbar{display:none}.nav a{white-space:nowrap}}.progress{width:100%;height:8px;background:var(--surface-2);border-radius:999px;overflow:hidden;margin-top:16px}.progress>span{display:block;height:100%;background:var(--primary);transition:width .2s ease}.progress-label{font-size:13px;color:var(--text-muted);margin-top:8px;font-weight:600}.page-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));grid-gap:14px;gap:14px;margin-top:20px}.page-thumb{position:relative;border:1px solid var(--border);border-radius:10px;overflow:hidden;background:var(--surface);box-shadow:var(--shadow-sm);cursor:-webkit-grab;cursor:grab;transition:outline .1s,opacity .1s}.page-thumb:active{cursor:-webkit-grabbing;cursor:grabbing}.page-thumb.dragging{opacity:.4}.page-thumb.over{outline:2px solid var(--primary);outline-offset:1px}.page-thumb.deleted{opacity:.35;filter:grayscale(1)}.page-thumb canvas,.page-thumb img{width:100%;display:block}.page-thumb .pnum{left:6px;background:rgba(0,0,0,.6);font-size:11px;font-weight:700;padding:2px 7px;border-radius:6px}.page-thumb .del,.page-thumb .pnum{position:absolute;top:6px;color:#fff}.page-thumb .del{right:6px;background:rgba(239,68,68,.92);border:none;width:26px;height:26px;border-radius:6px;cursor:pointer;display:grid;place-items:center;opacity:0;transition:opacity .12s}.page-thumb:focus-within .del,.page-thumb:hover .del{opacity:1}.file-row.draggable{cursor:-webkit-grab;cursor:grab}.file-row.dragging{opacity:.4}.file-row.over{border-color:var(--primary);box-shadow:0 0 0 2px var(--primary-soft)}.drag-handle{color:var(--text-muted);cursor:-webkit-grab;cursor:grab;display:grid;place-items:center;padding:0 2px}.faq{max-width:760px;margin:8px auto 0}.faq details{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);padding:4px 16px;margin-bottom:10px}.faq summary{cursor:pointer;font-weight:650;padding:12px 0;list-style:none}.faq summary::-webkit-details-marker{display:none}.faq summary:after{content:"+";float:right;color:var(--text-muted);font-size:20px;line-height:1}.faq details[open] summary:after{content:"−"}.faq p{margin:0 0 14px;color:var(--text-muted);font-size:14px}.callout{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-radius:var(--radius-sm);font-size:14px;margin-top:16px;background:var(--primary-soft);color:var(--text);border:1px solid var(--border)}.callout.warn{background:#fff7ed;border-color:#fed7aa;color:#9a3412}.callout a{color:var(--primary);font-weight:700;text-decoration:underline}@media (prefers-color-scheme:dark){:root{--bg:#0e1017;--surface:#171a22;--surface-2:#1f232e;--border:#2a2f3b;--text:#e6e8ee;--text-muted:#99a2b2;--primary-hover:#7f82f2;--primary-soft:#20233a;--shadow-sm:0 1px 2px rgba(0,0,0,0.4);--shadow-md:0 8px 24px rgba(0,0,0,0.5)}.site-header{background:rgba(14,16,23,.85)}.brand .logo{background:linear-gradient(135deg,var(--primary),#8b5cf6)}.ad-slot{background:repeating-linear-gradient(45deg,var(--surface-2),var(--surface-2) 10px,#262b36 10px,#262b36 20px)}.status.err{background:#3b1a1a;color:#fca5a5}.status.ok{background:#12321f;color:#86efac}.callout.warn{background:#2a1c0f;border-color:#5a3a1a;color:#fdba74}.page-thumb canvas,.thumb img{background:#fff}}