/* ============================================================
   2026-11-18：仪表盘「水电用量趋势」与「锁密码通知」调换位置
   原布局：[水电用量趋势][锁电量通知] | [锁密码通知]
   新布局：[锁密码通知] | [锁电量通知][水电用量趋势]
   —— 只改样式（float / grid order），不动任何 Vue 节点，不删不增 DOM
   ============================================================ */

@media (min-width: 1200px) {
  /* 图表区（66.66%，内含 锁电量通知 + 水电用量趋势）改到右侧 */
  .dashboard-container .charts-grid {
    float: right !important;
    margin: 0 !important;
  }

  /* 锁密码通知（33.33%）改到左侧，与图表区间距 12px */
  .dashboard-container #hx-dpn-card.hx-dpn-full {
    float: left !important;
    margin: 0 12px 0 0 !important;
  }

  /* 图表区内部：把「水电用量趋势」（第 1 个子卡）排到最后一格 */
  .dashboard-container .charts-grid > .chart-item:first-child {
    order: 2 !important;
  }
  /* 锁电量通知（原第 3 个子卡）留在第一格 */
  .dashboard-container .charts-grid > .chart-item:nth-child(3) {
    order: 1 !important;
  }
}

/* 窄屏（<1200px）沿用原来的上下堆叠，不做改动 */
