/* Pro-inspection-recordList 复刻（对标 BuySale-Sale-list 蓝白卡片） */
.pro-record-list-view.view {
  padding: 0;
  max-width: none;
  min-height: 100vh;
  background: linear-gradient(180deg, #f7fbff 0%, #eef5fb 100%);
}

.pro-record-list-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 480px;
  margin: 0 auto;
}

.pro-record-list-back {
  border: none;
  background: transparent;
  color: #2e6bd9;
  font-size: 15px;
  padding: 12px 16px 0;
  cursor: pointer;
  text-align: left;
}

.pro-record-list-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 12px 12px 0;
  padding-bottom: env(safe-area-inset-bottom, 12px);
}

.pro-record-list-header {
  flex-shrink: 0;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #dbe8f4;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 5px 15px rgba(18, 51, 91, 0.06);
}

.pro-record-list-header-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pro-record-list-title {
  font-size: 18px;
  font-weight: 600;
  color: #12335b;
}

.pro-record-list-desc {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #7b92ab;
  line-height: 1.45;
}

.pro-record-admin-pill {
  font-size: 11px;
  font-weight: 600;
  color: #1f56c0;
  background: linear-gradient(180deg, #edf4ff 0%, #e2ecfc 100%);
  border: 1px solid #d4e3fb;
  padding: 3px 10px;
  border-radius: 999px;
}

.pro-record-sort-btn,
.pro-record-refresh-btn {
  margin-left: auto;
  border: 1px solid #cfe0f6;
  border-radius: 999px;
  padding: 5px 12px;
  color: #1f56c0;
  background: #f3f8ff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.pro-record-sort-btn {
  margin-left: 0;
}

.pro-record-sort-btn.active {
  color: #fff;
  background: linear-gradient(135deg, #2e6bd9 0%, #1f56c0 100%);
  border-color: #2e6bd9;
}

.pro-record-refresh-btn:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.pro-record-list-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.pro-record-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 16px;
}

.pro-record-card {
  display: flex;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #dbe8f4;
  box-shadow: 0 5px 14px rgba(18, 51, 91, 0.06);
}

.pro-record-card-left {
  position: relative;
  width: 72px;
  min-height: 120px;
  flex-shrink: 0;
  margin: 8px 0 8px 8px;
  border-radius: 10px;
  background: linear-gradient(180deg, #eef5fc 0%, #e7f0fa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pro-record-card-mark {
  font-size: 28px;
  font-weight: 700;
  color: #2e6bd9;
  opacity: 0.35;
}

.pro-record-status-tag {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 6px 0 8px 0;
  color: #fff;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.07);
}

.pro-record-status-tag.on-sale {
  background: linear-gradient(135deg, #2e6bd9 0%, #1f56c0 100%);
}

.pro-record-status-tag.draft {
  background: linear-gradient(135deg, #6e88a4 0%, #58708a 100%);
}

.pro-record-card-right {
  flex: 1;
  min-width: 0;
  padding: 10px 12px 10px 10px;
  display: flex;
  flex-direction: column;
}

.pro-record-row1-title {
  font-size: 16px;
  font-weight: 700;
  color: #12335b;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  word-break: break-all;
}

.pro-record-row2 {
  font-size: 12px;
  color: #4f6d8c;
  line-height: 1.4;
  margin-top: 4px;
}

.pro-record-row-inspector {
  font-size: 12px;
  color: #2e6bd9;
  line-height: 1.4;
  margin-top: 3px;
  font-weight: 600;
}

.pro-record-row-scheme {
  font-size: 12px;
  color: #1d4c7a;
  margin-top: 4px;
  line-height: 1.35;
}

.pro-record-row-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #eef4fb;
}

.pro-record-meta-date {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  color: #7b92ab;
}

.pro-record-meta-extra {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  color: #1f56c0;
  background: #edf4ff;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #d4e3fb;
}

.pro-record-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #f2f5f9;
}

.pro-record-btn {
  font-size: 11px;
  padding: 0 10px;
  height: 28px;
  line-height: 28px;
  border-radius: 14px;
  border: 1px solid #cfe0f1;
  cursor: pointer;
  white-space: nowrap;
  background: transparent;
}

.pro-record-btn-primary {
  background: linear-gradient(135deg, #2c6ad8 0%, #214fb7 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 3px 8px rgba(31, 86, 192, 0.2);
}

.pro-record-btn-edit {
  color: #1f56c0;
  border-color: #1f56c0;
}

.pro-record-btn-delete {
  color: #c24a4a;
  border-color: #c24a4a;
}

.pro-record-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 20px 40px;
  text-align: center;
}

.pro-record-empty-text {
  font-size: 14px;
  color: #7b92ab;
  margin-bottom: 8px;
}

.pro-record-empty-hint {
  font-size: 12px;
  color: #8aa0b9;
  line-height: 1.5;
}

.pro-record-loading {
  padding: 40px 16px;
  text-align: center;
  color: #7b92ab;
  font-size: 14px;
}

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