.echo-ledger { --seal:color-mix(in srgb,var(--accent) 50%,#a33428); }
#echo-total,#echo-preview,#echo-length,.echo-date,#echo-more,#echo-status { font-family:var(--mono); font-variant-numeric:tabular-nums }
#echo-total { color:var(--muted); white-space:nowrap; font-size:10px; letter-spacing:.06em }
#echo-form { padding:clamp(14px,2.5vw,28px); border:1px solid var(--line); background:var(--panel); }
#echo-preview { margin:0 0 12px; color:var(--muted); font-size:12px; }
.echo-compose,.echo-field { display:flex; align-items:center; gap:12px; }
.echo-field { flex:1; padding:0 12px; border:1px solid var(--line); background:var(--bg); min-width:0 }
.echo-field:focus-within { outline:1px solid var(--amber) }
#echo-note { width:100%; min-width:0; height:42px; border:0; background:transparent; color:var(--ink); outline:none; font:14px var(--serif) }
#echo-length { color:var(--muted); font-size:11px }
#echo-stamp { border:1px solid var(--seal); background:var(--seal); color:#fffaed; padding:12px 18px; border-radius:4px; letter-spacing:.04em; font:12px var(--mono); }
#echo-status { min-height:1.5em; margin:6px 0 0; font-size:11px; color:var(--muted) }
#echo-list { margin:14px 0 0; padding:0; list-style:none; }
#echo-list li { display:grid; grid-template-columns:8rem 1fr; align-items:baseline; gap:0 12px; padding:13px 4px; border-bottom:1px solid var(--line); }
.echo-date { white-space:nowrap; color:var(--muted); font-size:11px; }
.echo-date::before { content:""; display:inline-block; margin:0 10px 1px 0; width:7px; height:7px; border-radius:50%; background:var(--seal) }
.echo-trail { font-size:13px }
#echo-list blockquote { grid-column:2; margin:4px 0 0; color:var(--muted); overflow-wrap:anywhere; font-size:13px }
#echo-more { margin-top:12px; padding:8px 12px; border:1px solid var(--line); color:var(--ink); background:var(--panel); font-size:11px }
@media(prefers-reduced-motion:no-preference) {
  #echo-stamp.imprinted { animation:echo-press .42s ease-out }
  #echo-list .fresh .echo-date::before { animation:echo-press .42s ease-out }
  @keyframes echo-press { 0%{transform:scale(1.08)} 40%{transform:scale(.93)} 75%{transform:scale(1.02)} 100%{transform:scale(1)} }
}
@media(max-width:650px){
 .echo-compose { flex-wrap:wrap }
 .echo-field { flex-basis:100%; padding-inline:8px; gap:4px }
 #echo-note { font-size:16px }
 #echo-note::placeholder { font-size:11px }
 #echo-list li { grid-template-columns:1fr; gap:3px }
 #echo-list blockquote { grid-column:1 }
 #echo-ledger .module-heading { flex-direction:row; align-items:center; gap:8px }
}

#echo-list li.echo-empty { display:block; color:var(--muted) }
