.houses-contract-create-page{--hcc-bg:#071325;--hcc-header:#243446;--hcc-panel:#243446;--hcc-panel-deep:#18293b;--hcc-border:#3a4b5f;--hcc-text:#f7faff;--hcc-muted:#9cabc0;--hcc-accent:#5174ff;--hcc-chip:#32455a;min-height:100%;height:100%;background:var(--hcc-bg);color:var(--hcc-text);font-family:Montserrat,sans-serif;display:grid;grid-template-rows:42px 1fr}body:not(.dark) .houses-contract-create-page{--hcc-bg:#dce1e6;--hcc-header:#dce1e6;--hcc-panel:#eceff2;--hcc-panel-deep:#d7dde4;--hcc-border:#cdd4dc;--hcc-text:#181f2b;--hcc-muted:#6b7073;--hcc-chip:#e2e7ed}.houses-contract-create-head{height:42px;display:flex;align-items:center;gap:10px;padding:0 12px;background:var(--hcc-header);border-bottom:1px solid var(--hcc-border)}.houses-contract-create-head h1{margin:0;font-size:17px;line-height:20px;font-weight:600;color:var(--hcc-text)}.houses-contract-create-back{width:44px;height:44px;border-radius:6px;border:1px solid color-mix(in srgb,var(--hcc-border) 80%,transparent);background:color-mix(in srgb,var(--hcc-panel-deep) 82%,transparent);color:var(--hcc-text);display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.houses-contract-create-back:focus-visible{outline:3px solid color-mix(in srgb,#5174ff 55%,transparent);outline-offset:2px}body:not(.dark) .houses-contract-create-back{border-color:rgba(186,196,208,.72);background:#d6dce3;color:#5174ff}.houses-contract-create-content{padding:12px 16px 20px;display:flex;justify-content:center;align-items:flex-start;min-height:0;background:var(--hcc-bg);box-sizing:border-box}.houses-contract-create-grid{display:grid;width:min(100%,1660px);grid-template-columns:minmax(0,1fr) 398px;gap:30px;min-height:680px}.houses-contract-create-main{display:grid;grid-template-rows:auto 1fr;gap:16px;min-height:0}.houses-contract-create-card{border-radius:14px;border:1px solid var(--hcc-border);background:var(--hcc-panel)}body:not(.dark) .houses-contract-create-card,body:not(.dark) .houses-contract-create-side{border-color:rgba(193,202,212,.52)}.houses-contract-create-card--summary{padding:14px 14px 12px}.houses-contract-create-card--summary h2{margin:0 0 12px;font-size:17px;line-height:20px;font-weight:600;color:var(--hcc-text)}.houses-contract-create-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.houses-contract-create-stat{min-height:54px;padding:8px 10px;border-radius:12px;border:1px solid color-mix(in srgb,var(--hcc-border) 88%,transparent);background:var(--hcc-panel-deep);display:flex;align-items:center;gap:12px}.houses-contract-create-stat img{width:30px;height:30px;flex-shrink:0}.houses-contract-create-stat span{display:block;font-size:16px;line-height:16px;font-weight:400;color:var(--hcc-muted)}.houses-contract-create-stat strong{display:block;margin-top:3px;font-size:20px;line-height:20px;font-weight:700;color:var(--hcc-text)}.houses-contract-create-bottom{display:grid;grid-template-columns:minmax(0,1fr) 49%;gap:12px}.houses-contract-create-card--form,.houses-contract-create-card--info{padding:14px}.houses-contract-create-card--form h3,.houses-contract-create-card--info h3{margin:0 0 12px;font-size:17px;line-height:21px;font-weight:600;color:var(--hcc-text)}.houses-contract-create-card--info{background:var(--hcc-panel-deep)}.houses-contract-create-field{margin-bottom:12px}.houses-contract-create-duration label,.houses-contract-create-field label{display:block;margin-bottom:8px;font-size:12px;line-height:14px;font-weight:500;color:var(--hcc-muted)}.houses-contract-create-field-row{display:grid;grid-template-columns:minmax(0,1fr) 88px;gap:8px}.houses-contract-create-input-wrap{height:34px;border-radius:9px;border:1px solid color-mix(in srgb,var(--hcc-border) 86%,transparent);background:var(--hcc-panel-deep);display:flex;align-items:center;gap:8px;padding:0 10px}body:not(.dark) .houses-contract-create-input-wrap{border-color:rgba(189,199,210,.58);background:#d6dce3}.houses-contract-create-input-wrap input{flex:1;min-width:0;border:none;background:transparent;color:var(--hcc-text);font-size:14px;line-height:16px;font-weight:500;outline:none}.houses-contract-create-input-wrap span{font-size:13px;line-height:14px;font-weight:500;color:var(--hcc-muted)}.houses-contract-create-input-wrap--percent{justify-content:space-between}.houses-contract-create-duration{margin-bottom:12px}.houses-contract-create-duration-grid{display:inline-flex;align-items:center;gap:8px}.houses-contract-create-duration-grid button{width:34px;height:34px;border:1px solid color-mix(in srgb,var(--hcc-border) 82%,transparent);border-radius:999px;background:var(--hcc-panel-deep);color:var(--hcc-muted);font-size:14px;line-height:14px;font-weight:500;cursor:pointer;transition:all .15s ease}body:not(.dark) .houses-contract-create-duration-grid button{border-color:rgba(193,202,212,.58);background:#e2e7ec;color:#4f5b6b}.houses-contract-create-duration-grid button.is-active{background:color-mix(in srgb,var(--hcc-accent) 88%,transparent);border-color:color-mix(in srgb,var(--hcc-accent) 88%,transparent);color:#ffffff}.houses-contract-create-duration-grid .houses-contract-create-duration-summary{width:84px;border-radius:9px}.houses-contract-create-duration-grid span{margin-left:4px;font-size:13px;line-height:13px;font-weight:500;color:var(--hcc-muted)}.houses-contract-create-print-actions{margin-top:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.houses-contract-create-print-actions button{height:34px;border-radius:9px;border:1px solid color-mix(in srgb,var(--hcc-border) 82%,transparent);background:color-mix(in srgb,var(--hcc-chip) 72%,transparent);color:var(--hcc-text);font-size:13px;line-height:13px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer}body:not(.dark) .houses-contract-create-print-actions button{border-color:rgba(84,116,255,.62);background:#f2f6ff;color:#1b2331}.houses-contract-create-card--info dl{margin:0;display:grid;gap:10px}.houses-contract-create-card--info dl div{display:grid;gap:5px}.houses-contract-create-card--info dt{font-size:16px;line-height:16px;font-weight:400;color:var(--hcc-muted)}.houses-contract-create-card--info dd{margin:0;font-size:20px;line-height:20px;font-weight:700;color:var(--hcc-text)}.houses-contract-create-side{border-radius:14px;border:1px solid var(--hcc-border);background:var(--hcc-panel);overflow:hidden;display:grid;grid-template-rows:168px 1fr}.houses-contract-create-side__preview img{width:100%;height:100%;object-fit:cover}.houses-contract-create-side__body{padding:12px 14px 14px;display:grid;align-content:start;gap:8px}.houses-contract-create-side__body h3{margin:0;font-size:17px;line-height:21px;font-weight:600;color:var(--hcc-text)}.houses-contract-create-side__body p{margin:2px 0 0;font-size:20px;line-height:20px;font-weight:700;color:var(--hcc-text)}.houses-contract-create-side__body small{font-size:13px;line-height:13px;font-weight:500;color:var(--hcc-muted)}.houses-contract-create-side__tags{margin-top:4px;display:flex;flex-wrap:wrap;gap:6px}.houses-contract-create-side__status,.houses-contract-create-side__tags span{padding:5px 10px;border-radius:999px;font-size:13px;line-height:13px;font-weight:500}.houses-contract-create-side__tags span{background:color-mix(in srgb,var(--hcc-chip) 82%,transparent);color:var(--hcc-text)}.houses-contract-create-side__status{width:fit-content;background:rgba(157,170,186,.22);color:#d6deeb}body:not(.dark) .houses-contract-create-side__status{background:#dce2e8;color:#485567}.houses-contract-create-side__submit{margin-top:auto;width:100%;height:34px;border:none;border-radius:9px;background:var(--hcc-accent);color:#ffffff;font-size:14px;line-height:14px;font-weight:500;cursor:pointer}.houses-contract-create-back svg{width:13px;height:13px}.houses-contract-create-print-actions button svg{width:14px;height:14px;color:var(--hcc-accent)}body.dark .houses-contract-create-print-actions button svg{color:#b9c8ff}body:not(.dark) .houses-contract-create-stat img{filter:brightness(0) saturate(100%) invert(44%) sepia(84%) saturate(1401%) hue-rotate(208deg) brightness(103%) contrast(102%)}@media (max-width:1240px){.houses-contract-create-grid{grid-template-columns:minmax(0,1fr);min-height:auto;gap:14px}.houses-contract-create-side{max-width:400px}}@media (max-width:980px){.houses-contract-create-head h1{font-size:16px;line-height:18px}.houses-contract-create-content{padding:12px}.houses-contract-create-bottom,.houses-contract-create-stats{grid-template-columns:1fr}.houses-contract-create-card--form h3,.houses-contract-create-card--info dd,.houses-contract-create-card--info h3,.houses-contract-create-card--summary h2,.houses-contract-create-side__body h3{font-size:18px;line-height:22px}.houses-contract-create-side__body p,.houses-contract-create-stat strong{font-size:20px;line-height:24px}.houses-contract-create-input-wrap input{font-size:14px;line-height:14px}.houses-contract-create-print-actions{grid-template-columns:1fr}}.templates-page{--templates-card-bg:linear-gradient(180deg,#fbfdff,#f3f7fc);--templates-card-border:#d6e1ed;--templates-toolbar-border:#dce5ef;--templates-tab-bg:#e9eff7;--templates-tab-text:#5c6e84;--templates-tab-hover:#dde7f4;--templates-tab-active:#5174ff;--templates-tab-active-text:#ffffff;--templates-table-head-bg:#edf3f9;--templates-table-head-text:#71839a;--templates-table-row-bg:#f8fbff;--templates-table-row-text:#1f2d3d;--templates-table-row-hover:#edf3fb;--templates-table-border:#d6e1ed;--templates-empty-text:#7b8ca2;--templates-input-bg:#f6f9fe;--templates-input-border:#cdd9e7;--templates-input-text:#1f2d3d;--templates-input-placeholder:#8394aa}body.dark .templates-page{--templates-card-bg:linear-gradient(180deg,#1c2b3b,#172636);--templates-card-border:#314459;--templates-toolbar-border:#33485e;--templates-tab-bg:#2a3a4d;--templates-tab-text:#9db0c6;--templates-tab-hover:#314559;--templates-tab-active:#5174ff;--templates-tab-active-text:#ffffff;--templates-table-head-bg:#25364a;--templates-table-head-text:#91a3b9;--templates-table-row-bg:#1b2d40;--templates-table-row-text:#e6edf8;--templates-table-row-hover:#24384d;--templates-table-border:#314559;--templates-empty-text:#90a2b8;--templates-input-bg:#152536;--templates-input-border:#345174;--templates-input-text:#e6edf8;--templates-input-placeholder:#6f829b}.templates-page .settings-table-card{border-radius:24px;border:1px solid var(--templates-card-border);background:var(--templates-card-bg);box-shadow:0 12px 28px rgba(15,23,42,.08)}body.dark .templates-page .settings-table-card{box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 14px 30px rgba(4,10,18,.34)}.templates-page .settings-table-toolbar{padding:16px;border-bottom:1px solid var(--templates-toolbar-border)}.templates-page .settings-table-toolbar>*{background:transparent!important}.templates-page .templates-tabs{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.templates-page .templates-tab-btn{min-height:36px;border-radius:10px;border:1px solid transparent;background:var(--templates-tab-bg);color:var(--templates-tab-text);padding:8px 14px;font-family:Montserrat,sans-serif;font-size:14px;font-weight:600;line-height:100%;letter-spacing:0;transition:background-color .14s ease,color .14s ease,box-shadow .14s ease;cursor:pointer}.templates-page .templates-tab-btn:hover{background:var(--templates-tab-hover)}.templates-page .templates-tab-btn.is-active{background:var(--templates-tab-active);color:var(--templates-tab-active-text);box-shadow:0 8px 18px rgba(81,116,255,.35)}.templates-page .templates-content{overflow:hidden!important;display:flex;flex-direction:column;height:100%;min-height:0;--templates-table-scroll-y:calc(100dvh - 434px)}.templates-page .templates-content>*{flex:1 1 auto;min-height:0}.templates-page .templates-content .ant-table-wrapper{width:100%}.templates-page .templates-section-shell{display:flex;flex:1 1 auto;height:100%;min-height:0;flex-direction:column;background:transparent}.templates-page .templates-section-toolbar{padding:2px 0 10px}.templates-page .templates-section-table{flex:1 1 auto;min-height:0}.templates-page .templates-section-table .ant-table,.templates-page .templates-section-table .ant-table-container,.templates-page .templates-section-table>.ant-spin-nested-loading,.templates-page .templates-section-table>.ant-spin-nested-loading>.ant-spin-container,.templates-page .templates-section-table>.ant-table-wrapper{height:100%}.templates-page .templates-section-table .ant-table-ping-left .ant-table-container:before,.templates-page .templates-section-table .ant-table-ping-right .ant-table-container:after{box-shadow:none!important}.templates-page .templates-section-table .ant-table-cell-scrollbar,.templates-page .templates-section-table .ant-table-thead>tr>th.ant-table-cell-scrollbar{width:0!important;min-width:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}.templates-page .templates-section-table .ant-table-tbody>tr>td:last-child,.templates-page .templates-section-table .ant-table-thead>tr>th:last-child{border-right:0!important}.templates-page .templates-section-table .ant-table-body{height:100%;min-height:var(--templates-table-scroll-y);overflow-x:hidden!important}.templates-page .templates-section-table .ant-table-content{overflow-x:hidden!important}.templates-page .templates-section-table .ant-table-placeholder .ant-table-cell{min-height:calc(var(--templates-table-scroll-y) - 52px)}.templates-page .templates-section-table .ant-table-tbody>tr.ant-table-placeholder>td{border-top:0!important;border-bottom:0!important}.templates-page .templates-section-shell>.app-table-pagination-footer{margin-top:auto}.templates-page .settings-table.app-data-table{border-radius:12px;overflow:hidden;height:100%}.templates-page .templates-content .ant-btn{min-height:42px;border-radius:12px;font-family:Montserrat,sans-serif;font-size:15px;font-weight:600;line-height:100%}.templates-page .templates-content .ant-btn-default{border:1px solid var(--templates-table-border);padding:0 14px}.templates-page .templates-search-input.ant-input,.templates-page .templates-search-input.ant-input-affix-wrapper{height:44px!important;min-height:44px;border-radius:12px!important;border:1px solid var(--templates-input-border)!important;background:var(--templates-input-bg)!important;padding:0 14px!important;box-shadow:none!important}.templates-page .templates-search-input.ant-input{color:var(--templates-input-text)!important;font-family:Montserrat,sans-serif!important;font-size:14px!important;font-weight:500!important;line-height:100%!important}.templates-page .templates-search-input.ant-input::placeholder{color:var(--templates-input-placeholder)!important;font-weight:500!important}.templates-page .templates-search-input.ant-input-affix-wrapper:hover,.templates-page .templates-search-input.ant-input:hover{border-color:#5174ff!important;background:var(--templates-input-bg)!important}.templates-page .templates-search-input.ant-input-affix-wrapper-focused,.templates-page .templates-search-input.ant-input-focused,.templates-page .templates-search-input.ant-input:focus{border-color:#5174ff!important;box-shadow:0 0 0 2px rgba(81,116,255,.16)!important}.templates-page .templates-search-input.ant-input-affix-wrapper .ant-input{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:var(--templates-input-text)!important;font-family:Montserrat,sans-serif!important;font-size:14px!important;font-weight:500!important;line-height:100%!important;padding:0!important}.templates-page .templates-search-input.ant-input-affix-wrapper .ant-input::placeholder{color:var(--templates-input-placeholder)!important;font-weight:500!important}.templates-page .templates-search-input.ant-input-affix-wrapper .ant-input-clear-icon{color:var(--templates-input-placeholder)!important}.templates-page .templates-content .ant-btn-icon-only{min-width:42px;width:42px;padding:0!important}.templates-page .templates-refresh-btn{min-width:46px!important;min-height:46px!important;width:46px!important;height:46px!important;border-radius:50%!important}.templates-page .templates-refresh-btn svg{width:26px!important;height:26px!important}.templates-number-template-modal{--templates-card-bg:linear-gradient(180deg,#fbfdff,#f3f7fc);--templates-card-border:#d6e1ed;--templates-toolbar-border:#dce5ef;--templates-table-row-text:#1f2d3d;--templates-table-row-hover:#edf3fb;--templates-input-bg:#f6f9fe;--templates-input-border:#cdd9e7;--templates-input-placeholder:#8394aa}body.dark .templates-number-template-modal{--templates-card-bg:linear-gradient(180deg,#1c2b3b,#172636);--templates-card-border:#314459;--templates-toolbar-border:#33485e;--templates-table-row-text:#e6edf8;--templates-table-row-hover:#24384d;--templates-input-bg:#152536;--templates-input-border:#345174;--templates-input-placeholder:#6f829b}.templates-number-template-modal-wrap{position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:auto!important;padding:24px!important}.templates-number-template-modal-wrap .templates-number-template-modal{top:0!important;display:block!important;margin:0!important;padding-bottom:0!important}.templates-number-template-modal .ant-modal-content{border-radius:18px;border:1px solid var(--templates-card-border);background:var(--templates-card-bg);padding:0;overflow:hidden}.templates-number-template-modal .ant-modal-header{margin:0;padding:22px 28px 18px;border-bottom:1px solid var(--templates-toolbar-border);background:transparent}.templates-number-template-modal .ant-modal-title{color:var(--templates-table-row-text);font-family:Montserrat,sans-serif;font-size:20px;font-weight:700;line-height:1.2}.templates-number-template-modal .ant-modal-close{top:16px;inset-inline-end:18px;color:var(--templates-input-placeholder)}.templates-number-template-modal .ant-modal-body{max-height:calc(100dvh - 170px);overflow-y:auto;padding:22px 28px 26px}.templates-number-template-form{display:block}.templates-number-token-panel{margin:-2px 0 18px;border-radius:14px;border:1px solid var(--templates-input-border);background:rgba(81,116,255,.08);padding:14px}.templates-number-token-panel__head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}.templates-number-token-panel__head h4{margin:0;color:var(--templates-table-row-text);font-family:Montserrat,sans-serif;font-size:15px;font-weight:700;line-height:1.2}.templates-number-token-panel__head span{color:var(--templates-input-placeholder);font-family:Montserrat,sans-serif;font-size:12px;font-weight:600;line-height:1.35;text-align:right}.templates-number-token-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.templates-number-token-btn{min-height:58px;border:1px solid var(--templates-input-border);border-radius:12px;background:var(--templates-input-bg);color:var(--templates-table-row-text);display:flex;align-items:flex-start;gap:10px;padding:10px 12px;text-align:left;cursor:pointer;transition:border-color .14s ease,background-color .14s ease,transform .14s ease}.templates-number-token-btn:hover{border-color:#5174ff;background:var(--templates-table-row-hover);transform:translateY(-1px)}.templates-number-token-btn__code{flex:0 0 auto;border-radius:999px;background:rgba(81,116,255,.18);color:#3158ea;padding:5px 9px;font-family:Montserrat,sans-serif;font-size:12px;font-weight:800;line-height:1;white-space:nowrap}.templates-number-token-btn__text{min-width:0;display:flex;flex-direction:column;gap:3px}.templates-number-token-btn__text strong{color:var(--templates-table-row-text);font-family:Montserrat,sans-serif;font-size:13px;font-weight:700;line-height:1.2}.templates-number-token-btn__text small{color:var(--templates-input-placeholder);font-family:Montserrat,sans-serif;font-size:11px;font-weight:600;line-height:1.35}body.dark .templates-number-template-modal .ant-modal-content{box-shadow:0 24px 60px rgba(0,0,0,.45)}body.dark .templates-number-token-btn__code{color:#dce5ff;background:rgba(81,116,255,.32)}.templates-page .templates-content .app-table-pagination-footer{background:transparent!important;border-top-color:var(--templates-toolbar-border)!important;padding-right:12px}@media (max-width:1280px){.templates-page .settings-table-toolbar{padding:12px}.templates-page .templates-content{padding:12px!important;--templates-table-scroll-y:calc(100dvh - 382px)}.templates-number-template-modal{width:calc(100vw - 32px)!important}.templates-number-token-grid{grid-template-columns:1fr}.templates-number-token-panel__head{flex-direction:column}.templates-number-token-panel__head span{text-align:left}}