/* The person's own notes under an answer of their own conversation (task #476,
   `pages/chat/kept-notes.js`): quiet lines under the answer's meta, a Cofnij beside a keep, a
   suggestion asked about with Tak, Zmień and Nie (task #477), and who sees them. */
.kept-notes { margin: 10px 0 0; max-width: min(100%, 760px); }
.kept-notes ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.kept-note { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 2px; font: 12.5px/1.6 var(--sans); color: var(--muted); }
.kept-note-text { overflow-wrap: anywhere; min-width: 0; margin-right: 8px; }
.kept-note-text:focus { outline: none; }
.kept-note-text:focus-visible { outline: 2px solid var(--olive); outline-offset: 2px; }
/* (Its words line up with the text's start when it wraps under it: its padding sits outside.) */
.kept-note-undo { min-height: 24px; padding: 0 8px; margin-left: -8px; border-radius: 5px; font: 600 12.5px/24px var(--sans); color: var(--olive); }
.kept-note-undo:hover { background: var(--sage); color: var(--ink); }
.kept-note-undo:focus-visible { outline: 2px solid var(--olive); outline-offset: 1px; }
.kept-note-undo[aria-disabled=true] { opacity: .6; cursor: default; }
.kept-note-failed:empty { display: none; }
.kept-note-failed { flex-basis: 100%; color: var(--danger); }
.kept-ask-choices, .kept-ask-form { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.kept-ask-form { flex-basis: 100%; }
.kept-ask-field { flex: 1 1 220px; min-width: 0; min-height: 28px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 5px; font: 12.5px/1.6 var(--sans); color: var(--ink); background: var(--surface); }
.kept-ask-field:focus-visible { outline: 2px solid var(--olive); outline-offset: 1px; }
.kept-notes-who { margin: 2px 0 0; font: 11.5px/1.5 var(--sans); color: var(--muted); }
/* A finger's target (web/README.md): 44 px each way on a touch screen. */
@media (pointer: coarse) {
  .kept-note-undo { min-height: 44px; min-width: 44px; line-height: 44px; }
  .kept-ask-field { min-height: 44px; }
}
