/* "Since your last visit" strip (public/v2/last-visit.js). */
body.v2 .v2-recap { display: flex; align-items: center; gap: 12px; min-height: 46px; margin: 0 0 14px; padding: 7px 8px 7px 16px; border: 1px solid var(--line); border-radius: var(--v2-radius); background: var(--panel); }
body.v2 .v2-recap-lead { flex: none; margin: 0; color: var(--muted); font-size: 13px; line-height: 20px; }
body.v2 .v2-recap-lead::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 9px; border-radius: 50%; background: var(--accent); vertical-align: 2px; }
body.v2 .v2-recap-chips { flex: 1; display: flex; gap: 6px; min-width: 0; margin: 0; padding: 0; overflow-x: auto; list-style: none; scrollbar-width: none; }
body.v2 .v2-recap-chips::-webkit-scrollbar { display: none; }
body.v2 .v2-recap-chips li { flex: none; }
body.v2 .v2-recap-chip {
  display: inline-flex; align-items: baseline; gap: 8px; height: 30px; padding: 0 11px; border: 1px solid transparent; border-radius: 8px;
  background: var(--panel-2); color: var(--text); font-size: 13px; line-height: 28px; white-space: nowrap; cursor: pointer;
}
body.v2 .v2-recap-chip:hover { background: var(--panel-3); border-color: #2c384b; }
/* The outline would be clipped by the scrolling row. */
body.v2 .v2-recap-chip:focus-visible { outline-offset: -2px; }
body.v2 .v2-recap-name { max-width: 22ch; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
body.v2 .v2-recap-change { font-weight: 500; font-variant-numeric: tabular-nums; }
body.v2 .v2-recap-change.is-positive { color: var(--green); }
body.v2 .v2-recap-change.is-negative { color: var(--red); }
body.v2 .v2-recap-change.is-flat { color: var(--muted); }
body.v2 .v2-recap-close { flex: none; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--subtle); cursor: pointer; }
body.v2 .v2-recap-close:hover { background: var(--panel-2); color: var(--text); }
body.v2 .v2-recap-close svg { width: 15px; height: 15px; }

@media (max-width: 700px) {
  /* Sentence and dismiss button on the first line, chips swiping underneath. */
  body.v2 .v2-recap { flex-wrap: wrap; gap: 4px 8px; margin-bottom: 10px; padding: 6px 6px 8px 12px; }
  body.v2 .v2-recap-lead { flex: 1; min-width: 0; }
  body.v2 .v2-recap-close { order: 1; }
  body.v2 .v2-recap-chips { order: 2; flex: 0 0 100%; }
  body.v2 .v2-recap-chip { height: 34px; line-height: 32px; }
}
