/* src/client/customer-light-contact.css */
.cc-light-summary {
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  vertical-align: middle;
  color: #334155;
  font-size: 12px;
  line-height: 1.4;
}
.cc-light-summary .cc-light-summary__main {
  min-width: 0;
  overflow-wrap: anywhere;
}
.cc-light-summary .cc-light-summary__method {
  color: #64748b;
}
.cc-light-summary .cc-light-summary__more {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
  border: 0;
  background: transparent;
  color: #185fa5;
  padding: 2px 0;
  font: inherit;
  font-size: 11px;
  line-height: 1.4;
  white-space: nowrap;
  cursor: pointer;
}
.cc-light-summary .cc-light-summary__more:hover {
  color: #0c447c;
  text-decoration: underline;
}
.cc-light-summary .cc-light-summary__more:focus-visible,
.cc-light-view .cc-light-view__close:focus-visible,
.cc-light-view .cc-light-view__retry:focus-visible {
  outline: 2px solid #185fa5;
  outline-offset: 2px;
}
.cc-light-summary .cc-light-summary__chevron {
  font-size: 13px;
  line-height: 1;
  transform: translateY(-1px);
}
.cc-light-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: 12px;
}
.cc-light-view .cc-light-view__header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid #f1f5f9;
  padding: 8px 10px;
}
.cc-light-view .cc-light-view__title {
  color: #1e293b;
  font-size: 12px;
  font-weight: 600;
}
.cc-light-view .cc-light-view__close {
  flex: 0 0 auto;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #64748b;
  padding: 0 3px;
  font-size: 18px;
  line-height: 18px;
  cursor: pointer;
}
.cc-light-view .cc-light-view__close:hover {
  background: #f1f5f9;
  color: #334155;
}
.cc-light-view .cc-light-view__scroll {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 370px;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 2px 10px 10px;
  -webkit-overflow-scrolling: touch;
}
.cc-light-view .cc-light-view__contact {
  min-width: 0;
  border-top: 1px solid #f1f5f9;
  padding: 9px 0;
}
.cc-light-view .cc-light-view__contact:first-child {
  border-top: 0;
}
.cc-light-view .cc-light-view__name-row {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}
.cc-light-view .cc-light-view__name {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #1e293b;
  font-size: 12px;
}
.cc-light-view .cc-light-view__primary {
  border-radius: 4px;
  background: #eff6ff;
  color: #185fa5;
  padding: 1px 5px;
  font-size: 11px;
  line-height: 16px;
}
.cc-light-view .cc-light-view__role,
.cc-light-view .cc-light-view__methods p {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}
.cc-light-view .cc-light-view__role {
  color: #64748b;
  font-size: 11px;
}
.cc-light-view .cc-light-view__methods {
  color: #334155;
}
.cc-light-view .cc-light-view__notice {
  margin: 0;
  padding: 11px 0 3px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}
.cc-light-view .cc-light-view__notice--masked {
  color: #92400e;
}
.cc-light-view .cc-light-view__notice--error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #b91c1c;
}
.cc-light-view .cc-light-view__retry {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #185fa5;
  padding: 2px;
  font: inherit;
  cursor: pointer;
}
@media (max-width: 420px) {
  .cc-light-summary {
    max-width: 100%;
  }
  .cc-light-view {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }
}
