/* Only the customer entry modal and its contact detail groups are restyled. */
.customer-entry-overlay.overlay.center{padding:22px;background:rgba(29,35,42,.27);align-items:center}
.customer-entry.modal{width:920px;max-width:calc(100vw - 44px);max-height:calc(100dvh - 44px);border:1px solid #dce0e4;border-radius:9px;background:#fff;color:#263343;box-shadow:0 12px 48px #20252c17;display:flex;flex-direction:column;overflow:hidden}
.customer-entry .dialog-header{padding:23px 28px 9px;border:0;flex-shrink:0}
.customer-entry .dialog-header h2{font-size:23px;line-height:1.35;font-weight:700;color:#17212c}
.customer-entry .dialog-header p{font-size:14px;color:#87909c;margin-top:7px}
.customer-entry .stepper{justify-content:center;padding:14px 28px 20px;border:0;gap:16px;flex-shrink:0}
.customer-entry .step{font-size:13px;gap:9px}.customer-entry .step i{width:28px;height:28px;border-radius:50%;font-size:14px}
.customer-entry .step.active{color:#bd5729}.customer-entry .step.active i{background:#bd5729;color:#fff}.customer-entry .step-line{max-width:115px}
.customer-entry .dialog-body{padding:0 28px 20px;overflow-y:auto;min-height:0;scrollbar-gutter:stable}
.customer-entry .entry-section{margin:0 0 23px}.customer-entry .entry-section h3{font-size:17px;font-weight:700;color:#17212c;line-height:1.2;border-left:4px solid #bd5729;padding-left:11px;margin:0 0 17px}
.customer-entry .entry-labeled{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;align-items:start;margin-bottom:12px}
.customer-entry .entry-labeled>label{padding-top:9px;font-size:14px;line-height:20px;color:#283445}.customer-entry .required{color:#ce4b36}
.customer-entry .input,.customer-entry .select,.customer-entry .textarea{background:#fff;border:1px solid #d4dae2;border-radius:4px;box-shadow:inset 0 1px 2px #26334305;color:#263343;font-size:14px;line-height:20px;min-height:36px;padding:7px 11px;width:100%;min-width:0}
.customer-entry .input:focus,.customer-entry .select:focus,.customer-entry .textarea:focus{outline:2px solid #bd572938;outline-offset:1px;border-color:#bd5729}
.customer-entry input[aria-invalid=true]{border-color:#ce4b36}.customer-entry .entry-company-status{font-size:12px;line-height:1.6;margin-top:6px;min-height:20px;overflow-wrap:anywhere}
.customer-entry .entry-company-status.available{color:#398353}.customer-entry .entry-company-status.checking{color:#87909c}
.customer-entry .entry-company-status.duplicate,.customer-entry .entry-company-status.failed{background:#fcebe5;color:#c54a35;border-radius:4px;padding:8px 10px;display:flex;justify-content:space-between;gap:10px;align-items:center}
.customer-entry .entry-company-status.similar{background:#fff7e9;color:#88602f;padding:8px 10px;border-radius:4px}
.customer-entry .entry-name-row{display:flex;gap:14px;align-items:center;margin-bottom:8px}.customer-entry .entry-remove{border:0;background:none;color:#bd5729;font-size:12px;padding:6px 0;white-space:nowrap;cursor:pointer;min-height:30px}
.customer-entry .entry-add{border:1px solid #cf764c;color:#bd5729;border-radius:4px;background:#fff;padding:6px 12px;line-height:20px;font-size:13px;min-height:34px;cursor:pointer}
.customer-entry .entry-add:hover{background:#fff5ef}.customer-entry .entry-remove:focus-visible,.customer-entry .entry-add:focus-visible{outline:2px solid #bd5729;outline-offset:2px}
.customer-entry .entry-business{display:grid;grid-template-columns:1fr 1fr;gap:24px}.customer-entry .entry-business .entry-labeled{grid-template-columns:125px minmax(0,1fr)}
.customer-entry .entry-industry .field{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;align-items:center;margin:0}.customer-entry .entry-industry label{margin:0;font-size:14px}
.customer-entry .entry-industry .field-help{display:none}.customer-entry .entry-region .region-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.customer-entry .entry-secondary{margin-top:10px}.customer-entry .entry-secondary .entry-labeled{grid-template-columns:100px minmax(0,1fr);align-items:center;margin-bottom:0}.customer-entry .entry-secondary label{padding:0;font-size:12px;color:#788492}
.customer-entry .entry-secondary .input,.customer-entry .entry-secondary .select{font-size:12px;min-height:32px;padding:5px 9px}
.customer-entry .entry-section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.customer-entry .entry-section-heading h3{margin-bottom:0}
.customer-entry .entry-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.customer-entry .entry-person{border:1px solid #dce1e7;border-radius:5px;padding:15px 16px 12px;margin:0;min-width:0;background:#fff;align-self:start}
.customer-entry .entry-person>legend{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}
.customer-entry .entry-person-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;min-height:25px}.customer-entry .entry-person-head b{font-size:14px;color:#17212c}
.customer-entry .entry-person-identity{display:grid;grid-template-columns:28px minmax(0,1fr) 28px minmax(0,1fr);gap:8px;align-items:center;margin-bottom:10px}
.customer-entry .entry-person-identity label,.customer-entry .entry-phone-row label{font-size:12px;white-space:nowrap}
.customer-entry .entry-person .input{font-size:13px;min-height:34px;padding:6px 8px}
.customer-entry .entry-phone-row{display:grid;grid-template-columns:40px minmax(0,1fr) 27px;align-items:center;gap:8px;margin-bottom:8px}
.customer-entry .entry-person .entry-add{margin-top:1px}.customer-entry .entry-hint{font-size:12px;color:#87909c;line-height:1.5;display:block;margin:3px 0}
.customer-entry .entry-other{border-top:1px solid #edf0f3;margin-top:12px;padding-top:8px}
.customer-entry .entry-notes{margin-bottom:13px}.customer-entry .entry-notes textarea{min-height:65px;resize:vertical}.customer-entry .entry-notes h3 label{font-size:inherit;font-weight:inherit}
.customer-entry .entry-legacy{font-size:12px;color:#7b8796}.customer-entry .entry-legacy summary{cursor:pointer;padding:6px 0}.customer-entry .entry-legacy .field{margin:12px 0}.customer-entry .entry-legacy #blue-v-count{width:100px}
.customer-entry .dialog-footer{padding:14px 22px;border-top:1px solid #e9ecf0;background:#fff;flex-shrink:0}.customer-entry .dialog-footer .btn{min-height:36px;border-radius:4px;padding:7px 19px;font-size:14px}.customer-entry .btn.primary{background:#bd5729;border-color:#bd5729;color:#fff}.customer-entry .btn:disabled{opacity:.5;cursor:not-allowed}
.customer-entry.entry-step-two .dialog-body{padding-top:10px}.customer-entry.entry-step-two{width:760px}.customer-entry.entry-step-two .field>label{font-size:14px}.customer-entry.entry-step-two .form-grid{gap:20px}.customer-entry.entry-step-two .stepper{padding-bottom:24px}
.entry-detail-person{padding:12px 0;border-bottom:1px solid #e8ecf0;line-height:1.8;overflow-wrap:anywhere}
.customer-entry .entry-company-wrap{position:relative;min-width:0}
.customer-entry .entry-company-dropdown{position:absolute;left:0;right:0;z-index:8;background:#fff;border:1px solid #d9dfe6;border-radius:6px;box-shadow:0 8px 24px #26334324;overflow:hidden}
.customer-entry .entry-company-dropdown[hidden]{display:none}
.customer-entry .entry-suggestion-heading{display:flex;justify-content:space-between;padding:10px 13px;color:#6e7a88;font-size:12px;background:#fafbfc;border-bottom:1px solid #edf0f3}
.customer-entry #entry-company-options{max-height:260px;overflow-y:auto;overscroll-behavior:contain}
.customer-entry .entry-company-option{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;background:#fff;border:0;border-bottom:1px solid #eff1f4;padding:11px 13px;cursor:pointer;min-height:65px;color:#263343;font-family:inherit}
.customer-entry .entry-company-option:hover,.customer-entry .entry-company-option[aria-selected=true]{background:#fff3ec}
.customer-entry .entry-suggestion-main{min-width:0;display:flex;flex-direction:column;gap:5px}
.customer-entry .entry-suggestion-main strong{font-size:14px;line-height:1.5;font-weight:500;overflow-wrap:anywhere}
.customer-entry .entry-suggestion-main small{font-size:12px;color:#86909b}
.customer-entry .entry-suggestion-badge{font-size:11px;white-space:nowrap;background:#f3f5f8;color:#748092;padding:3px 6px;border-radius:3px}
.customer-entry .entry-suggestion-badge.exact{background:#fbece3;color:#bd5729}
.customer-entry .entry-suggestion-foot{font-size:11px;line-height:1.5;color:#8993a0;padding:9px 13px;background:#fafbfc}
@media(max-width:700px){.customer-entry-overlay.overlay.center{padding:8px}.customer-entry.modal{width:100%;max-width:100%;max-height:calc(100dvh - 16px)}.customer-entry .dialog-header{padding:18px 16px 6px}.customer-entry .dialog-header h2{font-size:20px}.customer-entry .dialog-body{padding:0 16px 18px}.customer-entry .stepper{padding:14px 16px 20px}.customer-entry .entry-labeled{grid-template-columns:1fr;gap:5px}.customer-entry .entry-labeled>label{padding:0}.customer-entry .entry-business{grid-template-columns:1fr;gap:12px}.customer-entry .entry-business .entry-labeled,.customer-entry .entry-secondary .entry-labeled{grid-template-columns:100px minmax(0,1fr)}.customer-entry .entry-industry .field{grid-template-columns:100px minmax(0,1fr)}.customer-entry .entry-region .region-fields{gap:6px}.customer-entry .entry-people{grid-template-columns:1fr}.customer-entry .entry-company-status.duplicate{display:block}.customer-entry .entry-section{margin-bottom:22px}.customer-entry .entry-add,.customer-entry .entry-remove,.customer-entry .input,.customer-entry .select,.customer-entry .dialog-footer .btn{min-height:42px}.customer-entry .entry-person .input{min-height:40px}.customer-entry .dialog-footer{padding:12px 16px}.customer-entry.entry-step-two .dialog-footer>.small{display:none}}

.customer-entry .entry-name-row{display:block;margin-bottom:12px}.entry-account-main{display:flex;gap:10px;align-items:center}.entry-account-main>.input{flex:1;min-width:0}.entry-blue-toggle{display:flex;align-items:center;gap:6px;white-space:nowrap;min-height:44px}.entry-account-link{display:block;margin-top:8px;font-size:12px;color:var(--muted)}.entry-account-link[hidden]{display:none}.entry-account-link .input{margin-top:5px;width:100%}

.entry-xhs-results{margin-top:6px;border:1px solid var(--line,#dce2e8);border-radius:8px;background:var(--surface,#fff);max-height:260px;overflow:auto}.entry-xhs-results[hidden]{display:none}.entry-xhs-results .entry-company-option{width:100%;text-align:left}.entry-xhs-results .entry-company-option[aria-selected="true"]{background:var(--primary-light,#edf4ff)}.entry-xhs-results .entry-hint{padding:10px;margin:0}
/* Keep the channel selector separate from the existing name/blue-V controls. */
.customer-entry .entry-account-channel{display:flex;align-items:center;gap:12px;margin-bottom:8px}
.customer-entry .entry-account-channel label{font-size:13px;white-space:nowrap}
.customer-entry .entry-account-channel select{width:140px;min-height:44px}
