/* Single source for customer dropdown colors. Levels follow fields, never account roles.
 * Operations: 12% tint. Development: 30% tint. Business: 78% tint.
 * All labels use hue-matched dark ink; blank options remain uncolored. */
.choice-control[data-field="has_reply"],
.choice-menu[data-field="has_reply"],
.fg-options[data-field="has_reply"],
.fg-cell[data-cell="has_reply"],
.choice-control[data-field="transfer"],
.choice-menu[data-field="transfer"],
.fg-options[data-field="transfer"],
.fg-cell[data-cell="transfer"],
.choice-control[data-field="qualification_status"],
.choice-menu[data-field="qualification_status"],
.fg-options[data-field="qualification_status"],
.fg-cell[data-cell="qualification_status"],
.choice-control[data-field="handover_type"],
.choice-menu[data-field="handover_type"],
.fg-options[data-field="handover_type"],
.fg-cell[data-cell="handover_type"],
.choice-control[data-field="handed_to"],
.choice-menu[data-field="handed_to"],
.fg-options[data-field="handed_to"],
.fg-cell[data-cell="handed_to"],
.choice-control[data-field="nextReply"],
.choice-menu[data-field="nextReply"],
.fg-options[data-field="nextReply"],
.fg-cell[data-cell="nextReply"],
.choice-control[data-field="nextQualification"],
.choice-menu[data-field="nextQualification"],
.fg-options[data-field="nextQualification"],
.fg-cell[data-cell="nextQualification"],
.choice-control[data-field="nextHandoverType"],
.choice-menu[data-field="nextHandoverType"],
.fg-options[data-field="nextHandoverType"],
.fg-cell[data-cell="nextHandoverType"],
.choice-control[data-field="nextOwner"],
.choice-menu[data-field="nextOwner"],
.fg-options[data-field="nextOwner"],
.fg-cell[data-cell="nextOwner"],
.choice-control[data-field="wf-has_reply"],
.choice-menu[data-field="wf-has_reply"],
.fg-options[data-field="wf-has_reply"],
.fg-cell[data-cell="wf-has_reply"],
.choice-control[data-field="wf-handover_type"],
.choice-menu[data-field="wf-handover_type"],
.fg-options[data-field="wf-handover_type"],
.fg-cell[data-cell="wf-handover_type"],
.crm-table td[data-label="二次回复"],.crm-table .transfer-control {
  --tag-strength:30%; --tag-weight:600; --neutral-strength:22%;
}
.choice-control[data-field="follow_progress"],
.choice-menu[data-field="follow_progress"],
.fg-options[data-field="follow_progress"],
.fg-cell[data-cell="follow_progress"],
.choice-control[data-field="follow_disposition"],
.choice-menu[data-field="follow_disposition"],
.fg-options[data-field="follow_disposition"],
.fg-cell[data-cell="follow_disposition"],
.choice-control[data-field="is_sample"],
.choice-menu[data-field="is_sample"],
.fg-options[data-field="is_sample"],
.fg-cell[data-cell="is_sample"],
.choice-control[data-field="deal_stage"],
.choice-menu[data-field="deal_stage"],
.fg-options[data-field="deal_stage"],
.fg-cell[data-cell="deal_stage"],
.choice-control[data-field="nextBusiness"],
.choice-menu[data-field="nextBusiness"],
.fg-options[data-field="nextBusiness"],
.fg-cell[data-cell="nextBusiness"],
.choice-control[data-field="nextDisposition"],
.choice-menu[data-field="nextDisposition"],
.fg-options[data-field="nextDisposition"],
.fg-cell[data-cell="nextDisposition"],
.choice-control[data-field="nextDeal"],
.choice-menu[data-field="nextDeal"],
.fg-options[data-field="nextDeal"],
.fg-cell[data-cell="nextDeal"],
.choice-control[data-field="nextSampleKind"],
.choice-menu[data-field="nextSampleKind"],
.fg-options[data-field="nextSampleKind"],
.fg-cell[data-cell="nextSampleKind"],
.choice-control[data-field="wf-follow_progress"],
.choice-menu[data-field="wf-follow_progress"],
.fg-options[data-field="wf-follow_progress"],
.fg-cell[data-cell="wf-follow_progress"],
.choice-control[data-field="wf-is_sample"],
.choice-menu[data-field="wf-is_sample"],
.fg-options[data-field="wf-is_sample"],
.fg-cell[data-cell="wf-is_sample"],
.choice-control[data-field="wf-deal_stage"],
.choice-menu[data-field="wf-deal_stage"],
.fg-options[data-field="wf-deal_stage"],
.fg-cell[data-cell="wf-deal_stage"],
.crm-table td[data-label="业务状态"],.crm-table td[data-label="业务跟进"],.crm-table td[data-label="寄样 / 成交"] {
  --tag-strength:78%; --tag-weight:650; --neutral-strength:30%;
}
/* Development disposition uses the development tier in both control and popup. */
.next-body[data-stage="ray"] .choice-control[data-field="nextDisposition"],
.choice-menu[data-stage="ray"][data-field="nextDisposition"] {--tag-strength:30%;--neutral-strength:22%;}

.pill.green,.fg-tag.green,.fg-option-label.green{--tag-hue:#00c888;--tag-ink:#075436;}

.pill.blue,.fg-tag.blue,.fg-option-label.blue{--tag-hue:#0098ff;--tag-ink:#063c67;}

.pill.amber,.fg-tag.amber,.fg-option-label.amber{--tag-hue:#ffb000;--tag-ink:#754400;}

.pill.purple,.fg-tag.purple,.fg-option-label.purple{--tag-hue:#a065ff;--tag-ink:#4c287b;}

.pill.rose,.fg-tag.rose,.fg-option-label.rose{--tag-hue:#ff567c;--tag-ink:#7a2340;}

.pill.cyan,.fg-tag.cyan,.fg-option-label.cyan{--tag-hue:#00bbce;--tag-ink:#07515c;}

.pill.gray,.fg-tag.gray,.fg-option-label.gray{--tag-hue:#87968e;--tag-ink:#47584f;}

:is(.crm-table,.choice-control,.choice-menu,.fg-options,.next-body) .pill,
.fg-cell .fg-tag,.fg-options .fg-option-label {
  background:color-mix(in srgb,var(--tag-hue,#0098ff) var(--tag-strength,12%),white)!important;
  color:var(--tag-ink,#063c67)!important;
  font-weight:var(--tag-weight,550)!important;
  text-shadow:none!important;
}
:is(.crm-table,.choice-control,.choice-menu,.fg-options,.next-body) .pill.gray,.fg-cell .fg-tag.gray,.fg-options .fg-option-label.gray {
  background:color-mix(in srgb,var(--tag-hue) var(--neutral-strength,12%),white)!important;
}
.business-state {background:#adf3d8;color:#075436;font-weight:650;}

/* Current and historical assignees keep the Tencent workbook identity colors. */
.pill.staff-crystal,.fg-tag.staff-crystal,.fg-option-label.staff-crystal{--tag-hue:#f97316;--tag-ink:#8f310c}
.pill.staff-sybil,.fg-tag.staff-sybil,.fg-option-label.staff-sybil{--tag-hue:#38bdf8;--tag-ink:#07506f}
.pill.staff-juliet,.fg-tag.staff-juliet,.fg-option-label.staff-juliet{--tag-hue:#fde68a;--tag-ink:#704a08}
.pill.staff-jane,.fg-tag.staff-jane,.fg-option-label.staff-jane{--tag-hue:#6ee7b7;--tag-ink:#07583f}
.pill.staff-phoebe,.fg-tag.staff-phoebe,.fg-option-label.staff-phoebe{--tag-hue:#e879f9;--tag-ink:#722479}
.pill.staff-willow,.fg-tag.staff-willow,.fg-option-label.staff-willow{--tag-hue:#fca5a5;--tag-ink:#7f2929}
.pill.staff-newland,.fg-tag.staff-newland,.fg-option-label.staff-newland{--tag-hue:#d5ddd8;--tag-ink:#45584d;background:#fff!important;box-shadow:inset 0 0 0 1px #cfdad3}
.pill.staff-ray,.fg-tag.staff-ray,.fg-option-label.staff-ray{--tag-hue:#a855f7;--tag-ink:#55207d}
.pill.staff-aimee,.fg-tag.staff-aimee,.fg-option-label.staff-aimee{--tag-hue:#facc15;--tag-ink:#664a00}
