/**
 * 文件职责：成本管理页面响应式适配样式。
 */
@media (max-width: 1280px) {
  .fc-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fc-composition-body {
    align-items: flex-start;
  }
}

@media (max-width: 992px) {
  .fc-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .fc-toolbar-right {
    justify-content: flex-start;
  }

  .fc-store-select {
    width: 100%;
  }

  .fc-stats {
    grid-template-columns: 1fr;
  }

  .fc-composition-body {
    flex-direction: column;
  }

  .fc-composition-chart-wrap {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .fc-entry-head {
    flex-wrap: wrap;
  }

  .fc-entry-meta {
    width: calc(100% - 56px);
    min-width: unset;
  }

  .fc-entry-amount {
    width: 100%;
    margin-left: 0;
  }

  .fc-entry-input {
    flex: 1;
  }

  .fc-entry-toggle {
    margin-left: auto;
  }

  .fc-entry-detail-row {
    flex-wrap: wrap;
  }

  .fc-entry-item-value {
    justify-content: flex-start;
    width: 100%;
    min-width: unset;
  }

  .fc-entry-item-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .fc-summary {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}
