.adminSupportCard {
  padding: 18px;
}

.adminSupportToolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(140px, 0.8fr)) auto;
  gap: 14px;
  align-items: end;
}

.adminSupportToolbarButtons {
  display: flex;
  gap: 10px;
  align-items: end;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.adminSupportQueryField {
  min-width: 0;
}

.adminSupportGrid {
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(0, 1.25fr);
  gap: 18px;
  align-items: start;
}

.adminSupportTable {
  min-width: 760px;
}

.adminSupportTable tbody tr {
  cursor: pointer;
}

.adminSupportTable tbody tr:hover {
  background: rgba(124, 45, 131, 0.05);
}

.adminSupportRowActive {
  background: rgba(18, 61, 116, 0.08);
}

.adminSupportImpactCell {
  font-weight: 800;
}

.adminSupportImpactLow {
  color: #15803d;
}

.adminSupportImpactMedium {
  color: #b45309;
}

.adminSupportImpactHigh {
  color: #c2410c;
}

.adminSupportImpactCritical {
  color: #b91c1c;
}

.adminSupportSectionHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: #123d74;
}

.adminSupportEmpty {
  color: #475569;
  padding: 18px 6px;
}

.adminSupportDetailHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.adminSupportDetailHeader h2 {
  margin: 0 0 6px;
  color: #123d74;
  font-size: 28px;
}

.adminSupportMetaGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.adminSupportMetaGrid .reportDetailCard {
  padding: 14px;
}

.adminSupportBodyCard {
  display: grid;
  gap: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.adminSupportSubject {
  font-size: 20px;
  font-weight: 900;
  color: #123d74;
}

.adminSupportDetailsText {
  white-space: pre-wrap;
  line-height: 1.5;
  color: #334155;
}

.adminSupportEditGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.adminSupportEditGrid .fullSpan {
  grid-column: 1 / -1;
}

.adminSupportSubPanel {
  margin-bottom: 14px;
}

.adminSupportAttachmentList,
.adminSupportActivityList {
  display: grid;
  gap: 12px;
  padding: 0 18px 18px;
}

.adminSupportAttachmentCard {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 12px;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
}

.adminSupportAttachmentThumb {
  display: block;
  width: 110px;
  height: 110px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #dbe3ef;
  background: #fff;
}

.adminSupportAttachmentThumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.adminSupportAttachmentInfo {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.adminSupportActivityItem {
  padding: 12px 14px;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
}

.adminSupportActivityMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #123d74;
  margin-bottom: 6px;
}

.adminSupportActivityNote {
  white-space: pre-wrap;
  color: #334155;
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .adminSupportToolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .adminSupportGrid {
    grid-template-columns: 1fr;
  }

  .adminSupportMetaGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .adminSupportToolbar,
  .adminSupportEditGrid,
  .adminSupportMetaGrid {
    grid-template-columns: 1fr;
  }

  .adminSupportAttachmentCard {
    grid-template-columns: 1fr;
  }

  .adminSupportAttachmentThumb {
    width: 100%;
    max-width: 220px;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}
