/**
 * 任务工单 — 列表壳层对齐租赁合同 lc-page
 */
@import url('../../ledger-shared/styles/ledger-page.css');
@import url('../../lease-contract-management/styles/lease-contract.css');

.vm-page.two-page.two-page--list-dense {
  --two-list-chrome-offset: 434px;
}

@media (max-height: 820px) {
  .vm-page.two-page.two-page--list-dense {
    --two-list-chrome-offset: 406px;
  }
}

@media (min-height: 960px) {
  .vm-page.two-page.two-page--list-dense {
    --two-list-chrome-offset: 418px;
  }
}

.vm-page.two-page .vm-kpi-row--with-view {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  flex-wrap: nowrap;
}

.vm-page.two-page.lc-page.lc-page--list-dense .vm-kpi-row.vm-kpi-row--with-view .vm-kpi-card {
  min-height: 68px;
  padding: 10px 26px 10px 12px;
  gap: 8px;
}

.vm-page.two-page.lc-page.lc-page--list-dense .vm-kpi-row.vm-kpi-row--with-view .vm-kpi-eyebrow {
  font-size: 0.6875rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vm-page.two-page.lc-page.lc-page--list-dense .vm-kpi-row.vm-kpi-row--with-view .vm-kpi-val {
  font-size: 1.125rem;
}

@media (max-width: 1280px) {
  .vm-page.two-page.lc-page .vm-kpi-row.vm-kpi-row--with-view {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .vm-page.two-page.lc-page .vm-kpi-row.vm-kpi-row--with-view {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 2px;
  }

  .vm-page.two-page.lc-page .vm-kpi-row.vm-kpi-row--with-view .vm-kpi-card {
    flex: 0 0 calc((100% - 6 * 12px) / 7);
    min-width: 108px;
  }
}

@media (max-width: 640px) {
  .vm-page.two-page.lc-page .vm-kpi-row.vm-kpi-row--with-view .vm-kpi-card {
    flex: 0 0 120px;
    min-width: 120px;
  }
}

.vm-page.two-page .two-kpi-view-card.active {
  border-color: var(--ln-primary);
  box-shadow: 0 0 0 1px var(--ln-primary-soft, rgba(50, 160, 110, 0.25));
}

.two-progress-cell {
  min-width: 120px;
}

.two-progress-meta {
  font-size: 11px;
  color: var(--ln-muted);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

.two-drawer-section {
  margin-bottom: 20px;
}

.two-drawer-section__title {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.two-clause-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
}

.two-permission-hint {
  font-size: 12px;
  color: #64748b;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 16px;
}

.two-timeline-item {
  font-size: 13px;
  color: #475569;
}

.two-vehicle-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  background: #f1f5f9;
  font-size: 12px;
  margin: 0 6px 6px 0;
}

.two-wizard-step-hint {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 12px;
}

/* lc-page 复用：two-page 与 lc-page 同等列表工具栏/表格间距 */
.vm-page.two-page.two-page--list-dense .vm-table-section .vm-table-toolbar {
  padding-bottom: 12px;
}

.vm-page.two-page .vm-list-table.two-list-table .ant-table-thead > tr > th {
  white-space: nowrap;
}
