.hist { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.hist h1 { margin: 12px 0 16px; }
.hist h2 { margin: 28px 0 10px; }
.hist-chart { margin: 20px 0; border: 1px solid #ddd; border-radius: 10px; padding: 16px; background: #fff; }
.hist-table-wrap { overflow-x: auto; }
.hist-table { width: 100%; border-collapse: collapse; }
.hist-table th, .hist-table td { padding: 8px 10px; border-bottom: 1px solid #eee; text-align: right; white-space: nowrap; }
.hist-table th:first-child, .hist-table td:first-child { text-align: left; }
.hist-table tr.is-current td { background: #eef6ff; }

.hist a { color: #00508f; }
.hist-table a { font-weight: 600; text-decoration: none; }
.hist-table a:hover { text-decoration: underline; }
.hist-table tr.is-min td { background: #eaf7ef; }
.hist-table tr.is-max td { background: #fdeeee; }
.hist-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; padding: 0; list-style: none; }
.hist-chips a, .hist-chips span { display: block; padding: 6px 12px; border-radius: 8px; border: 1px solid #d6e4f2; background: #f5f9fd; font-size: .9rem; font-variant-numeric: tabular-nums; text-decoration: none; }
.hist-chips a:hover { background: #dcebfa; }
.hist-chips span[aria-current] { background: #00508f; border-color: #00508f; color: #fff; font-weight: 700; }
.hist-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 10px 0; padding: 0; list-style: none; }
.hist-cards a { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid #d6e4f2; border-radius: 12px; background: #fff; color: inherit; text-decoration: none; transition: box-shadow .15s, transform .15s; }
.hist-cards a:hover { box-shadow: 0 4px 14px rgba(0, 80, 143, .15); transform: translateY(-1px); }
.hist-cards__name { font-size: .85rem; color: #556; }
.hist-cards__price { font-size: 1.5rem; color: #00508f; }
.hist-cards__meta { font-size: .85rem; color: #556; }
.hist-callout { display: block; margin: 20px 0; padding: 14px 18px; border: 1px solid #cfe2f7; border-radius: 12px; background: #eef6ff; font-weight: 600; text-decoration: none; }
.hist-callout::after { content: " \2192"; }
.hist-pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.hist-pager a { padding: 12px 20px; border: 1px solid #c9d9ea; border-radius: 999px; background: #f5f9fd; font-weight: 700; text-decoration: none; }
.hist-pager a:hover { background: #dcebfa; }
.hist-pager a.is-primary { background: #00508f; border-color: #00508f; color: #fff; }
.hist-pager a.is-primary:hover { background: #003f73; }
@media (max-width: 600px) { .hist-pager a { flex: 1 1 100%; text-align: center; } }
