:root{--bg:#f6f7fb;--surface:#fff;--surface-2:#f1f3f9;--text:#0f172a;--muted:#5a6479;--border:#e2e6f0;--primary:#4f46e5;--primary-h:#4338ca;--primary-ink:#fff;--primary-soft:#eceefe;--ok:#138a52;--ok-soft:#e4f6ec;--warn:#b45309;--warn-soft:#fff4de;--bad:#c62a38;--bad-soft:#fdecee;--shadow:0 1px 2px #0f172a0d, 0 6px 20px #0f172a0f;--shadow-lg:0 10px 40px #25286e24;--radius:16px;--radius-sm:10px;--c-pdf:#e5484d;--c-image:#2f6fed;--c-exam:#d97706;--c-more:#0d9488;--font:system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", Arial, sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}[data-theme=dark]{--bg:#0a0f1f;--surface:#121a33;--surface-2:#19223f;--text:#e8ecf8;--muted:#9aa6c4;--border:#26315a;--primary:#6d74ff;--primary-h:#5a61f0;--primary-soft:#1d2552;--ok:#4ade80;--ok-soft:#12301f;--warn:#fbbf24;--warn-soft:#33270c;--bad:#ff7a85;--bad-soft:#3a1620;--shadow:0 1px 2px #0000004d, 0 6px 20px #0000004d;--shadow-lg:0 10px 40px #00000080;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:76px}body{font-family:var(--font);background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;margin:0;font-size:16px;line-height:1.55}img,svg,canvas{max-width:100%}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3{letter-spacing:-.02em;margin:0 0 .5em;line-height:1.2}h1{font-size:max(1.7rem,min(4.5vw,2.6rem));font-weight:800}h2{font-size:max(1.25rem,min(3vw,1.6rem));font-weight:750}h3{font-size:1rem;font-weight:700}p{margin:0 0 1em}.wrap{width:100%;max-width:1140px;margin:0 auto;padding:0 20px}.wrap.narrow{max-width:780px}.skip{background:var(--primary);color:#fff;z-index:100;border-radius:8px;padding:8px 14px;position:absolute;top:8px;left:-999px}.skip:focus{left:8px}.ico{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:1.25em;height:1.25em}:focus-visible{outline:3px solid var(--primary);outline-offset:2px;border-radius:6px}[hidden]{display:none!important}.site-header{z-index:50;background:color-mix(in srgb, var(--bg) 86%, transparent);-webkit-backdrop-filter:saturate(1.4)blur(14px);border-bottom:1px solid var(--border);position:-webkit-sticky;position:sticky;top:0}.bar{align-items:center;gap:18px;height:64px;display:flex}.brand{color:var(--text);letter-spacing:-.02em;align-items:center;gap:10px;font-size:1.1rem;font-weight:700;display:inline-flex}.brand b{color:var(--primary);margin-left:2px;font-weight:800}.brand:hover{text-decoration:none}.nav{flex:1;gap:4px;margin-left:12px;display:flex}.nav a{color:var(--muted);border-radius:10px;padding:8px 12px;font-size:.95rem;font-weight:600}.nav a:hover{background:var(--surface-2);color:var(--text);text-decoration:none}.bar-actions{gap:6px;margin-left:auto;display:flex}.icon-btn{border:1px solid var(--border);background:var(--surface);width:42px;height:42px;color:var(--text);cursor:pointer;border-radius:12px;place-items:center;display:inline-grid}.icon-btn:hover{background:var(--surface-2)}.icon-btn .ico{width:20px;height:20px}.menu-btn,.t-moon,[data-theme=dark] .t-sun{display:none}[data-theme=dark] .t-moon{display:inline-flex}.hero{text-align:center;background:radial-gradient(900px 340px at 50% -10%,#6366f12e,#0000 70%),radial-gradient(600px 260px at 85% 10%,#06b6d424,#0000 70%);padding:54px 0 30px}.eyebrow{color:var(--primary);background:var(--primary-soft);border-radius:999px;margin-bottom:16px;padding:6px 14px;font-size:.85rem;font-weight:650;display:inline-block}.hero h1{max-width:820px;margin:0 auto 14px}.hero-p{max-width:640px;color:var(--muted);margin:0 auto 26px;font-size:1.1rem}.search{max-width:620px;margin:0 auto;position:relative}.search .ico{color:var(--muted);width:20px;height:20px;position:absolute;top:50%;left:16px;transform:translateY(-50%)}.search input{border:1.5px solid var(--border);background:var(--surface);width:100%;height:56px;color:var(--text);font:inherit;box-shadow:var(--shadow);border-radius:16px;padding:0 18px 0 48px;font-size:1.02rem}.search input:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 4px #6366f133}.section{margin:40px 0}.sec-h{flex-wrap:wrap;align-items:baseline;gap:4px 14px;margin-bottom:16px;display:flex}.sec-h h2{margin:0}.sec-h p{color:var(--muted);margin:0}.grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px;display:grid}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);color:var(--text);grid-template-columns:auto 1fr;grid-template-areas:"i t""i d";align-items:center;gap:2px 14px;padding:16px;transition:transform .15s,box-shadow .15s,border-color .15s;display:grid}.card:hover{box-shadow:var(--shadow-lg);border-color:color-mix(in srgb, var(--primary) 40%, var(--border));text-decoration:none;transform:translateY(-2px)}.card .chip{grid-area:i}.card-t{grid-area:t;align-self:end;font-weight:700}.card-d{color:var(--muted);grid-area:d;align-self:start;font-size:.88rem;line-height:1.35}.chip{border-radius:13px;flex:none;place-items:center;width:46px;height:46px;display:inline-grid}.chip .ico{width:24px;height:24px}.chip.lg{border-radius:16px;width:58px;height:58px}.chip.lg .ico{width:30px;height:30px}.c-pdf{color:var(--c-pdf);background:#e5484d21}.c-image{color:var(--c-image);background:#2f6fed21}.c-exam{color:var(--c-exam);background:#d9770624}.c-more{color:var(--c-more);background:#0d948824}.pills{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.pill{background:var(--surface);border:1px solid var(--border);color:var(--text);border-radius:999px;padding:7px 14px;font-size:.88rem;font-weight:600}.pill:hover{background:var(--primary-soft);border-color:var(--primary);color:var(--primary);text-decoration:none}.empty{text-align:center;color:var(--muted);background:var(--surface);border:1px dashed var(--border);border-radius:var(--radius);margin-top:24px;padding:30px}.crumbs{color:var(--muted);flex-wrap:wrap;gap:6px;padding:18px 0 6px;font-size:.86rem;display:flex}.crumbs a{color:var(--muted)}.crumbs span[aria-current]{color:var(--text);font-weight:600}.tool-hero{align-items:center;gap:16px;margin:8px 0 20px;display:flex}.tool-hero h1{margin:0 0 6px;font-size:max(1.5rem,min(4vw,2.2rem))}.lead{color:var(--muted);max-width:760px;margin:0;font-size:1.05rem}.workspace{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:22px;min-height:260px;padding:max(14px,min(3vw,28px))}.loading{color:var(--muted);justify-content:center;align-items:center;gap:12px;padding:40px 0;display:flex}.spin{border:3px solid var(--border);border-top-color:var(--primary);border-radius:50%;width:20px;height:20px;animation:.8s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.note{background:var(--warn-soft);color:var(--warn);border-radius:10px;margin:12px 2px 0;padding:10px 14px;font-size:.9rem}.ad-slot{text-align:center;max-width:100%;margin:22px auto;overflow:hidden}.ad-slot:empty{display:none}.cols{grid-template-columns:1.4fr 1fr;gap:26px;display:grid}.prose{margin:34px 0}.prose h2{margin-bottom:.7em}.steps{counter-reset:s;gap:10px;margin:0;padding-left:0;list-style:none;display:grid}.steps li{counter-increment:s;background:var(--surface);border:1px solid var(--border);border-radius:12px;align-items:flex-start;gap:12px;padding:12px 14px;display:flex}.steps li:before{content:counter(s);background:var(--primary);color:#fff;border-radius:50%;flex:none;place-items:center;width:28px;height:28px;font-size:.9rem;font-weight:700;display:grid}.ticks{gap:10px;margin:0;padding:0;list-style:none;display:grid}.ticks li{padding-left:30px;position:relative}.ticks li:before{content:"";background:var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23138a52' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;border-radius:50%;width:20px;height:20px;position:absolute;top:3px;left:0}.faq details{background:var(--surface);border:1px solid var(--border);border-radius:12px;margin-bottom:10px}.faq summary{cursor:pointer;justify-content:space-between;gap:12px;padding:14px 16px;font-weight:650;list-style:none;display:flex}.faq summary::-webkit-details-marker{display:none}.faq summary:after{content:"+";color:var(--muted);font-size:1.3rem;line-height:1}.faq details[open] summary:after{content:"–"}.faq details p{color:var(--muted);margin:0;padding:0 16px 14px}.doc{background:var(--surface);border:1px solid var(--border);border-radius:20px;margin:30px 0 50px;padding:max(20px,min(4vw,40px))}.doc.center{text-align:center}.doc h2{margin-top:1.4em;font-size:1.2rem}.site-footer{background:var(--surface);border-top:1px solid var(--border);margin-top:70px;padding:40px 0 18px}.foot{grid-template-columns:1.6fr 1fr 1fr 1fr;gap:28px;display:grid}.foot h3{text-transform:uppercase;letter-spacing:.07em;color:var(--muted);font-size:.8rem}.foot ul{gap:7px;margin:0;padding:0;list-style:none;display:grid}.foot a{color:var(--text);font-size:.93rem}.foot-brand p{color:var(--muted);max-width:330px;font-size:.92rem}.copy{color:var(--muted);margin-top:28px;font-size:.85rem}.btn{background:var(--primary);min-height:48px;color:var(--primary-ink);font:inherit;cursor:pointer;border:1.5px solid #0000;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:0 22px;font-weight:700;text-decoration:none;transition:background .15s,transform 50ms;display:inline-flex}.btn:hover{background:var(--primary-h);text-decoration:none}.btn:active{transform:translateY(1px)}.btn[disabled]{opacity:.5;cursor:not-allowed}.btn.sec{background:var(--surface);color:var(--text);border-color:var(--border)}.btn.sec:hover{background:var(--surface-2)}.btn.ghost{color:var(--primary);background:0 0}.btn.ghost:hover{background:var(--primary-soft)}.btn.sm{border-radius:9px;min-height:36px;padding:0 12px;font-size:.88rem}.btn.lg{min-height:54px;padding:0 30px;font-size:1.05rem}.btn.ok{background:var(--ok)}.btn.danger{background:var(--bad)}.actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:18px;display:flex}.actions.center{justify-content:center}.field{gap:6px;margin-bottom:14px;display:grid}.field>label,.lbl{font-size:.92rem;font-weight:650}.hint{color:var(--muted);font-size:.85rem}input[type=text],input[type=number],input[type=password],input[type=date],input[type=email],input[type=url],select,textarea{border:1.5px solid var(--border);background:var(--surface);width:100%;min-height:46px;color:var(--text);font:inherit;border-radius:11px;padding:10px 14px}textarea{resize:vertical;min-height:140px}input:focus,select:focus,textarea:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 3px #6366f138}input[type=range]{width:100%;accent-color:var(--primary);min-height:32px}input[type=color]{border:1.5px solid var(--border);background:var(--surface);border-radius:10px;width:54px;height:46px;padding:3px}input[type=checkbox],input[type=radio]{accent-color:var(--primary);width:18px;height:18px}.row{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;display:grid}.row.two{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.check{cursor:pointer;align-items:center;gap:10px;min-height:36px;font-weight:550;display:flex}.seg{background:var(--surface-2);border-radius:12px;flex-wrap:wrap;gap:2px;padding:4px;display:inline-flex}.seg button{font:inherit;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px;min-height:38px;padding:8px 14px;font-weight:650}.seg button[aria-pressed=true],.seg button.on{background:var(--surface);color:var(--primary);box-shadow:0 1px 3px #0000001f}.panel{background:var(--surface-2);border:1px solid var(--border);border-radius:14px;margin-top:16px;padding:16px}.panel>h3{margin-bottom:12px}.msg{border-radius:11px;margin-top:14px;padding:12px 14px;font-size:.94rem}.msg.info{background:var(--primary-soft);color:var(--primary)}.msg.ok{background:var(--ok-soft);color:var(--ok)}.msg.warn{background:var(--warn-soft);color:var(--warn)}.msg.err{background:var(--bad-soft);color:var(--bad)}.drop{text-align:center;border:2.5px dashed color-mix(in srgb, var(--primary) 45%, var(--border));background:var(--primary-soft);cursor:pointer;border-radius:18px;place-items:center;gap:8px;padding:max(28px,min(6vw,56px)) 20px;transition:background .15s,border-color .15s;display:grid}.drop:hover,.drop.over{background:color-mix(in srgb, var(--primary) 16%, var(--surface));border-color:var(--primary)}.drop .big{background:var(--primary);color:#fff;border-radius:18px;place-items:center;width:60px;height:60px;display:grid;box-shadow:0 8px 22px #4f46e559}.drop .big .ico{width:30px;height:30px}.drop strong{font-size:1.15rem}.drop span.sub{color:var(--muted);font-size:.9rem}.drop input{display:none}.files{gap:8px;margin:14px 0;display:grid}.file{background:var(--surface-2);border:1px solid var(--border);border-radius:12px;align-items:center;gap:12px;padding:10px 12px;display:flex}.file .thumb{object-fit:cover;background:var(--surface);border:1px solid var(--border);width:44px;height:44px;color:var(--muted);border-radius:8px;flex:none;place-items:center;display:grid;overflow:hidden}.file .thumb img,.file .thumb canvas{object-fit:cover;width:100%;height:100%}.file .meta{flex:1;min-width:0}.file .name{text-overflow:ellipsis;white-space:nowrap;font-weight:650;overflow:hidden}.file .sub{color:var(--muted);font-size:.82rem}.file .btns{gap:4px;display:flex}.mini{border:1px solid var(--border);background:var(--surface);width:34px;height:34px;color:var(--text);cursor:pointer;border-radius:9px;place-items:center;padding:0;display:inline-grid}.mini:hover{background:var(--primary-soft);color:var(--primary)}.mini[disabled]{opacity:.35;cursor:default}.mini .ico{width:17px;height:17px}.mini.del:hover{background:var(--bad-soft);color:var(--bad)}.bar-prog{background:var(--surface-2);border:1px solid var(--border);border-radius:99px;height:10px;margin:10px 0 6px;overflow:hidden}.bar-prog>i{background:linear-gradient(90deg, var(--primary), #06b6d4);border-radius:99px;width:0;height:100%;transition:width .2s;display:block}.prog-txt{color:var(--muted);text-align:center;font-size:.9rem}.result{text-align:center}.result .ok-badge{background:var(--ok-soft);width:64px;height:64px;color:var(--ok);border-radius:50%;place-items:center;margin:4px auto 12px;display:grid}.result .ok-badge .ico{stroke-width:2.6px;width:32px;height:32px}.out{text-align:left;gap:8px;margin:16px 0;display:grid}.out .file{background:var(--surface)}.stat{background:var(--ok-soft);color:var(--ok);border-radius:99px;align-items:center;gap:6px;margin:4px;padding:4px 12px;font-size:.9rem;font-weight:650;display:inline-flex}.stat.neutral{background:var(--surface-2);color:var(--muted)}.preview-img{border:1px solid var(--border);background:repeating-conic-gradient(var(--surface-2) 0 25%, var(--surface) 0 50%) 0 0 / 16px 16px;border-radius:12px;max-width:100%;max-height:380px}.pgrid{grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:12px;margin:14px 0;display:grid}.pg{background:var(--surface-2);border:2px solid var(--border);text-align:center;cursor:default;border-radius:12px;padding:8px 8px 6px;position:relative}.pg.sel{border-color:var(--primary);background:var(--primary-soft)}.pg.del{border-color:var(--bad);background:var(--bad-soft)}.pg.del .pg-c{opacity:.35;filter:grayscale()}.pg-c{border:1px solid var(--border);background:#fff;border-radius:6px;place-items:center;height:150px;display:grid;overflow:hidden}.pg-c canvas{background:#fff;max-width:100%;max-height:100%;transition:transform .2s}.pg-n{color:var(--muted);margin:6px 0 4px;font-size:.8rem;font-weight:600}.pg-b{justify-content:center;gap:4px;display:flex}.pg .tick{background:var(--primary);color:#fff;z-index:2;border-radius:50%;place-items:center;width:24px;height:24px;display:none;position:absolute;top:6px;right:6px}.pg.sel .tick{display:grid}.pg.del .tick{background:var(--bad);display:grid}.pg .tick .ico{stroke-width:3px;width:14px;height:14px}.pg.clickable .pg-c{cursor:pointer}.toolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.crop-wrap{touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;background:#111;border-radius:10px;max-width:100%;margin:0 auto;display:block;position:relative;overflow:hidden}.crop-wrap canvas{width:100%;height:auto;display:block}.crop-box{cursor:move;touch-action:none;border:2px solid #fff;position:absolute;box-shadow:0 0 0 9999px #0000008c}.crop-box:before,.crop-box:after{content:"";pointer-events:none;background:linear-gradient(#ffffff73,#ffffff73) 33.33% 0/1px 100% no-repeat,linear-gradient(#ffffff73,#ffffff73) 66.66% 0/1px 100% no-repeat,linear-gradient(#ffffff73,#ffffff73) 0 33.33%/100% 1px no-repeat,linear-gradient(#ffffff73,#ffffff73) 0 66.66%/100% 1px no-repeat;position:absolute;top:0;bottom:0;left:0;right:0}.crop-box i{border:3px solid var(--primary);touch-action:none;background:#fff;border-radius:50%;width:26px;height:26px;position:absolute;transform:translate(-50%,-50%)}.crop-box i[data-h=nw]{cursor:nwse-resize;top:0;left:0}.crop-box i[data-h=ne]{cursor:nesw-resize;top:0;left:100%}.crop-box i[data-h=sw]{cursor:nesw-resize;top:100%;left:0}.crop-box i[data-h=se]{cursor:nwse-resize;top:100%;left:100%}.ann-stage{touch-action:pan-y;max-width:100%;box-shadow:var(--shadow);background:#fff;border-radius:4px;margin:12px auto;position:relative}.ann-stage canvas.page{width:100%;height:auto;display:block}.ann-layer{position:absolute;top:0;bottom:0;left:0;right:0}.ann-item{cursor:move;touch-action:none;border:1.5px dashed #0000;position:absolute}.ann-item.on{border-color:var(--primary)}.ann-item img{pointer-events:none;-webkit-user-drag:none;width:100%;height:100%;display:block}.ann-item .txt{white-space:pre;pointer-events:none;line-height:1.1}.ann-item .rz{background:var(--primary);cursor:nwse-resize;touch-action:none;border:3px solid #fff;border-radius:50%;width:22px;height:22px;display:none;position:absolute;bottom:-10px;right:-10px}.ann-item.on .rz{display:block}.ann-item .rm{background:var(--bad);color:#fff;cursor:pointer;border:2px solid #fff;border-radius:50%;place-items:center;width:22px;height:22px;font-size:13px;line-height:1;display:none;position:absolute;top:-10px;right:-10px}.ann-item.on .rm{display:grid}.sig-pad{border:2px dashed var(--border);touch-action:none;background:#fff;border-radius:12px;width:100%;height:180px;display:block}.pager{justify-content:center;align-items:center;gap:12px;margin:8px 0;font-weight:650;display:flex}.two-col{grid-template-columns:1fr 1fr;gap:16px;display:grid}.compare-grid{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.compare-grid figure{text-align:center;color:var(--muted);margin:0;font-size:.85rem}.compare-grid canvas{border:1px solid var(--border);background:#fff;border-radius:8px;width:100%;height:auto}.kv{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-top:14px;display:grid}.kv>div{background:var(--surface-2);border:1px solid var(--border);border-radius:12px;padding:12px 14px}.kv b{letter-spacing:-.02em;font-size:1.5rem;display:block}.kv span{color:var(--muted);font-size:.85rem}.qr-out{border:1px solid var(--border);background:#fff;border-radius:14px;place-items:center;gap:12px;padding:16px;display:grid}.qr-out canvas{image-rendering:pixelated;max-width:100%;height:auto}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.85rem}@media (max-width:860px){.cols,.foot,.two-col{grid-template-columns:1fr}.foot{gap:22px}.compare-grid{grid-template-columns:1fr}}@media (max-width:720px){.menu-btn{display:inline-grid}.nav{background:var(--surface);border-bottom:1px solid var(--border);box-shadow:var(--shadow-lg);visibility:hidden;flex-direction:column;margin:0;padding:10px 16px 16px;transition:transform .2s,visibility .2s;position:fixed;top:64px;left:0;right:0;transform:translateY(-120%)}.nav.open{visibility:visible;transform:none}.nav a{padding:14px 12px;font-size:1.05rem}.tool-hero{align-items:flex-start}.chip.lg{width:48px;height:48px}.chip.lg .ico{width:24px;height:24px}.grid{grid-template-columns:1fr}.hero{padding:36px 0 22px}.btn.lg{width:100%}.actions .btn{flex:auto}.pgrid{grid-template-columns:repeat(auto-fill,minmax(112px,1fr))}.pg-c{height:124px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important}}@media print{.site-header,.site-footer,.ad-slot{display:none}}
