/* History (js/history.js): one dated list by week, a filter by kind. History A on the design canvas. */
.hi-sub { margin: 2px 0 0; font: 400 13px var(--ui); }
.hi-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.hi-chip {
  min-height: 36px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: transparent; color: var(--muted); font: 500 13px/1 var(--ui); cursor: pointer;
}
.hi-chip[aria-pressed="true"] { background: var(--keywash); border-color: var(--gold); color: var(--text); }
.hi-chip:focus-visible, .hi-clear:focus-visible, .hi-row:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.hi-week {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 22px 0 6px; border-bottom: 1px solid var(--line); font-family: var(--ui);
}
.hi-week h2 {
  margin: 0; font: 600 11px/1.4 var(--ui); letter-spacing: .09em; text-transform: uppercase; color: var(--muted);
}
.hi-week span { font-size: 12px; }
.hi-list { list-style: none; margin: 0; padding: 0; }
.hi-row {
  display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.hi-tag { width: 58px; flex: none; font: 500 11px/1.3 var(--ui); padding-top: 5px; color: var(--text); }
.hi-walk { color: var(--gold); }
.hi-asked { color: var(--muted); }
.hi-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.hi-title { font-size: 17px; line-height: 1.3; }
.hi-meta { font: 400 12px/1.4 var(--ui); color: var(--muted); }
.hi-dot { margin-top: 9px; }
.hi-empty { font-family: var(--ui); color: var(--muted); margin: 28px 0; }
.hi-clear { background: none; border: 0; padding: 0; color: var(--blue); font: inherit; text-decoration: underline; cursor: pointer; }
.hi-end { font: 400 12px/1.5 var(--ui); margin: 20px 0 24px; }

/* Wide cells of the History table (wide.css); a phone shows the one meta line instead. */
.hi-date, .hi-detail, .hi-range, .hi-opened, .hi-head { display: none; }
