.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}}