/* 申诉复核：与宿舍周检登记一致的紧凑卡片栅格（2026-11-19） */
.appeal-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 12px;
  padding: 4px 0 2px;
  align-items: stretch;
}

.appeal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid #e6ecf8;
  border-radius: 12px;
  padding: 12px 14px 10px;
  box-shadow: 0 1px 3px rgba(34, 50, 90, 0.06);
  transition: box-shadow 0.15s, border-color 0.15s;
  overflow: hidden;
}
.appeal-card:hover {
  box-shadow: 0 4px 12px rgba(34, 50, 90, 0.09);
  border-color: #cfdcf7;
}
/* 状态颜色条：卡片左侧 3px 宽边 */
.appeal-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: #cfdcf7;
}
.appeal-card.appeal-待复核::before { background: #f5a623; }
.appeal-card.appeal-已复核::before { background: #409eff; }
.appeal-card.appeal-已撤回::before { background: #9ca3af; }

.ac-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}
.ac-title {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  min-width: 0;
}
.ac-name {
  font-size: 16px;
  font-weight: 700;
  color: #22325a;
  line-height: 1.3;
}
.ac-avatar {
  flex: 0 0 32px;
  border: 1.5px solid #fff;
  box-shadow: 0 1px 3px rgba(23, 38, 74, .12);
  background: #dbe7fc;
  color: #2f5bd7;
  font-size: 12px;
  font-weight: 600;
}
.ac-no {
  font-size: 12px;
  color: #8a96ae;
  background: #f4f6fc;
  padding: 1px 7px;
  border-radius: 10px;
  font-variant-numeric: tabular-nums;
}
.ac-point-tag {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #eef3ff;
  color: #3a5fcf;
  font-weight: 700;
  white-space: nowrap;
}
.ac-point-tag.plain {
  background: #f4f6fc;
  color: #52607a;
}
.ac-status { flex-shrink: 0; }

.ac-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
  margin-bottom: 10px;
}
.ac-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
  font-size: 12px;
  line-height: 1.5;
}
.ac-label {
  flex-shrink: 0;
  width: 78px;
  color: #919db5;
  text-align: right;
  font-weight: 500;
}
.ac-val {
  flex: 1;
  min-width: 0;
  color: #2c3957;
  word-break: break-word;
}
.ac-val.reason { color: #3d4a66; }
.ac-row:has(.reason), .ac-row:has(.ac-evidence) { grid-column: 1 / -1; }

.ac-evidence {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  border: 1px solid #e4e9f4;
  cursor: zoom-in;
}

.ac-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed #e4e9f4;
}
.ac-time {
  font-size: 12px;
  color: #a0acc2;
}

/* 窄屏保持单列，避免字段拥挤 */
@media (max-width: 640px) {
  .appeal-list { grid-template-columns: 1fr; gap: 10px; }
  .appeal-card { padding: 12px; border-radius: 10px; }
  .ac-name { font-size: 15px; }
  .ac-no, .ac-point-tag { font-size: 11px; }
  .ac-body { grid-template-columns: 1fr; gap: 5px; }
  .ac-row:has(.reason), .ac-row:has(.ac-evidence) { grid-column: auto; }
  .ac-label { width: 78px; text-align: left; }
  .ac-evidence { width: 64px; height: 64px; }
}
