:root{--bg-page:#0e0e0f;--bg-app:#161617;--surface:#1f1f21;--surface-2:#2a2a2d;--surface-3:#333336;--border:#2e2e31;--border-strong:#3a3a3d;--text:#f4f4f2;--text-muted:#9a9a9e;--text-faint:#5e5e62;--invert-bg:#f4f4f2;--invert-text:#0e0e0f;--ok:#8fbf9a;--error:#e08a8a;--radius-lg:24px;--radius-md:16px;--radius-sm:10px;--radius-pill:999px;--font:"Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}[data-theme=light]{--bg-page:#e9e8e4;--bg-app:#f4f3f0;--surface:#fff;--surface-2:#efeeea;--surface-3:#e2e1dc;--border:#e2e1dc;--border-strong:#cfcec8;--text:#111112;--text-muted:#6b6b70;--text-faint:#9a9a9e;--invert-bg:#111112;--invert-text:#f4f3f0;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html,body,#root{height:100%}body{font-family:var(--font);background:var(--bg-page);color:var(--text);-webkit-font-smoothing:antialiased;margin:0;font-size:15px;line-height:1.5}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit;color:inherit}h1,h2,h3,h4{letter-spacing:-.02em;margin:0;font-weight:600}p{margin:0}:focus-visible{outline:2px solid var(--text);outline-offset:2px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.shell{min-height:100%;padding:20px}.app{background:var(--bg-app);border-radius:32px;gap:20px;min-height:calc(100vh - 40px);padding:20px;display:flex}.rail{flex-direction:column;flex-shrink:0;align-self:flex-start;align-items:center;gap:12px;width:64px;height:calc(100vh - 80px);padding:16px 0;display:flex;position:sticky;top:40px}.brand{color:var(--text);align-self:flex-start;padding:2px 2px 0;display:inline-flex}.brand:hover{opacity:.85}.rail-group{background:var(--surface);border-radius:var(--radius-pill);flex-direction:column;gap:10px;padding:8px;display:flex}.rail-spacer{flex:1}.icon-btn{border:1px solid var(--border-strong);width:44px;height:44px;color:var(--text-muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;transition:background .15s,color .15s;display:grid}.icon-btn:hover{color:var(--text);background:var(--surface-2)}.icon-btn.active{background:var(--invert-bg);color:var(--invert-text);border-color:#0000}.main{flex-direction:column;flex:1;gap:20px;min-width:0;padding:8px 4px;display:flex}.topbar{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.topbar-title{flex:1;min-width:200px}.topbar-title h1{font-size:22px;font-weight:600}.topbar-title p{color:var(--text-muted);font-size:14px}.search{border:1px solid var(--border-strong);border-radius:var(--radius-pill);width:min(320px,100%);height:44px;color:var(--text-muted);align-items:center;gap:8px;padding:0 16px;display:flex;position:relative}.search input{background:0 0;border:0;outline:none;flex:1;min-width:0}.search-results{z-index:20;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-md);flex-direction:column;padding:6px;display:flex;position:absolute;top:52px;left:0;right:0}.search-results a{border-radius:var(--radius-sm);color:var(--text);align-items:center;gap:10px;padding:8px 12px;display:flex}.search-results a:hover{background:var(--surface-2)}.btn{border-radius:var(--radius-pill);border:1px solid var(--border-strong);cursor:pointer;background:0 0;justify-content:center;align-items:center;gap:8px;height:44px;padding:0 22px;font-weight:500;transition:background .15s,opacity .15s;display:inline-flex}.btn:hover{background:var(--surface-2)}.btn-primary{background:var(--invert-bg);color:var(--invert-text);border-color:#0000}.btn-primary:hover{background:var(--invert-bg);opacity:.88}.btn-lg{height:54px;padding:0 32px;font-size:16px}.btn:disabled{opacity:.45;cursor:not-allowed}.chip{border-radius:var(--radius-pill);border:1px solid var(--border-strong);height:34px;color:var(--text-muted);cursor:pointer;white-space:nowrap;background:0 0;padding:0 16px}.chip.active{background:var(--invert-bg);color:var(--invert-text);border-color:#0000}.chips{flex-wrap:wrap;gap:8px;display:flex}.card{background:var(--surface);border-radius:var(--radius-lg);padding:22px}.card-invert{background:var(--invert-bg);color:var(--invert-text)}.card-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.card-head h2{font-size:17px;font-weight:600}.muted{color:var(--text-muted)}.faint{color:var(--text-faint)}.small{font-size:13px}.grid{gap:20px;display:grid}.grid-hero{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}.grid-row2{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}.stack{flex-direction:column;gap:20px;display:flex}.stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;display:grid}.stat-value{letter-spacing:-.03em;margin-top:6px;font-size:36px;font-weight:600;line-height:1.1}.stat-row{color:var(--text-muted);justify-content:space-between;font-size:13px;display:flex}.bar{border-radius:var(--radius-pill);background:var(--surface-3);height:10px;overflow:hidden}.bar>div{background:var(--text);border-radius:var(--radius-pill);height:100%}.dropzone{border:1.5px dashed var(--text-faint);border-radius:var(--radius-lg);text-align:center;cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:220px;padding:28px 20px;transition:transform .15s;display:flex}.dropzone.drag{border-style:solid;transform:scale(1.01)}.dropzone .drop-icon{background:var(--invert-text);width:60px;height:60px;color:var(--invert-bg);border-radius:50%;place-items:center;display:grid}.card-invert .dropzone{border-color:#9a9a9e}.dropzone-plain{background:var(--surface)}.dropzone-plain .drop-icon{background:var(--invert-bg);color:var(--invert-text)}.tiles{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px;display:grid}.tile{background:var(--surface-2);border-radius:var(--radius-md);flex-direction:column;justify-content:space-between;gap:12px;min-height:128px;padding:16px;transition:background .15s,transform .15s;display:flex;position:relative}.tile:hover{background:var(--surface-3);transform:translateY(-2px)}.tile-top{justify-content:space-between;align-items:flex-start;display:flex}.tile-name{font-size:15px;font-weight:600}.tile-desc{color:var(--text-muted);font-size:13px}.tile.invert{background:var(--invert-bg);color:var(--invert-text)}.tile.invert .tile-desc{color:#5e5e62}.tile.dashed{border:1.5px dashed var(--text-faint);color:var(--text-muted);background:0 0;justify-content:center;align-items:center}.badge{border-radius:var(--radius-pill);border:1px solid var(--border-strong);color:var(--text-muted);white-space:nowrap;padding:2px 10px;font-size:11px}.badge-new{background:var(--invert-bg);color:var(--invert-text);border-color:#0000}.tile.invert .badge{color:#5e5e62;border-color:#bdbdbd}.section-title{color:var(--text-muted);margin:8px 0 12px;font-size:15px;font-weight:600}.tool-layout{grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:20px;display:grid}.tool-header{align-items:center;gap:14px;display:flex}.tool-header .icon-btn{flex-shrink:0}.panel{background:var(--surface);border-radius:var(--radius-lg);flex-direction:column;gap:16px;padding:22px;display:flex;position:sticky;top:40px}.field{flex-direction:column;gap:6px;display:flex}.field label{color:var(--text-muted);font-size:13px}.input,.select{border-radius:var(--radius-sm);border:1px solid var(--border-strong);background:var(--surface-2);outline:none;width:100%;height:44px;padding:0 14px}.input:focus,.select:focus{border-color:var(--text-muted)}.segment{background:var(--surface-2);border-radius:var(--radius-pill);gap:4px;padding:4px;display:flex}.segment button{border-radius:var(--radius-pill);cursor:pointer;height:36px;color:var(--text-muted);background:0 0;border:0;flex:1;font-size:13px}.segment button.active{background:var(--invert-bg);color:var(--invert-text)}.check{cursor:pointer;align-items:center;gap:10px;font-size:14px;display:flex}.check input{accent-color:var(--text);width:18px;height:18px}.files{flex-direction:column;gap:8px;display:flex}.file-row{background:var(--surface-2);border-radius:var(--radius-md);align-items:center;gap:12px;padding:10px 12px;display:flex}.file-row[draggable=true]{cursor:grab}.file-row .name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-weight:500;overflow:hidden}.file-row .icon-btn{width:34px;height:34px}.pages{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:14px;display:grid}.page-thumb{background:var(--surface-2);border-radius:var(--radius-md);cursor:grab;-webkit-user-select:none;user-select:none;flex-direction:column;align-items:center;gap:8px;padding:10px;display:flex;position:relative}.page-thumb.dragging{opacity:.4}.page-thumb.over{outline:2px solid var(--text)}.page-thumb canvas,.page-thumb img{background:#fff;border-radius:6px;width:100%;height:auto;display:block}.page-thumb .page-actions{gap:6px;display:flex}.page-thumb .icon-btn{width:30px;height:30px}.page-num{color:var(--text-muted);font-size:12px}.result{background:var(--invert-bg);color:var(--invert-text);border-radius:var(--radius-lg);align-items:center;gap:14px;padding:18px 20px;display:flex}.result .btn-primary{background:var(--invert-text);color:var(--invert-bg)}.result>div{overflow-wrap:anywhere}@media (width<=720px){.result{flex-wrap:wrap}.result>div{flex-basis:calc(100% - 44px)!important}.result>.btn{flex:1;justify-content:center}}.alert{border-radius:var(--radius-md);background:var(--surface-2);padding:12px 14px;font-size:14px}.alert-error{color:var(--error)}.privacy{color:var(--text-muted);align-items:center;gap:6px;font-size:12px;display:inline-flex}.progress-ring{position:relative}.guide{grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:20px;display:grid}.guide h2{margin-bottom:10px;font-size:18px}.guide ol{color:var(--text-muted);flex-direction:column;gap:6px;margin:0;padding-left:20px;display:flex}.faq details{border-top:1px solid var(--border);padding:12px 0}.faq summary{cursor:pointer;font-weight:500}.faq p{color:var(--text-muted);margin-top:6px;font-size:14px}.ad-slot{border:1px solid var(--border);border-radius:var(--radius-lg);flex-direction:column;min-height:250px;padding:12px;display:flex}.ad-label{color:var(--text-faint);text-transform:uppercase;letter-spacing:.08em;font-size:11px}.plans{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:20px;display:grid}.plan{flex-direction:column;gap:14px;display:flex}.plan .price{letter-spacing:-.03em;font-size:34px;font-weight:600}.plan ul{flex-direction:column;gap:8px;margin:0;padding:0;font-size:14px;list-style:none;display:flex}.plan li{align-items:flex-start;gap:8px;display:flex}.table{border-collapse:collapse;width:100%;font-size:14px}.table th,.table td{text-align:left;border-bottom:1px solid var(--border);padding:12px 10px}.table th{color:var(--text-muted);font-weight:500}@media (width<=1100px){.tool-layout{grid-template-columns:1fr}.panel{position:static}}@media (width<=900px){.grid-hero,.grid-row2,.guide{grid-template-columns:1fr}.stats{grid-template-columns:1fr 1fr 1fr;gap:12px}.stat-value{font-size:26px}}@media (width<=720px){.shell{padding:0}.app{border-radius:0;min-height:100vh;padding:14px 14px 90px}.rail{z-index:30;flex-direction:row;width:auto;height:auto;padding:0;position:fixed;top:auto;bottom:12px;left:50%;transform:translate(-50%)}.rail-spacer,.rail-bottom{display:none}.rail-group{flex-direction:row}.stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.stat-value{font-size:22px}.stat-row{flex-direction:column;font-size:11px}.tiles{grid-template-columns:repeat(2,minmax(0,1fr))!important}.tile{min-height:110px}.search{width:100%}}.tool-header .topbar{flex:1}.card-invert>.dropzone{height:100%}.card-invert{flex-direction:column;display:flex}.footer{border-top:1px solid var(--border);color:var(--text-muted);flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:8px;padding:18px 6px 4px;font-size:13px;display:flex}.footer nav{flex-wrap:wrap;gap:16px;display:flex}.footer a:hover{color:var(--text)}.doc h2{margin:22px 0 8px;font-size:18px}.doc h2:first-child{margin-top:0}.doc p{color:var(--text-muted);margin-bottom:10px;line-height:1.7}.doc a{color:var(--text);text-decoration:underline}.doc .btn{text-decoration:none}.shots{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:14px;margin:6px 0 12px;display:grid}.shots figure{margin:0}.shots img{border:1px solid var(--border,#7f7f7f40);border-radius:16px;width:100%;height:auto;display:block}.shots figcaption{color:var(--text-muted);margin-top:6px;font-size:13px}.seo-static{color:#f4f4f2;padding:24px;font-family:Urbanist,system-ui,sans-serif}.install-banner{background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-lg);align-items:center;gap:14px;padding:10px 12px 10px 14px;display:flex}.install-banner img{border-radius:12px;flex-shrink:0}.install-text{flex-direction:column;flex:1;min-width:0;display:flex}.install-text strong{font-size:15px;font-weight:600}.install-text span{color:var(--text-muted);font-size:13px}.install-banner .btn{flex-shrink:0;height:38px;padding:0 16px;font-size:14px}.install-close{flex-shrink:0;width:34px;height:34px}.install-steps{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.install-steps li{align-items:flex-start;gap:14px;display:flex}.install-steps p{margin:0;padding-top:4px}.step-n{background:var(--invert-bg);width:30px;height:30px;color:var(--invert-text);border-radius:50%;flex-shrink:0;place-items:center;font-size:14px;font-weight:600;display:grid}@media (width<=720px){.install-banner{flex-wrap:wrap}.install-text{flex-basis:calc(100% - 110px)}.install-banner .btn{flex:1}}.editor-pages{flex-direction:column;gap:18px;display:flex}.editor-page-wrap{background:var(--surface);border-radius:var(--radius-lg);border:1px solid #0000;padding:14px}.editor-page-wrap.active{border-color:var(--border-strong)}.editor-page{touch-action:none;-webkit-user-select:none;user-select:none;background:#fff;border-radius:6px;width:100%;max-width:820px;margin:0 auto;position:relative;overflow:hidden;container-type:inline-size}.editor-page>img{pointer-events:none;width:100%;height:100%;display:block}.editor-page.drawing{cursor:crosshair}.editor-item{cursor:move;outline:1px dashed #0000;position:absolute}.editor-item.selected{outline:1.5px dashed #3b82f6}.editor-item>img{pointer-events:none;width:100%;height:100%;display:block}.editor-text{white-space:pre;pointer-events:none;font-family:Helvetica,Arial,sans-serif;line-height:1.2}.editor-del{color:#fff;cursor:pointer;background:#111;border:0;border-radius:50%;place-items:center;width:24px;height:24px;display:grid;position:absolute;top:-12px;right:-12px}.editor-handle{cursor:nwse-resize;background:#3b82f6;border:2px solid #fff;border-radius:50%;width:14px;height:14px;position:absolute;bottom:-7px;right:-7px}.sig-pad{border-radius:var(--radius-md);touch-action:none;cursor:crosshair;background:#fff;width:100%;height:170px;display:block}.diff-view{white-space:pre-wrap;font-size:14px;line-height:1.7}.diff-view ins{background:#8fbf9a47;border-radius:3px;text-decoration:none}.diff-view del{background:#e08a8a4d;border-radius:3px}.form-fields{flex-direction:column;gap:12px;display:flex}.chat{flex-direction:column;gap:10px;max-height:460px;display:flex;overflow-y:auto}.bubble{white-space:pre-wrap;border-radius:16px;max-width:85%;padding:10px 14px;font-size:14px;line-height:1.6}.bubble.user{background:var(--invert-bg);color:var(--invert-text);border-bottom-right-radius:4px;align-self:flex-end}.bubble.assistant{background:var(--surface-2);border-bottom-left-radius:4px;align-self:flex-start}.guide-tiles{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}.guide-tile .tile-name{line-height:1.35}.guide-article{max-width:860px}.guide-article ul,.guide-article ol{color:var(--text-muted);flex-direction:column;gap:6px;margin-bottom:10px;padding-left:22px;line-height:1.6;display:flex}.guide-article .faq{margin-top:4px}.guide-cta{background:var(--surface-2);border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:18px 0;padding:14px 16px;display:flex}.guide-cta .btn{text-decoration:none}.doc .btn-primary{color:var(--invert-text)}.saved-sigs{flex-wrap:wrap;gap:8px;display:flex}.saved-sig{background:var(--surface-2);border-radius:12px;align-items:center;gap:4px;padding:4px;display:flex}.saved-sig>button:first-child{cursor:pointer;background:#fff;border:0;border-radius:8px;padding:4px 8px}.saved-sig img{height:34px;display:block}.pro-status h2{align-items:center;gap:8px;font-size:18px;display:flex}.pro-code{word-break:break-all;-webkit-user-select:all;user-select:all;background:#0000000f;border-radius:12px;margin:10px 0 12px;padding:10px 12px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12.5px}.auth-card{max-width:480px}.link-btn{color:var(--text);cursor:pointer;font:inherit;background:0 0;border:0;padding:0;text-decoration:underline}.format-bar{grid-template-columns:1fr auto 1fr;align-items:end;gap:12px;display:grid}.format-bar .field{margin:0}.swap-btn{width:46px;height:46px;margin-bottom:2px}.swap-btn:disabled{opacity:.35;cursor:not-allowed}@media (width<=520px){.format-bar{grid-template-columns:1fr auto 1fr;gap:8px}}.share-nudge{z-index:60;background:var(--surface);width:min(340px,100vw - 32px);color:var(--text);border:1px solid var(--border-strong);border-radius:var(--radius-lg);padding:18px 18px 16px;animation:.25s ease-out share-in;position:fixed;bottom:20px;right:20px;box-shadow:0 12px 40px #00000059}.share-nudge .share-title{padding-right:32px;font-size:17px;font-weight:700}.share-nudge .share-close{width:32px;height:32px;position:absolute;top:10px;right:10px}.share-nudge .share-actions{flex-wrap:wrap;gap:8px;display:flex}.share-nudge .share-actions .btn{white-space:nowrap;flex:1;justify-content:center;text-decoration:none}@keyframes share-in{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@media (width<=720px){.share-nudge{width:auto;bottom:84px;left:16px;right:16px}}@media (prefers-reduced-motion:reduce){.share-nudge{animation:none}}
