.nw-order-grid .nw-order-customer-link {
  display: inline;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: #176ba0;
  background: transparent;
  font: inherit;
  line-height: inherit;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.nw-order-customer-link:focus-visible {
  outline: 2px solid #176ba0;
  outline-offset: 3px;
}
.nw-customer-profile {
  width: min(1000px, 96vw);
  max-width: 96vw;
  max-height: 92vh;
  padding: 0;
  border: 1px solid #dfe5eb;
  border-radius: 8px;
  background: #fff;
  color: #303133;
}
.nw-customer-profile[open] {
  display: flex;
  flex-direction: column;
}
.nw-customer-profile::backdrop {
  background: rgb(0 0 0 / 38%);
}
.nw-customer-profile > header,
.nw-customer-profile > footer {
  flex: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: #fff;
}
.nw-customer-profile > header {
  border-bottom: 1px solid #e4e7eb;
}
.nw-customer-profile h2 {
  margin: 0;
  font-size: 19px;
}
.nw-customer-profile > header button {
  border: 0;
  background: transparent;
  font-size: 28px;
  padding: 0 8px;
  color: #606266;
}
.nw-customer-profile > footer {
  border-top: 1px solid #e4e7eb;
  color: #737b86;
  font-size: 13px;
}
.nw-customer-body {
  min-height: 100px;
  padding: 20px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.nw-customer-context,
.nw-customer-note {
  color: #737b86;
  font-size: 13px;
  line-height: 1.8;
}
.nw-customer-section {
  margin: 22px 0;
}
.nw-customer-section h3 {
  font-size: 16px;
  margin: 0 0 12px;
}
.nw-customer-card {
  border: 1px solid #e4e7eb;
  border-radius: 6px;
  margin: 12px 0;
  overflow: hidden;
}
.nw-customer-card h4 {
  margin: 0;
  padding: 12px;
  background: #f6f8fa;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.nw-customer-card.is-selected {
  border-color: #409eff;
}
.nw-customer-current {
  display: inline-block;
  margin-left: 10px;
  font-size: 12px;
  font-weight: normal;
  color: #176ba0;
}
.nw-customer-fields {
  display: grid;
  grid-template-columns: minmax(100px, 150px) minmax(0, 1fr);
  margin: 0;
  font-size: 14px;
}
.nw-customer-fields dt,
.nw-customer-fields dd {
  margin: 0;
  padding: 10px 12px;
  border-bottom: 1px solid #edf0f3;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.nw-customer-fields dt {
  background: #f6f8fa;
  color: #606266;
}
.nw-customer-fields button {
  padding: 3px 8px;
  font-size: 12px;
}
.nw-customer-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-top: 12px;
  font-size: 13px;
}
.nw-customer-warnings {
  padding: 12px 16px 12px 32px;
  background: #fff7e6;
  color: #795b25;
  line-height: 1.8;
  font-size: 13px;
}
.nw-customer-error {
  color: #b53c30;
}
@media (max-width: 640px) {
  .nw-customer-profile > header,
  .nw-customer-profile > footer,
  .nw-customer-body {
    padding: 14px;
  }
  .nw-customer-fields {
    grid-template-columns: minmax(82px, 105px) minmax(0, 1fr);
    font-size: 13px;
  }
}
