.admin-content .feedback-message-button {
  display: block;
  max-width: 240px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.feedback-message-button .td-msg { max-width: 100%; }
.feedback-message-label {
  display: block;
  margin-top: 5px;
  color: var(--accent-soft, #a29bfe);
  font-size: 11px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.feedback-message-button:hover .feedback-message-label { color: #c8c2ff; }
.feedback-message-button:focus-visible {
  outline: 2px solid var(--accent-soft, #a29bfe);
  outline-offset: 4px;
  border-radius: 3px;
}
.mail-overlay .mail-panel {
  width: 800px;
  max-width: calc(100vw - 32px);
  max-height: 90vh;
  max-height: 90dvh;
}
.mail-overlay .mail-head h3 {
  min-width: 0;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.mail-overlay .mail-head > button { flex-shrink: 0; }
.mail-overlay .mail-body { min-height: 0; overscroll-behavior: contain; }
.feedback-context {
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid var(--border-mid, rgba(255, 255, 255, .1));
  border-radius: 10px;
  background: var(--bg-elevated, #1a1d24);
  color: var(--text-primary, #e8eaed);
}
.feedback-context-heading {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
}
.feedback-context-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
  margin: 0;
}
.feedback-context-field { min-width: 0; }
.feedback-context-field dt {
  margin-bottom: 4px;
  color: var(--text-secondary, #9aa0a8);
  font-size: 11px;
}
.feedback-context-field dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.feedback-context-message-label {
  margin: 20px 0 8px;
  color: var(--text-secondary, #9aa0a8);
  font-size: 11px;
  font-weight: 500;
}
.feedback-context-message {
  padding: 14px;
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, .06));
  border-radius: 6px;
  background: var(--bg-surface, #121418);
  font-size: 13px;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: normal;
}
@media (max-width: 600px) {
  .mail-overlay .mail-panel { max-width: calc(100vw - 20px); max-height: 94vh; max-height: 94dvh; }
  .mail-overlay .mail-head { padding: 14px; gap: 12px; }
  .mail-overlay .mail-body { padding: 14px; }
  .feedback-context { padding: 14px; }
  .feedback-context-fields { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .feedback-context-message { padding: 12px; }
}
