/* 등록고객 관리 — 수신문서 모니터링 톤 통일 */

.rr-cust-mgmt-page.rr-recv-monitor-page .rr-cust-mgmt-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin-bottom: 1.25rem;
  padding: 0.65rem 0.85rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.rr-cust-mgmt-subnav a {
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
}

.rr-cust-mgmt-subnav a[aria-current="page"] {
  color: #c41e3a;
}

.rr-cust-mgmt-subnav a:hover {
  color: #0f172a;
}

.rr-cust-mgmt-table {
  min-width: 1080px;
}

.rr-cust-mgmt-table__claim-docs {
  min-width: 5.5rem;
  max-width: 6.75rem;
}

.rr-cust-mgmt-table thead th {
  background: #f1f5f9;
  color: #334155;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-bottom: 1px solid #e2e8f0;
}

.rr-cust-mgmt-table tbody td {
  vertical-align: middle;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.rr-cust-mgmt-table__no {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
}

.rr-cust-mgmt-table__name {
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
}

.rr-cust-mgmt-table__real {
  display: inline-block;
  margin-right: 0.25rem;
  color: #047857;
  font-size: 0.55rem;
  vertical-align: middle;
}

.rr-cust-mgmt-table__phone {
  font-family: ui-monospace, monospace;
  font-size: 0.78rem;
  color: #64748b;
  white-space: nowrap;
  width: 4.75rem;
  max-width: 4.75rem;
}

.rr-cust-mgmt-table__date {
  white-space: nowrap;
  font-size: 0.78rem;
  color: #475569;
  width: 4.6rem;
  max-width: 4.6rem;
}

.rr-cust-mgmt-table thead th:nth-child(3),
.rr-cust-mgmt-table thead th:nth-child(10) {
  width: 4.75rem;
}

.rr-cust-mgmt-table__status {
  min-width: 4.5rem;
}

.rr-cust-mgmt-table__actions {
  min-width: 9.5rem;
}

.rr-cust-mgmt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: flex-start;
}

.rr-cust-mgmt-actions .rr-recv-action-btn--pill {
  font-size: 0.64rem;
  padding: 0.16rem 0.42rem;
  line-height: 1.25;
  white-space: nowrap;
}

.rr-cust-mgmt-actions .rr-recv-action-btn--accent {
  color: #1d4ed8;
  border-color: #bfdbfe;
  background: #eff6ff;
}

.rr-cust-mgmt-privacy {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: #64748b;
}

.rr-cust-mgmt-modal__actions {
  margin-top: 0.75rem;
}

.rr-cust-mgmt-modal__actions .rr-btn {
  margin-right: 0.5rem;
}

.rr-cust-mgmt-table .rr-recv-op-badge--compact {
  display: inline-block;
  max-width: 5.5rem;
  text-align: center;
}

.rr-recv-op-badge--cust-ok-subtle {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  font-size: 0.62rem;
  font-weight: 600;
  opacity: 0.92;
}

.rr-recv-op-badge--cust-attn-warn {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
  font-weight: 700;
}

.rr-recv-op-badge--cust-attn-fail {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  font-weight: 700;
}

.rr-cust-kpi-card--clickable {
  cursor: pointer;
  border: none;
  text-align: left;
  font: inherit;
  width: 100%;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.rr-cust-kpi-card--clickable:hover,
.rr-cust-kpi-card--clickable:focus-visible {
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
  transform: translateY(-1px);
  outline: none;
}

.rr-cust-final-claim-panel {
  padding: 0.25rem 0 0.5rem;
}

.rr-cust-final-claim-periods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.rr-cust-final-claim-period {
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}

.rr-cust-final-claim-period.is-active {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.rr-cust-final-claim-body {
  min-height: 6rem;
}

.rr-cust-final-claim-summary {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.rr-cust-final-claim-empty {
  margin: 0;
  color: #64748b;
  font-size: 0.85rem;
}

.rr-cust-final-claim-breakdown {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: #334155;
}

.rr-cust-actual-loss-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: #334155;
}

.rr-cust-actual-loss-list li + li {
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid #f1f5f9;
}

.rr-cust-actual-loss-meta {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.74rem;
  color: #64748b;
}

.rr-cust-actual-loss-note {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  color: #b45309;
}

@media (max-width: 900px) {
  .rr-cust-mgmt-table .rr-recv-op-badge--compact {
    max-width: 4.25rem;
    font-size: 0.58rem;
  }
}
