:root { color-scheme: light; font-family: Georgia, serif; background: #f4f1eb; color: #292725; }
* { box-sizing: border-box; }
body { margin: 0; }
.shell { width: min(100% - 28px, 680px); margin: 0 auto; padding: 24px 0 48px; }
.topbar, .section-heading, .send-row, .note-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
h1 { margin: 0; font-size: 2rem; font-weight: 500; }
h2 { margin: 0; font-size: 1.2rem; font-weight: 500; }
.identity { display: flex; gap: 6px; }
button, select, textarea { font: inherit; }
button { border: 1px solid #bdb5aa; border-radius: 6px; background: #fffdfa; color: inherit; padding: 10px 12px; cursor: pointer; }
button.selected, button:active { background: #292725; color: #fffdfa; }
.identity-label, .status, .empty { color: #716b65; font-size: .9rem; }
.composer { margin: 24px 0 34px; }
textarea { display: block; width: 100%; min-height: 150px; resize: vertical; border: 1px solid #bdb5aa; border-radius: 8px; padding: 14px; background: #fffdfa; font-size: 1.15rem; }
.choices { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0; }
.choices button { padding: 7px 9px; font-size: .9rem; }
.send-row { justify-content: flex-end; }
select { min-width: 130px; border: 1px solid #bdb5aa; border-radius: 6px; padding: 10px; background: #fffdfa; }
.send { background: #292725; color: #fffdfa; min-width: 100px; }
.status { min-height: 1.2em; }
.section-heading { border-bottom: 1px solid #d5cec4; padding-bottom: 8px; }
.history { display: grid; gap: 10px; margin-top: 14px; }
.note { max-width: 88%; border: 1px solid #d5cec4; border-radius: 8px; padding: 12px; background: #fffdfa; }
.note.sent { margin-left: auto; background: #e6e0d7; }
.note p { margin: 8px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.note-meta { font-size: .78rem; color: #716b65; }
.stamp { display: block; color: #716b65; font-size: .8rem; }
.react { margin-top: 8px; padding: 5px 8px; font-size: .8rem; }
@media (max-width: 520px) { .topbar { align-items: flex-start; flex-direction: column; } .identity { width: 100%; } .identity button { flex: 1; } .note { max-width: 94%; } }