/* Pro-inspection-recorddetails 详情1/2 样式 */
.pro-rd-view.view {
  padding: 0;
  max-width: none;
  min-height: 100dvh;
  height: 100dvh;
  background: #f5f5f7;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.pro-rd-view.view.active {
  display: flex;
}
.pro-rd-back {
  border: none; background: #fff; color: #2e6bd9; font-size: 14px;
  padding: 10px 14px; cursor: pointer; width: 100%; text-align: left;
  border-bottom: 1px solid #eef4fb;
  flex-shrink: 0;
  box-sizing: border-box;
}

.pro-rd-headbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
  border-bottom: 1px solid #eef4fb;
  position: sticky;
  top: 0;
  z-index: 20;
  flex-shrink: 0;
  box-sizing: border-box;
}

.pro-rd-back-inline {
  border: none;
  background: transparent;
  color: #2e6bd9;
  font-size: 14px;
  padding: 4px 0;
  cursor: pointer;
  flex-shrink: 0;
}

.pro-rd-headbar-title {
  flex: 1;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #1c1c1e;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pro-rd-share-btn {
  border: none;
  background: #007aff;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.pro-rd-share-btn:active {
  opacity: 0.88;
}
.pro-rd-loading, .pro-rd-empty { padding: 48px 16px; text-align: center; color: #999; font-size: 14px; flex: 1; }
.pro-rd-scroll {
  padding: 12px;
  padding-bottom: calc(80px + var(--sab, 0px));
  max-width: 480px;
  margin: 0 auto;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  box-sizing: border-box;
}

.pro-rd-header-card, .pro-rd-summary-card, .pro-rd-section {
  background: #fff; border-radius: 10px; padding: 16px; margin-bottom: 12px;
  border: 1px solid #eef4fb;
}
.pro-rd-header-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 12px; }
.pro-rd-vehicle-name { font-size: 18px; font-weight: 700; color: #333; flex: 1; }
.pro-rd-header-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.pro-rd-status-badge { padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 500; }
.pro-rd-status-badge.draft { background: #fff7e6; color: #fa8c16; }
.pro-rd-status-badge.completed { background: #e6f7ff; color: #1890ff; }
.pro-rd-status-badge.cancelled { background: #fff0f0; color: #ff3b30; }

.pro-rd-cancel-reason {
  margin: 0 16px 12px;
  padding: 10px 12px;
  background: #fff5f5;
  border-radius: 8px;
  color: #ff3b30;
  font-size: 13px;
  line-height: 1.5;
}
.pro-rd-detail-row { display: flex; margin-bottom: 8px; font-size: 14px; }
.pro-rd-detail-row .label { color: #999; width: 72px; flex-shrink: 0; }
.pro-rd-detail-row .value { color: #333; flex: 1; word-break: break-all; }

.pro-rd-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}

.pro-rd-info-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  font-size: 13px;
  line-height: 1.45;
}

.pro-rd-info-label {
  flex-shrink: 0;
  color: #8e8e93;
  white-space: nowrap;
}

.pro-rd-info-value {
  color: #3a3a3c;
  word-break: break-all;
}

.pro-rd-summary-title { font-size: 16px; font-weight: 700; margin-bottom: 12px; color: #333; }
.pro-rd-severity-stats { display: flex; flex-wrap: wrap; gap: 8px; }
.pro-rd-severity-item { flex: 1; min-width: 48px; text-align: center; padding: 8px 4px; border-radius: 8px; background: #f8f9fb; }
.pro-rd-severity-num { display: block; font-size: 18px; font-weight: 700; }
.pro-rd-severity-label { display: block; font-size: 11px; color: #666; margin-top: 2px; }
.pro-rd-severity-item.level-0 .pro-rd-severity-num { color: #52c41a; }
.pro-rd-severity-item.level-1 .pro-rd-severity-num { color: #1890ff; }
.pro-rd-severity-item.level-2 .pro-rd-severity-num { color: #faad14; }
.pro-rd-severity-item.level-3 .pro-rd-severity-num { color: #fa8c16; }
.pro-rd-severity-item.level-4 .pro-rd-severity-num { color: #f5222d; }
.pro-rd-severity-item.level-5 .pro-rd-severity-num { color: #d4380d; }

.pro-rd-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.pro-rd-section-title { font-size: 15px; font-weight: 600; color: #12335b; }
.pro-rd-section-count { font-size: 12px; color: #7b92ab; }
.pro-rd-item { padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
.pro-rd-item:last-child { border-bottom: none; }
.pro-rd-item-name { font-size: 14px; font-weight: 600; color: #333; margin-bottom: 6px; }
.pro-rd-item-value { font-size: 13px; color: #666; margin-bottom: 6px; }
.pro-rd-thumb-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.pro-rd-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; cursor: pointer; }
.pro-rd-video-thumb { width: 100px; height: 75px; border-radius: 6px; background: #000; }
.pro-rd-status-record { background: #f8f9fb; border-radius: 8px; padding: 8px; margin: 6px 0; }
.pro-rd-status-badge-sm {
  display: inline-block; font-size: 11px; padding: 2px 6px; border-radius: 4px;
  background: #e1bee7; color: #4a148c; margin-right: 4px; margin-bottom: 4px;
}
.pro-rd-pos-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.pro-rd-pos-item { text-align: center; width: 72px; }
.pro-rd-pos-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; cursor: pointer; }
.pro-rd-pos-name { font-size: 10px; color: #666; margin-top: 4px; }
.pro-rd-item-time { font-size: 11px; color: #999; margin-top: 4px; }

.pro-rd-continue-btn {
  position: fixed; left: 0; right: 0; bottom: 0; max-width: 480px; margin: 0 auto;
  padding: 12px 16px; padding-bottom: calc(12px + var(--sab, env(safe-area-inset-bottom, 0px)));
  background: linear-gradient(135deg, #2e6bd9 0%, #1f56c0 100%);
  color: #fff; border: none; font-size: 16px; font-weight: 600; cursor: pointer; z-index: 50;
}

/* 详情2 */
.pro-rd2-view { background: #f2f4f7; }
.pro-rd2-view .pro-rd-headbar {
  background: linear-gradient(115deg, #071426 0%, #0b2440 58%, #0d3555 100%);
  border-bottom-color: rgba(102, 220, 255, 0.22);
  box-shadow: 0 8px 24px rgba(5, 24, 45, 0.2);
}
.pro-rd2-view .pro-rd-back-inline { color: #bceeff; }
.pro-rd2-view .pro-rd-share-btn { background: linear-gradient(135deg, #28bfff, #2477ff); box-shadow: 0 5px 16px rgba(36, 139, 255, .3); }
.pro-rd2-head-title { display: flex; flex-direction: column; align-items: center; gap: 1px; color: #fff; line-height: 1.15; }
.pro-rd2-head-title strong { font-size: 16px; }
.pro-rd2-head-title small { color: #73d9ff; font-size: 8px; font-weight: 600; letter-spacing: 1.25px; }
.pro-rd2-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}
.pro-rd2-tabs {
  display: flex; overflow-x: auto; white-space: nowrap; background: #fff;
  border-bottom: 1px solid #e8ecf1; flex-shrink: 0; -webkit-overflow-scrolling: touch;
}
.pro-rd2-tab {
  flex-shrink: 0; padding: 12px 14px; font-size: 13px; color: #667085; cursor: pointer;
  border: none; background: transparent; position: relative;
}
.pro-rd2-tab.active { color: #1d4ed8; font-weight: 650; }
.pro-rd2-tab.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: #1d4ed8; border-radius: 2px;
}
.pro-rd2-tab-count { font-size: 11px; color: #98a2b3; margin-left: 2px; }
.pro-rd2-abnormal-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #f04438; margin-left: 4px;
  vertical-align: middle;
}
.pro-rd2-filters { display: flex; gap: 8px; padding: 10px 12px; background: #fff; border-bottom: 1px solid #eef1f5; flex-shrink: 0; }
.pro-rd2-filter-btn {
  padding: 7px 12px; border-radius: 999px; border: 1px solid #d0d5dd; background: #fff;
  font-size: 12px; color: #475467; cursor: pointer;
}
.pro-rd2-filter-btn.active { background: #eff4ff; color: #1d4ed8; border-color: #84a9ff; font-weight: 600; }
.pro-rd2-scroll { flex: 1; overflow-y: auto; padding: 8px 0 20px; }
.pro-rd2-hud {
  margin: 2px 10px 10px;
  padding: 14px;
  border-radius: 14px;
  color: #eafaff;
  background:
    linear-gradient(rgba(70, 206, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 206, 255, .05) 1px, transparent 1px),
    linear-gradient(135deg, #07182b, #0a2944);
  background-size: 18px 18px, 18px 18px, auto;
  border: 1px solid rgba(88, 220, 255, .38);
  box-shadow: inset 0 0 28px rgba(34, 180, 255, .08), 0 8px 24px rgba(8, 40, 72, .15);
}
.pro-rd2-hud-topline { display: flex; justify-content: space-between; color: #67d9ff; font-size: 9px; letter-spacing: 1.1px; }
.pro-rd2-hud-topline em { color: #b9f5ff; font-style: normal; font-weight: 800; }
.pro-rd2-hud-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 13px 0 11px; }
.pro-rd2-hud-grid div { min-width: 0; text-align: center; border-right: 1px solid rgba(121, 220, 255, .16); }
.pro-rd2-hud-grid div:last-child { border-right: 0; }
.pro-rd2-hud-grid strong { display: block; color: #fff; font-size: 22px; font-variant-numeric: tabular-nums; text-shadow: 0 0 15px rgba(82, 211, 255, .45); }
.pro-rd2-hud-grid span { display: block; margin-top: 2px; color: #9cc5d9; font-size: 10px; }
.pro-rd2-hud-grid .is-alert strong { color: #ff786f; text-shadow: 0 0 15px rgba(255, 87, 77, .35); }
.pro-rd2-hud-track { height: 3px; overflow: hidden; border-radius: 99px; background: rgba(98, 186, 219, .18); }
.pro-rd2-hud-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #15a9ff, #69f1ff); box-shadow: 0 0 10px #31d7ff; }
.pro-rd2-cover-block .pro-rd2-cover-body {
  padding: 12px 12px 14px;
  background: #fff;
}
.pro-rd2-cover-empty {
  padding: 20px 14px;
  text-align: center;
  color: #98a2b3;
  font-size: 13px;
}
.pro-rd2-cover-selected {
  margin-bottom: 12px;
}
.pro-rd2-cover-selected-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.pro-rd2-cover-selected-name {
  font-size: 15px;
  font-weight: 700;
  color: #101828;
}
.pro-rd2-cover-selected-status {
  font-size: 12px;
  font-weight: 700;
  font-style: normal;
}
.pro-rd2-cover-selected-status.kind-normal { color: #2ecc71; }
.pro-rd2-cover-selected-status.kind-paint { color: #f5a623; }
.pro-rd2-cover-selected-status.kind-sheet { color: #e74c3c; }
.pro-rd2-cover-selected-status.kind-replace { color: #3498db; }
.pro-rd2-cover-selected-status.kind-nopart { color: #98a2b3; }
.pro-rd2-cover-selected-meta {
  margin-left: auto;
  font-size: 12px;
  color: #98a2b3;
  font-variant-numeric: tabular-nums;
}
.pro-rd2-cover-um-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}
.pro-rd2-cover-um-cell {
  background: #f8fafc;
  border: 1px solid #eef1f5;
  border-radius: 8px;
  padding: 8px 4px 6px;
  text-align: center;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.pro-rd2-cover-um-cell strong {
  font-size: 13px;
  font-weight: 700;
  color: #98a2b3;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.pro-rd2-cover-um-cell span {
  font-size: 10px;
  color: #c0c6d0;
}
.pro-rd2-cover-um-cell.is-filled.tone-normal strong { color: #12b76a; }
.pro-rd2-cover-um-cell.is-filled.tone-paint strong { color: #f5a623; }
.pro-rd2-cover-um-cell.is-filled.tone-sheet strong { color: #e74c3c; }
.pro-rd2-cover-um-cell.is-filled strong + span { color: inherit; opacity: 0.7; }
.pro-rd2-cover-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.pro-rd2-cover-chip {
  border: 1px solid #e4e7ec;
  background: #fff;
  border-radius: 10px;
  padding: 10px 8px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 52px;
}
.pro-rd2-cover-chip-name {
  font-size: 12px;
  font-weight: 650;
  color: #101828;
  line-height: 1.3;
}
.pro-rd2-cover-chip-status {
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
}
.pro-rd2-cover-chip.kind-normal .pro-rd2-cover-chip-status { color: #12b76a; }
.pro-rd2-cover-chip.kind-paint .pro-rd2-cover-chip-status { color: #f5a623; }
.pro-rd2-cover-chip.kind-sheet .pro-rd2-cover-chip-status { color: #e74c3c; }
.pro-rd2-cover-chip.kind-replace .pro-rd2-cover-chip-status { color: #3498db; }
.pro-rd2-cover-chip.kind-nopart .pro-rd2-cover-chip-status { color: #98a2b3; }
.pro-rd2-cover-chip.is-on {
  background: #1d4ed8;
  border-color: #1d4ed8;
}
.pro-rd2-cover-chip.is-on .pro-rd2-cover-chip-name,
.pro-rd2-cover-chip.is-on .pro-rd2-cover-chip-status {
  color: #fff !important;
}
@media (max-width: 360px) {
  .pro-rd2-cover-um-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pro-rd2-cover-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.pro-rd2-condition-card {
  margin: 0 10px 10px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  padding: 14px 14px 12px;
  border: 1px solid #eef1f5;
}
.pro-rd2-condition-title {
  font-size: 14px;
  font-weight: 700;
  color: #101828;
  margin-bottom: 8px;
}
.pro-rd2-condition-body {
  font-size: 13px;
  line-height: 1.65;
  color: #344054;
  white-space: pre-wrap;
  word-break: break-word;
}
.pro-rd2-cat-block { margin: 0 10px 10px; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04); }
.pro-rd2-cat-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 14px; background: #f8fafc; border-bottom: 1px solid #eef1f5;
  position: sticky; top: 0; z-index: 2;
}
.pro-rd2-cat-header.current { background: #eef4ff; }
.pro-rd2-cat-title { font-size: 14px; font-weight: 650; color: #101828; }
.pro-rd2-cat-count { font-size: 12px; color: #667085; font-variant-numeric: tabular-nums; }
.pro-rd2-table { background: #fff; }
.pro-rd2-row { display: flex; border-bottom: 1px solid #f2f4f7; }
.pro-rd2-row:last-child { border-bottom: none; }
.pro-rd2-row.single-row .pro-rd2-cell { flex: 1; max-width: 100%; }
.pro-rd2-cell {
  flex: 1; min-width: 0; padding: 12px 12px; display: flex; align-items: center;
  justify-content: space-between; cursor: pointer; border-right: 1px solid #f2f4f7;
  gap: 8px;
}
.pro-rd2-cell:last-child { border-right: none; }
.pro-rd2-cell.empty { background: #fafafa; cursor: default; }
.pro-rd2-cell.is-abnormal { background: linear-gradient(90deg, rgba(240, 68, 56, 0.04), transparent 48%); }
.pro-rd2-cell-content { display: flex; align-items: flex-start; gap: 8px; flex: 1; min-width: 0; }
.pro-rd2-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.pro-rd2-cell-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pro-rd2-item-name { font-size: 13px; color: #101828; line-height: 1.35; word-break: break-word; font-weight: 500; display: block; }
.pro-rd2-inline-row { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; min-width: 0; }
.pro-rd2-inline-status { font-size: 12px; font-weight: 500; }
.pro-rd2-status-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--rd2-status, #475467);
  background: #f2f4f7;
  border: 1px solid #e4e7ec;
  white-space: normal;
  word-break: break-word;
}
.pro-rd2-status-chip.is-abnormal {
  color: #d92d20;
  background: #fef3f2;
  border-color: #fecdca;
}
/* 双列：窄格内名称与原因分行，避免被 › 挤掉 */
.pro-rd2-cell.is-dual {
  align-items: flex-start;
  padding: 10px 8px;
}
.pro-rd2-cell.is-dual .pro-rd2-item-name { font-size: 12px; }
.pro-rd2-cell.is-dual .pro-rd2-status-chip { font-size: 10px; padding: 1px 6px; }
.pro-rd2-media-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  color: #344054;
  background: #f2f4f7;
}
.pro-rd2-inline-desc { font-size: 11px; color: #667085; margin-top: 4px; display: block; line-height: 1.4; }
.pro-rd2-cell-arrow { color: #c0c6d0; font-size: 18px; flex-shrink: 0; line-height: 1; }

/* 只看异常：单列清单，更接近缺陷报告扫读 */
.pro-rd2-table.defects-list .pro-rd2-cell {
  padding: 13px 14px;
}
.pro-rd2-table.defects-list .pro-rd2-item-name {
  font-size: 14px;
}
.pro-rd2-table.defects-list .pro-rd2-status-chip {
  font-size: 12px;
  padding: 3px 9px;
}
.pro-rd2-cat-block.defects-mode .pro-rd2-cat-count {
  color: #d92d20;
  font-weight: 600;
}

/* 详情2 子页 */
.pro-rd2-item-view { background: #fff; }
.pro-rd2-item-tabs { display: flex; overflow-x: auto; padding: 8px 12px; gap: 8px; border-bottom: 1px solid #eee; }
.pro-rd2-item-tab {
  flex-shrink: 0; padding: 6px 12px; border-radius: 16px; border: 1px solid #ddd;
  font-size: 12px; background: #fff; cursor: pointer; display: flex; align-items: center; gap: 4px;
}
.pro-rd2-item-tab.active { background: #edf4ff; border-color: #2e6bd9; color: #2e6bd9; }
.pro-rd2-item-dot { width: 6px; height: 6px; border-radius: 50%; }
.pro-rd2-media-area { padding: 12px; max-width: 480px; margin: 0 auto; }
.pro-rd2-media-indicator { text-align: center; font-size: 13px; color: #666; margin-bottom: 8px; }
.pro-rd2-media-box { text-align: center; position: relative; }
.pro-rd2-media-box img { max-width: 100%; border-radius: 8px; cursor: pointer; }
.pro-rd2-media-box video { max-width: 100%; border-radius: 8px; }
.pro-rd2-media-nav { display: flex; justify-content: space-between; margin-top: 12px; }
.pro-rd2-nav-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid #ddd;
  background: #fff; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.pro-rd2-nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.pro-rd2-status-section { padding: 12px 16px 24px; max-width: 480px; margin: 0 auto; }
.pro-rd2-status-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.pro-rd2-status-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.pro-rd2-status-tag { font-size: 12px; padding: 4px 8px; border-radius: 6px; }
.pro-rd2-term-explanations { display: grid; gap: 8px; margin-top: 10px; }
.pro-rd2-term-explanation {
  padding: 10px 12px;
  border-radius: 10px;
  background: #f7f8fa;
  border-left: 3px solid #e5484d;
}
.pro-rd2-term-explanation span { display: block; color: #c9302c; font-size: 13px; font-weight: 700; }
.pro-rd2-term-explanation p { margin: 4px 0 0; color: #667085; font-size: 12px; line-height: 1.55; }
.pro-rd2-cell .pro-rd2-term-explanations { width: 100%; margin-top: 6px; }
.pro-rd2-cell .pro-rd2-term-explanation { padding: 7px 9px; }
.pro-rd2-cell .pro-rd2-term-explanation p { margin-top: 2px; }
.pro-rd2-no-media { padding: 40px 16px; text-align: center; color: #999; }

.pro-rd2-dot.abnormal,
.pro-rd2-item-dot.abnormal {
  background-color: #f5222d !important;
}

/* 车辆信息 / 车辆照片 */
.pro-rd2-vehicle-card {
  background: #fff;
  border-radius: 12px;
  padding: 14px 12px;
  margin: 0 12px 8px;
  border: 1px solid #f0f0f0;
}

.pro-rd2-vehicle-card-photos {
  padding-bottom: 16px;
}

.pro-rd2-vehicle-card-photos .pro-rd2-photo-thumb {
  aspect-ratio: 4 / 3;
}

.pro-rd2-vehicle-card-photos .pro-rd2-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0b0b0d;
}

.pro-rd2-vehicle-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #1c1c1e;
}

.pro-rd2-vehicle-icon {
  font-size: 18px;
  line-height: 1;
}

.pro-rd2-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
}
.pro-rd2-info-column {
  display: grid;
  grid-template-rows: minmax(96px, auto) minmax(72px, auto) minmax(72px, auto);
  gap: 10px;
  min-width: 0;
}

.pro-rd2-info-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 5px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(75, 184, 232, .2);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(236, 249, 255, .94), rgba(246, 251, 255, .98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
  font-size: 13px;
  line-height: 1.45;
}

.pro-rd2-info-item.is-wide {
  grid-column: 1 / -1;
}

.pro-rd2-info-label {
  flex-shrink: 0;
  color: #7b8c9e;
  font-size: 13px;
  white-space: nowrap;
}

.pro-rd2-info-value {
  color: #14283d;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: anywhere;
}

@media (max-width: 380px) {
  .pro-rd2-vehicle-card { padding: 10px 8px; }
  .pro-rd2-info-grid,
  .pro-rd2-info-column { gap: 8px; }
  .pro-rd2-info-item { padding: 10px; }
  .pro-rd2-info-value { font-size: 14px; }
}

.pro-rd2-info-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #8e8e93;
  font-size: 14px;
  padding: 24px 12px;
}

.pro-rd2-sanfei-card .pro-rd2-condition-title {
  text-align: center;
}

.pro-rd2-sanfei-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.pro-rd2-sanfei-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  background: #f2f4f7;
  color: #475467;
  text-align: center;
}

.pro-rd2-sanfei-chip.is-ok {
  background: #ecfdf3;
  color: #027a48;
}

.pro-rd2-sanfei-chip.is-bad {
  background: #fef3f2;
  color: #b42318;
}

.pro-rd2-sanfei-chip.is-pending {
  background: #f2f4f7;
  color: #98a2b3;
  font-weight: 500;
}

.pro-rd2-photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.pro-rd2-photo-thumb {
  position: relative;
  border: none;
  padding: 0;
  margin: 0;
  background: #f2f2f7;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.pro-rd2-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-orientation: from-image;
}

.pro-rd2-photo-more::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.pro-rd2-photo-more-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  z-index: 1;
  padding: 4px;
  text-align: center;
}

.pro-rd-hidden { display: none !important; }

/* 检测记录 · 冰川 HUD 全页面视觉系统 */
.pro-rd2-view {
  --ice-ink: #0b2239;
  --ice-muted: #668198;
  --ice-line: rgba(61, 174, 224, .22);
  --ice-blue: #158ee8;
  --ice-cyan: #42d7f5;
  background:
    radial-gradient(circle at 90% 0%, rgba(69, 211, 247, .18), transparent 32%),
    linear-gradient(180deg, #eaf7fd 0%, #f5f9fc 35%, #eef4f8 100%);
}
.pro-rd2-view .pro-rd2-content { max-width: 560px; }
.pro-rd2-view .pro-rd2-tabs {
  padding: 4px 8px 0;
  background: #081b2e;
  border-bottom-color: rgba(93, 220, 255, .22);
  scrollbar-width: none;
}
.pro-rd2-view .pro-rd2-tabs::-webkit-scrollbar { display: none; }
.pro-rd2-view .pro-rd2-tab { color: #83a9bd; padding: 11px 12px 12px; }
.pro-rd2-view .pro-rd2-tab.active { color: #eafcff; text-shadow: 0 0 12px rgba(72, 221, 255, .65); }
.pro-rd2-view .pro-rd2-tab.active::after { height: 3px; background: linear-gradient(90deg, #239dff, #62efff); box-shadow: 0 0 9px #43d9ff; }
.pro-rd2-view .pro-rd2-tab-count { color: #668fa6; }
.pro-rd2-view .pro-rd2-filters {
  padding: 9px 10px;
  background: rgba(244, 251, 255, .92);
  border-bottom-color: var(--ice-line);
  backdrop-filter: blur(12px);
}
.pro-rd2-view .pro-rd2-filter-btn {
  border-color: rgba(38, 150, 215, .35);
  color: #1a6fa6;
  background: rgba(255,255,255,.72);
}
.pro-rd2-view .pro-rd2-filter-btn.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #147fe0, #27b9ed);
  box-shadow: 0 5px 14px rgba(20, 136, 216, .24);
}
.pro-rd2-view .pro-rd2-scroll { padding-top: 10px; }
.pro-rd2-view .pro-rd2-condition-card,
.pro-rd2-view .pro-rd2-cat-block {
  border: 1px solid var(--ice-line);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 10px 28px rgba(31, 90, 124, .08), inset 0 1px rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
}
.pro-rd2-view .pro-rd2-condition-card { position: relative; overflow: hidden; }
.pro-rd2-view .pro-rd2-condition-card::before,
.pro-rd2-view .pro-rd2-cat-block::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 3px;
  height: 26px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(#35dcf4, #1689e7);
  box-shadow: 0 0 10px rgba(31, 190, 239, .55);
}
.pro-rd2-view .pro-rd2-cat-block { position: relative; }
.pro-rd2-view .pro-rd2-condition-title,
.pro-rd2-view .pro-rd2-cat-title { color: var(--ice-ink); letter-spacing: .2px; }
.pro-rd2-view .pro-rd2-cat-header {
  padding: 12px 14px 12px 17px;
  background: linear-gradient(90deg, rgba(226, 246, 255, .96), rgba(248, 252, 255, .9));
  border-bottom-color: var(--ice-line);
}
.pro-rd2-view .pro-rd2-cat-header.current { background: linear-gradient(90deg, #d9f3ff, #f5fbff); }
.pro-rd2-view .pro-rd2-cat-count { color: #248ac5; }
.pro-rd2-view .pro-rd2-vehicle-card { margin: 0; border: 0; border-radius: 0; background: transparent; }
.pro-rd2-view .pro-rd2-info-item {
  padding: 10px 11px;
  border: 1px solid rgba(67, 171, 218, .14);
  border-radius: 10px;
  background: rgba(239, 249, 254, .72);
}
.pro-rd2-view .pro-rd2-info-label { color: #6b879a; }
.pro-rd2-view .pro-rd2-info-value { color: #102b43; }
.pro-rd2-view .pro-rd2-sanfei-card { background: linear-gradient(120deg, rgba(237, 251, 255, .96), rgba(255,255,255,.86)); }
.pro-rd2-view .pro-rd2-sanfei-chip { border: 1px solid rgba(43, 165, 211, .16); }
.pro-rd2-view .pro-rd2-sanfei-chip.is-ok { background: rgba(224, 250, 242, .88); color: #087a5a; }
.pro-rd2-view .pro-rd2-table,
.pro-rd2-view .pro-rd2-row { background: transparent; }
.pro-rd2-view .pro-rd2-row { border-bottom-color: rgba(55, 147, 191, .11); }
.pro-rd2-view .pro-rd2-cell { border-right-color: rgba(55, 147, 191, .11); }
.pro-rd2-view .pro-rd2-cell.is-abnormal {
  background: linear-gradient(90deg, rgba(255, 87, 77, .075), rgba(255,255,255,0) 72%);
}
.pro-rd2-view .pro-rd2-item-name { color: #112b42; }
.pro-rd2-view .pro-rd2-status-chip { border-color: rgba(75, 146, 181, .18); background: rgba(230, 242, 248, .75); }
.pro-rd2-view .pro-rd2-status-chip.is-abnormal { color: #cf3e38; border-color: rgba(236, 82, 74, .26); background: rgba(255, 240, 239, .9); }
.pro-rd2-view .pro-rd2-term-explanation {
  background: linear-gradient(90deg, rgba(255, 244, 243, .95), rgba(245, 250, 253, .78));
  border-left-color: #ef5c55;
}
.pro-rd2-view .pro-rd2-photo-thumb { border: 1px solid rgba(66, 186, 230, .26); box-shadow: 0 5px 14px rgba(24, 84, 120, .11); }
.pro-rd2-view .pro-rd2-cover-body { background: transparent; }
.pro-rd2-view .pro-rd2-cover-selected { padding: 12px; border-radius: 12px; background: rgba(232, 247, 253, .65); border: 1px solid rgba(64, 173, 220, .18); }
.pro-rd2-view .pro-rd2-cover-um-cell { background: rgba(255,255,255,.72); border-color: rgba(62, 162, 207, .17); }
.pro-rd2-view .pro-rd2-cover-chip { border-color: rgba(59, 158, 205, .2); background: rgba(248, 253, 255, .9); }
.pro-rd2-view .pro-rd2-cover-chip.is-on { border-color: #168ee7; background: linear-gradient(135deg, #1685df, #25b6eb); box-shadow: 0 5px 14px rgba(21, 139, 218, .22); }

@media (max-width: 360px) {
  .pro-rd2-hud-grid { gap: 3px; }
  .pro-rd2-hud-grid strong { font-size: 19px; }
  .pro-rd2-hud-grid span { font-size: 9px; }
}

.pro-share-sheet {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.pro-share-sheet.hidden {
  display: none;
}

.pro-share-sheet-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.pro-share-sheet-panel {
  position: relative;
  width: min(100%, 480px);
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
}

.pro-share-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.pro-share-sheet-title {
  font-size: 16px;
  font-weight: 700;
  color: #1c1c1e;
}

.pro-share-sheet-close {
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: #8e8e93;
  cursor: pointer;
  padding: 0 4px;
}

.pro-share-sheet-hint {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #666;
}

.pro-share-sheet-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: #8e8e93;
}

.pro-share-sheet-link {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e5e5ea;
  border-radius: 10px;
  padding: 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #007aff;
  background: #f9f9fb;
  margin-bottom: 12px;
}

.pro-share-sheet-text {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e5e5ea;
  border-radius: 10px;
  padding: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #333;
  resize: none;
  background: #f9f9fb;
  margin-bottom: 12px;
}

.pro-share-sheet-text.hidden {
  display: none;
}

.pro-share-sheet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.pro-share-sheet-btn.ghost {
  width: 100%;
  margin-top: 0;
}

.pro-share-sheet-btn {
  flex: 1;
  border: 1px solid #d1d1d6;
  background: #fff;
  color: #333;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 10px;
  border-radius: 10px;
  cursor: pointer;
}

.pro-share-sheet-btn.primary {
  border-color: #007aff;
  background: #007aff;
  color: #fff;
}

.pro-share-sheet-btn:active {
  opacity: 0.88;
}
