/* Loyalty tiers — 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}

/* ============ loyalty tiers: summary row ============ */

.crdts-dash .lt-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:23px}

/* ============ loyalty tiers: the card grid ============ */

.crdts-dash .lt-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.crdts-dash .lt-card{border:1px solid #e9e9df;background:#fff;border-radius:10px;padding:16px;
  display:flex;flex-direction:column;min-width:0;transition:transform .2s,box-shadow .2s}
.crdts-dash .lt-card:hover{transform:translateY(-3px);box-shadow:0 10px 30px #33330b08}

.crdts-dash .lt-head{display:flex;align-items:flex-start;gap:11px}
.crdts-dash .lt-badge{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}
.crdts-dash .lt-badge svg{width:20px;height:20px}
.crdts-dash .lt-head-body{min-width:0;flex:1}
.crdts-dash .lt-name{font-size:13.5px;font-weight:700;margin:0;line-height:1.7;overflow:hidden;
  text-overflow:ellipsis;white-space:nowrap}
.crdts-dash .lt-sub{font-size:10.5px;color:#b4b4a7;margin:5px 0 0;overflow:hidden;
  text-overflow:ellipsis;white-space:nowrap}
.crdts-dash .lt-acts{display:flex;gap:5px;flex-shrink:0}

.crdts-dash .lt-chips{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:13px 0 0}
.crdts-dash .lt-top{display:inline-flex;align-items:center;gap:4px;background:#fff6d8;color:#8a6d00}

.crdts-dash .lt-label{font-size:9.5px;letter-spacing:.08em;text-transform:uppercase;color:#a3a397;margin:0 0 7px}
.crdts-dash .lt-req{display:flex;align-items:center;gap:8px;font-size:12px;color:#38382d}
.crdts-dash .lt-req svg{width:15px;height:15px;color:#b4b4a7}

.crdts-dash .lt-dist{margin-top:16px}
.crdts-dash .lt-dist-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.crdts-dash .lt-dist-top b{font-size:12px;color:#171714}
.crdts-dash .lt-dist>small{display:block;font-size:10px;color:#b4b4a7;margin-top:6px}

.crdts-dash .lt-perks{margin-top:16px;flex:1}
.crdts-dash .lt-perks ul{list-style:none;margin:0;padding:0;display:grid;gap:7px}
.crdts-dash .lt-perks li{display:flex;align-items:flex-start;gap:7px;font-size:11.5px;color:#494938;line-height:1.7}
.crdts-dash .lt-perks li svg{width:13px;height:13px;color:#648166;flex-shrink:0;margin-top:3px}

.crdts-dash .lt-add{width:100%;min-height:250px;border:2px dashed #e0dfd2;border-radius:10px;
  background:#fdfdfb;display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:22px 18px;text-align:center;cursor:pointer;transition:background .15s,border-color .15s}
.crdts-dash .lt-add:hover{background:#fffdf4;border-color:#f0d99a}
.crdts-dash .lt-add b{font-size:13px;color:#38382d}
.crdts-dash .lt-add small{font-size:11px;color:#a1a194;line-height:1.8;max-width:215px}

/* ============ loyalty tier form: emoji picker + swatch + preview art ============ */

.crdts-dash .pf-pill.lt-icon-pill{font-size:19px;line-height:1;padding:7px 14px;
  font-family:'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif}
.crdts-dash .pf-input.lt-swatch{width:104px;height:40px;padding:5px;cursor:pointer}
.crdts-dash .lt-emoji{font-size:58px;line-height:1;display:block;
  font-family:'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif}

@media(max-width:1200px){
.crdts-dash .lt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.crdts-dash .lt-metrics{gap:10px}
}
@media(max-width:980px){
.crdts-dash .lt-add{min-height:190px}
}
@media(max-width:680px){
.crdts-dash .lt-grid,.crdts-dash .lt-metrics{grid-template-columns:1fr}
.crdts-dash .lt-add{min-height:170px}
}

