#chart-area.model-heatmap{position:relative;height:auto;min-height:380px;overflow:visible!important;background:transparent}
.model-heatmap>svg{display:block;width:100%;height:330px;cursor:grab;touch-action:pan-y}
.model-heatmap>svg:active{cursor:grabbing}
.model-heatmap>svg,.model-heatmap>svg *{-webkit-user-select:none;user-select:none;-webkit-user-drag:none}
.model-heatmap [data-model-price-axis]{cursor:ns-resize;touch-action:none}
.model-heatmap[data-model-dragging=time]>svg,.model-heatmap[data-model-dragging=time]>svg *{cursor:grabbing}
.model-heatmap[data-model-dragging=price]>svg,.model-heatmap[data-model-dragging=price]>svg *{cursor:ns-resize}
.model-map-meta,.model-map-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;font-size:11px;color:var(--muted);line-height:1.5}
.model-map-meta>span{display:flex;align-items:center;gap:7px}.model-map-meta i{width:14px;height:6px;background:#f5c931;display:inline-block}.model-map-meta>div{display:flex;gap:8px}.model-map-meta button{background:var(--surface);border:1px solid var(--line);border-radius:6px;color:var(--text);padding:4px 8px;cursor:pointer}
.model-map-foot details{position:relative}.model-map-foot summary{cursor:pointer;white-space:nowrap}.model-map-foot details[open]{grid-column:1/-1;color:var(--text)}.model-map-foot p{line-height:1.65;margin:10px 0}.model-map-foot a{color:inherit;text-decoration:underline}
@media(max-width:520px){.model-map-meta{align-items:flex-start}.model-map-meta>span{max-width:200px}.model-map-foot{font-size:10px}.model-map-foot>span{max-width:55%}}
.model-map-meta .model-range-actions{align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:6px}.model-map-meta .model-periods{display:flex;gap:2px;padding:3px;border:1px solid var(--line);border-radius:8px}.model-periods button{border:0;background:transparent;color:var(--muted);white-space:nowrap}.model-periods button[aria-pressed=true]{background:var(--line);color:var(--text)}.model-periods button:focus-visible{outline:2px solid var(--text);outline-offset:1px}
@media(max-width:620px){.model-map-meta{flex-wrap:wrap}.model-map-meta>span{max-width:none}.model-map-meta .model-range-actions{width:100%;justify-content:flex-start}.model-range-actions>.model-periods{flex:1}.model-periods button{flex:1}}
.model-density-row{display:flex;justify-content:flex-end;padding:0 12px 10px}
.model-density{display:grid;grid-template-columns:1fr;gap:0;width:220px;font-size:11px;color:var(--muted)}
.model-density>span,.model-density>small{display:flex;justify-content:space-between;align-items:center}
.model-density output{font-variant-numeric:tabular-nums;color:var(--text)}
.model-density input[type=range]{width:100%;height:24px;margin:0;padding:0;accent-color:#c69a12;cursor:pointer;background:transparent;border:0}
.model-density input:focus-visible{outline:2px solid var(--text);outline-offset:2px;border-radius:3px}
.model-density small{font-size:10px}
@media(max-width:620px){.model-density{width:100%}.model-density-row{padding-top:4px}}
.model-status-notice{margin:0;padding:8px 14px;color:var(--muted);font-size:11px;line-height:1.5;border-top:1px solid var(--line)}

.model-map-meta{flex-wrap:wrap}.model-map-foot{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;padding-block:14px}.model-map-foot>span{max-width:none;overflow-wrap:anywhere}.model-map-foot summary{white-space:normal}.model-map-foot details[open] p{max-width:90ch}.model-density-row{align-items:center;gap:18px;justify-content:space-between}.model-pan-hint{font-size:11px;line-height:1.5;color:var(--muted)}.model-heatmap .model-periods{flex-wrap:wrap}.model-heatmap .chart-empty{height:330px}.model-heatmap>svg:focus-visible{outline:2px solid var(--text);outline-offset:-2px}.chart-panel:has(.model-heatmap)>.chart-footer{flex-wrap:wrap;align-items:flex-start;line-height:1.6}.chart-panel:has(.model-heatmap)>.chart-footer>span{max-width:none;flex:1 1 320px}.chart-panel:has(.model-heatmap)>.chart-footer .chart-credit{display:none}
@media(max-width:620px){.model-density-row{align-items:stretch;flex-direction:column;gap:7px}.model-map-foot{grid-template-columns:1fr;gap:10px}.model-range-actions>.model-periods{flex-basis:100%}.model-periods button{min-height:32px}.model-pan-hint{font-size:10px}.model-map-foot>span{max-width:none}}
