.customer-management-scope{--customer-primary:#0758b8;--customer-primary-strong:#0b63ce;--customer-primary-soft:#edf5ff;--customer-canvas:#f5f7fa;--customer-surface:#ffffff;--customer-text:#24344b;--customer-muted:#66758a;--customer-border:#dce5ef;--customer-border-soft:#e8eef5;--customer-focus:#2f83e6;--customer-radius:4px;--customer-shadow:-8px 0 24px rgba(34,61,95,.14);background:var(--customer-canvas);color:var(--customer-text);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.customer-management-scope .customer-batch-drawer{width:430px;max-width:min(430px,calc(100vw - 154px))}.customer-management-scope .customer-batch-drawer>p{border:1px solid #d5e5f7;background:#f5f9ff}.customer-management-scope .batch-permissions{display:grid;grid-gap:7px;gap:7px;margin:2px 0 0;padding:0;list-style:none}.customer-management-scope .batch-permissions li{display:grid;grid-template-columns:18px minmax(0,1fr);grid-column-gap:6px;column-gap:6px;padding:8px 9px;border:1px solid #d9e7f6;border-radius:4px;background:#f7fbff;color:#385575}.customer-management-scope .batch-permissions li span{grid-row:1/span 2;color:#1b9a60;font-weight:700}.customer-management-scope .batch-permissions li small{color:#8292a6;font-size:11px}.customer-management-scope .batch-permissions li.disabled{background:#f7f8fa;border-color:#e3e7ed;color:#8b97a6}.customer-management-scope .batch-permissions li.disabled span{color:#a6b0bc}.customer-management-scope .batch-status-actions{display:grid;grid-gap:7px;gap:7px}.customer-management-scope .batch-status-actions button{min-height:35px;padding:0 10px;border:1px solid #d7e2ee;border-radius:4px;background:#fff;color:#52667e;text-align:left;font-size:12px}.customer-management-scope .batch-status-actions button.active{border-color:#2479df;background:#f0f7ff;color:#1264bd;font-weight:600}.customer-management-scope .batch-fields .drawer-check.disabled{color:#9aa6b4;background:#fafbfc}.customer-management-scope .batch-fields .drawer-check.disabled input{cursor:not-allowed}.customer-management-scope .batch-fields .drawer-check.disabled em{color:#a2acb8}.customer-management-scope .batch-result .conflict{color:#b27625}.customer-management-scope .batch-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:auto;padding:14px 0 0;border-top:1px solid #e5ebf2;background:#fff}.customer-management-scope .batch-footer>button{min-height:36px}.customer-management-scope .mobile-batch-bar,.customer-management-scope .mobile-batch-entry{display:none}@media (max-width:768px){.customer-management-scope .customer-batch-drawer{top:0;right:0;bottom:0;width:100vw;max-width:100vw;padding:0 14px 14px;border-left:0}.customer-management-scope .customer-batch-drawer>div:first-child{margin:0 -14px 12px;padding:0 14px}.customer-management-scope .customer-batch-drawer>p{margin:0 -2px 8px}.customer-management-scope .customer-batch-drawer .batch-operations{overflow-y:auto;padding-bottom:4px}.customer-management-scope .customer-batch-drawer .batch-footer{position:-webkit-sticky;position:sticky;bottom:0;z-index:2;margin:0 -14px;padding:11px 14px 14px}.customer-management-scope .mobile-batch-entry{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0;padding:7px 9px;border:1px solid #dbe7f3;border-radius:4px;background:#fff;color:#687b91;font-size:12px}.customer-management-scope .mobile-batch-entry button{min-height:30px;padding:0 10px;border:1px solid #cbd9e9;border-radius:3px;background:#fff;color:#1268c8}.customer-management-scope .mobile-batch-entry button.active{background:#0968d7;border-color:#0968d7;color:#fff}.customer-management-scope .mobile-batch-bar{position:fixed;z-index:35;right:0;bottom:0;left:0;display:flex;align-items:center;gap:7px;min-height:54px;padding:8px 10px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #d6e3f1;background:#fff;box-shadow:0 -4px 16px rgba(28,53,80,.12)}.customer-management-scope .mobile-batch-bar span{margin-right:auto;color:#385575;font-size:12px;font-weight:600}.customer-management-scope .mobile-batch-bar button{min-height:34px;padding:0 9px;border:1px solid #cbd9e9;border-radius:4px;background:#fff;color:#52667e;font-size:12px}.customer-management-scope .mobile-batch-bar button.primary{border-color:#0968d7;background:#0968d7;color:#fff}.customer-management-scope .mobile-batch-bar button:disabled{opacity:.45;cursor:not-allowed}.customer-management-scope .mobile-cards{padding-bottom:65px}.customer-management-scope .customer-card.selected{border-color:#2479df;background:#f5f9ff}.customer-management-scope .customer-card .card-header>input{width:16px;min-height:16px;margin:0 3px 0 0;accent-color:#0968d7}.customer-management-scope .customer-card .card-header{justify-content:flex-start}.customer-management-scope .customer-card .card-header .ref-tag{margin-left:auto}}.crm-shell.customer-management-scope{min-width:0;width:100%;max-width:100%;overflow-x:hidden}:root{--crm-topbar-surface:#102f46;--crm-topbar-text:#c9dce6;--crm-topbar-muted:#91afbe;--crm-topbar-active:#e8f8f2;--crm-topbar-active-text:#123f4e;--crm-topbar-accent:#7fe0bd}.topbar{background:var(--crm-topbar-surface);border-bottom:1px solid #244b60;box-shadow:0 4px 14px rgba(16,47,70,.2)}.topbar .brand{display:inline-flex;align-items:center;gap:10px;color:#f4fbfd;letter-spacing:.02em}.topbar .brand:before{width:8px;height:8px;border-radius:50%;background:var(--crm-topbar-accent);box-shadow:0 0 0 4px rgba(127,224,189,.12);content:""}.topbar nav{display:flex;align-items:center;gap:6px}.topbar nav button{position:relative;align-self:center;height:36px;padding:0 14px;border:1px solid transparent;border-bottom:0;border-radius:8px;background:transparent;color:var(--crm-topbar-text);font-size:14px;letter-spacing:.01em;transition:color .18s ease,background-color .18s ease,box-shadow .18s ease}.topbar nav button:after{position:absolute;right:12px;bottom:2px;left:12px;height:3px;border-radius:3px 3px 0 0;background:var(--crm-topbar-accent);content:"";opacity:0;transform:scaleX(.65);transition:opacity .18s ease,transform .18s ease}.topbar nav button.active:after{background:#0b63ce}.topbar nav button:hover{background:rgba(127,224,189,.1);color:#fff}.topbar nav button.active:after,.topbar nav button:hover:after{opacity:1;transform:scaleX(1)}.topbar nav button.active{background:var(--crm-topbar-active);color:var(--crm-topbar-active-text);box-shadow:inset 0 0 0 1px rgba(127,224,189,.42)}.topbar .hospital-context-select select:focus-visible,.topbar .mobile-toggle:focus-visible,.topbar .sign-out:focus-visible,.topbar nav button:focus-visible{outline:2px solid var(--crm-topbar-accent);outline-offset:2px}.topbar .context{color:var(--crm-topbar-text)}.topbar .context i{border-left-color:#416c7d}.topbar .notice:after{background:#f4bd69;color:#17374a}.topbar .avatar{width:28px;height:28px;background:var(--crm-topbar-active);color:var(--crm-topbar-active-text)}.topbar .hospital-context-select select{border-color:#4c788c;background:#1d4c63}.topbar .sign-out{border-color:#527d8f}.topbar .sign-out:hover{background:rgba(127,224,189,.1)}@media (prefers-reduced-motion:reduce){.topbar nav button,.topbar nav button:after{transition:none}}.customer-management-scope .sidebar{background:linear-gradient(180deg,#ffffff,#f6faff);border-right-color:var(--customer-border)}.customer-management-scope .sidebar>button{border-radius:var(--customer-radius);transition:background-color .16s ease,color .16s ease,box-shadow .16s ease}.customer-management-scope .sidebar>button:hover{background:var(--customer-primary-soft);color:var(--customer-primary-strong)}.customer-management-scope .sidebar>button.active{position:relative;background:linear-gradient(90deg,#e7f2ff,#f4f9ff);color:#fff;color:var(--customer-primary-strong);box-shadow:inset 0 0 0 1px #c4def9}.customer-management-scope .sidebar>button.active:before{position:absolute;top:7px;bottom:7px;left:0;width:3px;border-radius:0 4px 4px 0;background:#1478d4;content:""}.customer-management-scope .workspace{background:var(--customer-canvas);padding:14px 16px 24px}.customer-management-scope .page,.customer-management-scope .reference-page{max-width:none}.customer-management-scope .page h1,.customer-management-scope .page h2,.customer-management-scope .reference-page h1,.customer-management-scope .reference-page h2{color:var(--customer-text);letter-spacing:0}.customer-management-scope .page>h1,.customer-management-scope .reference-page h1{margin:4px 0 8px;font-size:20px;line-height:1.35}.customer-management-scope .ref-heading{margin-bottom:10px}.customer-management-scope .muted,.customer-management-scope .page>h1+p,.customer-management-scope .ref-heading p{color:var(--customer-muted);font-size:13px}.customer-management-scope .customer-lifecycle>div,.customer-management-scope .guide-transfer,.customer-management-scope .panel,.customer-management-scope .ref-card,.customer-management-scope .ref-filter-grid,.customer-management-scope .ref-info,.customer-management-scope .ref-warning,.customer-management-scope .valid-flow>div{border-color:var(--customer-border);border-radius:var(--customer-radius);box-shadow:none}.customer-management-scope .panel,.customer-management-scope .ref-card{background:var(--customer-surface)}.customer-management-scope .customer-master-tabs,.customer-management-scope .detail-tabs,.customer-management-scope .ref-tabs,.customer-management-scope .tabstrip{border-bottom-color:var(--customer-border)}.customer-management-scope .customer-master-tabs button,.customer-management-scope .detail-tabs button,.customer-management-scope .ref-tabs button,.customer-management-scope .tabstrip>button{color:var(--customer-muted);transition:color .16s ease,border-color .16s ease,background-color .16s ease}.customer-management-scope .customer-master-tabs button:hover,.customer-management-scope .detail-tabs button:hover,.customer-management-scope .ref-tabs button:hover,.customer-management-scope .tabstrip>button:hover{color:var(--customer-primary-strong)}.customer-management-scope .customer-master-tabs button.active,.customer-management-scope .detail-tabs button.active,.customer-management-scope .ref-tabs button.active,.customer-management-scope .tabstrip>button.active{color:var(--customer-primary-strong);border-bottom-color:var(--customer-primary-strong)}.customer-management-scope .batch-tabs button.active{color:#fff}.customer-management-scope .customer-queue-live .ref-filter-grid,.customer-management-scope .ref-filter-grid{gap:8px 12px;padding:12px;background:var(--customer-surface)}.customer-management-scope .customer-master-live .customer-master-filter-grid{display:grid!important;grid-template-columns:repeat(8,116px);justify-content:start;grid-gap:8px 10px;gap:8px 10px;padding:10px 12px;border:1px solid #dbe8f5;border-radius:8px;background:linear-gradient(135deg,#fbfdff,#f4f9ff);box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}.customer-management-scope .customer-master-live .customer-master-filter-grid>label{display:flex;min-width:0;flex-direction:column;gap:4px;color:#4a6380;font-weight:600}.customer-management-scope .customer-master-live .customer-master-filter-grid>label:first-child{white-space:nowrap}.customer-management-scope .customer-master-live .customer-master-filter-grid input,.customer-management-scope .customer-master-live .customer-master-filter-grid select{width:100%;min-width:0;height:32px;border-color:#cbdced;border-radius:4px;background:rgba(255,255,255,.92);box-shadow:0 1px 1px rgba(40,78,119,.03);transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}.customer-management-scope .customer-master-live .customer-master-filter-grid input:hover,.customer-management-scope .customer-master-live .customer-master-filter-grid select:hover{border-color:#8ebce8}.customer-management-scope .customer-master-live .customer-master-filter-grid input:focus,.customer-management-scope .customer-master-live .customer-master-filter-grid select:focus{border-color:#2684d9;box-shadow:0 0 0 3px rgba(38,132,217,.13)}.customer-management-scope .customer-master-live .filter-date-range>span:last-child{display:grid;grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr);align-items:center;grid-gap:3px;gap:3px}.customer-management-scope .customer-master-live .customer-master-filter-grid>.filter-date-range{grid-column:span 2}.customer-management-scope .customer-master-live .filter-date-range i{color:#8a9aaf;font-size:12px;font-style:normal;text-align:center}.customer-management-scope .customer-master-live .ref-filter-actions{grid-column:span 2;justify-content:flex-start;align-items:flex-end;gap:6px}.customer-management-scope .customer-master-live .master-chips>button,.customer-management-scope .customer-master-live .ref-filter-actions>button,.customer-management-scope .customer-master-live .ref-toolbar>button{height:36px;padding:0 13px;border:1px solid #c8d7e8;border-radius:6px;background:#fff;color:#215b97;font-size:13px;font-weight:600;box-shadow:none}.customer-management-scope .customer-master-live .ref-toolbar{align-items:center;gap:8px;margin:14px 0 12px;padding:9px 10px;border:1px solid #e0ebf6;border-radius:10px;background:#fff}.customer-management-scope .customer-master-live .ref-toolbar>button{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;transition:transform .16s ease,color .16s ease,border-color .16s ease,background-color .16s ease,box-shadow .16s ease}.customer-management-scope .customer-master-live .ref-toolbar>button svg{font-size:12px;color:#4380bc}.customer-management-scope .customer-master-live .ref-toolbar>button.primary{border-color:#0866be;background:linear-gradient(135deg,#0872d1,#0758b8);color:#fff;box-shadow:0 3px 8px rgba(7,88,184,.19)}.customer-management-scope .customer-master-live .ref-toolbar>button.primary svg{color:#d9efff}.customer-management-scope .customer-master-live .ref-toolbar>button:hover{border-color:#93bfe7;background:#eff7ff;box-shadow:0 2px 6px rgba(32,88,147,.08);transform:translateY(-1px)}.customer-management-scope .customer-master-live .ref-toolbar>button.primary:hover{border-color:#0754a9;background:linear-gradient(135deg,#0769c5,#064d9f)}.customer-management-scope .customer-master-live .ref-toolbar>button:active{transform:scale(.98);box-shadow:none}.customer-management-scope .customer-master-live .master-chips>button{height:28px;padding:0 9px;color:#46617d}.customer-management-scope .customer-master-live .customer-master-tabs{min-height:42px;margin-bottom:10px;background:transparent}.customer-management-scope .customer-master-live .customer-master-tabs button{height:40px;padding:0 15px;background:transparent}.customer-management-scope .customer-master-live .customer-master-tabs .ref-action{height:32px;margin:4px 0 4px auto;border:1px solid #dce6f1;border-radius:4px;background:#fff;color:#4b6380}.customer-management-scope .customer-drawer label,.customer-management-scope .follow-editor label,.customer-management-scope .ref-filter-grid label{color:#4c5f76;font-size:12px;font-weight:500}.customer-management-scope .fake-input,.customer-management-scope .text-input,.customer-management-scope input,.customer-management-scope select,.customer-management-scope textarea{border-color:#d4dfea;border-radius:var(--customer-radius);color:#33465c}.customer-management-scope .customer-drawer input,.customer-management-scope .customer-drawer select,.customer-management-scope .follow-editor input,.customer-management-scope .follow-editor select,.customer-management-scope .ref-filter-grid input,.customer-management-scope .ref-filter-grid select{height:34px}.customer-management-scope a:focus-visible,.customer-management-scope button:focus-visible,.customer-management-scope input:focus-visible,.customer-management-scope select:focus-visible,.customer-management-scope textarea:focus-visible{outline:2px solid var(--customer-focus);outline-offset:2px}.customer-management-scope .button,.customer-management-scope .ref-action,.customer-management-scope .ref-filter-actions>button,.customer-management-scope .ref-selected>button,.customer-management-scope .ref-toolbar>button{min-height:34px;border-radius:var(--customer-radius);transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease}.customer-management-scope .button:hover,.customer-management-scope .ref-action:hover,.customer-management-scope .ref-filter-actions>button:hover,.customer-management-scope .ref-selected>button:hover,.customer-management-scope .ref-toolbar>button:hover{border-color:#8dbcf1;background:#f4f8fd}.customer-management-scope .button.primary,.customer-management-scope .ref-action.primary,.customer-management-scope .ref-filter-actions>button.primary,.customer-management-scope .ref-toolbar>button.primary{background:var(--customer-primary-strong);border-color:var(--customer-primary-strong);color:#fff}.customer-management-scope .button.primary:hover,.customer-management-scope .ref-action.primary:hover,.customer-management-scope .ref-filter-actions>button.primary:hover,.customer-management-scope .ref-toolbar>button.primary:hover{background:#0758b8;border-color:#0758b8}.customer-management-scope .master-chips,.customer-management-scope .ref-selected{min-height:40px;color:var(--customer-muted)}.customer-management-scope .master-chips b{background:#f0f4f9;color:#52657d}.customer-management-scope .ref-selected{border-color:#d2e4fa;background:#f3f8ff}.customer-management-scope .import-table,.customer-management-scope .ref-table,.customer-management-scope .schedule-table,.customer-management-scope .table-wrap{border-color:var(--customer-border);border-radius:var(--customer-radius);background:var(--customer-surface)}.customer-management-scope .data-table td,.customer-management-scope .data-table th,.customer-management-scope .import-table td,.customer-management-scope .import-table th,.customer-management-scope .ref-table td,.customer-management-scope .ref-table th,.customer-management-scope .simple-table td,.customer-management-scope .simple-table th{border-color:var(--customer-border-soft)}.customer-management-scope .data-table th,.customer-management-scope .import-table th,.customer-management-scope .ref-table th,.customer-management-scope .simple-table th{height:38px;background:#f7f9fc;color:#42546a;font-size:12px;font-weight:600}.customer-management-scope .data-table td,.customer-management-scope .import-table td,.customer-management-scope .ref-table td,.customer-management-scope .simple-table td{height:40px;color:#485b70;font-size:12px}.customer-management-scope .data-table tbody tr:hover td,.customer-management-scope .ref-table tbody tr:hover td,.customer-management-scope .simple-table tbody tr:hover td{background:#f8fbff}.customer-management-scope .ref-links{white-space:nowrap}.customer-management-scope .ref-links button{margin:0 0 0 9px;padding:2px 0;border:0;background:transparent;color:var(--customer-primary-strong);font-size:12px}.customer-management-scope .ref-links button:first-child{margin-left:0}.customer-management-scope .ref-links button:hover{color:#074eab;text-decoration:underline}.customer-management-scope .ref-tag,.customer-management-scope .status{border-radius:3px;font-weight:500}.customer-management-scope .pagination,.customer-management-scope .ref-pager{color:#596b81}.customer-management-scope .pagination button,.customer-management-scope .ref-pager button{border-color:#d7e1ec;border-radius:var(--customer-radius)}.customer-management-scope .pagination button.selected,.customer-management-scope .ref-pager button.current{background:var(--customer-primary-strong);border-color:var(--customer-primary-strong)}.customer-management-scope .detail-grid,.customer-management-scope .detail-reference-grid{gap:14px}.customer-management-scope .detail-grid>.panel,.customer-management-scope .detail-reference-grid>.ref-card{border-color:var(--customer-border)}.customer-management-scope .detail-stages>div,.customer-management-scope .stage b{border-color:#d4dfea;border-radius:var(--customer-radius)}.customer-management-scope .detail-stages>div.active,.customer-management-scope .stage .current{border-color:#2ca564;background:#effaf3}.customer-management-scope .info-block span,.customer-management-scope .info-block>div,.customer-management-scope .info-reference-row,.customer-management-scope .info-reference-row span{border-color:var(--customer-border)}.customer-management-scope .import-layout,.customer-management-scope .import-reference-layout{gap:14px}.customer-management-scope .import-side .panel-title,.customer-management-scope .import-side-card h2{background:var(--customer-primary)}.customer-management-scope .drawer,.customer-management-scope .ref-drawer.customer-drawer{width:355px;max-width:calc(100vw - 154px);border-left:1px solid var(--customer-border);box-shadow:var(--customer-shadow)}.customer-management-scope .ref-drawer.customer-drawer{background:var(--customer-surface)}.customer-management-scope .drawer-title,.customer-management-scope .ref-drawer.customer-drawer>div:first-child{border-bottom-color:var(--customer-border)}.customer-management-scope .batch-hint,.customer-management-scope .batch-selection,.customer-management-scope .customer-drawer .drawer-person,.customer-management-scope .customer-drawer .drawer-record{border-color:#d5e5f7;background:#f5f9ff}.customer-management-scope .customer-drawer footer,.customer-management-scope .drawer-actions{gap:10px}.customer-management-scope .customer-drawer footer>button,.customer-management-scope .drawer-actions>button{min-height:42px}.customer-management-scope .customer-lifecycle>div,.customer-management-scope .valid-flow>div{position:relative;min-height:62px}.customer-management-scope .customer-lifecycle>div.active,.customer-management-scope .valid-flow>div.active{border-color:#7cb5f2;background:var(--customer-primary-soft)}.customer-management-scope .customer-lifecycle>div.active:after,.customer-management-scope .valid-flow>div.active:after{position:absolute;right:13px;bottom:10px;width:28px;border-top:2px solid var(--customer-primary-strong);content:""}.customer-management-scope [role=alert],.customer-management-scope [role=status]{border-radius:var(--customer-radius)}.customer-management-scope button:disabled,.customer-management-scope input:disabled,.customer-management-scope select:disabled,.customer-management-scope textarea:disabled{cursor:not-allowed;opacity:.52}@media (max-width:1280px){.customer-management-scope .workspace{padding:12px}.customer-management-scope .detail-grid,.customer-management-scope .detail-reference-grid,.customer-management-scope .import-layout,.customer-management-scope .import-reference-layout{grid-template-columns:1fr}.customer-management-scope .drawer,.customer-management-scope .ref-drawer.customer-drawer{width:min(355px,calc(100vw - 154px))}}@media (prefers-reduced-motion:reduce){.customer-management-scope *,.customer-management-scope :after,.customer-management-scope :before{scroll-behavior:auto!important;transition-duration:1ms!important;animation-duration:1ms!important}}.customer-management-scope .page>form,.customer-management-scope [aria-label="客户有效性"]>form,.customer-management-scope [aria-label="无效客户"]>form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin:12px 0;padding:12px;border:1px solid var(--customer-border);border-radius:var(--customer-radius);background:var(--customer-surface)}.customer-management-scope .page>form>label,.customer-management-scope [aria-label="客户有效性"]>form>label,.customer-management-scope [aria-label="无效客户"]>form>label{display:flex;min-width:180px;flex:1 1 220px;flex-direction:column;gap:6px;color:#4c5f76;font-size:12px;font-weight:500}.customer-management-scope .page>form>label>input,.customer-management-scope .page>form>label>select,.customer-management-scope .page>form>label>textarea,.customer-management-scope [aria-label="客户有效性"]>form>label>input,.customer-management-scope [aria-label="客户有效性"]>form>label>select,.customer-management-scope [aria-label="客户有效性"]>form>label>textarea,.customer-management-scope [aria-label="无效客户"]>form>label>input{width:100%;min-height:34px;padding:7px 9px;background:#fff}.customer-management-scope .page>form>label>textarea,.customer-management-scope [aria-label="客户有效性"]>form>label>textarea{min-height:82px}.customer-management-scope .page>form>button,.customer-management-scope [aria-label="客户有效性"]>form>button,.customer-management-scope [aria-label="无效客户"]>form>button{min-height:34px;padding:0 14px;border:1px solid var(--customer-primary-strong);border-radius:var(--customer-radius);background:var(--customer-primary-strong);color:#fff}.customer-management-scope .page>ol,.customer-management-scope .page>ul{margin:12px 0;padding:0;overflow:hidden;border:1px solid var(--customer-border);border-radius:var(--customer-radius);background:var(--customer-surface);list-style:none}.customer-management-scope .page>ol>li,.customer-management-scope .page>ul>li{padding:11px 13px;border-bottom:1px solid var(--customer-border-soft);color:#4b5e74;font-size:13px}.customer-management-scope .page>ol>li:last-child,.customer-management-scope .page>ul>li:last-child{border-bottom:0}.customer-management-scope [aria-label="在线申请处理"]{padding:16px;border:1px solid var(--customer-border);border-radius:var(--customer-radius);background:var(--customer-surface);color:var(--customer-text)}.customer-management-scope [aria-label="在线申请处理"]>header,.customer-management-scope [aria-label="在线申请详情"]>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:12px;border-bottom:1px solid var(--customer-border)}.customer-management-scope [aria-label="在线申请处理"] h1,.customer-management-scope [aria-label="在线申请详情"] h2{margin:0;color:var(--customer-text)}.customer-management-scope [aria-label="在线申请处理"]>nav{display:flex;gap:0;margin:12px 0;border-bottom:1px solid var(--customer-border)}.customer-management-scope [aria-label="在线申请处理"]>nav button{min-height:34px;padding:0 14px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--customer-muted)}.customer-management-scope [aria-label="在线申请处理"]>nav button:hover,.customer-management-scope [aria-label="在线申请处理"]>nav button[class*=active]{border-bottom-color:var(--customer-primary-strong);color:var(--customer-primary-strong)}.customer-management-scope [aria-label="在线申请处理"] table{width:100%;border-collapse:collapse;border:1px solid var(--customer-border);background:#fff;font-size:12px}.customer-management-scope [aria-label="在线申请处理"] td,.customer-management-scope [aria-label="在线申请处理"] th{height:40px;padding:8px 10px;border:1px solid var(--customer-border-soft);text-align:left}.customer-management-scope [aria-label="在线申请处理"] th{background:#f7f9fc;color:#42546a}.customer-management-scope [aria-label="在线申请处理"] td button,.customer-management-scope [aria-label="在线申请处理"]>header button{border:0;background:transparent;color:var(--customer-primary-strong)}.customer-management-scope [aria-label="在线申请详情"]{position:fixed;z-index:31;top:48px;right:0;bottom:0;width:355px;max-width:calc(100vw - 154px);overflow:auto;padding:18px;border-left:1px solid var(--customer-border);background:var(--customer-surface);box-shadow:var(--customer-shadow)}.customer-management-scope [aria-label="在线申请详情"] article,.customer-management-scope [aria-label="在线申请详情"] form,.customer-management-scope [aria-label="在线申请详情"] section{margin:12px 0;padding:11px;border:1px solid var(--customer-border-soft);border-radius:var(--customer-radius);background:#fbfdff}@media (max-width:1024px){.customer-management-scope .customer-queue-live .ref-filter-grid,.customer-management-scope .ref-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-management-scope .customer-master-tabs{overflow-x:auto}.customer-management-scope .customer-master-tabs button{flex:0 0 auto}}.customer-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:180px;padding:32px 18px;border:1px solid var(--customer-border);border-radius:var(--customer-radius);background:var(--customer-surface);text-align:center;color:var(--customer-muted);font-size:13px}.customer-state.compact{min-height:100px;padding:18px}.customer-state svg{font-size:32px;opacity:.62}.customer-state b{font-size:15px;color:var(--customer-text);font-weight:600}.customer-state span{max-width:380px;line-height:1.55}.customer-state small{display:block;max-width:440px;color:#8896a8;font-size:12px;line-height:1.5}.customer-state button{margin-top:6px}.customer-state.error{border-color:#f0b7ba;background:#fff7f7;color:#b93a42}.customer-state.error svg{color:#e5484d;opacity:1}.customer-state.error b{color:#b93a42}.customer-state.forbidden{border-color:#f2d7a1;background:#fffaf0;color:#806124}.customer-state.forbidden svg{color:#e6a400;opacity:1}.customer-state.conflict{border-color:#fcd99e;background:#fffcf3;color:#a66d1e}.customer-state.success{border-color:#a9e5c2;background:#f2fcf5;color:#16864b}.customer-state.success svg{color:#20a365;opacity:1}.customer-state.warning{border-color:#f9d79e;background:#fff7e8;color:#ba731c}.customer-state.info{border-color:#cfe1fb;background:#f4f9ff;color:#315f8f}.customer-state.loading svg{font-size:28px;opacity:.78;color:var(--customer-primary-strong)}.customer-management-scope label.required:before,.customer-management-scope label.required>span:after{content:"*";color:#e5484d;margin-left:2px;font-weight:700}.customer-management-scope .field-error{color:#e5484d;font-size:12px;margin-top:3px;display:flex;align-items:center;gap:4px}.customer-management-scope .field-error svg{font-size:13px;flex-shrink:0}.customer-management-scope input.field-error,.customer-management-scope select.field-error,.customer-management-scope textarea.field-error{border-color:#e65c5c;box-shadow:0 0 0 2px #e65c5c18}.customer-management-scope .char-count{display:block;margin-top:3px;color:#8e9eb1;font-size:11px;text-align:right}.customer-management-scope .char-count.near-limit{color:#e6a400}.customer-management-scope .char-count.at-limit{color:#e5484d}@media (max-width:1180px){.customer-management-scope .workspace{padding:10px 8px 18px}.customer-management-scope .customer-queue-live .ref-filter-grid,.customer-management-scope .ref-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-management-scope .drawer,.customer-management-scope .ref-drawer.customer-drawer{width:min(355px,calc(100vw - 24px));top:48px}.customer-management-scope .customer-master-live .customer-master-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-management-scope .customer-master-live .customer-master-filter-grid>.filter-date-range{grid-column:auto}.customer-management-scope .customer-master-live .ref-filter-actions{grid-column:span 3}}@media (max-width:768px){.customer-management-scope .customer-master-live .customer-master-filter-grid.desktop-only{display:none!important}.customer-management-scope .customer-master-live .customer-master-filter-grid,.customer-management-scope .customer-queue-live .ref-filter-grid,.customer-management-scope .ref-filter-grid{grid-template-columns:1fr}.customer-management-scope .customer-master-live .ref-filter-actions{grid-column:1}.customer-management-scope .workspace{padding:8px 6px 14px}.customer-management-scope .page h1,.customer-management-scope .reference-page h1{font-size:18px}}.customer-management-scope .master-chips b .chip-remove{display:inline;border:0;background:transparent;color:#46617d;font-size:13px;font-weight:600;cursor:pointer;padding:0;margin-left:2px;line-height:1}.customer-management-scope .master-chips b .chip-remove:hover{color:var(--customer-primary-strong)}.customer-management-scope .desktop-only{display:block}.customer-management-scope .mobile-only{display:none}.customer-management-scope .customer-pool-live .ref-heading{margin-bottom:10px}.customer-management-scope .customer-pool-live .pool-scope-note{margin:0 0 10px}.customer-management-scope .customer-pool-live .pool-filters{grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px 14px;padding:12px 14px}.customer-management-scope .customer-pool-live .pool-date-range,.customer-management-scope .customer-pool-live .pool-filters>label{display:flex;min-width:0;flex-direction:column;gap:5px;color:#536277;font-size:12px}.customer-management-scope .customer-pool-live .pool-filters input,.customer-management-scope .customer-pool-live .pool-filters select{width:100%;min-width:0;height:32px;padding:0 9px;border:1px solid #d7e0ea;border-radius:3px;background:#fff;color:#25364b;font-size:12px}.customer-management-scope .customer-pool-live .pool-date-inputs{display:grid;grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr);align-items:center;grid-gap:5px;gap:5px}.customer-management-scope .customer-pool-live .pool-date-inputs i{color:#8998aa;font-style:normal;text-align:center}.customer-management-scope .customer-pool-live .pool-filters .ref-filter-actions{grid-column:3/span 2;justify-content:flex-end;gap:8px}.customer-management-scope .customer-pool-live .pool-filters .ref-filter-actions button,.customer-management-scope .customer-pool-live .pool-toolbar .ref-action{height:32px;padding:0 11px;border:1px solid #cbd9e9;border-radius:3px;background:#fff;color:#1368c8;font-size:12px}.customer-management-scope .customer-pool-live .pool-filters .ref-filter-actions button.primary,.customer-management-scope .customer-pool-live .pool-toolbar .ref-action.primary{border-color:#0968d7;background:#0968d7;color:#fff}.customer-management-scope .customer-pool-live .pool-toolbar{flex-wrap:wrap;margin:10px 0}.customer-management-scope .customer-pool-live .pool-selected-count{margin-left:auto;color:#1264ba;font-size:12px}.customer-management-scope .customer-pool-live .pool-table table{width:100%;min-width:0;table-layout:fixed}.customer-management-scope .customer-pool-live .pool-table td,.customer-management-scope .customer-pool-live .pool-table th{height:40px;padding:7px 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-management-scope .customer-pool-live .pool-table td:first-child,.customer-management-scope .customer-pool-live .pool-table th:first-child{width:34px}.customer-management-scope .customer-pool-live .pool-table td:nth-child(2),.customer-management-scope .customer-pool-live .pool-table td:nth-child(3),.customer-management-scope .customer-pool-live .pool-table th:nth-child(2),.customer-management-scope .customer-pool-live .pool-table th:nth-child(3){width:86px}.customer-management-scope .customer-pool-live .pool-table td:nth-child(4),.customer-management-scope .customer-pool-live .pool-table th:nth-child(4){width:72px}.customer-management-scope .customer-pool-live .pool-table td:nth-child(5),.customer-management-scope .customer-pool-live .pool-table th:nth-child(5){width:52px}.customer-management-scope .customer-pool-live .pool-table td:nth-child(6),.customer-management-scope .customer-pool-live .pool-table th:nth-child(6){width:126px}.customer-management-scope .customer-pool-live .pool-table td:nth-child(7),.customer-management-scope .customer-pool-live .pool-table th:nth-child(7){width:108px}.customer-management-scope .customer-pool-live .pool-table td:nth-child(8),.customer-management-scope .customer-pool-live .pool-table th:nth-child(8){width:88px}.customer-management-scope .customer-pool-live .pool-table td:nth-child(9),.customer-management-scope .customer-pool-live .pool-table th:nth-child(9){width:78px}.customer-management-scope .customer-pool-live .pool-table td:nth-child(10),.customer-management-scope .customer-pool-live .pool-table th:nth-child(10){width:58px}.customer-management-scope .customer-pool-live .pool-table td:nth-child(11),.customer-management-scope .customer-pool-live .pool-table th:nth-child(11){width:86px}.customer-management-scope .customer-pool-live .pool-table td:nth-child(12),.customer-management-scope .customer-pool-live .pool-table th:nth-child(12){width:72px}.customer-management-scope .customer-pool-live .pool-table td:nth-child(13),.customer-management-scope .customer-pool-live .pool-table th:nth-child(13){width:62px}.customer-management-scope .customer-pool-live .pool-table td:nth-child(14),.customer-management-scope .customer-pool-live .pool-table th:nth-child(14){width:86px}.customer-management-scope .customer-pool-live .pool-table td{color:#526176}.customer-management-scope .customer-pool-live .pool-table .ref-links button,.customer-management-scope .customer-pool-live .pool-toolbar button{cursor:pointer}.customer-management-scope .customer-pool-live .pool-card-select{display:flex;align-items:center;gap:8px}.customer-management-scope .customer-pool-live .public-pool-card .card-body{line-height:1.65}.customer-management-scope .customer-pool-live .public-pool-card .card-transfer-type{margin-left:auto;color:#7f8da0}.customer-management-scope .customer-pool-live .pool-empty{min-height:140px;display:grid;place-items:center}.customer-management-scope .customer-pool-live .public-pool-drawer{gap:10px}.customer-management-scope .customer-pool-live .pool-drawer-meta,.customer-management-scope .customer-pool-live .pool-drawer-summary,.customer-management-scope .customer-pool-live .pool-rule-card{padding:10px;border:1px solid #dce5ee;border-radius:4px;background:#fbfdff}.customer-management-scope .customer-pool-live .pool-drawer-summary h3{margin:0 0 10px;color:#25364b}.customer-management-scope .customer-pool-live .pool-basic-grid{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:9px 12px;gap:9px 12px}.customer-management-scope .customer-pool-live .pool-basic-grid span,.customer-management-scope .customer-pool-live .pool-drawer-meta span{color:#7d8b9d;font-size:11px}.customer-management-scope .customer-pool-live .pool-basic-grid b,.customer-management-scope .customer-pool-live .pool-drawer-meta b{display:block;margin-top:3px;color:#3c5068;font-size:12px;font-weight:600}.customer-management-scope .customer-pool-live .pool-drawer-meta p{display:flex;justify-content:space-between;gap:10px;margin:6px 0}.customer-management-scope .customer-pool-live .pool-conflict{display:grid;grid-gap:4px;gap:4px;padding:9px 10px;border:1px solid #a9e5c2;border-radius:4px;background:#f2fcf5;color:#16864b;font-size:12px}.customer-management-scope .customer-pool-live .pool-conflict.blocked{border-color:#f9d79e;background:#fff7e8;color:#a66d1e}.customer-management-scope .customer-pool-live .pool-conflict small{color:#b27625}.customer-management-scope .customer-pool-live .pool-batch-list{display:grid;grid-gap:5px;gap:5px;max-height:180px;overflow:auto;padding:9px;border:1px solid #e0e7ef;background:#fbfdff;color:#5b6e85;font-size:12px}.customer-management-scope .customer-pool-live .pool-rule-card b{color:#2f4762}.customer-management-scope .customer-pool-live .pool-rule-card p{margin:7px 0;color:#53677e;line-height:1.5;font-size:12px}.customer-management-scope .customer-pool-live .pool-rule-card small{color:#8492a3;line-height:1.5}.customer-management-scope .customer-pool-live .pool-capacity-note{padding:9px 10px;border:1px solid #cfe1fb;border-radius:4px;background:#f4f9ff;color:#315f8f;font-size:12px}.customer-management-scope .customer-pool-live .ref-drawer footer{flex-wrap:wrap}.customer-management-scope .customer-pool-live .ref-success{margin:10px 0;padding:8px 11px;border:1px solid #a9e5c2;border-radius:3px;background:#f2fcf5;color:#16864b;font-size:12px}.customer-management-scope .public-pool-approval{padding:16px;border:1px solid var(--customer-border);border-radius:var(--customer-radius);background:var(--customer-surface)}.customer-management-scope .public-pool-approval h1{margin:0 0 14px}.customer-management-scope .public-pool-approval .inline-reason{display:inline-flex;gap:5px;margin-left:6px}@media (max-width:1100px){.customer-management-scope .customer-pool-live .pool-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-management-scope .customer-pool-live .pool-filters .ref-filter-actions{grid-column:1/-1;justify-content:flex-start}}@media (max-width:768px){.customer-management-scope .customer-pool-live .pool-toolbar{gap:6px}.customer-management-scope .customer-pool-live .pool-toolbar .ref-action{flex:1 1;min-width:0;padding:0 7px}.customer-management-scope .customer-pool-live .pool-selected-count{width:100%;margin-left:0}.customer-management-scope .customer-pool-live .pool-filters-mobile{display:contents}.customer-management-scope .customer-pool-live .public-pool-drawer{top:0;right:0;width:100%;max-width:100%;box-sizing:border-box;overflow-x:hidden;padding-bottom:14px}.customer-management-scope .customer-pool-live .public-pool-drawer>*{min-width:0;max-width:100%}.customer-management-scope .customer-pool-live .public-pool-drawer footer{width:100%;box-sizing:border-box}.customer-management-scope .customer-pool-live .public-pool-drawer footer button{min-width:0;min-height:42px;flex:1 1}}.mobile-filter-bar{display:flex;align-items:center;gap:12px;padding:8px 12px;margin-bottom:8px;background:var(--customer-surface);border:1px solid var(--customer-border);border-radius:var(--customer-radius)}.mobile-filter-bar button{height:34px;padding:0 14px;border:1px solid var(--customer-primary-strong);border-radius:var(--customer-radius);background:var(--customer-primary-strong);color:#fff;font-size:13px;font-weight:500}.mobile-filter-bar span{color:var(--customer-muted);font-size:13px}.mobile-filter-panel{position:fixed;bottom:0;left:0;right:0;z-index:40;max-height:85vh;display:flex;flex-direction:column;border-top:1px solid var(--customer-border);border-radius:12px 12px 0 0;background:var(--customer-surface);box-shadow:0 -4px 24px rgba(34,61,95,.18)}.mobile-filter-header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--customer-border)}.mobile-filter-header b{font-size:15px;color:var(--customer-text)}.mobile-filter-header button{border:0;background:transparent;font-size:20px;color:var(--customer-muted);cursor:pointer}.mobile-filter-body{overflow-y:auto;padding:12px 16px;display:grid;grid-template-columns:1fr 1fr;grid-gap:10px 14px;gap:10px 14px}.mobile-filter-body label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#4c5f76;font-weight:500}.mobile-filter-body label.filter-date-range{grid-column:1/-1}.mobile-filter-body input,.mobile-filter-body select{height:34px;border:1px solid #d4dfea;border-radius:var(--customer-radius);padding:0 8px;background:#fff;color:#33465c;font-size:13px}.mobile-filter-footer{display:flex;gap:10px;padding:12px 16px;border-top:1px solid var(--customer-border)}.mobile-filter-footer button{flex:1 1;height:42px;border:1px solid var(--customer-primary-strong);border-radius:var(--customer-radius);font-size:14px;font-weight:500;background:#fff;color:var(--customer-primary-strong)}.mobile-filter-footer button.primary{background:var(--customer-primary-strong);color:#fff}.mobile-cards{display:flex;flex-direction:column;gap:8px;padding:0 2px}.customer-card{border:1px solid var(--customer-border);border-radius:var(--customer-radius);background:var(--customer-surface);padding:12px}.customer-card .card-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.customer-card .card-name{font-size:14px;color:var(--customer-text)}.customer-card .card-body{display:flex;flex-wrap:wrap;gap:4px 12px;color:var(--customer-muted);font-size:12px;margin-bottom:8px}.customer-card .card-actions{display:flex;gap:8px;border-top:1px solid var(--customer-border-soft);padding-top:8px}.customer-card .card-actions button{border:0;background:transparent;color:var(--customer-primary-strong);font-size:12px;padding:2px 0;cursor:pointer}.customer-card .card-actions button:hover{color:#074eab;text-decoration:underline}@media (max-width:768px){.customer-management-scope .desktop-only{display:none!important}.customer-management-scope .mobile-only{display:block!important}.customer-management-scope .ref-toolbar{flex-wrap:wrap}.customer-management-scope .ref-toolbar>button{font-size:12px;padding:0 8px;height:30px}}@media (min-width:769px){.customer-management-scope .mobile-only{display:none!important}.customer-management-scope .desktop-only{display:block!important}}.internal-customer-id{display:inline-flex;align-items:center;min-width:0;gap:6px;color:var(--customer-text)}.internal-customer-id code{min-width:0;color:inherit;font-family:SF Mono,Fira Code,monospace;font-size:11px;letter-spacing:.01em;overflow-wrap:anywhere}.internal-customer-id-copy{min-height:28px;flex:0 0 auto;padding:2px 7px;border:1px solid #c9dced;border-radius:4px;background:#f7fbff;color:var(--customer-primary-strong);font-size:11px;line-height:1.3;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,color .16s ease}.internal-customer-id-copy:hover{border-color:#8ebce8;background:#edf6ff}.internal-customer-id-copy:focus-visible{outline:2px solid var(--customer-primary);outline-offset:2px}.internal-customer-id.is-missing{color:var(--customer-muted);font-family:inherit;font-size:11px}.internal-customer-id-cell{min-width:220px}.internal-customer-id-detail{flex-wrap:wrap}.internal-customer-id-detail .internal-customer-id-copy{min-height:44px}.internal-customer-id-detail code{font-size:11px}.internal-customer-id-feedback{color:#16734b;font-size:11px}.customer-management-scope .internal-id-column{min-width:220px;white-space:normal}.customer-management-scope .lead-status-column{min-width:112px;white-space:nowrap}.customer-management-scope .data-table .lead-status-column .lead-status-tag{display:inline-flex;max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.customer-management-scope .customer-master-live time{white-space:nowrap;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.customer-management-scope .data-table td.long-text-column{max-width:none}.customer-management-scope .data-table .table-cell-truncate{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-card .card-identity-stack{display:grid;min-width:0;grid-gap:3px;gap:3px;margin-right:auto}.customer-card .internal-customer-id-mobile{gap:5px}.customer-card .internal-customer-id-mobile code{display:block;max-width:100%;font-size:10px}.customer-management-scope .customer-sort-header{display:inline-flex;align-items:center;gap:4px;min-height:24px;padding:0 4px 0 0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.customer-management-scope .customer-sort-header:hover{color:var(--customer-focus)}.customer-management-scope .customer-sort-header:focus-visible{outline:2px solid var(--customer-focus);outline-offset:1px;border-radius:3px}.customer-management-scope .customer-sort-header.active{color:var(--customer-focus)}.customer-management-scope .customer-sort-indicator{color:#7e9ab5;font-size:11px;line-height:1}.customer-management-scope .customer-sort-header.active .customer-sort-indicator{color:var(--customer-focus);font-weight:700}@media (prefers-reduced-motion:reduce){.customer-management-scope .customer-master-live .ref-toolbar>button,.customer-management-scope .topbar nav button,.customer-management-scope .topbar nav button:after{transition:none}}.customer-card .internal-customer-id-mobile .internal-customer-id-copy{min-height:44px}.customer-master-live .customer-table-shell{overflow-x:auto;overflow-y:visible;overscroll-behavior-inline:contain;scrollbar-color:#a9c7e4 #f2f6fa;scrollbar-width:thin}.customer-master-live .customer-table-resizable{table-layout:fixed;min-width:100%;width:max-content}.customer-master-live .customer-table-resizable th{position:relative;overflow:visible;padding-right:18px}.customer-master-live .customer-table-resizable td{min-width:0;overflow:hidden}.customer-master-live .customer-table-resizable .customer-actions-column{position:-webkit-sticky;position:sticky;right:0;z-index:2;min-width:120px;background:#fff;box-shadow:-1px 0 0 #e3e8ef}.customer-master-live .customer-table-resizable th.customer-actions-column{z-index:3;background:#f7f9fc}.customer-master-live .customer-table-resizable tbody tr:hover .customer-actions-column{background:#f8fbff}.customer-master-live .customer-column-resize-handle{position:absolute;z-index:2;top:0;right:-4px;display:block;width:9px;height:100%;border:0;border-left:1px solid transparent;background:transparent;cursor:col-resize;touch-action:none}.customer-master-live .customer-column-resize-handle:focus-visible,.customer-master-live .customer-column-resize-handle:hover,.customer-master-live .customer-table-resizable.is-resizing .customer-column-resize-handle{border-left-color:#2b81c6;background:linear-gradient(90deg,transparent,#2b81c61c 45%,transparent)}.customer-master-live .customer-column-resize-handle:focus-visible{outline:2px solid #2b81c6;outline-offset:-1px}.customer-master-live .customer-table-resizable .long-text-column .table-cell-truncate{max-width:100%}@media (max-width:768px){.customer-master-live .customer-table-shell{display:none}}@media (prefers-reduced-motion:reduce){.customer-master-live .customer-column-resize-handle{transition:none}}.customer-management-scope .detail-profile-meta .internal-customer-id-detail{align-items:center}.customer-management-scope .lead-status-tag{margin-left:4px}.customer-management-scope .customer-card .card-header .lead-status-tag{margin-left:0}.customer-management-scope .lead-status-tag.slate{border-color:#cbd5e1;background:#f8fafc;color:#475569}.customer-management-scope .customer-lead-status-warning{margin:10px 0;padding:9px 11px;border:1px solid #e3c47a;border-left:3px solid #c58b17;border-radius:4px;background:#fff9e8;color:#6f4d08;font-size:12px;line-height:1.5}.customer-management-scope .customer-lead-status-history{display:grid;grid-gap:12px;gap:12px;margin:0;padding:4px 0 4px 4px;list-style:none}.customer-management-scope .customer-lead-status-history li{position:relative;display:grid;grid-template-columns:16px minmax(0,1fr);grid-column-gap:8px;column-gap:8px;min-height:48px}.customer-management-scope .customer-lead-status-history li:not(:last-child):after{position:absolute;top:14px;bottom:-14px;left:7px;width:1px;background:#d7e3ee;content:""}.customer-management-scope .customer-lead-status-history-dot{position:relative;z-index:1;width:9px;height:9px;margin-top:4px;border:2px solid #2b81c6;border-radius:50%;background:#fff}.customer-management-scope .customer-lead-status-history strong{display:block;color:var(--customer-text);font-size:13px}.customer-management-scope .customer-lead-status-history p{margin:3px 0;color:var(--customer-muted);font-size:12px}.customer-management-scope .customer-lead-status-history time{color:#8696a8;font-size:11px}.customer-management-scope .detail-profile-meta .internal-customer-id-detail code{color:var(--customer-text);font-weight:600}.toast .internal-customer-id-detail{margin-left:8px;vertical-align:middle}.toast .internal-customer-id-detail code{color:#126c43;font-weight:700}@media (max-width:768px){.customer-management-scope .internal-customer-id-mobile{max-width:100%}.customer-management-scope .internal-customer-id-mobile code{max-width:min(62vw,260px)}.customer-management-scope .internal-customer-id-detail code{max-width:58vw}.customer-management-scope .internal-customer-id-detail .internal-customer-id-copy{min-height:44px;padding-inline:10px}}@media (prefers-reduced-motion:reduce){.internal-customer-id-copy{transition:none}}.customer-management-scope .ref-drawer.customer-view-settings-drawer{width:355px;max-width:min(355px,calc(100vw - 154px));padding-bottom:0}.customer-management-scope .customer-view-settings{display:flex;min-height:0;flex:1 1;flex-direction:column;gap:16px}.customer-management-scope .view-settings-columns,.customer-management-scope .view-settings-save{display:grid;grid-gap:9px;gap:9px}.customer-management-scope .view-settings-hidden h3,.customer-management-scope .view-settings-save h3,.customer-management-scope .view-settings-section-heading>div{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:0;color:#354861;font-size:13px}.customer-management-scope .view-settings-hidden h3,.customer-management-scope .view-settings-save h3,.customer-management-scope .view-settings-section-heading h3{margin:0}.customer-management-scope .view-settings-hidden small,.customer-management-scope .view-settings-section-heading small{color:#7c8999;font-size:11px;font-weight:400}.customer-management-scope .view-settings-hidden h3 span,.customer-management-scope .view-settings-section-heading span{color:#64748b;font-size:12px;font-weight:400}.customer-management-scope .view-settings-note,.customer-management-scope .view-settings-section-heading p{margin:0;color:#8090a3;font-size:11px;line-height:1.55}.customer-management-scope .view-column-list,.customer-management-scope .view-settings-hidden{overflow:hidden;border:1px solid #dbe4ef;border-radius:4px;background:#fff}.customer-management-scope .view-column-row{display:grid;min-height:36px;grid-template-columns:minmax(0,1fr) 24px 24px 20px;align-items:center;grid-gap:2px;gap:2px;padding:0 8px;border-bottom:1px solid #edf1f6;color:#4e6077;font-size:12px}.customer-management-scope .view-column-row:last-child{border-bottom:0}.customer-management-scope .view-column-row>label{min-width:0;gap:8px}.customer-management-scope .view-column-row input{width:15px;height:15px;min-height:0;accent-color:#1169d2}.customer-management-scope .view-column-row button{width:22px;min-height:24px;padding:0;border:0;background:transparent;color:#7f91a7}.customer-management-scope .view-column-row button:hover{color:#126ed5;background:#f2f7fd}.customer-management-scope .view-column-row button:disabled{color:#c5ced9}.customer-management-scope .view-column-lock{margin-left:auto;color:#9aabba;font-size:11px}.customer-management-scope .view-column-handle{display:grid;place-items:center;color:#8293a8;cursor:-webkit-grab;cursor:grab}.customer-management-scope .view-column-row[draggable=true]:active{cursor:-webkit-grabbing;cursor:grabbing;background:#f2f8ff}.customer-management-scope .view-settings-hidden{display:grid;grid-gap:0;gap:0;padding:8px 0 0;border:0;background:transparent}.customer-management-scope .view-settings-hidden h3{padding:0 0 7px}.customer-management-scope .view-settings-hidden button{display:flex;min-height:34px;align-items:center;justify-content:space-between;padding:0 9px;border:1px solid #dbe4ef;border-bottom:0;background:#fff;color:#596c82;font-size:12px;text-align:left}.customer-management-scope .view-settings-hidden button:first-of-type{border-radius:4px 4px 0 0}.customer-management-scope .view-settings-hidden button:last-of-type{border-bottom:1px solid #dbe4ef;border-radius:0 0 4px 4px}.customer-management-scope .view-settings-hidden button:hover{background:#f5f9ff;color:#126ed5}.customer-management-scope .view-settings-hidden>p{margin:0;padding:10px;border:1px dashed #dbe4ef;color:#8493a5;font-size:12px;text-align:center}.customer-management-scope .view-settings-save{padding-top:3px;border-top:1px solid #e5ebf2}.customer-management-scope .view-settings-save label{display:grid;grid-gap:5px;gap:5px;color:#56687d;font-size:12px}.customer-management-scope .view-settings-save input,.customer-management-scope .view-settings-save select{width:100%;min-height:34px;box-sizing:border-box;padding:0 9px;border:1px solid #d5dfe9;border-radius:4px;background:#fff;color:#354861;font-size:12px}.customer-management-scope .view-save-new{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;grid-gap:8px;gap:8px}.customer-management-scope .view-save-new button{min-height:34px;padding:0 9px;white-space:nowrap}.customer-management-scope .view-settings-note{padding:7px 9px;border-radius:3px;background:#f3f8ff;color:#5d7694}.customer-management-scope .view-delete-button{justify-self:start;min-height:28px;padding:0 8px;border:0;background:transparent;color:#c14a52;font-size:11px}.customer-management-scope .view-delete-button:hover{color:#a92d37;text-decoration:underline}.customer-management-scope .view-settings-error{margin:0;padding:8px 9px;border:1px solid #f1b8bb;border-radius:3px;background:#fff7f7;color:#bd3f46;font-size:12px}.customer-management-scope .view-settings-error button{margin-left:5px;padding:0;border:0;background:transparent;color:#126ed5;text-decoration:underline}.customer-management-scope .view-settings-shared{border-top:1px solid #e5ebf2;padding-top:12px}.customer-management-scope .view-settings-shared summary{color:#354861;cursor:pointer;font-size:13px;font-weight:600}.customer-management-scope .view-settings-shared>section{margin-top:10px}.customer-management-scope .view-settings-footer{display:flex;gap:9px;margin-top:auto;padding:14px 0 16px;border-top:1px solid #e5ebf2;background:#fff}.customer-management-scope .view-settings-footer button{flex:1 1;min-height:42px}@media (max-width:768px){.customer-management-scope .ref-drawer.customer-view-settings-drawer{top:0;right:0;bottom:0;width:100vw;max-width:100vw;padding:0 14px;border-left:0}.customer-management-scope .customer-view-settings-drawer>div:first-child{margin:0 -14px 12px;padding:0 14px}.customer-management-scope .customer-view-settings{overflow-y:auto;gap:14px}.customer-management-scope .view-column-row{min-height:42px;grid-template-columns:minmax(0,1fr) 30px 30px 24px;padding:0 10px}.customer-management-scope .view-column-row button{min-height:30px}.customer-management-scope .view-settings-footer{position:-webkit-sticky;position:sticky;bottom:0;margin:0 -14px;padding:12px 14px 14px}}@media (max-width:1024px){.context>i,.context>span:not(.avatar){display:none}.context>.mobile-keep{display:inline}.context{gap:8px;font-size:12px}}.visual-regression{display:grid;grid-template-rows:auto 1fr;height:calc(100vh - 56px - 52px);overflow:hidden}.visual-regression .vr-controls{display:flex;align-items:center;gap:14px;padding:10px 16px;border-bottom:1px solid var(--customer-border);background:var(--customer-surface);font-size:13px;color:var(--customer-muted)}.visual-regression .vr-controls b{color:var(--customer-text);font-size:14px}.visual-regression .vr-controls .vr-select{min-width:160px;height:34px;padding:0 9px;border:1px solid #d4dfea;border-radius:var(--customer-radius);background:#fff;color:#33465c}.visual-regression .vr-viewport{display:grid;grid-template-columns:1fr 1fr;grid-gap:0;gap:0;overflow:hidden;background:#e4eaf2}.visual-regression .vr-pane{display:flex;flex-direction:column;overflow:hidden}.visual-regression .vr-pane header{display:flex;align-items:center;justify-content:space-between;padding:6px 13px;background:#f0f3f7;border-bottom:1px solid #dbe2ea;font-size:12px;color:var(--customer-muted)}.visual-regression .vr-pane header b{color:var(--customer-text)}.visual-regression .vr-pane img{width:100%;height:auto;object-fit:contain;display:block}.visual-regression .vr-pane .vr-placeholder{display:flex;flex:1 1;align-items:center;justify-content:center;color:#9aa7b5;font-size:13px;background:#f9fafb}.visual-regression .vr-overlay{grid-column:1/-1;grid-row:1;z-index:2;display:flex;align-items:center;justify-content:center}.visual-regression .vr-diff-mode .vr-pane:last-child{opacity:.46;transition:opacity .24s ease}.visual-regression .vr-diff-mode .vr-pane:last-child:hover{opacity:1}.customer-management-scope .detail-stages>div.active{border-color:#1f7be0;background:#edf6ff;color:#0c68d2;font-weight:600}.detail-more-wrap{position:relative}.detail-more-menu{position:absolute;top:100%;right:0;z-index:20;min-width:140px;background:#fff;border:1px solid var(--customer-border);border-radius:var(--customer-radius);box-shadow:0 4px 16px rgba(34,61,95,.15);display:flex;flex-direction:column}.detail-more-menu button{width:100%;border:0;border-bottom:1px solid var(--customer-border-soft);background:transparent;padding:9px 14px;text-align:left;color:var(--customer-text);font-size:13px;cursor:pointer}.detail-more-menu button:last-child{border-bottom:0}.detail-more-menu button:hover{background:var(--customer-primary-soft)}.detail-more-menu.mobile{bottom:100%;top:auto;right:0}.detail-confirm{padding:10px 14px;display:flex;flex-direction:column;gap:8px;min-width:160px}.detail-confirm span{font-size:13px;color:var(--customer-text)}.detail-confirm .ref-action{text-align:center}.detail-top-actions{display:flex;gap:8px;align-items:center}.detail-profile-meta{display:flex;flex-direction:column;gap:6px;margin:10px 0}.detail-profile-meta.compact{gap:4px;margin:6px 0 10px}.detail-profile-meta>div:empty{display:none}.detail-profile-meta .profile-break{height:1px;border-top:1px solid var(--customer-border-soft);margin:4px 0}.detail-profile-meta div{display:flex;align-items:baseline;gap:6px}.detail-profile-meta div span{color:var(--customer-muted);font-size:12px;min-width:62px}.detail-profile-meta div b{color:var(--customer-text);font-size:13px;font-weight:500}.detail-profile-meta .profile-mono{font-family:SF Mono,Fira Code,monospace;font-size:11px;letter-spacing:.02em}.detail-profile-meta .profile-due{color:#e67700}.customer-management-scope .detail-profile>div.detail-profile-meta{display:flex;grid-template-columns:none;align-items:stretch;padding:0;color:inherit;font-size:inherit}.customer-management-scope .detail-profile>div.detail-profile-notes{display:block;padding:0;color:inherit;font-size:inherit}.detail-profile-notes{margin:10px 0 4px}.detail-profile-notes h4{margin:0 0 4px;font-size:13px;color:var(--customer-text)}.detail-profile-notes p{color:var(--customer-muted);font-size:12px;line-height:1.55}.detail-profile .detail-delete{margin-top:8px;border:1px solid #f0b7ba;border-radius:var(--customer-radius);background:#fff7f7;color:#b93a42;font-size:12px}.detail-profile .detail-delete:hover{background:#fef0f0;border-color:#e65c5c}.info-reference .info-notes{color:var(--customer-muted);font-size:12px;line-height:1.6}.customer-raw-intake-text{display:block;width:100%;max-width:100%;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.detail-mobile-bar{display:none;position:fixed;bottom:0;left:0;right:0;z-index:30;padding:8px 12px;background:var(--customer-surface);border-top:1px solid var(--customer-border);box-shadow:0 -2px 12px rgba(34,61,95,.1);gap:8px;justify-content:center}.detail-mobile-bar .ref-action{flex:1 1;max-width:120px;text-align:center;font-size:12px;padding:0 8px}@media (max-width:768px){.detail-mobile-bar{display:flex!important}.customer-management-scope .detail-reference-grid{grid-template-columns:1fr!important;padding-bottom:64px}.customer-management-scope .detail-action-row{flex-wrap:wrap}.customer-management-scope .detail-stages{flex-wrap:wrap;gap:4px}.customer-management-scope .detail-stages>div{padding:5px 10px;font-size:12px}.detail-top-actions{display:none!important}}@media (min-width:769px){.detail-mobile-bar{display:none!important}}.customer-recycle-live{position:relative}.customer-recycle-live .recycle-filter-panel{display:grid;grid-template-columns:repeat(5,minmax(145px,1fr));grid-gap:10px;gap:10px;padding:14px;margin:14px 0;border:1px solid var(--customer-border);background:#f8fafc}.customer-recycle-live .recycle-filter-panel label,.recycle-drawer label,.recycle-erasure label{display:flex;flex-direction:column;gap:5px;color:var(--customer-muted);font-size:12px}.customer-recycle-live .recycle-filter-panel input,.customer-recycle-live .recycle-filter-panel select,.recycle-drawer input,.recycle-drawer select,.recycle-drawer textarea,.recycle-erasure input{min-height:34px;padding:7px 9px;border:1px solid var(--customer-border);border-radius:4px;background:#fff;color:var(--customer-text)}.customer-recycle-live .recycle-filter-panel .ref-filter-actions{display:flex;align-items:flex-end;gap:8px}.recycle-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0}.recycle-actions button,.recycle-drawer button,.recycle-erasure button,.recycle-mobile-card button,.recycle-toolbar button{min-height:32px;padding:0 10px;border:1px solid #b9cbe0;border-radius:4px;background:#fff;color:#0b63ce;font-weight:600;cursor:pointer}.recycle-actions button:last-child,.recycle-drawer .danger,.recycle-erasure .danger,.recycle-mobile-card button:last-child,.recycle-toolbar .danger{color:#c53c44;border-color:#edb0b4}.recycle-select-all{margin-right:auto;color:var(--customer-text);font-size:13px}.recycle-table-wrap{overflow:auto;border:1px solid var(--customer-border)}.recycle-table{min-width:1580px}.recycle-table td,.recycle-table th{padding:10px 9px;vertical-align:top;white-space:nowrap;font-size:12px}.recycle-table td small,.recycle-table td strong{display:block}.recycle-table td small{margin-top:4px;color:var(--customer-muted);white-space:normal;max-width:180px}.recycle-actions{display:flex;gap:5px}.recycle-mobile-cards{display:none}.recycle-error{margin-top:12px;padding:10px;border:1px solid #f0b7ba;background:#fff7f7;color:#b93a42}.recycle-drawer{position:fixed;z-index:80;inset:0 0 0 auto;width:min(520px,100vw);display:flex;flex-direction:column;background:#fff;box-shadow:-8px 0 28px rgba(28,53,80,.18)}.recycle-drawer>header{display:flex;justify-content:space-between;gap:14px;padding:20px;border-bottom:1px solid var(--customer-border)}.recycle-drawer>header h2{margin:4px 0 0;color:var(--customer-text);font-size:20px}.recycle-drawer>header button{min-width:34px;font-size:20px}.recycle-drawer .eyebrow{color:#d46b08;font-size:11px;letter-spacing:.08em}.recycle-drawer-body{display:grid;grid-gap:16px;gap:16px;overflow:auto;padding:20px}.recycle-snapshot{display:grid;grid-gap:8px;gap:8px;padding:12px;border:1px solid #e0e7ef;background:#f8fafc}.recycle-snapshot span{display:flex;justify-content:space-between;gap:12px;color:var(--customer-muted);font-size:12px}.recycle-snapshot strong{color:var(--customer-text);font-weight:600;text-align:right}.recycle-conflict{margin:0;padding:9px 10px;border:1px solid #f2d7a1;background:#fffaf0;color:#806124;font-size:12px}.recycle-drawer footer{display:flex;gap:8px;padding:14px 20px;border-top:1px solid var(--customer-border)}.recycle-drawer footer button{flex:1 1}.recycle-erasure{display:grid;grid-gap:10px;gap:10px;padding-top:10px;border-top:1px solid var(--customer-border-soft)}.recycle-erasure h3,.recycle-erasure p{margin:0}.merge-preview{display:grid;grid-gap:8px;gap:8px;margin:12px 0;padding:12px;border:1px solid #dce3ec;background:#f8fafc}.merge-confirmation{display:grid;grid-gap:12px;gap:12px}.merge-choice,.merge-comparison{display:grid;grid-template-columns:120px 1fr 1fr;grid-gap:8px;gap:8px;align-items:center}.merge-choice,.merge-comparison>div{padding:8px 0;border-top:1px solid #e7ecf2;font-size:12px}.merge-choice{grid-template-columns:110px 1fr 1fr auto auto}.merge-choice label{display:flex;align-items:center;gap:4px;white-space:nowrap;font-size:11px}@media (max-width:1100px){.customer-recycle-live .recycle-filter-panel{grid-template-columns:repeat(3,minmax(145px,1fr))}}@media (max-width:768px){.customer-recycle-live .recycle-filter-panel{grid-template-columns:1fr 1fr;padding:10px}.customer-recycle-live .recycle-filter-panel .ref-filter-actions{grid-column:1/-1}.customer-recycle-live .recycle-toolbar{position:-webkit-sticky;position:sticky;top:0;z-index:5;padding:8px 0;background:#fff}.customer-recycle-live .recycle-select-all{flex-basis:100%;margin-right:0}.recycle-table-wrap{display:none}.recycle-mobile-card,.recycle-mobile-cards{display:grid;grid-gap:10px;gap:10px}.recycle-mobile-card{padding:14px;border:1px solid var(--customer-border);background:#fff}.recycle-mobile-card footer,.recycle-mobile-card header{display:flex;align-items:center;justify-content:space-between;gap:8px}.recycle-mobile-card p{margin:0;color:var(--customer-muted);font-size:12px}.recycle-mobile-card dl{display:grid;grid-gap:7px;gap:7px;margin:0}.recycle-mobile-card dl>div{display:flex;justify-content:space-between;gap:8px;font-size:12px}.recycle-mobile-card dt{color:var(--customer-muted)}.recycle-mobile-card dd{margin:0;color:var(--customer-text);text-align:right}.recycle-drawer{width:100vw}.merge-confirmation{position:fixed;inset:0;z-index:70;overflow:auto;padding:16px;background:#fff}.merge-confirmation .merge-preview{margin:0}.merge-confirmation form{display:grid;grid-gap:10px;gap:10px}.merge-choice,.merge-comparison{grid-template-columns:1fr 1fr}.merge-choice>span:first-child{grid-column:1/-1;font-weight:600}.merge-choice label{font-size:12px}.customer-management-scope .ref-drawer.customer-drawer.customer-batch-drawer{top:0;left:0;right:0;bottom:0;width:auto;max-width:none;box-sizing:border-box;overflow-x:hidden;padding:0 14px 14px;border-left:0}.customer-management-scope .customer-batch-drawer .batch-operations{overflow-x:hidden}}.customer-entry-modal-backdrop{position:fixed;inset:0;z-index:120;display:flex;align-items:center;justify-content:center;padding:24px;overflow:auto;background:rgba(10,28,50,.56);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.customer-entry-modal{position:relative;display:flex;flex-direction:column;width:min(1080px,calc(100vw - 48px));max-height:min(900px,92vh);overflow:hidden;border:1px solid #c9d9e8;border-radius:18px;background:#f4f8fc;color:#24344b;box-shadow:0 28px 70px rgba(7,31,58,.28),0 4px 18px rgba(7,31,58,.16)}.customer-entry-modal-spine{position:absolute;inset:0 auto 0 0;z-index:3;width:6px;background:linear-gradient(180deg,#0758b8,#1677ff 58%,#1aa28b)}.customer-entry-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:25px 28px 20px 32px;border-bottom:1px solid #d9e5ef;background:linear-gradient(115deg,#fff,#f4f9fd)}.customer-entry-modal-eyebrow{display:block;margin-bottom:7px;color:#147f86;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.customer-entry-modal-header h2{margin:0;color:#173b66;font-size:24px;letter-spacing:-.02em}.customer-entry-modal-header p{max-width:680px;margin:7px 0 0;color:#63768c;font-size:13px;line-height:1.55}.customer-entry-modal-error{display:grid;grid-gap:4px;gap:4px;max-width:680px;margin-top:14px;padding:10px 12px;border:1px solid #efb2b7;border-left:4px solid #d15d62;border-radius:8px;background:#fff6f6;color:#9f2f37;font-size:12px;line-height:1.5}.customer-entry-modal-error strong{color:#8e252d;font-size:12px}.customer-entry-modal-error span{overflow-wrap:anywhere;color:#a8474f}.customer-entry-modal-close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;border:1px solid #cbdbea;border-radius:10px;background:#fff;color:#46627e;font-size:25px;line-height:1;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,color .16s ease}.customer-entry-modal-close:hover{border-color:#8eb3d6;background:#edf5ff;color:#0758b8}.customer-entry-modal-toast{position:fixed;z-index:160;top:78px;left:50%;display:flex;align-items:center;gap:9px;width:max-content;max-width:min(520px,calc(100vw - 32px));padding:11px 16px;border:1px solid #efb2b7;border-left:4px solid #d15d62;border-radius:8px;background:#fff;color:#8e252d;box-shadow:0 10px 26px rgba(7,31,58,.18);font-size:13px;line-height:1.4;pointer-events:none;transform:translateX(-50%)}.customer-entry-modal-toast strong{flex:0 0 auto;white-space:nowrap;font-size:12px;letter-spacing:.04em}.customer-entry-modal-toast span{overflow-wrap:anywhere}.customer-entry-modal-body{min-height:0;overflow:auto;padding:22px 28px 28px 32px;background:#f4f8fc}.customer-entry-modal .customer-entry-modal-state{margin:0;padding:22px;border:1px solid #d7e4ef;border-radius:12px;background:#fff}.customer-entry-modal .customer-entry-modal-state h1{margin:0 0 8px;color:#173b66;font-size:18px}.customer-entry-modal .customer-entry-modal-state p{margin:0;color:#63768c}.customer-entry-modal .customer-entry-manual-panel{width:100%;max-width:none;padding:0;border:0;background:transparent}.customer-entry-modal .customer-entry-manual-panel form{gap:16px}.customer-entry-modal .customer-entry-manual-panel label{color:#304a67;font-size:13px}.customer-entry-modal .customer-entry-manual-panel input,.customer-entry-modal .customer-entry-manual-panel select,.customer-entry-modal .customer-entry-manual-panel textarea{border-color:#c8d7e5;background:#fff;color:#24344b;transition:border-color .16s ease,box-shadow .16s ease}.customer-entry-modal .customer-entry-manual-panel input:focus,.customer-entry-modal .customer-entry-manual-panel select:focus,.customer-entry-modal .customer-entry-manual-panel textarea:focus{border-color:#2f83e6;box-shadow:0 0 0 3px rgba(47,131,230,.14);outline:0}.customer-entry-modal .customer-entry-manual-panel input[aria-invalid=true],.customer-entry-modal .customer-entry-manual-panel select[aria-invalid=true]{border-color:#d15d62}.customer-entry-modal .customer-entry-manual-panel form>div:last-child{position:-webkit-sticky;position:sticky;bottom:-1px;z-index:2;display:flex;justify-content:flex-end;gap:10px;margin-top:4px;padding:14px 0 0;border-top:1px solid #d8e4ee;background:linear-gradient(180deg,rgba(244,248,252,0),#f4f8fc 12px,#f4f8fc)}@media (max-width:768px){.customer-entry-modal-backdrop{align-items:stretch;padding:0}.customer-entry-modal{width:100%;max-height:none;height:100%;border:0;border-radius:0}.customer-entry-modal-header{gap:12px;padding:max(18px,env(safe-area-inset-top)) 18px 16px 24px}.customer-entry-modal-header h2{font-size:21px}.customer-entry-modal-header p{font-size:12px}.customer-entry-modal-toast{top:max(72px,env(safe-area-inset-top));right:16px;left:16px;width:auto;max-width:none;transform:none}.customer-entry-modal-body{padding:16px 16px calc(18px + env(safe-area-inset-bottom)) 24px}.customer-entry-modal .customer-entry-manual-panel form>div:last-child{margin-left:-2px;margin-right:-2px;padding-bottom:4px}}@media (prefers-reduced-motion:reduce){.customer-entry-modal .customer-entry-manual-panel input,.customer-entry-modal .customer-entry-manual-panel select,.customer-entry-modal .customer-entry-manual-panel textarea,.customer-entry-modal-close{transition:none}}.customer-view-modal-backdrop{position:fixed;inset:0;z-index:121;display:flex;align-items:center;justify-content:center;padding:24px;overflow:auto;background:rgba(10,28,50,.58);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.customer-view-modal{position:relative;display:flex;flex-direction:column;width:min(1320px,calc(100vw - 48px));max-height:min(920px,94vh);overflow:hidden;border:1px solid #c9d9e8;border-radius:4px;background:#f4f8fc;color:#24344b;box-shadow:0 28px 70px rgba(7,31,58,.3),0 4px 18px rgba(7,31,58,.16)}.customer-view-modal-spine{position:absolute;inset:0 auto 0 0;z-index:3;width:6px;background:linear-gradient(180deg,#0758b8,#1677ff 58%,#1aa28b)}.customer-view-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:25px 28px 20px 32px;border-bottom:1px solid #d9e5ef;background:linear-gradient(115deg,#fff,#f4f9fd)}.customer-view-modal-eyebrow{display:block;margin-bottom:7px;color:#147f86;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.customer-view-modal-header h2{margin:0;color:#173b66;font-size:24px;letter-spacing:-.02em}.customer-view-modal-header p{max-width:760px;margin:7px 0 0;color:#63768c;font-size:13px;line-height:1.55}.customer-view-modal-header-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}.customer-view-modal-edit{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border:1px solid #b5d0e9;border-radius:4px;background:#edf5ff;color:#0758b8;font-size:13px;font-weight:700;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease}.customer-view-modal-edit:hover{border-color:#6ea6d6;background:#e1efff;color:#064a99}.customer-edit-confirm button:focus-visible,.customer-view-modal-close:focus-visible,.customer-view-modal-edit:focus-visible{outline:3px solid rgba(47,131,230,.35);outline-offset:2px}.customer-view-modal-close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;border:1px solid #cbdbea;border-radius:4px;background:#fff;color:#46627e;font-size:25px;line-height:1;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,color .16s ease}.customer-view-modal-close:hover{border-color:#8eb3d6;background:#edf5ff;color:#0758b8}.customer-view-modal-notice{margin:0;padding:10px 28px 0 32px;color:#147f86;font-size:12px;font-weight:700}.customer-view-modal-body{overflow:auto;padding:22px 28px 28px 32px;background:#f4f8fc}.customer-view-modal .detail-workspace{margin:0;padding:0;background:transparent}.customer-view-modal .detail-workspace>.ref-crumb{display:none}.customer-view-modal .detail-reference-grid{grid-template-columns:288px minmax(430px,1.45fr) minmax(300px,1fr)}.customer-view-modal .customer-drawer,.customer-view-modal .detail-delete,.customer-view-modal .detail-mobile-bar,.customer-view-modal .detail-top-actions{display:none!important}.customer-view-modal .detail-action-row{justify-content:flex-start;margin-bottom:14px}.customer-view-modal .detail-stages>div{min-width:132px}.customer-view-modal .detail-tabs{overflow-x:auto}.customer-view-modal .detail-tabs button{flex:0 0 auto}.customer-view-modal .detail-profile>small{display:none}.customer-view-modal .detail-workspace .reference-page{max-width:none}.customer-view-modal .detail-workspace [role=alert]{margin-top:12px}.customer-edit-confirm-backdrop{position:absolute;inset:0;z-index:12;display:grid;place-items:center;padding:24px;background:rgba(10,28,50,.48);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.customer-edit-confirm{display:grid;grid-template-columns:auto 1fr;grid-gap:14px;gap:14px;width:min(460px,100%);padding:22px;border:1px solid #d6e2ed;border-radius:8px;background:#fff;box-shadow:0 22px 56px rgba(7,31,58,.24)}.customer-edit-confirm-mark{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fff4d8;color:#9c6b11;font-weight:800}.customer-edit-confirm h3{margin:2px 0 6px;color:#173b66;font-size:17px}.customer-edit-confirm p{margin:0;color:#63768c;font-size:13px;line-height:1.55}.customer-edit-confirm-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px;padding-top:8px;border-top:1px solid #e5edf4}.customer-edit-confirm-actions .danger{border-color:#e7b7b9;background:#fff5f5;color:#a33a42}.customer-edit-confirm-actions .danger:hover{border-color:#d88b8f;background:#ffe9e9}@media (max-width:1280px){.customer-view-modal .detail-reference-grid{grid-template-columns:1fr}}@media (max-width:768px){.customer-view-modal-backdrop{align-items:stretch;padding:0}.customer-view-modal{width:100%;max-height:none;height:100%;border:0;border-radius:0}.customer-view-modal-header{gap:12px;padding:max(18px,env(safe-area-inset-top)) 18px 16px 24px}.customer-view-modal-header h2{font-size:21px}.customer-view-modal-header p{font-size:12px}.customer-view-modal-header-actions{gap:6px}.customer-view-modal-edit{min-height:44px;padding:0 11px;font-size:12px}.customer-view-modal-body{padding:16px 16px calc(18px + env(safe-area-inset-bottom)) 24px}.customer-view-modal-notice{padding:10px 16px 0 24px}.customer-view-modal .detail-mobile-bar{display:none!important}.customer-view-modal .detail-reference-grid{padding-bottom:0!important}.customer-view-modal .detail-stages>div{min-width:0;flex:1 1 120px}.customer-edit-confirm-backdrop{padding:16px}.customer-edit-confirm{padding:18px}.customer-edit-confirm-actions{display:grid;grid-template-columns:1fr 1fr}.customer-edit-confirm-actions button{width:100%}}@media (prefers-reduced-motion:reduce){.customer-view-modal-close,.customer-view-modal-edit{transition:none}}.customer-wechat-qr-backdrop{position:fixed;inset:0;z-index:160;display:grid;place-items:center;padding:24px;background:rgba(10,28,50,.62);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.customer-wechat-qr-modal{position:relative;display:flex;flex-direction:column;width:min(480px,calc(100vw - 48px));max-height:min(720px,92vh);overflow:hidden;border:1px solid #c9d9e8;border-radius:16px;background:#f8fafc;color:#0f172a;box-shadow:0 28px 70px rgba(7,31,58,.32),0 4px 18px rgba(7,31,58,.16);animation:customer-wechat-qr-enter .22s cubic-bezier(.22,.8,.28,1) both}.customer-wechat-qr-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 22px 18px 26px;border-bottom:1px solid #e4ecfc;background:linear-gradient(115deg,#fff,#f1f5fd)}.customer-wechat-qr-eyebrow{display:block;margin-bottom:6px;color:#0f766e;font-size:12px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.customer-wechat-qr-editor h3,.customer-wechat-qr-header h2{margin:0;color:#173b66;font-size:20px;letter-spacing:-.02em}.customer-wechat-qr-editor-heading p,.customer-wechat-qr-header p{margin:6px 0 0;color:#63768c;font-size:12px;line-height:1.5}.customer-wechat-qr-close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;border:1px solid #cbdbea;border-radius:10px;background:#fff;color:#46627e;font-size:25px;line-height:1;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,color .16s ease}.customer-wechat-qr-close:hover{border-color:#8eb3d6;background:#edf5ff;color:#0758b8}.customer-wechat-qr-button:focus-visible,.customer-wechat-qr-close:focus-visible,.customer-wechat-qr-file-picker:focus-within,.customer-wechat-qr-selected button:focus-visible{outline:3px solid rgba(37,99,235,.28);outline-offset:2px}.customer-wechat-qr-body{display:grid;place-items:center;min-height:320px;overflow:auto;padding:26px;background:#f8fafc}.customer-wechat-qr-image-frame{display:grid;place-items:center;width:min(100%,320px);aspect-ratio:1;padding:14px;border:1px solid #dbe7f5;border-radius:14px;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.1)}.customer-wechat-qr-image-frame img{display:block;width:100%;height:100%;object-fit:contain;image-rendering:auto}.customer-wechat-qr-state{display:grid;place-items:center;grid-gap:14px;gap:14px;color:#46627e;font-size:13px;text-align:center}.customer-wechat-qr-error{color:#a33a42}.customer-wechat-qr-error p{margin:0}.customer-wechat-qr-spinner{width:28px;height:28px;border:3px solid #dbe7f5;border-top-color:#2563eb;border-radius:50%;animation:customer-wechat-qr-spin .68s linear infinite}.customer-wechat-qr-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 22px 16px;border-top:1px solid #e4ecfc;background:#fff;color:#63768c;font-size:12px}.customer-wechat-qr-button{display:inline-flex;align-items:center;justify-content:center;min-width:86px;min-height:44px;padding:0 14px;border:1px solid #b5d0e9;border-radius:10px;background:#fff;color:#0758b8;font-size:12px;font-weight:700;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease}.customer-wechat-qr-button:hover:not(:disabled){border-color:#6ea6d6;background:#edf5ff;color:#064a99}.customer-wechat-qr-button.primary{border-color:#2563eb;background:#2563eb;color:#fff;box-shadow:0 5px 12px rgba(37,99,235,.2)}.customer-wechat-qr-button.primary:hover:not(:disabled){border-color:#1d4ed8;background:#1d4ed8}.customer-wechat-qr-button.subtle{min-width:auto;min-height:44px;padding-inline:12px;background:#f1f5fd}.customer-wechat-qr-button:disabled{cursor:not-allowed;opacity:.54}.customer-wechat-qr-editor{display:grid;grid-gap:12px;gap:12px;padding:17px;border:1px solid #dbe7f5;border-radius:14px;background:#f8fafc}.customer-wechat-qr-editor-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.customer-wechat-qr-current{display:flex;align-items:center;gap:8px;padding:9px 11px;border:1px solid #bce9da;border-radius:9px;background:#f0fdf9;color:#0f766e;font-size:12px}.customer-wechat-qr-check{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#059669;color:#fff;font-size:12px;font-weight:800}.customer-wechat-qr-file-picker{display:flex;align-items:center;gap:11px;min-height:64px;padding:10px 12px;border:1px dashed #9db9d4;border-radius:11px;background:#fff;color:#173b66;cursor:pointer;transition:border-color .16s ease,background-color .16s ease}.customer-wechat-qr-file-picker:hover{border-color:#2563eb;background:#f7fbff}.customer-wechat-qr-file-picker input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.customer-wechat-qr-file-picker>span:nth-child(2){display:grid;grid-gap:3px;gap:3px;min-width:0}.customer-wechat-qr-file-picker b{font-size:12px}.customer-wechat-qr-file-picker small,.customer-wechat-qr-private-note{color:#63768c;font-size:12px;line-height:1.45}.customer-wechat-qr-file-icon{display:inline-grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:9px;background:#edf5ff;color:#2563eb;font-size:21px;line-height:1}.customer-wechat-qr-selected{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:34px;padding:0 2px;color:#46627e;font-size:12px}.customer-wechat-qr-selected span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-wechat-qr-selected button{min-height:44px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:#a33a42;cursor:pointer}.customer-wechat-qr-field-error{margin:0;color:#a33a42;font-size:12px}.customer-wechat-qr-field-notice{margin:0;color:#0f766e;font-size:12px}.customer-wechat-qr-readonly{margin:0;color:#63768c;font-size:12px}.customer-wechat-qr-link,.customer-wechat-qr-trigger{display:inline-flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:8px 10px;border:1px solid #b9d2eb;border-radius:10px;background:#f1f7ff;color:#0758b8;font-size:12px;font-weight:700;line-height:1.35;text-decoration:none;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease}.customer-wechat-qr-link:hover,.customer-wechat-qr-trigger:hover{border-color:#6ea6d6;background:#e8f2ff;color:#064a99}.customer-wechat-qr-link:focus-visible,.customer-wechat-qr-trigger:focus-visible{outline:3px solid rgba(37,99,235,.28);outline-offset:2px}.customer-wechat-qr-link span:last-child,.customer-wechat-qr-trigger b{flex:0 0 auto;padding:3px 7px;border-radius:999px;background:#d9f2ec;color:#0f766e;font-size:12px;font-weight:800;letter-spacing:.02em}.customer-wechat-qr-link span:first-child,.customer-wechat-qr-trigger span{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;overflow-wrap:anywhere}.customer-wechat-qr-trigger{width:100%;justify-content:flex-start;margin-top:10px}.customer-wechat-qr-trigger b{margin-left:auto}.customer-wechat-qr-mobile{width:100%;margin-top:8px}@media (max-width:640px){.customer-wechat-qr-link,.customer-wechat-qr-trigger{width:100%}.customer-wechat-qr-header{padding-inline:18px}.customer-wechat-qr-footer{align-items:stretch;flex-direction:column}.customer-wechat-qr-footer .customer-wechat-qr-button{width:100%}}@keyframes customer-wechat-qr-enter{0%{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes customer-wechat-qr-spin{to{transform:rotate(1turn)}}@media (max-width:768px){.customer-wechat-qr-backdrop{align-items:stretch;padding:0}.customer-wechat-qr-modal{width:100%;max-height:none;height:100%;border:0;border-radius:0}.customer-wechat-qr-header{padding:max(18px,env(safe-area-inset-top)) 18px 16px 22px}.customer-wechat-qr-body{min-height:0;padding:22px}.customer-wechat-qr-footer{padding:14px 18px calc(16px + env(safe-area-inset-bottom))}.customer-wechat-qr-footer>span{max-width:62%}.customer-wechat-qr-editor-heading{display:grid;grid-gap:10px;gap:10px}.customer-wechat-qr-editor-heading .customer-wechat-qr-button{justify-self:start}}@media (prefers-reduced-motion:reduce){.customer-wechat-qr-modal{animation:none}.customer-wechat-qr-spinner{animation:none;border-top-color:#2563eb}.customer-wechat-qr-button,.customer-wechat-qr-close,.customer-wechat-qr-file-picker{transition:none}}.customer-text-chat-panel{display:grid;grid-gap:14px;gap:14px;margin-bottom:22px;padding-bottom:20px;border-bottom:1px solid #dbe7f2}.customer-text-chat-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.customer-text-chat-eyebrow{color:#147f86;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.customer-text-chat-header h2{margin:3px 0 0;color:#173b66;font-size:16px}.customer-text-chat-header p{margin:4px 0 0;color:#63768c;font-size:12px;line-height:1.45}.customer-text-chat-count{flex:0 0 auto;padding:5px 8px;border:1px solid #c8d9e8;border-radius:999px;color:#46627e;font-size:11px;font-weight:700}.customer-text-chat-list{display:grid;grid-gap:10px;gap:10px;margin:0;padding:0;list-style:none}.customer-text-chat-record{padding:11px 12px;border:1px solid #d9e6f1;border-left:3px solid #2d83cf;border-radius:4px;background:#fbfdff}.customer-text-chat-record pre{margin:0;color:#243f5b;font:inherit;font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.customer-text-chat-record footer{display:flex;justify-content:space-between;gap:10px;margin-top:9px;color:#71859b;font-size:11px}.customer-text-chat-compose{display:grid;grid-gap:8px;gap:8px;padding:12px;border:1px solid #bcd4e9;border-radius:4px;background:#f2f8fe}.customer-text-chat-compose label{display:grid;grid-gap:6px;gap:6px;color:#315474;font-size:12px;font-weight:700}.customer-text-chat-compose textarea{min-height:112px;resize:vertical}.customer-text-chat-compose-footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.customer-text-chat-compose-footer small{color:#71859b;font-size:11px}.customer-text-chat-error{margin:0;color:#a33a42;font-size:12px;line-height:1.45}@media (max-width:768px){.customer-text-chat-compose-footer{align-items:stretch;flex-direction:column}.customer-text-chat-compose-footer .ref-action{width:100%}}.customer-chat-image-panel{display:grid;grid-gap:14px;gap:14px;margin-bottom:22px;padding-bottom:20px;border-bottom:1px solid #dbe7f2}.customer-chat-image-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.customer-chat-image-eyebrow{color:#147f86;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.customer-chat-image-header h2{margin:3px 0 0;color:#173b66;font-size:16px}.customer-chat-image-header p{margin:4px 0 0;color:#63768c;font-size:12px;line-height:1.45}.customer-chat-image-count{flex:0 0 auto;padding:5px 8px;border:1px solid #c8d9e8;border-radius:999px;color:#46627e;font-size:11px;font-weight:700}.customer-chat-image-count.at-limit{border-color:#f0b9be;background:#fff5f5;color:#a33a42}.customer-chat-image-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px;margin:0;padding:0;list-style:none}.customer-chat-image-record-button{display:flex;align-items:center;gap:10px;width:100%;min-height:68px;padding:9px 10px;border:1px solid #d9e6f1;border-radius:10px;background:#fbfdff;color:#243f5b;text-align:left;cursor:pointer;transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease}.customer-chat-image-record-button:hover{border-color:#75a9d5;background:#f2f8fe;box-shadow:0 4px 12px rgba(41,91,137,.08)}.customer-chat-image-button:focus-visible,.customer-chat-image-close:focus-visible,.customer-chat-image-file-picker:focus-within,.customer-chat-image-record-button:focus-visible,.customer-chat-image-selected button:focus-visible{outline:3px solid rgba(37,99,235,.28);outline-offset:2px}.customer-chat-image-thumb{display:inline-grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:9px;background:linear-gradient(145deg,#dceeff,#e8f7f2);color:#216a89;font-size:10px;font-weight:800;letter-spacing:.06em}.customer-chat-image-record-copy{display:grid;min-width:0;grid-gap:3px;gap:3px}.customer-chat-image-record-copy b{overflow:hidden;color:#315474;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.customer-chat-image-record-copy small{overflow:hidden;color:#71859b;font-size:11px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.customer-chat-image-view-label{flex:0 0 auto;margin-left:auto;padding:3px 7px;border-radius:999px;background:#d9f2ec;color:#0f766e;font-size:11px;font-weight:800}.customer-chat-image-compose{display:grid;grid-gap:8px;gap:8px;padding:12px;border:1px solid #bcd4e9;border-radius:4px;background:#f2f8fe}.customer-chat-image-file-picker{display:flex;align-items:center;gap:11px;min-height:64px;padding:10px 12px;border:1px dashed #9db9d4;border-radius:11px;background:#fff;color:#173b66;cursor:pointer;transition:border-color .16s ease,background-color .16s ease}.customer-chat-image-file-picker:hover{border-color:#2563eb;background:#f7fbff}.customer-chat-image-file-picker input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.customer-chat-image-file-picker>span:nth-child(2){display:grid;min-width:0;grid-gap:3px;gap:3px}.customer-chat-image-file-picker b{font-size:12px}.customer-chat-image-file-picker small{overflow:hidden;color:#63768c;font-size:12px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.customer-chat-image-file-icon{display:inline-grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:9px;background:#edf5ff;color:#2563eb;font-size:21px;line-height:1}.customer-chat-image-selected{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:34px;padding:0 2px;color:#46627e;font-size:12px}.customer-chat-image-selected span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-chat-image-selected button{min-height:44px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:#a33a42;cursor:pointer}.customer-chat-image-compose-footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.customer-chat-image-compose-footer small{color:#71859b;font-size:11px}.customer-chat-image-button{display:inline-flex;align-items:center;justify-content:center;min-width:86px;min-height:44px;padding:0 14px;border:1px solid #b5d0e9;border-radius:10px;background:#fff;color:#0758b8;font-size:12px;font-weight:700;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease}.customer-chat-image-button:hover:not(:disabled){border-color:#6ea6d6;background:#edf5ff;color:#064a99}.customer-chat-image-button.primary{border-color:#2563eb;background:#2563eb;color:#fff;box-shadow:0 5px 12px rgba(37,99,235,.2)}.customer-chat-image-button.primary:hover:not(:disabled){border-color:#1d4ed8;background:#1d4ed8}.customer-chat-image-button:disabled{cursor:not-allowed;opacity:.54}.customer-chat-image-error-text{margin:0;color:#a33a42;font-size:12px;line-height:1.45}.customer-chat-image-notice{margin:0;color:#0f766e;font-size:12px;line-height:1.45}.customer-chat-image-warning{margin:0;padding:9px 11px;border:1px solid #f0d39b;border-radius:9px;background:#fff9eb;color:#865d12;font-size:12px;line-height:1.45}.customer-chat-image-readonly{margin:0;color:#63768c;font-size:12px}.customer-chat-image-backdrop{position:fixed;z-index:1200;inset:0;display:grid;place-items:center;padding:20px;background:rgba(15,35,58,.48)}.customer-chat-image-modal{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(760px,100%);max-height:min(90vh,860px);overflow:hidden;border:1px solid #c8d9e8;border-radius:14px;background:#fff;box-shadow:0 26px 72px rgba(15,23,42,.24);animation:customer-chat-image-enter .18s ease-out}.customer-chat-image-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 22px 16px;border-bottom:1px solid #e4ecfc;background:#fff}.customer-chat-image-modal-header h2{margin:3px 0 0;color:#173b66;font-size:17px}.customer-chat-image-modal-header p{margin:4px 0 0;color:#63768c;font-size:12px}.customer-chat-image-close{display:inline-grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid #b5d0e9;border-radius:10px;background:#fff;color:#46627e;font-size:24px;line-height:1;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,color .16s ease}.customer-chat-image-close:hover{border-color:#8eb3d6;background:#edf5ff;color:#0758b8}.customer-chat-image-modal-body{display:grid;place-items:center;min-height:320px;overflow:auto;padding:26px;background:#f8fafc}.customer-chat-image-preview-frame{display:grid;place-items:center;width:min(100%,660px);min-height:180px;padding:12px;border:1px solid #dbe7f5;border-radius:14px;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.1)}.customer-chat-image-preview-frame img{display:block;max-width:100%;max-height:58vh;object-fit:contain}.customer-chat-image-state{display:grid;place-items:center;grid-gap:14px;gap:14px;color:#46627e;font-size:13px;text-align:center}.customer-chat-image-state p{max-width:34em;margin:0;line-height:1.5}.customer-chat-image-error{color:#a33a42}.customer-chat-image-spinner{width:28px;height:28px;border:3px solid #dbe7f5;border-top-color:#2563eb;border-radius:50%;animation:customer-chat-image-spin .68s linear infinite}.customer-chat-image-modal-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 22px 16px;border-top:1px solid #e4ecfc;background:#fff;color:#63768c;font-size:12px}.customer-chat-image-modal-footer>span{max-width:70%;line-height:1.45}@media (max-width:768px){.customer-chat-image-list{grid-template-columns:1fr}.customer-chat-image-compose-footer{align-items:stretch;flex-direction:column}.customer-chat-image-compose-footer .customer-chat-image-button{width:100%}.customer-chat-image-backdrop{align-items:stretch;padding:0}.customer-chat-image-modal{width:100%;max-height:none;height:100%;border:0;border-radius:0}.customer-chat-image-modal-header{padding:max(18px,env(safe-area-inset-top)) 18px 16px 22px}.customer-chat-image-modal-body{min-height:0;padding:20px}.customer-chat-image-preview-frame img{max-height:65vh}.customer-chat-image-modal-footer{align-items:stretch;flex-direction:column;padding:14px 18px calc(16px + env(safe-area-inset-bottom))}.customer-chat-image-modal-footer>span{max-width:none}.customer-chat-image-modal-footer .customer-chat-image-button{width:100%}}@keyframes customer-chat-image-enter{0%{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes customer-chat-image-spin{to{transform:rotate(1turn)}}@media (prefers-reduced-motion:reduce){.customer-chat-image-modal{animation:none}.customer-chat-image-spinner{animation:none;border-top-color:#2563eb}.customer-chat-image-button,.customer-chat-image-close,.customer-chat-image-file-picker,.customer-chat-image-record-button{transition:none}}.customer-entry-modal{width:min(1680px,calc(100vw - 32px));max-height:min(96vh,1080px)}.customer-entry-modal .customer-entry-modal-body{padding:20px 26px 24px 28px}@media (min-width:820px){.customer-entry-modal .customer-entry-manual-panel form{grid-template-columns:minmax(0,1fr) minmax(340px,390px);gap:12px 20px;padding-bottom:72px}.customer-entry-modal .customer-entry-manual-panel fieldset{border-radius:10px;box-shadow:0 1px 0 rgba(21,59,102,.03)}.customer-entry-modal .customer-entry-manual-panel .intakePanel{margin:0}}@media (min-width:820px) and (max-width:1023px){.customer-entry-modal .customer-entry-manual-panel form{grid-template-columns:1fr}}@media (max-width:819px){.customer-entry-modal{width:100%;max-height:none;height:100%}}.customer-import-live .import-status-filters button:focus-visible{outline:2px solid #71aaf0;outline-offset:2px}.customer-import-live .import-awaiting-validation{display:grid;grid-gap:5px;gap:5px;margin-bottom:12px;padding:18px;border:1px solid #cfe1f6;border-left:4px solid #0b63ce;border-radius:4px;background:#f5f9ff;color:#546982}.customer-import-live .import-awaiting-validation b{color:#254564}.customer-import-live .import-result-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;border:1px solid #dce5ef;background:#fff;color:#607187;font-size:12px}.customer-import-live .import-result-controls select{height:30px;margin:0 3px;border:1px solid #cbd8e7;border-radius:3px;color:#42546a;background:#fff}.customer-import-live .import-status-filters{display:flex;flex-wrap:wrap;gap:6px}.customer-import-live .import-status-filters button{min-height:28px;padding:0 9px;border:1px solid #d4e0ed;border-radius:14px;color:#52657c}.customer-import-live .import-status-filters button.active{border-color:#0b63ce;background:#edf5ff;color:#0759b9}.customer-import-live .import-status-filters b{margin-left:3px;font-weight:700}.customer-import-live .import-table{max-height:560px}.customer-import-live .import-table th{position:-webkit-sticky;position:sticky;top:0;z-index:1}.customer-import-live .import-pagination{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;padding:12px 0 2px;color:#63748a;font-size:12px}.customer-import-live .import-pagination span{margin-right:auto}.customer-import-live .import-pagination button{height:30px;padding:0 10px;border:1px solid #d0ddea;border-radius:3px;background:#fff;color:#0b63ce}.customer-import-live .import-pagination input{width:48px;height:30px;border:1px solid #d0ddea;border-radius:3px;text-align:center}.customer-import-live .import-reference-side .import-actions{position:-webkit-sticky;position:sticky;bottom:12px;z-index:2;background:#fff;box-shadow:0 -8px 12px rgba(255,255,255,.92)}@media (max-width:768px){.customer-import-live .import-result-controls{align-items:flex-start;flex-direction:column}.customer-import-live .import-mobile-result-controls{display:grid;grid-gap:10px;gap:10px;margin:12px 0}.customer-import-live .import-mobile-result-controls>label{color:#58708b;font-size:12px}.customer-import-live .import-mobile-result-controls select{min-height:32px;margin-inline:4px;border:1px solid #cbd9e7;border-radius:4px;background:#fff}.customer-import-live .import-mobile-pagination{display:grid;grid-gap:8px;gap:8px;align-items:start;margin-top:12px}.customer-import-live .import-mobile-pagination>div{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.customer-import-live .import-mobile-pagination span{line-height:1.5}}.customer-management-scope .detail-info .info-reference[aria-label^="编辑"]{gap:14px 18px;padding:20px;border-radius:10px;box-shadow:0 6px 18px rgba(21,59,102,.05)}.customer-management-scope .detail-info .info-reference[aria-label^="编辑"]>h3{margin:0;padding:0 0 12px;border-bottom:1px solid #dfe9f2;color:#173b66;font-size:16px}.customer-management-scope .detail-info .info-reference[aria-label^="编辑"]>.customer-region-edit-field,.customer-management-scope .detail-info .info-reference[aria-label^="编辑"]>label{padding:9px 10px;border:1px solid #e1eaf2;border-radius:7px;background:#fff}.customer-management-scope .detail-info .info-reference[aria-label^="编辑"]>label:has(input[type=checkbox]){display:flex;align-items:center;gap:9px;min-height:42px}.customer-management-scope .detail-info .info-reference[aria-label^="编辑"]>label:has(input[type=checkbox]) input{width:16px;height:16px;min-height:0;margin:0}.customer-management-scope .detail-info .info-reference[aria-label^="编辑"]>label:has(textarea){padding-bottom:10px}.customer-management-scope .detail-info .info-reference[aria-label^="编辑"]>.ref-action{min-height:38px;margin-top:2px}.customer-management-scope .detail-info .info-reference[aria-label^="编辑"]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px 16px;gap:12px 16px;margin-top:16px;padding:16px;border:1px solid var(--customer-border-soft,#dbe5ef);border-radius:6px;background:#fbfdff}.customer-management-scope .detail-info .info-reference[aria-label^="编辑"]>.customer-lead-status-warning,.customer-management-scope .detail-info .info-reference[aria-label^="编辑"]>button,.customer-management-scope .detail-info .info-reference[aria-label^="编辑"]>h3,.customer-management-scope .detail-info .info-reference[aria-label^="编辑"]>p{grid-column:1/-1}.customer-management-scope .detail-info .info-reference[aria-label^="编辑"]>.customer-region-edit-field,.customer-management-scope .detail-info .info-reference[aria-label^="编辑"]>label{display:grid;min-width:0;grid-gap:6px;gap:6px;margin:0;color:#52677f;font-size:12px}.customer-management-scope .detail-info .info-reference[aria-label^="编辑"] textarea{min-height:96px}.customer-management-scope .detail-info .info-reference[aria-label^="编辑"]>label:has(textarea){grid-column:1/-1}.customer-management-scope .detail-info .info-reference[aria-label^="编辑"]>.ref-action{justify-self:start;min-width:116px}.customer-management-scope .view-column-list{display:block}.customer-management-scope .view-column-row{min-height:44px;height:44px;grid-template-columns:minmax(0,1fr) 28px 28px 24px;gap:4px;padding:0 10px}.customer-management-scope .view-column-row>label{display:flex;height:100%;align-items:center;gap:9px;margin:0;padding:0;line-height:1.2}.customer-management-scope .view-column-row>label>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-management-scope .view-column-row button{display:grid;min-height:28px;place-items:center}.customer-management-scope .view-column-lock{grid-column:4;justify-self:center;margin:0}.customer-management-scope .view-column-handle{height:28px}@media (max-width:760px){.customer-management-scope .detail-info .info-reference[aria-label^="编辑"]{grid-template-columns:1fr;padding:14px}.customer-management-scope .detail-info .info-reference[aria-label^="编辑"]>.customer-region-edit-field,.customer-management-scope .detail-info .info-reference[aria-label^="编辑"]>label{grid-column:1}}.customer-centered-modal-backdrop{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:20px;background:rgb(14 42 52/42%)}.customer-centered-modal{width:min(960px,100%);max-height:min(820px,calc(100vh - 40px));overflow:auto;padding:20px;border:1px solid var(--border,#d7e2e5);border-radius:12px;background:var(--surface,#fff);box-shadow:0 24px 64px rgb(10 42 52/25%)}.customer-centered-modal>div:first-child,.customer-centered-modal>footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.customer-centered-modal>div:first-child button{border:0;background:transparent;font-size:22px}@media (max-width:640px){.customer-centered-modal-backdrop{padding:10px}.customer-centered-modal{max-height:calc(100vh - 20px);padding:16px;border-radius:10px}}.customer-view-modal{width:min(1760px,calc(100vw - 48px));height:min(1100px,calc(100vh - 24px));max-height:calc(100vh - 24px)}.customer-view-modal .detail-action-row,.customer-view-modal .detail-profile{display:none!important}.customer-view-modal .detail-reference-grid{grid-template-columns:minmax(0,1fr) minmax(340px,380px);gap:18px}.customer-view-modal .detail-info.is-customer-info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;grid-gap:16px;gap:16px;min-width:0}.customer-view-modal .detail-info.is-customer-info>.detail-tabs{display:none;grid-column:1/-1;margin:0}.customer-view-modal .detail-tabs button:first-child{display:none}.customer-view-modal .detail-info.is-customer-info>.info-reference{min-width:0;margin:0}.customer-view-modal .detail-info.is-customer-info>.customer-lead-status-warning{grid-column:1/-1;order:1;margin:0}.customer-view-modal .detail-info.is-customer-info>.info-reference-basic{order:1}.customer-view-modal .detail-info.is-customer-info>.info-reference-appointment{order:2}.customer-view-modal .detail-info.is-customer-info>.info-reference-condition{order:3}.customer-view-modal .detail-info.is-customer-info>.info-reference-source{order:4}.customer-view-modal .detail-info.is-customer-info>.info-reference-notes{grid-column:1/-1;order:5}.customer-view-modal .detail-info.is-customer-info>.customer-inline-qr-editor{grid-column:1/-1;order:9;min-width:0;margin:0;padding-top:4px;border-top:1px solid #e4edf5}.customer-view-modal .detail-info.is-customer-info>.info-reference:not(.info-reference-basic):not(.info-reference-appointment):not(.info-reference-condition):not(.info-reference-source):not(.info-reference-notes):not(.customer-profile-editor):not(.customer-medical-editor){grid-column:1/-1;order:8}.customer-view-modal .detail-info.is-customer-info>.info-reference>h3{margin:0 0 10px;color:#173b66;font-size:14px}.customer-view-modal .info-reference-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:6px;gap:6px}.customer-view-modal .info-reference-field{display:grid;grid-template-columns:minmax(76px,max-content) minmax(0,1fr);grid-template-rows:auto auto;grid-column-gap:10px;column-gap:10px;grid-row-gap:2px;row-gap:2px;min-width:0;min-height:46px;align-items:center;padding:7px 10px;border:1px solid #dfe8f1;border-radius:6px;background:#fbfdff}.customer-view-modal .info-reference-field>span{grid-column:1;grid-row:1/span 2;align-self:center;overflow:hidden;color:#63768c;font-size:11px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.customer-view-modal .info-reference-field>b{grid-column:2;grid-row:1;min-width:0;margin:0;overflow-wrap:anywhere;color:#243f5b;font-size:13px;font-weight:600;line-height:1.4}.customer-view-modal .info-reference-field>small{grid-column:2;grid-row:2;min-width:0;margin:1px 0 0;color:#a0afbd;font-size:10px;line-height:1.3}.customer-view-modal .info-reference-editor-slot,.customer-view-modal .info-reference-notes-content{min-width:0}.customer-view-modal .info-reference-editor-slot{grid-column:2;grid-row:1;margin:0}.customer-view-modal .info-reference-editor-slot input,.customer-view-modal .info-reference-editor-slot select,.customer-view-modal .info-reference-editor-slot textarea,.customer-view-modal .info-reference-notes-content input,.customer-view-modal .info-reference-notes-content select,.customer-view-modal .info-reference-notes-content textarea{box-sizing:border-box;width:100%;min-width:0;min-height:30px;padding:6px 8px;border:1px solid #a9c1d8;border-radius:4px;background:#fff;color:#243f5b;font:inherit}.customer-view-modal .info-reference-editor-slot textarea,.customer-view-modal .info-reference-notes-content textarea{min-height:76px;resize:vertical}.customer-view-modal .info-reference-editor-slot input:focus,.customer-view-modal .info-reference-editor-slot select:focus,.customer-view-modal .info-reference-editor-slot textarea:focus,.customer-view-modal .info-reference-notes-content input:focus,.customer-view-modal .info-reference-notes-content select:focus,.customer-view-modal .info-reference-notes-content textarea:focus{outline:2px solid rgba(36,126,196,.2);border-color:#2f8fc2}.customer-view-modal .info-reference-operator-editor,.customer-view-modal .info-reference-region-editor{display:grid;min-width:0;grid-gap:6px;gap:6px}.customer-view-modal .info-reference-region-editor .region-selector,.customer-view-modal .info-reference-region-editor>div{min-width:0}.customer-view-modal .customer-inline-edit-error{margin:12px 0 0;color:#b42318;font-size:12px}.customer-view-modal .detail-follow .customer-chat-image-panel.is-compact,.customer-view-modal .detail-follow .customer-text-chat-panel.is-compact{gap:10px;margin-bottom:14px;padding-bottom:12px}.customer-view-modal .detail-follow .customer-chat-image-panel.is-compact .customer-chat-image-compose,.customer-view-modal .detail-follow .customer-text-chat-panel.is-compact .customer-text-chat-compose{gap:6px;padding:9px}.customer-view-modal .detail-follow .customer-text-chat-panel.is-compact .customer-text-chat-compose textarea{min-height:84px}.customer-view-modal .detail-follow .customer-chat-image-panel.is-compact .customer-chat-image-file-picker{min-height:48px;padding:8px 10px}.customer-view-modal .detail-follow{min-width:0}.customer-view-modal-body{flex:1 1 auto;min-height:0}@media (max-width:980px){.customer-view-modal .detail-reference-grid{grid-template-columns:1fr}}@media (max-width:768px){.customer-view-modal{height:100%;max-height:none}.customer-view-modal .detail-info.is-customer-info,.customer-view-modal .info-reference-fields{grid-template-columns:1fr}}.customer-import-live{--import-ink:#15283f;--import-muted:#6d7f92;--import-soft:#eef4f8;--import-canvas:#f4f7fa;--import-line:#d8e3ec;--import-line-soft:#e8eef3;--import-blue:#2569b5;--import-blue-deep:#174b82;--import-teal:#168879;--import-teal-soft:#e8f6f2;--import-amber:#c77724;--import-amber-soft:#fff4e5;--import-red:#c94e55;color:var(--import-ink);font-family:Fira Sans,Noto Sans SC,Microsoft YaHei,sans-serif}.customer-import-live .ref-crumb{margin:2px 0 10px;color:var(--import-muted);font-size:12px;letter-spacing:.01em}.customer-import-live .import-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}.customer-import-live .import-page-heading h1{display:flex;align-items:baseline;gap:10px;margin:0;color:var(--import-ink);font-size:26px;font-weight:700;letter-spacing:-.035em}.customer-import-live .import-page-heading h1 small{color:var(--import-blue);font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.customer-import-live .import-page-heading p{margin:7px 0 0;color:var(--import-muted);font-size:13px}.customer-import-live .import-heading-status{display:inline-flex;align-items:center;min-height:30px;padding:0 12px;border:1px solid var(--import-line);border-radius:999px;background:#fff;color:var(--import-muted);font-size:12px;font-weight:600;white-space:nowrap}.customer-import-live .import-heading-status.success,.customer-import-live .import-heading-status.validated{border-color:#bfe4d9;background:var(--import-teal-soft);color:var(--import-teal)}.customer-import-live .import-heading-status.processing,.customer-import-live .import-heading-status.queued,.customer-import-live .import-heading-status.retrying{border-color:#c6d9ed;background:#edf5fd;color:var(--import-blue)}.customer-import-live .import-reference-layout{gap:18px;align-items:start;background:transparent}@media (min-width:1281px){.customer-import-live .import-reference-layout{grid-template-columns:minmax(0,1fr) minmax(390px,440px)}}.customer-import-live .import-reference-layout>main{min-width:0}.customer-import-live .import-reference-side{position:-webkit-sticky;position:sticky;top:14px;border-left:0;padding-left:0}.customer-import-live .import-stepper{gap:7px;padding:7px;border:1px solid var(--import-line);border-radius:14px;background:#e9f0f5;box-shadow:0 8px 24px rgba(30,67,101,.06)}.customer-import-live .import-stepper>div{min-height:64px;padding:11px 13px;border:0;border-radius:10px;background:rgba(255,255,255,.62);color:var(--import-muted)}.customer-import-live .import-stepper>div.active{background:var(--import-ink);color:#fff;box-shadow:0 5px 14px rgba(21,40,63,.16)}.customer-import-live .import-stepper>div.done{background:var(--import-teal-soft);color:var(--import-teal)}.customer-import-live .import-stepper .done b,.customer-import-live .import-stepper b{width:28px;height:28px;border:1px solid #c8d6e1;background:#fff;color:var(--import-muted);font-size:12px}.customer-import-live .import-stepper .active b{border-color:#8fd5c6;background:var(--import-teal);color:#fff}.customer-import-live .import-stepper .done b{border-color:#bce4d8;background:#fff;color:var(--import-teal)}.customer-import-live .import-stepper small{margin-top:5px;color:inherit;opacity:.68;font-size:11px;font-weight:400}.customer-import-live .import-stepper .active small{opacity:.78}.customer-import-live .import-awaiting-validation{min-height:84px;margin-bottom:14px;padding:17px 18px;border:1px solid #c9dced;border-left:4px solid var(--import-blue);border-radius:12px;background:#f0f6fb;color:var(--import-muted);box-shadow:0 5px 16px rgba(30,67,101,.04)}.customer-import-live .import-awaiting-validation b{color:var(--import-blue-deep);font-size:14px}.customer-import-live .import-summary{grid-template-columns:repeat(auto-fit,minmax(108px,1fr));gap:8px;margin-bottom:14px;border:0;background:transparent}.customer-import-live .import-summary>div{min-height:78px;padding:13px 14px;border:1px solid var(--import-line);border-radius:12px;background:#fff;text-align:left;box-shadow:0 5px 14px rgba(30,67,101,.045)}.customer-import-live .import-summary>div:last-child{border-right:1px solid var(--import-line)}.customer-import-live .import-summary span{color:var(--import-muted);font-size:11px;font-weight:600}.customer-import-live .import-summary b{margin-top:8px;color:var(--import-ink);font-size:24px;line-height:1}.customer-import-live .import-summary .success{border-color:#bfe4d9;background:var(--import-teal-soft)}.customer-import-live .import-summary .success b{color:var(--import-teal)}.customer-import-live .import-summary .warning{border-color:#f0d5ac;background:var(--import-amber-soft)}.customer-import-live .import-summary .warning b{color:var(--import-amber)}.customer-import-live .import-result-controls{margin:0 0 10px;padding:0 0 10px;border:0;border-bottom:1px solid var(--import-line);background:transparent}.customer-import-live .import-status-filters{gap:7px}.customer-import-live .import-status-filters button{min-height:34px;padding:0 11px;border:1px solid var(--import-line);border-radius:9px;background:#fff;color:var(--import-muted);font-size:12px;font-weight:500;transition:border-color .16s ease,background-color .16s ease,color .16s ease,transform .16s ease}.customer-import-live .import-status-filters button:hover{border-color:#9dbbd7;color:var(--import-blue-deep);transform:translateY(-1px)}.customer-import-live .import-status-filters button.active{border-color:var(--import-blue);background:var(--import-blue);color:#fff;box-shadow:0 4px 10px rgba(37,105,181,.18)}.customer-import-live .import-pagination button,.customer-import-live .import-pagination input,.customer-import-live .import-result-controls select{min-height:34px;border:1px solid var(--import-line);border-radius:8px;background:#fff;color:var(--import-ink)}.customer-import-live .import-result-controls select{height:34px;padding:0 8px}.customer-import-live .import-table{max-height:590px;border:1px solid var(--import-line);border-radius:14px;box-shadow:0 7px 20px rgba(30,67,101,.06)}.customer-import-live .import-table>table{min-width:1020px}.customer-import-live .import-table th{height:42px;background:#edf3f7;color:#526b82;font-size:11px;letter-spacing:.02em}.customer-import-live .import-table td{height:44px;color:#435a70;font-size:12px}.customer-import-live .import-table tbody tr:not(.import-compare){transition:background-color .15s ease}.customer-import-live .import-table tbody tr:not(.import-compare):hover td,.customer-import-live .import-table tr.selected>td{background:#f0f7fb}.customer-import-live .import-status{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;font-size:11px;font-weight:700;white-space:nowrap}.customer-import-live .import-status.ok{background:var(--import-teal-soft);color:var(--import-teal)}.customer-import-live .import-status.bad{background:#fff0ef;color:var(--import-red)}.customer-import-live .import-pagination{padding:13px 2px 3px;color:var(--import-muted)}.customer-import-live .import-pagination button{padding:0 12px;color:var(--import-blue);cursor:pointer}.customer-import-live .import-pagination button:hover:not(:disabled){border-color:#9dbbd7;background:#f1f7fc}.customer-import-live .import-pagination button:disabled{cursor:not-allowed;opacity:.48}.customer-import-live .import-side-card{margin-bottom:12px;border:1px solid var(--import-line);border-radius:14px;background:#fff;box-shadow:0 7px 20px rgba(30,67,101,.055);overflow:hidden}.customer-import-live .import-side-card h2{min-height:45px;align-items:center;padding:0 14px;border-top:3px solid var(--import-teal);background:#fff;color:var(--import-ink);font-size:13px;letter-spacing:.01em}.customer-import-live .import-side-card h2 span{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border:1px solid var(--import-line);border-radius:999px;color:var(--import-blue);font-size:11px;cursor:pointer}.customer-import-live .import-side-card>p,.customer-import-live .import-side-card>ul{margin:13px 14px;color:var(--import-muted);line-height:1.55}.customer-import-live .file-identity{min-height:64px;margin:12px;padding:10px;border:1px solid var(--import-line-soft);border-radius:10px;background:#f8fbfc}.customer-import-live .file-icon{width:27px;height:27px;flex:0 0 27px;color:var(--import-teal)}.customer-import-live .file-identity b{color:var(--import-ink);font-size:12px}.customer-import-live .file-identity b small{color:var(--import-muted)}.customer-import-live .file-identity a{min-height:30px;padding:6px 8px;border-radius:7px;color:var(--import-blue);cursor:pointer}.customer-import-live .file-identity a:hover{background:#eaf3fb}.customer-import-live .import-file{min-height:110px;margin:14px;padding:28px 16px;border:1px dashed #a9c5d9;border-radius:12px;background:linear-gradient(135deg,#f8fcfb,#f1f7fb);color:var(--import-blue-deep);font-weight:600}.customer-import-live .import-file:hover{border-color:var(--import-teal);background:var(--import-teal-soft)}.customer-import-live .mapping-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px;padding:12px}.customer-import-live .mapping-row{display:grid;align-content:start;grid-gap:7px;gap:7px;min-width:0;min-height:70px;padding:10px;border:1px solid var(--import-line-soft);border-radius:10px;background:#fbfdfe;color:#5d7388;font-size:11px;line-height:1.3}.customer-import-live .mapping-row span{overflow:hidden;color:var(--import-muted);font-size:11px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.customer-import-live .mapping-row-required{border-color:#afd8d0;background:#f4fbf9}.customer-import-live .mapping-row-required span:after{content:"必填";display:inline-flex;margin-left:5px;padding:1px 4px;border-radius:4px;background:var(--import-teal-soft);color:var(--import-teal);font-size:9px;font-weight:700;vertical-align:1px}.customer-import-live .mapping-row select{width:100%;min-width:0;height:34px;padding:0 8px;border:1px solid #cbdbe5;border-radius:7px;background:#fff;color:var(--import-ink);font-size:12px}.customer-import-live .import-file:focus-within,.customer-import-live .import-pagination input:focus-visible,.customer-import-live .import-result-controls select:focus-visible,.customer-import-live .mapping-row select:focus-visible{outline:3px solid rgba(37,105,181,.22);outline-offset:1px}.customer-import-live .mapping-row select:disabled{background:#f1f5f7;color:#91a0ad;cursor:not-allowed}.customer-import-live .mapping-row-notes{grid-column:1/-1}.customer-import-live .mapping-row-notes select{min-height:54px;height:auto;padding:5px 7px}.customer-import-live .mapping-row-notes option:checked{background:var(--import-teal-soft);color:var(--import-teal)}.customer-import-live .import-actions .ref-action,.customer-import-live .import-side-card .ref-action{min-height:38px;border-radius:9px;font-size:12px;font-weight:600}.customer-import-live .import-side-card .ref-action{width:calc(100% - 24px);margin:0 12px 13px}.customer-import-live .import-actions .ref-action.primary,.customer-import-live .import-side-card .ref-action.primary{background:var(--import-blue);border-color:var(--import-blue)}.customer-import-live .import-actions .ref-action.primary:hover,.customer-import-live .import-side-card .ref-action.primary:hover{background:var(--import-blue-deep);border-color:var(--import-blue-deep)}.customer-import-live .import-reference-side .import-actions{gap:8px;padding:10px 0 2px;background:var(--import-canvas);box-shadow:0 -10px 16px rgba(244,247,250,.95)}.customer-import-live .import-reference-side .import-actions .ref-action{flex:1 1;min-width:0;padding:0 8px}@media (max-width:768px){.customer-import-live .import-page-heading{align-items:flex-start;flex-direction:column;gap:8px;margin-bottom:13px}.customer-import-live .import-page-heading h1{font-size:22px}.customer-import-live .import-page-heading p{line-height:1.5}.customer-import-live .mapping-grid{grid-template-columns:1fr}.customer-import-live .mapping-row-notes{grid-column:auto}.customer-import-live .import-stepper{border-radius:10px}.customer-import-live .import-stepper>div{min-height:52px;padding:8px 7px}.customer-import-live .import-stepper span{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}}@media (prefers-reduced-motion:reduce){.customer-import-live .import-status-filters button,.customer-import-live .import-table tbody tr:not(.import-compare){transition:none}}.customer-view-modal.is-editing{width:min(1680px,calc(100vw - 32px));height:min(96vh,1080px);max-height:min(96vh,1080px);border-radius:18px}.customer-view-modal.is-editing .customer-view-modal-header{padding:25px 28px 20px 32px}.customer-view-modal.is-editing .customer-view-modal-header p,.customer-view-modal.is-editing .customer-view-modal-header-actions .customer-view-modal-edit{display:none}.customer-entry-modal .customer-entry-modal-body,.customer-view-modal.is-editing .customer-view-modal-body{min-height:0;overflow:auto;padding:20px 26px 24px 28px;background:#f4f8fb}.customer-view-modal.is-editing .customer-entry-manual-panel{width:100%;max-width:none;min-width:0;box-sizing:border-box;padding:0;border:0;background:transparent}.customer-view-modal.is-editing .customer-edit-intake-form-shell{width:100%;min-width:0}.customer-view-modal.is-editing .detail-workspace{min-width:0}.customer-entry-modal .customer-entry-manual-panel>form,.customer-view-modal.is-editing .customer-entry-manual-panel>form{grid-template-columns:minmax(0,1fr);gap:8px;padding-bottom:72px}.customer-entry-modal .customer-entry-manual-panel label,.customer-view-modal.is-editing .customer-entry-manual-panel label{font-size:12px}.customer-entry-modal .customer-entry-manual-panel fieldset,.customer-view-modal.is-editing .customer-entry-manual-panel fieldset{border-radius:10px;box-shadow:0 1px 0 rgba(21,59,102,.03)}.customer-entry-modal .customer-entry-manual-panel>form>div:last-child,.customer-view-modal.is-editing .customer-entry-manual-panel>form>div:last-child{position:-webkit-sticky;position:sticky;bottom:-1px;z-index:2;display:flex;justify-content:flex-end;gap:10px;margin-top:4px;padding:14px 0 0;border-top:1px solid #d8e4ee;background:linear-gradient(180deg,rgba(244,248,252,0),#f4f8fc 12px,#f4f8fc)}.customer-view-modal.is-editing .customer-edit-attachment-field{display:grid;min-width:0;grid-gap:4px;gap:4px;color:#284967;font-size:12px;font-weight:650}.customer-view-modal.is-editing .customer-edit-attachment-label{display:block;line-height:1.35}.customer-view-modal.is-editing .customer-edit-attachment-field .customer-chat-image-panel.is-compact,.customer-view-modal.is-editing .customer-edit-attachment-field .customer-text-chat-panel.is-compact{gap:6px;margin:0;padding:0;border:0}.customer-view-modal.is-editing .customer-edit-attachment-field .customer-chat-image-header,.customer-view-modal.is-editing .customer-edit-attachment-field .customer-text-chat-header{display:none}.customer-view-modal.is-editing .customer-edit-attachment-field .customer-chat-image-list{grid-template-columns:1fr;gap:6px}.customer-view-modal.is-editing .customer-edit-attachment-field .customer-chat-image-record-button{min-height:48px;padding:6px 8px}.customer-view-modal.is-editing .customer-edit-attachment-field .customer-chat-image-compose,.customer-view-modal.is-editing .customer-edit-attachment-field .customer-text-chat-compose{gap:6px;padding:0;border:0;background:transparent}.customer-view-modal.is-editing .customer-edit-attachment-field .customer-chat-image-file-picker,.customer-view-modal.is-editing .customer-edit-attachment-field .customer-wechat-qr-file-picker{min-height:36px;padding:6px 8px;border-radius:6px}.customer-view-modal.is-editing .customer-edit-attachment-field .customer-text-chat-compose textarea{min-height:72px}.customer-view-modal.is-editing .customer-edit-attachment-field .customer-wechat-qr-editor{display:grid;grid-gap:6px;gap:6px;padding:0;border:0;border-radius:0;background:transparent}.customer-view-modal.is-editing .customer-edit-attachment-field .customer-wechat-qr-editor-heading{display:none}.customer-view-modal.is-editing .customer-edit-attachment-field .customer-wechat-qr-current{padding:6px 8px}.customer-view-modal.is-editing .customer-edit-attachment-field .customer-wechat-qr-button.primary{min-height:34px}@media (max-width:819px){.customer-view-modal.is-editing{width:100%;height:100%;max-height:none}.customer-entry-modal .customer-entry-modal-body,.customer-view-modal.is-editing .customer-view-modal-body{padding:14px}}