.hy-history{padding:22px 18px;border-top:1px solid var(--hy-line,#d5e2e7);color:var(--hy-ink,#0b2940);background:#fff}
.hy-history-heading h3{font-size:1.06rem;margin:0 0 5px}.hy-history-heading p,.hy-history-note,.hy-history-point{font-size:.78rem;line-height:1.6;color:var(--hy-muted,#607789);margin:0}
.hy-history-controls{display:flex;gap:8px;margin:16px 0}.hy-history-controls button,.hy-history-status button{font:inherit;font-size:.8rem;font-weight:750;border:1px solid #b8ccd5;border-radius:9px;padding:9px 17px;color:#0b4b70;background:#f4f8fa;cursor:pointer;min-height:40px}.hy-history-controls button[aria-pressed=true]{color:#fff;background:#087d70;border-color:#087d70}.hy-history button:focus-visible,.hy-history summary:focus-visible{outline:3px solid #dc7a22;outline-offset:3px}
.hy-history-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:18px}.hy-history-metrics>div{background:#f1f7f7;border:1px solid #d9e7e9;padding:12px;border-radius:10px}.hy-history-metrics span{display:block;font-size:.72rem;color:#607789}.hy-history-metrics strong{display:block;font-size:1.12rem;margin-top:4px}
.hy-history-chart{width:100%;min-height:100px}.hy-history-chart svg{display:block;width:100%;height:auto;overflow:visible}.hy-grid{stroke:#e2e9ed;stroke-width:1}.hy-axis{fill:#5a7081;font-size:11px;font-family:inherit}.hy-real,.hy-prediction{fill:none;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.hy-real{stroke:#0b4b70}.hy-prediction{stroke:#087d70;stroke-dasharray:6 4}.hy-real-point{fill:#0b4b70}.hy-prediction-point{fill:#087d70}.hy-late-point{fill:#fff;stroke:#dc7a22;stroke-width:2}.hy-cursor{stroke:#8fa8b7;stroke-width:1;stroke-dasharray:3 3}.hy-history-chart rect:focus-visible{outline:2px solid #dc7a22;outline-offset:-2px}
.hy-history-legend{display:flex;flex-wrap:wrap;gap:10px 22px;font-size:.76rem;margin-bottom:6px}.hy-history-legend span{display:inline-flex;align-items:center;gap:7px}.hy-history-legend span:before{content:'';width:19px;border-top:3px solid #0b4b70}.hy-history-legend .hy-prediction-key:before{border-color:#087d70;border-top-style:dashed}.hy-history-legend .hy-late-key:before{width:8px;height:8px;border:2px solid #dc7a22;border-radius:50%}
.hy-history-point{padding:10px 12px;background:#f4f8fa;border-radius:9px;min-height:62px;color:#294f66;margin-top:8px}.hy-history-note{margin:12px 0}.hy-history-table summary{font-size:.78rem;font-weight:750;color:#0b4b70;cursor:pointer;padding:8px 0}.hy-history-table-scroll{overflow-x:auto}.hy-history-table table{width:100%;border-collapse:collapse;font-size:.75rem;text-align:left}.hy-history-table th,.hy-history-table td{border-bottom:1px solid #e2e9ed;padding:8px;white-space:nowrap}.hy-history-table th{color:#34566c;background:#f4f8fa}.hy-history-status{font-size:.8rem;color:#607789;margin:10px 0}.hy-history [hidden]{display:none!important}
@media(max-width:600px){.hy-history{padding:18px 12px}.hy-history-metrics{gap:6px}.hy-history-metrics>div{padding:9px 7px}.hy-history-metrics span{font-size:.65rem}.hy-history-metrics strong{font-size:.92rem}.hy-history-controls button{flex:1}.hy-history-note{font-size:.72rem}}
