:root{
  --red:#ef3340;--red-dark:#d92532;--red-soft:#fff1f2;--ink:#2d2d38;--muted:#70717d;
  --line:#dfe1e7;--soft:#f7f7fb;--hero:#f6f6fb;--blue:#3b82f6;--shadow:0 8px 28px rgba(25,28,45,.08)
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font:15px/1.5 Arial,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}img{max-width:100%}[hidden]{display:none!important}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}.container{max-width:1260px;margin:auto;padding:0 28px}

/* Header */
.header{height:76px;background:#fff;border-bottom:1px solid #dedfe4;position:sticky;top:0;z-index:80}.header-inner{height:100%;display:flex;align-items:center;gap:40px;padding:0 24px;max-width:1440px;margin:auto}.brand{display:flex;align-items:center;gap:9px;white-space:nowrap}.brand-mark{width:35px;height:35px;color:var(--red);display:grid;place-items:center}.brand-mark svg{width:35px;height:35px}.brand-text{font-weight:900;font-size:25px;letter-spacing:-1.7px}.brand-text span{color:var(--red)}.nav{display:flex;align-items:center;gap:39px;margin-right:auto;height:100%}.nav a{font-size:14px;font-weight:750;color:#111;white-space:nowrap}.nav a:hover{color:var(--red)}.chev{font-size:13px;margin-left:5px}.header-actions{display:flex;align-items:center;gap:14px}.local-badge{font-size:12px;font-weight:700;color:#5d6470}.local-badge::first-letter{color:#22a06b}.header-cta{background:var(--red);color:#fff;border-radius:9px;padding:10px 16px;font-weight:800;font-size:13px}.menu-toggle{display:none;background:none;border:0;width:38px}.menu-toggle span{display:block;height:2px;background:#222;margin:6px 0}

/* Home */
.hero{background:linear-gradient(110deg,#f8f7fc 0%,#f5f4fa 62%,#fdf3f4 100%);padding:25px 20px 30px}.hero-inner{max-width:1120px;margin:auto;text-align:center}.hero h1{font-size:44px;line-height:1.12;letter-spacing:-1.9px;margin:0 auto 10px;font-weight:800;max-width:1050px}.hero p{font-size:20px;line-height:1.55;color:#595a66;max-width:980px;margin:0 auto 28px}.hero-pills{display:flex;flex-wrap:wrap;justify-content:center;gap:14px}.hero-pill{border:1px solid #d7d9e0;background:#fff;border-radius:99px;padding:9px 18px;color:#555763;font-weight:700}.hero-pill:hover{border-color:#b8bac3}.hero-pill.active{background:#2c2d35;color:#fff;border-color:#2c2d35}
.tools-section{background:linear-gradient(115deg,#f8f7fb,#f7f6fb 70%,#fff6f7);padding:14px 32px 60px;min-height:560px}.tool-controls{max-width:1288px;margin:0 auto 16px;display:flex;align-items:center;justify-content:flex-end;gap:12px}.filters{display:none}.search-shell{width:240px;height:42px;background:#fff;border:1px solid #d9dbe1;border-radius:9px;display:flex;align-items:center;gap:8px;padding:0 12px}.search-shell svg{width:17px}.search-shell input{border:0;outline:0;width:100%;font-size:13px}.tools-grid{max-width:1288px;margin:auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.tool-card{position:relative;min-height:235px;background:#fff;border:1px solid #d7d9df;border-radius:15px;padding:24px 24px 20px;transition:.18s ease;overflow:hidden}.tool-card:hover{transform:translateY(-2px);border-color:#bbbfc9;box-shadow:0 8px 22px rgba(28,32,49,.08)}.tile-icon{width:44px;height:44px;border-radius:7px;display:grid;place-items:center;margin-bottom:22px}.tile-icon svg{width:25px;height:25px;stroke-width:2.2}.tile-icon.blush{color:#f26949;background:#fff0ec}.tile-icon.mint{color:#62a43d;background:#eef9e8}.tile-icon.lavender{color:#5577c9;background:#edf2ff}.tile-icon.blue{color:#3e76bd;background:#eaf3ff}.tile-icon.amber{color:#ad5c98;background:#f8eaf4}.tile-icon.pink{color:#557dab;background:#edf5ff}.tool-card h3{font-size:20px;letter-spacing:-.25px;margin:0 0 8px}.tool-card p{color:#777985;font-size:14px;line-height:1.42;margin:0}.tile-arrow{display:none}.empty-state{text-align:center;padding:50px}.empty-state button{border:0;background:var(--red);color:#fff;border-radius:8px;padding:10px 18px}.tool-count-line{text-align:center;color:#858792;font-size:12px;margin-top:22px}.simple-value-section{padding:90px 28px;background:#fff}.simple-value-inner{max-width:1120px;margin:auto}.simple-value-inner>h2{text-align:center;font-size:42px;margin:0 0 58px}.value-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}.value-grid article{border-radius:24px;background:#fff;border:1px solid #eee;padding:0 0 24px;overflow:hidden}.value-visual{height:196px;background:#ffe9e7;display:flex;align-items:center;justify-content:center;gap:18px;font-size:28px;font-weight:900;color:#333}.value-visual span{display:grid;place-items:center;width:120px;height:80px;background:#fff;border:2px solid #ddd;box-shadow:0 8px 20px rgba(0,0,0,.08)}.value-visual b{color:var(--red)}.value-visual.phone{background:#ffefed}.value-visual.api{background:#ffebe8}.value-grid h3{font-size:20px;margin:24px 32px 10px}.value-grid p{color:#656875;font-size:15px;margin:0 32px;line-height:1.7}

/* Generic tool page */
.workspace{min-height:calc(100vh - 76px);background:#f8f8fc;padding-bottom:70px}.workspace-upload-shell{max-width:1180px;margin:auto;padding:30px 24px 0}.crumb{display:flex;gap:8px;color:#999ba4;font-size:12px;margin-bottom:24px}.crumb a:hover{color:var(--red)}.workspace-heading{text-align:center;max-width:850px;margin:0 auto 22px}.workspace-icon{display:none}.workspace-kicker{display:none}.workspace-heading h1{font-size:44px;letter-spacing:-1.5px;margin:0 0 10px}.workspace-heading p{font-size:20px;color:#515361;margin:0 auto;max-width:790px;line-height:1.55}.workspace-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px;align-items:start;max-width:1040px;margin:28px auto 0}.workspace:not(.has-files) .workspace-layout{grid-template-columns:1fr;max-width:900px}.workspace:not(.has-files) .settings-card{display:none}.workspace-main{min-width:0}.drop-zone{min-height:285px;border:0;background:transparent;border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;transition:.15s;padding:30px}.drop-zone.is-dragging{background:#fff1f2;outline:3px dashed #f28f97;outline-offset:-18px}.select-main-btn{border:0;background:#d90912;color:#fff;min-width:330px;min-height:80px;border-radius:12px;font-size:23px;font-weight:800;padding:18px 40px;box-shadow:0 7px 15px rgba(217,9,18,.22);transition:.15s}.select-main-btn:hover{background:#c60811;transform:translateY(-1px)}.camera-btn{margin-top:12px;border:1px solid #ddd;background:#fff;border-radius:10px;padding:10px 16px;font-weight:700}.drop-copy{margin:14px 0 2px;color:#5b5d68;font-size:13px}.drop-zone small{color:#a3a4ad;font-size:11px}.selected-section{margin-top:10px}.selected-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.selected-header h3{margin:0;font-size:14px}.add-more{border:1px solid #f4b4b9;background:#fff6f7;color:var(--red);border-radius:8px;padding:8px 13px;font-weight:700}.file-list{display:grid;gap:9px}.file-row{display:flex;align-items:center;gap:13px;padding:13px 14px;background:#fff;border:1px solid var(--line);border-radius:10px}.file-type{width:44px;height:44px;border-radius:8px;background:#fff1f2;color:var(--red);font-size:10px;font-weight:900;display:grid;place-items:center}.file-meta{min-width:0;flex:1}.file-meta strong{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:13px}.file-meta span{color:#999;font-size:11px}.file-actions{display:flex;gap:5px}.file-actions button{width:30px;height:30px;border:1px solid #e2e3e7;background:#fff;border-radius:6px}.reorder-tip{font-size:11px;color:#999}.file-preview{margin-top:18px}.file-preview iframe{width:100%;height:620px;border:1px solid #ddd;border-radius:10px;background:#fff}.file-preview>img{display:block;max-height:640px;margin:auto;border:1px solid #ddd}.settings-card{position:sticky;top:100px;background:#fff;border:1px solid #dddfe4;border-radius:14px;box-shadow:0 8px 22px rgba(20,24,42,.06);overflow:hidden}.settings-card-header{padding:18px 20px;border-bottom:1px solid #ececf0}.settings-card-header h3{margin:0 0 2px;font-size:17px}.settings-card-header p{margin:0;color:#9698a0;font-size:12px}.settings-fields{padding:18px 20px 2px}.form-field{margin-bottom:15px}.form-field label{font-size:12px;font-weight:800;display:block;margin-bottom:6px}.form-field input,.form-field select,.form-field textarea{width:100%;border:1px solid #d8dae0;border-radius:8px;padding:10px 11px;background:#fff;outline:none}.form-field textarea{min-height:96px;resize:vertical}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#f0747d;box-shadow:0 0 0 3px #fff0f1}.form-field small{display:block;color:#9a9ca5;font-size:10px;margin-top:5px}.workspace-note{margin:0 20px 14px;padding:11px;border-radius:8px;background:#fff8e5;color:#735e22;font-size:11px}.error-box{margin:0 20px 14px;border:1px solid #f0b5ba;background:#fff2f3;color:#bd2330;border-radius:8px;padding:11px;font-size:12px}.progress-box{margin:0 20px 14px}.progress-top{display:flex;justify-content:space-between;font-size:11px;margin-bottom:6px}.progress-track{height:6px;border-radius:10px;background:#eee}.progress-bar{height:100%;width:0;background:var(--red);border-radius:10px}.process-btn{margin:8px 20px 10px;width:calc(100% - 40px);border:0;border-radius:9px;background:var(--red);color:#fff;padding:13px 16px;font-weight:800}.process-btn:disabled{background:#d6d7dc;color:#8a8d97;cursor:not-allowed}.settings-footnote{padding:0 20px 18px;color:#9a9ca5;font-size:10px;text-align:center}.result-panel{max-width:800px;margin:40px auto;background:#fff;border:1px solid #dfe1e5;border-radius:16px;padding:42px;text-align:center}.result-check{width:52px;height:52px;background:#e9f9f0;color:#18a365;border-radius:50%;display:grid;place-items:center;margin:0 auto 16px;font-size:25px}.result-panel h2{font-size:30px;margin:0 0 7px}.result-panel p{color:#777}.result-actions{display:flex;justify-content:center;gap:10px;margin:20px 0}.download-btn{border:0;background:var(--red);color:#fff;border-radius:9px;padding:13px 20px;font-weight:800}.secondary-btn{border:1px solid #ddd;background:#fff;border-radius:9px;padding:12px 18px;font-weight:700}.suggestions{max-width:1040px;margin:30px auto}.suggestions>h3{font-size:14px}.suggestions>div{display:flex;flex-wrap:wrap;gap:8px}.suggestions a{font-size:12px;padding:8px 12px;border:1px solid #ddd;border-radius:99px;background:#fff}

/* Editor: full, clean application mode */
body.editing-pdf{overflow-y:auto;background:#f2f2f4}body.editing-pdf .footer{display:none}.workspace.editor-mode-page.editor-loaded{padding:0;background:#f0f0f2;min-height:calc(100vh - 76px)}.workspace.editor-loaded .workspace-upload-shell{max-width:none;padding:0}.workspace.editor-loaded .crumb,.workspace.editor-loaded .workspace-heading,.workspace.editor-loaded #dropZone,.workspace.editor-loaded .selected-header,.workspace.editor-loaded .file-list,.workspace.editor-loaded .reorder-tip,.workspace.editor-loaded .settings-card,.workspace.editor-loaded .suggestions{display:none!important}.workspace.editor-loaded .workspace-layout{display:block;max-width:none;margin:0}.workspace.editor-loaded .selected-section{display:block!important;margin:0}.workspace.editor-loaded .file-preview{margin:0}.file-preview.editor-active{display:block!important;width:100%;min-height:calc(100vh - 76px);background:#ececef}
.simple-editor-head{height:42px;background:#fff;border-bottom:1px solid #e1e1e5;display:flex;align-items:center;justify-content:space-between;padding:0 18px}.simple-editor-head strong{font-size:12px}.simple-editor-head span{font-size:10px;color:#999;margin-left:8px}.simple-back-link{font-size:11px;color:#777}.simple-editor-bar{min-height:50px;background:#fff;border-bottom:1px solid #d9dade;display:flex;align-items:stretch;justify-content:space-between;gap:12px;padding:0 14px;position:sticky;top:76px;z-index:28;box-shadow:0 2px 5px rgba(0,0,0,.05)}.simple-editor-tools,.simple-editor-actions{display:flex;align-items:center;gap:0}.simple-tool{height:50px;border:0;border-right:1px solid #ececef;background:#fff;padding:0 15px;display:flex;align-items:center;gap:7px;color:#555;white-space:nowrap}.simple-tool span{font-size:18px}.simple-tool b{font-weight:500}.simple-tool:hover{background:#fafafa}.simple-tool.active{color:var(--red);background:#fff4f5;box-shadow:inset 0 -2px var(--red)}.simple-icon-btn,.simple-page-nav button,.simple-zoom button{border:0;background:#fff;height:34px;min-width:34px}.simple-icon-btn:hover,.simple-page-nav button:hover,.simple-zoom button:hover{background:#f1f2f5}.simple-page-nav,.simple-zoom{height:36px;border:1px solid #dddfe4;border-radius:6px;display:flex;align-items:center;overflow:hidden;margin-left:8px}.simple-page-nav span,.simple-zoom span{min-width:58px;text-align:center;font-size:12px;font-weight:700}.simple-zoom span{min-width:52px}.simple-save-btn{height:36px;margin-left:9px;border:0;background:var(--red);color:#fff;border-radius:7px;padding:0 16px;font-weight:800}.editor-context-bar{height:44px;background:#fff;border-bottom:1px solid #dcdde1;display:flex;align-items:center;gap:6px;padding:5px 16px;position:sticky;top:126px;z-index:27}.editor-context-bar button,.editor-context-bar select,.editor-context-bar input{height:32px;border:1px solid #d7d9df;background:#fff;border-radius:5px}.editor-context-bar button{min-width:34px}.editor-context-bar select{width:110px;padding:0 8px}.editor-context-bar input[type=number]{width:58px;padding:0 8px}.editor-context-bar input[type=color]{width:42px;padding:3px}.format-toggle.active{background:#edf4ff;color:#1769d2;border-color:#9ec5ff}.context-delete{color:#db2632;padding:0 10px}.context-tip{font-size:11px;color:#aaa;margin-left:auto}.editor-scan-note{max-width:700px;margin:12px auto;background:#fff8e4;border:1px solid #f4d98a;border-radius:8px;padding:10px 12px;font-size:12px}.editor-app-body{display:grid;grid-template-columns:185px minmax(0,1fr) 260px;min-height:calc(100vh - 168px)}.editor-thumbs{background:#fff;border-right:1px solid #d8d9df;padding:14px 10px;overflow:auto;max-height:calc(100vh - 168px);position:sticky;top:168px}.editor-thumb{display:block;width:100%;border:0;background:transparent;padding:5px 7px 10px;margin:0 0 12px;border-radius:6px;text-align:center}.editor-thumb:hover{background:#f5f6f8}.editor-thumb.active{background:#fff0f1;box-shadow:inset 3px 0 var(--red)}.editor-thumb img{display:block;width:112px;max-height:158px;object-fit:contain;margin:auto;border:1px solid #c9cbd2;background:#fff;box-shadow:0 2px 7px rgba(0,0,0,.12)}.editor-thumb span{display:block;font-size:11px;margin-top:6px}.editor-center{min-width:0;background:#e9e9ec;position:relative}.editor-right{background:#fff;border-left:1px solid #d8d9df;padding:18px;position:sticky;top:168px;height:calc(100vh - 168px)}.editor-right h3{font-size:19px;margin:0 0 18px}.editor-info-box{border:1px solid #c9dfff;background:#f1f7ff;color:#42566d;border-radius:8px;padding:13px;font-size:12px;line-height:1.5}.editor-info-box strong{display:block;color:#263546;margin-bottom:4px}.editor-save-side{position:absolute;bottom:22px;left:18px;right:18px;border:0;background:#f08d94;color:#fff;border-radius:10px;height:58px;font-size:18px;font-weight:800}.editor-save-side:hover{background:var(--red)}.editor-canvas-shell{width:100%;height:calc(100vh - 168px);overflow:auto;padding:34px;cursor:default}.editor-canvas-shell.mode-pan{cursor:grab}.editor-canvas-shell.mode-pan:active{cursor:grabbing}.editor-stage-sizer{position:relative;margin:0 auto}.editor-stage{position:absolute;left:0;top:0;transform-origin:0 0;background:#fff;box-shadow:0 3px 12px rgba(0,0,0,.16);user-select:none}.editor-page{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.editor-text-layer{position:absolute;inset:0;z-index:4}.editor-extracted-text,.editor-new-text{position:absolute;z-index:5;color:var(--editor-text-color,#111);line-height:1.04;white-space:pre;overflow:visible;min-width:2px;min-height:2px;outline:0;cursor:text;transform-origin:left top}.editor-extracted-text:hover{outline:1px dashed rgba(50,128,255,.7);background:rgba(64,145,255,.04)}.editor-extracted-text:focus,.editor-extracted-text.selected,.editor-new-text:focus,.editor-new-text.selected{outline:1.5px solid #2786ff;background:rgba(54,139,255,.06);box-shadow:0 0 0 1px rgba(39,134,255,.12)}.editor-extracted-text.changed{outline-color:#12a46e}.editor-overlay{position:absolute;z-index:7}.editor-whiteout{background:#fff;border:1px dashed #111}.editor-redact{background:#111}.editor-highlight{background:rgba(255,225,55,.43);border:1px dashed #dbb900}.editor-rectangle,.editor-ellipse{background:transparent;border-style:solid}.editor-ellipse{border-radius:50%}.editor-image{object-fit:contain}.editor-drawing{position:absolute;inset:0;width:100%;height:100%;z-index:8;pointer-events:none}.editor-draft-guide{position:absolute;z-index:20;pointer-events:none;border:2px dashed #111;background:rgba(255,255,255,.22)}.editor-draft-guide.highlight{border-color:#d8b500;background:rgba(255,225,55,.28)}.editor-draft-guide.rectangle{border-color:#e74755;background:transparent}.editor-draft-guide.whiteout{border-color:#111;background:rgba(255,255,255,.72)}

.footer{border-top:1px solid #ececf0;padding:30px 28px;display:flex;align-items:center;justify-content:space-between;color:#858791;font-size:12px}.footer>div{display:flex;align-items:center;gap:18px}.footer .footer-brand .brand-text{font-size:18px}.footer .footer-brand .brand-mark{width:26px;height:26px}.footer p{margin:0}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,25px);opacity:0;background:#252833;color:#fff;padding:10px 16px;border-radius:7px;font-size:12px;z-index:200;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}

@media(max-width:1100px){.nav{gap:20px}.header-actions{display:none}.tools-grid{grid-template-columns:repeat(4,1fr)}.editor-app-body{grid-template-columns:135px minmax(0,1fr)}.editor-right{display:none}.editor-thumb img{width:92px}}
@media(max-width:860px){.header{height:66px}.header-inner{padding:0 15px}.nav{display:none;position:absolute;left:0;right:0;top:66px;background:#fff;flex-direction:column;align-items:flex-start;height:auto;padding:18px;border-bottom:1px solid #ddd;gap:14px}.nav.open{display:flex}.menu-toggle{display:block;margin-left:auto}.hero h1{font-size:36px}.hero p{font-size:17px}.tools-grid{grid-template-columns:repeat(2,1fr)}.workspace-heading h1{font-size:34px}.workspace-heading p{font-size:16px}.workspace-layout{grid-template-columns:1fr}.settings-card{position:static}.select-main-btn{min-width:270px;min-height:68px;font-size:20px}.value-grid{grid-template-columns:1fr}.simple-editor-bar{top:66px;overflow-x:auto}.editor-context-bar{top:116px;overflow-x:auto}.editor-app-body{display:block}.editor-thumbs{display:none}.editor-canvas-shell{height:calc(100vh - 160px);padding:18px}.simple-editor-actions{margin-left:auto}.simple-tool b{display:none}.simple-tool{padding:0 10px}.simple-editor-head{display:none}}
@media(max-width:560px){.hero{padding-top:30px}.hero h1{font-size:31px}.hero-pills{gap:8px}.hero-pill{padding:7px 11px;font-size:12px}.tools-section{padding:12px 12px 42px}.tools-grid{grid-template-columns:1fr}.tool-card{min-height:190px}.tool-controls{display:none}.workspace-upload-shell{padding:20px 12px}.workspace-heading h1{font-size:30px}.select-main-btn{width:100%;min-width:0}.drop-zone{padding:20px 5px}.result-actions{flex-direction:column}.footer{display:none}.simple-page-nav{display:none}.simple-zoom span{min-width:44px}.simple-save-btn{font-size:0;width:42px;padding:0}.simple-save-btn::after{content:'✓';font-size:18px}.editor-context-bar{padding-left:8px}.editor-context-bar .context-tip{display:none}}

/* v13 — direct editor launch + password gate */
.editor-gate{min-height:calc(100vh - 76px);display:grid;place-items:center;background:#f2f2f4;padding:40px 18px}.editor-gate-card{width:min(430px,92vw);background:#fff;border:1px solid #e0e1e5;border-radius:14px;box-shadow:0 14px 42px rgba(26,30,40,.10);padding:34px;text-align:center}.editor-gate-card h2{font-size:25px;margin:8px 0 8px;color:#25262d}.editor-gate-card p{margin:0 0 8px;color:#666b76;line-height:1.45}.editor-gate-card>span,.editor-gate-card small{display:block;color:#9297a2;font-size:12px;line-height:1.45}.editor-lock-icon{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;margin:0 auto 12px;background:#fff0f1;font-size:26px}.editor-lock-icon.error{color:#e52f3d;font-weight:900;font-size:28px}.editor-password-field{height:52px;border:1.5px solid #d9dbe1;border-radius:8px;display:flex;align-items:center;margin:20px 0 8px;overflow:hidden;background:#fff}.editor-password-field:focus-within{border-color:var(--red);box-shadow:0 0 0 3px rgba(239,51,64,.10)}.editor-password-field input{flex:1;min-width:0;height:100%;border:0;outline:0;padding:0 14px;font-size:15px;background:transparent}.editor-password-field button{width:50px;height:100%;border:0;border-left:1px solid #ececf0;background:#fff;cursor:pointer}.editor-password-message{min-height:20px;text-align:left;color:#777d88;font-size:12px;margin:4px 2px 14px}.editor-password-message.bad{color:#d92535;font-weight:600}.editor-password-submit{width:100%;height:52px;border:0;border-radius:8px;background:var(--red);color:#fff;font-weight:800;font-size:15px;cursor:pointer}.editor-password-submit:hover{filter:brightness(.96)}.editor-password-submit:disabled{opacity:.65;cursor:wait}.editor-gate-cancel{border:0;background:transparent;color:#5d626c;font-weight:700;margin:15px 0 9px;cursor:pointer}.editor-gate-cancel:hover{color:var(--red)}
@media(max-width:860px){.editor-gate{min-height:calc(100vh - 66px);padding:24px 12px}.editor-gate-card{padding:26px 20px}}


/* v14 — unified simple upload screen + handwritten signature maker */
.workspace:not(.has-files) .crumb{display:none}
.workspace:not(.has-files) .workspace-upload-shell{padding-top:54px}
.workspace:not(.has-files) .workspace-heading{margin-bottom:4px;max-width:900px}
.workspace:not(.has-files) .workspace-heading h1{font-size:40px;line-height:1.12;letter-spacing:-1.2px;margin-bottom:9px}
.workspace:not(.has-files) .workspace-heading p{font-size:17px;line-height:1.45;color:#4f5260;max-width:760px}
.workspace:not(.has-files) .workspace-layout{margin-top:18px;max-width:880px}
.workspace:not(.has-files) .drop-zone{min-height:235px;padding:22px 24px 42px}
.select-main-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:34px;min-width:360px;padding-left:38px;padding-right:25px}
.select-main-btn .select-plus{font-size:30px;font-weight:400;line-height:1;margin-top:-2px}
.workspace:not(.has-files) .drop-copy{font-size:13px;color:#4d4f58;margin-top:15px}
.workspace:not(.has-files) .drop-zone small{font-size:11px;margin-top:2px}
.workspace.has-files .drop-zone{min-height:130px;padding:15px}
.workspace.has-files .select-main-btn{min-width:240px;min-height:54px;font-size:16px;box-shadow:none}
.workspace.has-files .workspace-heading{margin-bottom:12px}

.signature-maker-backdrop{position:fixed;inset:0;background:rgba(14,18,28,.45);display:grid;place-items:center;z-index:500;padding:20px}
.signature-maker{position:relative;width:min(650px,96vw);background:#fff;border-radius:16px;box-shadow:0 24px 80px rgba(10,15,30,.28);padding:28px}
.signature-close{position:absolute;right:14px;top:12px;width:34px;height:34px;border:0;border-radius:50%;background:#f3f4f6;font-size:23px;color:#555}
.signature-maker h3{font-size:25px;margin:0 0 4px}.signature-maker>p{margin:0 0 20px;color:#747782}
.signature-name-label{display:block;font-size:12px;font-weight:800;color:#555}.signature-name-label input{display:block;width:100%;height:50px;margin-top:6px;border:1.5px solid #d9dbe2;border-radius:9px;padding:0 14px;font-size:17px;outline:0}.signature-name-label input:focus{border-color:#4c83dc;box-shadow:0 0 0 3px rgba(76,131,220,.12)}
.signature-style-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:18px 0}
.signature-style{height:106px;border:1.5px solid #dedfe4;border-radius:10px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#0a3d9e;overflow:hidden}
.signature-style:hover{background:#f7faff;border-color:#b7cbed}.signature-style.active{border-color:#2d7be6;box-shadow:0 0 0 2px rgba(45,123,230,.12);background:#f5f9ff}
.signature-style-preview{font-size:42px;line-height:1;white-space:nowrap}.signature-style small{font-family:Arial,"Segoe UI",sans-serif;color:#7b7f89;font-size:10px;margin-top:9px;text-transform:uppercase;letter-spacing:.8px}
.signature-maker-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.signature-maker-foot label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;color:#666}.signature-maker-foot input[type=color]{width:40px;height:34px;padding:2px;border:1px solid #ddd;border-radius:6px;background:#fff}.signature-create-btn{border:0;background:var(--red);color:#fff;border-radius:8px;height:44px;padding:0 20px;font-weight:800}.signature-create-btn:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:560px){.workspace:not(.has-files) .workspace-upload-shell{padding-top:32px}.workspace:not(.has-files) .workspace-heading h1{font-size:32px}.workspace:not(.has-files) .workspace-heading p{font-size:15px}.select-main-btn{min-width:0;width:100%;gap:16px}.signature-style-grid{grid-template-columns:1fr}.signature-maker{padding:22px 16px}.signature-style-preview{font-size:36px}}

.standalone-sign-styles{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}.standalone-sign-style{min-height:72px;border:1px solid #dcdde2;background:#fff;border-radius:8px;color:#0a3d9e;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:7px}.standalone-sign-style span{font-size:27px;line-height:1;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.standalone-sign-style small{font-family:Arial,"Segoe UI",sans-serif;color:#8b8e97;font-size:8px;margin-top:7px;text-transform:uppercase}.standalone-sign-style.active{border-color:#3180e7;background:#f3f8ff;box-shadow:0 0 0 2px rgba(49,128,231,.10)}

/* v15 — unified post-processing download screen */
body.result-mode-body{background:#f7f7fb}body.result-mode-body .footer{display:none}.workspace.result-mode{min-height:calc(100vh - 76px);padding:0;background:#f7f7fb}.workspace.result-mode>.workspace-upload-shell{display:none!important}.workspace.result-mode .result-download-screen{display:block;max-width:none;margin:0;border:0;border-radius:0;background:transparent;padding:0;min-height:calc(100vh - 76px);text-align:center}.result-download-inner{max-width:820px;margin:0 auto;padding:30px 24px 70px}.result-download-screen h2{font-size:31px;line-height:1.15;margin:0 0 26px;color:#292a35;letter-spacing:-.6px}.result-primary-row{display:grid;grid-template-columns:48px minmax(0,430px) 48px;justify-content:center;align-items:center;gap:14px}.result-download-btn{min-height:80px;padding:18px 28px;border-radius:12px;background:#ef3138;box-shadow:0 7px 16px rgba(239,49,56,.22);font-size:22px;display:flex;align-items:center;justify-content:center;gap:13px;transition:.15s}.result-download-btn:hover{background:#dd232b;transform:translateY(-1px)}.download-glyph{font-size:31px;line-height:1;font-weight:500;transform:translateY(-2px)}.result-round-btn{border:0;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#ef3138;color:#fff;font-size:24px;font-weight:800;cursor:pointer;box-shadow:0 5px 12px rgba(32,35,50,.12);transition:.15s}.result-round-btn:hover{transform:translateY(-1px);background:#d9282f}.result-back-btn{background:#42444d;font-size:28px}.result-back-btn:hover{background:#30323a}.result-side-actions{display:flex;flex-direction:column;gap:8px}.result-side-actions .result-round-btn{width:42px;height:42px;font-size:23px}.result-filename{display:block;margin:12px auto 0;color:#9698a2;font-size:11px}.continue-card{margin:46px auto 0;background:#fff;border:1px solid #e6e6eb;border-radius:11px;text-align:left;padding:22px 24px;box-shadow:0 5px 15px rgba(30,32,45,.025)}.continue-card h3{font-size:16px;margin:0 0 14px;color:#343540}.continue-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.continue-tool{min-width:0;display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:9px;padding:10px 11px;border-radius:8px;color:#262733;text-decoration:none;transition:.14s}.continue-tool:hover{background:#f6f6fa}.continue-tool>span:nth-child(2){font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.continue-tool>b{font-size:22px;font-weight:400}.continue-icon{width:36px;height:36px;border-radius:8px;display:grid;place-items:center}.continue-icon svg{width:21px;height:21px}.result-privacy-note{margin-top:27px;color:#989aa3;font-size:11px}.legacy-suggestions{display:none!important}
@media(max-width:720px){.result-download-inner{padding:28px 15px 50px}.result-download-screen h2{font-size:25px}.result-primary-row{grid-template-columns:42px minmax(0,1fr) 42px;gap:8px}.result-download-btn{min-height:68px;font-size:17px;padding:14px 12px}.download-glyph{font-size:25px}.result-round-btn{width:40px;height:40px}.result-side-actions .result-round-btn{width:38px;height:38px}.continue-card{margin-top:34px;padding:17px}.continue-tools{grid-template-columns:1fr}.continue-tool>span:nth-child(2){font-size:13px}}

/* v16: standalone Sign PDF custom placement object */
.sign-placement-loading{padding:34px;text-align:center;background:#fff;border:1px solid #e3e4e8;border-radius:12px;color:#777;font-weight:700}
.sign-placement-error{margin:0!important}
.sign-placement-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:4px 0 12px;padding:12px 14px;background:#fff;border:1px solid #e1e2e6;border-radius:10px}
.sign-placement-head strong{display:block;font-size:15px}.sign-placement-head>div>span{display:block;font-size:11px;color:#888;margin-top:3px}
.sign-page-nav{display:flex;align-items:center;gap:8px;white-space:nowrap}.sign-page-nav button{width:32px;height:32px;border:1px solid #d9dbe1;background:#fff;border-radius:7px;font-size:20px}.sign-page-nav button:disabled{opacity:.35}.sign-page-nav span{font-size:11px;font-weight:800;color:#555}
.sign-placement-canvas{position:relative;width:min(100%,760px);margin:0 auto;background:#dfe1e6;border:1px solid #d7d9df;box-shadow:0 8px 24px rgba(15,20,35,.08);overflow:hidden;line-height:0;user-select:none;touch-action:none}
.sign-page-image{display:block;width:100%;height:auto;pointer-events:none}
.sign-placement-object{position:absolute;z-index:4;border:2px solid #2388ff;background:rgba(35,136,255,.04);cursor:grab;line-height:0;box-shadow:0 0 0 1px rgba(255,255,255,.75) inset;touch-action:none}
.sign-placement-object.dragging{cursor:grabbing}.sign-placement-object img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
.sign-resize-handle{position:absolute;right:-7px;bottom:-7px;width:15px;height:15px;border-radius:3px;background:#2388ff;border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.25);cursor:nwse-resize}
.sign-placement-tip{text-align:center;margin:10px 0 0;font-size:11px;color:#777}
@media(max-width:700px){.sign-placement-head{align-items:flex-start;flex-direction:column}.sign-page-nav{align-self:stretch;justify-content:center}}

/* v23 Adsterra placements */
.ad-zone-shell{max-width:1180px;margin:18px auto;padding:10px 14px;text-align:center;box-sizing:border-box}
.ad-zone-shell[hidden]{display:none!important}
.ad-label{font-size:10px;letter-spacing:.12em;color:#98a0b3;margin-bottom:7px;font-weight:700}
.ad-mount{display:flex;align-items:center;justify-content:center;min-width:0;overflow:hidden}
.ad-responsive-shell{min-height:70px}
.ad-responsive-mount{min-height:50px}
.ad-square-shell{margin:26px auto 6px;min-height:270px}
.ad-square-mount{min-height:250px}
.ad-native-shell{max-width:1040px;min-height:120px}
.ad-native-mount{width:100%;min-height:90px}
.workspace-ad-shell{margin-top:4px;margin-bottom:20px}
.result-native-shell{margin:22px auto 10px;padding:0;max-width:920px}
.adsterra-frame{display:block;border:0;max-width:100%;background:transparent}
.sponsored-offer-link{display:inline-flex;margin:12px auto 6px;padding:9px 15px;border:1px solid #d9dce6;border-radius:999px;color:#555d70;text-decoration:none;font-size:13px;font-weight:700;background:#fff}
.sponsored-offer-link:hover{border-color:#f04b57;color:#d93643}
@media(max-width:760px){.ad-zone-shell{padding-left:0;padding-right:0}.ad-square-shell{min-height:260px}.workspace-ad-shell{margin-top:0}.sponsored-offer-link{font-size:12px}}

/* SEO-friendly human-readable tool guides; all existing UI and ads are preserved. */
.seo-home-intro,.seo-tool-guide{max-width:1150px;margin:28px auto 42px;padding:22px 25px;border:1px solid #e7eaf0;border-radius:18px;background:#fff;color:#202633;line-height:1.65}
.seo-home-intro h2,.seo-tool-guide h2{font-size:1.35rem;line-height:1.3;margin:0 0 14px}
.seo-tool-guide h3{font-size:1.05rem;margin:20px 0 8px}
.seo-tool-guide p,.seo-home-intro p{margin:8px 0}
.seo-tool-guide ol{margin:8px 0 15px;padding-left:25px}
.seo-tool-guide li{padding:3px 0}
.seo-tool-guide .seo-related-links{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}
.seo-tool-guide .seo-related-links a{display:inline-block;background:#f2f5ff;border:1px solid #dce4ff;border-radius:9px;padding:7px 12px;text-decoration:none;color:#273a77}
@media(max-width:700px){.seo-home-intro,.seo-tool-guide{margin:20px 12px 30px;padding:18px}}
