/* src/client/customer-light-contact.css */
.cc-v3-summary {
  display: block;
  min-width: 0;
  max-width: 100%;
  color: #334155;
  font-size: 13px;
  line-height: 1.45;
}
.cc-v3-summary__name,
.cc-v3-summary__method,
.cc-v3-summary__empty {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.cc-v3-summary__name {
  color: #1e293b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}
.cc-v3-summary__method {
  margin-top: 2px;
  color: #475569;
  font-size: 13px;
  line-height: 1.45;
}
.cc-v3-summary__empty {
  color: #64748b;
  font-size: 13px;
}
.cc-v3-summary__more {
  display: block;
  max-width: 100%;
  margin-top: 3px;
  border: 0;
  background: transparent;
  color: #185fa5;
  overflow-wrap: anywhere;
  padding: 1px 0;
  text-align: start;
  font: inherit;
  font-size: 12px;
  line-height: 1.45;
  cursor: pointer;
}
.cc-v3-summary__more:hover {
  color: #0c447c;
  text-decoration: underline;
}
.cc-v3-summary__more:focus-visible,
.cc-v3-view .cc-v3-view__close:focus-visible,
.cc-v3-view .cc-v3-view__retry:focus-visible {
  outline: 2px solid #185fa5;
  outline-offset: 2px;
}
.cc-v3-view {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 0;
  width: min(360px, calc(100vw - 24px));
  max-width: min(360px, calc(100vw - 24px));
  max-height: min(420px, var(--radix-popover-content-available-height, 420px));
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  box-shadow: 0 10px 24px rgb(15 23 42 / 16%);
  font-size: 13px;
}
.cc-v3-view .cc-v3-view__header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid #f1f5f9;
  padding: 9px 12px;
}
.cc-v3-view .cc-v3-view__title {
  color: #1e293b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.cc-v3-view .cc-v3-view__close {
  flex: 0 0 auto;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #64748b;
  padding: 0 3px;
  font-size: 20px;
  line-height: 20px;
  cursor: pointer;
}
.cc-v3-view .cc-v3-view__close:hover {
  background: #f1f5f9;
  color: #334155;
}
.cc-v3-view .cc-v3-view__scroll {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 370px;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 2px 12px 12px;
  -webkit-overflow-scrolling: touch;
}
.cc-v3-view .cc-v3-view__contact {
  min-width: 0;
  border-top: 1px solid #f1f5f9;
  padding: 10px 0;
}
.cc-v3-view .cc-v3-view__contact:first-child {
  border-top: 0;
}
.cc-v3-view .cc-v3-view__name-row {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.cc-v3-view .cc-v3-view__name {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: #1e293b;
  font-size: 14px;
  line-height: 1.45;
}
.cc-v3-view .cc-v3-view__primary {
  flex: 0 0 auto;
  border-radius: 4px;
  background: #eff6ff;
  color: #185fa5;
  padding: 1px 5px;
  font-size: 13px;
  line-height: 18px;
}
.cc-v3-view .cc-v3-view__role,
.cc-v3-view .cc-v3-view__methods p {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.cc-v3-view .cc-v3-view__role {
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}
.cc-v3-view .cc-v3-view__methods {
  color: #334155;
  font-size: 13px;
  line-height: 1.45;
}
.cc-v3-view .cc-v3-view__notice {
  margin: 0;
  padding: 12px 0 4px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}
.cc-v3-view .cc-v3-view__notice--masked {
  color: #92400e;
}
.cc-v3-view .cc-v3-view__notice--error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #b91c1c;
}
.cc-v3-view .cc-v3-view__retry {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #185fa5;
  padding: 2px;
  font: inherit;
  cursor: pointer;
}
@media (max-width: 420px) {
  .cc-v3-summary {
    max-width: 100%;
  }
  .cc-v3-view {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }
}

/* src/table-layout.css */
.cc-v3-card {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
.cc-v3-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.cc-v3-table-scroll > div {
  min-width: 0;
  max-width: 100%;
}
.cc-v3-table {
  width: 100%;
  min-width: 1100px;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}
.cc-v3-table .cc-v3-th {
  height: auto;
  padding: 12px 16px;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  vertical-align: middle;
}
.cc-v3-table .cc-v3-th--actions {
  text-align: center;
}
.cc-v3-table .cc-v3-row {
  height: auto;
}
.cc-v3-table .cc-v3-cell {
  box-sizing: border-box;
  padding: 15px 16px;
  min-width: 0;
  font-size: 14px;
  line-height: 1.5;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.cc-v3-table .cc-v3-customer-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  max-width: 100%;
  color: #185fa5;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: left;
  font-weight: 600;
  line-height: 1.55;
}
.cc-v3-table .cc-v3-customer-name:hover {
  text-decoration: underline;
}
.cc-v3-table .cc-v3-grade-stack {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
  white-space: normal;
}
.cc-v3-table .cc-v3-grade-stack > span:first-child {
  font-size: 12px;
  line-height: 1.4;
}
.cc-v3-table .cc-v3-grade-stack > span:last-child {
  max-width: 100%;
  white-space: normal;
  font-size: 13px;
}
.cc-v3-table .cc-v3-cell--assigned {
  color: #475569;
  white-space: normal;
  overflow-wrap: anywhere;
}
.cc-v3-table .cc-v3-cell--followup {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.cc-v3-table .cc-v3-cell--followup > div:first-child {
  overflow: visible;
  white-space: normal;
  text-overflow: clip;
}
.cc-v3-followup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  white-space: normal;
}
.cc-v3-followup__time {
  color: #64748b;
}
.cc-v3-table .cc-v3-actions {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px;
}
.cc-v3-table .cc-v3-actions > button {
  height: auto;
  min-height: 30px;
  padding: 4px 6px;
  font-size: 13px;
  line-height: 1.5;
  white-space: nowrap;
  color: #185fa5;
}
.cc-v3-table .cc-v3-actions > button:disabled {
  cursor: not-allowed;
}
.cc-v3-filters {
  padding: 12px;
}
.cc-v3-filters input,
.cc-v3-filters button {
  font-size: 13px;
}
.cc-v3-filters input {
  min-height: 36px;
}
.cc-v3-filters > div:first-child {
  row-gap: 10px;
  column-gap: 10px;
}
.cc-v3-filters .cc-v3-more-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}
.cc-v3-filters .cc-v3-more-filters > button {
  min-height: 36px;
}
.cc-v3-applied {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding-top: 10px;
  color: #475569;
  font-size: 12px;
  line-height: 1.6;
}
.cc-v3-applied__label {
  color: #64748b;
}
.cc-v3-applied__item {
  max-width: 100%;
  padding: 2px 7px;
  border-radius: 4px;
  background: #f1f5f9;
  overflow-wrap: anywhere;
}
@media (max-width: 640px) {
  .cc-v3-filters {
    padding: 10px;
  }
  .cc-v3-filters > div:first-child > input {
    width: 100%;
  }
}
