*{box-sizing:border-box}body{margin:0;font:15px/1.5 system-ui,sans-serif;color:#1c302e;background:#edf1f2}button,input,select,textarea{font:inherit}button,.file{border:1px solid #d6dedd;background:#fff;color:#243d39;padding:9px 13px;border-radius:8px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px}button:hover,.file:hover{background:#e6efec}button:disabled{opacity:.4;cursor:not-allowed}button.active,.primary{background:#173d37;color:#fff;border-color:#173d37}.top{height:76px;background:#fff;border-bottom:1px solid #d8dfdd;display:flex;align-items:center;gap:20px;padding:0 28px}.brand{font-weight:850;font-size:25px;letter-spacing:-1px}.brand span{color:#468879}.sub{font-size:13px;color:#61736f}.grow{flex:1}.workspace{display:grid;grid-template-columns:235px minmax(0,1fr);height:calc(100dvh - 76px)}aside{background:#fafcfb;border-right:1px solid #d8dfdd;padding:20px;overflow:auto}h2{font-size:12px;text-transform:uppercase;letter-spacing:1.5px;color:#687c77;margin:22px 0 12px}.tools{display:grid;gap:7px}.tools button{justify-content:flex-start;border-color:transparent;background:transparent}.tools button.active{background:#dfece6;color:#173d37;font-weight:650}.tools button b{font-size:19px;width:25px;text-align:center}main{min-width:0;display:flex;flex-direction:column;overflow:hidden}.bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:12px 20px;background:#f9fbfa;border-bottom:1px solid #d8dfdd}.stage{flex:1;overflow:auto;padding:30px;position:relative}.empty{max-width:670px;margin:6vh auto;text-align:center;border:2px dashed #b7c9c3;border-radius:20px;padding:50px 25px;background:#f7faf9}.empty .mark{font-size:46px;color:#498477}.empty h1{font-size:30px;letter-spacing:-1px;margin:16px 0 6px}.empty p{color:#657a74}.empty .file{margin:15px;background:#173d37;color:#fff;padding:13px 24px}.tips{display:flex;justify-content:center;gap:24px;margin-top:30px;font-size:13px;color:#687c77}.paper{position:relative;margin:0 auto;box-shadow:0 6px 25px #1c302e22;background:#fff;line-height:0}.paper canvas{display:block}.paper svg{position:absolute;inset:0;width:100%;height:100%;touch-action:none}.footer{padding:9px 20px;background:#f9fbfa;font-size:13px;display:flex;gap:15px;border-top:1px solid #d8dfdd}.pages{display:flex;gap:7px;overflow:auto;padding:8px 20px;background:#e5ebe8;max-height:130px}.thumb{flex-direction:column;min-width:64px;padding:6px;font-size:12px}.thumb canvas{max-width:46px;max-height:63px}.options{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:10px 20px;background:#fff}input[type=text],input[type=number],textarea,select{border:1px solid #c6d3ce;border-radius:6px;padding:7px;max-width:100%}input[type=number]{width:66px}input[type=color]{width:34px;height:34px;border:0;background:none}#text{width:220px}.hidden,[hidden]{display:none!important}.status{font-size:12px;border:1px solid #d5e2dc;background:#eff5f1;border-radius:20px;padding:5px 10px}.note{font-size:12px;color:#647a73;margin-top:24px}dialog{border:0;border-radius:16px;box-shadow:0 20px 80px #0004;max-width:600px;width:90%;padding:28px}dialog::backdrop{background:#14282277}dialog h2{font-size:19px;color:#173d37;text-transform:none;letter-spacing:0;margin-top:0}.field{display:grid;gap:6px;margin:15px 0}#toast{position:fixed;bottom:35px;left:50%;transform:translate(-50%);background:#173d37;color:#fff;padding:12px 20px;border-radius:10px;z-index:10;max-width:90%}#searchResults button{display:block;margin:8px 0;text-align:left;width:100%}button:focus-visible,.file:focus-within{outline:3px solid #ce922b;outline-offset:2px}.busy{pointer-events:none;opacity:.6}@media(max-width:760px){.top{height:auto;min-height:68px;padding:12px;gap:10px;flex-wrap:wrap}.top .sub{display:none}.top button{padding:8px}.workspace{height:calc(100dvh - 92px);display:flex;flex-direction:column}aside{padding:8px;border-right:0;flex-shrink:0;overflow:auto}aside h2,aside .note{display:none}.tools{display:flex;width:max-content}.tools button{padding:8px;font-size:13px}.tools button b{font-size:16px;width:auto}main{flex:1}.stage{padding:15px}.bar,.options{padding:8px;gap:5px}.bar button{padding:6px 9px;font-size:13px}.empty{margin:15px auto;padding:25px 15px}.empty h1{font-size:25px}.tips{gap:10px;flex-wrap:wrap}.footer{font-size:12px;padding:6px 10px}.status{font-size:11px}.pages{padding:5px 10px}#text{width:150px}}#app{height:100dvh;display:flex;flex-direction:column}.top{flex-shrink:0}.workspace{flex:1;min-height:0;height:auto}.footer #filename{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:45%}@media(max-width:760px){.top .status{margin-left:auto}.top .grow{display:none}.top .brand{margin-right:auto}.top #share,.top #save,.top #export{font-size:13px;padding:7px 10px}.workspace{height:auto}}.landing{min-height:100dvh;background:radial-gradient(circle at 75% 10%,#d7e9e3 0,#edf1f2 42% 100%);color:#173d37;padding:clamp(22px,5vw,72px)}.landing-inner{max-width:1060px;margin:0 auto}.landing-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:clamp(50px,9vh,110px)}.landing-head .brand{font-size:30px}.landing #authPanel{max-width:510px;background:#fff;border:1px solid #d3dfdb;border-radius:18px;box-shadow:0 20px 60px #173d3712;padding:clamp(24px,5vw,50px)}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:800;color:#568276;margin:0 0 12px}.landing h1{font-size:clamp(30px,5vw,53px);letter-spacing:-2px;line-height:1.04;margin:0 0 15px}.landing .lead{color:#61756f;font-size:17px;max-width:620px;margin:0 0 26px}.landing .field{margin:14px 0}.landing .field input{width:100%;border:1px solid #c6d3ce;border-radius:8px;padding:11px 12px;background:#fbfdfc}.auth-submit{width:100%;margin-top:8px;padding:12px}.link-button{border:0;background:transparent;color:#317769;padding:12px 0;text-decoration:underline}.auth-note{font-size:13px;color:#71827d;margin:9px 0 0}.library-top{display:flex;justify-content:space-between;align-items:flex-start;gap:30px;margin-bottom:30px}.library-top h1{font-size:clamp(30px,5vw,48px)}.library-top button{margin-top:8px}.library-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#fff;border:1px solid #d3dfdb;padding:15px;border-radius:12px}.file-list{display:grid;gap:10px;margin-top:20px}.file-card{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #d3dfdb;border-radius:12px;padding:14px 16px;box-shadow:0 7px 18px #173d3708}.file-icon{display:grid;place-items:center;background:#e4efeb;color:#317769;font-weight:800;border-radius:8px;width:46px;height:52px;font-size:11px}.file-card-main{display:grid;gap:3px;min-width:0;flex:1}.file-card-main strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-card-main span{font-size:12px;color:#71827d}.file-card .delete-server-file{font-size:20px;padding:5px 10px}.empty-library{text-align:center;padding:65px 20px;border:1px dashed #b7c9c3;border-radius:16px;background:#f8fbfa;color:#687c77}.empty-library h2{color:#173d37;text-transform:none;letter-spacing:0;font-size:22px;margin:12px 0 4px}.empty-mark{font-size:40px;color:#498477}@media(max-width:760px){.landing{padding:20px}.landing-head{margin-bottom:45px}.landing #authPanel{padding:25px 20px}.library-top{display:block}.library-top button{margin-top:0}.file-card{padding:10px}.file-card .open-server-file{padding:8px}.file-card .delete-server-file{padding:5px 8px}.landing .lead{font-size:15px}}.modify-target{fill:#4b998933;stroke:#317769;stroke-width:1.5;stroke-dasharray:4 3;cursor:pointer;pointer-events:all}.modify-target:hover{fill:#ce922b55;stroke:#ce922b}.modify-coords{display:grid;grid-template-columns:1fr 1fr;gap:8px}.modify-coords .field{margin:4px 0}@media print{body{background:#fff}.landing,.top,aside,.bar,.options,.pages,.footer,#toast,dialog{display:none!important}#editorShell,main,.stage{display:block!important;height:auto!important;overflow:visible!important;padding:0!important}.paper{box-shadow:none!important;margin:0!important;break-after:page}.paper svg{display:none!important}}.asset-dialog{max-width:860px;max-height:92dvh;overflow:auto;padding:24px}.wizard-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.wizard-heading h2{margin:0}.wizard-heading button{font-size:22px;padding:3px 12px}.wizard-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:24px}.wizard-steps{display:flex;list-style:none;gap:8px;padding:0;margin:22px 0;color:#71827d;font-size:13px}.wizard-steps li{flex:1;padding:8px;border-bottom:2px solid #dbe4df}.wizard-steps .current{color:#173d37;font-weight:700;border-color:#317769}.method-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:25px 0}.method-grid button{display:flex;flex-direction:column;min-height:150px;text-align:center;font-weight:650;padding:20px}.method-grid b{font-size:32px}.method-grid span{font-size:13px;font-weight:400;color:#687c77}.asset-library{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px;max-height:50dvh;overflow:auto}.asset-card{border:1px solid #d8dfdd;border-radius:10px;overflow:hidden}.asset-choose{display:grid;width:100%;border:0;border-radius:0;padding:15px;gap:12px}.asset-choose img{height:85px;max-width:100%;width:100%;object-fit:contain}.asset-choose span{overflow-wrap:anywhere;font-size:13px}.asset-remove{font-size:12px;border:0;border-top:1px solid #d8dfdd;width:100%;border-radius:0;color:#8b3636}.signature-surface{position:relative;background:#fff;border:1px solid #b7c9c3;border-radius:12px;overflow:hidden;box-shadow:inset 0 -1px #e1e9e5}.signature-surface:after{content:"";position:absolute;left:8%;right:8%;bottom:22%;border-bottom:1px dashed #d8dfdd;pointer-events:none}.signature-surface canvas{display:block;width:100%;aspect-ratio:3/1;touch-action:none;cursor:crosshair;position:relative;z-index:1}.pad-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.muted,.form-field small{font-size:13px;color:#687c77}.transparent-preview,.asset-source-preview{background:repeating-conic-gradient(#e3e9e6 0% 25%,#fff 0% 50%) 50%/16px 16px;border:1px solid #d8dfdd;border-radius:8px;min-height:90px;padding:15px;display:flex;align-items:center;justify-content:center}.transparent-preview img{width:auto;max-width:100%;max-height:150px;object-fit:contain}.asset-source-preview:empty{display:none}.asset-source-preview canvas{max-width:100%;max-height:250px;object-fit:contain;width:auto;height:auto}.size-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,.8fr);gap:30px;align-items:start}.check-field{display:flex;gap:9px;align-items:center;margin:14px 0;font-size:14px}.check-field input{accent-color:#173d37}.a4-preview{position:relative;background:#fff;width:100%;aspect-ratio:210/297;box-shadow:0 4px 20px #173d3722;border:1px solid #d8dfdd}.a4-preview span{position:absolute;top:12px;left:12px;font-size:11px;color:#85948d}.a4-preview img{position:absolute;left:12%;top:65%;height:auto;object-fit:contain}.final-preview{min-height:150px}#assetError{color:#983a30;background:#fff1ed;padding:10px 13px;border-radius:8px}.remote-sign{display:grid;grid-template-columns:240px minmax(0,1fr);gap:22px;align-items:center}.remote-sign>div:first-child{text-align:center}.remote-sign a{display:block;color:#317769;overflow-wrap:anywhere}.remote-sign canvas#signatureQr{max-width:100%;height:auto}.mobile-sign{min-height:100dvh;overflow:auto;padding:clamp(20px,5vw,55px);background:#f8fbfa}.mobile-sign-inner{width:100%;max-width:850px;margin:auto}.mobile-sign .brand{margin-bottom:45px}.mobile-sign h1{font-size:clamp(28px,6vw,42px);line-height:1.15;letter-spacing:-1px;margin:0 0 15px}.mobile-sign .signature-surface{margin-top:25px}.mobile-sign #mobileStatus{padding:10px 14px;background:#e4efeb;border-radius:8px;font-size:14px}.mobile-sign .wizard-actions{justify-content:flex-start}.field-target{fill:#4b99891c;stroke:#317769;stroke-width:1.2;stroke-dasharray:3 3;cursor:text;pointer-events:all}.field-target:hover{fill:#4b99894d;stroke:#173d37}.comb-control{display:flex;flex-wrap:wrap;gap:3px}.comb-control input{width:30px!important;text-align:center;padding:7px 0}.form-field{border-bottom:1px solid #e1e9e5;padding-bottom:15px}.form-field>label{font-weight:600}.form-field input[type=date],#zoneDate{padding:8px;border:1px solid #c6d3ce;border-radius:6px;width:100%}.form-field>input[type=checkbox]{justify-self:start}.asset-dialog input[type=range]{width:100%}.asset-dialog input[type=number]{width:100px}#stampPicker,#signaturePicker{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}#stampPicker select,#signaturePicker select{max-width:210px}#dialog{max-height:90dvh;overflow:auto}@media(max-width:760px){.asset-dialog{padding:18px;width:95%}.method-grid{gap:10px}.method-grid button{font-size:14px;padding:12px;min-height:140px}.size-layout{grid-template-columns:1fr 150px;gap:15px}.remote-sign{grid-template-columns:1fr;gap:15px}.remote-sign>div:first-child{max-width:250px;margin:auto}.wizard-steps{font-size:11px;gap:2px}.wizard-steps li{padding:7px 3px}.wizard-actions button{flex:1}.mobile-sign .brand{margin-bottom:25px}.mobile-sign .signature-surface canvas{aspect-ratio:3/1;min-height:130px}.mobile-sign .signature-surface{margin:20px -8px}.mobile-sign .wizard-actions{gap:8px}.mobile-sign .wizard-actions button{font-size:13px;padding:10px}.a4-preview span{font-size:9px;left:6px;top:6px}}@media(max-width:420px){.size-layout{grid-template-columns:1fr}.a4-preview{width:160px;margin:0 auto}.method-grid{grid-template-columns:1fr}.method-grid button{min-height:100px}.asset-library{grid-template-columns:1fr 1fr}}.asset-dialog[open]{display:flex;flex-direction:column}.asset-dialog #assetBody{overflow:auto;min-height:0}.asset-dialog .wizard-heading,.asset-dialog #assetSteps,.asset-dialog #assetError,.asset-dialog #assetActions{flex-shrink:0}.asset-dialog #assetActions{margin-top:18px}.a4-preview{max-width:250px;justify-self:center}#editorShell{display:flex;flex-direction:column;flex:1;min-height:0}.document-tabs{display:flex;gap:5px;padding:8px 20px 0;background:#e5ebe8;overflow-x:auto;flex-shrink:0;min-height:47px}.document-tab{display:flex;align-items:center;flex-shrink:0;max-width:260px;background:#d8e4df;border:1px solid #bdcfc6;border-bottom:0;border-radius:9px 9px 0 0}.document-tab.active{background:#f9fbfa;border-color:#317769;box-shadow:inset 0 3px #317769}.document-tab-select{min-width:0;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;text-align:left;border:0;border-radius:8px 0 0;background:transparent;font-size:13px;padding:9px 12px}.document-tab-close{border:0;background:transparent;font-size:20px;padding:2px 9px;border-radius:6px;flex-shrink:0}.document-tab-select:focus-visible{outline-offset:-3px}.bar,.options,.pages,.footer,.form-options{flex-shrink:0}.stage{min-height:0;touch-action:pan-x pan-y;overscroll-behavior:contain}.paper-frame{position:relative;margin:0 auto;flex-shrink:0}.paper-frame .paper{margin:0;transform-origin:0 0}.page-layout{gap:18px}.page-layout[data-mode=horizontal]{display:flex;width:max-content;min-width:100%;align-items:flex-start;justify-content:center}.page-layout[data-mode=vertical]{display:grid;grid-template-columns:minmax(0,1fr);justify-items:safe center}.page-slot{flex:none}.page-slot[data-active]{outline:2px solid #317769}.page-slot .page-preview{display:block;width:calc(var(--page-width) * var(--page-scale));height:calc(var(--page-height) * var(--page-scale));padding:0;border:0;border-radius:0;background:#fff;box-shadow:0 6px 25px #1c302e22;line-height:0}.paper>canvas,.page-slot .page-preview canvas{display:block;width:100%;height:100%}.page-slot .page-preview:is(:hover,:focus-visible),.page-slot:focus-visible{outline:2px solid #317769;outline-offset:0}@media print{.page-layout:is([data-mode=horizontal],[data-mode=vertical]){display:block;width:auto}.page-slot:not([data-active]){display:none}.page-slot[data-active]{outline:0}}.form-layer{position:absolute;inset:0;pointer-events:none;line-height:normal}.inline-field{position:absolute;pointer-events:auto;background:#f7fff5e6;border:1px solid #31776988;line-height:normal;min-width:0}.inline-field:focus-within{outline:2px solid #ce922b;outline-offset:1px;background:#fff}.inline-field>input,.inline-field>select,.inline-field>textarea{display:block;width:100%;height:100%;max-width:none;min-width:0;border:0;border-radius:0;padding:1px 3px;background:transparent;color:#102b26;font:inherit;line-height:normal;resize:none}.inline-field>input[type=checkbox],.inline-field>input[type=radio]{margin:0;accent-color:#173d37;cursor:pointer}.inline-field :disabled{background:#edf1f2;color:#61736f;cursor:default}.inline-field .comb-control{width:100%;height:100%;flex-wrap:nowrap;gap:0}.inline-field .comb-control input{flex:1;width:0!important;min-width:0;height:100%;padding:0;border:0;border-right:1px solid #31776944;border-radius:0;font:inherit;background:transparent}.inline-field .comb-control input:last-child{border-right:0}.form-options{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:8px 20px;background:#edf6ef;border-bottom:1px solid #c6d3ce;font-size:13px}.form-options>span:not(#formStatus),#zoneDateSettings{display:inline-flex;gap:7px;align-items:center;flex-wrap:wrap}.form-options label{display:inline-flex;align-items:center;gap:6px}.form-options input[type=date]{font:inherit;border:1px solid #c6d3ce;border-radius:6px;padding:5px;width:auto;max-width:100%}.form-options button,.form-options select{padding:5px 8px;font-size:13px}#formApply{margin-left:auto}@media(max-width:760px){.document-tabs{padding:5px 8px 0;min-height:42px}.document-tab{max-width:210px}.document-tab-select{max-width:175px}.form-options{padding:7px 8px;gap:6px}#formStatus{width:100%;font-size:12px}#formApply{margin-left:0}.form-options #zoneDate{width:auto}.inline-field{font-size:12px}}@media print{.document-tabs,.form-options,.form-layer{display:none!important}.paper-frame{margin:0!important}.paper{transform:none!important}}@media(max-width:760px){.top{padding:8px;gap:6px}.top button,.top #share,.top #save,.top #export{font-size:12px;padding:6px 8px}.options{font-size:13px}.thumb{min-width:54px;padding:4px}.thumb canvas{max-width:34px;max-height:48px}.form-options button{font-size:12px}}.paper .signature-layer{pointer-events:none;overflow:visible}.signature-image,.signature-outline{pointer-events:none}.signature-hit{fill:transparent;pointer-events:all;cursor:move;touch-action:none}.signature-hit:focus-visible{outline:none;stroke:#ce922b;stroke-width:2;stroke-dasharray:4 3}.signature-outline{fill:none;stroke:#317769;stroke-width:1.5;vector-effect:non-scaling-stroke}.signature-handle{fill:#fff;stroke:#317769;stroke-width:2;pointer-events:all}.signature-handle-hit{fill:transparent;pointer-events:all}.signature-handle.nw,.signature-handle.se,.signature-handle-hit.nw,.signature-handle-hit.se{cursor:nwse-resize}.signature-handle.ne,.signature-handle.sw,.signature-handle-hit.ne,.signature-handle-hit.sw{cursor:nesw-resize}#signatureActions{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px}#signatureActions button{font-size:13px;padding:6px 9px}@media print{.paper #signatureLayer{display:block!important}.signature-hit,.signature-selection{display:none!important}}#googleButton{min-height:44px;display:flex;justify-content:center}.google-auth{margin-bottom:18px;max-width:100%}.google-auth[aria-busy=true] #googleButton{opacity:.65}.google-auth .auth-note{overflow-wrap:anywhere}.auth-divider{display:flex;align-items:center;gap:12px;color:#71827d;font-size:12px;margin-top:22px}.auth-divider:before,.auth-divider:after{content:"";height:1px;flex:1;background:#d6dfdb}.textLayer{position:absolute;text-align:initial;inset:0;overflow:clip;opacity:1;line-height:1;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;z-index:1;user-select:text;touch-action:pan-x pan-y;pointer-events:none}.textLayer :is(span,br){color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0 0;pointer-events:auto}.textLayer>:not(.markedContent),.textLayer .markedContent span:not(.markedContent){z-index:1}.textLayer span.markedContent{top:0;height:0}.textLayer span[role=img]{user-select:none;cursor:default}.textLayer ::selection{background:#3978d766}.textLayer br::selection{background:transparent}.textLayer .search-hit{position:static!important;color:transparent;background:#ffd85599;border-radius:2px}.textLayer .search-hit.current{background:#ff9e38bb;outline:1px solid #ce922b}.paper #overlay{z-index:2}.paper #formLayer{z-index:3}.paper #signatureLayer{z-index:4}.search-bar,.paragraph-controls,.ocr-progress{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 20px;background:#fff;border-bottom:1px solid #c6d3ce;flex-shrink:0;font-size:13px}.search-bar input{width:260px;min-width:80px;flex:1;max-width:400px}.search-bar button{padding:5px 12px}.search-bar #searchCount{min-width:90px}.search-bar #searchClose{margin-left:auto}.paragraph-controls{background:#edf6ef}.paragraph-controls button{padding:5px 9px}.paragraph-controls label{display:flex;align-items:center;gap:5px}.paragraph-controls small{color:#61756f}.paragraph-layer{position:absolute;inset:0;pointer-events:none;z-index:5;line-height:normal}.paragraph-layer textarea{position:absolute;pointer-events:auto;background:#fffffff5;border:1px solid #317769;border-radius:2px;outline:2px solid #31776955;padding:0;resize:both;max-width:none;min-width:20px;overflow:auto;white-space:pre-wrap;transform-origin:center;box-shadow:0 3px 12px #173d3722}.ocr-progress{background:#fff6df}.ocr-progress button{padding:5px 9px;margin-left:auto}.modify-target{fill:transparent;stroke:#31776988;cursor:text}.modify-target:hover{fill:#4b998922}@media(max-width:760px){.search-bar,.paragraph-controls,.ocr-progress{padding:7px 8px;gap:5px}.search-bar input{width:150px}.search-bar #searchCount{min-width:65px}.paragraph-controls small{display:none}.paragraph-controls{font-size:12px}}@media print{.textLayer,.search-bar,.paragraph-controls,.paragraph-layer,.ocr-progress{display:none!important}}.textLayer[data-selectable=false] :is(span,br){pointer-events:none}.textLayer[data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}.textLayer[data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}.textLayer[data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}.share-actions{display:flex;gap:8px;flex-wrap:wrap}#shareFile,#shareStatus{overflow-wrap:anywhere}#shareMail textarea{width:100%;font:inherit;padding:10px;border:1px solid #c6d3ce;border-radius:8px;resize:vertical}#shareMail button{margin:4px 0;max-width:100%;white-space:normal}.pages-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;padding:2px 20px;background:#e5ebe8;color:#52675f;font-size:12px;border-bottom:1px solid #d8dfdd}.pages-heading button{font-size:12px;padding:3px 6px;border:0;background:transparent;border-radius:4px}.pages-heading span{white-space:nowrap}@media(max-width:760px){.pages-heading{padding:2px 8px}}#autosaveStatus{min-width:0;max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#52675f}#landing .landing-head{gap:12px}#landingStatus{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#libraryPanel{overflow:visible}#libraryPanel .library-top{align-items:center;margin-bottom:22px}#libraryPanel .library-top h1,#libraryPanel .library-top button{margin:0}.library-actions button,.library-controls button,.file-card-actions button{min-height:44px}.library-actions .primary:hover{background:#24594f}.library-controls{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin-top:24px}.library-filter{flex:1 1 240px;max-width:420px}.library-filter label{display:block;margin-bottom:4px;font-weight:600}.library-filter>div{display:flex;gap:8px}.library-filter input{flex:1;min-width:0;min-height:44px;padding:8px 12px;border:1px solid #8fa79f;border-radius:8px}#libraryStatus,#libraryNotice{color:#425c54;font-size:14px;margin:8px 0 0}#libraryStatus:empty,#libraryNotice:empty{margin:0}#libraryPanel .file-list{margin-top:8px}#libraryPanel .empty-library{margin:0;padding:32px 16px}#libraryPanel [aria-disabled=true]{opacity:.6;cursor:progress}#libraryPanel :is(button,input):focus-visible{outline:2px solid #236752;outline-offset:2px}#offlineRestore{align-self:start;margin-top:12px}.file-card-actions{display:flex;gap:8px}.file-card-actions .delete-server-file{width:44px;color:#87382e}#libraryPanel .file-card-main strong{white-space:normal;overflow-wrap:anywhere}@media(max-width:480px){#libraryPanel .library-top{display:grid;justify-items:start;gap:12px}.library-actions>button{flex:1 1 100%}#libraryPanel .file-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 12px}.file-card-actions{grid-column:2}}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.ui-icon{display:block;width:20px;height:20px;flex:none}#editorShell .icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-width:36px;flex:0 0 36px;padding:0;border:1px solid transparent;border-radius:7px;background:transparent;color:#40564d;line-height:1;white-space:nowrap}#editorShell .icon-button:hover:not(:disabled){background:#e7eee9;border-color:#d6e0da;color:#123e2d}#editorShell .icon-button.primary{background:#215b45;color:#fff}#editorShell .icon-button.primary:hover:not(:disabled){background:#174733;color:#fff}#editorShell .icon-button.active,#editorShell .icon-button[aria-pressed=true]{background:#dcebe2;border-color:#aacdb8;color:#175137;box-shadow:inset 3px 0 #317769}#editorShell .icon-button:disabled{opacity:.45;cursor:default}#editorShell .top{height:56px;min-height:56px;max-height:56px;flex-wrap:nowrap;gap:6px;padding:0 14px;overflow-x:auto;overflow-y:hidden;border-bottom:1px solid #d3ddd7;background:#f8faf8}#editorShell .icon-button:focus-visible{outline:2px solid #236752;outline-offset:-2px}#editorShell .icon-button.primary:focus-visible{outline-color:#fff}#editorShell .toolbar-label{display:none}@media(min-width:761px){#editorShell .top :is(#backLibrary,#export){width:auto;flex:0 0 auto;gap:6px;padding:0 10px}#editorShell .toolbar-label{display:inline;font-weight:600;font-size:13px}}#editorShell .top .brand{flex:none;font-size:23px;margin:0 12px 0 0}#editorShell .top .sub{display:none}#editorShell .top .grow{min-width:12px}#editorShell .status-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;border:0;border-radius:7px;background:#eaf0eb;color:#63766c;margin:0;padding:0}#editorShell .status-icon[data-state=saved],#editorShell .status-icon[data-state=online],#editorShell #save[data-state=saved]{color:#247349}#editorShell .status-icon[data-state=modified],#editorShell .status-icon[data-state=uploading]{color:#a06b20;background:#f8f0df}#editorShell .status-icon[data-state=offline]{color:#8b6464;background:#f4eaea}#editorShell .status-icon[data-state=busy]{color:#4e7495;background:#eaf0f6}#editorShell .workspace{grid-template-columns:64px minmax(0,1fr)}#editorShell aside{padding:10px 8px;background:#f8faf8;border-right:1px solid #d3ddd7;overflow-y:auto;overflow-x:hidden}#editorShell aside h2,#editorShell aside .note{display:none}#editorShell aside .tools{display:flex;flex-direction:column;gap:4px;width:auto}#editorShell aside .tools+.tools{border-top:1px solid #d6e0da;margin-top:12px;padding-top:12px}#editorShell aside .icon-button{width:44px;height:40px;min-width:44px;flex:0 0 40px}#editorShell .bar{height:48px;min-height:48px;max-height:48px;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;padding:5px 12px;gap:4px;background:#f8faf8}#editorShell .bar .page-actions{display:flex;align-items:center;gap:4px;flex:1;min-width:0;overflow-x:auto;scrollbar-width:none}#editorShell .bar select{height:32px;width:100px;min-width:100px;font-size:12px;padding:3px 6px;flex:none}#editorShell .bar #pageLayoutMode{width:118px;min-width:118px}@media(max-width:760px){#editorShell .bar #zoom{width:76px;min-width:76px}}#editorShell .options{height:44px;min-height:44px;max-height:44px;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;padding:4px 12px;gap:8px;border-bottom:1px solid #dbe3dd;font-size:12px}#editorShell #instruction{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#687d70}#editorShell .options>input{flex:none;height:32px}#editorShell #text{width:200px}#editorShell #stampPicker,#editorShell #signaturePicker,#editorShell #signatureActions{flex:none;flex-wrap:nowrap;white-space:nowrap;gap:6px;font-size:12px}#editorShell .options select{height:32px;max-width:190px;font-size:12px}#editorShell .document-tabs{height:40px;min-height:40px;max-height:40px;padding:5px 12px 0;gap:4px;background:#e8eeea}#editorShell .document-tab{width:190px;max-width:190px;flex:0 0 190px}#editorShell .document-tab-select{width:155px;max-width:155px;font-size:12px;padding:8px 10px;flex:1}#editorShell .document-tab-close{width:28px;flex:none;padding:0;height:28px}#editorShell .footer{height:30px;min-height:30px;max-height:30px;align-items:center;padding:0 12px;font-size:11px;overflow:hidden;white-space:nowrap}#editorShell #dirty{flex:0 0 44px;min-width:44px}#editorShell .form-options,#editorShell .paragraph-controls,#editorShell .search-bar,#editorShell .ocr-progress{height:44px;min-height:44px;max-height:44px;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;padding:4px 12px;gap:6px;white-space:nowrap;font-size:12px}#editorShell .form-options>span,#editorShell .form-options label,#editorShell .paragraph-controls label{flex:none;flex-wrap:nowrap}#editorShell #formStatus{max-width:220px;overflow:hidden;text-overflow:ellipsis;width:auto}#editorShell .paragraph-controls small{display:none}#editorShell[data-editor-tool=fill] #formOptions[hidden]{display:flex!important;visibility:hidden}#editorShell .stage{scrollbar-gutter:stable}@media(max-width:760px){#editorShell .top{height:52px;min-height:52px;max-height:52px;padding:0 8px;gap:4px}#editorShell .top .brand{display:none}#editorShell .top .grow{display:block;min-width:0}#editorShell .top .status{margin-left:0}#editorShell aside{display:flex;flex-direction:row;gap:8px;padding:4px 8px;height:48px;min-height:48px;max-height:48px;overflow-x:auto;overflow-y:hidden;border-right:0;border-bottom:1px solid #d3ddd7}#editorShell aside .tools{flex-direction:row;flex:none;gap:3px}#editorShell aside .tools+.tools{margin:0;padding:0 0 0 8px;border-top:0;border-left:1px solid #d6e0da}#editorShell aside .icon-button{width:38px;height:38px;min-width:38px;flex:0 0 38px}#editorShell .bar{height:44px;min-height:44px;max-height:44px;padding:4px 8px}#editorShell .options{padding:4px 8px}#editorShell #instruction{max-width:220px}#editorShell .document-tabs{padding:5px 8px 0}#editorShell .form-options,#editorShell .paragraph-controls,#editorShell .search-bar,#editorShell .ocr-progress{padding:4px 8px}#editorShell .search-bar input{width:140px;flex:0 0 140px}#editorShell .stage{padding:18px 12px}}@media print{#editorShell .top,#editorShell aside,#editorShell .bar,#editorShell .options,#editorShell .document-tabs,#editorShell .footer,#editorShell .form-options,#editorShell .paragraph-controls,#editorShell .search-bar,#editorShell .ocr-progress{display:none!important}}#editorShell .icon-button[data-busy-disabled=true]:disabled{opacity:1}#editorShell .document-tab-select:disabled,#editorShell .document-tab-close:disabled{opacity:1;color:inherit}html,body{height:100%;overflow:hidden}#app{height:100dvh;min-height:0;overflow:hidden}#editorShell{height:100%;min-height:0;overflow:hidden}#editorShell .workspace{min-height:0;overflow:hidden}#editorShell main{min-height:0}#landing{overflow-y:auto;max-height:100dvh;width:100%}#signatureLayer .image-rotate-control{pointer-events:all;cursor:grab;touch-action:none}#signatureLayer .image-rotate-control:hover circle{fill:#dcebe2}#signatureLayer .image-rotate-control:focus-visible circle{stroke:#ce922b;stroke-width:3}.page-manager{width:min(1000px,94vw);max-width:1000px;max-height:90dvh;padding:20px}.page-manager[open]{display:flex;flex-direction:column;gap:12px}.page-manager-heading,.page-manager-tools,.page-manager-footer{display:flex;align-items:center;gap:10px;flex-wrap:wrap;flex:none}.page-manager-heading h2{margin:0;flex:1}.page-manager-heading button,.page-card-actions button{display:inline-flex;width:32px;height:32px;padding:5px;justify-content:center;align-items:center}.page-manager-hint{font-size:12px;color:#687d70;margin:0;flex:none}.pages-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px;overflow-y:auto;min-height:0;padding:5px;flex:1}.page-card{border:1px solid #d3ddd7;border-radius:9px;background:#f8faf8;padding:8px}.page-card.selected{border-color:#317769;box-shadow:0 0 0 2px #31776944}.page-card.drop-target{border-color:#ce922b;background:#fff6df}.page-card-preview{display:flex;flex-direction:column;gap:7px;padding:0;border:0;background:transparent;width:100%;font-size:12px}.page-card-canvas{height:170px;width:100%;display:flex;align-items:center;justify-content:center}.page-card-canvas canvas{max-width:100%;max-height:160px;box-shadow:0 2px 8px #173d3722}.page-card-canvas.blank:before{content:"";width:110px;height:155px;background:#fff;box-shadow:0 2px 8px #173d3722}.page-card-actions{display:flex;gap:3px;justify-content:center;margin-top:7px}.page-manager-footer{justify-content:flex-end}#pagesError{color:#983a30;font-size:12px;flex:1}#pagesCount{color:#687d70;font-size:12px;margin-left:auto}@media(max-width:600px){.page-manager{padding:12px}.pages-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}.page-manager-tools{gap:6px}.page-manager-tools button,.page-manager-tools .file{font-size:12px;padding:7px}}@media print{html,body,#app,#editorShell{height:auto!important;overflow:visible!important}}.mobile-sign{height:100dvh;overflow-y:auto}.hiddenCanvasElement{position:absolute;top:0;left:0;width:0;height:0;visibility:hidden;pointer-events:none}.recipient-contacts{position:relative;display:grid;gap:6px}.recipient-contacts>button{justify-self:start;font-size:12px;padding:5px 9px}.recipient-contacts>small{color:#687c77}.recipient-suggestions{position:absolute;z-index:5;top:0;left:0;right:0;max-height:260px;overflow:auto;background:#fff;border:1px solid #b7c9c3;border-radius:8px;box-shadow:0 6px 18px #173d3726}.recipient-suggestions>[role=option]{display:grid;padding:8px 12px;cursor:pointer;line-height:1.4;overflow-wrap:anywhere}.recipient-suggestions>[role=option]:hover,.recipient-suggestions>[aria-selected=true]{background:#dfece6}.recipient-suggestions span{font-size:12px;color:#687c77}
