.reader-empty { margin: auto; }
.reader-content { display: flex; flex-direction: column; min-height: 0; flex: 1; }

.reader-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--line);
}

.reader-head { padding: 14px 18px 10px; }
.r-subject { font-size: 18px; font-weight: 600; margin: 0 0 8px; line-height: 1.3; overflow-wrap: anywhere; }
.r-meta { display: grid; gap: 2px; font-size: 13px; }
.r-from { font-weight: 600; }

.notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 18px 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--fg-muted);
}

.attachments { list-style: none; margin: 0 18px 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.attachments:empty { display: none; }
.attachments a {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.attachments a:hover { background: var(--bg-alt); }

.r-body { flex: 1; width: 100%; border: 0; border-top: 1px solid var(--line); background: #fff; min-height: 200px; }
