/* letters.css: Letters (letters.js). Owned by stream W; linked from index.html after lists.css. */
.lt-write { margin: 14px 0 18px; }
.lt-write .btn { width: 100%; max-width: 420px; }
.lt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.lt-card { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 28px; border-radius: var(--radius); border: 1px solid var(--line-card);
  background: var(--card); color: var(--bone-dim); min-width: 0; transition: border-color .2s var(--ease); }
@media (hover: hover) { a.lt-card:hover { border-color: var(--sea-line); } }
.lt-card.flat { padding-bottom: 18px; margin-top: 20px; max-width: 760px; }
.lt-card.flat .m-grp { margin-top: 0; }
.lt-card.flat p { margin: 0 0 8px; }
.lt-h b { font: 400 21px/1.25 var(--serif); color: var(--bone); overflow-wrap: anywhere; }
.lt-meta { font-size: var(--fs-sm); color: var(--bone-faint); }
.lt-pre { font: 400 var(--fs-lg)/1.5 var(--serif); color: var(--bone-dim); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.lt-dl { font-size: var(--fs-sm); color: var(--sea); }
.lt-dl.bad, .lt-page .bad { color: var(--rose); }
.lt-birth { margin: 10px 0 14px; padding: 14px 16px; border: 1px solid var(--line-card); border-radius: var(--radius); background: var(--card); max-width: 520px; }
.lt-birth p { margin: 0 0 10px; color: var(--bone-dim); font-size: var(--fs-md); line-height: 1.5; }
.lt-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lt-page input[type=date], .lt-page input[type=text], .lt-page select, .lt-page textarea { border: 1px solid var(--line-strong); background: var(--ink-1); color: var(--bone);
  border-radius: var(--radius-sm); padding: 9px 12px; font-size: var(--fs-lg); max-width: 100%; }
.lt-actions, .lt-confirm { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; align-items: center; }
.lt-actions .btn-quiet { border: 1px solid var(--line-strong); }
.lt-actions .danger { color: var(--rose); }
.lt-confirm { padding: 10px 14px; border: 1px solid var(--rose-line); border-radius: var(--radius); }
.lt-confirm p { margin: 0 8px 0 0; }
.lt-text { max-width: 720px; white-space: pre-wrap; overflow-wrap: anywhere; font: 400 19px/1.65 var(--serif); color: var(--bone); user-select: text; }
.lt-ch small { color: var(--rose); }
.lt-form { max-width: 720px; display: flex; flex-direction: column; gap: 16px; }
.lt-form .m-head { margin: 0; }
.lt-kind { margin: 0; font: italic 400 17px/1.4 var(--serif); color: var(--bone-dim); }
.lt-ages { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.lt-ages label { display: flex; align-items: center; gap: 8px; color: var(--bone-faint); font-size: var(--fs-md); }
.lt-editor { width: 100%; min-height: 280px; resize: vertical; font: 400 18px/1.6 var(--serif); }
.lt-editor::placeholder { color: var(--bone-faint); font-style: italic; }
.lt-dict { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lt-mic { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--ink-2); color: var(--bone); display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.lt-mic.on { background: var(--sea); color: var(--ink-0); }
.lt-dict-s { color: var(--bone-faint); font-size: var(--fs-md); min-width: 0; overflow-wrap: anywhere; }
.lt-dict-s.bad { color: var(--rose); }
.lt-deliv > div { display: flex; flex-direction: column; gap: 10px; }
.lt-check, .lt-date { display: flex; align-items: center; gap: 10px; font-size: var(--fs-base); color: var(--bone-dim); }
.lt-note { font-size: var(--fs-sm); color: var(--bone-faint); }
.lt-save { display: flex; gap: 10px; align-items: center; padding-bottom: 20px; }
.lt-save .btn:disabled { opacity: .45; }
.lt-sec { margin: 0 0 8px; }
.lt-sec .m-grp { margin-top: 22px; }
