.contract-template-editor-loading{width:100%;min-height:100%}.contract-template-setup{background:#f8fafc;min-height:calc(100vh - 56px);margin:-24px;padding:32px 24px 24px;container-type:inline-size}.js-has-pseudo [csstools-has-z-31-2p-2x-32-19-2r-33-32-38-2t-32-38-1m-2w-2p-37-14-1a-2r-33-32-38-36-2p-2r-38-19-38-2t-31-34-30-2p-38-2t-19-37-2t-38-39-34-15]:not(#does-not-exist){scrollbar-width:none}#main-content:has(.contract-template-setup){scrollbar-width:none}.js-has-pseudo [csstools-has-z-31-2p-2x-32-19-2r-33-32-38-2t-32-38-1m-2w-2p-37-14-1a-2r-33-32-38-36-2p-2r-38-19-38-2t-31-34-30-2p-38-2t-19-37-2t-38-39-34-15]:not(#does-not-exist)::-webkit-scrollbar{width:0}#main-content:has(.contract-template-setup)::-webkit-scrollbar{width:0}.contract-template-setup>h1{color:#02131f;margin:0 0 24px;font-size:18px;font-weight:400;line-height:1.27}.contract-template-setup__grid{grid-template-columns:minmax(0,1fr);align-items:start;gap:16px;max-width:1112px;display:grid}.contract-template-setup__left{gap:16px;display:grid}.contract-template-setup-card{background:#fff;border:.5px solid #d3dade;border-radius:4px;width:100%;min-width:0;padding:24px}.contract-template-setup__configuration{min-height:263px}.contract-template-setup-card h2{color:#34434d;margin:0;font-size:14px;font-weight:600}.contract-template-setup-card>p{color:#535f66;margin:8px 0 0;font-size:14px}.contract-template-setup-card__body{border-top:1px solid #dde4e9;margin-top:16px;padding-top:24px}.contract-template-setup-card>p+.contract-template-setup-card__body{padding-top:16px}.contract-template-setup .dropdown-field{flex-direction:column;align-items:stretch;gap:8px}.contract-template-setup__row{grid-template-columns:1fr 1fr;gap:16px;margin-top:16px;display:grid}.contract-template-setup__validity{min-height:309px}.contract-template-setup__validity .dropdown-field{max-width:335px}.contract-template-setup__checkbox{color:#34434d;align-items:center;gap:10px;margin-top:24px;font-size:14px;display:flex}.contract-template-setup__checkbox input{accent-color:#0689db;width:18px;height:18px;margin:0}.contract-template-setup__checkbox--disabled{opacity:.45}.contract-template-setup__attachments{min-height:588px}.contract-template-setup__file-types{color:#535f66;margin:0 0 8px;font-size:14px}.contract-template-setup__choose-file{color:#535f66;background:#f1f4f6;border-color:#dde4e9;justify-content:center;width:100%;height:40px;display:flex}.contract-template-setup__attachment{color:#535f66;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;margin-top:12px;display:grid}.contract-template-setup__attachment span{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;overflow:hidden}.contract-template-setup__attachment button{color:#535f66;background:0 0;border:0;padding:0;display:inline-flex}.contract-template-setup__actions{justify-content:flex-start;gap:24px;max-width:1112px;margin-top:24px;display:flex}.contract-template-setup__actions .button{min-width:155px;height:40px}.contract-template-setup__actions .button--primary{min-width:172px}.contract-template-setup__actions .button--primary:disabled{color:#fff;opacity:1;background:#9cd7fc}.contract-template-setup__actions .button--ghost{background:#fff;border-color:#9aabb5}@container (width>=1160px){.contract-template-setup__grid{grid-template-columns:minmax(0,733px) 355px;gap:24px}}.contract-template-editor{z-index:1000;background:#f2f6f8;min-height:100vh;position:fixed;inset:0;overflow:hidden}.contract-template-editor__import-loading{align-items:center;gap:var(--sogni-space-5);min-height:220px;padding:var(--sogni-space-6);justify-items:center;width:min(420px,100vw - 48px);display:grid}.contract-template-editor__import-loading h2{color:var(--sogni-color-text);margin:0;font-size:18px}.contract-template-editor__import-loading-state{color:var(--sogni-color-text-muted);align-items:center;gap:var(--sogni-space-3);flex-direction:column;font-size:14px;display:flex}.contract-template-editor__import-loading .button{min-width:120px}.contract-template-editor__titlebar{color:#fff;background:#04629b;align-items:center;gap:10px;height:72px;padding:0 20px;display:flex}.contract-template-editor__titlebar button{color:inherit;background:0 0;border:0;align-items:center;padding:0;display:inline-flex}.contract-template-editor__titlebar h1{margin:0;font-size:22px;font-weight:600;line-height:1.33}.contract-template-editor__toolbar{background:#fff;border-bottom:1px solid #dde4e9;align-items:stretch;gap:16px;height:72px;padding:12px 24px 12px 48px;display:flex;overflow:auto hidden}.contract-template-editor__toolbar>strong{color:#8f9aa1;white-space:nowrap;align-items:center;padding-right:0;font-size:16px;font-weight:400;display:flex}.contract-template-editor__tool,.contract-template-editor__signature-tool{color:#535f66;background:#fff;border:0;border-left:1px solid #dde4e9;flex-direction:column;flex:none;justify-content:center;align-items:center;gap:4px;min-width:60px;padding:2px 10px;font-size:14px;display:flex;position:relative}.contract-template-editor__tool:hover{color:#0689db}.contract-template-editor__signature-tool{min-width:90px}.contract-template-editor__signature-dropdown{width:100%}.contract-template-editor__signature-dropdown .dropdown-field__control{color:#535f66;background:0 0;border:0;justify-content:center;gap:4px;height:22px;padding:0;font-size:14px}.contract-template-editor__signature-dropdown .dropdown-field__control:focus-visible,.contract-template-editor__signature-dropdown .dropdown-field__control[aria-expanded=true]{outline-offset:2px;outline:2px solid #0689db}.contract-template-editor__signature-menu{width:250px}.contract-template-editor__pager{color:#535f66;flex:none;align-items:center;gap:4px;margin-left:auto;padding:0 10px;display:flex}.contract-template-editor__pager span,.contract-template-editor__pager strong{white-space:nowrap;font-size:12px}.contract-template-editor__pager button{color:#535f66;background:0 0;border:0;align-items:center;padding:0;display:inline-flex}.contract-template-editor__pager button:disabled{color:#c5cdd1}.contract-template-editor__toolbar>.button{flex:none;align-self:center;min-width:160px;height:40px}.contract-template-editor__toolbar>.contract-template-editor__delete-draft{border-color:var(--sogni-color-danger-border);color:var(--sogni-color-danger)}.contract-template-editor__toolbar>.contract-template-editor__delete-draft:hover:not(:disabled){background:var(--sogni-color-danger-soft);border-color:var(--sogni-color-danger)}.contract-template-editor__workspace{flex-direction:column;gap:16px;max-width:1123px;height:calc(100vh - 144px);margin:0 auto;padding:16px 16px 24px;display:flex;overflow:hidden}.contract-template-editor__warning{color:#cf3333;background:#fff1f1;border-radius:4px;padding:10px;font-size:14px}.contract-template-editor__metadata{background:#fff;border-radius:8px;flex:none;padding:16px;overflow:auto hidden}.contract-template-editor__metadata-top{justify-content:space-between;align-items:center;min-width:0;display:flex}.contract-template-editor__metadata-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin-top:16px;display:grid}.contract-template-editor__metadata-fields>label{gap:6px;display:grid}.contract-template-editor__metadata-fields>label>span{color:#535f66;font-size:12px}.contract-template-editor__metadata input{color:#02131f;background:#fff;border:1px solid #9aabb5;border-radius:4px;outline:none;width:100%;min-width:0;height:48px;padding:0 12px}.contract-template-editor__metadata input:focus{border-color:#0689db;box-shadow:0 0 0 1px #0689db}.contract-template-editor__name{flex:0 0 334px;align-items:center;gap:8px;width:334px;display:flex}.contract-template-editor__name input{border:0;padding-left:0;font-size:16px;font-weight:600}.contract-template-editor__name input:focus{box-shadow:none}.contract-template-editor__paper{scrollbar-color:#9aabb5 #f2f6f8;scrollbar-width:auto;background:#fff;border-radius:8px;flex:auto;width:100%;max-width:1123px;height:0;min-height:0;margin:0 auto;padding:48px;overflow:auto;box-shadow:0 1px 2px #02131f14}.contract-template-editor__paper::-webkit-scrollbar{width:10px}.contract-template-editor__paper::-webkit-scrollbar-track{background:#f2f6f8}.contract-template-editor__paper::-webkit-scrollbar-thumb{background:#9aabb5}.contract-template-editor__paper-header{text-align:left;align-items:center;gap:20px;margin-bottom:16px;display:flex}.contract-template-editor__paper-header--without-logo{text-align:center;display:block}.contract-template-editor__paper-header img{object-fit:contain;flex:0 0 90px;width:90px;max-width:100%;height:90px}.contract-template-editor__paper-header>div{min-width:0}.contract-template-editor__paper-header h2{color:#02131f;margin:0 0 5px;font-size:28px;font-weight:500;line-height:1.392}.contract-template-editor__paper-header p{color:#535f66;margin:0;font-size:22px;font-weight:300;line-height:1.33}.contract-template-editor__empty{color:#c5cdd1;margin:10px 0;font-size:18px}.contract-template-editor__page-actions{flex:0 0 40px;justify-content:center;gap:8px;display:flex}.contract-template-editor__page-actions button{color:#fff;background:#0689db;border:0;border-radius:999px;justify-content:center;align-items:center;width:40px;height:40px;display:inline-flex}.contract-template-editor__page-actions button.is-delete{background:#cf3333}.contract-template-block{border:1px solid #0000;border-radius:4px;min-width:0;margin-bottom:16px;padding:4px 14px 14px;position:relative}.contract-template-block:hover,.contract-template-block:focus-within{border-color:#dde4e9}.contract-template-block__actions{opacity:0;justify-content:flex-end;align-items:center;gap:4px;min-height:40px;transition:opacity .15s;display:flex}.contract-template-block:hover .contract-template-block__actions,.contract-template-block:focus-within .contract-template-block__actions{opacity:1}.contract-template-block__actions button,.contract-template-block__grip{color:#34434d;background:#eef2f4;border:0;border-radius:999px;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex}.contract-template-block__actions button:disabled{color:#bac4ca}.contract-template-block__actions .contract-template-block__delete{color:#fff;background:#cf3333}.contract-template-block__actions .contract-template-block__keyboard-move{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.contract-template-block__actions .contract-template-block__keyboard-move:focus-visible{clip:auto;clip-path:none;width:32px;height:32px;position:static}.contract-template-block__grip{cursor:grab}.contract-template-block__grip:active{cursor:grabbing}.contract-template-block__alignment,.contract-template-block__size{color:#fff;background:#535f66;align-items:center;height:32px;display:inline-flex}.contract-template-block__alignment button,.contract-template-block__size button{color:#fff;background:0 0;border-radius:0}.contract-template-block__size>span{text-align:center;min-width:40px;font-size:11px}.contract-rich-text{min-width:0}.contract-rich-text__toolbar{opacity:0;pointer-events:none;z-index:2;background:#535f66;align-items:center;width:max-content;max-width:100%;min-height:40px;display:flex;position:absolute;top:4px;left:calc(50% - 42px);overflow-x:auto;transform:translate(-50%)}.contract-template-block:hover .contract-rich-text__toolbar,.contract-template-block:focus-within .contract-rich-text__toolbar{opacity:1;pointer-events:auto}.contract-rich-text__toolbar>button,.contract-rich-text__color,.contract-rich-text__contract-color{color:#fff;background:0 0;border:0;flex:0 0 36px;justify-content:center;align-items:center;height:36px;display:inline-flex}.contract-rich-text__color{cursor:pointer;position:relative}.contract-rich-text--contract .contract-rich-text__font-stepper{color:#fff;border-right:1px solid #6d7b85;flex:0 0 102px;justify-content:space-between;align-items:center;height:40px;padding:0 8px;display:flex}.contract-rich-text--contract .contract-rich-text__font-stepper button{color:#fff;background:0 0;border:0;justify-content:center;align-items:center;height:40px;padding:0;display:inline-flex}.contract-rich-text--contract .contract-rich-text__font-stepper span{font-size:16px}.contract-rich-text__contract-color{cursor:pointer;border-right:1px solid #6d7b85;position:relative}.contract-rich-text__contract-color input{cursor:pointer;opacity:0;width:100%;height:100%;position:absolute;inset:0}.contract-rich-text--contract .contract-rich-text__toolbar>button{flex-basis:40px;height:40px}.contract-rich-text--contract .contract-rich-text__separator-before,.contract-rich-text--contract .contract-rich-text__insert{border-left:1px solid #6d7b85}.contract-rich-text__insert{color:#fff;background:#535f66;border:0;justify-content:center;align-items:center;gap:5px;padding:0 12px;font-size:14px;display:inline-flex;flex:none!important;height:40px!important}.contract-variable-menu{color:#fff;z-index:1200;background:#535f66;width:250px;max-height:calc(100vh - 16px);padding:4px 16px;position:fixed;overflow-y:auto}.contract-variable-menu--submenu{z-index:1201}.contract-variable-menu>button{color:#fff;text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;width:100%;min-height:41px;padding:0;font-size:14px;display:flex}.contract-variable-menu>button:hover,.contract-variable-menu>button:focus-visible,.contract-variable-menu>button[aria-expanded=true]{background:#384b57;outline:0}.contract-rich-text__color input{cursor:pointer;opacity:0;width:100%;height:100%;position:absolute;inset:0}.contract-rich-text__toolbar select{color:#fff;background:#535f66;border:0;max-width:150px;height:36px;padding:0 8px}.contract-rich-text__editor{color:#02131f;white-space:pre-wrap;outline:none;min-height:54px;padding:12px 14px;font-size:16px;line-height:1.15}.contract-rich-text__editor:empty:before,.contract-rich-text__editor[data-empty=true]:before{color:#9aabb5;content:attr(data-placeholder);pointer-events:none}.contract-rich-text__variable,.contract-template-block__date strong,.contract-template-block__plan strong,.contract-template-block__signature strong{color:#0689db;font-weight:600}.contract-template-block__selection{border:1px solid #9aabb5;padding:16px}.contract-template-block__choices{gap:10px;margin-top:18px;display:grid}.contract-template-block__choices label{align-items:center;gap:8px;display:flex}.contract-template-block__choices input{accent-color:#0689db}.contract-template-block__selection-settings{border-top:1px solid #e4e9ec;margin-top:18px;padding-top:16px}.contract-template-block__selection-settings .contract-template-block__choices{margin-top:0}.contract-template-block__selection-config{grid-template-columns:minmax(0,1fr) 300px;gap:16px;margin-top:16px;display:grid}.contract-template-block__selection-config>*{min-width:0}.contract-template-block__selection-config .dropdown-field{--dropdown-field-width:100%;flex-direction:column;align-items:stretch;gap:8px;width:100%;display:flex}.contract-template-block__selection-config .dropdown-field__label{color:#384b57;white-space:normal;font-size:14px;line-height:1.2}.contract-template-block__selection-config .dropdown-field__anchor{width:100%}.contract-template-block__selection-helper{color:#6d7b85;margin:8px 0 0;font-size:12px;line-height:1.4}.contract-template-block__image{width:100%;display:flex}.contract-template-block__image--left{justify-content:flex-start}.contract-template-block__image--center{justify-content:center}.contract-template-block__image--right{justify-content:flex-end}.contract-template-block__image img{max-width:100%;height:auto}.contract-template-block__signatures{gap:80px;display:flex}.contract-template-block__signatures--left{justify-content:flex-start}.contract-template-block__signatures--center{justify-content:center}.contract-template-block__signatures--right{justify-content:flex-end}.contract-template-block__signature{text-align:center;gap:10px;width:40%;max-width:400px;display:grid}.contract-template-block__signature strong{font-size:14px}.contract-template-block__signature span,.contract-template-block__date>span{border-top:1px solid #34434d;width:100%;display:block}.contract-template-block__line{border:0;border-top:1px solid #34434d;margin:8px 0}.contract-template-block__date{justify-items:end;gap:10px;width:min(400px,100%);margin-left:auto;display:grid}.contract-template-block__date p{margin:0}.contract-template-block__plan{border:1px solid #9aabb5}.contract-template-block__plan>div{flex-wrap:wrap;align-items:center;gap:6px;min-height:48px;padding:12px 16px;display:flex}.contract-template-block__plan>div+div{border-top:1px solid #9aabb5}.contract-template-block__plan>div span:nth-of-type(2){margin-left:28px}@media (width<=1180px){.contract-template-editor__metadata-top{min-width:634px}.contract-template-editor__metadata-fields{margin-top:24px}}@media (width<=1099px){.contract-template-setup{margin:-16px}}@media (width<=900px){.contract-template-setup__row{grid-template-columns:1fr;gap:24px}.contract-template-setup__configuration{min-height:375px}}@media (width<=720px){.contract-rich-text__toolbar{max-width:calc(100vw - 16px);left:50%}.contract-template-editor__workspace{padding:16px}.contract-template-setup__validity .dropdown-field{width:100%;max-width:none}.contract-template-editor__paper{padding:24px 32px 24px 24px}.contract-template-editor__toolbar{padding-inline:12px}.contract-template-block__signatures{gap:24px}.contract-template-block__selection-config{grid-template-columns:1fr}.contract-template-block__signature{width:50%}}
