/* Block C instrumentation reuses the existing red X5 / blue X2 palette. */
.stats-page [id^="hmh"][hidden] { display: none !important; }
.hmh-mode { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; margin:22px 0 12px; }
.hmh-mode button,.hmh-panel button { color:#c9cbd4; background:#111318; border:1px solid rgba(255,255,255,.15); border-radius:3px; font-family:inherit; font-size:11px; font-weight:800; line-height:1.3; min-height:40px; cursor:pointer; padding:8px 12px; }
.hmh-mode button { min-width:0; font-size:12px; font-weight:800; }
.hmh-mode button.active,.hmh-panel button.active,.hmh-panel .hmh-primary { color:#fff; border-color:var(--pv-stats2-accent); background:rgba(var(--pv-stats2-rgb),.13); }
.hmh-mode button:hover,.hmh-panel button:hover:not(:disabled) { border-color:var(--pv-stats2-accent); color:#fff; }
.hmh-panel button:disabled { opacity:.4; cursor:default; }
.hmh-mode button:focus-visible,.hmh-panel button:focus-visible,.hmh-select:focus-visible,#hmhSlider:focus-visible { outline:2px solid var(--pv-stats2-accent); outline-offset:3px; }
.hmh-wipe-wrap { display:grid; gap:9px; margin:22px 0; min-width:0; }
.hmh-wipe-wrap label,.hmh-wipe-wrap small,.hmh-time>span,.hmh-speeds>span,.hmh-compare-controls>label { color:#a3a8b5; font-size:10px; font-weight:800; letter-spacing:.1em; }
.hmh-select { width:100%; min-width:0; max-width:100%; color:#f0f0f4; background:#111318; border:1px solid rgba(255,255,255,.16); border-radius:3px; padding:10px 8px; font-family:inherit; font-size:12px; font-weight:700; line-height:1.4; min-height:42px; }
.hmh-select option { background:#111318; }
.heatmap-map-column { display:flex; flex-direction:column; gap:12px; }
.heatmap-map-column>.heatmap-map-card { flex:0 0 auto; }
.hmh-panel { padding:16px; border:1px solid rgba(255,255,255,.14); border-radius:4px; background:#0b0d12; min-width:0; }
.hmh-playback-head { display:flex; flex-wrap:wrap; gap:14px 22px; align-items:center; justify-content:space-between; }
.hmh-nav { display:flex; flex-wrap:wrap; gap:5px; align-items:center; }
.hmh-nav>button:not(.hmh-primary) { min-width:39px; font-size:18px; padding:7px 9px; }
.hmh-nav>.hmh-primary { min-width:140px; font-size:11px; font-weight:900; letter-spacing:.02em; }
.hmh-time { display:grid; gap:5px; min-width:0; }
.hmh-time time { color:#f4f4f8; font-size:13px; font-weight:800; overflow-wrap:break-word; }
.hmh-time small { color:#959baa; font-size:11px; line-height:1.5; }
.hmh-timeline { position:relative; margin:18px 0 16px; min-width:0; }
.hmh-profile { display:flex; height:27px; align-items:end; gap:1px; overflow:hidden; width:100%; border-bottom:1px solid rgba(255,255,255,.13); }
.hmh-profile>span { flex:1 1 0; height:var(--height); min-width:0; background:rgba(var(--pv-stats2-rgb),.45); cursor:pointer; }
.hmh-profile>span.partial { background:rgba(var(--pv-stats2-rgb),.22); }
.hmh-profile>span.missing { background:repeating-linear-gradient(135deg,transparent,transparent 3px,rgba(160,170,190,.16) 3px,rgba(160,170,190,.16) 5px); }
#hmhSlider { display:block; width:100%; margin:9px 0 6px; min-height:20px; accent-color:var(--pv-stats2-accent); cursor:pointer; }
#hmhSlider::-webkit-slider-runnable-track { background:var(--hmh-gaps,none),#232733; border-radius:2px; }
#hmhSlider::-moz-range-track { background:var(--hmh-gaps,none),#232733; border-radius:2px; }
.hmh-ticks { display:flex; justify-content:space-between; gap:6px; color:#858c9b; font-size:9px; font-variant-numeric:tabular-nums; }
.hmh-ticks span { min-width:0; overflow-wrap:break-word; }
.hmh-options { display:flex; flex-wrap:wrap; gap:12px; align-items:end; justify-content:space-between; }
.hmh-speeds { display:grid; gap:6px; }
.hmh-speeds>div,.hmh-view,.hmh-sides { display:flex; gap:4px; flex-wrap:wrap; }
.hmh-options button { font-size:10px; min-height:34px; padding:7px 9px; font-weight:800; }
.hmh-compare-controls { display:grid; grid-template-columns:auto minmax(100px,1fr) auto; gap:12px; align-items:center; margin-top:15px; padding-top:15px; border-top:1px solid rgba(255,255,255,.1); }
.hmh-notice { margin:14px 0 0; color:#b2b8c6; font-size:12px; line-height:1.6; }
.hmh-notice:empty { display:none; }
.hmh-scale { color:#adb3bf; font-size:9px; letter-spacing:0; line-height:1.4; }
.hmh-analytics,.hmh-comparison { margin:18px 0 0; padding-top:18px; border-top:1px solid rgba(255,255,255,.1); min-width:0; }
.hmh-analytics strong { display:block; color:#dfdfe6; font-size:13px; line-height:1.6; margin:7px 0 16px; overflow-wrap:anywhere; }
.hmh-comparison p { margin:9px 0; font-size:12px; line-height:1.6; color:#d3d7df; overflow-wrap:anywhere; }
.hmh-comparison small { display:block; color:#979eac; font-size:11px; line-height:1.6; }
@media(max-width:1100px) { .hmh-playback-head { flex-direction:column; align-items:start; } }
@media(max-width:700px) { .hmh-panel { padding:12px; } .hmh-nav { width:100%; } .hmh-nav>.hmh-primary { flex:1 1 130px; } .hmh-ticks span:nth-child(even) { display:none; } .hmh-options { justify-content:start; } .hmh-compare-controls { grid-template-columns:minmax(0,1fr) auto; } .hmh-compare-controls>label { grid-column:1 / -1; } }
