/* Premium stat cards shared by every module summary strip */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(var(--sc, 6), minmax(0, 1fr));
  gap: 14px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.stat-strip .ss {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  padding: 15px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.stat-strip .ss::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--amber-400), var(--amber-600));
  opacity: 0;
  transition: opacity .18s ease;
}

.stat-strip .ss:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--amber-200);
  background: #fff;
}

.stat-strip .ss:hover::before { opacity: 1; }

.ss-ico {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  display: none;
  place-items: center;
  background: linear-gradient(145deg, var(--amber-50), var(--amber-100));
  border: 1px solid var(--amber-200);
  color: var(--amber-700);
}

.ss-ico.navy {
  background: linear-gradient(145deg, #eef1f7, #e3e8f3);
  border-color: #dde3ef;
  color: var(--navy-700);
}

.ss-ico.green {
  background: linear-gradient(145deg, var(--green-50), #dcf4e8);
  border-color: #d7f0e3;
  color: var(--green-600);
}

.ss-ico.red {
  background: linear-gradient(145deg, var(--red-50), #fbe6e1);
  border-color: #f9d8d2;
  color: var(--red-600);
}

.ss-txt {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  max-width: 100%;
}

.stat-strip .ss .k {
  font-size: 10.6px;
  letter-spacing: .07em;
}

.stat-strip .ss .v {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  margin-top: 0;
  letter-spacing: -.01em;
  white-space: nowrap;
}

@media (max-width: 1340px) {
  .stat-strip { grid-template-columns: repeat(var(--sc-md, 3), minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .stat-strip { gap: 10px; }
  .stat-strip .ss { padding: 13px 14px; }
  .stat-strip .ss .v { font-size: 18px; }
}
