:root{color:#1f2933;background:#f3f5f8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0}body{overflow:hidden}.app-shell{min-width:1180px;min-height:100vh}.auth-shell{min-width:0;min-height:100vh;overflow:auto;background:#eef2f7}.crm-auth-page{display:flex;width:100%;min-height:100vh;align-items:center;justify-content:center;padding:40px;background:linear-gradient(90deg,rgba(23,43,74,.04) 1px,transparent 1px),linear-gradient(180deg,rgba(23,43,74,.04) 1px,transparent 1px),#eef2f7;background-size:28px 28px,28px 28px,auto}.crm-auth-frame{display:grid;width:min(1080px,100%);min-height:500px;overflow:hidden;grid-template-columns:minmax(420px,1fr) 430px;background:#fff;border:1px solid #d9e0ea;border-radius:8px;box-shadow:0 24px 60px #11182729}.crm-auth-brand{display:flex;min-width:0;flex-direction:column;justify-content:center;gap:34px;padding:38px 44px;color:#fff;background:linear-gradient(135deg,rgba(45,212,191,.18),transparent 34%),linear-gradient(315deg,rgba(245,158,11,.2),transparent 30%),#14213d}.crm-auth-brand__content{max-width:500px;padding:0}.crm-auth-brand h1{margin:0 0 18px;color:#fff;font-size:44px;font-weight:800;line-height:1.16;letter-spacing:0}.crm-auth-brand p{max-width:460px;margin:0;color:#ffffffc7;font-size:16px;line-height:1.8}.crm-auth-brand__highlights{display:grid;gap:12px}.crm-auth-brand__highlight{display:flex;align-items:flex-start;gap:12px;padding:14px;border:1px solid rgba(255,255,255,.14);border-radius:8px;background:#ffffff14}.crm-auth-brand__highlight-icon{display:inline-flex;width:34px;height:34px;flex:0 0 auto;align-items:center;justify-content:center;border-radius:8px;color:#2dd4bf;background:#2dd4bf24;font-size:18px}.crm-auth-brand__highlight strong,.crm-auth-brand__highlight span{display:block}.crm-auth-brand__highlight strong{color:#fff;font-size:14px;line-height:22px}.crm-auth-brand__highlight div>span{margin-top:3px;color:#ffffffa8;font-size:13px;line-height:20px}.crm-auth-login-panel{display:flex;min-width:0;align-items:center;justify-content:center;padding:38px 54px;background:#fff}.crm-auth-login-card{width:100%;max-width:360px}.crm-auth-login-card__header{margin-bottom:32px}.crm-auth-login-card__header h2{margin:0;color:#111827;font-size:30px;font-weight:800;line-height:38px;letter-spacing:0}.crm-auth-form .ant-form-item{margin-bottom:18px}.crm-auth-form .ant-form-item-label{padding-bottom:8px}.crm-auth-form .ant-form-item-label>label{height:auto;color:#344054;font-size:14px;font-weight:600}.crm-auth-form .ant-input-affix-wrapper{min-height:44px;padding:0 13px;border-radius:6px;background:#fff}.crm-auth-form .ant-input-affix-wrapper:hover,.crm-auth-form .ant-input-affix-wrapper-focused{border-color:#1677ff;box-shadow:0 0 0 3px #1677ff1a}.crm-auth-form .ant-input-prefix{margin-inline-end:9px;color:#98a2b3}.crm-auth-form__alert{margin-bottom:18px;border-radius:6px}.crm-auth-form__options{margin-top:-4px;margin-bottom:22px!important}.crm-auth-form__options .ant-form-item-control-input{min-height:22px}.crm-auth-form__submit{height:44px;border-radius:6px;box-shadow:0 10px 20px #1677ff2e;font-weight:700}@media(max-width:860px){.crm-auth-page{align-items:stretch;padding:20px}.crm-auth-frame{min-height:auto;grid-template-columns:1fr}.crm-auth-brand{padding:30px}.crm-auth-brand__content{padding:38px 0 28px}.crm-auth-brand h1{font-size:32px}.crm-auth-login-panel{padding:34px 28px 38px}}@media(max-width:600px){.crm-auth-page{padding:0;background:#fff}.crm-auth-frame{min-height:100vh;border:0;border-radius:0;box-shadow:none}.crm-auth-brand{display:none}.crm-auth-login-panel{align-items:flex-start;padding:46px 22px}}.top-nav{height:54px;padding:0 22px;background:#172b4a;line-height:54px}.top-nav__inner{height:54px}.top-nav__brand{flex:0 0 auto;color:#fff;font-size:16px;font-weight:700}.top-nav__menu{flex:1;min-width:0;height:54px;color:#fff;background:transparent;border-bottom:0;line-height:54px}.top-nav__menu.ant-menu-dark,.top-nav__menu.ant-menu-horizontal{background:transparent}.top-nav__menu.ant-menu-horizontal{border-bottom:0}.top-nav__menu .ant-menu-item{top:0;display:inline-flex;height:54px;align-items:center;margin:0 7px;padding:0 12px;color:#ffffffeb!important;border-radius:7px!important;font-size:16px;font-weight:700;line-height:54px}.top-nav__menu .ant-menu-title-content{position:relative;display:inline-flex;align-items:center;z-index:1;line-height:1}.top-nav__menu .ant-menu-title-content:before{position:absolute;top:50%;left:50%;z-index:-1;width:calc(100% + 18px);height:34px;border-radius:7px;background:#fff;content:"";opacity:0;pointer-events:none;transform:translate(-50%,-50%);transition:none}.top-nav__menu .ant-menu-item:after{right:10px!important;bottom:0!important;left:10px!important;border-bottom:4px solid transparent!important;border-radius:4px 4px 0 0}.top-nav__menu .ant-menu-item:hover,.top-nav__menu .ant-menu-item-active{color:#172033!important;background:transparent!important}.top-nav__menu .ant-menu-item:hover .ant-menu-title-content:before,.top-nav__menu .ant-menu-item-active .ant-menu-title-content:before{opacity:1}.top-nav__menu .ant-menu-item:hover:after,.top-nav__menu .ant-menu-item-active:after{border-bottom-color:transparent!important}.top-nav__menu .ant-menu-item-selected{height:54px;align-self:center;border-radius:7px!important;color:#fff!important;background:transparent!important;line-height:54px}.top-nav__menu .ant-menu-item-selected:after,.top-nav__menu .ant-menu-item-selected:hover:after,.top-nav__menu .ant-menu-item-selected.ant-menu-item-active:after{border-bottom-color:#1677ff!important}.top-nav__menu .ant-menu-item-selected:hover,.top-nav__menu .ant-menu-item-selected.ant-menu-item-active{height:54px;align-self:center;color:#172033!important;background:transparent!important;line-height:54px}.top-nav__menu .ant-menu-item-selected:hover .ant-menu-title-content,.top-nav__menu .ant-menu-item-selected.ant-menu-item-active .ant-menu-title-content{color:#172033}.top-nav__actions{flex:0 0 auto}.top-nav__actions .ant-btn,.user-menu{display:inline-flex;height:34px;align-items:center;justify-content:center;border-radius:7px;color:#ffffffe6!important;font-weight:700;line-height:1}.top-nav__actions .ant-btn{min-width:34px}.top-nav__actions .user-menu{padding:0 10px}.top-nav__actions .ant-btn:hover,.top-nav__actions .ant-btn:focus-visible,.top-nav__actions .ant-btn:active,.top-nav__actions .ant-btn.ant-dropdown-open,.top-nav__actions .user-menu:hover,.top-nav__actions .user-menu:focus-visible,.top-nav__actions .user-menu:active,.top-nav__actions .user-menu.ant-dropdown-open{color:#172033!important;background:#fff!important}.top-nav__actions .ant-btn .anticon,.top-nav__actions .user-menu .anticon{color:inherit}.top-nav__actions .ant-avatar{color:#fff;background:#050e1e47}.top-nav__actions .ant-badge-count{box-shadow:0 0 0 1px #172b4a}.app-body{height:calc(100vh - 54px);background:#f3f5f8}.side-menu{overflow:auto;background:#fff;border-right:1px solid #e5e8ef}.side-menu__title{display:block;padding:18px 18px 10px;color:#2d3748;font-weight:700}.side-menu .ant-menu{border-inline-end:0}.app-content{overflow:auto;padding:16px}.crm-page{display:flex;min-height:100%;flex-direction:column;gap:14px}.crm-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:10px 0 4px}.crm-page-header>div{min-width:0}.crm-page-header h1{margin:0;color:#111827;font-size:30px;font-weight:700;line-height:38px}.crm-page-header>div>span{display:block;margin-top:6px;color:#4b5563;font-size:14px;line-height:22px}.crm-page-header>.ant-space,.crm-page-header__actions{align-items:center;flex:0 0 auto;gap:10px!important;padding-top:0}.crm-page-header__actions{display:inline-flex;align-items:center;gap:8px}.crm-page-header__table-actions{display:inline-flex!important;height:40px;align-items:center;line-height:1}.crm-page-header__table-actions>.ant-btn{align-self:center}.crm-page-header .ant-btn{display:inline-flex;min-width:88px;height:40px;align-items:center;justify-content:center;gap:7px;padding:0 18px;border-color:#d7dce3;border-radius:6px;color:#344054;background:#fff;box-shadow:0 1px 2px #0f172a0f;font-size:14px;font-weight:600;line-height:1}.crm-page-header .ant-btn>span,.crm-page-header .ant-btn .ant-btn-icon{display:inline-flex;align-items:center;justify-content:center;margin:0;color:inherit;line-height:1}.crm-page-header .ant-btn:hover,.crm-page-header .ant-btn:focus-visible{border-color:#b9c2d0;color:#1f2937;background:#fff}.crm-page-header .ant-btn-primary{border-color:#1677ff;color:#fff;background:#1677ff;box-shadow:0 6px 14px #1677ff2e}.crm-page-header .ant-btn-primary:hover,.crm-page-header .ant-btn-primary:focus-visible{border-color:#0958d9;color:#fff;background:#0958d9}.crm-list-card,.crm-page .ant-card:has(.data-table){overflow:hidden;background:transparent;border-color:transparent;border-radius:6px;box-shadow:none}.crm-list-card>.ant-card-body,.crm-page .ant-card:has(.data-table)>.ant-card-body{padding:0;background:transparent}.crm-page .ant-card:has(>.ant-card-body>.ant-table-wrapper){overflow:hidden;border-color:#e5e8ef;border-radius:6px;box-shadow:none}.crm-page .ant-card:has(>.ant-card-body>.ant-table-wrapper)>.ant-card-body{padding:0}.crm-list-toolbar{display:flex;align-items:center;gap:12px;padding:18px 0 8px;overflow-x:auto;overflow-y:hidden}.crm-list-toolbar .ant-input-search{flex:0 0 280px;width:280px}.crm-list-toolbar .ant-input-affix-wrapper,.crm-list-toolbar .ant-input-group-addon .ant-btn{height:38px}.crm-list-toolbar .ant-input{font-size:14px}.crm-list-toolbar .ant-input-search>.ant-input-group .ant-input-group-addon .ant-btn{width:52px;font-size:16px}.crm-list-toolbar .quick-filter-bar{display:inline-flex;flex:0 0 auto;gap:8px;background:transparent}.page-header,.list-toolbar,.placeholder-panel,.detail-header,.advanced-filter,.data-table{background:#fff;border:1px solid #e5e8ef;border-radius:6px}.page-header{padding:14px 16px}.page-title,.page-header__title,.detail-header__title{margin:0!important}.list-toolbar{padding:12px}.list-toolbar__left{flex:1}.search-box{width:320px}.quick-filter-bar__item{min-width:96px;height:34px;border:0;border-radius:6px;padding:0 14px;color:#4b5563;background:#eef0f4;cursor:pointer;font:inherit;font-size:14px;font-weight:600;line-height:34px;text-align:center;transition:none}.quick-filter-bar__item:hover,.quick-filter-bar__item:active,.quick-filter-bar__item:focus{color:#4b5563;background:#eef0f4;outline:none}.quick-filter-bar__item.is-active,.quick-filter-bar__item.is-active:hover,.quick-filter-bar__item.is-active:active,.quick-filter-bar__item.is-active:focus{color:#fff;background:#334767}.advanced-filter{padding:12px}.data-table{position:relative;overflow:hidden;padding:0 0 20px}.data-table .ant-table{font-size:13px;white-space:nowrap}.data-table__settings{padding:12px 18px 0}.data-table .ant-table-container{border:0;border-radius:0}.data-table .ant-table-content{border-radius:6px 6px 0 0}.data-table .ant-table-thead>tr>th{background:#f7f8fa;color:#111827;font-size:14px;font-weight:700;white-space:nowrap}.data-table .ant-table-thead>tr>th,.data-table .ant-table-tbody>tr>td{padding:14px 16px;white-space:nowrap}.data-table .ant-table-tbody>tr>td{color:#1f2937}.data-table .ant-pagination{padding:0 18px}.data-table__resizable-th{position:relative}.data-table__resizable-th:after{content:"";position:absolute;top:0;right:-4px;bottom:0;width:8px;cursor:col-resize;z-index:3}body.is-column-resizing{cursor:col-resize;-webkit-user-select:none;user-select:none}.data-table__header-cell{width:100%;min-width:0;padding-right:8px;white-space:nowrap}.data-table__header-cell .ant-space,.data-table__header-cell .sortable-header{flex-wrap:nowrap;white-space:nowrap}.sortable-header__button{width:20px;height:20px;padding:0;color:#9aa4b2}.sortable-header__button.is-active,.column-filter__trigger.is-active{color:#1677ff}.column-filter__panel,.column-filter{min-width:220px;padding:10px;background:#fff;border-radius:6px;box-shadow:0 6px 20px #0f172a1f}.column-setting-row__fixed{width:88px}.crm-center-modal{max-width:calc(100vw - 48px)}.crm-center-modal .ant-modal-content{display:flex;max-height:calc(100vh - 64px);flex-direction:column;overflow:hidden;padding:0;border-radius:8px}.crm-center-modal .ant-modal-header{flex:0 0 auto;margin:0;padding:12px 20px;border-bottom:1px solid #eef1f5}.crm-center-modal .ant-modal-title{color:#111827;font-size:16px;font-weight:700;line-height:24px}.crm-center-modal .ant-modal-close{top:10px;width:28px;height:28px;border-radius:6px}.crm-center-modal .ant-modal-body{flex:1 1 auto;min-height:0;overflow:auto;padding:14px 20px}.crm-center-modal .ant-modal-footer{flex:0 0 auto;margin:0;padding:10px 20px 12px;border-top:1px solid #eef1f5}.crm-center-modal .ant-modal-footer .ant-space{justify-content:flex-end}.crm-center-modal__event-boundary{width:100%}.crm-center-modal .ant-form-item{margin-bottom:12px}.crm-center-modal .ant-form-item:last-child{margin-bottom:0}.crm-center-modal .ant-form-vertical .ant-form-item-label{padding-bottom:4px}.crm-center-modal .ant-form-item-label>label{height:22px;color:#344054;font-size:13px;font-weight:500}.crm-center-modal .ant-form-item-explain,.crm-center-modal .ant-form-item-extra{min-height:18px;margin-top:2px;font-size:12px;line-height:18px}.crm-center-modal .ant-input,.crm-center-modal .ant-input-affix-wrapper,.crm-center-modal .ant-input-number,.crm-center-modal .ant-picker{border-radius:6px}.crm-modal-form-grid{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;row-gap:0}.crm-modal-form-grid--single{grid-template-columns:minmax(0,1fr)}.crm-modal-form-grid>.ant-form-item{min-width:0}.crm-modal-form-grid>.crm-modal-form-grid__full,.crm-modal-form-grid>.ant-form-item.crm-modal-form-grid__full{grid-column:1 / -1}.crm-modal-switch-row{display:flex;flex-wrap:wrap;align-items:flex-start;column-gap:24px;row-gap:0}.crm-modal-switch-row>.ant-form-item{margin-bottom:0}.work-number-sales-grid{display:grid;width:100%;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px}.work-number-sales-card.ant-radio-wrapper{align-items:flex-start;min-height:92px;margin:0;padding:12px;border:1px solid #d8dee8;border-radius:6px;background:#fff;transition:none}.work-number-sales-card.ant-radio-wrapper:hover{border-color:#1677ff}.work-number-sales-card.ant-radio-wrapper-checked{border-color:#1677ff;background:#eef6ff}.work-number-sales-card .ant-radio{margin-top:2px}.work-number-sales-card>span:last-child{display:flex;min-width:0;flex-direction:column;gap:4px}.work-number-sales-card__name{color:#111827;font-size:15px;font-weight:700;line-height:22px}.work-number-sales-card__meta{overflow:hidden;color:#667085;font-size:12px;line-height:18px;text-overflow:ellipsis;white-space:nowrap}.flat-option-select{display:flex;flex-wrap:wrap;width:100%;column-gap:24px;row-gap:8px}.flat-option-select__item.ant-radio-wrapper,.flat-option-select__item.ant-checkbox-wrapper{align-items:center;margin:0;padding:4px 0;border:none;border-radius:0;background:transparent;box-shadow:none;transition:none}.flat-option-select__item.ant-radio-wrapper:hover,.flat-option-select__item.ant-checkbox-wrapper:hover,.flat-option-select__item.ant-radio-wrapper-checked,.flat-option-select__item.ant-checkbox-wrapper-checked{border:none;background:transparent}.flat-option-select__item .ant-radio,.flat-option-select__item .ant-checkbox{margin-top:0}.flat-option-select__item>span:last-child{display:flex;min-width:0;align-items:center;gap:6px}.flat-option-select__label{color:#111827;font-size:14px;font-weight:400;line-height:20px;white-space:nowrap}.flat-option-select__description{color:#667085;font-size:12px;line-height:18px;white-space:nowrap}.flat-option-select__empty{display:flex;min-height:32px;align-items:center;color:#667085;font-size:13px}.field-source-note{margin:-6px 0 12px;color:#667085;font-size:12px;line-height:18px}.field-value-block .field-value-block__body{display:flex;flex-direction:column;gap:8px}.field-value-block .field-value-block__body .ant-form-item{margin-bottom:0}.field-system-summary{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}.crm-modal-form-grid>.field-system-summary{margin:0}.field-system-summary__item{display:inline-flex;min-height:30px;align-items:center;padding:4px 10px;border:1px solid #d8dee8;border-radius:6px;background:#f8fafc;color:#344054;font-size:13px;line-height:20px}.form-section,.detail-tabs{background:#fff}.form-actions{display:flex;justify-content:flex-end;margin-top:8px}.detail-header{padding:14px 16px}.crm-timeline{padding:12px 8px}.crm-timeline__item{display:flex;flex-direction:column;gap:4px}.placeholder-panel{min-height:180px}.crm-section-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.crm-section-toolbar h3{margin:0;font-size:16px;font-weight:600;color:#1f2933}.crm-section-toolbar__right{display:inline-flex;align-items:center;gap:8px}.crm-dashboard-row{margin-top:16px}.crm-funnel{display:flex;flex-direction:column;gap:8px}.crm-funnel__item{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;background:linear-gradient(90deg,#e6f4ff,#f0f8ff);border:1px solid #bae0ff;border-radius:6px;color:#1f2933}.crm-funnel__stage{font-weight:600}.crm-funnel__count{color:#1677ff;font-weight:600;font-size:16px}.crm-funnel__summary{display:flex;gap:24px;margin-top:16px;padding-top:12px;border-top:1px dashed #e2e7ef}.crm-funnel__summary-item{display:inline-flex;align-items:baseline;gap:8px;color:#475569;font-size:13px}.crm-funnel__summary-item strong{color:#1f2933;font-size:16px}.crm-opportunity-stage-card{max-width:760px;margin:0 auto}.crm-opportunity-stage-card .ant-card-head{min-height:48px;padding:0 20px}.crm-opportunity-stage-card .ant-card-head-title{font-size:15px;font-weight:600;color:#1f2933}.crm-opportunity-stage-card .ant-card-body{padding:20px 20px 18px}.crm-opportunity-stage-card__steps{padding:22px 24px 24px;background:linear-gradient(180deg,#f7f9fc,#fafbfd);border:1px solid #eef0f4;border-radius:8px}.crm-opportunity-steps{width:100%}.crm-opportunity-steps .ant-steps-item-title{font-weight:600}.crm-opportunity-lost-reason{display:flex;gap:8px;align-items:flex-start;margin-top:16px;padding:10px 14px;background:#fff1f0;border:1px solid #ffccc7;border-radius:6px;color:#ad2114;font-size:13px;line-height:20px}.crm-opportunity-lost-reason__label{flex:0 0 64px;font-weight:600}.crm-opportunity-lost-reason__value{flex:1;white-space:pre-wrap;word-break:break-word}.crm-follow-up-summary{display:flex;flex-wrap:wrap;gap:8px 24px;margin-bottom:12px;padding:12px 16px;background:#f6f8fb;border:1px solid #e2e7ef;border-radius:6px;color:#475569;font-size:13px}.crm-follow-up-summary__item{display:inline-flex;align-items:baseline;gap:6px}.crm-follow-up-summary__item strong{color:#1f2933;font-weight:600}.crm-follow-up-timeline{list-style:none;margin:0;padding:0 0 0 6px;border-left:1px solid #e2e7ef}.crm-follow-up-timeline__item{position:relative;padding:8px 0 16px 22px}.crm-follow-up-timeline__dot{position:absolute;top:14px;left:-7px;width:12px;height:12px;background:#2563eb;border-radius:50%;box-shadow:0 0 0 3px #fff}.crm-follow-up-timeline__body{display:flex;flex-direction:column;gap:6px}.crm-follow-up-timeline__header{display:flex;align-items:center;justify-content:space-between;gap:12px}.crm-follow-up-timeline__content{white-space:pre-wrap;color:#1f2933;line-height:1.6}.crm-follow-up-timeline__meta{color:#64748b;font-size:13px}.crm-link-danger{color:#d4380d}.crm-link-danger:hover{color:#ff7a45}.crm-list-toolbar__extra{flex:0 0 auto;margin-left:auto;display:inline-flex;align-items:center;gap:8px}.quick-filter-bar__item--manage{display:inline-flex;align-items:center;justify-content:center;min-width:0;padding-left:12px;padding-right:12px;color:#475569;background:#f1f5f9;border:1px dashed #cbd5f5;font-size:14px}.quick-filter-bar__item--manage:hover,.quick-filter-bar__item--manage:focus{background:#e2e8f0;color:#1d4ed8;border-color:#93c5fd}.scene-manage-modal__toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.scene-manage-modal__hint{color:#64748b;font-size:12px}.scene-condition-list{display:flex;flex-direction:column;gap:8px;margin-bottom:8px}.scene-condition-list__empty{color:#94a3b8;font-size:13px;padding:16px 0;text-align:center}.scene-condition-list__add{width:100%}.scene-condition-row{display:grid;grid-template-columns:200px 140px 1fr 32px;gap:8px;align-items:center}.scene-condition-row .ant-select{width:100%}.scene-condition-row__value>.ant-picker{width:100%}.scene-condition-row__value>.ant-input,.scene-condition-row__value>.ant-input-number{width:100%}.scene-condition-row__between{width:100%;display:flex}.scene-condition-row__between .ant-input-number{flex:1}.scene-condition-row__remove{color:#94a3b8}.scene-condition-row__remove:hover{color:#dc2626}.scene-form-modal__hint{color:#94a3b8;font-size:12px;margin-top:4px}
