/* Customers — dashboard design, scoped under .crdts-dash.
   Page-private classes; the shared shell stays in dashboard.scoped.css. */

.crdts-dash h1,.crdts-dash h2,.crdts-dash h3,.crdts-dash h4,.crdts-dash p,.crdts-dash span,.crdts-dash a,.crdts-dash b,.crdts-dash strong,.crdts-dash small,.crdts-dash em,.crdts-dash i,.crdts-dash li,.crdts-dash ul,.crdts-dash ol,.crdts-dash button,.crdts-dash label,.crdts-dash input,.crdts-dash textarea,.crdts-dash select,.crdts-dash summary,.crdts-dash option:not(.material-symbols-outlined):not([class*="material-symbols"]):not(.material-symbols-rounded):not([class*="material-symbols-rounded"]){font-family:inherit}
.crdts-dash .material-symbols-outlined,.crdts-dash [class*="material-symbols"]{
  font-family:'Material Symbols Outlined'!important;font-weight:400;font-style:normal;
  line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;
  white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:'liga';
  -webkit-font-feature-settings:'liga';-webkit-font-smoothing:antialiased}

.cu-skel{display:grid;gap:10px}
.cu-skel-row{height:52px;border-radius:12px;background:linear-gradient(90deg,#f4f4ee 25%,#fafaf6 50%,#f4f4ee 75%);
  background-size:200% 100%;animation:cuShimmer 1.4s ease-in-out infinite}
@keyframes cuShimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}

.cu-row{cursor:pointer}
.cu-row:hover{background:#fafaf6}

.cu-avatar{width:34px;height:34px;flex:0 0 34px;border-radius:50%;object-fit:cover;background:#fff6c6}
.cu-avatar-empty{display:grid;place-items:center;color:#f75c0a}
.cu-avatar-empty svg{width:16px;height:16px}

.cu-who-row{display:flex;align-items:center;gap:10px;min-width:0}
.cu-who{display:flex;flex-direction:column;min-width:0}
.cu-who b{font-weight:600;color:#171714;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:190px}
.cu-who small{font-size:11px;color:#a1a194;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:190px}

.cu-mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;direction:ltr}
.cu-pts-cell{display:flex;align-items:center;gap:7px}
.cu-pts-cell b{font-weight:700;color:#171714}
.cu-pts{font-size:12px;font-weight:700;color:#f75c0a}
.cu-cash{font-weight:700;color:#f75c0a}
.cu-date{font-size:11px;color:#949489;white-space:nowrap}

.kind-chip.tier-gold{background:#fff6c6;color:#8a6d0b}
.kind-chip.tier-silver{background:#f0f0ea;color:#6f6f62}
.kind-chip.tier-bronze{background:#fbe6d4;color:#9a4a12}
.kind-chip.src-staff{background:#fff6c6;color:#8a6d0b}
.kind-chip.src-import{background:#e8f0fb;color:#2c5d9e}
.kind-chip.src-self{background:#eaf3ec;color:#3f6b50}
.kind-chip.src-ref{background:#f0f0ea;color:#6f6f62}

.cu-cards{display:grid;gap:10px}
.cu-card{border:1px solid var(--line);border-radius:12px;background:#fff;padding:13px 14px;cursor:pointer}
.cu-card:active{transform:scale(.99)}
.cu-card-top{display:flex;align-items:center;gap:10px;min-width:0}
.cu-card-tags{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:11px}
.cu-card .rule-tools{margin-top:11px;justify-content:flex-end}

@media(max-width:680px){
  .cu-who b,.cu-who small{max-width:150px}
}

