/* حساب الكانتين — inherits K697 Command System (amber / HUD gold) */
body.theme-canteen .sidebar-brand-icon {
  box-shadow: 0 0 24px rgba(240, 160, 48, 0.35), 0 0 0 1px rgba(240, 160, 48, 0.4);
}

/* سطر ملخص الشهر: كل جزء atomic عشان الأرقام والعربي ما يتقطعوش في وسطهم */
body.theme-canteen .dash-top .sub-chunk {
  display: inline-block;
  white-space: nowrap;
}
body.theme-canteen .dash-top .sub-chunk + .sub-chunk::before {
  content: "·";
  margin: 0 6px;
  opacity: .55;
}

/* كارت إجمالي البيع في التقفيل: صفوف داخلية مرنة تمنع تكسير الأرقام */
body.theme-canteen .stat-mini {
  padding: 8px 10px;
  font-size: 12.5px;
}
body.theme-canteen .stat-mini-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
body.theme-canteen .stat-mini-row > span:first-child {
  flex: 1 1 auto;
  min-width: 0;
}
body.theme-canteen .stat-mini-row > span:last-child,
body.theme-canteen .stat-mini-row .money-num {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* كارت إجمالي البيع أوسع من غيره (عمودين على الديسكتوب، سطر كامل على الموبايل) */
body.theme-canteen .stat-card-wide {
  grid-column: span 2;
}

@media (max-width: 900px) {
  body.theme-canteen .stat-card-wide,
  body.theme-canteen .stat-card-fullphone {
    grid-column: 1 / -1;
  }
  body.theme-canteen .stat-card-wide .stat-value {
    font-size: 24px;
  }
}

@media (max-width: 520px) {
  body.theme-canteen .stat-mini {
    padding: 7px 8px;
    font-size: 11.5px;
    line-height: 1.8;
  }
  body.theme-canteen .stat-card-wide .stat-value {
    font-size: 22px;
  }
}
