html,body,#root{min-height:100%;margin:0}html,body,#root{height:100%;overflow:hidden}body{background:#f3f7f5}.app-shell{height:100vh;overflow:hidden}.page-stage{min-width:0;height:100vh;overflow:hidden}.app-sider{display:flex;flex-direction:column;height:100vh;overflow:hidden;background:#0b2f26!important;padding:16px 4px}.app-sider.ant-layout-sider-collapsed{padding-inline:0}.app-sider .ant-layout-sider-children{display:flex;flex-direction:column}.app-sider .ant-menu{background:transparent;color:#d7eee5;border-inline-end:0;margin-left:0;margin-right:-4px;padding-right:4px;width:calc(100% + 4px);flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:transparent transparent}.app-sider .ant-menu::-webkit-scrollbar{width:6px}.app-sider .ant-menu::-webkit-scrollbar-track{background:transparent}.app-sider .ant-menu::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:999px;background:transparent;background-clip:content-box}.app-sider .ant-menu.sider-menu-scrolling{scrollbar-color:rgba(53,208,139,.88) transparent}.app-sider .ant-menu.sider-menu-scrolling::-webkit-scrollbar-thumb{background:#35d08be0;background-clip:content-box}.app-sider .ant-menu-item,.app-sider .ant-menu-submenu-title{height:44px;line-height:44px;color:#d7eee5;border-radius:6px}.app-sider .ant-menu-inline-collapsed>.ant-menu-item,.app-sider .ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title{width:56px;margin-inline:4px}.app-sider .ant-menu-item,.app-sider .ant-menu-submenu-title{padding-left:10px!important;padding-right:6px!important}.app-sider .ant-menu-sub .ant-menu-item{padding-left:22px!important;padding-right:4px!important}.app-sider .ant-menu-title-content{margin-left:6px}.app-sider.ant-layout-sider-collapsed .ant-menu-item,.app-sider.ant-layout-sider-collapsed .ant-menu-submenu-title{display:block;padding-inline:0!important;text-align:center}.app-sider.ant-layout-sider-collapsed .ant-menu-item .ant-menu-item-icon,.app-sider.ant-layout-sider-collapsed .ant-menu-submenu-title .ant-menu-item-icon,.app-sider.ant-layout-sider-collapsed .ant-menu-item .anticon,.app-sider.ant-layout-sider-collapsed .ant-menu-submenu-title .anticon{display:inline-flex;justify-content:center;width:100%;margin-inline:0!important;font-size:16px}.app-sider .ant-menu-submenu,.app-sider .ant-menu-submenu-arrow,.app-sider .ant-menu-submenu-expand-icon{color:#d7eee5}.app-sider .ant-menu-item-selected,.app-sider .ant-menu-item:hover,.app-sider .ant-menu-submenu-selected>.ant-menu-submenu-title,.app-sider .ant-menu-submenu-title:hover{background:#145443!important;color:#fff!important}.app-sider .ant-menu-submenu-selected>.ant-menu-submenu-title .ant-menu-submenu-arrow,.app-sider .ant-menu-submenu-title:hover .ant-menu-submenu-arrow{color:#fff}.brand{display:flex;align-items:center;gap:8px;margin:4px 0 18px;padding-inline:2px;color:#fff}.ant-layout-sider-collapsed .brand{justify-content:center;margin-inline:0}.ant-layout-sider-collapsed .brand>div:not(.brand-mark):not(.sider-toggle){display:none}.brand-mark{display:grid;place-items:center;flex:0 0 auto;width:34px;height:34px;border-radius:6px;background:#35d08b;color:#06251c;font-size:13px;font-weight:800}.brand strong,.brand span{display:block}.brand strong{max-width:96px;overflow:hidden;font-size:13px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.brand span{margin-top:2px;max-width:96px;overflow:hidden;color:#a7cbbd;font-size:12px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.sider-toggle{flex:0 0 auto;width:32px;min-width:32px;height:50px;padding:0;border-radius:6px;background:#ffffff14;color:#d7eee5!important}.sider-toggle:hover{background:#145443!important;color:#fff!important}.sider-footer{display:flex;align-items:center;gap:4px;margin-inline:-4px;width:calc(100% + 8px);margin-top:auto}.sider-user{display:flex;align-items:center;gap:8px;flex:1 1 auto;min-width:0;min-height:50px;padding:8px;border:0;border-radius:6px;background:#ffffff14;color:#fff;text-align:left;cursor:pointer}.sider-user-avatar{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:#35d08b;color:#06251c;font-size:16px}.sider-user:hover{background:#145443}.sider-user-text,.sider-user strong,.sider-user em{display:block;min-width:0}.sider-user-text{overflow:hidden}.sider-user strong,.sider-user em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sider-user strong{font-size:13px;line-height:1.2}.sider-user em{color:#a7cbbd;font-size:12px;font-style:normal;line-height:1.2}.ant-layout-sider-collapsed .sider-footer{gap:0;margin-inline:0;width:100%;padding-inline:0}.ant-layout-sider-collapsed .sider-user{flex:0 0 32px;justify-content:center;padding-inline:0;width:32px;min-width:32px;border-radius:6px 0 0 6px}.ant-layout-sider-collapsed .sider-toggle{flex:0 0 32px;width:32px;min-width:32px;border-radius:0 6px 6px 0}.ant-layout-sider-collapsed .sider-user-text{display:none}.app-header{display:flex;align-items:stretch;gap:12px;height:50px;padding:0 24px;background:#fff;border-bottom:1px solid #dce8e2}.view-tabs{display:flex;align-items:flex-end;justify-content:flex-start;gap:4px;min-width:0;flex:1;padding-top:0;transform:none}.view-tabs .ant-tabs{min-width:0}.view-tabs .ant-tabs-nav{margin:0}.view-tabs .ant-tabs-nav-list{gap:0}.view-tabs .ant-tabs-tab{margin:0!important;padding-inline:15px;overflow:visible}.view-tabs .ant-tabs-tab-btn{font-size:13px}.view-tabs .ant-tabs-tab{align-items:center;position:relative;overflow:visible}.view-tabs>.ant-btn{display:inline-flex;align-items:center;justify-content:center;margin-bottom:1px}.view-tab-label{display:inline-flex;align-items:center;position:relative;padding-inline:15px;line-height:1;overflow:visible}.view-tab-delete{position:absolute;top:-6px;right:3px;width:7px;height:7px;min-width:7px;min-height:7px;padding:0;color:#3f514a;line-height:7px;opacity:1}.view-tab-delete.ant-btn{width:7px;height:7px;min-width:7px;min-height:7px;padding:0}.view-tab-delete .anticon,.view-tab-delete.ant-btn .anticon{display:inline-flex;width:7px;height:7px;font-size:7px;line-height:7px}.view-tab-delete .anticon svg{width:7px;height:7px}.header-actions{display:flex;align-items:center;flex:0 0 auto}.modal-footer-split{display:flex;align-items:center;justify-content:space-between;width:100%}.global-search-popover-anchor{position:relative;display:inline-flex}.global-search-trigger.ant-btn{width:112px;height:32px;justify-content:flex-start;padding-inline:14px;color:#31554a;background:#f4faf7;border:1px solid #d7e8e1;border-radius:999px;box-shadow:none}.global-search-trigger.ant-btn:hover,.global-search-trigger.ant-btn:focus{color:#0f7a56;background:#eef8f3;border-color:#b9dccd;box-shadow:none}.global-search-panel{position:absolute;top:calc(100% + 8px);right:0;z-index:20;width:520px;max-height:min(520px,calc(100vh - 96px));padding:14px;overflow-y:auto;background:#fff;border:1px solid #dce8e2;border-radius:12px;box-shadow:0 12px 30px #0f2f2624}.sync-status-tag{display:inline-flex;align-items:center;height:24px;margin-inline-end:4px;font-size:12px}.page-fullscreen-btn{box-shadow:none}.app-content{flex:1;min-height:0;padding:16px 22px;overflow-y:auto;overflow-x:hidden;background:#f3f7f5}.page-stage:fullscreen{display:flex;flex-direction:column;overflow:auto;min-height:100vh;background:#f3f7f5}.page-stage:fullscreen .app-content{flex:1}.dashboard-panel{margin-bottom:12px}.dashboard-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px;padding:18px 20px;border:1px solid #dce8e2;border-radius:10px;background:linear-gradient(135deg,#fff,#e7f8ef)}.dashboard-hero h2{margin:4px 0;color:#12362d;font-size:22px;line-height:1.25}.dashboard-metric-card{cursor:pointer;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}.dashboard-metric-card:hover{border-color:#0f8f5f;box-shadow:0 6px 18px #0f8f5f1f;transform:translateY(-1px)}.dashboard-work-row{margin-top:12px}.dashboard-list-card .ant-card-body{min-height:206px}.dashboard-list,.global-search-drawer,.global-search-results{width:100%}.dashboard-empty-state{display:grid;place-items:center;min-height:120px;border:1px dashed rgba(157,184,180,.38);border-radius:6px;color:#9db8b4;font-size:13px}.dashboard-list-item,.global-search-result{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:10px 12px;border:1px solid #e1ece7;border-radius:8px;background:#fff;text-align:left;cursor:pointer}.dashboard-list-item:hover,.global-search-result:hover{border-color:#0f8f5f;background:#f3fbf7}.dashboard-list-item span,.global-search-result span{display:flex;flex-direction:column;gap:2px;min-width:0}.dashboard-action{height:42px;text-align:left}.decision-dashboard{min-width:0;min-height:calc(100vh - 84px);padding:16px;border-radius:10px;border:1px solid #dce8e2;background:#f8fbf9;color:#20352d}.dashboard-chart-card{border:1px solid #dce8e2;background:#fff;box-shadow:0 8px 18px #12362d0f}.dashboard-canvas{min-width:0;width:100%}.dashboard-grid-wrap{min-width:0;width:100%;overflow:hidden}.dashboard-grid{min-height:520px;width:100%}.dashboard-chart-card{position:relative;height:100%;overflow:hidden;border-radius:8px}.dashboard-chart-card .ant-card-head{min-height:42px;border-bottom-color:#e5eee9}.dashboard-chart-card .ant-card-head-title,.dashboard-chart-card .ant-card-extra .ant-btn{color:#20352d}.dashboard-chart-card .ant-card-body{height:calc(100% - 43px);padding:12px}.dashboard-card-handle{display:block;overflow:hidden;cursor:move;text-overflow:ellipsis;white-space:nowrap}.dashboard-stat{display:flex;flex-direction:column;justify-content:center;height:100%;gap:8px}.dashboard-stat strong{color:#12362d;font-size:30px;line-height:1.1}.dashboard-stat span{color:#5f746b}.dashboard-chart-visual{height:100%;min-height:160px}.dashboard-chart-card .ant-table{background:#fff;color:#20352d}.dashboard-chart-card .ant-table-thead>tr>th{border-bottom-color:#e5eee9;background:#f5faf7;color:#526a60}.dashboard-chart-card .ant-table-tbody>tr>td{border-bottom-color:#edf3f0;background:#fff;color:#20352d}.dashboard-chart-card .ant-table-tbody>tr:hover>td{background:#f3fbf7!important}.decision-dashboard .react-resizable-handle:after{border-color:#7bbf9f}.decision-dashboard .react-resizable-handle{z-index:4}.empty-search-card .ant-card-body{padding:16px;color:#6b7d75;text-align:center}.form-alerts{width:100%;margin-bottom:12px}.relation-card .ant-card-head{min-height:38px}.relation-card .ant-card-body{padding:10px}.relation-tag-row{padding:2px 0}.relation-tag-row .ant-tag{margin-inline-end:0;padding:4px 10px;border-radius:999px}.account-detail-contact-tag{margin-inline-end:0;padding:3px 10px;border-radius:6px;background:#f8fffc;border-color:#b9dfd0}.account-detail-contact-button{height:auto;padding:0;white-space:normal;text-align:left}.relation-item{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:8px 10px;border:1px solid #e1ece7;border-radius:8px;background:#fbfefd;color:inherit;font:inherit;text-align:left;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.relation-item:hover,.relation-item:focus-visible{border-color:#8fd1b4;background:#f3fbf7;box-shadow:0 4px 12px #0f8f5f1f;outline:none}.relation-item span{display:flex;flex-direction:column;gap:2px;min-width:0}.metric-row{display:flex;gap:10px;margin-bottom:10px;overflow-x:auto;white-space:nowrap}.metric-card{flex:1 0 150px;min-width:150px}.metric-row .ant-card .ant-card-body{padding:8px 12px}.metric-row .ant-statistic-title{margin-bottom:2px;font-size:12px}.metric-row .ant-statistic-content{font-size:20px;line-height:1.2}.stage-metric-card{display:grid;gap:8px}.stage-metric-title{color:#5f6f66;font-size:12px}.stage-metric-values{display:inline-flex;align-items:center;gap:6px;color:#1f2d25;font-size:18px;font-weight:600;line-height:1.2}.stage-metric-divider{color:#b8c0bb}.full-control,.drawer-stack{width:100%}.position-permission-tree .ant-tree-list-holder-inner{display:block!important}.position-permission-tree .ant-tree-treenode:has(.ant-tree-indent-unit){display:inline-flex;width:25%;min-width:112px;margin-right:0;vertical-align:top}.position-permission-tree .ant-tree-list-holder-inner>.ant-tree-treenode:not(:has(.ant-tree-indent-unit)){display:flex;width:100%}.position-permission-tree .ant-tree-treenode:not(:has(.ant-tree-indent-unit))+.ant-tree-treenode:has(.ant-tree-indent-unit){margin-left:0}.position-permission-tree .ant-tree-node-content-wrapper{white-space:nowrap}.employee-permission-preview{display:grid;gap:6px;margin-top:12px;padding:12px;border:1px solid #d9efe5;border-radius:10px;background:#f7fbf9}.employee-permission-preview-tree{padding-top:4px}.employee-permission-roles{display:grid;gap:8px}.employee-permission-role{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:8px;align-items:flex-start}.employee-permission-role-content .ant-checkbox-group{display:flex;flex-wrap:wrap;gap:4px 12px}.address-line-control{display:flex;gap:8px;width:100%}.address-line-control .ant-input{flex:1}.address-region-control{flex:0 0 280px;width:280px}.hospital-info-control{display:flex;gap:8px;width:100%}.hospital-info-control .ant-select{flex:0 0 120px}.hospital-info-control .ant-input{flex:1}.unit-info-control{display:flex;gap:8px;width:100%}.unit-info-control .ant-select{flex:1}.payment-stage-row .ant-input[readonly]{color:#595959;background:#f6f8f7}.payment-stage-field{margin-top:-4px}.settlement-items{margin-top:8px}.payer-type-control{display:flex;align-items:center;gap:12px;flex-wrap:nowrap;white-space:nowrap}.contract-amounts-control,.contract-dates-control{display:flex;gap:8px;width:100%}.contract-amounts-control .ant-input-number,.contract-dates-control .ant-picker,.contract-customers-control .ant-select{flex:1}.contract-field-placeholder{min-height:54px}.contract-customers-control{display:flex;gap:8px;width:100%}.contract-party-row{display:flex;align-items:center;gap:8px;width:100%;flex-wrap:wrap}.contract-party-label{width:32px;flex:0 0 32px}.contract-party-account{flex:1;min-width:150px}.contract-party-contact{flex:0 0 calc(60% - 64px);min-width:150px}.contract-party-line-break{flex-basis:100%;height:0}.contract-party-bank,.contract-party-bank-account,.contract-party-role{min-width:110px}.contract-party-bank{flex:4}.contract-party-bank-account{flex:6}.contract-party-role{flex:0 0 110px}.contract-party-row>.ant-btn{flex:0 0 24px}.contract-status-radio{display:flex;flex-wrap:nowrap;width:100%}.contract-status-radio .ant-radio-button-wrapper{flex:1;min-width:0;padding-inline:3px;font-size:12px;text-align:center;white-space:nowrap}.contract-status-radio .ant-radio-button-wrapper:nth-child(1){background:#e8f7ef;border-color:#9be0bd;color:#16784a}.contract-status-radio .ant-radio-button-wrapper:nth-child(1).ant-radio-button-wrapper-checked{background:#35d08b;border-color:#35d08b;color:#063d25}.contract-status-radio .ant-radio-button-wrapper:nth-child(2){background:#e9f6ff;border-color:#9bd0f4;color:#176ca8}.contract-status-radio .ant-radio-button-wrapper:nth-child(2).ant-radio-button-wrapper-checked{background:#69bff8;border-color:#69bff8;color:#0b3f66}.contract-status-radio .ant-radio-button-wrapper:nth-child(3){background:#fff7e6;border-color:#ffd591;color:#ad6800}.contract-status-radio .ant-radio-button-wrapper:nth-child(3).ant-radio-button-wrapper-checked{background:#ffc069;border-color:#ffc069;color:#613400}.contract-status-radio .ant-radio-button-wrapper:nth-child(4){background:#f4edff;border-color:#c9b6f2;color:#5b32a3}.contract-status-radio .ant-radio-button-wrapper:nth-child(4).ant-radio-button-wrapper-checked{background:#b99cff;border-color:#b99cff;color:#2f1663}.contract-status-radio .ant-radio-button-wrapper:nth-child(5){background:#fff1f0;border-color:#ffa39e;color:#a8071a}.contract-status-radio .ant-radio-button-wrapper:nth-child(5).ant-radio-button-wrapper-checked{background:#ff7875;border-color:#ff7875;color:#5c0011}.contract-type-tag{background:#e8f7ef;border-color:#9be0bd;color:#16784a;font-weight:500;line-height:20px}.disabled-record-name{color:#8c8c8c;text-decoration:line-through}.query-section+.query-section{margin-top:18px}.query-section-title{display:block;margin-bottom:8px;color:#496158;font-size:13px}.query-row{width:100%;padding:0 0 4px;flex-wrap:nowrap;overflow-x:auto}.query-row .ant-form-item{margin-bottom:0}.query-row .ant-select{min-width:0}.query-row>.ant-col:last-child{display:flex;justify-content:center}.sorter-row{min-width:0}.column-selector-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.column-selector-item{min-width:0;padding:6px 8px;background:#f7fbf9;border:1px solid #dbe9e3;border-radius:8px;cursor:grab}.column-selector-item-hidden{background:#f6f6f6;border-color:#e5e5e5}.column-selector-item-hidden .ant-checkbox-wrapper{color:#9a9a9a}.detail-status-row{display:flex;justify-content:space-between;gap:12px;align-items:center}.drawer-stack .ant-timeline-item-content,.drawer-stack .ant-typography,.drawer-stack p{font-weight:400}.drawer-stack .ant-timeline-item-content p{margin:4px 0 0}.visit-thread{display:grid;gap:6px}.visit-feedback{margin-top:4px;padding:8px 10px;border-left:3px solid #35d08b;border-radius:4px;background:#f3f7f5}.visit-feedback-head{display:flex;justify-content:space-between;gap:8px;align-items:center}.visit-feedback-meta,.timeline-meta{color:#8a9a93;font-size:12px;line-height:1.2}.visit-feedback-form{display:grid;gap:8px;margin-top:8px}.activity-filter{display:flex;gap:6px;padding-bottom:4px}.activity-filter .ant-checkbox-wrapper{margin-inline-start:0;padding:3px 10px;border:1px solid #d6e5de;border-radius:999px;background:#f5faf7;color:#5f746b;font-size:12px;line-height:1.4}.activity-filter .ant-checkbox-wrapper:has(.ant-checkbox-checked){border-color:#35d08b;background:#e8f8f0;color:#0f8f5f}.activity-filter .ant-checkbox{display:none}.audit-log-card{padding:10px 12px;border:1px solid #e1ece7;border-radius:8px;background:#fbfefd}.audit-log-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}.audit-log-card p{margin:0;color:#344940;line-height:1.5}.operation-replies{display:grid;gap:6px}.issue-image-preview{object-fit:cover;border-radius:4px}.ant-card{border-radius:6px}.ant-btn-primary{box-shadow:none}.ant-btn-primary:not(:disabled):hover,.ant-btn-primary:not(:disabled):focus-visible{box-shadow:none}.document-link{height:auto;padding:0}.ant-table-row{cursor:pointer}.ant-table-row-level-0:has(.ant-table-row-expand-icon)>td{background:#fbfdfb}.group-header-cell{padding:3px 0;font-weight:600}.group-header-cell .ant-tag{margin-inline-end:2px;border-radius:999px}.group-summary-cell{display:inline-flex;flex-direction:column;gap:1px;line-height:1.15}.group-summary-cell strong{color:#0b6b48;font-size:13px}.performance-month-cell{color:#496158;font-size:12px;line-height:1.2}.performance-month-cell span:first-child{color:#0b6b48;font-weight:600}.app-content>.ant-card .ant-card-body{padding:0}.app-content>.ant-card .ant-card-head{padding-inline:14px;min-height:46px}.app-content>.ant-card .ant-table-thead>tr>th,.app-content>.ant-card .ant-table-tbody>tr>td{padding:7px 10px;line-height:1.25;white-space:nowrap}.app-content>.ant-card .ant-table-container,.app-content>.ant-card .ant-table-content,.app-content>.ant-card .ant-table-body{overflow-x:auto}.app-content>.ant-card .ant-table-thead>tr>th:first-child,.app-content>.ant-card .ant-table-tbody>tr>td:first-child{padding-left:10px}.status-first-title{display:inline-block;padding-left:22px}.status-first-cell{display:grid;grid-template-columns:14px minmax(0,1fr);gap:8px;align-items:center}.operation-name-cell{grid-template-columns:14px auto minmax(0,1fr)}.contract-name-cell{display:flex;align-items:center;gap:8px;min-width:0;white-space:nowrap}.contract-name-text{min-width:0;overflow:hidden;text-overflow:ellipsis}.operation-contract-no{color:#5f746b;font-size:12px;white-space:nowrap}.status-icon{font-size:12px}.status-icon-active,.status-icon-executing{color:#0f8f5f}.status-icon-maintenance{color:#176ca8}.status-icon-expired{color:#ad6800}.status-icon-extended{color:#5b32a3}.status-icon-terminated{color:#b42318}.status-icon-suspended{color:#b7791f}.status-icon-disabled{color:#b42318}.app-content>.ant-card .ant-table-thead>tr>th:last-child,.app-content>.ant-card .ant-table-tbody>tr>td:last-child{padding-right:10px}.login-shell{align-items:center;background:linear-gradient(135deg,#eaf6f0,#f7fbf9);display:flex;min-height:100vh;justify-content:center;padding:24px}.login-card{width:min(420px,100%);box-shadow:0 24px 80px #0c2f261f}.static-view-title{display:flex;align-items:center;min-height:32px;color:#12362d;font-size:14px;font-weight:600}.batch-alert{margin-bottom:12px}.batch-action-anchor{position:relative;display:inline-flex}.batch-selected-badge{position:absolute;top:-28px;left:50%;z-index:2;transform:translate(-50%);padding:2px 8px;border-radius:999px;background:#e8fff4;color:#147a48;box-shadow:0 4px 12px #0c2f261f;font-size:12px;line-height:20px;white-space:nowrap}.upload-picture-trigger{display:inline-flex;align-items:center;flex-direction:column;justify-content:center;gap:6px;width:100%;height:100%;color:#3f514a;font-size:12px;line-height:1.2}.agent-entry-btn{display:inline-flex;align-items:center;justify-content:center}.agent-entry-btn-running{position:relative;color:#175cd3;background:#e2f0ff}.agent-entry-btn-running:after{content:"";position:absolute;top:4px;right:4px;bottom:4px;left:4px;border:1px solid rgba(47,128,237,.42);border-radius:999px;animation:agent-entry-ring 1.25s ease-out infinite;pointer-events:none}.agent-entry-btn-running .anticon{animation:agent-entry-breathe 1s ease-in-out infinite}@keyframes agent-entry-ring{0%{opacity:.85;transform:scale(.78)}to{opacity:0;transform:scale(1.28)}}@keyframes agent-entry-breathe{0%,to{transform:scale(1)}50%{transform:scale(1.16) rotate(-8deg)}}.agents-page{display:grid;grid-template-columns:324px minmax(0,1fr);gap:12px;min-height:calc(100vh - 98px);background:#eef3f1;border:1px solid #d8e5df;border-radius:8px;overflow:hidden}.agents-list-card,.agents-conversation-card{min-width:0;border:0;border-radius:0;background:#fbfdfc;box-shadow:none}.agents-list-card{border-right:1px solid #d8e5df}.agents-list-card .ant-card-body,.agents-conversation-card .ant-card-body{padding:0}.agents-list-card .ant-card-head,.agents-conversation-card .ant-card-head{min-height:54px;border-bottom-color:#d8e5df;background:#fff}.agents-card-title,.agents-conversation-title,.agent-modal-title{display:flex;align-items:center;gap:10px;min-width:0}.agent-modal-title{justify-content:space-between;width:calc(100% - 30px);padding-right:4px}.agent-modal-title-main{display:flex;align-items:center;gap:10px;min-width:0}.agents-card-title{display:grid;gap:2px}.agents-card-title strong,.agents-conversation-title strong,.agent-modal-title strong{display:block;overflow:hidden;color:#17352c;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.agents-card-title span,.agents-conversation-title em,.agent-modal-title em{display:block;overflow:hidden;color:#6c7b75;font-size:12px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.agents-list{display:flex;flex-direction:column;gap:10px;padding:12px}.agent-list-item{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:11px;border:1px solid #d8e5df;border-radius:8px;background:#fff;color:#17352c;text-align:left;box-shadow:0 10px 26px #0f231c0d;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.agent-list-item:hover,.agent-list-item-active{border-color:#9fd2bd;background:#f7fcfa;box-shadow:0 14px 34px #0f231c1a;transform:translateY(-1px)}.agent-list-item-active{box-shadow:inset 3px 0 #147a48,0 14px 34px #0f231c1a}.agent-list-item.running{border-color:#9bc7ff}.agent-list-item.failed{border-color:#f2bbb5}.agent-list-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:#e8f6ef;color:#147a48}.agent-list-main{min-width:0}.agent-list-main strong,.agent-list-main em,.agent-list-main small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-list-main strong{font-size:13px}.agent-list-main em{margin-top:2px;color:#6c7b75;font-size:12px;font-style:normal}.agent-list-main small{margin-top:6px;color:#7b8a84;font-size:12px;line-height:1.35}.agent-card-side{display:grid;justify-items:end;gap:8px}.agent-list-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:22px;padding:0 7px;border-radius:999px;color:#40544c;background:#eef3f1;font-size:12px;font-weight:800}.agent-chat-panel{--agent-thread-max: 880px;display:grid;grid-template-rows:minmax(0,1fr) auto;height:calc(100vh - 178px);min-height:420px;background:#eef3f1}.agent-chat-modal .ant-modal-content{overflow:hidden;padding:0;border-radius:8px}.agent-chat-modal .ant-modal-header{margin:0;padding:14px 18px;border-bottom:1px solid #d8e5df}.agent-chat-modal .ant-modal-close{top:12px}.agent-chat-modal .agent-chat-panel{height:min(72vh,720px);min-height:500px}.agent-modal-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;color:#147a48;background:#e8f6ef}.agent-message-list{min-height:0;overflow-y:auto;padding:14px}.agent-empty-state{display:grid;place-items:center;min-height:220px;color:#7b8a84;font-size:13px}.agent-empty-conversation{gap:8px;min-height:100%;padding:28px;text-align:center}.agent-empty-conversation .anticon{color:#147a48;font-size:28px}.agent-empty-conversation strong{color:#17352c;font-size:15px}.agent-conversation-thread{display:grid;gap:12px;align-items:start}.agent-task-thread{display:grid;justify-items:start;width:100%;min-width:0}.agent-message-bubble{display:inline-grid;gap:9px;width:fit-content;max-width:min(var(--agent-thread-max),100%);min-width:0;padding:10px 12px;border:1px solid #d8e5df;border-radius:8px;background:#fff;color:#17352c;overflow:hidden}.agent-message-bubble.running{border-color:#9bc7ff;background:#f8fbff}.agent-message-bubble.completed{border-color:#d8e5df}.agent-message-bubble>*{max-width:100%;min-width:0}.agent-message-bubble-user{border-color:#d8e5df;background:#fff}.agent-message-bubble-child{border:0;background:#eef7ff;box-shadow:none}.agent-message-bubble-system{color:#52645c;background:#f7faf8}.agent-message-bubble.failed,.agent-message-bubble-child.failed{color:#b42318;background:#fff1f0;border-color:#f2bbb5}.agent-message-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:#6c7b75;font-size:12px}.agent-status-pill{display:inline-flex;align-items:center;gap:5px;width:max-content;padding:3px 7px;border-radius:999px;background:#eef2f6;color:#52645c;font-weight:800}.agent-status-dot{width:6px;height:6px;border-radius:999px;background:currentColor}.agent-status-pill.completed{color:#067647;background:#dcf7e7}.agent-status-pill.running{color:#175cd3;background:#e2f0ff}.agent-status-pill.running .agent-status-dot{animation:agent-dot-pulse 1s ease-in-out infinite}.agent-status-pill.failed{color:#b42318;background:#ffe4e1}.agent-status-icon{position:relative;display:inline-grid;place-items:center;flex:0 0 auto;width:28px;height:28px;border:1px solid #d8e5df;border-radius:999px;color:#52645c;background:#f8faf9;font-size:15px}.agent-status-icon.completed{color:#067647;background:#dcf7e7;border-color:#b6ebc8}.agent-status-icon.running{color:#175cd3;background:#e2f0ff;border-color:#9bc7ff;box-shadow:0 0 0 3px #175cd31a}.agent-status-icon.running .anticon{animation:agent-status-spin 1s linear infinite}.agent-status-icon.failed{color:#b42318;background:#ffe4e1;border-color:#f2bbb5}.agent-status-count{position:absolute;top:-7px;right:-8px;display:inline-flex;align-items:center;justify-content:center;min-width:17px;height:17px;padding:0 5px;border:2px solid #fff;border-radius:999px;color:#fff;background:#d92d20;font-size:10px;font-weight:900;line-height:1}@keyframes agent-status-spin{to{transform:rotate(360deg)}}.agent-duration{color:#7b8a84;font-size:12px}@keyframes agent-dot-pulse{0%,to{opacity:.35;transform:scale(.82)}50%{opacity:1;transform:scale(1.2)}}.agent-task-prompt,.agent-rich-paragraph{color:#17352c;font-size:14px;line-height:1.62;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere}.agent-message-bubble h1,.agent-message-bubble h2,.agent-message-bubble h3,.agent-message-bubble ul,.agent-message-bubble ol,.agent-message-bubble blockquote{margin:0}.agent-message-bubble h1{font-size:18px;line-height:1.25}.agent-message-bubble h2{font-size:16px;line-height:1.25}.agent-message-bubble h3{font-size:14px;line-height:1.25}.agent-message-bubble ul,.agent-message-bubble ol{display:grid;gap:4px;padding-left:20px}.agent-message-bubble li{line-height:1.62;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere}.agent-message-bubble blockquote{padding:6px 10px;color:#52645c;background:#f6f8fb;border-left:3px solid #cbd5e1;border-radius:0 6px 6px 0}.agent-message-bubble hr{width:100%;margin:2px 0;border:0;border-top:1px solid #d8e5df}.agent-message-bubble a{color:#1769aa;font-weight:700;text-decoration:none;overflow-wrap:anywhere}.agent-message-bubble pre{max-width:100%;max-height:360px;margin:0;padding:10px;overflow-y:auto;overflow-x:hidden;color:#111827;background:#f4f6f8;border:1px solid #d8e5df;border-radius:7px}.agent-message-bubble code{font:12px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap;word-break:break-word}.agent-message-bubble :not(pre)>code{padding:1px 4px;background:#eef2f6;border:1px solid #d8e5df;border-radius:5px}.agent-message-children{display:flex;flex-direction:column;gap:12px;align-items:flex-start;width:100%;min-width:0;margin-top:2px}.agent-reply-fold{display:grid;grid-template-columns:minmax(24px,1fr) auto minmax(24px,1fr);gap:10px;align-items:center;width:100%;padding:2px 0;color:#667085;background:transparent;border:0;font-size:12px;font-weight:800;cursor:pointer}.agent-reply-fold:before,.agent-reply-fold:after{content:"";height:0;border-top:1px dashed #d8e5df}.agent-reply-fold span{padding:3px 8px;text-align:center}.agent-reply-fold:hover{color:#17352c}.agent-running-dots{display:flex;gap:4px;align-items:center;min-height:22px}.agent-running-dots span{width:4px;height:16px;border-radius:999px;background:#147a48;animation:agent-running-pulse 1s ease-in-out infinite}.agent-running-dots span:nth-child(2n){animation-delay:.12s}.agent-running-dots span:nth-child(3n){animation-delay:.24s}@keyframes agent-running-pulse{0%,to{opacity:.25;transform:scaleY(.45)}50%{opacity:.9;transform:scaleY(1)}}.agent-attachments{display:grid;gap:8px;margin-top:8px}.agent-attachment-images{display:flex;flex-wrap:wrap;gap:8px}.agent-attachment-image{display:grid;gap:4px;width:112px}.agent-attachment-name{min-width:0;overflow:hidden;color:#40544c;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.agent-attachment-image .ant-image,.agent-attachment-image .ant-image-img{border-radius:6px;object-fit:cover}.agent-attachment-placeholder{display:grid;place-items:center;gap:4px;width:112px;height:112px;border:1px dashed #bfd4c9;border-radius:6px;color:#6c7b75;font-size:12px;background:#f8fbf9}.agent-attachment-files{display:grid;gap:6px}.agent-attachment-file{justify-content:flex-start;max-width:100%;height:auto;padding:7px 10px;white-space:normal;text-align:left}.agent-attachment-file span{min-width:0;overflow-wrap:anywhere}.agent-attachment-file em{margin-left:6px;color:#7b8a84;font-size:12px;font-style:normal}.agent-message-error{margin-top:8px;color:#b42318;font-size:12px;white-space:pre-wrap}.agent-composer{padding:8px 14px 14px;background:#eef3f1}.agent-composer-field{position:relative}.agent-composer textarea.ant-input{min-height:104px;padding:13px 54px 42px 14px;resize:none;border-color:#c6d8d0;border-radius:8px;box-shadow:0 18px 44px #0f172a24}.agent-composer-send{position:absolute;right:9px;bottom:9px}.agent-readonly-notice{display:flex;align-items:center;gap:8px;min-height:56px;padding:12px 16px;color:#52645c;background:#f6faf8;border-top:1px solid #d8e5df;font-size:13px}.agent-readonly-notice .anticon{color:#147a48}.employee-binding-icons{white-space:nowrap}.employee-binding-icons .ant-tag{margin-inline-end:0}@media(max-width:900px){.app-shell{display:block}.app-sider{max-width:none!important;width:100%!important}.app-header{align-items:stretch;flex-direction:column;gap:14px;height:auto;padding:10px 14px}.view-tabs{align-items:center;overflow-x:auto;padding-bottom:2px}.view-tabs .ant-tabs-nav{min-width:max-content}.header-actions{justify-content:flex-start;overflow-x:auto;padding-bottom:2px}.app-content{padding:12px}.app-content>.ant-card .ant-card-head{align-items:flex-start;flex-direction:column;gap:10px;padding-block:12px}.app-content>.ant-card .ant-card-extra{width:100%;margin-inline-start:0}.app-content>.ant-card .ant-card-extra .ant-space,.app-content>.ant-card .ant-card-extra .ant-input-search{width:100%}.app-content>.ant-card .ant-card-extra .ant-select{width:100%!important}.agents-page{grid-template-columns:1fr;min-height:auto}.agent-chat-panel,.agent-chat-drawer .agent-chat-panel{height:62vh;min-height:360px}}
