/*
 * Daily Life Doc, round 12 (zone IN): the Progress page's reason and part Insights (js/exp/exp-page.js,
 * js/exp/exp-insights-list.js), the Insight card in the chat (js/convo/proposal-progress.js) and the report's parts
 * Insights, What ran before, and Keep (js/report/report-more.js). One type scale (--t-*), real padding, no frames.
 */
.xp-why { margin: -2px 2px 8px; font-size: var(--t-m); line-height: 1.4; color: var(--ink2); }
.xp-ver { font-weight: 600; }

.ins-list { display: flex; flex-direction: column; }
.ins-wrap + .ins-wrap { border-top: 1px solid var(--line); }
.ins { padding: 12px 0 10px; }
.ins-w { font-size: var(--t-m); line-height: 1.45; color: var(--ink); }
.ins-d { margin-top: 4px; font-size: var(--t-sm); color: var(--ink2); }
.ins-chart { margin-top: 10px; overflow: hidden; }
.ins-chart svg { display: block; width: 100%; height: auto; }
.ins-pic { margin: 0 0 10px; border-radius: 16px; overflow: hidden; }
.ins-pic img { display: block; width: 100%; height: auto; }
.ins-acts { display: flex; align-items: center; gap: 18px; margin-top: 6px; }
.ins-acts .lnk { min-height: 36px; padding: 0; font-size: var(--t-sm); font-weight: 600; color: var(--pc-d); }
.ins-acts .lnk:active { opacity: .55; }
.ins-link:empty { display: none; }

/* The sheet Change, and the card's two rows (Kind, Send to). */
.ins-ta { width: 100%; }
.ins-row { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.ins-k { font-size: var(--t-sm); font-weight: 600; color: var(--ink2); }
.ins-row .seg { display: flex; flex-wrap: wrap; width: 100%; }
.ins-row .seg-o { flex: 1 1 auto; min-width: 0; padding: 0 10px; }

/* The report: Insights, What ran before, Keep. */
.rp-ins + .rp-ins { margin-top: 12px; }
.rp-ins small { display: block; margin-top: 2px; font-size: var(--t-sm); color: var(--ink2); }
.rp-ran { display: flex; flex-direction: column; gap: 10px; }
.rp-ran-sum { font-size: var(--t-s); color: var(--ink2); }
.rp-ran-r { display: grid; grid-template-columns: 52px 1fr; gap: 2px 10px; font-size: var(--t-s); line-height: 1.4; }
.rp-ran-r b { font-weight: 600; color: var(--ink2); }
.rp-ran-r small { grid-column: 2; font-size: var(--t-sm); color: var(--ink2); }
.rp-ran-r small.did { color: var(--pc-d); font-weight: 600; }
.rp-keep { flex: none; min-height: 36px; padding: 0 2px; font-size: var(--t-sm); font-weight: 600; color: var(--pc-d); }
.rp-keep[aria-pressed="true"] { color: var(--ink2); }
.rp-act-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.rp-kept { flex: none; font-size: var(--t-sm); font-weight: 600; color: var(--ink2); }

/* New experiment: the row Before days. */
.xnew-before { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; margin-top: 14px; padding: 0 18px;
  border-radius: 18px; background: var(--surface); font-size: var(--t-m); color: var(--ink); text-align: left; }
.xnew-before span { flex: 1; font-weight: 500; }
.xnew-before b { font-weight: 600; color: var(--ink2); }
.xnew-before:active { opacity: .7; }
/* Fixer FA: Make again under the insight card's picture, its own quiet line (it read as part of the words). */
.pc-ins .ins-again { display: block; margin: 2px 0 8px; padding: 0; min-height: 36px; background: none; border: 0; }
