/* Points system — 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}

/* ============ points system — rules list + smart settings ============ */
.crdts-dash .ps-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
.crdts-dash .ps-metrics .metric>strong{font-size:28px}
.crdts-dash .ps-col{display:grid;gap:22px;align-content:start}
.crdts-dash .ps-stack{display:grid;gap:12px}

/* the point-value pair: points input, swap glyph, currency mirror */
.crdts-dash .ps-convert{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center}
.crdts-dash .ps-affix{position:relative}
.crdts-dash .ps-affix>.pf-input{text-align:center}
.crdts-dash .ps-affix>span{position:absolute;top:50%;inset-inline-end:10px;transform:translateY(-50%);
  font-size:11px;color:#a1a194;pointer-events:none}
.crdts-dash .pf-input.ps-readonly{background:#fcfcfa;color:#6c6c5e}
.crdts-dash .ps-toggle{border:1px solid #efefe7;border-radius:8px;padding:12px 14px;background:#fcfcfa}

/* one line of rule detail under the sub-line */
.crdts-dash .ps-rule-desc{font-size:11.5px;color:#a1a194;line-height:1.8;margin:6px 0 0}
.crdts-dash .ps-rule-trigger{font-size:10.5px;color:#cc4a05;font-style:italic;line-height:1.8;margin:6px 0 0}

/* the smart recommendation card */
.crdts-dash .ps-tip{border:1px solid #f6edb9;background:#fff9e4;border-radius:11px;padding:18px 20px}
.crdts-dash .ps-tip-top{display:flex;align-items:flex-start;gap:13px}
.crdts-dash .ps-tip-ico{width:40px;height:40px;border-radius:9px;background:#fff7d9;color:#c9a227;
  display:grid;place-items:center;flex-shrink:0}
.crdts-dash .ps-tip-body{min-width:0;flex:1}
.crdts-dash .ps-tip-title{font-size:12.5px;font-weight:700;color:#38382d;margin:0}
.crdts-dash .ps-tip-text{font-size:11.5px;color:#7d7a63;line-height:1.9;margin:7px 0 0}

@media(max-width:1200px){
.crdts-dash .ps-metrics .metric>strong{font-size:25px}
}
@media(max-width:980px){
.crdts-dash .ps-convert{grid-template-columns:1fr;justify-items:stretch}
.crdts-dash .ps-convert>svg{margin:auto}
}
@media(max-width:680px){
.crdts-dash .ps-metrics{grid-template-columns:1fr}
.crdts-dash .ps-tip{padding:16px}
.crdts-dash .ps-tip-top{flex-direction:column}
}

