.rl-clean-reply-active .rl-clean-reply-form textarea[name="body"] {
  min-height: 230px;
  resize: vertical;
  line-height: 1.65;
}

.rl-reply-context {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(91, 199, 236, 0.16);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(42,121,157,.12), rgba(21,39,50,.18));
}

.rl-reply-mode-chip {
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid rgba(98, 210, 245, 0.24);
  border-radius: 999px;
  color: #c8f2ff;
  background: rgba(57, 163, 205, 0.12);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.rl-reply-context-hint {
  min-width: 0;
  color: #8ca4af;
  font-size: 11px;
  line-height: 1.4;
}

.rl-quoted-message {
  margin: 12px 0 4px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 10px;
  background: rgba(8,16,22,.34);
}

.rl-quoted-message-summary {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  color: #93a8b3;
  cursor: pointer;
  list-style: none;
}

.rl-quoted-message-summary::-webkit-details-marker { display: none; }

.rl-quoted-message-summary:hover {
  color: #c8d6dc;
  background: rgba(255,255,255,.025);
}

.rl-quote-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 24px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 7px;
  color: #78909b;
  background: rgba(255,255,255,.025);
  font-size: 9px;
  letter-spacing: 2px;
}

.rl-quote-label {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rl-quote-action {
  color: #6dc7e7;
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
}

.rl-quoted-message-body {
  max-height: 320px;
  margin: 0;
  overflow: auto;
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(255,255,255,.06);
  color: #7f929c;
  background: rgba(0,0,0,.16);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.rl-reply-compose-hint {
  display: inline-flex;
  margin-left: 12px;
  color: #667b86;
  font-size: 10px;
}

@media (max-width: 700px) {
  .rl-reply-context {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .rl-clean-reply-active .rl-clean-reply-form textarea[name="body"] {
    min-height: 190px;
  }

  .rl-quote-label { white-space: normal; }
  .rl-reply-compose-hint { display: none; }
}
