/**
 * 新增租赁合同 — 左右分栏布局
 */

.vm-page.lc-create-page .lc-form-completion-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  padding: 3px 10px;
  border-radius: var(--ln-radius-pill);
  white-space: nowrap;
}

.vm-page.lc-create-page .lc-form-completion-badge--pending {
  color: var(--ln-muted);
  background: var(--ln-surface-strong);
}

.vm-page.lc-create-page .lc-form-completion-badge--done {
  color: var(--ln-primary);
  background: var(--ln-primary-soft);
}

.vm-page.lc-create-page .lc-create-section--disabled {
  position: relative;
}

.vm-page.lc-create-page .lc-create-editor-column > .ct-editor-column-card.lc-create-section--disabled {
  opacity: 1;
  pointer-events: auto;
}

.vm-page.lc-create-page .lc-create-section--disabled .ct-editor-panel,
.vm-page.lc-create-page .lc-create-section--disabled .lc-main-contract-panel {
  pointer-events: none;
  user-select: none;
}

.vm-page.lc-create-page .lc-create-section {
  scroll-margin-top: 72px;
}

.vm-page.lc-create-page .lc-create-section__lock {
  position: absolute;
  inset: 48px 0 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 20px;
  text-align: center;
  background: color-mix(in srgb, var(--ln-surface-card) 82%, transparent);
  backdrop-filter: blur(2px);
  border-radius: 0 0 var(--ln-radius-card) var(--ln-radius-card);
}

.vm-page.lc-create-page .lc-create-section__lock-text {
  margin: 0;
  max-width: 18rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ln-muted);
}

.vm-page.lc-create-page .lc-create-section__lock-btn {
  min-height: 44px;
  cursor: pointer;
}

.vm-page.lc-create-page .lc-create-step-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  flex-shrink: 0;
  margin: 0 0 4px;
  padding: 10px 12px;
  border: 1px solid var(--ln-hairline);
  border-radius: var(--ln-radius-card);
  background: color-mix(in srgb, var(--ln-surface-card) 94%, transparent);
  backdrop-filter: blur(8px);
  box-shadow: var(--ln-shadow-soft);
}

.vm-page.lc-create-page .lc-create-step-nav__list {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.vm-page.lc-create-page .lc-create-step-nav__item {
  display: flex;
  align-items: center;
  flex: 1 1 0;
  min-width: 5.5rem;
}

.vm-page.lc-create-page .lc-create-step-nav__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  min-height: 44px;
  padding: 6px 8px;
  border: 0;
  border-radius: var(--ln-radius-control);
  background: transparent;
  color: var(--ln-muted);
  font-size: 0.75rem;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.vm-page.lc-create-page .lc-create-step-nav__btn:hover {
  background: var(--ln-canvas-soft);
  color: var(--ln-ink);
}

.vm-page.lc-create-page .lc-create-step-nav__btn:focus-visible {
  outline: 2px solid var(--ln-primary);
  outline-offset: 2px;
}

.vm-page.lc-create-page .lc-create-step-nav__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 9999px;
  background: var(--ln-surface-strong);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--ln-muted);
}

.vm-page.lc-create-page .lc-create-step-nav__item--done .lc-create-step-nav__index {
  background: var(--ln-primary-soft);
  color: var(--ln-primary);
}

.vm-page.lc-create-page .lc-create-step-nav__item--done .lc-create-step-nav__btn {
  color: var(--ln-ink);
}

.vm-page.lc-create-page .lc-create-step-nav__item--pending .lc-create-step-nav__index {
  background: var(--ln-canvas-soft);
  color: var(--ln-ink);
}

.vm-page.lc-create-page .lc-create-step-nav__item--locked .lc-create-step-nav__btn {
  opacity: 0.72;
}

.vm-page.lc-create-page .lc-create-step-nav__label {
  font-weight: 600;
  white-space: nowrap;
}

.vm-page.lc-create-page .lc-create-step-nav__tag {
  font-size: 0.625rem;
  font-weight: 500;
  padding: 1px 6px;
  border-radius: var(--ln-radius-pill);
  background: var(--ln-canvas-soft);
  color: var(--ln-muted);
}

.vm-page.lc-create-page .lc-create-step-nav__sep {
  flex: 0 0 12px;
  width: 12px;
  height: 1px;
  margin-top: 18px;
  background: var(--ln-hairline-strong);
}

.vm-page.lc-create-page .lc-create-topbar__intro {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

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

.vm-page.lc-create-page .lc-create-topbar__meta {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ln-muted);
}

.vm-page.lc-create-page .lc-create-topbar__meta strong {
  color: var(--ln-primary);
  font-weight: 700;
}

.vm-page.lc-create-page .lc-create-topbar__meta-divider {
  margin: 0 6px;
}

.vm-page.lc-create-page .lc-create-topbar__meta-template {
  color: var(--ln-ink);
}

.vm-page.lc-create-page .lc-create-topbar__meta-hint {
  color: #c2410c;
}

.vm-page.lc-create-page .lc-template-step-panel {
  padding: 12px 16px 16px;
}

.vm-page.lc-create-page .lc-template-step-card__head {
  align-items: center;
}

.vm-page.lc-create-page .lc-template-step-card__title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  flex: 1;
  min-width: 0;
}

.vm-page.lc-create-page .lc-template-step-card__title-row .ct-panel-head__title {
  flex-shrink: 0;
}

.vm-page.lc-create-page .lc-template-step-card .lc-form-card__hint {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  max-width: 100%;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ln-muted);
}

.vm-page.lc-create-page .lc-template-step-card .lc-form-card__hint-icon {
  flex-shrink: 0;
  color: color-mix(in srgb, var(--ln-primary) 72%, var(--ln-muted));
}

.vm-page.lc-create-page .lc-template-step-card .lc-form-card__hint-text {
  min-width: 0;
}

.vm-page.lc-create-page .lc-template-select {
  width: 100%;
}

.vm-page.lc-create-page .lc-template-select .ant-select-selector {
  min-height: 44px;
  align-items: center;
  border-radius: var(--ln-radius-control);
  cursor: pointer;
}

.vm-page.lc-create-page .lc-template-step-subtitle {
  margin: 16px 0 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ln-ink);
}

.vm-page.lc-create-page .lc-template-step-empty {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: var(--ln-radius-control);
  background: rgba(234, 88, 12, 0.08);
  color: #c2410c;
  font-size: 0.875rem;
  line-height: 1.5;
}

.vm-page.lc-create-page .lc-template-option-list--nested {
  margin-top: 0;
}

.vm-page.lc-create-page .lc-template-option-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vm-page.lc-create-page .lc-template-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ln-line);
  border-radius: 10px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.vm-page.lc-create-page .lc-template-option:hover {
  border-color: #94b8ff;
}

.vm-page.lc-create-page .lc-template-option--active {
  border-color: var(--ln-primary);
  box-shadow: 0 0 0 1px var(--ln-primary);
  background: var(--ln-primary-soft);
}

.vm-page.lc-create-page .lc-template-option__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ln-text);
}

.vm-page.lc-create-page .lc-template-option__meta {
  font-size: 12px;
  color: var(--ln-muted);
}

.vm-page.lc-create-page .lc-create-editor-column > .ct-editor-column-card .lc-create-editor-panel {
  padding: 12px 16px 16px;
}

.vm-page.lc-create-page .lc-template-preview-empty {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 24px;
  color: var(--ln-muted);
  font-size: 14px;
  text-align: center;
}

/* —— 主体合同信息编辑区 —— */
.vm-page.lc-create-page .lc-main-contract-card__head {
  align-items: center;
}

.vm-page.lc-create-page .lc-main-contract-panel {
  padding: 0 4px 4px;
}

.vm-page.lc-create-page .lc-main-contract-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vm-page.lc-create-page .lc-main-contract-form .lc-form-card {
  margin-bottom: 0;
  padding: 0;
  border: 1px solid var(--ln-hairline);
  border-radius: var(--ln-radius-card);
  background: var(--ln-surface-card);
  box-shadow: var(--ln-shadow-soft);
  overflow: hidden;
}

.vm-page.lc-create-page .lc-main-contract-form .lc-form-card__header {
  align-items: center;
  margin-bottom: 0;
  padding: 14px 16px;
  border-bottom: 1px solid var(--ln-hairline);
  background: linear-gradient(180deg, #fafafa 0%, var(--ln-surface-card) 100%);
}

.vm-page.lc-create-page .lc-main-contract-form .lc-form-card.is-collapsed .lc-form-card__header {
  border-bottom-color: transparent;
}

.vm-page.lc-create-page .lc-main-contract-form .lc-form-card__title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  flex: 1;
  min-width: 0;
}

.vm-page.lc-create-page .lc-main-contract-form .lc-form-card__title-row .vm-section-title {
  margin: 0;
  flex-shrink: 0;
}

.vm-page.lc-create-page .lc-main-contract-form .lc-form-card__hint {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  max-width: 100%;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ln-muted);
}

.vm-page.lc-create-page .lc-main-contract-form .lc-form-card__hint-icon {
  flex-shrink: 0;
  color: color-mix(in srgb, var(--ln-primary) 72%, var(--ln-muted));
}

.vm-page.lc-create-page .lc-main-contract-form .lc-form-card__hint-text {
  min-width: 0;
}

.vm-page.lc-create-page .lc-main-contract-form .lc-form-card__body {
  padding: 16px;
}

.vm-page.lc-create-page .lc-signing-core {
  padding: 14px;
  border-radius: var(--ln-radius-control);
  background: var(--ln-canvas-soft);
  border: 1px solid var(--ln-hairline);
}

.vm-page.lc-create-page .lc-signing-core .lc-form-field__label-row {
  flex-wrap: nowrap;
  align-items: center;
}

.vm-page.lc-create-page .lc-signing-core .lc-form-field__label {
  flex-shrink: 0;
}

.vm-page.lc-create-page .lc-signing-core .lc-form-field__inline-hint {
  flex: 0 1 auto;
  min-width: 0;
  white-space: nowrap;
}

.vm-page.lc-create-page .lc-party-profiles {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.vm-page.lc-create-page .lc-party-profiles-empty {
  margin-top: 16px;
  padding: 20px 16px;
  text-align: center;
  border-radius: var(--ln-radius-control);
  border: 1px dashed var(--ln-hairline-strong);
  background: var(--ln-canvas-soft);
}

.vm-page.lc-create-page .lc-party-profiles-empty__title {
  margin: 0 0 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ln-ink);
}

.vm-page.lc-create-page .lc-party-profiles-empty__desc {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--ln-muted);
  max-width: 28rem;
  margin-inline: auto;
}

.vm-page.lc-create-page .lc-readonly-panel {
  border: 1px solid var(--ln-hairline);
  border-radius: var(--ln-radius-control);
  background: #fff;
  overflow: hidden;
}

.vm-page.lc-create-page .lc-readonly-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--ln-hairline);
  background: color-mix(in srgb, var(--ln-primary-soft) 55%, #fff);
}

.vm-page.lc-create-page .lc-readonly-panel__title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ln-ink);
  letter-spacing: -0.01em;
}

.vm-page.lc-create-page .lc-readonly-panel__badge {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: var(--ln-radius-pill);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ln-primary);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--ln-primary) 25%, transparent);
}

.vm-page.lc-create-page .lc-readonly-panel__body {
  padding: 12px;
}

.vm-page.lc-create-page .lc-credentials-block {
  padding: 12px;
  border: 1px solid var(--ln-hairline);
  border-radius: var(--ln-radius-control);
  background: #fff;
}

.vm-page.lc-create-page .lc-credentials-block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.vm-page.lc-create-page .lc-credentials-block__title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ln-ink);
}

.vm-page.lc-create-page .lc-credentials-block__hint {
  font-size: 0.75rem;
  color: var(--ln-muted);
}

.vm-page.lc-create-page .lc-mileage-types-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vm-page.lc-create-page .lc-mileage-types-wrap__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ln-ink);
}

.vm-page.lc-create-page .lc-main-contract-form .lc-attach-thumb {
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.vm-page.lc-create-page .lc-main-contract-form .lc-attach-thumb:hover {
  border-color: color-mix(in srgb, var(--ln-primary) 35%, var(--ln-hairline));
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

.vm-page.lc-create-page .lc-main-contract-form .lc-attach-thumb:focus-within {
  outline: 2px solid var(--ln-focus-ring, #32a06e);
  outline-offset: 2px;
}

.vm-page.lc-create-page .lc-main-contract-form .lc-mileage-type {
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.vm-page.lc-create-page .lc-main-contract-form .lc-mileage-type:hover {
  border-color: color-mix(in srgb, var(--ln-primary) 25%, var(--ln-hairline));
}

.vm-page.lc-create-page .lc-main-contract-form .lc-mileage-type.is-active {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ln-primary) 20%, transparent);
}

@media (prefers-reduced-motion: reduce) {
  .vm-page.lc-create-page .lc-main-contract-form .lc-attach-thumb,
  .vm-page.lc-create-page .lc-main-contract-form .lc-mileage-type {
    transition: none;
  }

  .vm-page.lc-create-page .lc-main-contract-form .lc-attach-thumb:hover {
    transform: none;
  }
}

.vm-page.lc-create-page .lc-lease-order-editor {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vm-page.lc-create-page .lc-lease-order-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.vm-page.lc-create-page .lc-lease-order-kpi-card {
  cursor: default;
  pointer-events: none;
  position: relative;
  overflow: hidden;
  padding: 14px 16px 14px 52px;
  border-color: color-mix(in srgb, var(--ln-primary) 18%, var(--ln-hairline));
  background: linear-gradient(135deg, var(--ln-surface-card) 0%, var(--ln-primary-soft) 140%);
}

.vm-page.lc-create-page .lc-lease-order-kpi-card__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  background: var(--ln-primary-soft);
  color: var(--ln-primary-focus);
  font-size: 0.75rem;
  font-weight: 700;
}

.vm-page.lc-create-page .lc-lease-order-kpi-card .vm-kpi-eyebrow {
  color: var(--ln-muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.vm-page.lc-create-page .lc-lease-order-kpi-card .vm-kpi-val {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ln-ink);
}

.vm-page.lc-create-page .lc-form-completion-badge--optional {
  background: var(--ln-canvas-soft);
  color: var(--ln-muted);
  border: 1px solid var(--ln-hairline);
}

.vm-page.lc-create-page .lc-lease-order-brand-model-picker__trigger,
.vm-page.lc-create-page .lc-lease-order-plate-picker__trigger,
.vm-page.lc-create-page .lc-business-dept-picker__trigger {
  min-height: 36px;
  height: auto;
  align-items: flex-start;
  padding-top: 6px;
  padding-bottom: 6px;
}

.vm-page.lc-create-page .lc-business-dept-picker {
  width: 100%;
}

.vm-page.lc-create-page .lc-business-dept-picker__trigger {
  width: 100%;
}

.vm-page.lc-create-page .lc-business-dept-picker__summary {
  text-align: left;
}

.vm-page.lc-create-page .lc-lease-order-brand-model-picker__summary-list,
.vm-page.lc-create-page .lc-lease-order-plate-picker__summary-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.vm-page.lc-create-page .lc-lease-order-brand-model-picker__summary-line,
.vm-page.lc-create-page .lc-lease-order-plate-picker__summary-line {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--ln-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 220px;
}

.lc-lease-order-brand-model-picker__selected-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.lc-lease-order-brand-model-picker__selected-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.lc-lease-order-plate-popover__panel {
  width: min(420px, calc(100vw - 32px));
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lc-lease-order-plate-popover__bulk {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lc-lease-order-plate-popover__bulk-label {
  font-size: 0.8125rem;
  color: var(--ln-muted);
  font-weight: 500;
}

.lc-lease-order-plate-popover__bulk-input {
  width: 100%;
  min-height: 72px;
  padding: 8px 10px;
  border: 1px solid var(--ln-hairline-strong);
  border-radius: var(--ln-radius-control);
  font-size: 0.875rem;
  resize: vertical;
}

.lc-lease-order-plate-popover__bulk-btn {
  align-self: flex-end;
}

.lc-lease-order-plate-popover__actual {
  align-self: flex-start;
}

.vm-page.lc-create-page .lc-poa-editor .lc-form-hint {
  margin: 0 0 12px;
}

.vm-page.lc-create-page .lc-lease-order-kpi-card:hover {
  border-color: var(--ln-hairline);
  box-shadow: none;
}

@media (max-width: 768px) {
  .vm-page.lc-create-page .lc-lease-order-kpi-row {
    grid-template-columns: 1fr;
  }
}

.vm-page.lc-create-page .lc-lease-order-editor__summary,
.vm-page.lc-create-page .lc-lease-order-editor__delivery {
  gap: 12px;
}

.vm-page.lc-create-page .lc-lease-order-editor__summary .lc-form-inline-sentence {
  flex-wrap: wrap;
}

.vm-page.lc-create-page .lc-lease-order-editor__summary .lc-form-inline-sentence__input.ant-input-number {
  width: 88px !important;
  min-width: 88px;
}

.vm-page.lc-create-page .lc-lease-order-editor__summary .lc-form-inline-sentence__readonly {
  width: 88px;
  min-width: 88px;
  flex-shrink: 0;
}

.vm-page.lc-create-page .lc-lease-order-editor__summary .lc-form-inline-sentence__readonly .lc-form-readonly--synced {
  justify-content: center;
  text-align: center;
}

.vm-page.lc-create-page .lc-lease-order-editor__price-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vm-page.lc-create-page .lc-lease-order-editor__table .lc-form-select {
  width: 100%;
  min-width: 160px;
}

.vm-page.lc-create-page .lc-lease-order-brand-model-picker {
  width: 100%;
}

.vm-page.lc-create-page .lc-lease-order-brand-model-picker__trigger {
  width: 100%;
}

.vm-page.lc-create-page .lc-lease-order-service-field {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-wrap: nowrap;
}

.vm-page.lc-create-page .lc-lease-order-service-field__summary {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ln-ink);
  white-space: nowrap;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vm-page.lc-create-page .lc-lease-order-service-picker__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--ln-primary) 32%, var(--ln-hairline));
  border-radius: var(--ln-radius-control);
  background: var(--ln-surface-card, #fff);
  color: var(--ln-primary-focus, #15803d);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.vm-page.lc-create-page .lc-lease-order-service-picker__btn:hover {
  background: var(--ln-primary-soft, #ecfdf3);
  border-color: color-mix(in srgb, var(--ln-primary) 45%, var(--ln-hairline));
}

.vm-page.lc-create-page .lc-lease-order-service-picker__btn:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--ln-primary) 45%, transparent);
  outline-offset: 2px;
}

.vm-page.lc-create-page .lc-lease-order-period-field {
  width: 100%;
}

.vm-page.lc-create-page .lc-lease-order-service-picker {
  width: 100%;
  min-width: 148px;
}

.vm-page.lc-create-page .lc-lease-order-service-picker__trigger {
  width: 100%;
  cursor: pointer;
}

.vm-page.lc-create-page .lc-lease-order-service-picker__summary {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
}

.vm-page.lc-create-page .lc-lease-order-service-picker__summary.is-placeholder {
  color: var(--ln-muted-soft);
}

.lc-lease-order-service-popover .ant-popover-inner {
  padding: 0;
}

.lc-lease-order-service-popover .lc-lease-order-service-popover__panel {
  width: min(560px, calc(100vw - 32px));
  max-height: min(420px, calc(100vh - 120px));
  padding: 12px;
  overflow: hidden;
}

.lc-lease-order-service-popover .vm-operate-city-edit-selected {
  align-items: flex-start;
}

.lc-lease-order-service-popover .lc-lease-order-service-popover__selected-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.lc-lease-order-service-popover .lc-lease-order-service-popover__selected-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 9999px;
  background: var(--ln-surface-card);
  border: 1px solid color-mix(in srgb, var(--ln-primary) 22%, transparent);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ln-ink);
}

.lc-lease-order-service-popover .lc-lease-order-service-popover__selected-tag button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: none;
  border-radius: 9999px;
  background: transparent;
  color: var(--ln-muted);
  cursor: pointer;
}

.lc-lease-order-service-popover .lc-lease-order-service-popover__selected-tag button:hover {
  background: var(--ln-hairline);
  color: var(--ln-ink);
}

.lc-lease-order-service-popover .vm-operate-city-picker-panel {
  padding: 0;
  gap: 14px;
}

.lc-lease-order-service-popover .vm-operate-city-edit-main {
  min-height: 220px;
}

@media (max-width: 560px) {
  .lc-lease-order-service-popover .vm-operate-city-edit-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .lc-lease-order-service-popover .vm-operate-city-edit-step--province {
    padding-right: 0;
    border-right: none;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ln-hairline);
  }

  .lc-lease-order-service-popover .vm-operate-city-edit-step--province .vm-operate-city-edit-chips {
    flex-direction: row;
    flex-wrap: wrap;
    max-height: 120px;
  }
}

.vm-page.lc-create-page .lc-customer-picker__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 36px;
  padding: 4px 11px;
  border: 1px solid var(--vm-border, #d4d4d8);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.vm-page.lc-create-page .lc-customer-picker__trigger:focus-visible {
  outline: 2px solid rgba(94, 105, 209, 0.45);
  outline-offset: 1px;
}

.vm-page.lc-create-page .lc-customer-picker__placeholder {
  color: #a1a1aa;
}

.vm-page.lc-create-page .lc-customer-picker__value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #18181b;
}

.vm-page.lc-create-page .lc-customer-picker__actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  color: #71717a;
}

.vm-page.lc-create-page .lc-customer-picker__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #71717a;
  cursor: pointer;
}

.vm-page.lc-create-page .lc-customer-picker__clear:hover {
  background: #f4f4f5;
  color: #18181b;
}

/* Modal 挂载在 body portal，样式挂在 rootClassName 上，不可依赖 .vm-page 祖先 */
.lc-customer-picker-modal .ant-modal-container {
  padding-bottom: 0;
}

.lc-customer-picker-modal .ant-modal-content {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 80px);
  overflow: hidden;
}

.lc-customer-picker-modal .ant-modal-header {
  flex-shrink: 0;
  margin-bottom: 0;
  padding: 16px 20px;
  border-bottom: 1px solid var(--ln-hairline, #e4e4e7);
}

.lc-customer-picker-modal .ant-modal-body {
  flex: 1;
  min-height: 0;
  padding: 16px 20px 8px;
  overflow: auto;
}

.lc-customer-picker-modal .ant-modal-footer {
  flex-shrink: 0;
  margin-top: 0;
  padding: 12px 20px 16px;
  border-top: 1px solid var(--ln-hairline, #e4e4e7);
}

.lc-customer-picker-modal .ant-modal-footer .ant-btn + .ant-btn {
  margin-inline-start: 8px;
}

.lc-customer-picker-modal .lc-customer-picker-modal__filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 12px;
  margin-bottom: 12px;
}

.lc-customer-picker-modal .lc-customer-picker-modal__search,
.lc-customer-picker-modal .lc-customer-picker-modal__risk-filter {
  width: 100%;
}

.lc-customer-picker-modal .lc-customer-picker-modal__risk-filter.ant-select {
  min-height: 36px;
}

.lc-customer-picker-modal .lc-customer-picker-modal__table-wrap {
  max-height: 360px;
  overflow: auto;
  border: 1px solid var(--ln-hairline, #e4e4e7);
  border-radius: var(--ln-radius-control, 8px);
  background: #fff;
}

.lc-customer-picker-modal .lc-customer-picker-modal__table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.lc-customer-picker-modal .lc-customer-picker-modal__table th,
.lc-customer-picker-modal .lc-customer-picker-modal__table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--ln-hairline, #f4f4f5);
  text-align: left;
  vertical-align: middle;
  word-break: break-word;
}

.lc-customer-picker-modal .lc-customer-picker-modal__table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--ln-canvas-soft, #fafafa);
  font-weight: 600;
  color: var(--ln-muted, #52525b);
}

.lc-customer-picker-modal .lc-customer-picker-modal__table tbody tr:last-child td {
  border-bottom: 0;
}

.lc-customer-picker-modal .lc-customer-picker-modal__row.is-selectable {
  cursor: pointer;
}

.lc-customer-picker-modal .lc-customer-picker-modal__row.is-selectable:hover {
  background: #f8fafc;
}

.lc-customer-picker-modal .lc-customer-picker-modal__row.is-selected {
  background: #eef2ff;
}

.lc-customer-picker-modal .lc-customer-picker-modal__row.is-disabled {
  cursor: not-allowed;
  opacity: 0.72;
  background: #fafafa;
}

.lc-customer-picker-modal .lc-customer-picker-modal__table th:nth-child(1),
.lc-customer-picker-modal .lc-customer-picker-modal__table td:nth-child(1) {
  width: 42%;
}

.lc-customer-picker-modal .lc-customer-picker-modal__col-time {
  width: 28%;
  white-space: nowrap;
}

.lc-customer-picker-modal .lc-customer-picker-modal__col-risk {
  width: 30%;
}

.lc-customer-picker-modal .lc-customer-picker-modal__risk-cell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.lc-customer-picker-modal .lc-customer-picker-modal__risk {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.lc-customer-picker-modal .lc-customer-picker-modal__risk--ok {
  color: #166534;
  background: #ecfdf5;
}

.lc-customer-picker-modal .lc-customer-picker-modal__risk--blocked {
  color: #991b1b;
  background: #fef2f2;
}

.lc-customer-picker-modal .lc-customer-picker-modal__blocked-hint {
  font-size: 12px;
  color: #a1a1aa;
  white-space: nowrap;
}

.lc-customer-picker-modal .lc-customer-picker-modal__empty {
  text-align: center;
  color: #a1a1aa;
}

.lc-customer-picker-modal .lc-customer-picker-modal__hint {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #71717a;
}

@media (max-width: 640px) {
  .lc-customer-picker-modal .lc-customer-picker-modal__filters {
    grid-template-columns: 1fr;
  }
}

.vm-page.lc-create-page .lc-lease-order-editor__table .lc-form-select--multiple .ant-select-selector {
  min-height: 36px !important;
  padding-top: 2px;
  padding-bottom: 2px;
}

.vm-page.lc-create-page .lc-lease-order-editor__table .lc-form-select .ant-select-selector {
  min-height: 36px !important;
}

/* Ant Design 5 Select / Cascader（无 .ant-select-selector 结构） */
.vm-page.lc-create-page .lc-form-cascader.ant-select,
.vm-page.lc-create-page .lc-form-select.ant-select {
  box-sizing: border-box;
  height: 36px;
  min-height: 36px;
}

.vm-page.lc-create-page .lc-form-cascader.ant-select .ant-select-content,
.vm-page.lc-create-page .lc-form-select.ant-select .ant-select-content {
  display: flex;
  align-items: center;
  min-height: 34px;
}

.vm-page.lc-create-page .lc-lease-order-editor__delivery .lc-form-cascader.ant-select,
.vm-page.lc-create-page .lc-lease-order-editor__delivery .lc-form-datepicker.ant-picker {
  height: 36px;
  min-height: 36px;
}

.vm-page.lc-create-page .lc-lease-order-editor__table .lc-form-select.ant-select,
.vm-page.lc-create-page .lc-lease-order-editor__table .lc-lease-order-table__amount-field .lc-form-readonly--synced,
.vm-page.lc-create-page .lc-lease-order-editor__table .lc-lease-order-table__amount-field .lc-form-number.ant-input-number {
  height: 36px;
  min-height: 36px;
  max-height: 36px;
}

.vm-page.lc-create-page .lc-lease-order-editor__table .lc-lease-order-table__amount-field .lc-form-number.ant-input-number .ant-input-number-input-wrap {
  height: 34px;
}

.vm-page.lc-create-page .lc-lease-order-editor__table .lc-lease-order-table__amount-field .lc-form-number.ant-input-number .ant-input-number-input {
  height: 34px;
  min-height: 34px;
  line-height: 34px;
}

.vm-page.lc-create-page .lc-lease-order-table__amount {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  align-items: center;
}

.vm-page.lc-create-page .lc-lease-order-table__amount-field {
  flex: 1 1 auto;
  min-width: 0;
}

.vm-page.lc-create-page .lc-lease-order-table__amount-field .lc-form-readonly--synced,
.vm-page.lc-create-page .lc-lease-order-table__amount-field .lc-form-number {
  width: 100%;
}

.vm-page.lc-create-page .lc-lease-order-table__amount .lc-form-inline-sentence__text {
  flex-shrink: 0;
}

.vm-page.lc-create-page .lc-form-datepicker.ant-picker {
  box-sizing: border-box;
  height: 36px;
  min-height: 36px;
  padding: 0 11px;
  border-radius: var(--ln-radius-control);
  border-color: var(--ln-hairline-strong);
}

.vm-page.lc-create-page .lc-form-datepicker .ant-picker-input {
  height: 34px;
}

.vm-page.lc-create-page .lc-form-datepicker .ant-picker-input > input {
  font-size: 0.875rem;
  height: 34px;
  line-height: 34px;
}

.vm-page.lc-create-page .lc-lease-order-editor__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--ln-hairline);
  border-radius: var(--ln-radius-control);
  background: var(--ln-surface-card);
}

.vm-page.lc-create-page .lc-lease-order-editor__table {
  width: max-content;
  min-width: 100%;
  table-layout: auto;
  border-collapse: collapse;
}

.vm-page.lc-create-page .lc-lease-order-editor__table th,
.vm-page.lc-create-page .lc-lease-order-editor__table td {
  padding: 8px 10px;
  border: 1px solid var(--ln-hairline);
  vertical-align: middle;
  font-size: 0.8125rem;
  white-space: nowrap;
}

.vm-page.lc-create-page .lc-lease-order-editor__table th {
  background: var(--ln-canvas-soft);
  color: var(--ln-ink);
  font-weight: 600;
  white-space: nowrap;
  text-align: center;
  line-height: 1.35;
}

.vm-page.lc-create-page .lc-lease-order-editor__th-group {
  border-bottom: 1px solid var(--ln-hairline);
}

.vm-page.lc-create-page .lc-lease-order-editor__th-brand {
  min-width: 0;
}

.vm-page.lc-create-page .lc-lease-order-editor__brand-cell {
  min-width: 0;
  vertical-align: middle;
}

.vm-page.lc-create-page .lc-lease-order-editor__brand-cell .lc-form-cascader {
  width: 100%;
}

.vm-page.lc-create-page .lc-brand-model-clause-hint {
  margin: 6px 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
}

.vm-page.lc-create-page .lc-lease-order-editor__clause-hint {
  margin: 0 0 12px;
}

.vm-page.lc-create-page .lc-lease-order-editor__clause-hint .lc-brand-model-clause-hint {
  margin: 0;
}

.vm-page.lc-create-page .lc-brand-model-clause-hint--empty {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  color: var(--ln-muted);
}

.vm-page.lc-create-page .lc-brand-model-clause-hint--matched {
  padding: 6px 8px;
  border-radius: var(--ln-radius-control);
  background: color-mix(in srgb, var(--ln-primary) 6%, #f8faf9);
  border: 1px solid color-mix(in srgb, var(--ln-primary) 14%, var(--ln-hairline));
}

.vm-page.lc-create-page .lc-brand-model-clause-hint__lead {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin: 0 0 4px;
  color: color-mix(in srgb, var(--ln-ink) 80%, var(--ln-muted));
  font-weight: 500;
}

.vm-page.lc-create-page .lc-brand-model-clause-hint__item {
  margin: 0;
  padding-left: 16px;
}

.vm-page.lc-create-page .lc-brand-model-clause-hint__label {
  display: block;
  font-weight: 600;
  color: var(--ln-primary);
}

.vm-page.lc-create-page .lc-brand-model-clause-hint__summary {
  display: block;
  color: var(--ln-muted);
}

.vm-page.lc-create-page .lc-brand-model-clause-hint__icon {
  flex-shrink: 0;
  margin-top: 1px;
}

.vm-page.lc-create-page .lc-lease-order-editor__th-subtotal {
  min-width: 108px;
}

.vm-page.lc-create-page .lc-lease-order-editor__th-period {
  min-width: 0;
}

.vm-page.lc-create-page .lc-lease-order-editor__period-cell {
  width: 1%;
}

.vm-page.lc-create-page .lc-lease-order-period-input {
  width: 72px;
  min-width: 72px;
}

.vm-page.lc-create-page .lc-lease-order-period-input.ant-input-number {
  width: 72px;
}

.vm-page.lc-create-page .lc-lease-order-editor__head-row--sub th {
  font-weight: 500;
  color: var(--ln-muted);
}

.vm-page.lc-create-page .lc-lease-order-editor__table tbody tr:last-child td {
  border-bottom: none;
}

.vm-page.lc-create-page .lc-lease-order-editor__actions-col {
  width: 88px;
  text-align: center;
}

.vm-page.lc-create-page .lc-lease-order-editor__actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.vm-page.lc-create-page .lc-lease-order-editor__action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  border: 0;
  border-radius: var(--ln-radius-control);
  background: transparent;
  color: var(--ln-muted);
  cursor: pointer;
}

.vm-page.lc-create-page .lc-lease-order-editor__copy-btn:hover {
  color: var(--ln-primary);
  background: var(--ln-primary-soft);
}

.vm-page.lc-create-page .lc-lease-order-editor__remove-btn:hover {
  color: #dc2626;
  background: color-mix(in srgb, #dc2626 8%, transparent);
}

.vm-page.lc-create-page .lc-lease-order-editor__action-btn:focus-visible {
  outline: var(--vm-focus-border-color, var(--ln-primary)) solid 2px;
  outline-offset: 2px;
}

.vm-page.lc-create-page .lc-lease-order-copy-popover {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 220px;
}

.vm-page.lc-create-page .lc-lease-order-copy-popover__title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ln-ink);
  line-height: 1.4;
}

.vm-page.lc-create-page .lc-lease-order-copy-popover__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.vm-page.lc-create-page .lc-lease-order-copy-popover__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ln-ink);
}

.vm-page.lc-create-page .lc-lease-order-copy-popover__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.vm-page.lc-create-page .lc-lease-order-editor__toolbar {
  display: flex;
  justify-content: flex-start;
}

.vm-page.lc-create-page .lc-lease-order-editor__add-btn.ant-btn {
  min-height: var(--vm-btn-height, 36px);
}

.vm-page.lc-create-page .lc-poa-editor {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vm-page.lc-create-page .lc-poa-editor__row {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.vm-page.lc-create-page .lc-poa-editor__row + .lc-poa-editor__row {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--ln-hairline);
}

.vm-page.lc-create-page .lc-poa-editor__row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.vm-page.lc-create-page .lc-poa-editor__row-index {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ln-ink-secondary, #475569);
}

.vm-page.lc-create-page .lc-poa-editor__fields--inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr) 56px;
  gap: 12px;
  align-items: end;
}

.vm-page.lc-create-page .lc-poa-editor__fields--inline .lc-form-field {
  min-width: 0;
}

.vm-page.lc-create-page .lc-poa-editor__row-action {
  display: flex;
  align-items: flex-end;
  min-height: 36px;
  padding-bottom: 0;
}

.vm-page.lc-create-page .lc-poa-editor__row-action--ops {
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 56px;
}

.vm-page.lc-create-page .lc-poa-editor__ops-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ln-ink);
  line-height: 1.4;
  white-space: nowrap;
}

.vm-page.lc-create-page .lc-poa-editor__toolbar {
  display: flex;
  justify-content: flex-start;
  margin-top: 4px;
}

.vm-page.lc-create-page .lc-poa-editor__remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  border: 0;
  border-radius: var(--ln-radius-control);
  background: transparent;
  color: var(--ln-muted);
  cursor: pointer;
}

.vm-page.lc-create-page .lc-poa-editor__remove-btn:hover {
  color: #dc2626;
  background: color-mix(in srgb, #dc2626 8%, transparent);
}

.vm-page.lc-create-page .lc-poa-editor__remove-btn:focus-visible {
  outline: 2px solid var(--ln-focus-ring, #32a06e);
  outline-offset: 2px;
}

.vm-page.lc-create-page .lc-poa-editor__add-btn.ant-btn {
  height: 36px;
  min-height: 36px;
  padding-inline: 12px;
  white-space: nowrap;
}

@media (max-width: 992px) {
  .vm-page.lc-create-page .lc-poa-editor__fields--inline {
    grid-template-columns: 1fr;
  }

  .vm-page.lc-create-page .lc-poa-editor__row-action,
  .vm-page.lc-create-page .lc-poa-editor__row-action--ops {
    justify-content: flex-start;
    flex-direction: row;
    align-items: center;
  }
}

.vm-page.lc-create-page .lc-contract-remark {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--ln-hairline, #e2e8f0);
}

.vm-page.lc-create-page .lc-contract-remark__textarea.ant-input {
  min-height: 96px;
  resize: vertical;
}

.vm-page.lc-create-page .lc-form-cascader.ant-cascader {
  width: 100%;
}

.vm-page.lc-create-page .lc-form-cascader .ant-select-selector {
  height: 36px !important;
  min-height: 36px !important;
  border-radius: var(--ln-radius-control) !important;
  border-color: var(--ln-hairline-strong) !important;
}

.vm-page.lc-create-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: 24px;
}

.vm-page.lc-create-page .lc-create-topbar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.vm-page.lc-create-page .lc-create-editor-page {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.vm-page.lc-create-page .lc-create-editor-page .ct-editor-workspace {
  flex: 1;
  min-height: calc(100vh - 200px);
}

/* 左侧多卡片列：与右侧预览等高，内部纵向滚动 */
.vm-page.lc-create-page .ct-editor-workspace > .ant-row > .ant-col > .lc-create-editor-column {
  flex: 1;
  width: 100%;
  min-height: 0;
}

.vm-page.lc-create-page .lc-create-editor-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.vm-page.lc-create-page .lc-create-editor-column > .ct-editor-column-card {
  flex: 0 0 auto;
  height: auto;
  min-height: 0;
}

.vm-page.lc-create-page .lc-create-editor-column > .ct-editor-column-card .ct-editor-panel.lc-create-editor-panel,
.vm-page.lc-create-page .lc-create-editor-column > .ct-editor-column-card .lc-create-editor-scroll,
.vm-page.lc-create-page .lc-create-editor-column > .ct-editor-column-card .lc-create-editor-scroll--section {
  flex: 0 0 auto;
  min-height: auto;
  overflow: visible;
}

.vm-page.lc-create-page .lc-create-editor-column .lc-lease-order-editor__table-wrap {
  max-width: 100%;
}

/* 预览区高度链与合同模板管理一致，保证灰底 + A4 左右留空 */
.vm-page.lc-create-page .ct-editor-column-card--preview .ct-preview-panel {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
}

.vm-page.lc-create-page .ct-preview-panel--word {
  background: #b8b8b8;
  padding: 0;
}

.vm-page.lc-create-page .ct-preview-doc.ct-word-paginated {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: 100%;
}

.lc-preview-editable-hint--inline {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  justify-content: flex-start;
}

.vm-page.lc-create-page .lc-create-preview-head {
  align-items: center;
}

.vm-page.lc-create-page .lc-create-preview-head .lc-template-step-card__title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px 10px;
  flex: 0 1 auto;
  min-width: 0;
}

.vm-page.lc-create-page .lc-create-preview-head .lc-template-step-card__title-row .ct-panel-head__title {
  flex-shrink: 0;
}

.vm-page.lc-create-page .lc-create-preview-head .lc-form-card__hint {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(100%, 520px);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ln-muted);
}

.vm-page.lc-create-page .lc-create-preview-head .lc-form-card__hint-icon {
  flex-shrink: 0;
  color: color-mix(in srgb, var(--ln-primary) 72%, var(--ln-muted));
}

.vm-page.lc-create-page .lc-create-preview-head .lc-preview-editable-hint__text {
  min-width: 0;
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.lc-preview-editable-hint__risk {
  color: #b91c1c;
  font-weight: 600;
}

.lc-preview-editable-hint:not(.lc-preview-editable-hint--inline) {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
  margin: 0;
  padding: 12px 14px 0;
}

.lc-preview-editable-hint__card {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 100%;
  padding: 10px 14px;
  background: var(--ln-surface-card, #fff);
  border: 1px solid var(--ln-hairline, #e5e7eb);
  border-radius: var(--ln-radius-pill, 9999px);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.lc-preview-editable-hint__icon {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--ln-primary-focus, #15803d);
}

.lc-preview-editable-hint__text:not(.lc-form-card__hint-text) {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ln-muted, #52525b);
}

.lc-preview-editable-hint__risk {
  color: #b91c1c;
  font-weight: 600;
}

.lc-preview-editable-hint__tag {
  display: inline-flex;
  align-items: center;
  margin: 0 2px;
  padding: 1px 8px;
  border-radius: var(--ln-radius-pill, 9999px);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
  white-space: nowrap;
  vertical-align: baseline;
}

.lc-preview-editable-hint__tag--std {
  color: var(--ln-primary-focus, #15803d);
  background: var(--ln-primary-soft, #ecfdf3);
  border: 1px solid color-mix(in srgb, var(--ln-primary, #32a06e) 24%, transparent);
}

.lc-preview-editable-hint__tag--nonstd {
  color: #b45309;
  background: #fff7ed;
  border: 1px solid color-mix(in srgb, #f59e0b 28%, transparent);
}

.vm-page.lc-create-page .lc-preview-page__body--editable {
  cursor: text;
  outline: none;
}

.vm-page.lc-create-page .lc-preview-page__body--editable:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(50, 160, 110, 0.35);
}

.vm-page.lc-create-page .lc-preview-page__body--editable .ct-risk-redline {
  cursor: text;
}

.lc-approval-type-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.lc-approval-type-badge--standard {
  color: #166534;
  background: #ecfdf3;
  border: 1px solid #86efac;
}

.lc-approval-type-badge--nonstd {
  color: #b45309;
  background: #fff7ed;
  border: 1px solid #fdba74;
}

.vm-page.lc-create-page .lc-create-editor-panel,
.vm-page.lc-create-page.ct-page .ct-editor-workspace .ct-editor-column-card .ct-editor-panel.lc-create-editor-panel {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: none;
}

.vm-page.lc-create-page .lc-create-editor-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 4px 2px 12px;
  background: transparent;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.vm-page.lc-create-page .lc-form-card {
  margin-bottom: 10px;
  padding: 10px 14px 14px;
}

.vm-page.lc-create-page .lc-form-card > .vm-section-title {
  margin: 0 0 10px;
}

.vm-page.lc-create-page .lc-form-card:last-child {
  margin-bottom: 0;
}

.vm-page.lc-create-page .lc-form-card__desc {
  margin: -4px 0 14px;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--ln-muted);
}

.vm-page.lc-create-page .lc-form-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.vm-page.lc-create-page .lc-form-card.is-collapsed .lc-form-card__header {
  margin-bottom: 0;
}

.vm-page.lc-create-page .lc-form-card__header .vm-section-title {
  margin-bottom: 0;
}

.vm-page.lc-create-page .lc-form-card__toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  border-radius: var(--ln-radius-control);
  background: transparent;
  color: var(--ln-muted);
  font-size: 0.8125rem;
  line-height: 1;
  cursor: pointer;
}

.vm-page.lc-create-page .lc-form-card__toggle:hover {
  color: var(--ln-ink);
  background: var(--ln-canvas-soft);
}

.vm-page.lc-create-page .lc-form-card__toggle:focus-visible {
  outline: 2px solid var(--ln-focus-ring, #32a06e);
  outline-offset: 2px;
}

.vm-page.lc-create-page .lc-form-card__toggle-icon {
  transition: transform 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  .vm-page.lc-create-page .lc-form-card__toggle-icon {
    transition: none;
  }
}

.vm-page.lc-create-page .lc-form-card__toggle-icon.is-expanded {
  transform: rotate(180deg);
}

.vm-page.lc-create-page .lc-form-section + .lc-form-section {
  margin-top: 20px;
}

.vm-page.lc-create-page .lc-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

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

@media (max-width: 576px) {
  .vm-page.lc-create-page .lc-form-grid--pair {
    grid-template-columns: 1fr;
  }
}

.vm-page.lc-create-page .lc-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.vm-page.lc-create-page .lc-form-field__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ln-ink);
  line-height: 1.4;
}

.vm-page.lc-create-page .lc-form-field__label-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

.vm-page.lc-create-page .lc-form-field__inline-hint {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  max-width: 100%;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ln-muted);
}

.vm-page.lc-create-page .lc-form-field__inline-hint .lc-form-card__hint-icon {
  flex-shrink: 0;
  color: color-mix(in srgb, var(--ln-primary) 72%, var(--ln-muted));
}

.vm-page.lc-create-page .lc-create-section__head .lc-template-step-card__title-row {
  flex: 1;
  min-width: 0;
}

.vm-page.lc-create-page .lc-create-section-poa-head .lc-template-step-card__title-row,
.vm-page.lc-create-page .lc-create-section-seal-head .lc-template-step-card__title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px 10px;
  flex: 0 1 auto;
  min-width: 0;
}

.vm-page.lc-create-page .lc-create-section-poa-head .lc-create-poa-hint {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 1 auto;
  min-width: 0;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ln-muted);
}

.vm-page.lc-create-page .lc-create-section-poa-head .lc-form-card__hint-icon {
  flex-shrink: 0;
  margin-top: 0;
  color: color-mix(in srgb, var(--ln-primary) 72%, var(--ln-muted));
}

.vm-page.lc-create-page .lc-seal-type-head-tags {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  flex: 0 1 auto;
  min-width: 0;
}

.vm-page.lc-create-page .lc-seal-type-head-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ln-primary-focus, #15803d);
  background: var(--ln-primary-soft, #ecfdf3);
  border: 1px solid color-mix(in srgb, var(--ln-primary, #32a06e) 24%, transparent);
}

.vm-page.lc-create-page .lc-seal-type-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vm-page.lc-create-page .lc-seal-type-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--ln-hairline);
  background: var(--ln-surface-card, #fff);
  color: var(--ln-ink);
  font-size: 0.875rem;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.vm-page.lc-create-page .lc-seal-type-chip:hover {
  border-color: color-mix(in srgb, var(--ln-primary) 35%, var(--ln-hairline));
}

.vm-page.lc-create-page .lc-seal-type-chip.is-active {
  color: var(--ln-primary-focus, #15803d);
  background: var(--ln-primary-soft, #ecfdf3);
  border-color: color-mix(in srgb, var(--ln-primary, #32a06e) 35%, transparent);
  font-weight: 600;
}

.vm-page.lc-create-page .lc-seal-type-chip:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--ln-primary) 45%, transparent);
  outline-offset: 2px;
}

.vm-page.lc-create-page .lc-create-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vm-page.lc-create-page .lc-create-section-poa-head,
.vm-page.lc-create-page .lc-create-section-seal-head {
  align-items: center;
}

.vm-page.lc-create-page .lc-form-field__required {
  color: #dc2626;
  margin-right: 4px;
}

.vm-page.lc-create-page .lc-form-select,
.vm-page.lc-create-page .lc-form-field .vm-input,
.vm-page.lc-create-page .lc-form-field .ant-input {
  width: 100%;
}

.vm-page.lc-create-page .lc-form-select .ant-select-selector {
  height: 36px;
  min-height: 36px;
  display: flex;
  align-items: center;
}

.vm-page.lc-create-page .lc-form-field .ant-input:not(textarea) {
  box-sizing: border-box;
  height: 36px;
  min-height: 36px;
}

.vm-page.lc-create-page .lc-form-field .lc-form-readonly,
.vm-page.lc-create-page .lc-form-field .lc-form-readonly--synced {
  width: 100%;
  max-height: 36px;
}

.vm-page.lc-create-page .lc-form-field__hint {
  display: block;
  margin-top: -2px;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ln-muted);
}

.vm-page.lc-create-page .lc-form-readonly {
  box-sizing: border-box;
  width: 100%;
  min-height: 36px;
  height: 36px;
  max-height: 36px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  line-height: 1;
  color: var(--ln-ink);
  background: var(--ln-surface-card);
  border: 1px solid var(--ln-hairline);
  border-radius: var(--ln-radius-control);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.vm-page.lc-create-page .lc-invoice-readonly-panel {
  gap: 12px;
  padding: 12px;
  border: 1px dashed color-mix(in srgb, var(--ln-muted) 40%, var(--ln-hairline));
  border-radius: var(--ln-radius-control);
  background: var(--ln-canvas-soft);
  cursor: default;
}

.vm-page.lc-create-page .lc-invoice-readonly-panel::before {
  content: '来自客户表 · 只读';
  display: block;
  grid-column: 1 / -1;
  margin-bottom: 2px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--ln-muted);
}

.vm-page.lc-create-page .lc-lessor-account-readonly-panel::before {
  content: '来自甲方档案 · 只读';
}

.vm-page.lc-create-page .lc-invoice-readonly-panel .lc-form-field {
  cursor: default;
}

.vm-page.lc-create-page .lc-invoice-readonly-panel .lc-form-field__label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ln-muted);
}

.vm-page.lc-create-page .lc-invoice-readonly-panel .lc-form-readonly--synced,
.vm-page.lc-create-page .lc-lease-order-editor .lc-form-readonly--synced {
  box-sizing: border-box;
  width: 100%;
  min-height: 36px;
  height: 36px;
  max-height: 36px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  color: var(--ln-ink-secondary, #475569);
  background: color-mix(in srgb, var(--ln-surface-card) 82%, var(--ln-canvas-soft));
  border: 1px dashed var(--ln-hairline-strong);
  border-radius: var(--ln-radius-control);
  box-shadow: none;
  cursor: default;
  user-select: text;
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.vm-page.lc-create-page .lc-invoice-readonly-panel .lc-form-readonly--synced .lc-form-readonly__empty,
.vm-page.lc-create-page .lc-lease-order-editor .lc-form-readonly--synced .lc-form-readonly__empty {
  font-weight: 400;
  font-style: italic;
}

.vm-page.lc-create-page .lc-form-readonly__empty {
  color: var(--ln-muted);
}

.vm-page.lc-create-page .lc-form-subblock {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--ln-hairline-strong);
}

.vm-page.lc-create-page .lc-form-subblock--two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.vm-page.lc-create-page .lc-form-subblock__section {
  min-width: 0;
}

.vm-page.lc-create-page .lc-form-subblock__section + .lc-form-subblock__section {
  margin-top: 16px;
}

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

.vm-page.lc-create-page .lc-attach-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.vm-page.lc-create-page .lc-attach-thumb {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--ln-hairline);
  border-radius: var(--ln-radius-control);
  background: var(--ln-surface-card);
  cursor: pointer;
}

.vm-page.lc-create-page .lc-attach-thumb__img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: calc(var(--ln-radius-control) - 2px);
  background: var(--ln-canvas-soft);
}

.vm-page.lc-create-page .lc-attach-thumb .ant-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  line-height: 0;
  overflow: hidden;
  border-radius: calc(var(--ln-radius-control) - 2px);
  background: var(--ln-canvas-soft);
}

.vm-page.lc-create-page .lc-attach-thumb .ant-image-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.vm-page.lc-create-page .lc-attach-thumb__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  text-align: center;
}

.vm-page.lc-create-page .lc-attach-thumb__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ln-ink);
}

@media (max-width: 768px) {
  .vm-page.lc-create-page .lc-form-subblock--two-col,
  .vm-page.lc-create-page .lc-form-grid--cols-2,
  .vm-page.lc-create-page .lc-attach-gallery {
    grid-template-columns: 1fr;
  }
}

.vm-page.lc-create-page .lc-form-subblock__title {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ln-ink-secondary, #475569);
}

.vm-page.lc-create-page .lc-form-subblock__section .vm-section-title {
  margin-bottom: 12px;
}

.vm-page.lc-create-page .lc-form-grid--readonly {
  gap: 10px;
}

.vm-page.lc-create-page .lc-attach-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vm-page.lc-create-page .lc-attach-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  background: var(--ln-surface-card);
  border: 1px solid var(--ln-hairline);
  border-radius: var(--ln-radius-control);
}

.vm-page.lc-create-page .lc-attach-list__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ln-ink);
  flex-shrink: 0;
}

.vm-page.lc-create-page .lc-attach-list__file {
  font-size: 0.75rem;
  color: var(--ln-muted);
  text-align: right;
  word-break: break-all;
}

.vm-page.lc-create-page .lc-form-number,
.vm-page.lc-create-page .lc-form-date {
  width: 100%;
}

.vm-page.lc-create-page .lc-form-number--stepper-visible .ant-input-number-actions,
.vm-page.lc-create-page .lc-form-number--stepper-visible.ant-input-number .ant-input-number-actions,
.vm-page.lc-create-page .ant-space-compact .lc-form-number--stepper-visible .ant-input-number-actions {
  width: 22px !important;
  opacity: 1 !important;
}

.vm-page.lc-create-page #lc-card-fee-body .lc-form-grid--pair .lc-form-field > :last-child {
  width: 100%;
}

.vm-page.lc-create-page #lc-card-fee-body .ant-select,
.vm-page.lc-create-page #lc-card-fee-body .ant-space-compact,
.vm-page.lc-create-page #lc-card-fee-body .lc-form-inline-sentence {
  width: 100%;
}

.vm-page.lc-create-page .lc-form-inline-sentence {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  width: 100%;
  min-height: 36px;
  box-sizing: border-box;
}

.vm-page.lc-create-page .lc-form-inline-sentence__text {
  font-size: 0.875rem;
  color: var(--ln-ink);
  white-space: nowrap;
  line-height: 1.5715;
}

.vm-page.lc-create-page .lc-form-inline-sentence__input.ant-input-number {
  width: 88px !important;
  min-width: 88px;
  flex-shrink: 0;
}

.vm-page.lc-create-page .lc-contract-code-input.ant-input-group-wrapper,
.vm-page.lc-create-page .lc-form-input {
  width: 100%;
}

.vm-page.lc-create-page .lc-contract-code-input.ant-input-group-wrapper .ant-input-group {
  display: flex;
  width: 100%;
  align-items: stretch;
}

.vm-page.lc-create-page .lc-contract-code-input.ant-input-group-wrapper .ant-input-group-addon {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  flex-shrink: 0;
  box-sizing: border-box;
  height: 36px;
  min-height: 36px;
  min-width: max-content;
  padding: 0 11px;
  line-height: 1.5715;
  white-space: nowrap;
  overflow: visible;
}

.vm-page.lc-create-page .lc-contract-code-input.ant-input-group-wrapper .ant-input-affix-wrapper {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  box-sizing: border-box;
  height: 36px;
  min-height: 36px;
  display: flex;
  align-items: center;
  padding-block: 0;
}

.vm-page.lc-create-page .lc-contract-code-input.ant-input-group-wrapper .ant-input {
  box-sizing: border-box;
  height: 36px;
  min-height: 36px;
}

.vm-page.lc-create-page .lc-poa-editor__fields--inline .lc-form-field .ant-input-affix-wrapper,
.vm-page.lc-create-page .lc-poa-editor__fields--inline .lc-form-field .ant-input:not(textarea) {
  box-sizing: border-box;
  height: 36px;
  min-height: 36px;
}

.vm-page.lc-create-page .lc-poa-editor__fields--inline .lc-form-field .ant-input-affix-wrapper {
  display: inline-flex;
  align-items: center;
  padding-block: 0;
}

.vm-page.lc-create-page .lc-contact-party + .lc-contact-party {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--ln-hairline-strong);
}

.vm-page.lc-create-page .lc-lessor-contact-readonly-panel::before {
  content: '来自甲方档案 · 只读';
}

.vm-page.lc-create-page .lc-customer-contact-readonly-panel::before {
  content: '来自客户表 · 只读';
}

.vm-page.lc-create-page .lc-form-contact-pair .lc-form-readonly--synced {
  box-sizing: border-box;
  width: 100%;
  min-height: 36px;
  height: 36px;
  max-height: 36px;
}

.vm-page.lc-create-page .lc-form-contact-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

@media (max-width: 576px) {
  .vm-page.lc-create-page .lc-form-contact-pair {
    grid-template-columns: 1fr;
  }
}

.vm-page.lc-create-page .lc-mileage-types {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
}

.vm-page.lc-create-page .lc-mileage-type {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  gap: 6px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid var(--ln-hairline);
  border-radius: var(--ln-radius-control);
  background: var(--ln-surface-card);
  cursor: pointer;
}

.vm-page.lc-create-page .lc-mileage-type.is-active {
  border-color: color-mix(in srgb, var(--ln-primary) 35%, var(--ln-hairline));
  background: var(--ln-primary-soft);
}

.vm-page.lc-create-page .lc-mileage-type__radio {
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--ln-primary);
}

.vm-page.lc-create-page .lc-mileage-type__text {
  font-size: 0.875rem;
  color: var(--ln-ink);
  white-space: nowrap;
}

.vm-page.lc-create-page .lc-mileage-type__input {
  flex: 1 1 56px;
  width: auto;
  min-width: 56px;
  max-width: 88px;
}

@media (max-width: 576px) {
  .vm-page.lc-create-page .lc-mileage-types {
    flex-direction: column;
  }

  .vm-page.lc-create-page .lc-mileage-type {
    flex: 1 1 auto;
  }

  .vm-page.lc-create-page .lc-mileage-type__input {
    max-width: none;
    width: 120px;
  }
}

.ct-word-doc--v266 .lc-preview-attach__frame--image {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  aspect-ratio: 4 / 3;
  min-height: auto;
  padding: 0;
  background: #fff;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
}

.ct-word-doc--v266 .lc-preview-attach__image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  object-fit: cover;
  border: 0;
  border-radius: 0;
}

/* 预览区客户资质附件占位 */
.ct-word-doc--v266 .lc-preview-credentials {
  margin-top: 8px;
}

.ct-word-doc--v266 .lc-preview-attach__frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  margin: 0 auto 8px;
  max-width: 420px;
  background: #f1f5f9;
  border: 1px dashed #94a3b8;
  border-radius: 4px;
}

.ct-word-doc--v266 .lc-preview-attach__file {
  font-size: 10.5px;
  color: #64748b;
  padding: 8px 12px;
  text-align: center;
}

.vm-page.lc-create-page .lc-form-hint {
  margin: 16px 0 0;
  padding: 10px 12px;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--ln-muted);
  background: var(--ln-surface-card);
  border: 1px solid var(--ln-hairline);
  border-radius: var(--ln-radius-control);
}

.vm-page.lc-create-page .lc-create-editor-placeholder {
  max-width: 360px;
  padding: 32px 24px;
  text-align: center;
  border: 1px dashed var(--ln-hairline-strong);
  border-radius: var(--ln-radius-card);
  background: var(--ln-surface-card);
}

.vm-page.lc-create-page .lc-create-editor-placeholder__title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ln-ink);
}

.vm-page.lc-create-page .lc-create-editor-placeholder__desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ln-muted);
}

.vm-page.lc-create-page .lc-create-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--ln-hairline);
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .vm-page.lc-create-page .lc-create-editor-page .ct-editor-workspace {
    min-height: auto;
  }

  .vm-page.lc-create-page .lc-create-editor-panel {
    min-height: 240px;
  }
}
