.ledger-memo-cell textarea { width:100%; min-height:44px; height:44px; resize:vertical; font:inherit; color:var(--color-text); border:1px solid var(--color-border); border-radius:4px; padding:6px 8px; background:var(--color-surface); }
.ledger-memo-cell-footer { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:4px; }
.ledger-memo-cell-footer small { font-size:12px; color:var(--color-text-muted); }
.ledger-memo-cell .form-error { white-space:normal; margin:4px 0; }
.ledger-memo-help { display:flex; align-items:center; gap:12px; padding:8px 0; }
.ledger-memo-help p { margin:0; font-size:12px; color:var(--color-text-muted); }
.ledger-memo-conflict { white-space:pre-wrap; overflow-wrap:anywhere; padding-top:4px; }
.ledger-memo-conflict p { margin:4px 0; font-size:12px; }

/* Operational memos remain beside the list row, independent of fee inputs. */
.f10-grid .f10-memo-column { min-width: 220px; width: 240px; }
.f10-grid .f10-memo-column textarea { box-sizing: border-box; width: 100%; min-height: 74px; resize: vertical; white-space: pre-wrap; overflow-wrap: anywhere; scroll-margin-inline-start:184px; }
.f10-grid .f10-memo-save { min-width: 150px; }
.f10-grid .f10-memo-save small { white-space: normal; overflow-wrap: anywhere; }
.f10-grid .f10-memo-latest { white-space: pre-wrap; overflow-wrap: anywhere; }
/* A fixed name plus the memo exceeds phone width and obscures keyboard focus. */
@media(max-width:700px) {
  .f10-grid-list .f10-name { position:static; left:auto; box-shadow:none; }
  .f10-grid-list thead .f10-name { position:sticky; top:0; }
  .f10-grid-list .f10-memo-column textarea { scroll-margin-inline-start:0; }
}
