html,body,#root{height:100%}body{margin:0;font-family:Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;background:#f4f7f9;color:#1f2a37}.big-number{font-size:34px;font-weight:700;color:#1f2a37}.page-center{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:radial-gradient(circle at top left,rgba(11,107,122,.1),transparent 30%),#f4f7f9}.login-card{width:420px;max-width:100%;border-radius:12px}.app-layout{height:100vh;overflow:hidden}.app-sider.ant-layout-sider{background:#123746;height:100vh;position:sticky;top:0;left:0;overflow-y:auto}.console-sider.ant-layout-sider{background:#123746;overflow:hidden}.console-sider .ant-layout-sider-children{display:flex;flex-direction:column;height:100%}.console-sider .app-sider-brand{flex:0 0 auto;height:108px;box-sizing:border-box;overflow:hidden}.console-sider.ant-layout-sider-collapsed .app-sider-brand{padding:28px 0;text-align:center}.console-sider .app-sider-subtitle{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-sider-brand{color:#fff;padding:24px}.app-sider-title{font-size:24px;font-weight:700}.app-sider-subtitle{margin-top:6px;opacity:.72}.app-main-layout{min-width:0;height:100vh;overflow:hidden}.app-header{height:48px;line-height:normal;flex:0 0 48px;gap:16px;background:#fff;display:flex;justify-content:space-between;align-items:center;padding:0 16px;border-bottom:1px solid #edf1f7}.app-header-heading{display:flex;align-items:center;gap:12px;min-width:0}.app-header-heading>.ant-btn,.app-header>.ant-btn{flex-shrink:0}.app-header-title.ant-typography{margin:0;font-size:18px;line-height:26px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-content{padding:16px;background:#f4f7f9;flex:1 1 auto;min-height:0;overflow:auto}.app-page-shell{width:100%;min-width:0;height:100%}.sensor-gateway-page{display:flex;flex-direction:column;gap:16px;min-width:0}.sensor-gateway-page>.ant-card>.ant-card-body{padding:16px}.sensor-gateway-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.sensor-gateway-filters{display:flex;flex-wrap:wrap;gap:8px;flex:1 1 300px;min-width:0}.sensor-gateway-company-select{flex:1 1 180px;width:300px;max-width:min(300px,100%)}@media (max-width: 600px){.app-header{padding:0 12px;gap:8px}.app-header-heading{gap:8px}.app-header-title.ant-typography{font-size:16px}.app-content{padding:12px}}.page-stack{display:flex;flex-direction:column;gap:16px;height:100%;min-height:0}.page-card{border-radius:10px;box-shadow:0 8px 24px #0f1f350a}.page-card-fill{display:flex;flex-direction:column;height:100%;min-height:calc(100vh - 160px);overflow:hidden}.page-card-fill .ant-card-head{flex:0 0 auto}.page-card-fill .ant-card-body{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}.page-card .ant-card-head{min-height:60px;padding:0 20px}.page-card .ant-card-body{padding:20px}.page-toolbar{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;flex:0 0 auto;min-width:0;margin-bottom:16px}.page-toolbar>.ant-space{justify-content:flex-end;max-width:100%}.page-card-filtered>.ant-card-body>.page-toolbar{margin:0 -20px;padding:0 20px 12px;border-bottom:1px solid #edf1f7}.page-card-filtered .page-list-filters.ant-form-inline{flex:0 0 auto;align-items:center;gap:12px 24px;padding:16px 0;margin:0}.page-card-filtered .page-list-filters>.ant-form-item{margin:0}.page-card-filtered .page-list-filters .ant-form-item-label{flex:0 0 auto;width:72px;padding:0;text-align:right;white-space:nowrap}.page-card-filtered .page-list-filters .ant-form-item-row{align-items:center;flex-wrap:nowrap}.page-table-shell{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}.page-table-scroll{flex:1 1 auto;min-height:0}.page-table-scroll .ant-table-wrapper,.page-table-scroll .ant-spin-nested-loading,.page-table-scroll .ant-spin-container{height:100%}.page-table-scroll .ant-table-wrapper{min-height:100%}.page-table-scroll .ant-table-wrapper .ant-table,.page-table-scroll .ant-table-wrapper .ant-table-container{height:100%}.page-table-scroll .ant-table-wrapper .ant-table-container{display:flex;flex-direction:column}.page-table-scroll .ant-table-wrapper .ant-table-header{flex:0 0 auto}.page-table-scroll .ant-table-wrapper .ant-table-body{flex:1 1 auto;min-height:0}.page-pagination{flex:0 0 auto;display:flex;justify-content:center;align-items:center;padding-top:16px}.page-pagination .ant-pagination-item,.page-pagination .ant-pagination-prev .ant-pagination-item-link,.page-pagination .ant-pagination-next .ant-pagination-item-link{min-width:28px;height:28px;line-height:26px;border-radius:4px}.page-pagination .ant-pagination-item a{line-height:26px}.page-pagination .ant-pagination-options{margin-inline-start:12px}.ant-form-inline{row-gap:16px}.action-btn-warn{color:#fff!important;background:#fa8c16!important;border-color:#fa8c16!important}.action-btn-warn:hover,.action-btn-warn:focus{color:#fff!important;background:#ffa940!important;border-color:#ffa940!important}.table-action-row{flex-wrap:nowrap!important;white-space:nowrap}.row-action-button.ant-btn{--row-action-color: #0b6b7a;--row-action-hover: #e8f5f5;height:32px;min-width:44px;padding-inline:8px;border-radius:6px;box-shadow:none}.row-action-button-warning.ant-btn{--row-action-color: #ad6800;--row-action-hover: #fff7e6}.row-action-button-danger.ant-btn{--row-action-color: #cf1322;--row-action-hover: #fff1f0}.row-action-button.ant-btn:not(:disabled):not(.ant-btn-disabled){color:var(--row-action-color);background:transparent}.row-action-button.ant-btn:not(:disabled):not(.ant-btn-disabled):hover,.row-action-button.ant-btn:not(:disabled):not(.ant-btn-disabled):active{color:var(--row-action-color);background:var(--row-action-hover)}.row-action-button.ant-btn:focus-visible{outline:2px solid var(--row-action-color);outline-offset:2px}.row-action-button.ant-btn:disabled{color:#bfbfbf;background:transparent}.row-action-button.ant-btn-icon-only{width:32px;min-width:32px;padding-inline:0}.console-sider-menu.ant-menu{border-inline-end:none!important;background:#123746!important;flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;padding-bottom:16px}.console-sider-menu .ant-menu-sub.ant-menu-inline{background:#0000001f!important}.console-sider-menu .ant-menu-submenu-title{font-weight:600}.console-sider-menu .ant-menu-item{width:100%!important;margin:0!important;border-radius:0!important}.console-sider-menu .ant-menu-item:hover{background:#ffffff1f!important}.console-sider-menu .ant-menu-item-selected{background:#1677ff38!important;border-radius:0!important}.template-editor-modal .template-editor-form>.ant-row>.ant-col>.ant-form-item{margin-bottom:12px}.template-editor-modal .template-editor-form .ant-form-item-label{padding-bottom:4px}.template-editor-summary{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;padding:6px 10px;margin-bottom:12px;border-radius:6px;background:#f5f7f8;font-size:12px}.template-editor-summary .ant-tag{margin-inline-end:0}.template-editor-modal-fill .ant-modal-content{display:flex;flex-direction:column;height:calc(100vh - 48px);height:calc(100dvh - 48px);overflow:hidden}.template-editor-modal-fill .ant-modal-header,.template-editor-modal-fill .ant-modal-footer,.template-editor-modal-fill .template-editor-form,.template-editor-modal-fill .ant-divider{flex-shrink:0}.template-editor-modal-fill .ant-modal-body{display:flex;flex:1;flex-direction:column;min-height:0;overflow-x:hidden;overflow-y:auto}.template-editor-variable-card{display:flex;flex:1;flex-direction:column;min-width:0;min-height:240px}.template-editor-variable-card>.ant-card-head{flex-shrink:0}.template-editor-variable-card>.ant-card-body{display:flex;flex:1;min-height:0;overflow:hidden}.template-editor-variable-table{flex:1;min-width:0;min-height:0}.template-editor-variable-table .ant-table-body{height:var(--template-table-height)}
