/* jev-dm.css — Direct messages (PR S3). Busy presentation: mint pills,
   bold names, full-color coins (via fedm8-coins), AA text colors. */
.jdm-panel { margin: 0 0 16px; }
.jdm-thread, .jdm-list { font-family: inherit; color: #10282c; }
.jdm-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  background: #e9f7ef; border: 1px solid #bfe3cf; border-radius: 14px 14px 0 0; }
.jdm-avatar { display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: #0b5563; color: #fff;
  font-weight: 800; font-size: 13px; flex: 0 0 auto; }
.jdm-avatar.lg { width: 42px; height: 42px; font-size: 15px; }
.jdm-who { flex: 1 1 auto; min-width: 0; }
.jdm-name { background: none; border: 0; padding: 0; font: inherit; font-weight: 800;
  font-size: 16px; color: #0b3d45; cursor: pointer; text-align: left; }
.jdm-sub { margin: 2px 0 0; font-size: 12px; color: #33565c; }
.jdm-coins { display: inline-flex; align-items: center; }
.jdm-block { background: #fff; border: 1px solid #c44; color: #933; border-radius: 999px;
  padding: 4px 12px; font-weight: 700; font-size: 12px; cursor: pointer; }
.jdm-msgs { border: 1px solid #d8e4e0; border-top: 0; padding: 12px 14px;
  display: flex; flex-direction: column; gap: 10px; background: #fff; }
.jdm-msg { max-width: 82%; background: #f2f6f4; border-radius: 12px; padding: 8px 12px; }
.jdm-msg.mine { align-self: flex-end; background: #dff3e6; }
.jdm-msg-body { margin: 0; font-size: 14px; line-height: 1.45; white-space: pre-wrap;
  overflow-wrap: anywhere; }
.jdm-msg-meta { margin: 4px 0 0; font-size: 11px; color: #47636a; font-weight: 600; }
.jdm-report { background: none; border: 0; padding: 2px 0 0; font-size: 11px;
  color: #7a4a12; font-weight: 700; cursor: pointer; }
.jdm-reported { font-size: 11px; color: #47636a; font-weight: 700; }
.jdm-composer { border: 1px solid #d8e4e0; border-top: 0; border-radius: 0 0 14px 14px;
  padding: 10px 14px; background: #fbfdfc; display: flex; flex-wrap: wrap; gap: 8px;
  align-items: flex-end; }
.jdm-ack { display: flex; gap: 8px; align-items: flex-start; width: 100%;
  font-size: 12px; color: #243f45; font-weight: 600; }
.jdm-ack input { accent-color: var(--olive, #526547); }
.jdm-input { flex: 1 1 220px; font: inherit; font-size: 14px; border: 1px solid #b9cdc6;
  border-radius: 10px; padding: 8px 10px; }
.jdm-send { background: #0b5563; color: #fff; border: 0; border-radius: 999px;
  padding: 9px 20px; font-weight: 800; font-size: 14px; cursor: pointer; }
.jdm-send:disabled { opacity: .55; }
.jdm-error { width: 100%; margin: 0; font-size: 13px; color: #933; font-weight: 700; scroll-margin: 96px 0 120px; }
.jdm-gate { border: 1px solid #e5cf9e; background: #fdf6e0; border-radius: 12px;
  padding: 12px 14px; font-size: 14px; font-weight: 600; color: #57430c; }
.jdm-empty { font-size: 13px; color: #47636a; padding: 10px 2px; }
.jdm-list { display: flex; flex-direction: column; gap: 6px; }
.jdm-row { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  background: #fff; border: 1px solid #d8e4e0; border-radius: 12px; padding: 9px 12px;
  cursor: pointer; font: inherit; }
.jdm-row-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.jdm-row-top { display: flex; align-items: center; gap: 8px; }
.jdm-row-name { font-weight: 800; font-size: 14px; color: #0b3d45; }
.jdm-row-when { margin-left: auto; font-size: 11px; color: #47636a; font-weight: 600; }
.jdm-row-preview { font-size: 13px; color: #33565c; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }
.jdm-unread { background: #12a150; color: #fff; border-radius: 999px; min-width: 22px;
  height: 22px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; padding: 0 6px; }
/* r15/r18 (owner direction 2026-10-16): a first line filled in for you, and the new-chat cap. */
.jdm-firstline { flex: 1 1 100%; width: 100%; margin: 0; color: #586653; font-size: 12px; }
.jdm-cap { flex: 1 1 100%; width: 100%; margin: 2px 0 0; color: #586653; font-size: 12px; order: 9; }
.jdm-composer .jdm-firstline + .jdm-input { flex-basis: 100%; min-height: 84px; }
