/* «История → Прокиды» (PLAN.sweeps-days.md §3.3): форма, таблица дней с сортировкой, события дня. */
.history-prints-form { display: flex; flex-wrap: wrap; align-items: end; gap: .5rem; margin: .5rem 0; }
.history-prints-form > label { display: grid; gap: .22rem; color: var(--text-secondary); font-size: .6875rem; }
.history-prints-form select, .history-prints-form input { min-height: 2rem; }
.history-prints-form input[type="number"] { width: 7.5rem; }
.history-prints-form input[type="time"] { width: 6.5rem; }
.history-prints-form .period-buttons { display: flex; gap: .25rem; }
.history-prints-scroll { background: var(--bg-primary); border: 1px solid var(--border-secondary); border-radius: var(--radius-md); }
.history-prints-table { min-width: 64rem; }
.history-prints-table th { padding: 0; }
.history-prints-table th.text-column, .history-prints-table td.text-column { text-align: left; }
.history-prints-sort { display: inline-flex; align-items: center; gap: .25rem; width: 100%; height: 1.9rem; padding: 0 .625rem;
  color: inherit; background: none; border: 0; font: inherit; cursor: pointer; justify-content: inherit; }
.history-prints-table th.numeric .history-prints-sort { justify-content: flex-end; }
.history-prints-sort:hover, .history-prints-table th.is-sorted .history-prints-sort { color: var(--text-primary); }
.history-prints-arrow { font-size: .5625rem; }
.history-prints-day { cursor: pointer; }
.history-prints-day:hover td { background: var(--bg-hover); }
.history-prints-day:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.history-prints-day[aria-expanded="true"] td { background: var(--bg-secondary); }
.history-prints-buy { color: var(--success); }
.history-prints-sell { color: var(--error); }
.history-prints-today { color: var(--warning); font-weight: 600; }
.history-prints-total td { color: var(--text-primary); font-weight: 600; border-top: 1px solid var(--border-secondary); }
.history-prints-detail > td { padding: .5rem .625rem .75rem; background: var(--bg-secondary); text-align: left; white-space: normal; }
.history-prints-events { min-width: 46rem; }
.history-prints-chart { min-height: 1.6rem; padding-inline: .45rem; font-size: .6875rem; }
.history-prints-coverage { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin: .5rem 0 0; color: var(--text-tertiary); font-size: .6875rem; }
.history-prints-coverage span[title] { text-decoration: underline dotted; cursor: help; }
.sweep-thresholds .sweep-thresholds-dirty { grid-column: 1 / -1; margin: .25rem 0 0; color: var(--warning); font-size: .6875rem; }
/* Монитор → «↗» (PLAN.history-more.md §2.4): событие из ленты подсвечено; не нашлось — пояснение над таблицей. */
.history-prints-events tr.is-focus td { background: color-mix(in srgb, var(--brand, #1c7ed6) 16%, transparent); }
.history-prints-focus-note { margin: 0 0 .4rem; color: var(--text-secondary); font-size: .75rem; }
