/* Price explorer and readable, field-level audit timeline. */
.history-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.history-summary>div{padding:16px;border:1px solid var(--border,#293c50);border-radius:12px;background:rgba(125,162,202,.05)}.history-summary span{display:block;font-size:12px;color:var(--text-muted,#9bafc8);margin-bottom:8px}.history-summary strong{font-size:24px}.history-summary .history-summary-date{font-size:16px}
.history-controls{display:flex;gap:16px;flex-wrap:wrap;margin:16px 0}.history-controls label{display:flex;flex:1;min-width:160px;flex-direction:column;gap:6px;font-size:12px;color:var(--text-muted,#9bafc8)}.history-controls select,.history-controls input{width:100%;min-height:42px;padding:9px 12px;border:1px solid var(--border,#293c50);border-radius:9px;background:var(--surface,#112235);color:var(--text,#edf3ff);font:inherit;font-size:14px}.history-controls select:focus-visible,.history-controls input:focus-visible{outline:2px solid #53c7d8;outline-offset:2px}
.price-history-chart{padding:12px 0}.price-history-chart svg{display:block;width:100%;height:auto;min-height:155px}.chart-axis{fill:#96a9c0;font-size:12px}.chart-grid{stroke:#293c50;stroke-dasharray:4 5;fill:none}.price-chart-line{stroke:#55cbd1;stroke-width:3;fill:none}.chart-hit{fill:transparent;cursor:pointer}.price-chart-point{fill:#55cbd1;stroke:#102336;stroke-width:2;pointer-events:none}.price-chart-point.automation{fill:#be9cff}.price-chart-point.carpages{fill:#f6c266}.price-history-chart g:focus-visible{outline:none}.price-history-chart g:focus-visible .price-chart-point,.price-history-chart g:hover .price-chart-point{stroke:#fff;stroke-width:3;r:7}
.history-help{font-size:12px;color:var(--text-muted,#9bafc8);line-height:1.6}.price-history-list{display:grid;gap:10px}.price-history-event{list-style:none;border:1px solid var(--border,#293c50);border-radius:12px;overflow:hidden}.price-history-event summary{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:15px;cursor:pointer;list-style:none}.price-history-event summary::-webkit-details-marker{display:none}.price-history-event summary:focus-visible,.activity-changes summary:focus-visible{outline:2px solid #55cbd1;outline-offset:-2px}.price-event-main{flex:1;min-width:160px}.price-event-main strong,.price-event-main time{display:block}.price-event-main strong{font-size:14px}.price-event-main time{font-size:11px;color:var(--text-muted,#9bafc8);margin-top:6px}.price-delta{font-size:13px;font-weight:650;white-space:nowrap}.price-delta.decrease{color:#47d5b5}.price-delta.increase{color:#ffc56b}.history-expand{font-size:11px;color:#a9bdd3}.price-history-event details[open] summary{background:rgba(125,162,202,.06)}.history-event-body{padding:0 15px 15px}.history-event-body>p{font-size:13px;line-height:1.6}.history-actor{color:var(--text-muted,#9bafc8);font-size:12px!important;overflow-wrap:anywhere}.history-table-wrap{overflow-x:auto;margin:12px 0;max-width:100%}.history-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px;text-align:left}.history-table th,.history-table td{padding:10px;border-bottom:1px solid var(--border,#293c50);vertical-align:top;overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.6}.history-table th{font-weight:600}.history-table thead{color:#99abc0}.history-table td:nth-child(2){color:#99abc0}.history-table th:first-child{width:25%}.activity-changes summary{cursor:pointer;color:#72c8db;font-size:12px;line-height:1.6;padding:8px 0}.activity-copy{min-width:0;width:100%}
@media(max-width:600px){.history-summary{grid-template-columns:1fr 1fr;gap:8px}.history-summary>div:last-child{grid-column:1/-1}.history-summary strong{font-size:20px}.price-history-event summary{gap:10px}.price-history-source{font-size:10px}.history-controls{gap:10px}.history-controls label{min-width:125px}.history-table th,.history-table td{padding:8px 5px}.price-event-main{min-width:150px}.history-expand{margin-left:auto}}

.price-history-chart text{stroke:none;stroke-width:0}.price-history-chart .chart-hit{stroke:none}.price-history-chart svg{stroke:none}.price-history-chart .chart-axis{font-family:inherit}
@media(max-width:600px){.price-history-chart .chart-axis{font-size:23px}.price-history-chart svg{min-height:145px}}

@media(max-width:600px){.history-table th:first-child{width:32%}}
