/* Follow-through drafts and What EnemoAi knows (public/followthrough.js). Uses the tokens in ui.css. */
.ft-offer { margin-top: var(--s3); padding: var(--s4); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.ft-offer .label { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 750; margin-bottom: var(--s1); }
.ft-offers { display: grid; gap: var(--s2); margin-top: var(--s2); }
.ft-offers > button { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: var(--s3); text-align: left;
  min-height: var(--tap); padding: var(--s3) var(--s4); border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface);
  color: var(--fg); font: inherit; cursor: pointer; transition: border-color .15s, background .15s; }
.ft-offers > button:hover, .ft-offers > button:focus-visible { border-color: var(--blue); background: var(--blue-soft); }
.ft-offers > button .q { display: block; font-weight: 650; }
.ft-offers > button .hint { display: block; margin: 2px 0 0; font-size: var(--t-sm); }
.ft-offers > button .go { white-space: nowrap; color: var(--blue); font-weight: 650; font-size: var(--t-sm); }
@media (max-width: 520px) { .ft-offers > button { flex-direction: column; align-items: flex-start; } }

.ft-dialog { width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.ft-dialog::backdrop { background: rgba(5, 8, 23, .45); }
.ft-form { position: relative; padding: var(--s6); display: grid; gap: var(--s2); }
.ft-form label { font-weight: 600; font-size: var(--t-sm); margin-top: var(--s2); }
.ft-form textarea, .ft-form input { width: 100%; box-sizing: border-box; }
.ft-x { position: absolute; top: var(--s3); right: var(--s3); width: var(--tap); height: var(--tap); border: 0; border-radius: var(--r-pill);
  background: transparent; font-size: 1.5rem; line-height: 1; color: var(--muted); cursor: pointer; }
.ft-x:hover { background: var(--panel); color: var(--fg); }
.ft-head { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; padding-right: var(--s7); }
.ft-status { display: flex; align-items: center; gap: var(--s2); color: var(--muted); font-size: var(--t-sm); }
.ft-live { max-height: 50vh; overflow: auto; white-space: pre-wrap; padding: var(--s4); border-radius: var(--r); background: var(--panel); font-size: var(--t-sm); }
.ft-view { max-height: 58vh; overflow: auto; padding: var(--s4); border: 1px solid var(--line); border-radius: var(--r); }
.ft-edit { min-height: 50vh; font: var(--t-sm)/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; padding: var(--s3); }
.ft-confirm { background: var(--amber-bg); color: var(--amber); border: 1px solid var(--amber-line); border-radius: 4px; padding: 0 3px; }
.ft-never { font-weight: 600; }

#mem-card .sub { margin-top: var(--s4); }
.ft-group { margin-top: var(--s3); border-top: 1px solid var(--line); padding-top: var(--s2); }
.ft-group > summary { cursor: pointer; font-weight: 650; min-height: var(--tap); display: flex; align-items: center; gap: var(--s2); }
.ft-fact { display: grid; gap: 2px; padding: var(--s2) 0; border-bottom: 1px solid var(--line); }
.ft-fact.dim { opacity: .6; }
.ft-fact .ft-label { font-weight: 600; }
.ft-fact blockquote { margin: var(--s1) 0 0; padding-inline-start: var(--s3); border-inline-start: 3px solid var(--blue-line); color: var(--fg); }
.ft-acts { font-size: var(--t-sm); }
.ft-acts .link, #mem-card .link, #drafts-card .link { min-height: 32px; }
.chip.warn { background: var(--amber-bg); color: var(--amber); border-color: var(--amber-line); }
.ft-add-doc { gap: var(--s2); flex-wrap: wrap; margin-top: var(--s2); }
.ft-add-fact { margin-top: var(--s4); }
.ft-add-fact .grid2 { grid-template-columns: 1fr; }   /* the example fact is a full sentence: one field per row */
.ft-add-fact textarea { resize: vertical; }        /* two lines, so its hint never cuts off (alive-frames.js) */
