.retention-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}
.retention-summary .card {
  margin: 0;
  padding: 22px;
}
.retention-summary b {
  display: block;
  font-size: 28px;
  margin-top: 10px;
}
.retention-drop {
  border: 2px dashed #ccd7d9;
  border-radius: 18px;
  background: #f7f9f8;
  padding: 25px;
  text-align: center;
  outline: none;
}
.retention-drop:focus,
.retention-drop.drag {
  border-color: #dc7353;
  background: #fff5ef;
}
.retention-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0;
}
.retention-tier {
  position: relative;
  cursor: pointer;
  padding: 18px;
  border: 2px solid #e3e9e8;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.retention-tier:has(input:checked) {
  border-color: #d66b4c;
  background: #fff4ed;
}
.retention-tier input {
  position: absolute;
  right: 12px;
  top: 12px;
}
.retention-tier b {
  font-size: 25px;
  color: #ce6345;
}
.retention-list {
  overflow-x: auto;
}
.retention-list table {
  width: 100%;
  border-collapse: collapse;
  min-width: 850px;
}
.retention-list th,
.retention-list td {
  padding: 17px 12px;
  text-align: left;
  border-bottom: 1px solid #e5eaea;
  font-size: 14px;
  vertical-align: top;
}
.retention-list th {
  color: #829097;
  font-weight: 600;
}
.retention-image img {
  width: 120px;
  height: 100px;
  object-fit: contain;
}
.retention-images {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0;
}
.retention-alert {
  padding: 13px 16px;
  background: #fff5df;
  border-radius: 12px;
  margin: 12px 0;
  color: #8b6428;
}
.retention-inline-note {
  min-height: 30px;
  color: #3b735b;
  margin: 12px 0;
}
.retention-history {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}
.retention-review-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.6;
}
.retention-month {
  max-width: 200px;
}
.retention-table-order {
  overflow-wrap: anywhere;
  max-width: 170px;
}
@media (max-width: 850px) {
  .retention-summary {
    grid-template-columns: repeat(2, 1fr);
  }
  .retention-tiers {
    grid-template-columns: 1fr;
  }
  .retention-summary b {
    font-size: 24px;
  }
}
