.customer-report-strip {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}
.customer-workspace .customer-record-header {
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}
.customer-workspace .customer-record-header .eyebrow,
.customer-workspace .customer-record-header .muted { margin-block: 2px; }
.customer-workspace .customer-record-header .record-meta-strip { margin-top: 5px; }
.customer-workspace .customer-record-header .record-action-group {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.customer-workspace .primary-contact-card {
  gap: 6px;
  padding: 8px;
}
.customer-workspace .workspace-info-pills {
  gap: 5px;
}
.customer-workspace .workspace-info-pills .info-pill {
  min-height: 28px;
  padding: 3px 8px;
}
.customer-workspace .customer-report-strip {
  gap: 5px;
}
.customer-workspace .customer-report-strip .snapshot-link {
  min-height: 0;
  padding: 7px 9px;
}
.customer-context-card {
  background: var(--panel-soft);
  border-color: #dbe4ef;
  box-shadow: none;
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 10px;
}
.customer-context-card-header {
  align-items: start;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}
.customer-context-card-header p { margin: 2px 0 0; }
.customer-context-card-header strong { font-size: 1rem; }
.contact-tag-list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}
.customer-detail-value > .contact-tag-list { margin-top: 5px; }
.pill.contact-tag {
  background: #eef2f7;
  color: var(--muted);
  font-weight: 600;
}
.customer-context-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
}
.customer-detail-list {
  border-top: 1px solid var(--line);
  display: grid;
  min-width: 0;
}
.customer-detail-row {
  align-items: center;
  display: grid;
  gap: 7px;
  grid-template-columns: 3.4rem minmax(0, 1fr) auto;
  min-width: 0;
  padding: 7px 0;
}
.customer-detail-row + .customer-detail-row { border-top: 1px solid var(--line); }
.customer-context-card .customer-detail-value {
  font-size: .82rem;
  line-height: 1.35;
  min-width: 0;
  overflow-wrap: anywhere;
}
.customer-detail-row .button {
  font-size: .72rem;
  min-height: 26px;
  padding: 3px 6px;
}
.customer-detail-row .copy-label {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.contact-tag-registry-list {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: grid;
  overflow: hidden;
}
.contact-tag-registry-row {
  align-items: center;
  background: var(--panel-soft);
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 10px 12px;
}
.contact-tag-registry-row + .contact-tag-registry-row {
  border-top: 1px solid var(--line);
}
.contact-tag-registry-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.contact-tag-registry-title {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.contact-tag-registry-title h3,
.contact-tag-registry-meta,
.contact-tag-registry-description {
  margin: 0;
}
.contact-tag-registry-meta,
.contact-tag-registry-description {
  font-size: .82rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.contact-tag-registry-actions {
  flex-wrap: nowrap;
  justify-content: flex-end;
}
.customer-workspace .compact-record-card {
  background: var(--panel-soft);
  border-color: #dbe4ef;
  box-shadow: none;
}
.customer-workspace .workspace-attention {
  grid-template-columns: minmax(0, 1fr);
}
.customer-task-list,
.customer-issue-list {
  display: grid;
  gap: var(--space-2);
}
.customer-task-list .compact-work-row,
.customer-issue-list .compact-work-row {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr) auto;
  min-height: 3.75rem;
}
.customer-work-avatar {
  block-size: 2.25rem;
  inline-size: 2.25rem;
  min-inline-size: 2.25rem;
}
.customer-service-records-table .responsive-table tbody > tr[data-responsive-row] {
  border-radius: 0;
  box-shadow: none;
}
@container (min-width: 600px) and (max-width: 800px) {
  .customer-service-records-table .responsive-table {
    background: #fff;
    border-collapse: collapse;
    display: table;
    min-width: 100%;
    width: 100%;
  }
  .customer-service-records-table .responsive-table thead {
    display: table-header-group;
  }
  .customer-service-records-table .responsive-table thead tr {
    display: table-row;
  }
  .customer-service-records-table .responsive-table thead th,
  .customer-service-records-table .responsive-table thead th[data-narrow-sort] {
    background: #eaf1f8;
    border: 0;
    display: table-cell;
    font-size: .75rem;
    letter-spacing: .04em;
    padding: 7px 8px;
    text-transform: uppercase;
  }
  .customer-service-records-table .responsive-table thead th[data-narrow-sort] a {
    background: transparent;
    border: 0;
    border-radius: 0;
    display: inline-flex;
    padding: 0;
  }
  .customer-service-records-table .responsive-table tbody {
    background: #fff;
    display: table-row-group;
    padding: 0;
  }
  .customer-service-records-table .responsive-table tbody > tr[data-responsive-row] {
    background: #fff;
    border: 0;
    display: table-row;
  }
  .customer-service-records-table .responsive-table tbody > tr[data-responsive-row] > td,
  .customer-service-records-table .responsive-table tbody > tr[data-responsive-row] > td[data-cell-priority] {
    background: transparent;
    border-bottom: 1px solid var(--line);
    display: table-cell;
    padding: 7px 8px;
    vertical-align: middle;
  }
  .customer-service-records-table .responsive-table tbody > tr[data-responsive-row] > td::before {
    display: none;
  }
}
@container (max-width: 800px) {
  .customer-service-records-table .responsive-table tbody {
    gap: 0;
    padding: 0;
  }
  .customer-service-records-table .responsive-table tbody > tr[data-responsive-row] {
    border-width: 0 0 1px;
  }
}
@media (max-width: 1200px) {
  .customer-workspace .workspace-attention {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .customer-task-list .compact-work-row,
  .customer-issue-list .compact-work-row {
    grid-template-columns: 2.25rem minmax(0, 1fr) auto;
  }
  .contact-tag-registry-row {
    align-items: stretch;
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-tag-registry-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}
