/* Search controls keep one shared frame, including their focus state. */
:is(.app-shell .filter-search,.app-shell .smart-search,.app-shell .management-search,.app-shell .crm-city-field,.app-shell .mantis-info-search,.app-shell .eh-search,.command-dialog .command-search-row) input:not([type=checkbox]):not([type=radio]):not([type=file]){border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:none!important;min-width:0}
.app-shell .filter-search .crm-clear-search{border:0!important;background:transparent!important;box-shadow:none!important}
.app-shell .topbar-global-search kbd{border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}
.app-shell .topbar-global-search>.topbar-search-submit,.app-shell .topbar-global-search>strong{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;color:var(--accent)!important}
.app-shell :is(.filter-tabs,.management-tabs,.ticket-status-tabs,.smart-view-tabs,.smart-queue-tabs,.capability-tabs,.staff-card-tabs){border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
.app-shell :is(.course-city-toggle,.ai-enable-toggle,.settings-check-button,.delivery-checklist label,.trip-checks label):has(input[type=checkbox]){border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}

/* The native checkbox remains the full click/focus target; only its second
   visual frame is removed. State is drawn once on the surrounding control. */
.app-shell .customer-workspace.jf-fast-drawer .followup-editor-panel label.jf-wechat-toggle{position:relative;isolation:isolate;display:inline-flex!important;align-items:center;gap:8px;min-height:36px;padding:6px 12px;border:1px solid var(--theme-line,#dce4ee)!important;border-radius:8px;background:var(--surface-soft,#f8fafc)!important;color:var(--muted,#65788f)!important;box-shadow:none!important;outline:0!important;cursor:pointer}
.app-shell .customer-workspace.jf-fast-drawer .followup-editor-panel label.jf-wechat-toggle input[type=checkbox]{position:absolute!important;inset:0!important;opacity:0!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;outline:0!important;appearance:none!important;z-index:2;cursor:pointer}
.app-shell .customer-workspace.jf-fast-drawer .followup-editor-panel label.jf-wechat-toggle::before{content:"";display:block;flex:none;width:14px;height:14px;background:currentColor;clip-path:polygon(44% 8%,56% 8%,56% 44%,92% 44%,92% 56%,56% 56%,56% 92%,44% 92%,44% 56%,8% 56%,8% 44%,44% 44%)}
.app-shell .customer-workspace.jf-fast-drawer .followup-editor-panel label.jf-wechat-toggle:has(input:checked){border-color:#b8ddcb!important;background:#edf7f2!important;color:#32785c!important}
.app-shell .customer-workspace.jf-fast-drawer .followup-editor-panel label.jf-wechat-toggle:has(input:checked)::before{clip-path:polygon(8% 44%,0 54%,36% 92%,100% 18%,88% 8%,35% 72%)}
.app-shell .customer-workspace.jf-fast-drawer .followup-editor-panel label.jf-wechat-toggle>span{pointer-events:none}
.app-shell .customer-workspace.jf-fast-drawer .followup-editor-panel label.jf-wechat-toggle:focus-within{outline:0!important;box-shadow:none!important}
.app-shell .customer-workspace.jf-fast-drawer .followup-editor-panel label.jf-wechat-toggle:has(input:focus-visible){outline:2px solid #79a68f!important;outline-offset:3px}
.app-shell .customer-workspace.jf-fast-drawer .followup-editor-panel label.jf-wechat-toggle:has(input:disabled){opacity:.6;cursor:wait}

/* Customer identity is large plain text, without telephone/location pills. */
.app-shell .customer-workspace.real-customer-drawer.jf-fast-drawer .customer-summary-v2 .customer-profile-overview>.customer-profile-copy{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:9px!important;min-width:0!important;width:auto!important;grid-area:identity!important}
.app-shell .customer-workspace.real-customer-drawer.jf-fast-drawer .customer-summary-v2 .customer-profile-copy>div{display:flex!important;align-items:center;flex-wrap:wrap;gap:10px;width:auto!important;max-width:100%;min-width:0}
.app-shell .customer-workspace.real-customer-drawer.jf-fast-drawer .customer-summary-v2 .customer-profile-copy h2{font-size:26px!important;line-height:1.45!important;max-width:100%!important;margin:0;overflow-wrap:anywhere}
.app-shell .customer-workspace.real-customer-drawer.jf-fast-drawer .customer-summary-v2 .customer-profile-copy>p{display:flex!important;align-items:center!important;flex-wrap:wrap;gap:8px 22px!important;margin:0!important;width:auto!important;max-width:100%;font-size:18px!important;line-height:1.6!important}
.app-shell .customer-workspace.real-customer-drawer.jf-fast-drawer .customer-summary-v2 .customer-profile-copy>p>i{display:none!important}
.app-shell .customer-workspace.real-customer-drawer.jf-fast-drawer .customer-summary-v2 .copy-profile-phone{display:inline-flex;align-items:center;gap:8px;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;min-height:36px;font-size:22px!important;font-weight:700!important;line-height:32px!important;letter-spacing:.35px;color:var(--surface-ink,#28384b)!important;font-variant-numeric:tabular-nums}
.app-shell .customer-workspace.real-customer-drawer.jf-fast-drawer .customer-summary-v2 .customer-profile-copy>p>span{display:inline-flex;align-items:center;gap:6px;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;min-height:32px;font-size:18px!important;font-weight:500!important;line-height:30px!important;color:var(--muted,#66758a)!important;overflow-wrap:anywhere}
.app-shell .real-customer-drawer.jf-fast-drawer .customer-profile-copy>p svg{width:18px;height:18px;flex:none}
.app-shell .real-customer-drawer.jf-fast-drawer .copy-profile-phone svg{width:16px;height:16px}

/* Contact and synchronization sections share their parent panel frame. */
.app-shell .real-customer-drawer.jf-fast-drawer .customer-service-flow .service-member{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.app-shell .real-customer-drawer.jf-fast-drawer .customer-service-flow .service-member:not(:first-child){border-left:1px solid var(--theme-line,#e5e9ef)!important}
.app-shell .real-customer-drawer.jf-fast-drawer .service-member-avatar>img{border:0!important;box-shadow:none!important}
.app-shell .jf-fast-fold .main-site-customer-section,.app-shell .jf-fast-fold .main-site-customer-section .mantis-v2{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
