*{margin:0;padding:0;box-sizing:border-box}html,body,#root{height:100%}body{font-family:-apple-system,PingFang SC,Microsoft YaHei,sans-serif}.app-shell.ant-layout{height:100dvh;max-height:100dvh;overflow:hidden}.app-main.ant-layout{min-width:0;min-height:0;background:#f5f5f5}.app-sider.ant-layout-sider{overflow:auto;height:100dvh;position:sticky;top:0}.app-brand{color:#fff;padding:16px;font-size:16px;font-weight:700}.app-header.ant-layout-header{background:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 24px;height:64px;line-height:1.4;z-index:20}.app-header-left,.app-header-right{display:flex;align-items:center;gap:12px;min-width:0}.app-header-right{margin-left:auto}.app-content.ant-layout-content{padding:24px;overflow:auto;min-height:0;-webkit-overflow-scrolling:touch}.login-page{display:flex;justify-content:center;align-items:center;min-height:100dvh;padding:16px;box-sizing:border-box}.login-card{width:min(400px,100%)}.list-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.list-toolbar--mobile{flex-direction:column;align-items:stretch}.app-account-panel{background:#fff;border-radius:8px;box-shadow:0 6px 16px #0000001f;min-width:180px;padding:8px}.app-account-name{font-weight:600;padding:6px 8px 0}.app-account-role{color:#8c8c8c;font-size:12px;padding:0 8px 8px}.app-account-item{display:block;width:100%;text-align:left;border:none;background:transparent;border-radius:6px;min-height:40px;padding:0 8px;font-size:14px;cursor:pointer}.app-account-item:hover{background:#f5f5f5}.app-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;font-size:18px;cursor:pointer}@media(max-width:991px){html,body,#root{max-width:100%;overflow-x:hidden}.app-header.ant-layout-header{flex-wrap:nowrap;height:calc(56px + env(safe-area-inset-top));min-height:calc(56px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 8px 0;gap:4px}.app-header-left{flex:1;min-width:0;gap:2px}.app-header-right{flex:none;flex-wrap:nowrap;gap:0}.app-page-title{font-size:16px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-menu-btn,.app-avatar-btn{min-width:40px;min-height:40px}.app-header .ant-tag{display:inline-flex;align-items:center;min-height:32px;margin-inline-end:0;padding:4px 10px;font-size:14px}.app-content.ant-layout-content{padding:12px;padding-bottom:max(12px,env(safe-area-inset-bottom))}.notice-panel{width:min(360px,calc(100vw - 24px))!important}.login-page{padding:max(24px,env(safe-area-inset-top)) 16px max(24px,env(safe-area-inset-bottom))}.login-card .ant-card-body{padding:20px 16px}.login-card .ant-btn{min-height:44px}.list-toolbar-search,.list-toolbar-search .ant-input-search,.list-toolbar-search .ant-select{width:100%!important}.list-toolbar-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.list-toolbar-filter{min-height:36px}.list-toolbar-actions{display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}.list-toolbar-actions .ant-btn{min-height:36px}.mobile-filter-drawer .ant-drawer-content-wrapper{height:auto!important;max-height:85dvh}.mobile-filter-drawer .ant-drawer-body{overflow:auto}.mobile-filter-fields{display:flex;flex-direction:column;gap:12px}.mobile-filter-fields .ant-select,.mobile-filter-fields .ant-picker,.mobile-filter-fields .ant-input,.mobile-filter-fields .ant-input-search{width:100%!important}.mobile-filter-footer{display:flex;gap:8px;margin-top:16px;padding-bottom:env(safe-area-inset-bottom)}.mobile-filter-footer .ant-btn{flex:1;min-height:40px}.ant-radio-group,.ant-checkbox-group{display:inline-flex;flex-wrap:wrap;gap:8px 12px;max-width:100%}.ant-card-head{min-height:0;height:auto}.ant-card-head-wrapper{flex-wrap:wrap;align-items:flex-start;row-gap:8px}.ant-card-extra{width:100%;margin-inline-start:0!important;white-space:normal}.ant-card-extra .ant-space{width:100%;row-gap:8px}.ant-card-extra .ant-btn{min-height:36px}.ant-card-extra .ant-select{max-width:100%}.ant-alert{align-items:flex-start;flex-wrap:wrap}.ant-pagination{display:flex;flex-wrap:wrap;justify-content:center;row-gap:8px}.ant-pagination-options,.ant-pagination-total-text{display:none!important}.ant-pagination-item,.ant-pagination-prev,.ant-pagination-next{min-width:36px;height:36px;line-height:34px}.ant-tabs,.ant-tabs-nav,.ant-tabs-nav-wrap,.ant-tabs-content-holder,.ant-segmented{max-width:100%;min-width:0}.ant-tabs-nav-wrap{overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none}.ant-tabs-nav-wrap::-webkit-scrollbar{display:none}.ant-tabs-nav-list{transform:none!important;flex-wrap:nowrap!important;width:max-content!important}.ant-tabs-nav-operations{display:none!important}.ant-tabs-tab{flex:none}.ant-tabs-tab-btn{white-space:nowrap}.usage-detail-tabs>.ant-tabs-nav{height:auto}.usage-detail-tabs .ant-tabs-nav-wrap{overflow:visible!important}.usage-detail-tabs .ant-tabs-nav-list{flex-wrap:wrap!important;width:100%!important;row-gap:8px;column-gap:8px}.usage-detail-tabs .ant-tabs-tab{margin:0!important;padding:6px 12px!important;background:#f5f5f5;border-radius:999px}.usage-detail-tabs .ant-tabs-tab-active{background:#e6f4ff}.usage-detail-tabs .ant-tabs-ink-bar{display:none!important}.usage-detail-tabs .ant-tabs-nav:before{border-bottom:none!important}.ant-segmented{overflow-x:auto}.ant-segmented-group{flex-wrap:nowrap!important;width:max-content}.ant-picker,.ant-picker-range,.ant-input-number,.ant-select{max-width:100%}.ant-descriptions-view>table,.ant-descriptions-view>table>tbody,.ant-descriptions-view>table>tbody>tr,.ant-descriptions-view>table>tbody>tr>th,.ant-descriptions-view>table>tbody>tr>td{display:block;width:100%!important}.ant-col{flex:0 0 100%!important;max-width:100%!important}.mobile-stat-grid{row-gap:8px}.mobile-stat-grid>.ant-col{flex:0 0 50%!important;max-width:50%!important;padding-inline:4px!important}.mobile-stat-grid>.ant-col.mobile-span-full{flex:0 0 100%!important;max-width:100%!important}.mobile-stat-grid .ant-card-body{padding:12px}.mobile-stat-grid .ant-statistic-title{font-size:12px;white-space:normal}.mobile-stat-grid .ant-statistic-content{font-size:18px;line-height:1.3}.mobile-stat-grid .ant-statistic-content-value{word-break:break-word}.mobile-stat-grid .ant-typography{font-size:12px}.ant-row{margin-inline:0!important}.ant-row>.ant-col{padding-inline:0!important}.mobile-stat-grid>.ant-col{padding-inline:4px!important}.ant-table-wrapper{max-width:100%}.ant-table-content,.ant-table-body,.ant-table-header{overflow:visible!important;max-height:none!important}.ant-table-sticky-scroll{display:none!important}.ant-table table{width:100%!important;min-width:0!important}.ant-table colgroup{display:none}.ant-table-thead,.ant-table-measure-row{display:none!important}.ant-table-cell-fix-left,.ant-table-cell-fix-right{position:static!important}.ant-table-tbody>tr:not(.ant-table-measure-row):not(.ant-table-placeholder){display:flex;flex-wrap:wrap;align-items:flex-start;gap:4px 16px;background:#fff;border:1px solid #f0f0f0;border-radius:10px;margin:0 0 12px;padding:10px 12px 8px}.ant-table-tbody>tr>td{display:flex!important;flex-direction:row;justify-content:space-between;align-items:flex-start;gap:8px;box-sizing:border-box;width:auto!important;max-width:none!important;padding:4px 0!important;border-bottom:none!important;white-space:normal!important;text-align:left!important;background:transparent!important;font-size:13px;min-width:0}.ant-table-tbody>tr>td:before{content:attr(data-label);flex:0 0 auto;color:#8c8c8c;font-size:12px;line-height:1.5}.ant-table-tbody>tr>td[data-role=field]{flex:1 1 46%;min-width:46%;justify-content:flex-start;gap:6px}.ant-table-tbody>tr>td[data-role=long],.ant-table-tbody>tr>td[data-role=body]{flex:1 1 100%;min-width:100%;flex-direction:column;align-items:stretch;justify-content:flex-start;overflow-wrap:break-word;word-break:normal}.ant-table-tbody>tr>td[data-role=long] div,.ant-table-tbody>tr>td[data-role=body] div{white-space:normal!important;overflow:visible!important;text-overflow:unset!important;max-width:100%}.ant-table-tbody>tr>td[data-role=headline]{flex:1 1 100%;min-width:100%;flex-direction:column;align-items:flex-start;justify-content:flex-start;order:1;font-size:13px;font-weight:400;line-height:1.5;overflow-wrap:break-word}.ant-table-tbody>tr>td[data-role=headline] b{font-size:16px;font-weight:600}.ant-table-tbody>tr>td[data-role=body] .ant-tag,.ant-table-tbody>tr>td[data-role=long] .ant-tag,.ant-table-tbody>tr>td[data-role=field] .ant-tag{white-space:normal;height:auto;max-width:100%;overflow-wrap:anywhere;line-height:1.45}.ant-table-tbody>tr>td.ant-table-cell-ellipsis{overflow:visible!important;text-overflow:unset!important}.ant-table-tbody>tr>td[data-role=long] .ant-space{display:flex!important;flex-wrap:wrap!important;max-width:100%;row-gap:4px;column-gap:8px}.ant-table-tbody>tr>td[data-role=title],.ant-table-tbody>tr>td[data-role=name]{flex:1 1 0%;min-width:0;font-size:16px;font-weight:600;line-height:1.4;overflow-wrap:break-word}.ant-table-tbody>tr>td[data-role=title]{flex:1 1 calc(100% - 88px);min-width:calc(100% - 88px);max-width:calc(100% - 72px)}.ant-table-tbody>tr>td[data-role=title] .ant-btn{height:auto;max-width:100%;white-space:normal;text-align:left;overflow-wrap:anywhere}.ant-table-tbody>tr>td[data-role=name]{flex:0 0 auto;min-width:max-content;font-size:15px;white-space:nowrap!important}.ant-table-tbody>tr>td[data-role=status]{flex:0 0 auto;min-width:max-content;margin-left:8px;align-items:center;white-space:nowrap!important}.ant-table-tbody>tr>td[data-role=check]{flex:0 0 auto;min-width:max-content;order:0;align-items:center}.ant-table-tbody>tr>td[data-role=title]{order:1}.ant-table-tbody>tr>td[data-role=name]{order:2}.ant-table-tbody>tr>td[data-role=status]{order:3}.ant-table-tbody>tr>td[data-role=body]{order:5}.ant-table-tbody>tr>td[data-role=field]{order:10}.ant-table-tbody>tr>td[data-role=long]{order:20}.ant-table-tbody>tr>td[data-role=actions]{order:30}.ant-table-tbody>tr>td[data-role=actions]{flex:1 1 100%;min-width:100%;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:8px;margin-top:4px;padding-top:8px!important;border-top:1px solid #f5f5f5!important}.ant-table-tbody>tr>td[data-role=hide]{display:none!important}.ant-table-tbody>tr>td[data-role=headline]:before,.ant-table-tbody>tr>td[data-role=title]:before,.ant-table-tbody>tr>td[data-role=name]:before,.ant-table-tbody>tr>td[data-role=status]:before,.ant-table-tbody>tr>td[data-role=check]:before,.ant-table-tbody>tr>td[data-role=actions]:before,.ant-table-tbody>tr>td[data-label=""]:before,.ant-table-tbody>tr>td[colspan]:before{content:none}.ant-table-tbody>tr>td[data-role=actions] .ant-space{display:flex!important;flex-wrap:wrap!important;gap:8px!important;width:100%}.ant-table-tbody>tr>td[data-role=actions] .ant-space-item{margin-inline-end:0!important}.ant-table-tbody>tr>td[data-role=actions] .ant-btn{min-height:36px;padding-inline:12px}.ant-table-tbody>tr>td[data-role=actions] .ant-btn-link{background:#f5f5f5;border-radius:6px}.ant-table-tbody>tr>td[data-role=actions]>.ant-btn-link:first-child:not(.ant-btn-dangerous),.ant-table-tbody>tr>td[data-role=actions] .ant-space-item:first-child .ant-btn-link:not(.ant-btn-dangerous){background:#1677ff;color:#fff}.ant-table-tbody>tr>td[data-role=actions] .ant-btn-dangerous.ant-btn-link{background:#fff1f0;color:#cf1322}.ant-table-tbody>tr.ant-table-placeholder{display:block;border:none;background:transparent;padding:0}.ant-table-tbody>tr.ant-table-placeholder>td{display:block!important;border:none!important;text-align:center!important}.ant-modal-wrap:not(:has(.script-fullpage-modal)){display:flex!important;align-items:flex-end!important}.ant-modal:not(.script-fullpage-modal){top:auto!important;width:100vw!important;max-width:100vw!important;margin:0!important;padding-bottom:0}.ant-modal:not(.script-fullpage-modal) .ant-modal-content{border-radius:16px 16px 0 0;max-height:92dvh;display:flex;flex-direction:column}.ant-modal:not(.script-fullpage-modal) .ant-modal-body{overflow:auto;min-height:0}.ant-modal-footer{display:flex;flex-wrap:wrap;gap:8px;margin-top:0}.ant-modal:not(.script-fullpage-modal) .ant-modal-footer .ant-btn{flex:1;min-height:40px;margin-inline-start:0!important}.ant-modal .ant-form-horizontal .ant-form-item-row{flex-direction:column}.ant-modal .ant-form-horizontal .ant-form-item-label,.ant-modal .ant-form-horizontal .ant-form-item-control{flex:none;max-width:100%;text-align:left}.ant-drawer-content-wrapper{max-width:100vw!important}.ant-input,.ant-input-number-input,.ant-select-selection-search-input,textarea.ant-input,.ant-picker-input>input{font-size:16px!important}.task-workspace{flex-direction:column!important;height:auto!important;min-height:0!important}.task-rail{width:100%!important;max-height:none}.task-rail-splitter{display:none!important}.task-detail{margin-top:0}.intention-row{flex-wrap:wrap!important}.call-sheet{flex-direction:column!important;max-height:none!important;min-height:0!important}.call-sheet-pane{width:100%!important;border-right:none!important}.call-sheet-head{flex-wrap:wrap!important}.script-tree-toolbar{flex-wrap:wrap!important;gap:8px}.script-tree-canvas{overflow-x:hidden!important;max-height:none!important}.script-tree-fork{flex-direction:column!important;align-items:center!important;width:100%}.script-tree-fork-line{display:none!important}.script-tree-node{width:min(320px,100%)!important;max-width:100%}}.script-tree-junction{display:flex;flex-direction:column;align-items:center;position:relative;z-index:1}.script-tree-junction .script-tree-line-btn{margin:-11px 0;z-index:2}.script-tree-line-btn{display:flex;align-items:center;justify-content:center;width:22px;height:22px;padding:0;border:1px solid #595959;border-radius:4px;background:#fff;color:#262626;font-size:12px;line-height:1;cursor:pointer;box-shadow:0 1px 2px #0000000f}.script-tree-line-btn:hover{border-color:#1677ff;color:#1677ff}.script-tree-node--compact .ant-card-body{display:none;padding:0}.script-tree-node--compact .ant-card-head{min-height:36px}.script-flow-canvas{position:relative;width:100%}.script-flow-canvas .react-flow{width:100%;height:100%;min-height:inherit}.script-flow-node-wrap{position:relative}.script-flow-handle{width:12px!important;height:12px!important;border:2px solid #fff!important;box-shadow:0 0 0 1px #00000026}.script-flow-handle-in{top:50%!important;left:-6px!important;transform:translateY(-50%)!important}.script-flow-handle-out{bottom:-6px!important}.script-tree-branch-row{display:flex;align-items:center;gap:4px;position:relative}.script-tree-branch-row-main{flex:1 1 auto;min-width:0}.script-flow-handle-branch{position:relative!important;bottom:auto!important;left:auto!important;right:auto!important;top:auto!important;transform:none!important;flex:0 0 12px;margin-right:-8px}.script-flow-node-wrap>.script-flow-handle-branch{position:absolute!important;right:-6px!important;transform:translateY(-50%)!important}.script-flow-edge-label-wrap{background:#fff7e6f2;border-radius:4px;padding:4px 8px;box-shadow:0 0 0 1px #fa8c161f;pointer-events:none}.channel-line-count{color:#888;font-size:12px;white-space:nowrap}.channel-reason,.channel-wrap{display:block;max-width:100%;font-size:12px;line-height:1.5;overflow-wrap:break-word;word-break:normal}.channel-reason{color:#d46b08}.usage-unit{font-size:12px;line-height:1.6}.usage-unit-source{color:#8c8c8c;margin-bottom:4px}.script-flow-edge-label{font-size:10px;line-height:1.35;text-align:center;max-width:168px;pointer-events:none}.script-flow-edge-label-name{font-weight:600}.script-flow-edge-label-kw{color:#595959;margin-top:2px;word-break:break-all}.script-flow-canvas-actions{position:absolute;left:12px;bottom:12px;z-index:5;display:flex;flex-wrap:wrap;gap:8px}.script-flow-canvas:fullscreen,.script-flow-canvas:-webkit-full-screen{background:#fff;border:none;border-radius:0;height:100%!important;max-height:none!important}@media(max-width:767px){.ant-drawer:not(.app-menu-drawer) .ant-drawer-content-wrapper{width:100vw!important}}.task-rail-splitter{width:8px;margin-left:-4px;margin-right:-4px;flex:none;cursor:col-resize;position:relative;z-index:2;background:transparent}.task-drawer-splitter{position:fixed;top:0;bottom:0;width:12px;cursor:col-resize;z-index:1002;background:transparent}body.task-detail-drawer-resizing .task-detail-drawer .ant-drawer-content-wrapper{transition:none!important}.task-detail-drawer .task-drawer-fluid-table.ant-table-wrapper,.task-detail-drawer .task-drawer-fluid-table .ant-table{width:100%}.script-fullpage-modal .ant-modal{max-width:100vw;width:100vw!important;top:0;margin:0;padding-bottom:0}.script-fullpage-modal .ant-modal-content{border-radius:0;min-height:100vh;display:flex;flex-direction:column}.script-fullpage-modal .ant-modal-header,.script-fullpage-modal .ant-modal-footer{flex:0 0 auto}.script-fullpage-modal .ant-modal-body{flex:1 1 auto;overflow:auto}.script-tree-canvas:fullscreen,.script-tree-canvas:-webkit-full-screen{background:#fff;padding:12px;border:none;border-radius:0;margin:0;max-height:none;width:100%;height:100%;box-sizing:border-box}.script-tree-canvas:fullscreen::backdrop,.script-tree-canvas:-webkit-full-screen::backdrop{background:#fff}.script-library-drag-handle{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;color:#999;cursor:grab;border-radius:4px;-webkit-user-select:none;user-select:none;touch-action:none}.script-library-drag-handle:active{cursor:grabbing}.script-library-drag-handle:hover{color:#1677ff;background:#f0f5ff}.script-library-row-dragging td{opacity:.45}.script-library-row-drag-over td{box-shadow:inset 0 2px #1677ff;background:#e6f4ff!important}.script-library-voice-actions--row{display:flex;flex-wrap:nowrap;align-items:center;gap:4px;margin-top:4px;max-width:100%;overflow-x:auto}.script-library-voice-actions--row .ant-btn{flex:0 0 auto;padding-inline:7px}.script-library-voice-tag{flex:0 0 auto;margin-inline-end:0}.script-library-voice-tip-wrap{display:inline-flex;vertical-align:middle}.script-library-voice-actions--row .script-library-voice-tip-wrap .ant-btn{flex:0 0 auto}.script-library-voice-file-input{position:absolute;width:0;height:0;opacity:0;overflow:hidden;pointer-events:none}.script-library-col-switch{text-align:center}.script-library-col-switch .script-library-switch.ant-switch-small{transform:scale(.88);transform-origin:center center}.call-recording-player{display:flex;align-items:center;gap:8px;flex:1;min-width:0;width:100%;position:relative}.call-recording-player audio{position:absolute;width:0;height:0;opacity:0;pointer-events:none}.call-recording-btn{flex:0 0 auto;width:28px;height:28px;padding:0;border:1px solid #d9d9d9;border-radius:50%;background:#fff;color:#262626;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.call-recording-btn:hover{border-color:#1677ff;color:#1677ff}.call-recording-time{flex:0 0 auto;font-size:12px;font-variant-numeric:tabular-nums;color:#262626;white-space:nowrap}.call-recording-track{position:relative;flex:1;min-width:48px;height:20px;display:flex;align-items:center;cursor:pointer;touch-action:none;outline:none}.call-recording-track:focus-visible{box-shadow:0 0 0 2px #1677ff40;border-radius:4px}.call-recording-line{position:relative;width:100%;height:4px;border-radius:999px;background:#e6e6e6;overflow:hidden}.call-recording-fill{position:absolute;left:0;top:0;bottom:0;background:#1677ff;border-radius:999px}.call-recording-thumb{position:absolute;top:50%;width:12px;height:12px;margin-top:-6px;margin-left:-6px;border-radius:50%;background:#fff;border:2px solid #1677ff;box-shadow:0 1px 2px #0000001f;pointer-events:none}
