/**
 * 提车应收款 — 对齐租赁合同管理（vm-page + lc-page + ledger-page）
 */
@import url('../../ledger-shared/styles/ledger-page.css');
@import url('../../lease-contract-management/styles/lease-contract.css');

.vm-page.vpr-page.lc-page--list-dense {
  --lc-list-chrome-offset: 420px;
}

.vm-page.vpr-page .vm-list-table .ant-table-tbody > tr:not(.ant-table-measure-row) > td.vm-stacked-cell-td {
  white-space: normal !important;
  overflow: visible !important;
  vertical-align: middle !important;
}

.vm-page.vpr-page .vpr-action-links {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
}

.vm-page.vpr-page .vpr-action-links .ant-btn-link {
  padding-inline: 0;
  height: auto;
  line-height: 1.4;
}

.vm-page.vpr-page .vpr-main-list-table .lc-project-info-merged-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.vm-page.vpr-page .vpr-main-list-table .lc-project-info-merged-cell .lc-project-info-cell {
  flex: 1;
  min-width: 0;
}

.vm-page.vpr-page .vpr-main-list-table .lc-project-info-merged-cell .ant-table-row-expand-icon {
  flex-shrink: 0;
  margin: 0;
  cursor: pointer;
  color: var(--ln-primary, #32a06e);
  border-color: color-mix(in srgb, var(--ln-primary, #32a06e) 45%, transparent);
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.vm-page.vpr-page .vpr-main-list-table .lc-project-info-merged-cell .ant-table-row-expand-icon:hover {
  color: var(--ln-primary-hover, #15803d);
  border-color: var(--ln-primary-hover, #15803d);
  background: color-mix(in srgb, var(--ln-primary, #32a06e) 8%, transparent);
}

.vm-page.vpr-page .vpr-main-list-table .lc-project-info-merged-cell .ant-table-row-expand-icon:focus-visible {
  outline: 2px solid var(--ln-primary, #32a06e);
  outline-offset: 2px;
}

.vm-page.vpr-page .lc-project-info-cell__static {
  min-width: 0;
}

.vm-page.vpr-page .vpr-delivery-btn {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: none;
  background: transparent;
  font: inherit;
  color: var(--ln-link, #32a06e);
  cursor: pointer;
  font-weight: 500;
}

.vm-page.vpr-page .vpr-delivery-btn:hover {
  text-decoration: underline;
}

.vm-page.vpr-page .vpr-delivery-btn:focus-visible {
  outline: 2px solid var(--ln-link, #32a06e);
  outline-offset: 2px;
  border-radius: 4px;
}

.vm-page.vpr-page .vpr-pickup-native-table--vehicles {
  min-width: 1060px;
}

.vm-page.vpr-page .vpr-pickup-subtable__batch-cell {
  vertical-align: middle;
  background: var(--ln-surface-card, #fff);
}

.vm-page.vpr-page .vpr-pickup-subtable__actions {
  white-space: normal;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 2px 4px;
}

.vm-page.vpr-page .vpr-pickup-subtable__actions .vm-op-action {
  flex: 0 1 auto;
}

.vm-page.vpr-page .vpr-op-action--danger {
  color: var(--ln-danger, #dc2626);
}

.vm-page.vpr-page .vpr-op-action--danger:hover {
  color: var(--ln-danger, #dc2626);
  background: color-mix(in srgb, var(--ln-danger, #dc2626) 8%, transparent);
}

.vm-page.vpr-page .vpr-pickup-subtable__actions .vm-operation-actions {
  flex-wrap: wrap;
  justify-content: flex-start;
}

.vm-page.vpr-page .vpr-pickup-native-table td.vpr-money--total {
  font-weight: 600;
}

.vm-page.vpr-page .vpr-pickup-native-table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
  table-layout: fixed;
  background: var(--ln-surface-card, #fff);
  border: 1px solid var(--ln-hairline, #e2e8f0);
  border-radius: var(--ln-radius-control, 8px);
  overflow: hidden;
}

.vm-page.vpr-page .vpr-pickup-native-table th,
.vm-page.vpr-page .vpr-pickup-native-table td {
  padding: 7px 8px;
  border-bottom: 1px solid var(--ln-hairline, #e2e8f0);
  font-size: 12px;
  color: var(--ln-body, #334155);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

.vm-page.vpr-page .vpr-pickup-native-table th {
  background: var(--ln-canvas-soft, #f6f7f7);
  color: var(--ln-muted, #71717a);
  font-weight: 500;
  text-align: left;
}

.vm-page.vpr-page .vpr-pickup-native-table td.vpr-money {
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.vm-page.vpr-page .vpr-pickup-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.vm-page.vpr-page .vpr-pickup-expand__empty {
  padding: 16px;
  text-align: center;
  color: var(--ln-muted, #71717a);
  font-size: 13px;
}

.vm-page.vpr-page .vpr-pickup-subtable__vehicle-count {
  display: inline-flex;
  align-items: center;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ln-primary, #32a06e);
  background: color-mix(in srgb, var(--ln-primary, #32a06e) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--ln-primary, #32a06e) 16%, transparent);
  white-space: nowrap;
}

.vm-page.vpr-page .vpr-pickup-subtable__vehicle-count-cell {
  text-align: left;
}

.vm-page.vpr-page .vpr-pickup-subtable__model-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.vm-page.vpr-page .vpr-pickup-subtable__model-group-name {
  font-weight: 500;
  color: var(--ln-fg, #18181b);
  line-height: 1.4;
}

.vm-page.vpr-page .vpr-pickup-subtable__model-group-cell {
  vertical-align: middle;
  background: var(--ln-surface-card, #fff);
}

.vm-page.vpr-page .vpr-pickup-subtable__plate-cell {
  vertical-align: middle;
}

.vm-page.vpr-page .vpr-pickup-subtable__plate-no {
  color: var(--ln-fg, #18181b);
  line-height: 1.4;
  word-break: break-all;
}

.vm-page.vpr-page .vpr-pickup-subtable__plate-no--pending {
  color: var(--ln-muted, #71717a);
}

.vm-page.vpr-page .vpr-row-expand-spacer {
  display: inline-block;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.vm-page.vpr-page .vpr-pickup-expand {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

.vm-page.vpr-page .vpr-main-list-table .ant-table-expanded-row > td {
  padding: 8px 12px 12px !important;
  background: var(--ln-canvas-soft, #f8fafc);
}

.vm-page.vpr-page .vpr-main-list-table .ant-table-expanded-row > td.ant-table-cell {
  border-bottom: 1px solid var(--ln-hairline, #e2e8f0);
}

/* 主表横向滚动：表头/表体同步（对齐 lc-list-table--nested，勿单独禁用 body overflow-x） */
.vm-page.vpr-page .vm-table-wrap {
  width: 100%;
  overflow: hidden;
}

.vm-page.vpr-page .vpr-main-list-table .ant-table-container {
  overflow: hidden;
}

.vm-page.vpr-page .vpr-main-list-table .ant-table-body {
  container-type: inline-size;
  container-name: vpr-main-table-scroll;
}

/* 纵向滚动条占位：防止表头/表体右侧冻结列错位 */
.vm-page.vpr-page .vpr-main-list-table .ant-table-thead > tr > th.ant-table-cell-fix-end:not(.ant-table-cell-scrollbar)::before,
.vm-page.vpr-page .vpr-main-list-table .ant-table-tbody > tr > td.ant-table-cell-fix-end:not(.ant-table-cell-scrollbar)::before,
.vm-page.vpr-page .vpr-main-list-table .ant-table-thead > tr > th.ant-table-cell-fix-right:not(.ant-table-cell-scrollbar)::before,
.vm-page.vpr-page .vpr-main-list-table .ant-table-tbody > tr > td.ant-table-cell-fix-right:not(.ant-table-cell-scrollbar)::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: -17px;
  width: 17px;
  background: inherit;
  pointer-events: none;
}

/* 保留滚动条占位列，避免表头/表体 clientWidth 不一致导致横向错位（覆盖 lc-list-table--nested 的隐藏规则） */
.vm-page.vpr-page .vpr-main-list-table .ant-table-cell-scrollbar {
  width: 17px !important;
  min-width: 17px !important;
  max-width: 17px !important;
  padding: 0 !important;
  border: none !important;
  visibility: visible !important;
  background: var(--ln-surface, #fff);
}

.vm-page.vpr-page .vpr-main-list-table .ant-table-thead > tr > th,
.vm-page.vpr-page .vpr-main-list-table .ant-table-tbody > tr:not(.ant-table-measure-row) > td {
  overflow: hidden;
}

.vm-page.vpr-page .vpr-col-project .lc-project-info-merged-cell,
.vm-page.vpr-page .vpr-col-project .lc-project-info-cell,
.vm-page.vpr-page .vpr-col-project .vm-stack .primary,
.vm-page.vpr-page .vpr-col-project .vm-stack .code,
.vm-page.vpr-page .vpr-col-project .vm-stack .sub {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vm-page.vpr-page .vpr-col-owner .vm-stack .primary,
.vm-page.vpr-page .vpr-col-owner .vm-stack .sub {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vm-page.vpr-page .vpr-main-list-table .ant-table-thead > tr > th {
  white-space: nowrap !important;
}

.vm-page.vpr-page .vpr-col-pickup {
  text-align: left !important;
}

.vm-page.vpr-page .vpr-main-list-table .ant-table-thead > tr > th.vpr-col-pickup {
  text-align: center !important;
}

.vm-page.vpr-page .vpr-col-pickup .lc-lease-order-counts {
  justify-content: flex-start;
  min-width: 0;
}

.vm-page.vpr-page .vpr-col-action {
  white-space: nowrap;
}

.vm-page.vpr-page .vpr-main-action-cell {
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 2px 4px;
}

.vm-page.vpr-page .vpr-main-action-cell .vm-op-action {
  flex: 0 1 auto;
}

.vm-page.vpr-page .vpr-contract-view-page {
  padding: 16px 20px 32px;
  min-height: 100vh;
  background: var(--ln-canvas-parchment, #f5f6f6);
  box-sizing: border-box;
}

.vm-page.vpr-page .vpr-contract-view-actions {
  display: flex;
  justify-content: flex-end;
  max-width: 1280px;
  margin: 0 auto 12px;
}

.vm-page.vpr-page .vpr-contract-view-section {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--ln-hairline, #e2e8f0);
  border-radius: var(--ln-radius-md, 12px);
  background: var(--ln-surface, #fff);
}

.vm-page.vpr-page .vpr-contract-view-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.vm-page.vpr-page .vpr-contract-view-section__title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ln-fg, #18181b);
}

.vm-page.vpr-page .vpr-contract-view-section__count {
  font-size: 12px;
  color: var(--ln-muted, #71717a);
}

.vm-page.vpr-page .vpr-contract-view-section__hint {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ln-muted, #71717a);
}

.vm-page.vpr-page .vpr-contract-view-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
}

.vm-page.vpr-page .vpr-contract-view-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.vm-page.vpr-page .vpr-contract-view-info-item__label {
  font-size: 12px;
  color: var(--ln-muted, #71717a);
}

.vm-page.vpr-page .vpr-contract-view-info-item__value {
  font-size: 14px;
  color: var(--ln-fg, #18181b);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vm-page.vpr-page .vpr-contract-view-empty {
  padding: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--ln-muted, #71717a);
  background: var(--ln-canvas-soft, #f8fafc);
  border-radius: var(--ln-radius-control, 8px);
}

.vm-page.vpr-page .vpr-contract-view-table th,
.vm-page.vpr-page .vpr-contract-view-table td {
  white-space: nowrap;
}

/* 金额列 */
.vm-page.vpr-page .vpr-money-col-th,
.vm-page.vpr-page .vpr-money-col-td {
  text-align: left !important;
  font-variant-numeric: tabular-nums;
  padding-inline: 6px !important;
  vertical-align: middle !important;
}

.vm-page.vpr-page .vpr-money-cell {
  display: inline-block;
  width: 100%;
  text-align: left;
  font-size: 12px;
  color: var(--ln-body, #334155);
}

.vm-page.vpr-page .vpr-money-cell--total {
  font-weight: 600;
}

@media (max-width: 1100px) {
  .vm-page.vpr-page.lc-page--list-dense {
    --lc-list-chrome-offset: 480px;
  }
}

/* 办理页顶栏：仅返回列表 */
.vm-page.vpr-collect-page .vpr-collect-topbar {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 12px;
}

.vm-page.vpr-collect-page .vpr-collect-contract-card {
  padding: 20px 24px;
  margin-bottom: 0;
}

.vm-page.vpr-collect-page .vpr-collect-contract-hero {
  margin-bottom: 16px;
  padding-bottom: 16px;
}

.vm-page.vpr-collect-page .vpr-collect-contract-hero__aside-main {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ln-ink, #18181b);
  line-height: 1.45;
}

.vm-page.vpr-collect-page .vpr-collect-contract-stats {
  margin-bottom: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .vm-page.vpr-collect-page .vpr-collect-contract-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.vm-page.vpr-collect-page .vpr-collect-summary-stats {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 0;
  gap: 12px;
}

.vm-page.vpr-collect-page .vpr-collect-kpi-stat__value {
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.vm-page.vpr-collect-page .vpr-collect-kpi-stat--active {
  border-color: color-mix(in srgb, var(--ln-primary, #32a06e) 35%, var(--ln-hairline));
  background: color-mix(in srgb, var(--ln-primary, #32a06e) 4%, #fff);
}

.vm-page.vpr-collect-page .vpr-collect-kpi-stat--active .vpr-collect-kpi-stat__value {
  color: var(--ln-primary-focus, #27885a);
}

@media (max-width: 1100px) {
  .vm-page.vpr-collect-page .vpr-collect-summary-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .vm-page.vpr-collect-page .vpr-collect-summary-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.vm-page.vpr-collect-page .vpr-collect-delivery-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
  border: 1px solid var(--ln-hairline, #e2e8f0);
  border-radius: var(--ln-radius-control, 8px);
  background: var(--ln-surface-card, #fff);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.vm-page.vpr-collect-page .vpr-collect-delivery-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.vm-page.vpr-collect-page .vpr-collect-delivery-panel__title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ln-ink, #18181b);
  line-height: 1.35;
}

.vm-page.vpr-collect-page .vpr-collect-delivery-panel__hint {
  font-size: 0.75rem;
  color: var(--ln-muted, #71717a);
  line-height: 1.35;
}

.vm-page.vpr-collect-page .vpr-collect-delivery-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}

@media (max-width: 768px) {
  .vm-page.vpr-collect-page .vpr-collect-delivery-panel__grid {
    grid-template-columns: 1fr;
  }
}

.vm-page.vpr-collect-page .vpr-collect-delivery-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.vm-page.vpr-collect-page .vpr-collect-delivery-field__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ln-body, #3f3f46);
  line-height: 1.35;
}

.vm-page.vpr-collect-page .vpr-collect-delivery-field__icon {
  flex-shrink: 0;
  color: var(--ln-primary-focus, #27885a);
}

.vm-page.vpr-collect-page .vpr-collect-delivery-field__control,
.vm-page.vpr-collect-page .vpr-collect-delivery-field__control.ant-picker {
  width: 100%;
  min-height: 36px;
}

.vm-page.vpr-collect-page .vpr-collect-delivery-field:focus-within .vpr-collect-delivery-field__label {
  color: var(--ln-primary-focus, #27885a);
}

.vm-page.vpr-collect-page .vpr-collect-delivery-field--invalid .vpr-collect-delivery-field__label {
  color: var(--ln-danger, #dc2626);
}


.vm-page.vpr-collect-page .vpr-collect-topbar__link {
  padding: 0;
  flex-shrink: 0;
}

/* —— 办理页 —— */
.vm-page.vpr-collect-page {
  --vpr-collect-footer-height: 68px;
  padding: 16px 24px calc(var(--vpr-collect-footer-height) + 16px);
  min-height: 100vh;
  background: var(--ln-canvas-parchment, #f5f6f6);
  box-sizing: border-box;
}

.vm-page.vpr-collect-page .vpr-collect-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1280px;
  margin: 0 auto;
}

.vm-page.vpr-collect-page .vpr-collect-panel {
  background: var(--ln-surface-card, #fff);
  border: 1px solid var(--ln-hairline, #e2e8f0);
  border-radius: var(--ln-radius-card, 12px);
  box-shadow: var(--ln-shadow-soft);
  overflow: hidden;
}

.vm-page.vpr-collect-page .vpr-collect-panel__head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--ln-hairline, #e2e8f0);
  background: color-mix(in srgb, var(--ln-primary, #32a06e) 4%, #fff);
}

.vm-page.vpr-collect-page .vpr-collect-panel__title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ln-ink, #18181b);
  line-height: 1.35;
}

.vm-page.vpr-collect-page .vpr-collect-info-grid--flat {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.vm-page.vpr-collect-page .vpr-collect-field--flat {
  padding: 12px 14px;
  border-right: 1px solid var(--ln-hairline, #e2e8f0);
  border-bottom: 1px solid var(--ln-hairline, #e2e8f0);
  min-height: 0;
  background: var(--ln-surface-card, #fff);
}

.vm-page.vpr-collect-page .vpr-collect-info-grid--flat .vpr-collect-field--flat:nth-child(4n) {
  border-right: none;
}

.vm-page.vpr-collect-page .vpr-collect-field--flat .vpr-collect-field__label {
  margin-bottom: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ln-muted, #71717a);
  line-height: 1.2;
}

.vm-page.vpr-collect-page .vpr-collect-field--flat .vpr-collect-field__value {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ln-ink, #18181b);
}

.vm-page.vpr-collect-page .vpr-collect-topbar--shell {
  max-width: 1280px;
  margin: 0 auto 16px;
  padding: 14px 16px;
  background: var(--ln-surface-card, #fff);
  border: 1px solid var(--ln-hairline);
  border-radius: var(--ln-radius-card);
  box-shadow: var(--ln-shadow-soft);
}

.vm-page.vpr-collect-page .vpr-collect-topbar--shell.vpr-collect-topbar {
  margin-bottom: 16px;
}

.vm-page.vpr-collect-page .vpr-collect-topbar__chip {
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  height: 22px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ln-primary-focus, #27885a);
  background: color-mix(in srgb, var(--ln-primary, #32a06e) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--ln-primary, #32a06e) 20%, transparent);
}

.vm-page.vpr-collect-page .vpr-collect-topbar__meta-text {
  color: var(--ln-muted);
  font-size: 0.8125rem;
}

@media (max-width: 900px) {
  .vm-page.vpr-collect-page {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.vm-page.vpr-collect-page .vpr-collect-topbar__left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.vm-page.vpr-collect-page .vpr-collect-topbar__intro {
  min-width: 0;
  padding-top: 2px;
}

.vm-page.vpr-collect-page .vpr-collect-topbar__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ln-ink);
  line-height: 1.35;
}

.vm-page.vpr-collect-page .vpr-collect-topbar__meta {
  margin: 4px 0 0;
  font-size: 0.8125rem;
  color: var(--ln-muted);
  line-height: 1.5;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.vm-page.vpr-collect-page .vpr-collect-draft-badge {
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  height: 22px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.vm-page.vpr-collect-page .vpr-collect-card {
  margin-bottom: 0;
  border: 1px solid var(--ln-hairline);
  border-radius: var(--ln-radius-card);
  box-shadow: var(--ln-shadow-soft);
  overflow: hidden;
}

.vm-page.vpr-collect-page .vpr-collect-card .ant-card-head {
  min-height: 48px;
  border-bottom: 1px solid var(--ln-hairline);
  background: color-mix(in srgb, var(--ln-primary, #32a06e) 3%, #fff);
}

.vm-page.vpr-collect-page .vpr-collect-card .ant-card-head-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ln-ink);
}

.vm-page.vpr-collect-page .vpr-collect-card .ant-card-head-title::before {
  content: '';
  flex-shrink: 0;
  width: 3px;
  height: 14px;
  border-radius: 999px;
  background: var(--ln-primary, #32a06e);
}

.vm-page.vpr-collect-page .vpr-collect-card--primary {
  border-color: color-mix(in srgb, var(--ln-primary, #32a06e) 24%, var(--ln-hairline));
}

.vm-page.vpr-collect-page .vpr-collect-card--primary .ant-card-head {
  background: color-mix(in srgb, var(--ln-primary, #32a06e) 5%, #fff);
  border-bottom-color: color-mix(in srgb, var(--ln-primary, #32a06e) 14%, var(--ln-hairline));
}

.vm-page.vpr-collect-page .vpr-collect-card--primary .ant-card-body {
  padding: 16px;
  background: var(--ln-canvas-soft, #f8fafc);
}

.vm-page.vpr-collect-page .vpr-collect-info-grid--contract {
  gap: 12px;
}

.vm-page.vpr-collect-page .vpr-collect-info-grid--contract .vpr-collect-field {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 72px;
  padding: 12px 14px;
  background: var(--ln-surface, #fff);
  border: 1px solid var(--ln-hairline, #e5e7eb);
  border-radius: var(--ln-radius-control, 8px);
  box-shadow: none;
  transition: border-color 0.2s ease;
}

.vm-page.vpr-collect-page .vpr-collect-info-grid--contract .vpr-collect-field__label {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 400;
  color: var(--ln-muted, #9ca3af);
  line-height: 1.2;
}

.vm-page.vpr-collect-page .vpr-collect-info-grid--contract .vpr-collect-field__value {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ln-ink, #1f2937);
  min-height: auto;
}

.vm-page.vpr-collect-page .vpr-collect-info-grid--contract .vpr-collect-field__value--mono {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.vm-page.vpr-collect-page .vpr-collect-section-lead {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ln-muted, #71717a);
}

.vm-page.vpr-collect-page .vpr-collect-rule-text {
  margin: 12px 0 16px;
  padding: 10px 12px;
  border-radius: var(--ln-radius-control, 8px);
  background: color-mix(in srgb, var(--ln-primary, #32a06e) 6%, #fff);
  border: 1px solid color-mix(in srgb, var(--ln-primary, #32a06e) 14%, transparent);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ln-body, #334155);
}

.vm-page.vpr-collect-page .vpr-collect-card--order .ant-card-head {
  border-bottom: 1px solid var(--ln-hairline);
}

.vm-page.vpr-collect-page .vpr-collect-card__extra {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ln-muted);
}

.vm-page.vpr-collect-page .vpr-collect-order-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vm-page.vpr-collect-page .vpr-collect-delivery-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--ln-hairline);
  border-radius: var(--ln-radius-control, 8px);
  background: var(--ln-canvas-soft, #f8fafc);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vm-page.vpr-collect-page .vpr-collect-delivery-row:focus-within {
  border-color: color-mix(in srgb, var(--ln-primary, #32a06e) 35%, var(--ln-hairline));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ln-primary, #32a06e) 12%, transparent);
}

@media (max-width: 768px) {
  .vm-page.vpr-collect-page .vpr-collect-delivery-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.vm-page.vpr-collect-page .vpr-collect-order-callout {
  margin: 0;
}

.vm-page.vpr-collect-page .vpr-collect-table-toolbar__badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ln-primary-focus, #27885a);
  background: color-mix(in srgb, var(--ln-primary, #32a06e) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--ln-primary, #32a06e) 18%, transparent);
}

.vm-page.vpr-collect-page .vpr-collect-table-toolbar {
  margin-bottom: 0;
}

.vm-page.vpr-collect-page .vpr-collect-card--order .vpr-collect-table-wrap {
  margin-bottom: 0;
}

.vm-page.vpr-collect-page .vpr-collect-form-item__label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ln-body, #334155);
}

.vm-page.vpr-collect-page .vpr-collect-date-picker,
.vm-page.vpr-collect-page .vpr-collect-qty-input {
  width: 100%;
}

.vm-page.vpr-collect-page .vpr-collect-kpi-card--primary {
  border-color: color-mix(in srgb, var(--ln-primary, #32a06e) 28%, var(--ln-hairline));
  background: color-mix(in srgb, var(--ln-primary, #32a06e) 4%, #fff);
}

.vm-page.vpr-collect-page .vpr-collect-kpi-card--primary .vpr-collect-kpi-card__value {
  color: var(--ln-primary, #32a06e);
}

@media (max-width: 768px) {
  .vm-page.vpr-collect-page .vpr-collect-kpi-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.vm-page.vpr-collect-page .vpr-collect-card-toggle.ant-btn {
  padding: 0;
  height: auto;
  font-size: 0.8125rem;
}

.vm-page.vpr-collect-page .vpr-collect-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 24px;
}

@media (max-width: 960px) {
  .vm-page.vpr-collect-page .vpr-collect-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .vm-page.vpr-collect-page .vpr-collect-info-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.vm-page.vpr-collect-page .vpr-collect-field {
  min-width: 0;
}

.vm-page.vpr-collect-page .vpr-collect-field--span-2 {
  grid-column: span 2;
}

@media (max-width: 640px) {
  .vm-page.vpr-collect-page .vpr-collect-field--span-2 {
    grid-column: span 1;
  }
}

.vm-page.vpr-collect-page .vpr-collect-field__label {
  margin-bottom: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ln-muted);
}

.vm-page.vpr-collect-page .vpr-collect-field__value {
  color: var(--ln-ink);
  font-size: 0.875rem;
  line-height: 1.5;
  min-height: 22px;
  word-break: break-word;
}

.vm-page.vpr-collect-page .vpr-collect-field__value--mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
}

.vm-page.vpr-collect-page .vpr-collect-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 0;
}

.vm-page.vpr-collect-page .vpr-collect-kpi-card {
  background: var(--ln-surface-card);
  border: 1px solid var(--ln-hairline);
  border-radius: var(--ln-radius-card);
  padding: 14px 16px;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--ln-shadow-soft);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.vm-page.vpr-collect-page .vpr-collect-kpi-card--active {
  border-color: color-mix(in srgb, var(--ln-primary, #32a06e) 28%, var(--ln-hairline));
  box-shadow: 0 2px 8px color-mix(in srgb, var(--ln-primary, #32a06e) 10%, transparent);
}

.vm-page.vpr-collect-page .vpr-collect-kpi-card__value {
  transition: color 0.2s ease;
}

.vm-page.vpr-collect-page .vpr-collect-kpi-card--clickable {
  cursor: pointer;
}

.vm-page.vpr-collect-page .vpr-collect-kpi-card--clickable:hover {
  border-color: var(--ln-primary);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ln-primary) 24%, transparent);
}

.vm-page.vpr-collect-page .vpr-collect-kpi-card__label {
  font-size: 0.8125rem;
  color: var(--ln-muted);
  margin-bottom: 8px;
}

.vm-page.vpr-collect-page .vpr-collect-kpi-card__value {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ln-primary-focus);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.vm-page.vpr-collect-page .vpr-collect-kpi-card__hint {
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--ln-muted-soft);
}

.vm-page.vpr-collect-page .vpr-collect-batch-panel {
  margin-bottom: 0;
  padding: 12px 16px;
  background: color-mix(in srgb, var(--ln-primary) 6%, #fff);
  border: 1px solid color-mix(in srgb, var(--ln-primary) 18%, var(--ln-hairline));
  border-radius: var(--ln-radius-control);
  font-size: 0.8125rem;
  color: var(--ln-body);
  line-height: 1.6;
}

.vm-page.vpr-collect-page .vpr-collect-batch-panel__title {
  font-weight: 600;
  color: var(--ln-ink);
  margin-bottom: 6px;
}

.vm-page.vpr-collect-page .vpr-collect-batch-panel__amount {
  color: var(--ln-primary-focus);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.vm-page.vpr-collect-page .vpr-collect-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  padding: 10px 12px;
  border: 1px solid var(--ln-hairline);
  border-radius: var(--ln-radius-control);
  background: var(--ln-surface-card);
}

.vm-page.vpr-collect-page .vpr-collect-table-toolbar--warn {
  border-color: #fcd34d;
  background: #fffbeb;
}

.vm-page.vpr-collect-page .vpr-collect-table-toolbar__left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
}

.vm-page.vpr-collect-page .vpr-collect-table-toolbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.vm-page.vpr-collect-page .vpr-collect-table-toolbar__actions .ant-btn {
  min-height: 32px;
}

.vm-page.vpr-collect-page .vpr-collect-table-toolbar__count {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ln-ink);
  font-variant-numeric: tabular-nums;
}

.vm-page.vpr-collect-page .vpr-collect-table-toolbar__hint {
  font-size: 0.75rem;
  color: var(--ln-muted);
}

.vm-page.vpr-collect-page .vpr-collect-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 24px;
  align-items: end;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .vm-page.vpr-collect-page .vpr-collect-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.vm-page.vpr-collect-page .vpr-collect-form-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vm-page.vpr-collect-page .vpr-collect-form-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 960px) {
  .vm-page.vpr-collect-page .vpr-collect-form-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.vm-page.vpr-collect-page .vpr-collect-form-item {
  margin-bottom: 0;
}

.vm-page.vpr-collect-page .vpr-collect-form-item--full {
  grid-column: 1 / -1;
}

.vm-page.vpr-collect-page .vpr-collect-table-wrap {
  overflow: auto;
  max-height: min(520px, calc(100vh - 420px));
  margin-bottom: 16px;
  border: 1px solid var(--ln-hairline);
  border-radius: var(--ln-radius-control);
  background: var(--ln-surface-card);
}

.vm-page.vpr-collect-page .vpr-collect-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.8125rem;
  table-layout: auto;
}

.vm-page.vpr-collect-page .vpr-collect-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 10px 12px;
  border-bottom: 1px solid var(--ln-hairline);
  background: var(--ln-surface-pearl);
  color: var(--ln-muted);
  font-weight: 600;
  white-space: nowrap;
  text-align: left;
  box-shadow: 0 1px 0 var(--ln-hairline);
}

.vm-page.vpr-collect-page .vpr-collect-table thead th.vpr-collect-th--num {
  text-align: right;
}

.vm-page.vpr-collect-page .vpr-collect-table tbody td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--ln-hairline);
  vertical-align: middle;
  color: var(--ln-body);
}

.vm-page.vpr-collect-page .vpr-collect-row--selected {
  background: color-mix(in srgb, var(--ln-primary) 5%, #fff);
  box-shadow: inset 3px 0 0 var(--ln-primary, #32a06e);
}

.vm-page.vpr-collect-page .vpr-collect-row--idle {
  background: var(--ln-surface-card);
}

.vm-page.vpr-collect-page .vpr-collect-row--done {
  background: var(--ln-surface-pearl);
  color: var(--ln-muted);
}

.vm-page.vpr-collect-page .vpr-collect-row--done td {
  color: var(--ln-muted);
}

.vm-page.vpr-collect-page .vpr-collect-row:not(.vpr-collect-row--done) {
  cursor: pointer;
}

.vm-page.vpr-collect-page .vpr-collect-row:hover:not(.vpr-collect-row--done) {
  background: color-mix(in srgb, var(--ln-primary) 3%, #fff);
}

.vm-page.vpr-collect-page .vpr-collect-td--action {
  cursor: pointer;
  color: var(--ln-primary-focus, #27885a);
  font-weight: 600;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.vm-page.vpr-collect-page .vpr-collect-td--action:hover {
  background: color-mix(in srgb, var(--ln-primary, #32a06e) 8%, #fff);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.vm-page.vpr-collect-page .vpr-collect-row--done {
  cursor: default;
}

.vm-page.vpr-collect-page .vpr-collect-table tbody td.vpr-collect-td--num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.vm-page.vpr-collect-page .vpr-collect-td--model {
  font-weight: 500;
  color: var(--ln-ink, #18181b);
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vm-page.vpr-collect-page .vpr-collect-th--plate {
  width: 120px;
  min-width: 120px;
}

.vm-page.vpr-collect-page .vpr-collect-td--model-cell {
  vertical-align: middle;
}

.vm-page.vpr-collect-page .vpr-collect-table .vpr-pickup-subtable__plate-cell {
  vertical-align: middle;
}

.vm-page.vpr-collect-page .vpr-collect-row-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 0 6px;
  height: 20px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--ln-muted);
  background: var(--ln-surface-pearl);
  border: 1px solid var(--ln-hairline);
  vertical-align: middle;
}

.vm-page.vpr-collect-page .vpr-collect-kpi-card--clickable:focus-visible {
  outline: 2px solid var(--ln-primary);
  outline-offset: 2px;
}

.vm-page.vpr-collect-page .vpr-collect-footer__summary--warn {
  color: #b45309;
}

.vm-page.vpr-collect-page .vpr-collect-footer .vm-btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.vm-page.vpr-collect-page .vpr-collect-section-title {
  margin: 0 0 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ln-ink);
}

.vm-page.vpr-collect-page .vpr-collect-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  min-height: var(--vpr-collect-footer-height, 68px);
  padding: 12px 24px;
  background: color-mix(in srgb, var(--ln-surface-card) 94%, transparent);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--ln-hairline);
  box-shadow: 0 -4px 16px rgba(24, 24, 27, 0.06);
}

.vm-page.vpr-collect-page .vpr-collect-footer__left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-wrap: wrap;
}

.vm-page.vpr-collect-page .vpr-collect-footer__step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.vm-page.vpr-collect-page .vpr-collect-footer__step-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ln-hairline, #e2e8f0);
  border: 1px solid color-mix(in srgb, var(--ln-muted, #71717a) 30%, transparent);
}

.vm-page.vpr-collect-page .vpr-collect-footer__step-dot--active {
  background: var(--ln-primary, #32a06e);
  border-color: var(--ln-primary, #32a06e);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--ln-primary, #32a06e) 25%, transparent);
}

.vm-page.vpr-collect-page .vpr-collect-footer__step-label {
  margin-left: 4px;
  font-size: 0.75rem;
  color: var(--ln-muted);
}

.vm-page.vpr-collect-page .vpr-collect-footer__summary {
  font-size: 0.875rem;
  color: var(--ln-body);
}

.vm-page.vpr-collect-page .vpr-collect-footer__summary strong {
  margin-left: 4px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ln-primary-focus);
  font-variant-numeric: tabular-nums;
}

.vm-page.vpr-collect-page .vpr-collect-footer__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

@media (prefers-reduced-motion: reduce) {
  .vm-page.vpr-collect-page .vpr-collect-kpi-card--clickable {
    transition: none;
  }
}

/* —— 查看 / 办理页共享 —— */
.vm-page.vpr-collect-page .vpr-page-topbar,
.vm-page.vpr-page .vpr-page-topbar {
  align-items: flex-start;
}

.vm-page.vpr-collect-page .vpr-page-topbar__back,
.vm-page.vpr-page .vpr-page-topbar__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 0 8px 0 0;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
  border-radius: var(--ln-radius-control, 8px);
}

.vm-page.vpr-collect-page .vpr-page-topbar__back:hover,
.vm-page.vpr-page .vpr-page-topbar__back:hover {
  color: var(--ln-primary, #32a06e);
}

.vm-page.vpr-collect-page .vpr-page-topbar__back:focus-visible,
.vm-page.vpr-page .vpr-page-topbar__back:focus-visible {
  outline: 2px solid var(--ln-primary, #32a06e);
  outline-offset: 2px;
}

.vm-page.vpr-collect-page .vpr-page-topbar__back-icon,
.vm-page.vpr-page .vpr-page-topbar__back-icon {
  flex-shrink: 0;
}

.vm-page.vpr-collect-page .vpr-page-topbar__actions,
.vm-page.vpr-page .vpr-page-topbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.vm-page.vpr-collect-page .vpr-page-kpi-row,
.vm-page.vpr-page .vpr-page-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

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

@media (max-width: 520px) {
  .vm-page.vpr-collect-page .vpr-page-kpi-row,
  .vm-page.vpr-page .vpr-page-kpi-row {
    grid-template-columns: 1fr;
  }
}

.vm-page.vpr-collect-page .vpr-page-kpi-unit,
.vm-page.vpr-page .vpr-page-kpi-unit {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ln-muted, #71717a);
}

.vm-page.vpr-collect-page .vpr-page-kpi-value--warn,
.vm-page.vpr-page .vpr-page-kpi-value--warn {
  color: #b45309;
}

.vm-page.vpr-collect-page .vpr-page-kpi-value--muted,
.vm-page.vpr-page .vpr-page-kpi-value--muted {
  color: var(--ln-muted, #71717a);
}

.vm-page.vpr-collect-page .vpr-page-callout,
.vm-page.vpr-page .vpr-page-callout {
  margin-top: 12px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ln-body, #334155);
  background: color-mix(in srgb, var(--ln-primary, #32a06e) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--ln-primary, #32a06e) 20%, var(--ln-hairline));
  border-radius: var(--ln-radius-control, 8px);
}

.vm-page.vpr-collect-page .vpr-page-callout--rule,
.vm-page.vpr-page .vpr-page-callout--rule {
  margin: 0 0 12px;
}

.vm-page.vpr-collect-page .vpr-page-steps-flow,
.vm-page.vpr-page .vpr-page-steps-flow {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 8px 12px;
  border: 1px solid var(--ln-hairline, #e2e8f0);
  border-radius: var(--ln-radius-control, 8px);
  background: color-mix(in srgb, var(--ln-surface, #fff) 94%, var(--ln-primary, #32a06e) 6%);
  box-sizing: border-box;
}

.vm-page.vpr-collect-page .vpr-page-steps-flow__track,
.vm-page.vpr-page .vpr-page-steps-flow__track {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-height: 28px;
}

.vm-page.vpr-collect-page .vpr-page-steps-flow__node,
.vm-page.vpr-page .vpr-page-steps-flow__node {
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
}

.vm-page.vpr-collect-page .vpr-page-steps-flow__dot,
.vm-page.vpr-page .vpr-page-steps-flow__dot {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--ln-muted, #71717a);
  background: var(--ln-surface, #fff);
  border: 1.5px solid var(--ln-hairline, #e2e8f0);
}

.vm-page.vpr-collect-page .vpr-page-steps-flow__node--current .vpr-page-steps-flow__dot,
.vm-page.vpr-page .vpr-page-steps-flow__node--current .vpr-page-steps-flow__dot {
  color: #fff;
  background: var(--ln-primary, #32a06e);
  border-color: var(--ln-primary, #32a06e);
}

.vm-page.vpr-collect-page .vpr-page-steps-flow__name,
.vm-page.vpr-page .vpr-page-steps-flow__name {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ln-muted, #71717a);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vm-page.vpr-collect-page .vpr-page-steps-flow__node--current .vpr-page-steps-flow__name,
.vm-page.vpr-page .vpr-page-steps-flow__node--current .vpr-page-steps-flow__name {
  color: var(--ln-primary-focus, #27885a);
  font-weight: 600;
}

.vm-page.vpr-collect-page .vpr-page-steps-flow__connector,
.vm-page.vpr-page .vpr-page-steps-flow__connector {
  flex: 1 1 12px;
  min-width: 8px;
  max-width: 40px;
  height: 1px;
  margin: 0 2px;
  background: var(--ln-hairline, #e2e8f0);
  list-style: none;
}

.vm-page.vpr-collect-page .vpr-page-steps-flow__hint,
.vm-page.vpr-page .vpr-page-steps-flow__hint {
  margin: 4px 0 0;
  padding: 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--ln-muted, #71717a);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 900px) {
  .vm-page.vpr-collect-page .vpr-page-steps-flow__track,
  .vm-page.vpr-page .vpr-page-steps-flow__track {
    flex-wrap: wrap;
    row-gap: 6px;
    justify-content: flex-start;
  }

  .vm-page.vpr-collect-page .vpr-page-steps-flow__connector,
  .vm-page.vpr-page .vpr-page-steps-flow__connector {
    display: none;
  }

  .vm-page.vpr-collect-page .vpr-page-steps-flow__node,
  .vm-page.vpr-page .vpr-page-steps-flow__node {
    flex: 1 1 calc(33.333% - 8px);
    min-width: 0;
  }

  .vm-page.vpr-collect-page .vpr-page-steps-flow__hint,
  .vm-page.vpr-page .vpr-page-steps-flow__hint {
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vm-page.vpr-collect-page .vpr-page-steps-flow__dot,
  .vm-page.vpr-page .vpr-page-steps-flow__dot {
    transition: none;
  }
}

/* legacy hint styles kept for contract view if needed */
.vm-page.vpr-collect-page .vpr-page-steps-hint,
.vm-page.vpr-page .vpr-page-steps-hint {
  display: block;
  padding: 16px 18px;
}

.vm-page.vpr-collect-page .vpr-page-steps,
.vm-page.vpr-page .vpr-page-steps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 4px;
  margin: -4px 0 16px;
  padding: 10px 12px;
  background: var(--ln-surface, #fff);
  border: 1px solid var(--ln-hairline, #e2e8f0);
  border-radius: var(--ln-radius-md, 12px);
}

.vm-page.vpr-collect-page .vpr-page-step,
.vm-page.vpr-page .vpr-page-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ln-muted, #71717a);
}

.vm-page.vpr-collect-page .vpr-page-step__dot,
.vm-page.vpr-page .vpr-page-step__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ln-hairline, #e2e8f0);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.vm-page.vpr-collect-page .vpr-page-step--active,
.vm-page.vpr-page .vpr-page-step--active {
  color: var(--ln-fg, #18181b);
  font-weight: 600;
}

.vm-page.vpr-collect-page .vpr-page-step--active .vpr-page-step__dot,
.vm-page.vpr-page .vpr-page-step--active .vpr-page-step__dot {
  background: var(--ln-primary, #32a06e);
  transform: scale(1.15);
}

.vm-page.vpr-collect-page .vpr-page-step--done,
.vm-page.vpr-page .vpr-page-step--done {
  color: var(--ln-body, #334155);
}

.vm-page.vpr-collect-page .vpr-page-step--done .vpr-page-step__dot,
.vm-page.vpr-page .vpr-page-step--done .vpr-page-step__dot {
  background: color-mix(in srgb, var(--ln-primary, #32a06e) 55%, #fff);
}

.vm-page.vpr-collect-page .vpr-page-steps__sep,
.vm-page.vpr-page .vpr-page-steps__sep {
  width: 20px;
  height: 1px;
  background: var(--ln-hairline, #e2e8f0);
  flex-shrink: 0;
}

.vm-page.vpr-collect-page .vpr-collect-form-item__required,
.vm-page.vpr-page .vpr-collect-form-item__required {
  margin-left: 2px;
  color: #dc2626;
}

.vm-page.vpr-collect-page .vpr-collect-form-item__error,
.vm-page.vpr-page .vpr-collect-form-item__error {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #dc2626;
}

.vm-page.vpr-collect-page .vpr-collect-form-item--invalid .vpr-collect-form-item__label,
.vm-page.vpr-page .vpr-collect-form-item--invalid .vpr-collect-form-item__label {
  color: #b91c1c;
}

.vm-page.vpr-page .vpr-page-table-wrap {
  overflow: auto;
  border-radius: var(--ln-radius-control, 8px);
  border: 1px solid var(--ln-hairline, #e2e8f0);
}

.vm-page.vpr-page .vpr-page-table-wrap thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--ln-canvas-soft, #f8fafc);
}

.vm-page.vpr-page .vpr-page-table-row {
  transition: background-color 0.15s ease;
}

.vm-page.vpr-page .vpr-page-table-row:hover {
  background: color-mix(in srgb, var(--ln-primary, #32a06e) 4%, #fff);
}

.vm-page.vpr-page .vpr-th--num,
.vm-page.vpr-page .vpr-td--num {
  text-align: right !important;
  font-variant-numeric: tabular-nums;
}

.vm-page.vpr-page .vpr-page-table-muted {
  color: var(--ln-muted, #71717a);
  font-size: 13px;
}

.vm-page.vpr-page .vpr-page-empty {
  padding: 24px 16px;
  text-align: center;
}

.vm-page.vpr-page .vpr-page-empty__title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ln-fg, #18181b);
}

.vm-page.vpr-page .vpr-page-empty__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ln-muted, #71717a);
}

.vm-page.vpr-page .vpr-page-empty--success {
  background: color-mix(in srgb, var(--ln-primary, #32a06e) 6%, var(--ln-canvas-soft, #f8fafc));
}

.vm-page.vpr-page .vpr-contract-view-footer-cta {
  display: flex;
  justify-content: center;
  margin-top: 8px;
  padding: 8px 0 16px;
}

.vm-page.vpr-collect-page .vpr-submit-confirm__list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--ln-body, #334155);
  line-height: 1.7;
}

@media (prefers-reduced-motion: reduce) {
  .vm-page.vpr-collect-page .vpr-page-topbar__back,
  .vm-page.vpr-page .vpr-page-topbar__back,
  .vm-page.vpr-page .vpr-page-table-row,
  .vm-page.vpr-collect-page .vpr-page-step__dot,
  .vm-page.vpr-page .vpr-page-step__dot {
    transition: none;
  }
}
