.customer-company-search { display: contents; }
.customer-company-search-action { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 36px; }
.customer-company-search-button, .customer-company-search-actions button { min-height: 36px; border: 1px solid #1a5688; border-radius: 6px; padding: 7px 12px; background: #edf6ff; color: #113e65; font: inherit; font-weight: 800; cursor: pointer; }
.customer-company-search-button:hover, .customer-company-search-actions button:hover { background: #d9edff; }
.customer-company-search-button:focus-visible, .customer-company-search-actions button:focus-visible { outline: 3px solid #0f5e9c; outline-offset: 2px; }
.customer-company-search-button:disabled, .customer-company-search-actions button:disabled { border-color: #aab9c7; background: #edf1f5; color: #5b6875; cursor: not-allowed; }
.customer-company-search-price { color: #36516b; font-size: 12px; font-weight: 700; line-height: 1.35; }
.customer-company-search-message { grid-column: 1 / -1; margin: 6px 0 0; color: #7a4400; font-size: 12px; font-weight: 700; line-height: 1.5; }
.customer-company-search-results { grid-column: 1 / -1; display: grid; gap: 8px; margin-top: 8px; padding: 10px 12px; border: 1px solid #a8c7e2; border-left: 4px solid #17659e; border-radius: 7px; background: #f5faff; color: #183f61; }
.customer-company-search-results > p, .customer-company-search-actions small { margin: 0; color: #36516b; font-size: 12px; line-height: 1.5; }
.customer-company-search-candidate { display: flex; align-items: flex-start; gap: 8px; min-width: 0; padding: 8px; border: 1px solid #c5d9ea; border-radius: 6px; background: #fff; color: #183f61; cursor: pointer; }
.customer-company-search-candidate input, .customer-company-search-confirm input { flex: none; width: 16px; height: 16px; margin: 1px 0 0; accent-color: #145f99; }
.customer-company-search-candidate span { display: grid; min-width: 0; gap: 2px; }
.customer-company-search-candidate strong { overflow-wrap: anywhere; color: #113e65; font-size: 13px; }
.customer-company-search-candidate small { overflow-wrap: anywhere; color: #40586d; font-size: 12px; line-height: 1.35; }
.customer-company-search-confirm { display: flex; align-items: flex-start; gap: 8px; color: #183f61; font-size: 13px; font-weight: 800; line-height: 1.45; cursor: pointer; }
.customer-company-search-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
@media (min-width: 761px) {
  .customer-edit-dialog .customer-form > .form-section:first-child .form-grid > .el-form-item:first-child { grid-column: 1 / -1; }
  .customer-edit-dialog .customer-name-registry-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 6px 8px; }
  .customer-edit-dialog .customer-name-registry-row > .el-input { grid-column: 1 / -1; }
  .customer-edit-dialog .customer-registry-action { grid-column: 1; min-width: 0; }
  .customer-edit-dialog .customer-company-search-action { grid-column: 2; min-width: 0; flex-wrap: nowrap; }
  .customer-edit-dialog .customer-registry-lookup,
  .customer-edit-dialog .customer-company-search-button { flex: none; padding-inline: 9px; font-size: 13px; }
  .customer-edit-dialog .customer-registry-price,
  .customer-edit-dialog .customer-company-search-price { min-width: 0; flex: 1; overflow-wrap: anywhere; }
}
@media (max-width: 390px) { .customer-company-search-action, .customer-company-search-actions { align-items: stretch; flex-direction: column; } .customer-company-search-button, .customer-company-search-actions button { width: 100%; min-height: 44px; } .customer-company-search-candidate { min-height: 44px; } }
