/* Why a text failed: the tag (a button so it can be tapped) and the card it
   opens. public/js/text-errors.js. Phone bottom sheet is in phone.css. */
.txerr-tag { cursor: pointer; font: inherit; border: none; }
.txerr-tag.txerr-auto { background: #fee2e2; color: #b91c1c; }
.txerr-tag.txerr-inline { background: none; padding: 0; color: #b91c1c; font-weight: 600;
  text-decoration: underline dotted; text-underline-offset: 2px; }
.txerr-tag:hover, .txerr-tag:focus-visible { outline: 2px solid #fca5a5; outline-offset: 1px; }
.txerr-card { position: fixed; z-index: 3000; background: var(--card); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 10px 30px rgba(15, 23, 42, .18);
  padding: 10px 12px 8px; font-size: 13px; line-height: 1.45; }
.txerr-card p { margin: 6px 0; }
.txerr-head { display: flex; align-items: center; gap: 8px; }
.txerr-head b { flex: 1; color: #b91c1c; }
.txerr-todo b { color: var(--text); }
.txerr-raw { word-break: break-word; }
