:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--bg);font-synthesis:none;--bg:#f3f5f7;--surface:#fff;--text:#19222a;--muted:#626c74;--line:#d6dee5;--accent:#2969a3;--accent-hover:#173d61;--accent-strong:#173d61;--light:#e7eff7;--accent-border:#a8c0d8;--workspace:#e4e9ee;--shadow:0 12px 45px #173d6110;--busy-bg:#f0f5fad9;color-scheme:light}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:0;background:transparent;color:inherit}button:disabled{opacity:.35;cursor:not-allowed}a{color:var(--accent);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #2969a3;outline-offset:3px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-weight:550;letter-spacing:-.04em}button{transition:background .15s,color .15s,box-shadow .15s}button:hover{background:var(--light)}.brand{display:flex;align-items:center;gap:10px;font-size:27px;font-weight:650;letter-spacing:-1.2px}.brand-mark{display:grid;place-items:center;background:var(--accent);color:white;width:35px;height:39px;border-radius:10px 10px 10px 3px;font-size:26px;font-family:Georgia,serif;font-weight:700;letter-spacing:-3px;padding-right:3px}.brand small{font-weight:400;font-size:10px;letter-spacing:1.3px;color:var(--muted);margin-left:1px}.top-nav{height:91px;max-width:1352px;padding:0 44px;display:flex;align-items:center;justify-content:space-between;margin:auto}.nav-links{display:flex;gap:32px;align-items:center;font-size:13px}.nav-link{padding:8px 0;color:var(--muted)}.pill{display:inline-flex;gap:6px;align-items:center;font-size:11px;font-weight:500;padding:7px 10px;border:1px solid var(--line);border-radius:50px;color:var(--muted);background:var(--surface)}.pill i,.status-dot{display:inline-block;width:6px;height:6px;background:var(--accent);border-radius:50%}.icon-btn{display:grid;place-items:center;width:34px;height:34px;border-radius:7px;border:1px solid transparent}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:11px 17px;font-size:13px;font-weight:550;border:1px solid var(--line);border-radius:7px;background:var(--surface);white-space:nowrap;line-height:1.2}.btn:hover{border-color:var(--accent-border)}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:0 2px 2px #173d611c}.btn.primary:hover{background:var(--accent-hover)}.btn.large{padding:16px 25px;font-size:14px}.btn.quiet{background:transparent;border-color:transparent;box-shadow:none}.btn.danger{color:#a7493b}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--accent);font-weight:650;text-transform:uppercase}.home-hero{max-width:1240px;margin:49px auto 0;display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;padding:0 26px 55px}.hero-copy{padding-left:10px;position:relative;z-index:1}.hero-copy h1{font-size:clamp(46px,4.7vw,68px);line-height:1.09;margin:23px 0 24px;color:var(--text);max-width:600px}.hero-copy h1 em{font-family:Georgia,serif;color:var(--accent);font-weight:400}.hero-copy>p{font-size:15px;color:var(--muted);line-height:1.8;max-width:420px;margin-bottom:29px}.hero-actions{display:flex;align-items:center;gap:12px}.hero-fine{display:flex;align-items:center;gap:17px;font-size:11px;color:var(--muted);margin-top:17px}.hero-fine span{display:flex;align-items:center;gap:5px}.hero-fine svg{width:12px;height:12px;color:var(--accent)}.hero-art{height:440px;position:relative;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse,#e5eef8 0,transparent 70%);isolation:isolate}.orbit{position:absolute;border:1px solid var(--line);border-radius:50%;width:440px;height:400px;transform:rotate(-16deg)}.orbit:after{content:"";position:absolute;inset:22px;border:1px dashed var(--line);border-radius:50%}.paper-back{position:absolute;background:#e5edf5;border:1px solid var(--line);border-radius:6px;width:278px;height:334px;box-shadow:3px 10px 25px #173d610a;transform:rotate(10deg) translate(28px,0);z-index:-1}.paper-back.second{transform:rotate(-10deg) translate(-19px,10px);background:#d7e5f2}.hero-paper{width:289px;height:357px;background:white;border:1px solid var(--line);border-radius:5px;box-shadow:0 18px 35px #173d6118;transform:rotate(-4deg);padding:28px 25px;position:relative;overflow:hidden}.paper-top{display:flex;justify-content:space-between;font-size:6px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:15px}.hero-paper h3{font-size:26px;line-height:1.15;margin:24px 0 12px;font-family:Georgia,serif;letter-spacing:-1px;font-weight:400}.paper-line{height:4px;border-radius:1px;background:#e5edf5;margin:8px 0}.paper-line.short{width:72%}.paper-line.medium{width:88%}.paper-highlight{background:#d7e5f2;position:absolute;left:23px;top:153px;width:198px;height:12px;mix-blend-mode:multiply}.paper-chart{height:66px;display:flex;gap:12px;align-items:flex-end;margin:24px 0 18px;border-bottom:1px solid var(--line)}.paper-chart i{background:#d7e5f2;width:30px}.paper-chart i:nth-child(2n){background:#173d61}.paper-sign{font-family:cursive;font-style:italic;font-size:20px;transform:rotate(-8deg);color:#173d61;position:absolute;bottom:25px;right:28px}.float-badge{display:flex;align-items:center;gap:9px;position:absolute;padding:12px 15px;border:1px solid var(--line);background:#fff;border-radius:9px;box-shadow:0 9px 28px #173d610e;font-size:11px;font-weight:500}.float-badge svg{width:17px;height:17px;color:var(--accent)}.float-badge.edit{top:52px;left:7px;transform:rotate(-4deg)}.float-badge.sign{bottom:63px;right:0;transform:rotate(4deg)}.cursor{position:absolute;top:170px;right:33px;color:var(--accent);transform:rotate(-18deg)}.cursor svg{fill:var(--accent);stroke:#fff;width:30px;height:30px}.cursor span{background:var(--accent);color:white;padding:5px 8px;border-radius:4px;font-size:10px;display:block;margin:0 0 0 20px}.local-bar{display:flex;justify-content:center;gap:35px;align-items:center;padding:22px 15px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:11px;color:var(--muted)}.local-bar span{display:flex;align-items:center;gap:8px}.local-bar svg{width:15px;height:15px;color:var(--muted)}.tools-section{max-width:1210px;margin:56px auto 0;padding:0 18px}.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:25px}.section-head h2{font-size:29px;margin:0 0 8px}.section-head p{font-size:13px;color:var(--muted);margin:0}.section-head .subtle{font-size:11px;color:var(--muted);padding-bottom:5px}.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.feature-card{text-align:left;padding:23px 20px;background:var(--surface);border:1px solid var(--line);border-radius:9px;position:relative;min-height:161px}.feature-card:hover{transform:translateY(-2px);box-shadow:var(--shadow);background:var(--surface)}.feature-card>.tile-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:7px;background:var(--light);color:var(--accent);margin-bottom:18px}.feature-card:nth-child(2) .tile-icon{background:var(--light);color:var(--accent)}.feature-card:nth-child(3) .tile-icon{background:var(--light);color:var(--accent)}.feature-card:nth-child(4) .tile-icon{background:var(--light);color:var(--accent)}.feature-card h3{font-size:14px;letter-spacing:-.2px;margin-bottom:8px}.feature-card p{font-size:11px;color:var(--muted);line-height:1.65;margin:0}.feature-card>.arrow{position:absolute;top:28px;right:20px;color:var(--muted)}.feature-card>.arrow svg{width:15px;height:15px}.start-strip{margin:24px 0 35px;display:flex;align-items:center;justify-content:space-between;background:var(--light);border:1px dashed var(--accent-border);border-radius:8px;padding:19px 23px;font-size:12px;color:var(--accent)}.start-strip .left{display:flex;align-items:center;gap:13px}.start-strip small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.early-note{display:flex;align-items:start;gap:12px;background:var(--light);border:1px solid var(--line);padding:17px 20px;border-radius:7px;margin-bottom:35px;color:var(--muted);font-size:11px;line-height:1.6}.early-note svg{width:16px;height:16px;margin-top:2px}.early-note strong{color:var(--muted);font-size:11px;font-weight:600}.early-note p{margin:2px 0 0}.early-note button{text-decoration:underline;padding:0;font-size:11px;color:var(--muted)}.footer{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:24px max(25px,calc((100vw - 1170px)/2));font-size:10px;color:var(--muted)}.footer .brand{font-size:18px}.footer .brand-mark{width:22px;height:25px;font-size:17px;border-radius:6px 6px 6px 2px}.footer-links{display:flex;align-items:center;gap:22px}.home.drag-over:after{content:'Drop your files to open them in Pro PDF Editor';position:fixed;inset:12px;border:3px dashed #2969a3;border-radius:15px;background:#eaf2fbf2;display:grid;place-items:center;z-index:20;font-size:24px;color:var(--accent);pointer-events:none}
/* Workspace */
.editor{height:100dvh;display:flex;flex-direction:column;background:var(--surface);overflow:hidden}.editor-header{height:62px;flex-shrink:0;display:flex;align-items:center;gap:20px;border-bottom:1px solid var(--line);padding:0 21px}.editor-header .brand{font-size:24px}.editor-header .brand-mark{height:31px;width:29px;font-size:22px;border-radius:8px 8px 8px 3px}.header-divider{width:1px;height:24px;background:var(--line)}.document-tabs{display:flex;gap:7px;overflow:auto;flex:1;align-items:center;min-width:0}.doc-tab{display:flex;align-items:center;gap:7px;font-size:11px;background:var(--bg);padding:8px 9px;border:1px solid var(--line);border-radius:6px;max-width:210px;white-space:nowrap}.doc-tab.active{background:var(--light);border-color:var(--accent-border)}.doc-tab .filename{overflow:hidden;text-overflow:ellipsis;max-width:150px}.doc-tab .close-tab{font-size:15px;line-height:1;padding:0 3px;color:var(--muted)}.header-actions{display:flex;align-items:center;gap:6px}.local-indicator{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:5px;white-space:nowrap}.local-indicator svg{width:13px;height:13px;color:var(--accent)}.ribbon-tabs{display:flex;align-items:center;gap:18px;height:43px;flex-shrink:0;padding:0 24px;border-bottom:1px solid var(--line);overflow:auto}.ribbon-tab{height:43px;font-size:12px;padding:0 7px;position:relative;white-space:nowrap;color:var(--muted);border-radius:0}.ribbon-tab.active{color:var(--accent);font-weight:600}.ribbon-tab.active:after{content:'';position:absolute;bottom:0;left:5px;right:5px;height:2px;background:var(--accent)}.ribbon-tab:hover{background:transparent;color:var(--accent)}.ribbon-tools{display:flex;align-items:center;gap:5px;min-height:66px;flex-shrink:0;padding:6px 17px;border-bottom:1px solid var(--line);overflow-x:auto}.tool{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:58px;height:52px;padding:5px 9px;border-radius:6px;font-size:10px;white-space:nowrap}.tool svg{width:20px;height:20px;color:var(--muted)}.tool.active{background:var(--light);color:var(--accent)}.tool.active svg{color:var(--accent)}.tool-separator{width:1px;height:32px;background:var(--line);margin:0 7px;flex-shrink:0}.workspace{display:grid;grid-template-columns:174px 1fr 244px;flex:1;min-height:0}.sidebar{border-right:1px solid var(--line);background:var(--bg);display:flex;flex-direction:column;min-height:0}.sidebar-head{display:flex;justify-content:space-between;align-items:center;padding:15px 15px 9px;font-size:11px;font-weight:550;color:var(--muted)}.page-list{overflow:auto;flex:1;padding:5px 20px 24px}.page-thumb{display:block;position:relative;padding:7px 10px 8px;margin:0 0 13px;border:1px solid transparent;border-radius:6px;width:100%;font-size:10px;color:var(--muted);background:transparent}.page-thumb canvas,.page-thumb img{max-width:100%;height:auto;max-height:151px;display:block;margin:auto auto 8px;box-shadow:0 2px 7px #173d6113;background:white;min-height:60px;object-fit:contain}.page-thumb.active{background:var(--light);border-color:var(--accent-border);color:var(--accent)}.page-thumb.dragging{opacity:.45}.page-thumb.drag-target{border-top:3px solid var(--accent)}.page-thumb .page-num{display:block}.thumbnail-placeholder{height:130px;background:white;box-shadow:0 2px 7px #173d6113;display:grid;place-items:center;color:var(--muted);margin-bottom:8px}.canvas-viewport{background:var(--workspace);overflow:auto;position:relative;min-width:0;scrollbar-color:#a9bacb transparent}.canvas-top{position:sticky;left:0;top:0;z-index:10;display:flex;justify-content:center;pointer-events:none;padding:15px 15px 0;height:44px}.tool-tip{display:inline-flex;align-items:center;gap:7px;background:var(--surface);border:1px solid var(--line);border-radius:30px;font-size:10px;color:var(--muted);padding:7px 12px;box-shadow:0 3px 10px #173d6106;pointer-events:auto;max-width:95%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tool-tip svg{width:13px;height:13px;color:var(--accent)}.page-wrap{position:relative;margin:24px auto 45px;box-shadow:0 4px 20px #173d6118;background:white;touch-action:auto;flex-shrink:0}.page-wrap>canvas{display:block;width:100%;height:100%;background:white}.text-layer,.object-layer,.interaction-layer{position:absolute;inset:0}.text-layer{pointer-events:none;overflow:hidden}.text-line{position:absolute;color:transparent;transform-origin:top left;white-space:pre;line-height:1;pointer-events:auto;user-select:text;cursor:text}.text-line::selection,.text-line *::selection{background:#2969a355;color:transparent}.object-hit{position:absolute;background:transparent;border:1px solid transparent;cursor:move}.object-hit:hover{border:1px solid #2969a3;background:#2969a313}.object-hit.selected{border:1.5px solid #2969a3;background:#2969a310}.object-hit.selected:after{content:'';position:absolute;width:7px;height:7px;right:-4px;bottom:-4px;background:white;border:1px solid #2969a3}.interaction-layer{touch-action:none;cursor:crosshair}.interaction-layer.select{pointer-events:none}.interaction-layer.select .object-hit{pointer-events:auto}.drag-preview{position:absolute;border:1.5px solid #2969a3;background:#2969a320;pointer-events:none}.drag-preview.redact{background:#19222acc;border-color:#000}.freehand-preview{position:absolute;inset:0;pointer-events:none;overflow:visible}.form-input{position:absolute;border:1px solid #2969a3;background:#e5f0fbbf;color:#173d61;padding:3px 5px;font-size:13px;border-radius:2px;min-width:10px}.form-input[type=checkbox],.form-input[type=radio]{appearance:auto;margin:0;cursor:pointer;accent-color:var(--accent)}.form-signature{font-size:9px;border-style:dashed;display:grid;place-items:center;background:#e5f0fb5e;cursor:pointer;color:#2969a3}.search-mark{position:absolute;background:#f2c93366;border:1px solid #dfa52a7a;pointer-events:none}.inspector{border-left:1px solid var(--line);overflow:auto;padding:20px 17px;background:var(--surface)}.inspector h3{font-size:12px;letter-spacing:-.1px;margin-bottom:17px;font-weight:600}.inspector p{font-size:11px;color:var(--muted);line-height:1.7}.inspector label,.form-grid label,.modal label{font-size:11px;display:block;color:var(--muted);margin-bottom:13px}.inspector label>input,.inspector label>select,.inspector label>textarea,.modal label>input,.modal label>select,.modal label>textarea{width:100%;display:block;margin-top:7px;border:1px solid var(--line);border-radius:5px;padding:9px 10px;background:var(--bg);color:var(--text);font-size:12px;min-width:0}.inspector input[type=color]{padding:3px;height:35px}.inspector .btn{width:100%;margin-bottom:8px;font-size:11px;padding:10px}.property-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.property-row label{min-width:0}.divider{height:1px;background:var(--line);margin:20px 0}.aside-box{background:var(--bg);border:1px solid var(--line);border-radius:6px;padding:11px 12px;font-size:10px;color:var(--muted);line-height:1.7;margin:16px 0}.aside-box strong{display:block;font-weight:550;color:var(--text);margin-bottom:3px}.inspector .small-link{padding:0;font-size:10px;text-decoration:underline;color:var(--muted)}.status-bar{height:38px;display:flex;justify-content:space-between;align-items:center;padding:0 17px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);flex-shrink:0;background:var(--surface)}.status-left,.status-right{display:flex;align-items:center;gap:12px}.status-bar .icon-btn{width:25px;height:25px}.status-bar .icon-btn svg{width:15px;height:15px}.status-bar select,.status-bar input{font-size:10px;background:var(--surface);border:1px solid var(--line);border-radius:4px;color:var(--text);padding:4px;width:58px}.status-bar .page-navigation{display:flex;align-items:center;gap:5px}.status-bar .page-navigation input{width:35px;text-align:center}.search-box{display:flex;gap:5px;margin-bottom:14px}.search-box input{width:100%;min-width:0;border:1px solid var(--line);padding:8px;border-radius:5px;background:var(--bg);color:var(--text);font-size:12px}.search-result{display:block;width:100%;text-align:left;padding:10px;border:1px solid var(--line);border-radius:5px;margin-bottom:6px;font-size:11px;color:var(--muted)}.search-result strong{color:var(--accent)}.outline-link{display:block;width:100%;padding:8px;font-size:11px;text-align:left;border-radius:4px}.mobile-page-toggle,.mobile-inspector-toggle{display:none}.no-document{display:grid;place-items:center;padding:50px}.overlay-drop{position:fixed;inset:8px;background:#e5f0fbe8;border:3px dashed #2969a3;border-radius:10px;z-index:40;display:grid;place-items:center;font-size:24px;pointer-events:none}
/* Dialogs */
.modal-overlay{position:fixed;inset:0;background:#10182166;backdrop-filter:blur(4px);z-index:60;display:grid;place-items:center;padding:20px}.modal{background:var(--surface);border:1px solid var(--line);border-radius:13px;box-shadow:0 28px 100px #10182126;width:min(100%,520px);max-height:90dvh;overflow:auto;padding:25px;color:var(--text)}.modal.wide{width:min(100%,800px)}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.modal-header h2{font-size:20px;letter-spacing:-.5px;margin:0}.modal p{font-size:12px;line-height:1.8;color:var(--muted)}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}.modal .callout{font-size:11px;padding:12px 14px;background:var(--light);border:1px solid var(--line);border-radius:6px;line-height:1.7;margin:14px 0;color:var(--muted)}.modal .callout.warn{background:#faf4e9;color:#9c7b3f}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 13px}.modal label.check{display:flex;align-items:start;gap:8px;line-height:1.6}.modal label.check input{width:auto;margin:2px 0 0}.modal textarea{resize:vertical;min-height:90px}.feature-table{width:100%;border-collapse:collapse;font-size:11px;line-height:1.6}.feature-table td,.feature-table th{border-bottom:1px solid var(--line);padding:12px 9px;text-align:left;vertical-align:top}.feature-table th{color:var(--muted);font-weight:500}.feature-table td:first-child{font-weight:550;width:28%}.tag{display:inline-block;padding:3px 6px;border-radius:4px;background:var(--light);color:var(--accent);font-size:9px;white-space:nowrap}.signature-tabs{display:flex;gap:5px;margin-bottom:17px}.signature-tabs button{padding:9px 14px;border:1px solid var(--line);border-radius:5px;font-size:12px}.signature-tabs button.active{background:var(--light);border-color:var(--accent-border)}.signature-canvas{width:100%;height:170px;touch-action:none;border:1px dashed var(--accent-border);border-radius:6px;background:#fff;display:block}.signature-type{font-family:cursive;font-style:italic;font-size:36px!important;color:#173d61!important}.signature-preview{max-width:100%;max-height:170px;display:block;margin:auto}.compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.compare-grid canvas,.compare-grid img{width:100%;background:#fff;border:1px solid var(--line)}.comparison-summary{font-size:12px;padding:12px;background:var(--bg);border:1px solid var(--line);border-radius:5px;line-height:1.8}.shortcuts{display:grid;grid-template-columns:1fr auto;gap:15px;font-size:12px;color:var(--muted)}kbd{font:10px ui-monospace,monospace;background:var(--bg);border:1px solid var(--line);padding:4px 6px;border-radius:4px}.disclaimer-text p{font-size:12px;line-height:1.85}#toast-root{position:fixed;bottom:55px;left:50%;transform:translateX(-50%);z-index:100;width:max-content;max-width:90vw;pointer-events:none}.toast{padding:12px 19px;margin-top:6px;border:1px solid var(--accent-border);box-shadow:0 8px 30px #173d611a;background:var(--surface);border-radius:8px;font-size:12px;display:flex;align-items:center;gap:9px;color:var(--text)}.toast.error{border-color:#dcb7ad;color:#a7503c}.toast svg{width:16px;height:16px;color:var(--accent)}#busy:not([hidden]){position:fixed;inset:0;background:var(--busy-bg);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;gap:13px;z-index:80;color:var(--accent);font-size:14px;flex-wrap:wrap}#cancel-work{position:absolute;top:calc(50% + 45px);font-size:11px;text-decoration:underline;color:var(--muted)}.spinner{width:22px;height:22px;border:2px solid var(--accent-border);border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.loading-error{padding:25px;color:#a74e3b;font-size:13px}.dark{color-scheme:dark;--bg:#151d25;--surface:#1c2834;--text:#e5edf4;--muted:#b0bfcd;--line:#3b4c5b;--accent:#91c0e6;--accent-hover:#c1dff6;--accent-strong:#c1dff6;--light:#263d51;--accent-border:#668bad;--workspace:#101821;--shadow:0 12px 45px #0003;--busy-bg:#101821e0;background:var(--bg);color:var(--text)}
@media(min-width:1550px){.home-hero{margin-top:70px;margin-bottom:10px}.hero-art{height:470px}.tools-section{margin-top:62px}}@media(max-width:1100px){.workspace{grid-template-columns:145px 1fr 217px}.page-list{padding:5px 12px}.hero-copy h1{font-size:53px}.home-hero{gap:10px;margin-top:25px}.hero-art{transform:scale(.88)}.header-actions .local-indicator{display:none}.editor-header{gap:10px}.feature-grid{gap:10px}.top-nav{padding:0 30px}.nav-links{gap:20px}}@media(max-width:850px){.workspace{grid-template-columns:128px 1fr}.inspector{display:none;position:absolute;right:0;top:171px;bottom:38px;width:245px;z-index:25;box-shadow:-8px 0 25px #173d611a}.inspector.mobile-open{display:block}.mobile-inspector-toggle{display:grid}.hero-copy h1{font-size:46px}.hero-art{transform:scale(.78);margin-left:-35px;width:440px}.home-hero{gap:0;overflow:hidden;padding-left:23px;padding-right:0;grid-template-columns:1fr 44%;margin-top:20px}.hero-copy>p{font-size:13px}.feature-grid{grid-template-columns:repeat(2,1fr)}.local-bar{gap:20px;font-size:10px}.nav-links .nav-link{display:none}.hero-fine{gap:10px}.hero-fine span{font-size:9px}.hero-actions{gap:4px}.hero-actions .btn{padding:13px 16px}.section-head .subtle{display:none}.header-actions .btn span{display:none}.header-actions .btn{padding:9px}.document-tabs{max-width:none}.doc-tab{max-width:170px}.doc-tab .filename{max-width:95px}}@media(max-width:600px){.top-nav{height:72px;padding:0 21px}.brand{font-size:25px}.nav-links{gap:9px}.nav-links .pill{font-size:9px;padding:6px 8px}.home-hero{grid-template-columns:1fr;margin-top:27px;padding:0 24px 20px;gap:0;overflow:hidden}.hero-copy{padding:0}.hero-copy h1{font-size:49px;max-width:360px;line-height:1.08;margin-top:20px}.hero-copy>p{font-size:14px;line-height:1.75;max-width:350px}.hero-art{height:350px;width:100%;transform:scale(.85);margin:0 0 -20px}.float-badge.edit{left:0}.float-badge.sign{right:0;bottom:35px}.local-bar{flex-wrap:wrap;gap:16px 25px;padding:20px 12px;font-size:9px}.local-bar span:last-child{display:none}.tools-section{margin-top:32px;padding:0 20px}.section-head h2{font-size:24px}.section-head p{font-size:11px}.feature-card{padding:18px 15px;min-height:155px}.feature-card p{font-size:10px}.feature-card h3{font-size:13px}.feature-card>.arrow{right:13px;top:24px}.start-strip{padding:16px;gap:10px;align-items:start}.start-strip .btn{font-size:10px;padding:8px}.start-strip .left{gap:8px;font-size:11px}.start-strip small{font-size:9px}.early-note{padding:14px;font-size:10px;gap:9px}.early-note p{font-size:10px}.footer{padding:22px 20px;gap:20px;flex-wrap:wrap}.footer-links{gap:16px;font-size:10px}.footer .footer-note{display:none}.editor-header{height:55px;padding:0 10px;gap:8px}.editor-header .brand{font-size:0;gap:0}.editor-header .brand-mark{font-size:20px;width:27px;height:30px}.header-divider{display:none}.header-actions{gap:2px}.header-actions>.icon-btn{display:none}.header-actions .btn{font-size:10px;padding:8px}.header-actions .btn svg{width:16px;height:16px}.doc-tab{font-size:10px;padding:7px 5px;gap:4px;max-width:145px}.doc-tab .filename{max-width:83px}.document-tabs>.icon-btn{width:25px;flex-shrink:0}.ribbon-tabs{padding:0 8px;gap:10px;height:39px}.ribbon-tab{height:39px;font-size:11px;padding:0 3px}.ribbon-tools{padding:5px 6px;min-height:61px;gap:1px}.tool{height:49px;min-width:53px;font-size:9px;padding:4px 7px}.tool svg{width:18px;height:18px}.workspace{display:block;position:relative}.canvas-viewport{height:100%}.sidebar{display:none;position:absolute;top:0;bottom:0;left:0;width:137px;z-index:25;box-shadow:8px 0 20px #173d611a}.sidebar.mobile-open{display:flex}.inspector{top:0;bottom:0;width:240px}.mobile-page-toggle{display:grid}.status-bar{padding:0 7px}.status-left,.status-right{gap:5px}.status-left .status-message{display:none}.status-bar .early-production{display:none}.page-wrap{margin:15px auto 40px}.canvas-top{padding-top:10px;height:36px}.tool-tip{font-size:9px;padding:6px 10px}.modal{padding:20px 17px;max-height:91dvh}.modal-overlay{padding:12px}.modal-header h2{font-size:19px}.form-grid{grid-template-columns:1fr}.modal-actions .btn{font-size:11px}.feature-table td,.feature-table th{font-size:10px;padding:9px 6px}.compare-grid{grid-template-columns:1fr}.home .hero-fine span{font-size:10px}.hero-actions{gap:9px}.hero-actions .btn{padding:15px 20px}.hero-art .orbit{width:390px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

.modal-overlay{z-index:90}.object-layer{pointer-events:none!important}.object-hit{pointer-events:auto}.text-line:hover{background:#2969a314}.text-line{overflow:hidden}.section-head .subtle svg{width:14px;height:14px;vertical-align:middle;margin-left:4px}

.ribbon-tabs{overflow-y:hidden}.ribbon-tab{height:42px}

.mobile-only{display:none}@media(max-width:600px){.tool.mobile-only{display:flex}.tool-separator.mobile-only{display:block}}
/* Text formatting controls and familiar font choices. */
.brand{font-size:24px;letter-spacing:-1px;gap:9px}.brand-word{white-space:nowrap}.brand-mark{font:650 24px/1 ui-sans-serif,system-ui,sans-serif;letter-spacing:-1px;padding:0}.editor-header .brand{font-size:19px;letter-spacing:-.7px}.editor-header .brand-mark{font-size:20px}.footer .brand{font-size:17px}.format-toggles{display:flex;gap:5px;margin:0 0 15px;align-items:center}.format-toggle{display:grid;place-items:center;min-width:38px;height:36px;border:1px solid var(--line);border-radius:5px;font-size:16px;background:var(--bg)}.format-toggle.bold{font-weight:750}.format-toggle.italic{font-family:Georgia,serif;font-style:italic}.format-toggle.underline{text-decoration:underline;text-underline-offset:4px}.format-toggle.active{background:var(--light);border-color:var(--accent);color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.ribbon-format{margin:0 4px;flex-shrink:0}.ribbon-format .format-toggle{height:37px;min-width:34px}.font-note{font-size:9px!important;line-height:1.6!important;margin:-4px 0 13px!important}.cj-wordmark,.cj-nav,.cj-back{display:none}.font-overflow{color:#9a6b29}
/* CJaraTech mount: same navigation, paper surfaces and blue accents as its tools. */

.integrated .cj-wordmark{display:inline;font:800 15px 'Futura','Trebuchet MS',Arial,sans-serif;letter-spacing:1.2px;color:var(--text);white-space:nowrap}.integrated .cj-wordmark span{color:var(--accent);margin-left:6px}.integrated .cj-nav{display:flex;gap:26px;font-size:12px;font-weight:600;margin-left:30px}.integrated .top-nav{height:96px;border-bottom:1px solid var(--line);max-width:1180px;padding:0;margin:0 auto;gap:16px}.integrated .nav-links{gap:18px;margin-left:auto}.integrated .nav-links>.nav-link{display:none}.integrated .pill{font-size:10px}.integrated .hero-copy h1{font-family:'Futura','Trebuchet MS',Arial,sans-serif;font-weight:700;letter-spacing:-3px;color:var(--text)}.integrated .hero-copy h1 em{color:var(--accent)}.integrated .hero-copy>p{color:var(--muted)}.integrated .start-strip{background:var(--light);border-color:var(--accent-border);color:var(--muted)}.integrated .feature-card:first-child .tile-icon{color:var(--accent);background:var(--light)}.integrated .page-thumb.active{background:var(--light);border-color:var(--accent-border)}.integrated .brand-mark{background:var(--accent)}.integrated .cj-back{display:inline;font-size:10px;color:var(--muted);white-space:nowrap}.integrated .editor-header{gap:14px}
@media(max-width:1250px){.integrated .top-nav{margin:0 5%;gap:12px}.integrated .cj-nav{margin-left:8px;gap:17px}.integrated .nav-links{gap:10px}}@media(max-width:850px){.integrated .cj-nav a:nth-child(2){display:none}.integrated .nav-links .pill{display:none}.integrated .cj-back{display:none}.editor-header .brand{font-size:17px}.integrated .top-nav{padding:0;height:80px}}@media(max-width:600px){.top-nav .nav-links .pill{display:none}.top-nav .brand{font-size:21px}.editor-header .brand{font-size:0}.editor-header .brand-mark{font-size:20px}.format-toggle{min-width:34px;height:34px}.ribbon-format .format-toggle{min-width:30px;height:34px}.ribbon-format{gap:3px;margin:0 2px}.integrated .cj-nav{font-size:10px;gap:10px}.integrated .cj-nav a:nth-child(3){display:none}.integrated .cj-wordmark{font-size:13px}.integrated .hero-copy h1{letter-spacing:-2px}.integrated .top-nav{height:76px}}

/* Live editing controls stay outside the scrolling properties panel. */
.selection-bar[hidden]{display:none}
.selection-bar{display:flex;align-items:center;gap:10px;min-height:56px;padding:8px 18px;border-bottom:1px solid var(--accent-border);background:var(--light);flex-shrink:0;z-index:12}
.selection-summary{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0;font-size:11px}
.selection-summary strong{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.selection-state{font-size:10px;color:var(--muted)}
.auto-fit-label{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:10px;margin-right:10px}.auto-fit-label svg{width:13px;height:13px;color:var(--accent)}
.editing-note{font-size:10px!important;line-height:1.6!important;color:var(--muted);margin-bottom:14px}
@media(max-width:600px){.auto-fit-label{display:none}}
.selection-bar .btn{padding:9px 13px;font-size:11px}
.selection-properties{display:none}
.workspace{position:relative}
.text-selection-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;fill:#2969a345;stroke:none;overflow:visible}
.editing-text .text-line::selection{background:transparent}
.editing-text .text-line:hover{background:transparent}
.selection-inspector-actions{position:sticky;bottom:-20px;background:var(--surface);padding:10px 0 3px;margin-top:12px;border-top:1px solid var(--line)}
@media(max-width:850px){.selection-properties{display:inline-flex}.inspector{top:0;bottom:0}}
@media(max-width:600px){.selection-bar{gap:6px;padding:7px 8px;min-height:60px}.selection-bar .btn{padding:9px 10px;font-size:10px}.selection-summary{font-size:10px}.selection-state{font-size:9px}.selection-properties{padding:8px!important}.selection-properties span{display:none}.selection-bar .icon-btn{width:28px;flex-shrink:0}.selection-bar .btn svg{width:15px;height:15px}}
/* Pro PDF Editor identity: original locally served logo and one shared palette. */
.brand{padding:0;gap:0;flex-shrink:0;border-radius:7px;line-height:1}
.brand:hover{background:var(--light)}
.brand-logo{position:relative;display:block;overflow:hidden;width:240px;height:56px}
.brand-logo img{position:absolute;width:248px;height:auto;max-width:none;left:50%;top:50%;transform:translate(-50%,-50%)}
.editor-header .brand-logo{width:180px;height:43px}
.editor-header .brand-logo img{width:188px}
.footer .brand-logo{width:170px;height:40px}
.footer .brand-logo img{width:178px}
.dark .brand{background:#f3f5f7}
.btn.primary,.integrated .btn.primary{background:#2969a3;border-color:#2969a3;color:#fff}
.btn.primary:hover,.integrated .btn.primary:hover{background:#173d61;border-color:#173d61}
.dark .btn.primary:hover{background:#3275b1;border-color:#3275b1}
.hero-paper{color:#19222a}
.hero-art .paper-chart i:nth-child(2n){background:#2969a3}
.hero-art .paper-sign,.hero-art .float-badge svg{color:#2969a3}
.hero-art .float-badge{color:#19222a}
.hero-art .cursor{color:#2969a3}
.hero-art .cursor svg{fill:#2969a3}
.hero-art .cursor span{background:#2969a3}
.feature-card:nth-child(n) .tile-icon{background:var(--light);color:var(--accent)}
.early-note strong{color:var(--text)}
.early-note button{color:var(--accent);text-underline-offset:3px}
.start-strip small,.footer{color:var(--muted)}
.integrated .start-strip,.integrated .page-thumb.active{background:var(--light);border-color:var(--accent-border);color:var(--accent)}
.integrated .feature-card:first-child .tile-icon{background:var(--light);color:var(--accent)}
.integrated .hero-copy h1,.integrated .cj-wordmark{color:var(--text)}
.integrated .hero-copy h1 em{color:var(--accent)}
.integrated .hero-copy>p,.integrated .cj-back{color:var(--muted)}
.dark .hero-art{filter:none}
.dark .toast.error,.dark .loading-error,.dark .btn.danger{color:#f2ad9f}
.dark .modal .callout.warn{background:#3d3528;color:#e4c58d}
.dark .font-overflow{color:#e4c58d}
@media(max-width:600px){
 .top-nav .brand-logo{width:192px;height:46px}.top-nav .brand-logo img{width:200px}
 .editor-header .brand-logo{width:37px;height:42px}.editor-header .brand-logo img{width:180px;left:-5px;top:-9px;transform:none}
 .footer .brand-logo{width:154px;height:37px}.footer .brand-logo img{width:162px}
}
