.plain-button {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.download-link {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
}

.export-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  text-decoration: none;
  white-space: nowrap;
}

.review-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.review-summary article {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}

.review-summary small,
.review-summary span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.review-summary strong {
  display: block;
  margin: 5px 0;
  font: 800 24px Manrope, "Noto Sans KR";
}

.review-proof {
  display: grid;
  gap: 3px;
  min-width: 150px;
  font-size: 11px;
}

.review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.review-actions button,
.review-actions a {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.review-actions button[data-contact-approve] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.reply-composer {
  display: grid;
  gap: 10px;
}

.reply-composer textarea {
  min-height: 150px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 13px;
  line-height: 1.7;
}

.reply-composer footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

@media (max-width: 760px) {
  .review-summary { grid-template-columns: 1fr; }
  .export-button { width: 100%; }

  .review-panel {
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .review-panel .table-scroll { overflow: visible; }
  .review-table { display: block; min-width: 0; }
  .review-table thead { display: none; }
  .review-table tbody { display: grid; gap: 12px; }

  .review-table tr {
    display: grid;
    gap: 0;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 8px 26px rgba(21, 35, 59, .05);
  }

  .review-table td {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    min-width: 0;
    padding: 11px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    white-space: normal;
  }

  .review-table td:last-child { border-bottom: 0; }
  .review-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .02em;
  }

  .review-table .review-proof { min-width: 0; }
  .review-table .review-actions { min-width: 0; }
  .review-table .review-actions select { flex: 1 1 100%; min-width: 0; }
}
