.cd2-page {
  background-color: #F2F2F7;
  padding-bottom: 275px;
  color: #1C1C1E;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}

.container {
  padding: 10px;
  box-sizing: border-box;
}

/* ========== 客户档案卡 ========== */
.section-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 12px 15px;
  margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  width: 100%;
  box-sizing: border-box;
}

.order-cost-card .order-cost-total {
  font-size: 18px;
  font-weight: 800;
  color: #C17F3A;
}
.order-cost-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}
.order-cost-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  background: #F8F5F0;
  border-radius: 10px;
}
.order-cost-label {
  font-size: 11px;
  color: #8E8E93;
  font-weight: 600;
}
.order-cost-value {
  font-size: 15px;
  font-weight: 700;
  color: #1C1C1E;
}
.order-cost-hint {
  margin-top: 8px;
  font-size: 11px;
  color: #AEAEB2;
  line-height: 1.4;
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.card-title-row .card-title {
  margin-bottom: 0;
}

.timeline-remark-btn {
  border: 1px solid #007AFF;
  background: #fff;
  color: #007AFF;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 14px;
  cursor: pointer;
}

.scroll-top-hit {
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.scroll-top-hit:active {
  opacity: 0.65;
}

.card-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #1C1C1E;
  display: flex;
  align-items: center;
}

.card-title::before {
  content: "";
  width: 3px;
  height: 14px;
  background: #007AFF;
  border-radius: 1.5px;
  margin-right: 6px;
}

.detail-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.detail-item {
  flex: 1;
  border-bottom: 0.5px solid #F2F2F7;
  padding-bottom: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.detail-item.flex-2 {
  flex: 2.2;
  border-bottom: none;
}

.item-label {
  color: #8E8E93;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.item-value {
  font-weight: 600;
  color: #1C1C1E;
  font-size: 12px;
  word-break: break-all;
}

.item-value.small-font {
  font-size: 11px;
  font-family: monospace;
}

.item-value.highlight {
  color: #007AFF;
  font-weight: 800;
}

.value-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
}

.mini-copy-link {
  font-size: 9px;
  color: #007AFF;
  background: #EBF5FF;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 800;
  flex-shrink: 0;
  border: 0.5px solid rgba(0, 122, 255, 0.1);
}

/* ========== 过程轴 ========== */
.history-item {
  margin-bottom: 15px;
  position: relative;
}

.history-header {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
  position: relative;
  z-index: 2;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 8px;
  flex-shrink: 0;
}

.dot.green {
  background: #34C759;
}

.dot.blue {
  background: #007AFF;
}

.dot.orange {
  background: #FF9500;
}

.dot.gray {
  background: #C7C7CC;
}

.dot.purple {
  background: #AF52DE;
}

.title {
  font-size: 13px;
  font-weight: 800;
  flex: 1;
  color: #1C1C1E;
}

.time {
  font-size: 9px;
  color: #AEAEB2;
  flex-shrink: 0;
}

.history-body {
  margin-left: 2.5px;
  border-left: 1px solid #E5E5EA;
  padding: 0 0 5px 12px;
}

.log-card {
  background: #F8F8F9;
  border-radius: 8px;
  padding: 8px;
  width: 100%;
  box-sizing: border-box;
}

.log-row {
  font-size: 11px;
  color: #3A3A3C;
  margin-bottom: 3px;
  line-height: 1.4;
}

.price {
  color: #FF3B30;
  font-weight: 800;
}

.bold {
  font-weight: 700;
  color: #000;
}

.tag-badge {
  display: inline-block;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 4px;
  margin-bottom: 3px;
}

.tag-blue {
  background: #EBF5FF;
  color: #007AFF;
}

.tag-orange {
  background: #FFF7E6;
  color: #FF9500;
}

.tag-green {
  background: #E6F9EB;
  color: #34C759;
}

.tag-red {
  background: #FFF2F2;
  color: #FF3B30;
}

/* ========== 底部操作区 ========== */
.bottom-actions {
  position: fixed;
  bottom: 15px;
  left: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  border: 0.5px solid rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-sizing: border-box;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  width: 100%;
}

.ios-btn {
  height: 40px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  width: 100% !important;
  margin: 0 !important;
}

.btn-admin {
  background: #34C759;
  color: #fff;
}

.btn-blue {
  background: #007AFF;
  color: #fff;
}

.btn-orange {
  background: #FF9500;
  color: #fff;
}

.btn-cyan {
  background: #5AC8FA;
  color: #fff;
}

.btn-purple {
  background: #AF52DE;
  color: #fff;
}

.btn-red-outline {
  background: #fff;
  color: #FF3B30;
  border: 1px solid #FF3B30;
}

.btn-gray {
  background: #F2F2F7;
  color: #8E8E93;
}

.full-width {
  grid-column: span 2;
}

.loading-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  color: #8E8E93;
  font-size: 12px;
}

/* ========== 弹窗遮罩 ========== */
.modal-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.modal-content {
  background: #fff;
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-height: 85vh;
  padding: 16px;
  box-sizing: border-box;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.modal-back {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  color: #007AFF;
  padding: 4px 2px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.modal-title {
  flex: 1;
  font-size: 16px;
  font-weight: 800;
  color: #1C1C1E;
  min-width: 0;
}

.modal-close {
  flex-shrink: 0;
  font-size: 20px;
  color: #C7C7CC;
  padding: 4px;
}

/* ========== 表单样式 ========== */
.form-group {
  margin-bottom: 12px;
}

.form-label {
  font-size: 13px;
  font-weight: 700;
  color: #1C1C1E;
  margin-bottom: 6px;
  display: block;
}

.form-label-required::after {
  content: " *";
  color: #FF3B30;
}

.form-hint {
  display: block;
  font-size: 12px;
  color: #8E8E93;
  line-height: 1.5;
  margin-top: 4px;
}

.third-party-or-divider {
  text-align: center;
  font-size: 13px;
  color: #8E8E93;
  margin: 4px 0 8px;
}

.vin-last6-input {
  letter-spacing: 1px;
  text-transform: uppercase;
}

.picker-display {
  display: flex;
  align-items: center;
  min-height: 40px;
  color: #1C1C1E;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #8E8E93 50%), linear-gradient(135deg, #8E8E93 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 18px;
}

.location-select-row {
  margin-bottom: 6px;
}

.location-select-row:last-child {
  margin-bottom: 0;
}

.vehicle-vin-group {
  flex-wrap: wrap;
}

.online-preview-card {
  background: #F8F8F9;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 12px;
}

.online-preview-title {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #1C1C1E;
  margin-bottom: 6px;
}

.online-preview-row {
  font-size: 11px;
  color: #3A3A3C;
  line-height: 1.6;
  margin-bottom: 2px;
}

.form-input {
  width: 100%;
  height: 40px;
  background: #F2F2F7;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 16px; /* iOS：<16px 易触发缩放/键盘异常 */
  box-sizing: border-box;
  -webkit-user-select: text;
  user-select: text;
}

.form-textarea {
  width: 100%;
  min-height: 80px;
  background: #F2F2F7;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 16px;
  box-sizing: border-box;
  -webkit-user-select: text;
  user-select: text;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.radio-item {
  padding: 8px 14px;
  background: #F2F2F7;
  border-radius: 8px;
  font-size: 13px;
  color: #333;
  border: 1px solid transparent;
}

.radio-item.active {
  background: #007AFF;
  color: #fff;
  border-color: #007AFF;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.checkbox-item {
  padding: 6px 10px;
  background: #F2F2F7;
  border-radius: 6px;
  font-size: 12px;
  color: #333;
  border: 1px solid transparent;
}

.checkbox-item.active {
  background: #EBF5FF;
  color: #007AFF;
  border-color: #007AFF;
}

/* ========== 图片上传 ========== */
.photo-section {
  margin-bottom: 10px;
}

.photo-label {
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
  display: block;
}

.photo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.photo-item {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  background: #F2F2F7;
}

.photo-preview {
  width: 100%;
  height: 100%;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.photo-item image,
.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* 过程轴 / 档案区图片缩略图 */
.timeline-photo-wrap {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 0.5px solid rgba(0, 0, 0, 0.06);
}

.timeline-photo-label {
  display: block;
  font-size: 11px;
  color: #8E8E93;
  margin-bottom: 6px;
}

.timeline-photo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-photo-link {
  width: 72px;
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  background: #F2F2F7;
  border: 0.5px solid rgba(0, 0, 0, 0.08);
}

.timeline-photo-link .timeline-photo-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  border: none;
  border-radius: 0;
  background: transparent;
}

.timeline-photo-thumb {
  width: 72px;
  height: 72px;
  border-radius: 6px;
  background: #F2F2F7;
  border: 0.5px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.photo-del {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-add {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  background: #F2F2F7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #C7C7CC;
  border: 1px dashed #C7C7CC;
}

/* ========== 视频上传 ========== */
.video-item {
  width: 120px;
  height: 80px;
  border-radius: 8px;
  background: #F2F2F7;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.video-item text {
  font-size: 12px;
  color: #666;
}

/* ========== 提交按钮 ========== */
.submit-bar {
  padding-top: 12px;
  border-top: 0.5px solid #E5E5EA;
  margin-top: 12px;
}

.submit-btn {
  width: 100%;
  height: 44px;
  background: #007AFF;
  color: #fff;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}

.submit-btn.disabled {
  background: #C7C7CC;
}

/* ========== 分组折叠 ========== */
.fold-section {
  background: #F8F8F9;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 8px;
}

.fold-title {
  font-size: 13px;
  font-weight: 700;
  color: #1C1C1E;
  margin-bottom: 8px;
}

/* ========== 费用记录板块（线上验车弹窗） ========== */
.fee-card {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 8px;
  border: 0.5px solid #E5E5EA;
}

.fee-card:last-child {
  margin-bottom: 0;
}

.fee-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.fee-icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}

.icon-insurance {
  background: #FFF2F0;
  color: #FF3B30;
}

.icon-maintenance {
  background: #E6F7FF;
  color: #007AFF;
}

.icon-mileage {
  background: #F6FFED;
  color: #34C759;
}

.fee-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #1C1C1E;
}

.fee-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.fee-input-label {
  font-size: 12px;
  color: #666;
  flex-shrink: 0;
}

.fee-input-box {
  flex: 1;
  display: flex;
  align-items: center;
  background: #F2F2F7;
  border-radius: 6px;
  padding: 0 10px;
  height: 32px;
  box-sizing: border-box;
}

.fee-input {
  flex: 1;
  width: 0;
  font-size: 16px;
  color: #1C1C1E;
  text-align: right;
  height: 100%;
  min-height: 0;
  border: none;
  outline: none;
  background: transparent;
  padding: 0;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.fee-input-unit {
  font-size: 12px;
  color: #8E8E93;
  margin-left: 4px;
  flex-shrink: 0;
}

.fee-photo-wrap {
  margin-top: 6px;
}

.fee-photo-label {
  font-size: 11px;
  color: #8E8E93;
  margin-bottom: 6px;
  display: block;
}

/* ========== 多选组（视频初验） ========== */
.multi-select-row {
  margin-bottom: 8px;
}

.multi-select-label {
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
  display: block;
}

/* ========== 费用输入行 ========== */
.fee-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.fee-row .form-input {
  flex: 1;
}

.fee-unit {
  font-size: 12px;
  color: #666;
}

/* ========== 意向选择网格 ========== */
.intention-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.intention-item {
  padding: 12px 8px;
  background: #F2F2F7;
  border-radius: 10px;
  text-align: center;
  font-size: 13px;
  color: #333;
  border: 1px solid transparent;
}

.intention-item.active {
  background: #EBF5FF;
  color: #007AFF;
  border-color: #007AFF;
  font-weight: 700;
}

/* ========== 提示文本 ========== */
.hint-text {
  font-size: 11px;
  color: #8E8E93;
  margin-top: 4px;
  line-height: 1.4;
}

/* ========== 状态标签颜色 ========== */
.status-new {
  color: #FF3B30;
  background-color: #FFF2F2;
}

.status-following {
  color: #007AFF;
  background-color: #EBF5FF;
}

.status-completed {
  color: #34C759;
  background-color: #E6F9EB;
}

/* ========== 编辑链接 ========== */
.edit-link {
  font-size: 10px;
  color: #007AFF;
  background: #EBF5FF;
  padding: 2px 7px;
  border-radius: 5px;
  font-weight: 700;
  flex-shrink: 0;
}

.delete-link {
  font-size: 10px;
  color: #FF3B30;
  background: #FFF2F2;
  padding: 2px 7px;
  border-radius: 5px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ========== 转单弹窗样式 ========== */
.transfer-hint {
  font-size: 12px;
  color: #8E8E93;
  margin-bottom: 12px;
  padding: 8px;
  background: #F8F8F9;
  border-radius: 6px;
  text-align: center;
}

.transfer-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.transfer-item {
  padding: 14px;
  background: #F2F2F7;
  border-radius: 10px;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.transfer-item.active {
  background: #EBF5FF;
  border-color: #007AFF;
}

.transfer-label {
  font-size: 15px;
  font-weight: 800;
  color: #1C1C1E;
}

.transfer-desc {
  font-size: 12px;
  color: #8E8E93;
}

/* 让历史记录卡片有轻微的可点击反馈 */
.history-body {
  margin-left: 2.5px;
  border-left: 1px solid #E5E5EA;
  padding: 0 0 5px 12px;
}

.history-body:active {
  opacity: 0.7;
}

.timeline-correction-btn {
  width: 92px;
  min-height: 36px;
  margin: 8px 0 0;
  padding: 0 18px;
  border: 1px solid #168bf2;
  border-radius: 10px;
  background: #eef7ff;
  color: #0877db;
  font-size: 14px;
  font-weight: 700;
  line-height: 34px;
  box-sizing: border-box;
}
.timeline-correction-target {
  margin-bottom: 6px;
  color: #b45309;
  font-size: 13px;
  font-weight: 700;
}
.timeline-correction-summary {
  margin: 0 0 14px;
  padding: 11px 13px;
  border-radius: 10px;
  background: #fff7ed;
  color: #9a5410;
  font-size: 14px;
}
/* 让历史记录卡片有轻微的可点击反馈 */
.history-body {
  margin-left: 2.5px;
  border-left: 1px solid #E5E5EA;
  padding: 0 0 5px 12px;
}

.history-body:active {
  opacity: 0.7;
}

/* ========== 检测记录迷你卡片（时间轴内） ========== */
.inspection-report-mini-card {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 12px;
  margin-top: 8px;
  border: 1px solid #E5E5EA;
}

.mini-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.mini-card-header .icon {
  font-size: 16px;
}

.mini-card-header .title {
  font-size: 14px;
  font-weight: 600;
  color: #1C1C1E;
  flex: 1;
}

.badge {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
}

.badge-ongoing {
  background: #E6F7FF;
  color: #007AFF;
}

.badge-completed {
  background: #F6FFED;
  color: #52C41A;
}

/* 进度条 */
.report-progress-section {
  margin-bottom: 10px;
}

.progress-bar {
  height: 4px;
  background: #E5E5EA;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 6px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #007AFF, #34C759);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 12px;
  color: #8E8E93;
  display: block;
  margin-bottom: 4px;
}

.pending-vin {
  font-size: 11px;
  color: #999;
  display: block;
}

/* 三非标签 */
.sanfei-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.tag {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
  background: #F2F2F7;
  color: #8E8E93;
}

.tag.pass {
  background: #F6FFED;
  color: #52C41A;
}

.tag.fail {
  background: #FFF2F0;
  color: #FF3B30;
}

/* 快速统计 */
.quick-stats {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 40px;
}

.stat-num {
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.stat-item.abnormal .stat-num {
  color: #FF3B30;
}

.stat-item.warning .stat-num {
  color: #FF9500;
}

.stat-label {
  font-size: 11px;
  color: #8E8E93;
  margin-top: 2px;
}

/* 问题预览 */
.problem-preview {
  background: #F8F8F9;
  border-radius: 6px;
  padding: 8px;
  margin-bottom: 10px;
}

.problem-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
}

.problem-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.problem-item .dot.critical {
  background: #FF3B30;
}

.problem-item .dot.warning {
  background: #FF9500;
}

.problem-item .name {
  font-size: 12px;
  color: #333;
  flex: 1;
}

.more {
  font-size: 11px;
  color: #8E8E93;
  display: block;
  margin-top: 4px;
}

/* 操作按钮 */
.card-actions {
  padding-top: 8px;
  border-top: 1px solid #F0F0F0;
}

.card-actions-row {
  display: flex;
  gap: 8px;
}

.card-actions-row .btn-view-report,
.card-actions-row .btn-share-report {
  flex: 1;
}

.btn-view-report {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 10px 0;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
}

.btn-share-report {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #1a56db;
  padding: 10px 0;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #1a56db;
}

/* ========== VIN 关联内嵌输入 ========== */
.vin-link-inline {
  margin-top: 8px;
  padding: 10px;
  background: #F8F8F9;
  border-radius: 8px;
  border: 1px solid #E5E5EA;
}

.vin-link-label {
  font-size: 13px;
  color: #1C1C1E;
  margin-bottom: 8px;
  display: block;
}

.vin-link-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.vin-inline-input {
  flex: 1;
  height: 40px;
  padding: 0 12px;
  background: #fff;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  letter-spacing: 3px;
  text-align: center;
  border: 1px solid #E5E5EA;
  box-sizing: border-box;
}

.vin-inline-btn {
  padding: 0 16px;
  height: 40px;
  line-height: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.vin-inline-btn.loading {
  opacity: 0.6;
}

.vin-link-error {
  font-size: 12px;
  color: #FF3B30;
  margin-top: 6px;
  display: block;
}

/* ========== 提醒事项节点样式 ========== */
.reminder-completed-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: #F6FFED;
  border-radius: 6px;
  margin-bottom: 6px;
  color: #52C41A;
  font-size: 13px;
  font-weight: 600;
}

.reminder-completed-icon {
  width: 16px;
  height: 16px;
  background: #52C41A;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.reminder-text-card {
  background: #F8F8F9;
  border-radius: 8px;
  padding: 10px;
  margin-top: 4px;
}

.reminder-text-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.reminder-text-title {
  font-size: 14px;
  font-weight: 700;
  color: #1C1C1E;
}

.reminder-text-body {
  padding: 6px 0;
}

.reminder-text-content {
  font-size: 13px;
  color: #333;
  line-height: 1.6;
  white-space: pre-wrap;
}
/* ========== 提醒确认滑动条 ========== */
.slider-confirm-wrap {
  position: relative;
  width: 100%;
  height: 44px;
  background: #F2F2F7;
  border-radius: 22px;
  margin: 8px 0 10px;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.slider-track {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, #FF9500, #FFB84D);
  border-radius: 22px;
  transition: width 0.1s linear;
}

.slider-text {
  position: relative;
  font-size: 13px;
  color: #8E8E93;
  font-weight: 600;
  z-index: 1;
  pointer-events: none;
  transition: color 0.2s ease;
}

.slider-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 38px;
  height: 38px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.1s linear;
  touch-action: pan-x;
}

.slider-thumb .slider-arrow {
  color: #FF9500;
  font-size: 16px;
  font-weight: 700;
}

/* 滑动完成后状态（备用） */
.slider-confirm-wrap.completed {
  background: #34C759;
}

.slider-confirm-wrap.completed .slider-text {
  color: #fff;
}

.slider-confirm-wrap.completed .slider-thumb .slider-arrow {
  color: #34C759;
}

/* ========== 业务备注编辑区 ========== */
.business-note-edit-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.business-note-input-row {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 32px;
  background: #F2F2F7;
  border-radius: 6px;
  padding: 6px 8px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.business-note-input-row.expanded {
  border-radius: 6px 6px 0 0;
}

.business-note-input {
  flex: 1;
  font-size: 12px;
  color: #1C1C1E;
  height: 20px;
  line-height: 20px;
  background: transparent;
}

.business-note-expand-btn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  flex-shrink: 0;
}

.expand-icon {
  font-size: 11px;
  color: #8E8E93;
}

.business-note-expanded-area {
  background: #F2F2F7;
  border-radius: 0 0 6px 6px;
  padding: 6px 8px;
  margin-top: -2px;
}

.business-note-preview {
  font-size: 12px;
  color: #1C1C1E;
  line-height: 1.6;
  word-break: break-all;
  display: block;
}

.business-note-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.business-note-count {
  font-size: 10px;
  color: #8E8E93;
}

.business-note-save {
  font-size: 12px;
  color: #C7C7CC;
  padding: 4px 10px;
  border-radius: 5px;
  background: #F2F2F7;
  font-weight: 700;
}

.business-note-save.active {
  color: #007AFF;
  background: #EBF5FF;
}

.tip-row {
  color: #ff9500;
  font-size: 12px;
  line-height: 1.5;
}

.delivery-checklist .log-row {
  margin-bottom: 4px;
}

.delivery-flag-row {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.delivery-method-row {
  flex-wrap: wrap;
}

.delivery-method-row .delivery-flag-btn {
  flex: 1 1 calc(33.33% - 8px);
  min-width: 88px;
  font-size: 13px;
  padding: 0 4px;
}

.delivery-flag-btn {
  flex: 1;
  height: 36px;
  border: 1px solid #d1d1d6;
  border-radius: 10px;
  background: #f2f2f7;
  color: #3a3a3c;
  font-size: 14px;
}

.delivery-flag-btn.on.yes {
  background: #e8f8ee;
  border-color: #34c759;
  color: #248a3d;
  font-weight: 600;
}

.delivery-flag-btn.on.no {
  background: #ffecec;
  border-color: #ff3b30;
  color: #d70015;
  font-weight: 600;
}

.key-count-block {
  margin-top: 12px;
}

.key-count-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.key-count-btn {
  height: 36px;
  border: 1px solid #d1d1d6;
  border-radius: 10px;
  background: #f2f2f7;
  color: #3a3a3c;
  font-size: 14px;
  font-weight: 600;
}

.key-count-btn.on {
  background: #e8f1ff;
  border-color: #007aff;
  color: #007aff;
}

/* ========== 提车注意事项操作按钮 ========== */
.reminder-text-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.reminder-edit-textarea {
  min-height: 180px;
  max-height: 38vh;
}

@media (max-height: 650px) {
  .modal-mask { align-items: flex-start; overflow-y: auto; padding-top: 12px; padding-bottom: 35vh; }
  .reminder-edit-textarea { min-height: 120px; max-height: 28vh; }
}

.reminder-edit-count {
  font-size: 11px;
  color: #8E8E93;
  text-align: right;
  margin-top: 4px;
}
.mp-hidden { display: none !important; pointer-events: none !important; visibility: hidden !important; }
.cd2-page .container { padding-bottom: 140px; }
.timeline-photo-grid img { object-fit: cover; }
.timeline-photo-link:active { opacity: 0.85; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.modal-content { display: flex; flex-direction: column; }
.modal-content .submit-bar {
  position: sticky;
  bottom: 0;
  background: #fff;
  flex-shrink: 0;
  z-index: 2;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
