@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");@media print{body{margin:0!important}}:root{--ck-content-font-family:"Inter",sans-serif;--ck-sidebar-width:270px;--ck-editor-height:700px;--document-table-radius:8px;--ck-color-base-border:hsl(0,0%,86%);--ck-color-base-foreground:hsl(0,0%,97%)}.main-container{font-family:var(--ck-content-font-family);width:-moz-fit-content;width:fit-content;max-width:100%;margin-left:auto;margin-right:auto}.main-container.main-container_fullscreen{width:100%;max-width:100%;margin-left:0;margin-right:0}.main-container.main-container_fullscreen .editor-container{width:100%}.main-container.main-container_fullscreen .editor-container__editor-wrapper{width:100%;max-width:100%}.editor-container__actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-bottom:12px;flex-wrap:wrap}.editor-container__export-button{background:hsl(220,83%,56%);border:1px solid hsl(220,83%,46%);border-radius:8px;color:hsl(0,0%,100%);cursor:pointer;font-size:13px;font-weight:600;padding:8px 14px;transition:background .2s ease,opacity .2s ease}.editor-container__export-button:hover{background:hsl(220,83%,50%)}.editor-container__export-button:disabled{cursor:not-allowed;opacity:.6}.editor-container__export-error{color:hsl(0,70%,45%);font-size:12px}.ck-content h1,.ck-content h2,.ck-content h3,.ck-content h4,.ck-content h5,.ck-content h6{margin:0 0 .6em;font-weight:600;line-height:1.25}.ck-content h1{font-size:28px}.ck-content h2{font-size:22px}.ck-content h3{font-size:18px}.ck-content h4{font-size:16px}.ck-content h5{font-size:14px}.ck-content h6{font-size:12px}.editor-container__editor-wrapper{display:flex;width:-moz-fit-content;width:fit-content;max-width:100%}.editor-container_document-editor{border:1px solid var(--ck-color-base-border);display:flex;flex-direction:column;resize:none}.editor-container_document-editor .editor-container__toolbar{display:flex;position:relative;box-shadow:0 2px 3px hsla(0,0%,0%,.078)}.editor-container_document-editor .editor-container__toolbar>.ck.ck-toolbar{flex-grow:1;width:0}.editor-container_document-editor .editor-container__menu-bar>.ck.ck-menu-bar,.editor-container_document-editor .editor-container__toolbar>.ck.ck-toolbar{border-bottom-right-radius:0;border-bottom-left-radius:0;border-top:0;border-left:0;border-right:0}.editor-container_document-editor .editor-container__editor-wrapper{max-height:var(--ck-editor-height);min-height:var(--ck-editor-height);overflow-y:auto;overflow-x:hidden;background:var(--ck-color-base-foreground);padding-right:64px}.editor-container_document-editor .editor-container__editor{margin-top:28px;margin-bottom:28px;height:100%;resize:none}.editor-container_document-editor .editor-container__editor .ck.ck-editor__editable{height:auto;overflow:hidden}.editor-container_document-editor .ProseMirror,.editor-container_document-editor .editor-container__editor .ck.ck-editor__editable{box-sizing:border-box;width:calc(var(--document-page-width, 21.59cm) + 2px);min-height:var(--document-page-height,27.94cm);padding:var(--document-page-padding-top,20mm) var(--document-page-padding-right,12mm) var(--document-page-padding-bottom,20mm) var(--document-page-padding-left,12mm);border:1px solid hsl(0,0%,88%);background:hsl(0,0%,100%);box-shadow:0 2px 8px hsla(0,0%,0%,.08);margin:40px auto}.editor-container_document-editor .ProseMirror{outline:none}.editor-container_document-editor .ProseMirror p{margin:0 0 .6em}.editor-container_include-pagination .ProseMirror{background-image:repeating-linear-gradient(to bottom,#ffffff 0,#ffffff calc(var(--document-page-height, 27.94cm) - 1px),hsla(0,0%,85%,.8) calc(var(--document-page-height, 27.94cm) - 1px),hsla(0,0%,85%,.8) var(--document-page-height,27.94cm));background-size:100% var(--document-page-height,27.94cm);background-repeat:repeat}.editor-container__richtext{display:flex;flex-direction:column;min-height:100%}.editor-container__toolbar-inner{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border:0;box-shadow:none}.editor-container__toolbar-inner .editor-container__controls-group--list{display:inline-flex;flex-wrap:nowrap;align-items:center}.editor-container__toolbar-inner .editor-container__controls-group--list>*{border-radius:0}.editor-container__toolbar-inner .editor-container__controls-group--list>:not(:last-child){border-right-width:0;border-inline-end-width:0}.editor-container__toolbar-inner .editor-container__controls-group--list>:first-child{border-top-left-radius:6px;border-bottom-left-radius:6px}.editor-container__toolbar-inner .editor-container__controls-group--list>:last-child{border-top-right-radius:6px;border-bottom-right-radius:6px}.editor-container__toolbar-inner .editor-container__controls-group--list .editor-container__select{height:calc(1.625rem * var(--mantine-scale));line-height:calc(1.625rem * var(--mantine-scale));padding-top:0;padding-bottom:0;box-sizing:border-box}.editor-container__menu-button{display:inline-flex;align-items:center;gap:4px;padding:4px 6px;border-radius:6px;border:1px solid hsl(0,0%,85%);background:#fff;cursor:pointer;font-size:12px;font-weight:600;color:hsl(0,0%,25%)}.editor-container__menu-button:hover{background:hsl(0,0%,96%)}.editor-container__menu-button:disabled{cursor:not-allowed;opacity:.6}.editor-container__select{border-radius:6px;border:1px solid hsl(0,0%,82%);background:#fff;font-size:12px;padding:4px 6px;color:hsl(0,0%,25%)}.editor-container__select--compact{max-width:130px}.editor-container__toolbar-error{color:hsl(0,70%,45%);font-size:12px;margin-left:12px}.editor-container_document-editor .ck-editor__editable_inline{max-height:none;resize:none}.main-container.document-editor-fill{display:flex;flex-direction:column;height:100%;min-height:0}.main-container.document-editor-fill .editor-container{flex:1;min-height:0}.main-container.document-editor-fill .editor-container__editor-wrapper{flex:1;min-height:0;max-height:none}.editor-container_include-outline .editor-container__editor .ProseMirror,.editor-container_include-outline .editor-container__editor .ck.ck-editor__editable{margin-left:0;margin-right:auto}.editor-container_include-outline.editor-container_include-fullscreen .ck-fullscreen__document-outline-header{display:none}.editor-container__sidebar{min-width:var(--ck-sidebar-width);max-width:var(--ck-sidebar-width);margin-top:28px;margin-left:10px;margin-right:10px;max-height:100%;overflow-y:auto}.editor-container__sidebar_ckeditor-ai:has(.ck-tabs.ck-hidden){max-width:0;min-width:0}.ck-content .table thead{display:table-row-group}.ck-content .table tr{-moz-column-break-inside:avoid;break-inside:avoid;-moz-column-break-after:auto;break-after:auto}.document-preview-measure-content,.document-preview-page-content{--table-border-color:var(--mantine-color-gray-3)}:where([data-mantine-color-scheme=dark]) .document-preview-measure-content,:where([data-mantine-color-scheme=dark]) .document-preview-page-content{--table-border-color:var(--mantine-color-dark-4)}.document-preview-measure-content :where(table),.document-preview-page-content :where(table){width:100%;caption-side:bottom;margin-bottom:var(--mantine-spacing-md)}.document-preview-measure-content :where(table) :where(caption),.document-preview-page-content :where(table) :where(caption){margin-top:var(--mantine-spacing-xs);font-size:var(--mantine-font-size-sm);color:var(--mantine-color-dimmed)}.document-preview-measure-content :where(table) :where(th),.document-preview-page-content :where(table) :where(th){text-align:left;font-weight:700;font-size:var(--mantine-font-size-sm);padding:var(--mantine-spacing-xs) var(--mantine-spacing-sm)}.document-preview-measure-content :where(table) :where(thead th),.document-preview-page-content :where(table) :where(thead th){border-bottom:calc(.0625rem * var(--mantine-scale)) solid var(--table-border-color)}.document-preview-measure-content :where(table) :where(tfoot th),.document-preview-page-content :where(table) :where(tfoot th){border-top:calc(.0625rem * var(--mantine-scale)) solid var(--table-border-color)}.document-preview-measure-content :where(table) :where(td),.document-preview-page-content :where(table) :where(td){padding:var(--mantine-spacing-xs) var(--mantine-spacing-sm);border-bottom:calc(.0625rem * var(--mantine-scale)) solid var(--table-border-color);font-size:var(--mantine-font-size-sm)}.document-preview-measure-content :where(table) :where(tr:last-of-type td),.document-preview-page-content :where(table) :where(tr:last-of-type td){border-bottom:0}.ck-content .table>table,.doc-template table,.document-preview-measure-content table,.document-preview-page table,.editor-container_document-editor .ck-content table{border-collapse:separate!important;border-spacing:0!important;border-radius:var(--document-table-radius);overflow:hidden}.ck-content .table>table:has(>thead),.doc-template table:has(>thead),.document-preview-measure-content table:has(>thead),.document-preview-page table:has(>thead),.editor-container_document-editor .ck-content table:has(>thead){border-radius:0 0 var(--document-table-radius) var(--document-table-radius)}.ck-content .table td,.ck-content .table th,.doc-template td,.doc-template th,.document-preview-measure-content td,.document-preview-measure-content th,.document-preview-page td,.document-preview-page th,.editor-container_document-editor .ck-content td,.editor-container_document-editor .ck-content th{background-clip:padding-box}.ck-content .table>table:has(>thead)>thead:first-of-type tr:first-child>:first-child,.ck-content .table>table:not(:has(>thead))>tbody:first-of-type tr:first-child>:first-child,.ck-content .table>table:not(:has(>thead))>tr:first-child>:first-child,.doc-template table:has(>thead)>thead:first-of-type tr:first-child>:first-child,.doc-template table:not(:has(>thead))>tbody:first-of-type tr:first-child>:first-child,.doc-template table:not(:has(>thead))>tr:first-child>:first-child,.document-preview-measure-content table:has(>thead)>thead:first-of-type tr:first-child>:first-child,.document-preview-measure-content table:not(:has(>thead))>tbody:first-of-type tr:first-child>:first-child,.document-preview-measure-content table:not(:has(>thead))>tr:first-child>:first-child,.document-preview-page table:has(>thead)>thead:first-of-type tr:first-child>:first-child,.document-preview-page table:not(:has(>thead))>tbody:first-of-type tr:first-child>:first-child,.document-preview-page table:not(:has(>thead))>tr:first-child>:first-child,.editor-container_document-editor .ck-content table:has(>thead)>thead:first-of-type tr:first-child>:first-child,.editor-container_document-editor .ck-content table:not(:has(>thead))>tbody:first-of-type tr:first-child>:first-child,.editor-container_document-editor .ck-content table:not(:has(>thead))>tr:first-child>:first-child{border-top-left-radius:var(--document-table-radius)}.ck-content .table>table:has(>thead)>thead:first-of-type tr:first-child>:last-child,.ck-content .table>table:not(:has(>thead))>tbody:first-of-type tr:first-child>:last-child,.ck-content .table>table:not(:has(>thead))>tr:first-child>:last-child,.doc-template table:has(>thead)>thead:first-of-type tr:first-child>:last-child,.doc-template table:not(:has(>thead))>tbody:first-of-type tr:first-child>:last-child,.doc-template table:not(:has(>thead))>tr:first-child>:last-child,.document-preview-measure-content table:has(>thead)>thead:first-of-type tr:first-child>:last-child,.document-preview-measure-content table:not(:has(>thead))>tbody:first-of-type tr:first-child>:last-child,.document-preview-measure-content table:not(:has(>thead))>tr:first-child>:last-child,.document-preview-page table:has(>thead)>thead:first-of-type tr:first-child>:last-child,.document-preview-page table:not(:has(>thead))>tbody:first-of-type tr:first-child>:last-child,.document-preview-page table:not(:has(>thead))>tr:first-child>:last-child,.editor-container_document-editor .ck-content table:has(>thead)>thead:first-of-type tr:first-child>:last-child,.editor-container_document-editor .ck-content table:not(:has(>thead))>tbody:first-of-type tr:first-child>:last-child,.editor-container_document-editor .ck-content table:not(:has(>thead))>tr:first-child>:last-child{border-top-right-radius:var(--document-table-radius)}.ck-content .table>table>tbody:last-of-type tr:last-child>:first-child,.ck-content .table>table>tfoot:last-of-type tr:last-child>:first-child,.ck-content .table>table>tr:last-child>:first-child,.doc-template table>tbody:last-of-type tr:last-child>:first-child,.doc-template table>tfoot:last-of-type tr:last-child>:first-child,.doc-template table>tr:last-child>:first-child,.document-preview-measure-content table>tbody:last-of-type tr:last-child>:first-child,.document-preview-measure-content table>tfoot:last-of-type tr:last-child>:first-child,.document-preview-measure-content table>tr:last-child>:first-child,.document-preview-page table>tbody:last-of-type tr:last-child>:first-child,.document-preview-page table>tfoot:last-of-type tr:last-child>:first-child,.document-preview-page table>tr:last-child>:first-child,.editor-container_document-editor .ck-content table>tbody:last-of-type tr:last-child>:first-child,.editor-container_document-editor .ck-content table>tfoot:last-of-type tr:last-child>:first-child,.editor-container_document-editor .ck-content table>tr:last-child>:first-child{border-bottom-left-radius:var(--document-table-radius)}.ck-content .table>table>tbody:last-of-type tr:last-child>:last-child,.ck-content .table>table>tfoot:last-of-type tr:last-child>:last-child,.ck-content .table>table>tr:last-child>:last-child,.doc-template table>tbody:last-of-type tr:last-child>:last-child,.doc-template table>tfoot:last-of-type tr:last-child>:last-child,.doc-template table>tr:last-child>:last-child,.document-preview-measure-content table>tbody:last-of-type tr:last-child>:last-child,.document-preview-measure-content table>tfoot:last-of-type tr:last-child>:last-child,.document-preview-measure-content table>tr:last-child>:last-child,.document-preview-page table>tbody:last-of-type tr:last-child>:last-child,.document-preview-page table>tfoot:last-of-type tr:last-child>:last-child,.document-preview-page table>tr:last-child>:last-child,.editor-container_document-editor .ck-content table>tbody:last-of-type tr:last-child>:last-child,.editor-container_document-editor .ck-content table>tfoot:last-of-type tr:last-child>:last-child,.editor-container_document-editor .ck-content table>tr:last-child>:last-child{border-bottom-right-radius:var(--document-table-radius)}.editor-container_document-editor .ck-pagination-view-line:after{right:8px;transform:translateX(0)}.main-container.document-editor-scaled .editor-container__sidebar,.main-container.template-editor .editor-container__sidebar{display:none}.main-container.template-editor .editor-container_document-editor{border:0}.main-container.template-editor .editor-container__toolbar{display:flex;align-items:stretch;align-self:stretch;box-sizing:border-box;width:100%;min-width:0;max-width:100%}.main-container.template-editor .editor-container__toolbar>*{box-sizing:border-box;flex:1 1 auto;min-width:0;width:100%;max-width:100%}.main-container.template-editor .editor-container__toolbar-inner{box-sizing:border-box;width:100%;min-width:0}.main-container.document-editor-scaled .editor-container__editor-wrapper,.main-container.template-editor .editor-container__editor-wrapper{display:block;width:100%;max-width:100%;overflow-x:auto;padding:0 16px;box-sizing:border-box}.main-container.document-editor-scaled .editor-container__editor,.main-container.template-editor .editor-container__editor{width:100%;box-sizing:border-box;display:flex;justify-content:center}.main-container.document-editor-scaled .editor-container__editor .ProseMirror,.main-container.document-editor-scaled .editor-container__editor .ck.ck-editor__editable,.main-container.template-editor .editor-container__editor .ProseMirror,.main-container.template-editor .editor-container__editor .ck.ck-editor__editable{transform:scale(var(--template-page-scale,1));transform-origin:top center;flex-shrink:0}.document-editor-frame[data-scale-mode=zoom] .main-container.document-editor-scaled .editor-container__editor .ProseMirror,.document-editor-frame[data-scale-mode=zoom] .main-container.document-editor-scaled .editor-container__editor .ck.ck-editor__editable,.template-editor-frame[data-scale-mode=zoom] .main-container.template-editor .editor-container__editor .ProseMirror,.template-editor-frame[data-scale-mode=zoom] .main-container.template-editor .editor-container__editor .ck.ck-editor__editable{zoom:var(--template-page-scale,1);transform:none}.document-preview-frame,.template-preview-frame{--template-page-scale:1;position:relative;display:flex;justify-content:center;align-items:flex-start}.document-preview-frame .document-preview-scale,.template-preview-frame .document-preview-scale{display:inline-block;transform:scale(var(--template-page-scale,1));transform-origin:top center}.document-preview-frame[data-scale-mode=zoom] .document-preview-scale,.template-preview-frame[data-scale-mode=zoom] .document-preview-scale{zoom:var(--template-page-scale,1);transform:none}.document-preview-pages{display:flex;flex-direction:column;align-items:center;gap:24px}.document-preview-page{width:var(--document-page-width,21.59cm);min-height:var(--document-page-height,27.94cm);height:var(--document-page-height,27.94cm);padding:var(--document-page-padding-top,20mm) var(--document-page-padding-right,12mm) var(--document-page-padding-bottom,20mm) var(--document-page-padding-left,12mm);box-sizing:border-box;background:#ffffff;box-shadow:0 2px 8px hsla(0,0%,0%,.08);position:relative}.document-preview-page-content{width:100%;height:100%;box-sizing:border-box}.document-preview-overlay{position:absolute;inset:0}.document-preview-measure{position:fixed;left:-99999px;top:0;width:var(--document-page-width,21.59cm);height:var(--document-page-height,27.94cm);padding:var(--document-page-padding-top,20mm) var(--document-page-padding-right,12mm) var(--document-page-padding-bottom,20mm) var(--document-page-padding-left,12mm);box-sizing:border-box;visibility:hidden;overflow:hidden;pointer-events:none}.document-preview-measure-content{width:100%;box-sizing:border-box}[data-hide-signing-overlays=true] .document-preview-overlay{display:none}.doc-template{--doc-primary:#2563eb;--doc-font:"Helvetica Neue",Arial,sans-serif;color:#111;font-family:var(--doc-font,"Helvetica Neue",Arial,sans-serif);font-size:12px;line-height:1.45}.doc-template p{min-height:1.45em;margin:0 0 .6em}.doc-template h1{margin:18px 0 6px;font-size:20px}.doc-template h2{margin:16px 0 6px;font-size:14px;border-bottom:2px solid var(--doc-primary);padding-bottom:4px}.doc-template h3,.doc-template h4,.doc-template h5,.doc-template h6{margin:12px 0 6px;font-size:12px}.doc-template ul{margin:6px 0 0 18px;padding:0}.doc-template table{width:100%;border-collapse:collapse;margin-top:8px;margin-bottom:0}.doc-template .table,.document-preview-measure-content .table,.document-preview-page .table,.editor-container_document-editor .ck-content .table{border:0!important;outline:none;box-shadow:none}.ck-content .table>table,.doc-template table,.document-preview-measure-content table,.document-preview-page table,.editor-container_document-editor .ck-content .table>table,.editor-container_document-editor .ck-content table{border:0!important}.doc-template .doc-table-auto,.document-preview-measure-content .doc-table-auto,.document-preview-page .doc-table-auto,.editor-container_document-editor .ck-content .doc-table-auto{width:-moz-max-content;width:max-content;max-width:100%}.doc-template .doc-table-auto>table,.document-preview-measure-content .doc-table-auto>table,.document-preview-page .doc-table-auto>table,.editor-container_document-editor .ck-content .doc-table-auto>table{width:auto;table-layout:auto}.document-preview-measure-content.doc-template .doc-table-auto,.document-preview-page-content.doc-template .doc-table-auto{width:100%;max-width:100%}.document-preview-measure-content.doc-template .doc-table-auto>table,.document-preview-page-content.doc-template .doc-table-auto>table{width:100%}.doc-template .doc-table-fixed>table,.document-preview-measure-content .doc-table-fixed>table,.document-preview-page .doc-table-fixed>table,.editor-container_document-editor .ck-content .doc-table-fixed>table{width:100%;table-layout:fixed}.doc-template td,.doc-template th{border:1px solid #e5e5e5;padding:7px;vertical-align:top}.doc-template th{background:#fafafa;font-size:11px;text-align:left}.doc-template .doc-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.doc-template .doc-brand{display:flex;align-items:center;gap:12px}.doc-template .doc-logo{max-height:48px;max-width:160px;-o-object-fit:contain;object-fit:contain}.doc-template .doc-company-meta,.doc-template .doc-meta{font-size:11px;line-height:1.35}.doc-template .doc-meta{text-align:right}.doc-template .doc-badge{display:inline-block;padding:2px 8px;border:1px solid #ddd;border-radius:999px;font-size:10px}.doc-template .doc-two-col{display:flex;gap:16px;flex-wrap:wrap;margin-top:10px}.doc-template .doc-col{flex:1;min-width:0}.doc-template .doc-box{border:1px solid #e5e5e5;border-radius:8px;padding:10px}.doc-template .doc-box+.doc-box{margin-top:8px}.doc-template .doc-label{font-size:10px;color:#666;text-transform:uppercase;letter-spacing:.03em}.doc-template .doc-value{margin-top:2px}.doc-template .doc-right{text-align:right;white-space:nowrap}.doc-template .doc-muted{color:#666}.doc-template .doc-small{font-size:11px}.doc-template .doc-footer{margin-top:22px;font-size:10px;color:#666}.doc-template .doc-sig-row,.doc-template .doc-signature-grid{display:flex;gap:20px;margin-top:18px;flex-wrap:wrap}.doc-template .doc-signature{flex:1;min-width:200px}.doc-template .doc-signature-line{border-top:1px solid #111;margin-top:28px;padding-top:6px;font-size:11px}.doc-template .doc-signature-image{max-height:60px;max-width:240px}.doc-template .doc-field{margin-top:8px}.doc-template .doc-line{border-bottom:1px solid #111;height:16px}.doc-template .line-item-column:empty{display:none}.doc-template .merge-field-token{display:inline-flex;align-items:center;border:1px solid color-mix(in srgb,var(--merge-field-color,currentColor) 22%,transparent);border-radius:999px;background:var(--merge-field-background-color,#fff);color:var(--merge-field-color,inherit);font-family:var(--merge-field-font-family,inherit);font-size:0;font-style:var(--merge-field-font-style,inherit);font-weight:var(--merge-field-font-weight,inherit);line-height:1;padding:1px 6px;-webkit-text-decoration:var(--merge-field-text-decoration,inherit);text-decoration:var(--merge-field-text-decoration,inherit);text-transform:inherit;letter-spacing:inherit;white-space:nowrap;cursor:text;transition:border-color .12s ease,box-shadow .12s ease,background-color .12s ease}.doc-template .merge-field-token:before{content:attr(data-merge-label);background:inherit;color:inherit;font-family:inherit;font-size:var(--merge-field-font-size,12px);font-style:inherit;font-weight:inherit;line-height:1.3;text-decoration:inherit;text-transform:inherit;letter-spacing:inherit}.merge-field-selection-overlay{position:fixed;z-index:50;display:block;box-sizing:border-box;border:1px solid #2563eb;border-radius:999px;background:rgb(191 219 254/36%);box-shadow:0 0 0 2px rgb(37 99 235/24%);pointer-events:none}.doc-template .contract-document{font-family:Inter,Helvetica Neue,Arial,sans-serif;font-size:12px;line-height:1.4;color:#111827}.doc-template .contract-document p{min-height:0;margin:0 0 6px}.doc-template .contract-document h1{margin:12px 0 4px;font-size:20px;line-height:1.15}.doc-template .contract-document h2{margin:12px 0 6px;padding-bottom:3px;border-bottom:2px solid #2563eb;font-size:14px;line-height:1.2}.doc-template .contract-document h3{margin:0 0 4px;font-size:12px}.doc-template .contract-document .doc-header{display:flex;align-items:stretch;justify-content:space-between;gap:0;min-height:124px;border:1px solid #c7ced8;border-radius:7px;overflow:hidden}.doc-template .contract-document .doc-box,.doc-template .contract-document .doc-brand,.doc-template .contract-document .doc-meta{display:flex;flex-direction:column}.doc-template .contract-document .doc-brand,.doc-template .contract-document .doc-meta{box-sizing:border-box;flex:1 1 0;min-width:0;padding:10px}.doc-template .contract-document .doc-brand{flex-direction:row;align-items:flex-start;gap:8px}.doc-template .contract-document .doc-brand img{width:44px;max-height:38px;-o-object-fit:contain;object-fit:contain}.doc-template .contract-document .doc-box span,.doc-template .contract-document .doc-brand span,.doc-template .contract-document .doc-meta span{display:block}.doc-template .contract-document .doc-meta{align-items:flex-end;text-align:right;font-size:10px;line-height:1.35;border-left:1px solid #c7ced8}.doc-template .contract-document .contract-rule{height:2px;margin:7px 0 10px;background:#2563eb}.doc-template .contract-document .doc-two-col{display:flex;align-items:stretch;gap:10px;margin:8px 0}.doc-template .contract-document .signature-grid,.doc-template .contract-document h2+.doc-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.doc-template .contract-document .doc-box{flex:1;min-width:0;box-sizing:border-box;padding:8px;border:1px solid #d7dde5;border-radius:5px}.doc-template .contract-document .doc-two-col>.doc-box{height:100%}.doc-template .contract-document .doc-two-col>.signature-box,.doc-template .contract-document .signature-grid>.signature-box{min-height:68px}.doc-template .contract-document figure.table{margin:0 0 8px}.doc-template .contract-document table{margin:0;font-size:11px}.doc-template .contract-document td,.doc-template .contract-document th{padding:5px 6px;border-color:#d7dde5}.doc-template .contract-document th{background:#f5f7fa}.doc-template .contract-document .scope-line{padding:4px 0;border-bottom:1px solid #edf0f4}.doc-template .contract-document .scope-line span{color:#64748b;font-size:11px}.doc-template .contract-document .contract-terms{white-space:pre-line}.doc-template .contract-document .signature-box img{max-width:180px;max-height:48px;margin:3px 0;-o-object-fit:contain;object-fit:contain;-o-object-position:left;object-position:left}.doc-template .contract-document .doc-footer{margin-top:12px;padding-top:5px;border-top:1px solid #e5e7eb;color:#64748b;font-size:9px}.doc-template .contract-document div:empty,.doc-template .contract-document p:empty,.doc-template .contract-document section:empty{display:none}.doc-template [data-document-table]{width:100%;table-layout:fixed;margin:0 0 10px;border:1px solid #cfd7e2!important;border-radius:8px;background:#fff;box-shadow:none;overflow:hidden}.doc-template [data-document-table] td,.doc-template [data-document-table] th{border:1px solid #cfd7e2;padding:8px 10px;vertical-align:top;background:#fff}.doc-template [data-document-table] p{min-height:0;margin:0 0 4px}.doc-template [data-document-table] p:last-child{margin-bottom:0}.doc-template [data-document-table=header]{margin-bottom:14px}.doc-template [data-document-table=header] td{height:122px}.doc-template [data-document-table=header] td+td{width:42%;border-left:1px solid #c2cad6;text-align:right}.doc-template [data-document-table=header] td+td p{text-align:right}.doc-template [data-document-table=header] img{width:44px;max-height:38px;-o-object-fit:contain;object-fit:contain}.doc-template [data-document-table=parties]{margin:10px 0 12px}.doc-template [data-document-table=parties] td,.doc-template [data-document-table=signatures] td{width:50%}.doc-template [data-document-table=parties] td{height:122px}.doc-template [data-document-table=parties] td+td,.doc-template [data-document-table=signatures] td+td{border-left:1px solid #cfd7e2}.doc-template [data-document-table=price],.doc-template [data-document-table=schedule]{margin-bottom:10px}.doc-template [data-document-table=price] th,.doc-template [data-document-table=schedule] th{background:#f4f6f8;font-weight:700;text-align:left}.doc-template [data-document-table=price] td,.doc-template [data-document-table=price] th,.doc-template [data-document-table=schedule] td,.doc-template [data-document-table=schedule] th{padding:7px 9px}.doc-template [data-document-table=signatures]{margin-top:2px}.doc-template [data-document-table=signatures] td{height:76px}.doc-template [data-document-table=signatures] img{max-width:180px;max-height:42px;margin:2px 0;-o-object-fit:contain;object-fit:contain;-o-object-position:left;object-position:left}.doc-template [data-document-table=signatures] p{margin-bottom:3px}.contract-template-content>.tableWrapper:first-of-type>table,.contract-template-content>table:first-of-type,.contract-template-editor .doc-template>.tableWrapper:first-of-type>table{margin-bottom:14px}.contract-template-content>.tableWrapper:first-of-type>table td,.contract-template-content>table:first-of-type td,.contract-template-editor .doc-template>.tableWrapper:first-of-type>table td{height:122px}.contract-template-content>.tableWrapper:first-of-type>table td+td,.contract-template-content>table:first-of-type td+td,.contract-template-editor .doc-template>.tableWrapper:first-of-type>table td+td{width:42%;border-left:1px solid #c2cad6;text-align:right}.contract-template-content>.tableWrapper:nth-of-type(2)>table td,.contract-template-content>table:nth-of-type(2) td,.contract-template-editor .doc-template>.tableWrapper:nth-of-type(2)>table td{height:122px;width:50%}.contract-template-content>.tableWrapper:nth-of-type(2)>table td+td,.contract-template-content>table:nth-of-type(2) td+td,.contract-template-editor .doc-template>.tableWrapper:nth-of-type(2)>table td+td{border-left:1px solid #cfd7e2}.contract-template-content>.tableWrapper:nth-of-type(3)>table th,.contract-template-content>.tableWrapper:nth-of-type(4)>table th,.contract-template-content>table:nth-of-type(3) th,.contract-template-content>table:nth-of-type(4) th,.contract-template-editor .doc-template>.tableWrapper:nth-of-type(3)>table th,.contract-template-editor .doc-template>.tableWrapper:nth-of-type(4)>table th{background:#f4f6f8;font-weight:700;text-align:left}.contract-template-content>.tableWrapper:nth-of-type(5)>table td,.contract-template-content>table:nth-of-type(5) td,.contract-template-editor .doc-template>.tableWrapper:nth-of-type(5)>table td{height:76px;width:50%}.contract-template-content>.tableWrapper:nth-of-type(5)>table td+td,.contract-template-content>table:nth-of-type(5) td+td,.contract-template-editor .doc-template>.tableWrapper:nth-of-type(5)>table td+td{border-left:1px solid #cfd7e2}