.contracts-list-filter-anchor{position:relative;display:inline-flex}.contracts-list-filter-btn.is-active{background:#e8efff!important;color:#2f4ed4!important;box-shadow:inset 0 0 0 1px rgba(81,116,255,.2)!important}.dark .contracts-list-filter-btn.is-active{background:color-mix(in srgb,#5174ff 22%,var(--color-dark-3) 78%)!important;color:#dce7ff!important}.contracts-list-filter-badge{position:absolute;top:-6px;right:-6px;min-width:18px;height:18px;border-radius:999px;padding:0 4px;border:2px solid var(--color-white);background:#5174ff;color:#ffffff;font-family:Montserrat,sans-serif;font-size:10px;line-height:100%;font-weight:700;display:inline-flex;align-items:center;justify-content:center}.dark .contracts-list-filter-badge{border-color:var(--color-dark-22)}.contracts-filter-drawer{--contracts-filter-bg:#f5f8fc;--contracts-filter-text:#243142;--contracts-filter-muted:#7c8ea3;--contracts-filter-control-bg:#ffffff;--contracts-filter-control-border:#ccd8e5;--contracts-filter-control-hover:#f8fbff;--contracts-filter-control-focus:#ffffff;--contracts-filter-close-bg:rgba(123,142,164,0.18);--contracts-filter-close-border:rgba(123,142,164,0.3);--contracts-filter-button-shadow:0 14px 30px rgba(81,116,255,0.2)}.dark .contracts-filter-drawer{--contracts-filter-bg:#243346;--contracts-filter-text:#f1f5ff;--contracts-filter-muted:#8da0b8;--contracts-filter-control-bg:#102236;--contracts-filter-control-border:#314b66;--contracts-filter-control-hover:#14283d;--contracts-filter-control-focus:#182e45;--contracts-filter-close-bg:rgba(149,167,189,0.16);--contracts-filter-close-border:rgba(149,167,189,0.24);--contracts-filter-button-shadow:0 16px 34px rgba(81,116,255,0.42)}.contracts-filter-drawer .ant-drawer-mask{background:rgba(9,14,24,.45)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.contracts-filter-drawer .ant-drawer-content-wrapper{box-shadow:-10px 0 28px rgba(0,0,0,.34)}.contracts-filter-drawer .ant-drawer-content{background:var(--contracts-filter-bg)}.contracts-filter-drawer .ant-drawer-body{padding:0!important}.contracts-filter-body{min-height:100%;height:100dvh;box-sizing:border-box;padding:14px 24px 20px;display:flex;flex-direction:column;gap:16px;color:var(--contracts-filter-text);overflow-y:auto}.contracts-filter-header{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:12px}.contracts-filter-header h3{margin:0;font-family:Montserrat,sans-serif;font-size:33px;line-height:34px;font-weight:500;color:var(--contracts-filter-text)}.contracts-filter-header button{width:30px;height:30px;border-radius:50%;border:1px solid var(--contracts-filter-close-border);background:var(--contracts-filter-close-bg);color:var(--contracts-filter-muted);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:background-color .14s ease,border-color .14s ease,color .14s ease}.contracts-filter-header button:hover{border-color:#5174ff;color:#d9e4ff;background:rgba(81,116,255,.18)}.contracts-filter-field{min-width:0;display:flex;flex-direction:column;gap:11px}.contracts-filter-two-col{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:start}.contracts-filter-field label{min-height:16px;display:inline-flex;align-items:center;font-family:Montserrat,sans-serif;font-size:12px;line-height:16px;font-weight:500;color:color-mix(in srgb,var(--contracts-filter-text) 94%,transparent)}.contracts-filter-advanced,.contracts-filter-primary{display:flex;flex-direction:column;gap:20px}.contracts-filter-advanced{padding-top:2px}.contracts-filter-input.ant-input,.contracts-filter-input.ant-input-affix-wrapper{height:48px!important;min-height:48px!important;border-radius:10px!important;border:1px solid var(--contracts-filter-control-border)!important;background:var(--contracts-filter-control-bg)!important;color:var(--contracts-filter-text)!important;font-family:Montserrat,sans-serif!important;font-size:14px!important;line-height:18px!important;font-weight:500!important;box-shadow:none!important;transition:border-color .16s ease,background-color .16s ease}.contracts-filter-input.ant-input{padding:0 14px!important}.contracts-filter-input.ant-input-affix-wrapper{padding:0 14px!important;display:inline-flex!important;align-items:center!important}.contracts-filter-input.ant-input-affix-wrapper .ant-input{height:100%!important;padding:0!important;border:none!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.contracts-filter-input.ant-input-affix-wrapper .ant-input::placeholder,.contracts-filter-input.ant-input::placeholder{color:var(--contracts-filter-muted)!important}.contracts-filter-input.ant-input-affix-wrapper:hover,.contracts-filter-input.ant-input:hover{background:var(--contracts-filter-control-hover)!important;border-color:color-mix(in srgb,var(--contracts-filter-control-border) 58%,#ffffff)!important}.contracts-filter-input.ant-input-affix-wrapper.ant-input-affix-wrapper-focused,.contracts-filter-input.ant-input-affix-wrapper:focus-within,.contracts-filter-input.ant-input:focus,.contracts-filter-input.ant-input:focus-within{background:var(--contracts-filter-control-focus)!important;border-color:#5174ff!important;box-shadow:0 0 0 2px rgba(81,116,255,.22)!important}.contracts-filter-body .app-glass-select.ant-select{height:48px}.contracts-filter-body .app-glass-select.ant-select .ant-select-selector{display:flex!important;align-items:center!important;padding:0 40px 0 14px!important}.contracts-filter-body .app-glass-select.ant-select .ant-select-selector,.contracts-filter-body .contracts-filter-date .ant-picker.ant-picker,.contracts-filter-body .contracts-filter-date.ant-picker.ant-picker{height:48px!important;min-height:48px!important;border-radius:10px!important;background:var(--contracts-filter-control-bg)!important;border:1px solid var(--contracts-filter-control-border)!important;box-shadow:none!important;transition:background-color .16s ease,border-color .16s ease!important;overflow:hidden}.contracts-filter-body .contracts-filter-date .ant-picker.ant-picker,.contracts-filter-body .contracts-filter-date.ant-picker.ant-picker{padding:0 12px!important}.contracts-filter-body .app-glass-select.ant-select:hover .ant-select-selector,.contracts-filter-body .contracts-filter-date .ant-picker.ant-picker:hover,.contracts-filter-body .contracts-filter-date.ant-picker.ant-picker:hover{background:var(--contracts-filter-control-hover)!important;border-color:color-mix(in srgb,var(--contracts-filter-control-border) 58%,#ffffff)!important}.contracts-filter-body .app-glass-select.ant-select.ant-select-focused .ant-select-selector,.contracts-filter-body .contracts-filter-date .ant-picker.ant-picker-focused,.contracts-filter-body .contracts-filter-date.ant-picker.ant-picker-focused{background:var(--contracts-filter-control-focus)!important;border-color:#5174ff!important;box-shadow:0 0 0 2px rgba(81,116,255,.22)!important}.contracts-filter-body .app-glass-select.ant-select,.contracts-filter-body .contracts-filter-date{width:100%}.contracts-filter-body .app-glass-select.ant-select .ant-select-arrow{right:14px!important;left:auto!important;transform:translateY(-50%);width:16px;height:16px;margin-top:0}.contracts-filter-select-chevron{width:16px;height:16px;display:block;transition:transform .16s ease}.contracts-filter-body .app-glass-select.ant-select.ant-select-open .contracts-filter-select-chevron{transform:rotate(180deg)}.contracts-filter-body .contracts-filter-status-select.ant-select-multiple .ant-select-selector{padding:4px 40px 4px 14px!important}.contracts-filter-body .contracts-filter-status-select.ant-select-multiple .ant-select-selection-overflow{flex-wrap:nowrap;min-width:0;align-items:center}.contracts-filter-body .contracts-filter-status-select.ant-select-multiple .ant-select-selection-overflow-item{min-width:0}.contracts-filter-body .contracts-filter-status-select.ant-select-multiple .ant-select-selection-overflow-item-rest{margin-inline-start:0;padding:0}.contracts-filter-status-summary{min-width:0;height:30px;gap:7px;color:var(--contracts-filter-text);font-family:Montserrat,sans-serif;font-size:13px;font-weight:600;line-height:1;white-space:nowrap}.contracts-filter-status-summary,.contracts-filter-status-summary__dots{display:inline-flex;align-items:center}.contracts-filter-status-summary__dots i{width:8px;height:8px;margin-left:-2px;border:2px solid var(--contracts-filter-control-bg);border-radius:50%;background:#5174ff}.contracts-filter-status-summary__dots i:first-child{margin-left:0;background:#27b36a}.contracts-filter-status-summary__dots i:nth-child(2){background:#ffab38}.contracts-filter-status-summary__dots i:nth-child(3){background:#e66a7a}.contracts-filter-status-summary__count{min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#5174ff;color:#ffffff;font-size:12px;font-weight:700;line-height:22px;text-align:center}.contracts-filter-body .contracts-filter-date .ant-picker .ant-picker-input>input{padding:13px 12px 13px 0!important}.contracts-filter-body .contracts-filter-date .ant-picker .ant-picker-prefix{margin-right:0!important;padding:4px!important;margin-right:3px!important;margin-left:0!important}.contracts-filter-body .contracts-filter-date .ant-picker .app-date-field__icon{width:18px!important;height:18px!important}.contracts-filter-body .app-glass-select.ant-select .ant-select-selection-item,.contracts-filter-body .app-glass-select.ant-select .ant-select-selection-placeholder,.contracts-filter-body .app-glass-select.ant-select .ant-select-selection-search-input,.contracts-filter-body .contracts-filter-date .ant-picker .ant-picker-input>input{font-family:Montserrat,sans-serif!important;font-size:14px!important;line-height:18px!important;font-weight:500!important;color:var(--contracts-filter-text)!important}.contracts-filter-body .app-glass-select.ant-select .ant-select-selection-search-input{caret-color:var(--contracts-filter-text)!important}.contracts-filter-body .app-glass-select.ant-select .ant-select-selection-placeholder,.contracts-filter-body .app-glass-select.ant-select .ant-select-selection-search-input::placeholder,.contracts-filter-body .contracts-filter-date .ant-picker .ant-picker-input>input::placeholder{color:var(--contracts-filter-muted)!important}.contracts-filter-body .app-glass-select.ant-select .ant-select-arrow,.contracts-filter-body .contracts-filter-date .ant-picker .ant-picker-prefix{color:color-mix(in srgb,var(--contracts-filter-muted) 94%,transparent)!important}.contracts-filter-body .app-glass-select.ant-select .ant-select-selection-search{inset-inline-start:14px!important}.contracts-filter-date-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);gap:14px;align-items:start}.contracts-filter-date-row .contracts-filter-field{gap:11px}.contracts-filter-date-link{position:relative;width:28px;height:48px;align-self:flex-end;pointer-events:none}.contracts-filter-date-link:before{content:"";position:absolute;left:2px;right:2px;top:50%;height:2px;border-radius:999px;background:color-mix(in srgb,var(--contracts-filter-muted) 60%,transparent);transform:translateY(-50%)}.contracts-filter-date-link:after{content:"";position:absolute;left:3px;top:50%;width:6px;height:6px;border-radius:50%;background:#5174ff;box-shadow:16px 0 0 #ff5f7a;transform:translateY(-50%)}.contracts-filter-more-toggle{width:100%;min-height:44px;padding:10px 14px;border-radius:10px;border:1px solid color-mix(in srgb,var(--contracts-filter-control-border) 88%,#5174ff 12%);background:color-mix(in srgb,var(--contracts-filter-control-bg) 84%,#5174ff 16%);color:var(--contracts-filter-text);font-family:Montserrat,sans-serif;font-size:13px;font-weight:600;justify-content:center;gap:8px;cursor:pointer;transition:border-color .14s ease,background-color .14s ease,color .14s ease}.contracts-filter-more-toggle,.contracts-filter-more-toggle span{line-height:1;display:inline-flex;align-items:center}.contracts-filter-more-toggle:hover{border-color:#5174ff;background:color-mix(in srgb,#5174ff 24%,var(--contracts-filter-control-bg) 76%)}.contracts-filter-more-chevron{width:16px;height:16px;flex-shrink:0;transition:transform .16s ease}.contracts-filter-more-toggle.is-open .contracts-filter-more-chevron{transform:rotate(180deg)}.contracts-filter-actions{margin-top:auto;padding-top:20px;display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:12px}.contracts-filter-btn-ghost,.contracts-filter-btn-primary{border:1px solid transparent;font-family:Montserrat,sans-serif;cursor:pointer}.contracts-filter-btn-primary{height:48px;border-radius:10px;background:#5174ff;color:#ffffff;font-size:14px;line-height:16px;font-weight:600;box-shadow:var(--contracts-filter-button-shadow);transition:filter .14s ease,transform .14s ease}.contracts-filter-btn-primary:hover{filter:brightness(1.05)}.contracts-filter-btn-primary:active{transform:translateY(1px)}.contracts-filter-btn-ghost{width:44px;min-width:44px;height:44px;border-radius:10px;background:color-mix(in srgb,var(--contracts-filter-control-bg) 84%,transparent);border-color:var(--contracts-filter-control-border);color:var(--contracts-filter-muted);display:inline-flex;align-items:center;justify-content:center;transition:border-color .14s ease,color .14s ease,background-color .14s ease}.contracts-filter-btn-ghost:hover{border-color:#5174ff;color:#cfdcff;background:color-mix(in srgb,#5174ff 20%,var(--contracts-filter-control-bg) 80%)}.contracts-filter-btn-ghost svg{width:18px;height:18px;display:block}@media (max-width:640px){.contracts-filter-body{min-height:100dvh;height:auto}.contracts-filter-date-row,.contracts-filter-two-col{grid-template-columns:1fr;gap:12px;align-items:stretch}.contracts-filter-date-link{display:none}}.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-template-form .ant-select-single:not(.ant-select-customize-input){height:48px}.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}}