/**
 * 加氢站站点信息 — 与租赁合同管理 vm 布局 / 字体对齐
 */

.vm-page.lc-page.h2-site-page {
  font-family: var(--vm-font);
  font-size: 0.875rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ln-body);
  -webkit-font-smoothing: antialiased;
}

.vm-page.lc-page.h2-site-page .vm-filter-title {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ln-ink);
}

.vm-page.lc-page.h2-site-page .vm-filter-field > span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ln-muted);
}

.vm-page.lc-page.h2-site-page .vm-btn {
  font-family: var(--vm-font);
  font-size: 0.875rem;
  font-weight: 500;
}

.vm-page.lc-page.h2-site-page .vm-kpi-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ln-muted);
}

.vm-page.lc-page.h2-site-page .vm-kpi-val {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--ln-ink);
}

.vm-page.lc-page.h2-site-page .vm-list-table .ant-table-thead > tr > th {
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  color: var(--ln-muted) !important;
}

.vm-page.lc-page.h2-site-page .vm-list-table .ant-table-tbody > tr:not(.ant-table-measure-row) > td {
  font-size: 0.8125rem;
  color: var(--ln-body);
}

.vm-page.lc-page.h2-site-page .vm-list-table .vm-link {
  font-size: 0.8125rem;
  font-weight: 600;
}

.vm-page.lc-page.h2-site-page .vm-pagination-total,
.vm-page.lc-page.h2-site-page .vm-pagination-size,
.vm-page.lc-page.h2-site-page .vm-pagination-nav,
.vm-page.lc-page.h2-site-page .vm-pagination-page,
.vm-page.lc-page.h2-site-page .vm-pagination-select {
  font-family: var(--vm-font);
  font-size: 0.875rem;
}

.vm-page.lc-page.h2-site-page .vm-pagination-total {
  color: var(--ln-muted);
}

.vm-page.lc-page.h2-site-page .vm-filter-field .ant-select,
.vm-page.lc-page.h2-site-page .vm-filter-field .ant-picker,
.vm-page.lc-page.h2-site-page .vm-filter-field .ant-cascader {
  width: 100%;
}

.vm-page.lc-page.h2-site-page .vm-filter-field .ant-select .ant-select-selector,
.vm-page.lc-page.h2-site-page .vm-filter-field .ant-picker,
.vm-page.lc-page.h2-site-page .vm-filter-field .ant-cascader .ant-select-selector,
.vm-page.lc-page.h2-site-page .vm-filter-field .ant-input,
.vm-page.lc-page.h2-site-page .vm-filter-field .ant-input-affix-wrapper {
  min-height: var(--vm-control-height) !important;
  border-radius: var(--ln-radius-control) !important;
  border-color: var(--ln-hairline-strong) !important;
  font-family: var(--vm-font);
  font-size: 0.875rem;
}

.vm-page.lc-page.h2-site-page .vm-filter-field .ant-select .ant-select-selector,
.vm-page.lc-page.h2-site-page .vm-filter-field .ant-cascader .ant-select-selector {
  align-items: center;
}

.vm-page.lc-page.h2-site-page .vm-filter-field .ant-input-affix-wrapper {
  display: inline-flex;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}

.vm-page.lc-page.h2-site-page .vm-filter-field .ant-input-affix-wrapper > input.ant-input {
  height: calc(var(--vm-control-height) - 2px);
  line-height: calc(var(--vm-control-height) - 2px);
}

.vm-page.lc-page.h2-site-page .vm-filter-card {
  margin-bottom: 16px;
}

.vm-page.lc-page.h2-site-page .vm-kpi-row {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 16px;
}

@media (max-width: 1400px) {
  .vm-page.lc-page.h2-site-page .vm-kpi-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .vm-page.lc-page.h2-site-page .vm-kpi-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .vm-page.lc-page.h2-site-page .vm-kpi-row {
    grid-template-columns: 1fr;
  }
}

.vm-page.lc-page.h2-site-page .vm-table-section {
  min-width: 0;
  max-width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.vm-page.lc-page.h2-site-page .vm-table-card > .vm-table-wrap {
  overflow: hidden;
  max-height: none;
  min-width: 0;
  flex: 1;
  min-height: 0;
}

.vm-page.lc-page.h2-site-page .vm-table-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.vm-page.lc-page.h2-site-page .h2-site-table-wrap {
  --h2-table-scroll-x: 1624px;
}

/* 宽屏铺满容器；窄屏保持列宽合计最小值并可横向滚动 */
.vm-page.lc-page.h2-site-page .h2-site-list-table .ant-table-header > table,
.vm-page.lc-page.h2-site-page .h2-site-list-table .ant-table-body > table {
  width: 100% !important;
  min-width: var(--h2-table-scroll-x) !important;
  table-layout: fixed !important;
}

.vm-page.lc-page.h2-site-page .h2-site-list-table .ant-table-content > table {
  width: 100% !important;
  min-width: var(--h2-table-scroll-x) !important;
  table-layout: fixed !important;
}

.vm-page.lc-page.h2-site-page .h2-site-list-table .ant-table-content {
  overflow-x: auto !important;
}

.vm-page.lc-page.h2-site-page .h2-site-list-table .ant-table-container {
  width: 100%;
}

.vm-page.lc-page.h2-site-page .h2-site-list-table.ant-table-wrapper,
.vm-page.lc-page.h2-site-page .h2-site-list-table .ant-table-wrapper {
  width: 100%;
}

.vm-page.lc-page.h2-site-page .h2-site-list-table .ant-table-cell-scrollbar {
  width: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.vm-page.lc-page.h2-site-page .vm-table-section .vm-table-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: var(--vm-btn-height);
  padding: 0 0 16px;
  margin-bottom: 0;
}

.vm-page.lc-page.h2-site-page .h2-site-list-table .ant-table-cell {
  vertical-align: middle;
}

.vm-page.lc-page.h2-site-page .h2-site-list-table .h2-site-name-col,
.vm-page.lc-page.h2-site-page .h2-site-list-table .h2-site-contact-col {
  white-space: normal !important;
}

.vm-page.lc-page.h2-site-page .h2-site-list-table .ant-table-cell-fix-left,
.vm-page.lc-page.h2-site-page .h2-site-list-table .ant-table-cell-fix-start,
.vm-page.lc-page.h2-site-page .h2-site-list-table .ant-table-cell-fix-right,
.vm-page.lc-page.h2-site-page .h2-site-list-table .ant-table-cell-fix-end {
  background: var(--ln-surface-card);
}

.vm-page.lc-page.h2-site-page .h2-site-list-table .ant-table-tbody > tr:hover .ant-table-cell-fix-left,
.vm-page.lc-page.h2-site-page .h2-site-list-table .ant-table-tbody > tr:hover .ant-table-cell-fix-start,
.vm-page.lc-page.h2-site-page .h2-site-list-table .ant-table-tbody > tr:hover .ant-table-cell-fix-right,
.vm-page.lc-page.h2-site-page .h2-site-list-table .ant-table-tbody > tr:hover .ant-table-cell-fix-end {
  background: var(--ln-canvas-soft) !important;
}

.vm-page.lc-page.h2-site-page .h2-site-list-table .ant-table-thead > tr > th.ant-table-cell-fix-left,
.vm-page.lc-page.h2-site-page .h2-site-list-table .ant-table-thead > tr > th.ant-table-cell-fix-start,
.vm-page.lc-page.h2-site-page .h2-site-list-table .ant-table-thead > tr > th.ant-table-cell-fix-right,
.vm-page.lc-page.h2-site-page .h2-site-list-table .ant-table-thead > tr > th.ant-table-cell-fix-end {
  background: var(--ln-canvas-soft) !important;
}

.vm-page.lc-page.h2-site-page .vm-list-table .ant-table-tbody > tr:not(.ant-table-measure-row) > td.h2-cell-prepaid-balance {
  overflow: hidden;
}

.vm-page.lc-page.h2-site-page .h2-site-list-table.ant-table-wrapper,
.vm-page.lc-page.h2-site-page .h2-site-list-table .ant-table-wrapper {
  min-width: 0;
  max-width: 100%;
}

.vm-page.lc-page.h2-site-page .vm-list-table .ant-table-tbody > tr:not(.ant-table-measure-row) > td.h2-cell-prepaid-balance {
  overflow: visible !important;
}

.h2-station-page.h2-station-page--list {
  padding: 0;
  height: 100vh;
  background: transparent;
  overflow: hidden;
}

.vm-page.lc-page.h2-site-page.h2-site-list-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  box-sizing: border-box;
}
