:root{color:#1f2937;font-synthesis:none;background:#f5f7fa;font-family:Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%;margin:0}body{min-height:100vh;overflow-x:hidden}button,a,[role=button]{cursor:pointer;touch-action:manipulation}:focus-visible{outline-offset:2px;outline:3px solid #1677ff52}.skip-link{z-index:1000;color:#0958d9;background:#fff;border-radius:6px;padding:8px 12px;position:fixed;top:8px;left:8px;transform:translateY(-150%)}.skip-link:focus{transform:translateY(0)}.auth-shell{background:radial-gradient(circle at 50% 0,#1677ff14,#0000 36%),#f5f7fa;place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{border-color:#e5e7eb;width:min(100%,420px);box-shadow:0 14px 36px #0f172a14}.login-card .ant-card-body{padding:28px}.login-brand{color:#334155;align-items:center;gap:10px;margin-bottom:24px;font-size:14px;font-weight:700;display:flex}.brand-mark{color:#fff;background:#1677ff;border-radius:7px;place-items:center;width:32px;height:32px;font-size:17px;display:inline-grid;box-shadow:0 6px 16px #1677ff33}.login-card h1.ant-typography{letter-spacing:-.02em;margin:0 0 6px;font-size:25px}.login-intro{margin-bottom:24px!important}.login-button{border-radius:6px;height:42px;font-weight:600}.login-footnote{color:#64748b;text-align:center;margin-top:18px;font-size:12px}.page-loader{background:#f5f7fa;place-items:center;min-height:100vh;display:grid}.app-shell{min-height:100vh}.app-shell>.ant-layout-sider{background:#001529;height:100vh;position:sticky;top:0;overflow:auto}.sider-logo{color:#fff;letter-spacing:.02em;align-items:center;gap:10px;height:56px;padding:0 18px;font-size:16px;font-weight:700;display:flex}.sider-logo .anticon{color:#69b1ff;font-size:19px}.sider-user{background:#ffffff0a;border:1px solid #ffffff14;border-radius:7px;margin:6px 8px 10px;padding:12px}.sider-user-head{align-items:center;gap:9px;margin-bottom:10px;display:flex}.sider-user-head .ant-avatar{background:#1677ff;flex:none;font-weight:700}.sider-user-name{color:#fff;text-overflow:ellipsis;white-space:nowrap;max-width:135px;font-size:13px;font-weight:600;overflow:hidden}.sider-tenant-name{color:#ffffff8c;text-overflow:ellipsis;white-space:nowrap;max-width:135px;font-size:11px;overflow:hidden}.sider-meta{color:#ffffff8c;justify-content:space-between;gap:8px;margin:6px 0 3px;font-size:11px;display:flex}.sider-meta b{color:#ffffffdb;text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.sider-actions{gap:4px;margin-top:10px;display:flex}.sider-actions .ant-btn{color:#ffffffb8;padding-inline:7px;font-size:11px}.sider-actions .ant-btn:hover{color:#fff!important;background:#ffffff1a!important}.sider-actions .ant-btn-dangerous:hover{color:#ff7875!important}.app-header{z-index:10;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffeb;border-bottom:1px solid #e5e7eb;align-items:center;gap:10px;height:48px;padding:0 18px;display:flex;position:sticky;top:0}.route-tab{color:#1677ff;background:#eef4ff;border:1px solid #b3d8ff;border-radius:6px;align-items:center;gap:6px;height:30px;padding:0 11px;font-size:13px;font-weight:600;display:inline-flex}.app-content{min-width:0;padding:18px}.surface-card{border-color:#e5e7eb;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #0f172a0a}.page-header{border-bottom:1px solid #eef2f7;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;padding:2px 0 15px;display:flex}.page-header h1.ant-typography{color:#0f172a;letter-spacing:-.01em;margin:0 0 4px;font-size:19px}.selection-bar{color:#1d4ed8;background:#eef4ff;border:1px solid #b3d8ff;border-radius:6px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;padding:9px 12px;font-size:13px;font-weight:600;display:flex}.account-toolbar{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px;display:flex}.account-search{width:min(100%,320px)}.group-filter{min-width:140px}.status-filter{min-width:120px}.group-form{border-bottom:1px solid #eef2f7;margin-bottom:16px;padding-bottom:16px}.account-table-shell{min-width:0}.account-table .ant-table-footer{background:0 0;border-top:1px solid #f1f5f9;padding:7px 12px 2px}.account-horizontal-scroll{opacity:.78;align-items:center;gap:5px;margin:0;padding:0;transition:opacity .15s;display:flex}.account-horizontal-scroll:hover,.account-horizontal-scroll:focus-within{opacity:1}.account-horizontal-scroll .ant-btn{color:#94a3b8;border-radius:4px;flex:none;width:22px;height:20px;padding:0}.account-horizontal-scroll .ant-btn:not(:disabled):hover{color:#1677ff;background:#eef4ff}.account-scroll-slider{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background:0 0;border-radius:999px;flex:1;min-width:0;height:32px;margin:0;position:relative}.account-scroll-slider:active{cursor:grabbing}.account-scroll-slider:before{content:"";background:#e8eef5;border-radius:999px;height:5px;position:absolute;top:14px;left:0;right:0}.account-scroll-slider-thumb{z-index:1;background:#9fb3c9;border-radius:999px;width:64px;height:11px;position:absolute;top:11px;transform:translate(-50%);box-shadow:0 1px 3px #0f172a29}.account-scroll-slider:hover .account-scroll-slider-thumb,.account-scroll-slider:focus-visible .account-scroll-slider-thumb,.account-scroll-slider:active .account-scroll-slider-thumb{background:#6f8eaf}.account-scroll-slider:focus-visible{outline-offset:2px;outline:3px solid #1677ff3d}.account-table .ant-table{background:0 0}.account-table .ant-table-content{scrollbar-width:none}.account-table .ant-table-content::-webkit-scrollbar{height:0;display:none}.account-table .ant-table-thead>tr>th{color:#475569;letter-spacing:.02em;white-space:nowrap;font-size:12px;font-weight:600}.account-table .ant-table-tbody>tr>td{border-bottom-color:#eef2f7;transition:background-color .15s}.account-table .ant-table-tbody>tr:hover>td{background:#f0f7ff!important}.account-table .ant-table-cell-fix-left,.account-table .ant-table-cell-fix-right{z-index:2;background:#fff}.account-table .ant-table-thead .ant-table-cell-fix-left,.account-table .ant-table-thead .ant-table-cell-fix-right{z-index:3;background:#f8fafc}.account-table .ant-table-tbody>tr:hover>.ant-table-cell-fix-left,.account-table .ant-table-tbody>tr:hover>.ant-table-cell-fix-right{background:#f0f7ff!important}.account-table .ant-table-cell-fix-right-first{box-shadow:-8px 0 16px -16px #0f172a99}.account-table .ant-table-cell-fix-left-last{box-shadow:8px 0 16px -16px #0f172a59}.account-name{max-width:90px;display:inline-block}.account-proxy-select,.account-device-select{width:100%}.account-created-at{font-variant-numeric:tabular-nums;white-space:nowrap;line-height:1.45;display:inline-block}.account-feature-control{white-space:nowrap;align-items:center;gap:5px;display:flex}.account-feature-control .ant-tag{margin:0;padding-inline:5px;font-size:11px;line-height:20px}.account-action-cell{white-space:nowrap}.account-action-bar{justify-content:flex-end;align-items:center;gap:5px;display:flex}.account-action-bar .ant-btn{color:#475569;height:30px;padding-inline:8px;font-size:12px}.account-action-bar .ant-btn:hover{color:#1677ff!important;background:#eef4ff!important}.account-action-bar .account-action-violet:hover{color:#722ed1!important;background:#f9f0ff!important}.account-action-bar .ant-btn-dangerous{color:#ef4444}.account-action-bar .ant-btn-dangerous:hover{color:#cf1322!important;background:#fff1f0!important}.account-action-more{background:#f7fbff;border-color:#d9e8fb;font-weight:600;color:#1677ff!important}.account-action-more:hover{color:#0958d9!important;background:#e6f4ff!important;border-color:#91caff!important}.telegram-reply{color:#475569;white-space:pre-wrap;background:#f8fafc;border-radius:6px;max-height:240px;padding:10px 12px;overflow:auto;margin:0!important}.task-detail-loading{justify-content:center;align-items:center;min-height:220px;display:flex}.task-text-block{color:#475569;white-space:pre-wrap;overflow-wrap:anywhere;background:#f8fafc;border:1px solid #e5e7eb;border-radius:6px;max-height:160px;margin-top:6px;padding:10px 12px;overflow:auto}.task-config-modal .ant-modal-body{max-height:calc(100dvh - 150px);padding-right:4px;overflow-y:auto}.dialogs-modal .ant-modal-body{max-height:calc(100dvh - 150px);overflow-y:auto}.member-extract-modal .ant-modal-body{max-height:calc(100dvh - 180px);overflow-y:auto}.dialogs-actions{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.dialogs-table .ant-table-thead>tr>th{color:#475569;font-size:12px;font-weight:600}.dialogs-table .ant-table-tbody>tr:hover>td{background:#f0f7ff!important}.dialog-permissions .ant-tag{text-align:center;min-width:25px;margin:0;padding-inline:5px}.task-config-status{border-bottom:1px solid #eef2f7;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;padding:12px 0 18px;display:flex}.task-config-section-title{color:#0f172a;align-items:center;gap:18px;margin:22px 0 18px;font-size:16px;font-weight:700;display:flex}.task-config-section-title:before,.task-config-section-title:after{content:"";background:#e5e7eb;flex:1;height:1px}.task-mode-group{flex-wrap:wrap;display:flex}.task-dynamic-row{align-items:flex-start;gap:8px;width:100%;display:flex}.task-dynamic-row>.ant-form-item{flex:1;margin-bottom:0}.task-card-row{grid-template-columns:1fr 1fr 1.35fr 36px;align-items:start;gap:10px;width:100%;display:grid}.task-card-row>.ant-form-item{margin-bottom:0}.task-card-row>.ant-btn{margin-top:1px}.premium-tag{margin:0;padding-inline:4px;font-size:10px;line-height:18px}.mono-cell{font-variant-numeric:tabular-nums}.mobile-drawer .ant-drawer-body,.mobile-drawer .ant-drawer-content{background:#001529;padding:0}.form-panel{max-width:720px;padding:6px 2px 12px}.form-alert,.table-alert,.modal-alert{margin-bottom:16px}.guide-panel{background:#f7fbff;border:1px solid #d9e8fb;border-radius:8px;min-height:100%;padding:18px}.guide-panel h3.ant-typography{color:#1e3a5f;margin:0 0 12px;font-size:15px}.guide-panel ul{color:#52657a;margin:0;padding-left:20px;line-height:1.8}.full-width{width:100%}.stat-row{margin-bottom:16px}.stat-row .ant-card{background:#fafcff;border-color:#e5e7eb}.stat-row .ant-statistic-title{color:#64748b;font-size:12px}.stat-row .ant-statistic-content{color:#0f172a;font-variant-numeric:tabular-nums;font-size:24px}.ant-upload-wrapper .ant-upload-drag{background:#fafcff}.ant-result{padding-block:36px}@media (width<=767px){.auth-shell{padding:16px}.login-card .ant-card-body{padding:22px}.app-content{padding:12px}.surface-card .ant-card-body{padding:14px}.page-header{flex-wrap:wrap;align-items:center}.page-header .ant-typography-secondary{display:none}.account-table{width:100%;overflow:hidden}.selection-bar{flex-direction:column;align-items:flex-start}.app-shell .ant-btn,.account-feature-control{min-height:44px}.account-feature-control .ant-switch{min-width:44px}.account-toolbar{align-items:stretch}.account-search{width:100%}.group-filter,.status-filter{flex:140px}.group-filter,.status-filter,.group-filter .ant-select-selector,.status-filter .ant-select-selector{min-height:44px!important}.group-filter .ant-select-selector,.status-filter .ant-select-selector{align-items:center}.ant-input,.ant-input-number-input,.ant-select-selection-item,.ant-select-selection-placeholder{font-size:16px!important}.ant-table-content{-webkit-overflow-scrolling:touch;touch-action:pan-x}.mobile-list-table .ant-table-content>table,.mobile-list-table .ant-table-header>table,.mobile-list-table .ant-table-body>table{min-width:720px!important}.mobile-list-table.compact-list-table .ant-table-content>table,.mobile-list-table.compact-list-table .ant-table-header>table,.mobile-list-table.compact-list-table .ant-table-body>table{min-width:480px!important}.mobile-list-table.detail-list-table .ant-table-content>table,.mobile-list-table.detail-list-table .ant-table-header>table,.mobile-list-table.detail-list-table .ant-table-body>table{min-width:700px!important}.account-table .ant-table-content>table,.account-table .ant-table-header>table,.account-table .ant-table-body>table{min-width:1760px!important}.dialogs-table .ant-table-content>table,.dialogs-table .ant-table-header>table,.dialogs-table .ant-table-body>table{min-width:1140px!important}.guide-panel{padding:14px}.form-panel{max-width:none}.task-config-modal{max-width:calc(100vw - 16px);margin:0 auto;padding-bottom:8px;top:8px;width:calc(100vw - 16px)!important}.task-config-modal .ant-modal-content{padding:16px 14px}.task-config-modal .ant-modal-body{max-height:calc(100dvh - 74px)}.dialogs-modal{max-width:calc(100vw - 16px);margin:0 auto;padding-bottom:8px;top:8px;width:calc(100vw - 16px)!important}.dialogs-modal .ant-modal-content{padding:16px 14px}.dialogs-modal .ant-modal-body{max-height:calc(100dvh - 74px)}.member-extract-modal{max-width:calc(100vw - 16px);margin:0 auto;padding-bottom:8px;top:8px;width:calc(100vw - 16px)!important}.member-extract-modal .ant-modal-content{padding:16px 14px}.member-extract-modal .ant-modal-body{max-height:calc(100dvh - 150px)}.dialogs-actions,.task-config-status{flex-direction:column;align-items:flex-start}.task-card-row{grid-template-columns:1fr;gap:0}.task-card-row>.ant-btn{justify-self:end;margin-bottom:8px}.task-mode-group .ant-radio-button-wrapper{text-align:center;flex:50%;min-height:44px;line-height:42px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.message-content-editor{width:100%}.message-content-tools{min-height:28px;margin-top:6px}.message-image-chip{background:#f8fafc;border:1px solid #dbe3ef;border-radius:6px;align-items:center;gap:6px;max-width:100%;padding:3px 8px 3px 4px;display:inline-flex}.message-image-chip img{object-fit:cover;border-radius:4px;width:36px;height:36px}.message-image-chip .ant-typography{max-width:180px}
