@font-face{font-family:NasSignatureClassic;src:url('../fonts/Allura-Regular.ttf') format('truetype');font-display:swap}
@font-face{font-family:NasSignatureHand;src:url('../fonts/Caveat.ttf') format('truetype');font-weight:400 700;font-display:swap}
.sg-tool{padding-top:14px;padding-bottom:44px}.sg-tool>.shell{max-width:1460px}.sg-tool button,.sg-tool a,.sg-tool input{touch-action:manipulation}.sg-tool button:focus-visible,.sg-tool a:focus-visible,.sg-tool input:focus-visible{outline:3px solid #b6a9ff;outline-offset:3px}.sg-topline{display:flex;justify-content:space-between;align-items:center}.sg-context{display:flex;gap:7px;align-items:center;color:#685a91;font-size:12px}.sg-context .icon{width:16px;height:16px}.sg-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:14px 0 24px}.sg-heading h1{font-size:40px;line-height:1.1;letter-spacing:-1.8px;margin:0 0 9px}.sg-heading h1>span{color:var(--primary)}.sg-heading p{font-size:15px;color:var(--muted);margin:0}.sg-heading .pt-steps{font-size:12px;gap:20px}.sg-kicker{font-size:10px;letter-spacing:1.5px;font-weight:750;color:#6e60ac}.sg-start{display:grid;grid-template-columns:1.2fr 1fr;max-width:1120px;margin:28px auto 0;border:1px solid #e0dcf4;border-radius:24px;background:white;box-shadow:0 14px 45px #49308708;overflow:hidden}.sg-drop{text-align:center;padding:40px 28px 24px;border:2px dashed transparent;border-radius:22px;transition:.18s}.sg-drop.is-dragover{border-color:var(--primary);background:#f2eeff}.sg-start-icon{display:grid;place-items:center;background:#eeeaff;color:var(--primary);height:60px;width:60px;border-radius:18px;margin:0 auto 18px;transform:rotate(-6deg)}.sg-start-icon .icon{width:32px;height:32px}.sg-drop h2{font-size:36px;letter-spacing:-1.3px;margin:10px 0}.sg-drop p{font-size:15px;line-height:1.8;color:var(--muted);margin:0 0 25px}.sg-drop>.button{margin:auto;min-height:54px;padding:14px 25px;gap:15px}.sg-drop-hint{display:block;color:var(--muted);font-size:13px;margin:13px 0 9px}.sg-drop small{font-size:11px;color:#7d8199}.sg-mini-steps{display:flex;justify-content:center;gap:20px;border-top:1px solid #eeeaf8;margin-top:26px;padding-top:21px}.sg-mini-steps span{display:flex;align-items:center;gap:6px;font-size:10px;color:#656d86}.sg-mini-steps .icon{width:15px;height:15px;color:var(--primary)}.sg-start-aside{display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(ellipse at 60% 40%,#dfd8ff,#f5f3fe 65%);padding:35px 30px;position:relative}.sg-demo-paper{width:245px;background:white;box-shadow:0 18px 50px #57487916;border:1px solid #edeaf7;border-radius:6px;padding:26px 25px;transform:rotate(4deg)}.sg-demo-label{font-size:7px;letter-spacing:1.6px;color:#8781a1}.sg-demo-paper>strong{display:block;font-size:20px;line-height:1.4;margin:18px 0 24px;letter-spacing:-.5px}.sg-demo-paper>i{display:block;height:4px;background:#e7e5ee;margin-top:9px}.sg-demo-paper>i.short{width:70%}.sg-demo-signature{font-family:NasSignatureClassic,cursive;font-size:38px;color:#5542cc;margin:30px -10px 20px;padding:0 9px;position:relative;white-space:nowrap;border:1px dashed #9a86ee;background:#f8f6ff;transform:rotate(-4deg)}.sg-demo-signature:before,.sg-demo-signature b{content:'';position:absolute;width:7px;height:7px;background:white;border:1.5px solid #8b73eb;left:-4px;top:-4px}.sg-demo-signature b{left:auto;top:auto;bottom:-4px;right:-4px}.sg-demo-date{font-size:7px;letter-spacing:1.5px;color:#9390a1}.sg-demo-pill{display:flex;align-items:center;gap:8px;padding:12px 18px;font-size:11px;font-weight:600;background:white;border:1px solid #ebe8f8;border-radius:30px;box-shadow:0 8px 22px #7b69b810;margin-top:22px;z-index:1}.sg-demo-pill .icon{color:#22a279;width:17px;height:17px}.sg-privacy{display:flex;justify-content:center;align-items:center;gap:8px;font-size:11px;color:#7a7f96;margin:19px auto 0;line-height:1.6}.sg-privacy .icon{width:15px;height:15px;flex-shrink:0}.sg-editor{border:1px solid #dedbf0;border-radius:18px;background:white;box-shadow:0 12px 35px #44308a08;overflow:hidden}.sg-document-bar{display:flex;justify-content:space-between;align-items:center;padding:14px 19px;gap:16px;border-bottom:1px solid #eae7f5;min-height:72px}.sg-document-name{display:flex;align-items:center;gap:12px;min-width:0}.sg-document-name>div{min-width:0}.sg-document-name strong{display:block;max-width:400px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:650}.sg-document-name small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.sg-pdf-icon{display:grid;place-items:center;border:1px solid #f0dfdf;background:#fff3f3;color:#d26a72;width:32px;height:38px;border-radius:5px;font-size:8px;font-weight:800;flex-shrink:0}.sg-document-actions{display:flex;align-items:center;gap:5px}.sg-subtle{background:transparent;border:0;color:#695694;font-size:12px;padding:10px 12px;cursor:pointer;border-radius:8px;font-weight:600;white-space:nowrap}.sg-subtle:hover{background:#f4f1ff;color:var(--primary)}.sg-divider{height:25px;border-left:1px solid #e3dfed;margin:0 7px}.sg-finish{font-size:12px;min-height:42px;padding:10px 18px;margin-left:12px;border-radius:10px}.sg-workspace{display:grid;grid-template-columns:90px minmax(0,1fr) 254px;min-height:380px;height:calc(100svh - 350px);max-height:850px}.sg-thumbnails{background:#faf9fe;border-right:1px solid #eae7f5;overflow:auto;padding:17px 10px;display:flex;flex-direction:column;gap:13px}.sg-thumb{border:0;border-radius:8px;padding:7px 5px;background:transparent;cursor:pointer;position:relative;flex-shrink:0}.sg-thumb canvas{display:block;width:50px;height:auto;margin:auto;border:1px solid #e2dfec;box-shadow:0 2px 6px #493b6412;background:white}.sg-thumb span{display:block;font-size:10px;color:#827b96;margin-top:6px}.sg-thumb[aria-current=page]{background:#eeebff;outline:1px solid #d8d0ff}.sg-thumb[aria-current=page] canvas{border-color:#8d79f5}.sg-thumb b{position:absolute;right:1px;top:0;background:#5a3eff;color:white;border-radius:10px;min-width:16px;height:16px;font-size:9px;display:grid;place-items:center}.sg-viewer{display:flex;flex-direction:column;min-width:0;min-height:0;background:#eeedf6}.sg-viewer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:7px 12px;background:#fcfbff;border-bottom:1px solid #e9e5f4;min-height:50px}.sg-viewer-toolbar>div{display:flex;align-items:center;gap:7px;font-size:11px;color:#79768c}.sg-viewer-toolbar input{width:46px;min-height:30px;padding:4px;border:1px solid #e0dcec;background:white;border-radius:6px;text-align:center;font:inherit;color:var(--text);-moz-appearance:textfield}.sg-viewer-toolbar input::-webkit-inner-spin-button{appearance:none}.sg-viewer-toolbar .pt-icon-button{width:30px;height:30px;min-height:30px;min-width:30px}.sg-page-scroll{overflow:auto;flex:1;position:relative;min-height:0;overscroll-behavior:contain}.sg-page-wrap{min-width:100%;width:max-content;padding:25px;box-sizing:border-box}.sg-paper{position:relative;background:white;box-shadow:0 5px 20px #241b4415;margin:auto;isolation:isolate;line-height:0}.sg-paper>canvas{display:block;width:100%;height:100%}.sg-overlay{position:absolute;inset:0;overflow:hidden}.sg-field{position:absolute;padding:0;border:1.5px solid transparent;background:transparent;cursor:grab;touch-action:none;line-height:0;border-radius:2px;user-select:none;outline:0}.sg-field:hover{border:1.5px dashed #8974dc;background:#6c4df806}.sg-field[aria-pressed=true]{border:1.5px solid #7653ed;background:#794fff07;box-shadow:0 0 0 1px #fff8}.sg-field img{display:block;width:100%;height:100%;object-fit:fill;pointer-events:none;user-select:none}.sg-field:focus-visible{outline:2px solid #9a7cef;outline-offset:3px}.sg-field .sg-handle{display:none;position:absolute;right:-6px;bottom:-6px;background:white;border:2px solid #7653ed;border-radius:3px;width:12px;height:12px;cursor:nwse-resize;touch-action:none}.sg-field[aria-pressed=true] .sg-handle{display:block}.sg-handle:before{content:'';position:absolute;inset:-9px}.sg-render-status{position:absolute;top:20px;left:15px;right:15px;background:#fffffff0;border-radius:8px;text-align:center;padding:12px;font-size:12px;line-height:1.7}.sg-render-status:empty{display:none}.sg-viewer-foot{padding:10px 15px;border-top:1px solid #e1dded;color:#77758d;font-size:10px;display:flex;gap:10px;justify-content:space-between;background:#f8f7fc}.sg-sidebar{padding:21px 18px;overflow:auto;border-left:1px solid #e8e4f2;display:flex;flex-direction:column;gap:18px}.sg-sidebar-heading h2{font-size:17px;margin:6px 0 0;letter-spacing:-.3px}.sg-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sg-tools button{min-height:48px;display:flex;align-items:center;gap:8px;border:1px solid #e3dfef;background:#fff;border-radius:9px;padding:10px;color:#4d4964;font-size:11px;text-align:left;cursor:pointer}.sg-tools button:hover{border-color:#a697e8;background:#faf8ff}.sg-tools b{font-size:16px;font-weight:400;margin-left:auto;color:#9a91b6}.sg-tools .icon{width:17px;height:17px;color:#8162da}.sg-tools button small{display:block;color:#9286b4;font-size:10px;margin-top:4px;font-weight:400}.sg-tools .sg-add-signature{grid-column:1/-1;min-height:65px;background:#f7f4ff;border-color:#dcd3fa;font-size:12px;font-weight:650}.sg-tools .sg-add-signature .icon{width:23px;height:23px;margin-right:2px;color:#6646dc}.sg-letter-icon{font-size:12px;border:1px solid #d8cef4;padding:2px;border-radius:3px;color:#8162da;line-height:1}.sg-recent h3,.sg-selection h3{font-size:11px;margin:0 0 10px;font-weight:650}.sg-recent h3 span{font-size:9px;font-weight:400;color:#9a93a9;margin-left:4px}.sg-recent [data-recent]{display:flex;gap:6px;flex-wrap:wrap}.sg-reuse{background:#fff;border:1px solid #e6e1f1;border-radius:7px;padding:8px;cursor:pointer;width:95px;height:44px}.sg-reuse img{width:100%;height:100%;object-fit:contain}.sg-reuse:hover{border-color:#a99ade;background:#faf8ff}.sg-selection{background:#f9f7fd;border:1px solid #e9e2f5;padding:12px;border-radius:9px}.sg-selection label{display:flex;justify-content:space-between;font-size:10px;color:#827594}.sg-selection input{width:100%;accent-color:var(--primary);margin:9px 0}.sg-selection-actions{display:flex;gap:5px}.sg-selection-actions button{flex:1;padding:7px 4px;background:white;border:1px solid #e4ddee;font-size:10px;border-radius:6px;color:#675782;cursor:pointer}.sg-selection-actions button .icon{width:14px;height:14px}.sg-selection>p{font-size:9px;line-height:1.7;color:#92869f;margin:9px 0 0}.sg-sidebar-note{margin-top:auto;display:flex;gap:9px;align-items:flex-start;color:#8a829b;border-top:1px solid #eeeaf5;padding-top:15px}.sg-sidebar-note .icon{width:16px;height:16px;flex-shrink:0}.sg-sidebar-note p{font-size:10px;line-height:1.7;margin:0}.sg-tool button:disabled{cursor:not-allowed;opacity:.45;box-shadow:none}.sg-processing,.sg-result{text-align:center;padding:65px 25px;background:white;border:1px solid #e2ddf2;border-radius:20px;max-width:920px;margin:30px auto 0}.sg-processing h2,.sg-result h2{font-size:29px;letter-spacing:-1px}.sg-processing p,.sg-result>p{font-size:14px;color:var(--muted)}.sg-spinner{display:block;width:36px;height:36px;border:3px solid #eee8ff;border-top-color:#6d45ec;border-radius:50%;animation:sg-spin 1s linear infinite;margin:0 auto 24px}@keyframes sg-spin{to{transform:rotate(360deg)}}.sg-result-check{display:grid;place-items:center;width:64px;height:64px;background:#e6faf1;color:#16a676;border-radius:50%;margin:0 auto 20px}.sg-result-check .icon{width:34px;height:34px}.sg-result .button{margin:17px auto;min-height:53px}.sg-result .sg-download-help{font-size:11px;line-height:1.7;margin:5px auto 12px}.sg-result-actions{display:flex;justify-content:center;flex-wrap:wrap}.sg-result-note{display:flex;align-items:center;text-align:left;gap:10px;max-width:540px;margin:24px auto 0;background:#f8f6fc;border:1px solid #ece6f6;border-radius:10px;padding:13px 15px}.sg-result-note .icon{width:18px;height:18px;flex-shrink:0;color:#8471aa}.sg-result-note p{font-size:11px;line-height:1.6;margin:0;color:#847994}.sg-result-preview{background:#f1eff7;padding:18px;margin:25px auto 0;border-radius:10px}.sg-result-preview>div{display:flex;justify-content:center;align-items:center;gap:14px;font-size:12px;margin-bottom:16px}.sg-result-preview canvas{max-width:100%;height:auto;background:white;box-shadow:0 5px 20px #21173512}.sg-result-preview p{font-size:12px}.sg-dialog{width:min(600px,calc(100vw - 28px));max-height:calc(100svh - 32px);padding:0;border:1px solid #e7e0f6;border-radius:19px;box-shadow:0 25px 100px #22104035;color:var(--text);overflow:auto}.sg-dialog::backdrop{background:#17112b60;backdrop-filter:blur(4px)}.sg-dialog form{margin:0}.sg-dialog header{display:flex;align-items:center;justify-content:space-between;padding:23px 26px 19px;border-bottom:1px solid #eee8f5;gap:15px}.sg-dialog h2{font-size:23px;letter-spacing:-.6px;margin:6px 0 0}.sg-dialog-body{padding:22px 26px}.sg-tabs{display:flex;padding:4px;background:#f3f0fa;border:1px solid #ebe5f5;border-radius:10px;margin-bottom:21px;gap:4px}.sg-tabs button{flex:1;font-size:12px;font-weight:600;color:#8c7fa6;padding:11px;border:0;border-radius:7px;background:transparent;cursor:pointer}.sg-tabs button[aria-selected=true]{background:white;color:#6040d2;box-shadow:0 2px 5px #3220500c}.sg-draw-area{height:185px;border:1px solid #dfd6ed;border-radius:10px;position:relative;background:linear-gradient(transparent 73%,#eee8f4 73%,#eee8f4 calc(73% + 1px),transparent calc(73% + 1px));overflow:hidden}.sg-draw-area canvas{width:100%;height:100%;touch-action:none;cursor:crosshair}.sg-draw-area>span{pointer-events:none;position:absolute;left:10px;right:10px;top:45%;text-align:center;font-size:12px;color:#b1a7c2}.sg-draw-actions{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:10px;color:#9a8eac;padding:5px 0}.sg-draw-actions .sg-subtle{font-size:10px;padding:8px}.sg-input-label{display:block;font-size:12px;font-weight:600;margin:0 0 8px}.sg-dialog input[type=text]{display:block;box-sizing:border-box;width:100%;border:1px solid #ded5ef;border-radius:9px;padding:12px 14px;font:inherit;font-size:14px}.sg-style-options{display:flex;gap:9px;margin:13px 0}.sg-style-options button{flex:1;border:1px solid #e4ddef;border-radius:8px;background:#fff;color:#8f83a3;font-size:10px;padding:7px;cursor:pointer}.sg-style-options button>span{display:block;font-size:30px;line-height:1.2;color:#4c3a66}.sg-style-options button[data-font=allura]>span{font-family:NasSignatureClassic,cursive}.sg-style-options button[data-font=caveat]>span{font-family:NasSignatureHand,cursive}.sg-style-options button[aria-pressed=true]{background:#f7f2ff;border-color:#a98be8;color:#6341c8}.sg-type-preview{height:120px;border:1px dashed #ded4ee;border-radius:9px;position:relative}.sg-type-preview canvas{width:100%;height:100%;object-fit:contain}.sg-type-preview span{position:absolute;top:45%;left:5px;right:5px;text-align:center;font-size:12px;color:#b0a3be;pointer-events:none}.sg-ink{border:0;margin:17px 0 0;padding:0;display:flex;align-items:center;gap:10px}.sg-ink legend{float:left;font-size:11px;color:#847594;margin-right:14px;line-height:24px}.sg-ink button{width:23px;height:23px;min-width:23px;min-height:23px;border:3px solid white;border-radius:50%;background:var(--ink);cursor:pointer;box-shadow:0 0 0 1px #e3dcec}.sg-ink button[aria-pressed=true]{box-shadow:0 0 0 2px #bca5eb}.sg-upload-sign{display:flex;position:relative;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:180px;border:1px dashed #cbbcdf;border-radius:10px;background:#fcfaff;cursor:pointer;color:#8264af}.sg-upload-sign .icon{height:30px;width:30px}.sg-upload-sign strong{font-size:13px}.sg-upload-sign span{font-size:11px;color:#a094b1}.sg-upload-sign input{position:absolute;opacity:0;inset:0;width:100%;height:100%;cursor:pointer}.sg-white-option{display:flex;align-items:center;gap:8px;font-size:11px;color:#857297;margin:14px 0 0}.sg-white-option input{accent-color:var(--primary)}.sg-upload-preview{height:180px;display:flex;flex-direction:column;align-items:center;background:repeating-conic-gradient(#f6f3fa 0% 25%,white 0% 50%) 50%/18px 18px;border:1px solid #e3d9ef;border-radius:10px;padding:10px}.sg-upload-preview canvas{height:125px;max-width:100%;object-fit:contain}.sg-dialog-error{padding:10px 12px;color:#a33855;background:#fff2f5;border:1px solid #f5cfdb;border-radius:7px;font-size:12px;line-height:1.6;margin-bottom:0}.sg-dialog footer{display:flex;align-items:center;justify-content:space-between;padding:17px 26px;border-top:1px solid #eee8f5;gap:15px}.sg-dialog footer p{font-size:10px;color:#9a8da8;line-height:1.65;margin:0}.sg-dialog footer .button{font-size:12px;min-height:43px;padding:10px 19px}.sg-confirm{padding:25px}.sg-confirm p{font-size:13px;color:var(--muted);line-height:1.8;margin:16px 0 20px}.sg-confirm>div{display:flex;justify-content:flex-end;gap:8px}.sg-confirm .button{font-size:12px;min-height:43px}
@media(min-width:1600px){.sg-workspace{height:calc(100svh - 350px)}}
@media(max-width:1100px){.sg-workspace{grid-template-columns:72px minmax(0,1fr) 218px}.sg-sidebar{padding:17px 13px}.sg-heading .pt-steps{gap:12px}.sg-document-name strong{max-width:270px}.sg-tools button{padding:8px}.sg-tools b{display:none}.sg-mini-steps{gap:10px}}
@media(max-width:760px){.sg-tool{padding-top:8px}.sg-tool>.shell{width:calc(100% - 28px)}.sg-context{display:none}.sg-heading{align-items:flex-start;flex-direction:column;gap:18px;margin:7px 0 20px}.sg-heading h1{font-size:34px}.sg-heading p{font-size:13px}.sg-heading .pt-steps{width:100%;justify-content:space-between;font-size:10px;gap:4px}.sg-heading .pt-steps span{height:23px;width:23px;font-size:10px}.sg-start{display:block;margin-top:16px}.sg-start-aside{display:none}.sg-drop{padding:30px 18px 22px}.sg-drop h2{font-size:32px}.sg-drop p{font-size:13px}.sg-mini-steps{gap:12px}.sg-mini-steps span{font-size:9px;flex-direction:column}.sg-privacy{font-size:10px;align-items:flex-start;max-width:90%}.sg-privacy .icon{margin-top:2px}.sg-document-bar{padding:12px;flex-wrap:wrap;gap:10px}.sg-document-name{flex:1 0 100%}.sg-document-name strong{max-width:calc(100vw - 115px);font-size:12px}.sg-document-actions{width:100%;justify-content:space-between}.sg-document-actions .sg-subtle{font-size:10px;padding:7px}.sg-divider{display:none}.sg-finish{margin-left:auto;font-size:11px;padding:9px 11px}.sg-document-actions .pt-icon-button{min-width:28px;width:28px}.sg-workspace{display:flex;flex-direction:column;height:auto;min-height:0;max-height:none}.sg-thumbnails{display:none}.sg-sidebar{order:0;padding:13px 12px;border-left:0;border-bottom:1px solid #e4ddf1;overflow:visible;gap:10px}.sg-sidebar-heading,.sg-sidebar-note,.sg-recent{display:none}.sg-tools{display:flex;gap:6px;justify-content:space-between}.sg-tools button{flex:1;min-width:0;min-height:48px;font-size:9px;gap:6px;flex-direction:column;justify-content:center;padding:8px 4px}.sg-tools .sg-add-signature{min-height:48px;font-size:9px;font-weight:650;flex:1.25}.sg-tools .sg-add-signature .icon{width:17px;height:17px;margin:0}.sg-tools small{display:none!important}.sg-selection{display:grid;grid-template-columns:1fr 1fr;gap:7px 14px;padding:10px}.sg-selection h3{margin:0;align-self:center}.sg-selection label{font-size:9px}.sg-selection input{margin:0;grid-column:2;grid-row:2}.sg-selection-actions{grid-column:1;grid-row:2}.sg-selection-actions button{padding:6px;font-size:9px}.sg-selection>p{display:none}.sg-viewer{order:1;height:65svh;min-height:340px;max-height:720px}.sg-page-wrap{padding:18px}.sg-viewer-foot{font-size:9px;padding:9px 12px}.sg-viewer-toolbar{padding:7px}.sg-viewer-toolbar>div{gap:5px;font-size:10px}.sg-processing,.sg-result{padding:35px 16px;margin-top:20px}.sg-result h2,.sg-processing h2{font-size:25px}.sg-result-actions .sg-subtle{font-size:10px}.sg-result-note{padding:12px}.sg-dialog{border-radius:15px}.sg-dialog header{padding:18px}.sg-dialog h2{font-size:21px}.sg-dialog-body{padding:17px 18px}.sg-dialog footer{padding:16px 18px}.sg-dialog footer p{font-size:9px}.sg-dialog footer .button{font-size:11px;padding:9px 12px}.sg-draw-area{height:160px}.sg-draw-actions{font-size:9px}.sg-confirm{padding:20px}}
@media(prefers-reduced-motion:reduce){.sg-spinner{animation-duration:3s}.sg-tool *{scroll-behavior:auto!important;transition:none!important}}
.sg-draw-area{height:auto;aspect-ratio:3/1}.sg-draw-area canvas{display:block;width:100%;height:auto;aspect-ratio:3/1}.sg-field{border:0}.sg-field:hover{border:0;outline:1.5px dashed #8974dc}.sg-field[aria-pressed=true]{border:0;outline:1.5px solid #7653ed;z-index:1}.sg-field .sg-handle{right:-12px;bottom:-12px}.sg-handle:before{inset:-3px}

/* Override shared form input styles for the compact signing controls. */
.sg-tool .sg-viewer-toolbar input[type=number]{width:42px;min-width:42px;min-height:30px;padding:4px;font-size:11px}.sg-viewer-toolbar [data-page-total]{white-space:nowrap}.sg-tool .sg-selection input[type=range]{min-height:20px;padding:0;background:transparent;border:0}.sg-tool .sg-white-option input[type=checkbox]{display:inline-block;width:16px;height:16px;min-height:16px;padding:0;flex-shrink:0}.sg-tool .sg-dialog input[type=text]{padding:12px 14px;font-size:14px}
@media(max-width:760px){.sg-recent:not([hidden]){display:block}.sg-recent h3{margin:0 0 7px;font-size:10px}.sg-recent [data-recent]{flex-wrap:nowrap;overflow:auto}.sg-reuse{width:75px;min-width:75px;height:32px;padding:4px}.sg-tool .sg-viewer-toolbar input[type=number]{width:38px;min-width:38px}}

/* Signing choices use the shared type, button and icon styles. */
.sg-options-heading { margin: 20px 0 30px; }
.sg-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.sg-option { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 28px; border: 1px solid #e2ddf2; border-radius: 18px; background: #fff; box-shadow: 0 8px 25px #44308a06; }
.sg-option-available { border-color: #c9bfff; box-shadow: 0 10px 30px #503bff0c; }
.sg-option-icon { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 23px; border-radius: 18px; background: #eeebff; color: var(--primary); }
.sg-option-icon .icon { width: 35px; height: 35px; }
.sg-option-icon-muted { background: #eff2f8; color: #586a89; }
.sg-option h2 { margin: 0; color: var(--ink); font-size: 23px; line-height: 1.3; letter-spacing: -.6px; font-weight: 700; }
.sg-option p { margin: 14px 0 28px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.sg-option > .button { width: 100%; margin-top: auto; }
.sg-tool .sg-option-soon:disabled { opacity: 1; background: #f0edff; color: var(--muted); cursor: not-allowed; }
.sg-options-back { padding-left: 0; }
@media (max-width: 1100px) {
  .sg-options { gap: 16px; }
  .sg-option { padding: 24px; }
  .sg-option h2 { font-size: 21px; }
}

/* Full-view signing: keep the controls available while the document scrolls. */
.sg-editor {
  display: flex;
  flex-direction: column;
  height: max(560px, calc(100svh - 160px));
  max-height: none;
  min-height: 0;
}
.sg-full-view .sg-editor {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1100;
  width: 100%;
  height: calc(100vh - var(--analytics-banner-height, 0px));
  height: calc(100dvh - var(--analytics-banner-height, 0px));
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
html.sg-full-view-open, .sg-full-view-open body { overflow: hidden; }
.sg-full-view-open .site-header, .sg-full-view-open .site-footer,
.sg-full-view-open .skip-link, .sg-full-view .sg-topline, .sg-full-view .sg-heading { display: none; }
.sg-editor .sg-document-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  padding: max(12px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 12px max(20px, env(safe-area-inset-left));
  min-height: 76px;
  flex-shrink: 0;
}
.sg-editor .sg-document-name { min-width: 0; }
.sg-editor .sg-document-name strong { max-width: 100%; font-size: 15px; }
.sg-editor .sg-document-name small { font-size: 12px; }
.sg-editor .sg-pdf-icon { width: 36px; height: 44px; font-size: 10px; }
.sg-editor .sg-document-actions { width: auto; gap: 6px; }
.sg-editor .sg-document-actions .pt-icon-button { width: 40px; height: 40px; min-width: 40px; min-height: 40px; }
.sg-editor .sg-subtle { font-size: 13px; }
.sg-editor .sg-full-view-toggle { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; }
.sg-full-view .sg-full-view-toggle .icon { transform: rotate(180deg); }
.sg-editor .sg-finish { min-height: 44px; font-size: 14px; padding: 11px 18px; }
.sg-workspace-feedback { flex-shrink: 0; }
.sg-workspace-feedback .pt-error { margin: 8px 16px; }
.sg-editor .sg-workspace {
  --sg-pages: 100px;
  --sg-tools: 292px;
  position: relative;
  display: grid;
  grid-template-columns: var(--sg-pages) minmax(0, 1fr) var(--sg-tools);
  flex: 1;
  min-height: 0;
  height: auto;
  max-height: none;
}
.sg-editor.sg-hide-pages .sg-workspace { --sg-pages: 0px; }
.sg-editor.sg-hide-tools .sg-workspace { --sg-tools: 0px; }
.sg-editor.sg-hide-pages .sg-thumbnails, .sg-editor.sg-hide-tools .sg-sidebar { display: none; }
.sg-editor .sg-thumbnails { grid-column: 1; grid-row: 1; display: flex; min-height: 0; padding: 18px 12px; gap: 16px; }
.sg-editor .sg-thumb { padding: 9px 6px; }
.sg-editor .sg-thumb canvas { width: 60px; }
.sg-editor .sg-thumb span { font-size: 12px; margin-top: 8px; }
.sg-editor .sg-viewer { grid-column: 2; grid-row: 1; height: auto; min-height: 0; max-height: none; background: #edeff5; }
.sg-editor .sg-viewer-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  padding: 9px 14px;
  min-height: 58px;
  flex-shrink: 0;
}
.sg-editor .sg-viewer-toolbar > div { gap: 6px; font-size: 13px; min-width: 0; }
.sg-editor .sg-viewer-toolbar .pt-icon-button { width: 36px; height: 36px; min-width: 36px; min-height: 36px; }
.sg-tool .sg-editor .sg-viewer-toolbar input[type=number] { width: 42px; min-width: 42px; min-height: 36px; font-size: 13px; }
.sg-tool .sg-editor .sg-viewer-toolbar select {
  width: 112px;
  min-width: 0;
  min-height: 36px;
  margin: 0;
  padding: 7px 8px;
  border: 1px solid #e0dcec;
  border-radius: 8px;
  background: white;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.sg-tool select:focus-visible, .sg-page-scroll:focus-visible { outline: 3px solid #b6a9ff; outline-offset: -3px; }
.sg-editor .sg-panel-toggle { border: 1px solid #e0dcec; border-radius: 8px; }
.sg-editor .sg-panel-toggle[aria-expanded=true] { background: #f0ecff; border-color: #d6ccfa; color: var(--primary); }
.sg-editor .sg-tools-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 10px; min-height: 36px; }
.sg-editor .sg-tools-toggle .icon { width: 18px; height: 18px; }
.sg-editor .sg-page-scroll { scrollbar-gutter: stable; min-width: 0; }
.sg-editor .sg-page-wrap { padding: 28px; }
.sg-editor .sg-paper { box-shadow: 0 3px 18px #1e24421a; }
.sg-editor .sg-viewer-foot { flex-shrink: 0; font-size: 12px; padding: 11px 16px max(11px, env(safe-area-inset-bottom)); line-height: 1.5; }
.sg-editor [data-field-count] { white-space: nowrap; }
.sg-editor .sg-sidebar { grid-column: 3; grid-row: 1; min-height: 0; padding: 24px 20px; gap: 22px; overflow: auto; }
.sg-editor .sg-sidebar-heading h2 { font-size: 20px; }
.sg-editor .sg-kicker { font-size: 11px; }
.sg-editor .sg-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sg-editor .sg-tools button { min-width: 0; min-height: 58px; font-size: 13px; padding: 11px; }
.sg-editor .sg-tools b { display: block; }
.sg-editor .sg-tools button:not(.sg-add-signature) { gap: 6px; padding: 10px 8px; }
.sg-editor .sg-tools button:not(.sg-add-signature) b { display: none; }
.sg-editor .sg-tools .sg-add-signature { min-height: 78px; font-size: 15px; }
.sg-editor .sg-tools button small { font-size: 12px; }
.sg-editor .sg-tools .icon { width: 20px; height: 20px; }
.sg-editor .sg-tools button:not(.sg-add-signature) .icon { width: 18px; height: 18px; flex-shrink: 0; }
.sg-editor .sg-letter-icon { font-size: 14px; }
.sg-editor .sg-recent h3, .sg-editor .sg-selection h3 { font-size: 13px; }
.sg-editor .sg-recent h3 span { font-size: 11px; }
.sg-editor .sg-reuse { width: 106px; height: 48px; }
.sg-editor .sg-selection label, .sg-editor .sg-selection-actions button { font-size: 12px; }
.sg-editor .sg-selection-actions button { min-height: 36px; }
.sg-editor .sg-selection > p, .sg-editor .sg-sidebar-note p { font-size: 12px; }

@media (max-width: 1200px) and (min-width: 901px) {
  .sg-editor .sg-workspace { --sg-pages: 84px; --sg-tools: 258px; }
  .sg-editor .sg-sidebar { padding: 20px 14px; }
  .sg-editor .sg-thumbnails { padding-inline: 8px; }
  .sg-editor .sg-viewer-toolbar { padding-inline: 8px; gap: 6px; }
  .sg-editor .sg-viewer-toolbar > div { gap: 4px; }
  .sg-editor .sg-viewer-toolbar .pt-icon-button { width: 32px; min-width: 32px; }
  .sg-tool .sg-editor .sg-viewer-toolbar select { width: 100px; }
  .sg-editor .sg-tools-toggle { padding-inline: 8px; }
}
@media (max-width: 900px) {
  .sg-editor .sg-document-bar { gap: 10px; padding-inline: 14px; }
  .sg-editor .sg-document-name strong { font-size: 13px; }
  .sg-editor .sg-divider { display: none; }
  .sg-editor .sg-document-actions .pt-icon-button { width: 36px; min-width: 36px; }
  .sg-editor .sg-finish { margin-left: 4px; padding-inline: 12px; font-size: 13px; }
  .sg-editor .sg-workspace { display: flex; flex-direction: column; }
  .sg-editor .sg-thumbnails { order: 0; flex-direction: row; height: 108px; min-height: 108px; padding: 8px 12px; border-right: 0; border-bottom: 1px solid #eae7f5; gap: 10px; }
  .sg-editor .sg-thumb { padding: 5px 8px; min-width: 68px; }
  .sg-editor .sg-thumb canvas { width: auto; max-width: 90px; height: 65px; }
  .sg-editor .sg-thumb span { margin-top: 5px; font-size: 10px; }
  .sg-editor .sg-sidebar { order: 1; flex-shrink: 0; max-height: 36%; min-height: 0; padding: 10px 12px; border-left: 0; border-bottom: 1px solid #e4ddf1; gap: 10px; }
  .sg-editor .sg-sidebar-heading, .sg-editor .sg-sidebar-note { display: none; }
  .sg-editor .sg-viewer { order: 2; flex: 1; }
  .sg-editor .sg-tools { display: flex; gap: 8px; justify-content: space-between; }
  .sg-editor .sg-tools button { flex: 1; min-width: 0; min-height: 48px; padding: 8px 6px; font-size: 12px; justify-content: center; }
  .sg-editor .sg-tools .sg-add-signature { flex: 1.25; min-height: 48px; font-size: 12px; }
  .sg-editor .sg-tools .sg-add-signature .icon { width: 20px; height: 20px; margin: 0; }
  .sg-editor .sg-tools small, .sg-editor .sg-tools b { display: none !important; }
  .sg-editor .sg-recent:not([hidden]) { display: block; }
  .sg-editor .sg-recent [data-recent] { flex-wrap: nowrap; overflow: auto; }
  .sg-editor .sg-reuse { width: 90px; min-width: 90px; height: 38px; padding: 5px; }
  .sg-editor .sg-selection { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; padding: 10px; }
  .sg-editor .sg-selection h3 { margin: 0; align-self: center; }
  .sg-editor .sg-selection input { margin: 0; grid-column: 2; grid-row: 2; }
  .sg-editor .sg-selection-actions { grid-column: 1; grid-row: 2; }
  .sg-editor .sg-selection > p { display: none; }
  .sg-editor .sg-page-wrap { padding: 18px; }
}
@media (max-width: 600px) {
  .sg-editor .sg-document-bar { grid-template-columns: minmax(0, 1fr) auto; padding: max(10px, env(safe-area-inset-top)) 12px 10px; gap: 9px; }
  .sg-editor .sg-document-actions { grid-column: 1 / -1; width: 100%; gap: 6px; justify-content: flex-start; }
  .sg-editor .sg-document-actions [data-change] { padding-inline: 0; margin-right: auto; font-size: 12px; }
  .sg-editor .sg-document-actions .pt-icon-button { min-height: 40px; height: 40px; }
  .sg-editor .sg-finish { padding-inline: 10px; font-size: 12px; gap: 8px; }
  .sg-editor .sg-finish .icon { width: 18px; height: 18px; }
  .sg-editor .sg-full-view-toggle { padding: 8px 0 8px 8px; font-size: 12px; }
  .sg-editor .sg-document-name { gap: 9px; }
  .sg-editor .sg-pdf-icon { width: 30px; height: 38px; font-size: 9px; }
  .sg-editor .sg-document-name small { font-size: 11px; }
  .sg-editor .sg-viewer-toolbar { grid-template-columns: minmax(0, 1fr) auto; gap: 6px; padding: 7px 10px; }
  .sg-editor .sg-viewer-toolbar > div { gap: 4px; font-size: 12px; }
  .sg-editor .sg-tools-toggle { grid-column: 2; grid-row: 1; }
  .sg-editor .sg-zoom-controls { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .sg-editor .sg-sidebar { padding: 8px 10px; }
  .sg-editor .sg-tools { gap: 6px; }
  .sg-editor .sg-tools button, .sg-editor .sg-tools .sg-add-signature { flex-direction: column; font-size: 10px; gap: 5px; min-height: 55px; }
  .sg-editor .sg-tools button:not(.sg-add-signature) { padding: 8px 3px; gap: 5px; }
  .sg-editor .sg-page-wrap { padding: 14px; }
  .sg-editor .sg-viewer-foot { font-size: 10px; padding: 8px 10px max(8px, env(safe-area-inset-bottom)); }
  .sg-editor .sg-selection label, .sg-editor .sg-selection-actions button { font-size: 11px; }
  .sg-editor .sg-recent h3 { font-size: 11px; }
  .sg-editor .sg-selection h3 { font-size: 12px; }
}
@media (max-width: 760px) {
  .sg-options-heading { margin: 7px 0 24px; }
  .sg-options { grid-template-columns: 1fr; }
  .sg-option { padding: 24px; border-radius: 16px; }
  .sg-option-icon { width: 58px; height: 58px; margin-bottom: 18px; border-radius: 15px; }
  .sg-option-icon .icon { width: 30px; height: 30px; }
  .sg-option p { margin: 12px 0 24px; font-size: 14px; }
}

/* Signature dialogs: bounded content, comfortable touch targets and fixed actions. */
.sg-tool .sg-dialog[data-dialog] {
  position: fixed;
  inset: calc(var(--sg-viewport-top, 0px) + var(--sg-viewport-height, 100dvh) / 2) 0 auto;
  transform: translateY(-50%);
  width: min(640px, calc(100% - 32px));
  max-width: none;
  max-height: calc(var(--sg-viewport-height, 100dvh) - 32px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  background: white;
}
.sg-dialog[data-dialog][open] { display: flex; }
.sg-dialog [data-signature-form] {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  max-height: calc(var(--sg-viewport-height, 100dvh) - 34px);
}
.sg-dialog[data-dialog] header, .sg-dialog[data-dialog] footer { flex-shrink: 0; padding: 20px 24px; }
.sg-dialog[data-dialog] header { align-items: flex-start; gap: 16px; }
.sg-dialog header > div { min-width: 0; }
.sg-dialog[data-dialog] h2 { margin-top: 5px; font-size: 24px; line-height: 1.3; letter-spacing: -.6px; color: var(--ink); }
.sg-dialog .sg-kicker { font-size: 11px; letter-spacing: 1.2px; }
.sg-dialog [data-close-dialog] { flex: 0 0 44px; width: 44px; height: 44px; min-height: 44px; }
.sg-dialog .sg-dialog-body { min-width: 0; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 20px 24px; }
.sg-dialog [data-pane] { min-width: 0; }
.sg-dialog .sg-tabs { gap: 4px; margin-bottom: 20px; padding: 4px; }
.sg-dialog .sg-tabs button { min-width: 0; min-height: 44px; padding: 10px; font-size: 14px; color: #64557f; }
.sg-dialog .sg-tabs button[aria-selected=true] { color: var(--primary); }
.sg-dialog .sg-draw-area { height: clamp(190px, 28svh, 250px); aspect-ratio: auto; }
.sg-dialog .sg-draw-area canvas { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.sg-dialog .sg-draw-area > span { top: 45%; font-size: 13px; color: #756783; padding: 0 12px; }
.sg-dialog .sg-draw-actions { padding: 4px 0 0; font-size: 12px; line-height: 1.5; color: #756783; }
.sg-dialog .sg-draw-actions .sg-subtle { min-height: 44px; min-width: 56px; font-size: 13px; }
.sg-tool .sg-dialog input[type=text][data-text] { min-width: 0; min-height: 48px; font-size: 16px; }
.sg-dialog .sg-input-label { font-size: 14px; color: var(--text); }
.sg-dialog .sg-style-options { gap: 8px; margin: 16px 0; }
.sg-dialog .sg-style-options button { min-width: 0; min-height: 70px; font-size: 12px; color: #6e5b84; }
.sg-dialog .sg-type-preview { height: 130px; overflow: hidden; }
.sg-dialog .sg-type-preview span { color: #756783; font-size: 13px; }
.sg-dialog .sg-ink { min-inline-size: 0; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sg-dialog .sg-ink legend { font-size: 13px; line-height: 44px; color: #64557f; margin-right: 12px; }
.sg-dialog .sg-ink button { position: relative; flex: 0 0 44px; width: 44px; height: 44px; min-width: 44px; min-height: 44px; border: 1px solid transparent; background: transparent; box-shadow: none; }
.sg-dialog .sg-ink button::before { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: var(--ink); }
.sg-dialog .sg-ink button[aria-pressed=true] { border-color: #b5a4ed; background: #f6f3ff; }
.sg-dialog .sg-ink button[aria-pressed=true]::after { content: ''; position: absolute; width: 10px; height: 6px; top: 16px; left: 16px; border: solid white; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.sg-dialog .sg-upload-sign { min-width: 0; min-height: 210px; gap: 12px; padding: 24px 16px; text-align: center; }
.sg-dialog .sg-upload-sign strong { font-size: 15px; line-height: 1.5; }
.sg-dialog .sg-upload-sign span { font-size: 13px; color: #756783; }
.sg-dialog .sg-upload-sign input { min-width: 0; max-width: 100%; padding: 0; }
.sg-dialog .sg-upload-sign:focus-within { outline: 3px solid #b6a9ff; outline-offset: 3px; }
.sg-dialog .sg-white-option { min-width: 0; min-height: 48px; gap: 12px; margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--text); cursor: pointer; }
/* Override the shared full-width text-input rule only for this native checkbox. */
.sg-tool .sg-dialog input[type=checkbox][data-remove-white] {
  display: inline-block; flex: 0 0 20px; width: 20px; height: 20px;
  min-width: 20px; min-height: 20px; max-width: 20px; margin: 0;
  padding: 0; border-radius: 4px; accent-color: var(--primary); cursor: pointer;
}
.sg-dialog .sg-white-option span { min-width: 0; }
.sg-dialog .sg-upload-preview { height: 220px; min-width: 0; gap: 12px; padding: 16px; }
.sg-dialog .sg-upload-preview canvas { display: block; flex: 1; min-height: 0; width: 100%; max-width: 100%; height: 140px; object-fit: contain; }
.sg-dialog [data-replace-image] { min-height: 44px; flex-shrink: 0; font-size: 13px; background: white; border: 1px solid #e4ddee; }
.sg-dialog[data-dialog] footer { gap: 16px; background: white; box-shadow: 0 -6px 20px #49308704; }
.sg-dialog[data-dialog] footer p { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #756783; line-height: 1.5; }
.sg-dialog footer p .icon { width: 16px; height: 16px; flex-shrink: 0; }
.sg-dialog[data-dialog] footer .button { min-height: 48px; margin: 0; padding: 12px 20px; font-size: 14px; white-space: nowrap; }
.sg-dialog .sg-dialog-error { scroll-margin-block: 12px; }
.sg-confirm { max-width: calc(100% - 24px); }
.sg-confirm > div { flex-wrap: wrap; }
.sg-confirm button { min-height: 44px; }

@media (max-width: 900px) {
  .sg-editor .sg-document-actions .pt-icon-button,
  .sg-editor .sg-viewer-toolbar .pt-icon-button { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
  .sg-tool .sg-editor .sg-viewer-toolbar input[type=number] { width: 44px; min-width: 44px; min-height: 44px; font-size: 16px; }
  .sg-tool .sg-editor .sg-viewer-toolbar select { min-height: 44px; font-size: 16px; }
  .sg-editor .sg-tools-toggle, .sg-editor .sg-full-view-toggle, .sg-editor [data-change] { min-height: 44px; }
  .sg-editor .sg-selection { grid-template-columns: minmax(158px, 1fr) minmax(0, 1fr); }
  .sg-editor .sg-selection-actions { gap: 4px; }
  .sg-editor .sg-selection-actions button { min-height: 44px; min-width: 44px; font-size: 11px; padding: 7px 4px; }
  .sg-editor .sg-selection-actions [data-duplicate] { min-width: 58px; }
  .sg-editor .sg-selection-actions [data-delete] { flex: 0 0 44px; }
  .sg-tool .sg-editor .sg-selection input[type=range] { min-width: 0; min-height: 44px; height: 44px; padding: 0; background: transparent; border: 0; }
  .sg-editor .sg-reuse { min-height: 44px; }
}
@media (max-width: 600px) {
  .sg-tool .sg-dialog[data-dialog] { width: calc(100% - 24px); max-height: calc(var(--sg-viewport-height, 100dvh) - 24px); border-radius: 16px; }
  .sg-dialog [data-signature-form] { max-height: calc(var(--sg-viewport-height, 100dvh) - 26px); }
  .sg-dialog[data-dialog] header { padding: 16px; gap: 12px; }
  .sg-dialog[data-dialog] h2 { font-size: 21px; letter-spacing: -.4px; }
  .sg-dialog .sg-kicker { font-size: 10px; letter-spacing: 1px; }
  .sg-dialog .sg-dialog-body { padding: 16px; }
  .sg-dialog .sg-tabs { margin-bottom: 16px; }
  .sg-dialog .sg-tabs button { font-size: 13px; padding-inline: 6px; }
  .sg-dialog .sg-draw-actions > span { max-width: 75%; }
  .sg-dialog .sg-style-options button { font-size: 11px; padding-inline: 3px; }
  .sg-dialog .sg-upload-sign { min-height: 195px; }
  .sg-dialog[data-dialog] footer { flex-direction: column; gap: 10px; padding: 14px 16px max(14px, env(safe-area-inset-bottom)); }
  .sg-dialog[data-dialog] footer .button { order: -1; width: 100%; }
  .sg-dialog[data-dialog] footer p { font-size: 11px; }
  .sg-editor .sg-document-actions { gap: 4px; }
  .sg-editor .sg-finish { margin-left: 0; padding-inline: 8px; }
  .sg-editor .sg-selection { gap: 8px 10px; }
}
@media (max-width: 360px) {
  .sg-editor .sg-tools-toggle { width: 44px; padding-inline: 8px; }
  .sg-editor .sg-tools-toggle > span { display: none; }
}
@media (max-height: 500px) {
  .sg-dialog[data-dialog] header, .sg-dialog[data-dialog] footer { padding: 10px 16px; }
  .sg-dialog[data-dialog] header .sg-kicker, .sg-dialog[data-dialog] footer p { display: none; }
  .sg-dialog[data-dialog] h2 { margin: 7px 0; font-size: 20px; }
  .sg-dialog .sg-dialog-body { padding: 12px 16px; }
  .sg-dialog .sg-tabs { margin-bottom: 12px; }
}
