/* Market discovery surface. All geometry is scoped to this page; no trading controls. */
#akicontenidonormal.marc-cab:has(#bh-heatmap) { padding: 24px clamp(16px,2vw,28px) 36px; }
#bh-heatmap {
  --hm-positive-low: #163d32;
  --hm-positive-high: #08754e;
  --hm-negative-low: #48252d;
  --hm-negative-high: #a92d43;
  --hm-neutral: #293136;
  --hm-tile-text: #f5f8f7;
  width: 100%; min-width: 0; max-width: none;
  color: var(--bh-text); font-family: var(--bh-font);
  font-size: 13px; line-height: 1.45;
  font-variant-numeric: tabular-nums;
  isolation: isolate;
}
[data-bs-theme="light"] #bh-heatmap {
  --hm-positive-low: #386452;
  --hm-positive-high: #08724a;
  --hm-negative-low: #80505b;
  --hm-negative-high: #ac3045;
  --hm-neutral: #647078;
}
#bh-heatmap *, #bh-heatmap *::before, #bh-heatmap *::after { box-sizing: border-box; }
#bh-heatmap [hidden] { display: none !important; }
#bh-heatmap :is(button,input,select) { font: inherit; }
#bh-heatmap button { cursor: pointer; }
#bh-heatmap button:disabled { cursor: default; opacity: .45; }
#bh-heatmap :is(button,input,select,a):focus-visible {
  outline: 2px solid var(--bh-focus); outline-offset: 3px;
}
#bh-heatmap :is(h1,h2,h3,p) { margin: 0; }
.bh-hm-heading, .bh-hm-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px; margin-bottom: 24px; min-width: 0;
}
#bh-heatmap h1 { font-size: clamp(24px,2.1vw,32px); line-height: 1.15; font-weight: 650; letter-spacing: -.04em; }
.bh-hm-heading p, .bh-hm-header p, .bh-hm-subtitle {
  margin-top: 8px !important; color: var(--bh-muted); font-size: 12px; max-width: 680px;
}
.bh-hm-eyebrow { display: block; margin-bottom: 8px; color: var(--bh-muted); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.bh-hm-summary { padding: 14px 0 18px; gap: 32px; }
.bh-hm-stats, .bh-hm-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.bh-hm-stat { display: flex; flex-direction: column; min-width: 66px; gap: 3px; }
.bh-hm-stat strong { font-size: 21px; line-height: 1.3; font-weight: 550; letter-spacing: -.03em; }
.bh-hm-stat :is(span,small) { font-size: 10px; color: var(--bh-muted); }
.bh-hm-stat[data-tone="positive"] strong, .bh-hm-stat[data-tone="up"] strong { color: var(--bh-positive); }
.bh-hm-stat[data-tone="negative"] strong, .bh-hm-stat[data-tone="down"] strong { color: var(--bh-negative); }
.bh-hm-toolbar .bh-hm-heading { display: block; flex: 1 1 300px; margin: 0; }
.bh-hm-filters { margin-bottom: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--bh-border); }
.bh-hm-hint { font-size: 10px; color: var(--bh-muted); line-height: 1.55; }
.bh-hm-map-column > .bh-hm-hint { margin-top: 9px !important; }
.bh-hm-toolbar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  padding: 0 0 16px; margin-bottom: 0;
}
#bh-heatmap :is(.bh-hm-toolbar,.bh-hm-filters,.bh-hm-pagination,.bh-hm-detail,.bh-hm-ranking-tabs) :is(button,select),
#bh-heatmap .bh-hm-control {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 36px; padding: 7px 11px; border: 1px solid var(--bh-border);
  border-radius: var(--bh-control-radius); color: var(--bh-text); background: var(--bh-surface);
  font-size: 12px; line-height: 1.25; font-weight: 500; text-decoration: none;
}
#bh-heatmap :is(.bh-hm-toolbar,.bh-hm-filters,.bh-hm-pagination,.bh-hm-detail,.bh-hm-ranking-tabs) button:hover:not(:disabled) { background: var(--bh-surface-2); border-color: var(--bh-muted); }
#bh-heatmap :is(.bh-hm-toolbar,.bh-hm-filters,.bh-hm-ranking-tabs) button[aria-pressed="true"],
#bh-heatmap .bh-hm-ranking-tabs button[aria-selected="true"] {
  background: var(--bh-accent-soft); color: var(--bh-positive); border-color: var(--bh-accent);
}
.bh-hm-search { position: relative; flex: 1 1 200px; min-width: 160px; max-width: 320px; }
#bh-heatmap .bh-hm-search input, #bh-heatmap input.bh-hm-search {
  width: 100%; min-height: 36px; padding: 8px 12px;
  background: var(--bh-bg); color: var(--bh-text); border: 1px solid var(--bh-border); border-radius: 6px;
}
#bh-heatmap input::placeholder { color: var(--bh-muted); opacity: .85; }
.bh-hm-search > svg, .bh-hm-search > i { position: absolute; left: 11px; top: 11px; color: var(--bh-muted); pointer-events: none; }
.bh-hm-search:has(>svg) input, .bh-hm-search:has(>i) input { padding-left: 34px !important; }
.bh-hm-categories, .bh-hm-filters, .bh-hm-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; min-width: 0; }
.bh-hm-actions { margin-left: auto; }
#bh-heatmap .bh-hm-icon-button { min-width: 36px; padding: 7px; font-size: 16px; }
.bh-hm-stage { display: grid; grid-template-columns: minmax(0,1fr) 320px; align-items: start; gap: 16px; }
.bh-hm-stage > *, .bh-hm-map, .bh-hm-map-wrap { min-width: 0; }
.bh-hm-map-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 0 11px; min-width: 0; }
#bh-heatmap .bh-hm-map-head h2 { font-size: 12px; font-weight: 600; }
.bh-hm-map-count, .bh-hm-count, .bh-hm-updated { font-size: 11px; color: var(--bh-muted); }
.bh-hm-grid { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); grid-auto-rows: 82px; grid-auto-flow: row dense; gap: 3px; min-width: 0; border-radius: 4px; max-height: clamp(360px,calc(100dvh - 280px),840px); overflow: auto; align-content: start; scrollbar-width: thin; scrollbar-color: var(--bh-muted) transparent; }
#bh-heatmap .bh-hm-tile {
  --bh-hm-intensity: .5;
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  grid-column: span 1; grid-row: span 1; min-width: 0; min-height: 0;
  gap: 4px; padding: 8px; overflow: hidden;
  color: var(--hm-tile-text); background: var(--hm-neutral); border: 0; border-radius: 1px;
  text-align: center; outline-offset: -3px; transition: filter 120ms ease, box-shadow 120ms ease;
}
#bh-heatmap .bh-hm-tile[data-tier="2"] { grid-column: span 2; }
#bh-heatmap .bh-hm-tile[data-tier="3"] { grid-column: span 2; grid-row: span 2; gap: 4px; padding: 12px; }
#bh-heatmap .bh-hm-tile:is([data-tone="positive"],[data-tone="up"]) {
  background: color-mix(in srgb,var(--hm-positive-high) calc(var(--bh-hm-intensity)*100%),var(--hm-positive-low));
}
#bh-heatmap .bh-hm-tile:is([data-tone="negative"],[data-tone="down"]) {
  background: color-mix(in srgb,var(--hm-negative-high) calc(var(--bh-hm-intensity)*100%),var(--hm-negative-low));
}
#bh-heatmap .bh-hm-tile:hover { filter: brightness(1.13); z-index: 1; }
#bh-heatmap .bh-hm-tile:is([aria-pressed="true"],[aria-selected="true"]) { box-shadow: inset 0 0 0 2px #fff; z-index: 1; }
#bh-heatmap .bh-hm-tile:focus-visible { outline: 2px solid #fff; outline-offset: -3px; z-index: 2; }
#bh-heatmap .bh-hm-tile > * { flex-shrink: 0; }
.bh-hm-tile-symbol { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 650; letter-spacing: -.015em; line-height: 1.2; }
.bh-hm-tile-change { font-size: 13px; font-weight: 550; line-height: 1.2; letter-spacing: -.025em; white-space: nowrap; }
.bh-hm-tile-name, .bh-hm-tile-price, .bh-hm-tile-market { display: none; max-width: 100%; font-size: 10px; line-height: 1.25; opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bh-hm-tile[data-tier="2"] .bh-hm-tile-symbol { font-size: 17px; }
.bh-hm-tile[data-tier="2"] .bh-hm-tile-change { font-size: 15px; }
.bh-hm-tile[data-tier="3"] .bh-hm-tile-symbol { font-size: clamp(21px,2vw,29px); font-weight: 600; }
.bh-hm-tile[data-tier="3"] .bh-hm-tile-change { font-size: clamp(18px,1.6vw,23px); }
.bh-hm-tile[data-tier="3"] :is(.bh-hm-tile-name,.bh-hm-tile-price) { display: block; }
.bh-hm-tile-logo { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; font-size: 16px; line-height: 1; }
#bh-heatmap :is(.bh-hm-tile-logo,.bh-hm-detail-logo,.bh-hm-ranking-logo) > .marc-symbol-icon { width: 100%; height: 100%; flex-basis: 100%; }
#bh-heatmap :is(.bh-hm-tile-logo,.bh-hm-detail-logo,.bh-hm-ranking-logo) .flagv2 { width: 70% !important; height: 70% !important; }
.bh-hm-detail-logo { display: inline-flex; flex: 0 0 36px; width: 36px; height: 36px; }
.bh-hm-tile-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
img.bh-hm-tile-logo { object-fit: contain; }
.bh-hm-tile[data-tier="2"] .bh-hm-tile-logo { position: absolute; top: 10px; left: 10px; width: 22px; height: 22px; }
.bh-hm-tile[data-tier="1"] .bh-hm-tile-logo { position: absolute; top: 7px; left: 7px; width: 14px; height: 14px; font-size: 12px; opacity: .9; }
.bh-hm-tile[data-tier="3"] .bh-hm-tile-logo { width: 30px; height: 30px; font-size: 23px; margin-bottom: 2px; }
.bh-hm-tile[data-open="false"] { filter: saturate(.4); }
.bh-hm-tile-state, .bh-hm-tile-status { position: absolute; right: 7px; bottom: 6px; font-size: 9px; max-width: calc(100% - 14px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .75; }
.bh-hm-sidebar { position: sticky; top: 60px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.bh-hm-detail, .bh-hm-rankings { padding: 17px; border: 1px solid var(--bh-border); border-radius: 4px; background: var(--bh-surface); min-width: 0; }
.bh-hm-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.bh-hm-detail-identity, .bh-hm-detail-title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bh-hm-detail :is(.bh-hm-logo,.bh-hm-tile-logo) { width: 36px; height: 36px; font-size: 24px; }
.bh-hm-detail-title > div { flex: 1; min-width: 0; }
.bh-hm-detail-title strong { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.025em; overflow-wrap: anywhere; }
.bh-hm-detail-title span:not(.bh-hm-tile-logo) { color: var(--bh-muted); font-size: 11px; }
.bh-hm-detail-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.bh-hm-detail-symbol { font-size: 20px; font-weight: 600; letter-spacing: -.025em; overflow-wrap: anywhere; }
.bh-hm-detail-name { font-size: 11px; color: var(--bh-muted); margin-top: 4px; overflow-wrap: anywhere; }
#bh-heatmap .bh-hm-detail .bh-hm-detail-close { display: none; }
.bh-hm-detail-change { font-size: 32px; font-weight: 550; letter-spacing: -.045em; line-height: 1.2; margin: 12px 0 8px; }
.bh-hm-detail .bh-hm-status { margin-bottom: 0; }
.bh-hm-detail-status, .bh-hm-status { display: inline-flex; align-items: center; gap: 6px; color: var(--bh-muted); font-size: 10px; margin-bottom: 18px; }
:is(.bh-hm-detail-status,.bh-hm-status)::before { content: ''; width: 5px; height: 5px; background: currentColor; border-radius: 50%; }
.bh-hm-detail-values { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 12px 0 18px; }
.bh-hm-detail-values > :has([data-hm-metric="change"]) { grid-column: 1/-1; order: -1; padding: 6px 0 10px; }
#bh-heatmap .bh-hm-detail-values [data-hm-metric="change"] { font-size: 30px; letter-spacing: -.04em; font-weight: 550; }
#bh-heatmap .bh-hm-detail[data-tone="positive"] [data-hm-metric="change"], #bh-heatmap .bh-hm-ranking-row[data-tone="positive"] .bh-hm-ranking-change { color: var(--bh-positive); }
#bh-heatmap .bh-hm-detail[data-tone="negative"] [data-hm-metric="change"], #bh-heatmap .bh-hm-ranking-row[data-tone="negative"] .bh-hm-ranking-change { color: var(--bh-negative); }
.bh-hm-detail-values > * { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bh-hm-detail-values :is(span,small,dt) { color: var(--bh-muted); font-size: 10px; font-weight: 400; }
.bh-hm-detail-values :is(strong,b,dd) { font-size: 15px; font-weight: 550; margin: 0; overflow-wrap: anywhere; }
.bh-hm-detail-note { color: var(--bh-muted); font-size: 10px; line-height: 1.55; margin: 12px 0 0 !important; }
#bh-heatmap .bh-hm-detail .bh-hm-chart-button { width: 100%; color: #fff; background: var(--bh-accent); border-color: var(--bh-accent); min-height: 40px; }
#bh-heatmap .bh-hm-detail .bh-hm-chart-button:hover:not(:disabled) { background: var(--bh-accent-hover); border-color: var(--bh-accent-hover); }
#bh-heatmap :is(.bh-hm-detail-change,.bh-hm-rank-change)[data-tone="positive"],
#bh-heatmap [data-tone="up"] :is(.bh-hm-detail-change,.bh-hm-rank-change) { color: var(--bh-positive); }
#bh-heatmap :is(.bh-hm-detail-change,.bh-hm-rank-change)[data-tone="negative"],
#bh-heatmap [data-tone="down"] :is(.bh-hm-detail-change,.bh-hm-rank-change) { color: var(--bh-negative); }
#bh-heatmap .bh-hm-rankings h2 { font-size: 12px; font-weight: 600; margin-bottom: 13px; }
.bh-hm-ranking-tabs { display: flex; gap: 5px; margin-bottom: 10px; }
#bh-heatmap .bh-hm-ranking-tabs button { flex: 1; min-width: 0; font-size: 10px; padding: 7px 5px; }
.bh-hm-rank-list, .bh-hm-ranking-list { display: flex; flex-direction: column; gap: 0; }
.bh-hm-ranking-price { max-width: 75px; font-size: 10px; color: var(--bh-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bh-hm-ranking-symbol { min-width: 0; font-size: 12px; font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bh-hm-ranking-change { font-size: 12px; white-space: nowrap; }
.bh-hm-ranking-logo { display: inline-flex; width: 22px; height: 22px; }
#bh-heatmap :is(.bh-hm-rank-row,.bh-hm-ranking-row) { display: grid; grid-template-columns: 22px minmax(0,1fr) minmax(0,75px) auto; align-items: center; gap: 9px; width: 100%; min-height: 47px; padding: 8px 0; text-align: left; color: var(--bh-text); background: transparent; border: 0; border-bottom: 1px solid var(--bh-border); border-radius: 0; }
#bh-heatmap :is(.bh-hm-rank-row,.bh-hm-ranking-row):last-child { border-bottom: 0; }
#bh-heatmap :is(.bh-hm-rank-row,.bh-hm-ranking-row):hover { background: var(--bh-surface-2); }
.bh-hm-rank-symbol { display: block; font-size: 12px; font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bh-hm-rank-name { display: block; color: var(--bh-muted); font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bh-hm-rank-change { font-size: 12px; font-weight: 550; white-space: nowrap; }
.bh-hm-rank-index { color: var(--bh-muted); font-size: 10px; }
.bh-hm-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 14px 0 9px; font-size: 10px; color: var(--bh-muted); }
.bh-hm-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.bh-hm-legend > span::before { content: ''; width: 14px; height: 6px; border-radius: 1px; background: var(--hm-neutral); }
.bh-hm-legend > [data-tone="positive"]::before { background: var(--hm-positive-high); }
.bh-hm-legend > [data-tone="negative"]::before { background: var(--hm-negative-high); }
.bh-hm-legend-scale { display: grid; grid-template-columns: repeat(7,minmax(18px,1fr)); gap: 2px; width: min(270px,100%); }
.bh-hm-legend-step { min-height: 6px; background: var(--hm-neutral); }
.bh-hm-legend-note { color: var(--bh-muted); font-size: 10px; line-height: 1.5; }
.bh-hm-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; margin-top: 5px; border-top: 1px solid var(--bh-border); }
.bh-hm-pagination-actions { display: flex; align-items: center; gap: 7px; }
.bh-hm-page-label { color: var(--bh-muted); font-size: 11px; }
.bh-hm-state { display: grid; place-content: center; gap: 12px; min-height: 280px; padding: 28px; grid-column: 1/-1; text-align: center; color: var(--bh-muted); background: var(--bh-surface); border: 1px dashed var(--bh-border); border-radius: 4px; }
#bh-heatmap .bh-hm-state h2 { color: var(--bh-text); font-size: 17px; font-weight: 550; }
.bh-hm-state p { font-size: 12px; max-width: 360px; line-height: 1.6; }
body.bh-heatmap-fullscreen { overflow: hidden !important; }
#bh-heatmap.bh-hm-fullscreen, #bh-heatmap[data-fullscreen="true"] {
  position: fixed; inset: 0; z-index: 1080; width: 100%; max-width: none;
  height: 100vh; height: 100dvh; overflow: auto; overscroll-behavior: contain;
  padding: 22px 24px max(22px,env(safe-area-inset-bottom)); background: var(--bh-bg);
}
@media(max-width:1599.98px) {
  .bh-hm-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .bh-hm-heading, .bh-hm-header { gap: 16px; }
  .bh-hm-stats, .bh-hm-summary { gap: 18px; }
}
@media(max-width:1199.98px) {
  .bh-hm-stage { grid-template-columns: minmax(0,1fr) 320px; gap: 12px; }
  .bh-hm-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .bh-hm-heading, .bh-hm-header { flex-wrap: wrap; }
  .bh-hm-stats, .bh-hm-summary { flex: 1 1 100%; justify-content: flex-start; gap: 30px; }
  .bh-hm-detail, .bh-hm-rankings { padding: 14px; }
}
@media(max-width:991.98px) {
  .bh-hm-stage { grid-template-columns: minmax(0,1fr); }
  .bh-hm-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .bh-hm-sidebar { position: static; display: block; }
  .bh-hm-search { max-width: none; }
}
@media(max-width:991.98px) {
  #bh-heatmap .bh-hm-detail {
    display: none; position: fixed; z-index: 1090; inset: auto 0 0;
    max-height: min(76vh,590px); max-height: min(76dvh,590px); overflow-y: auto;
    padding: 20px 20px max(24px,env(safe-area-inset-bottom));
    border: 1px solid var(--bh-border); border-bottom: 0; border-radius: 12px 12px 0 0;
    box-shadow: 0 -12px 36px #0004; background: var(--bh-surface); overscroll-behavior: contain;
  }
  #bh-heatmap[data-detail-open="true"] .bh-hm-detail { display: block; }
  #bh-heatmap .bh-hm-detail .bh-hm-detail-close { display: inline-flex; min-width: 44px; min-height: 44px; font-size: 22px; padding: 6px; }
}
@media(max-width:767.98px) {
  .bh-hm-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media(max-width:575.98px) {
  #akicontenidonormal.marc-cab:has(#bh-heatmap) { padding: 16px 12px 80px; }
  #bh-heatmap h1 { font-size: 26px; }
  .bh-hm-heading, .bh-hm-header { margin-bottom: 18px; }
  .bh-hm-heading p, .bh-hm-header p { font-size: 11px; line-height: 1.6; }
  .bh-hm-stats, .bh-hm-summary { gap: 12px; justify-content: space-between; }
  .bh-hm-stat { min-width: 0; }
  .bh-hm-stat strong { font-size: 19px; }
  .bh-hm-stat :is(span,small) { font-size: 9px; }
  .bh-hm-toolbar { gap: 8px; padding: 10px 0; }
  .bh-hm-search { flex-basis: 100%; max-width: none; }
  #bh-heatmap .bh-hm-filters :is(button,select) { padding-inline: 9px; font-size: 11px; }
  #bh-heatmap .bh-hm-filters select { flex: 1 1 130px; width: 130px; min-width: 0; }
  #bh-heatmap :is(.bh-hm-toolbar,.bh-hm-filters,.bh-hm-pagination,.bh-hm-detail,.bh-hm-ranking-tabs) :is(button,select),
  #bh-heatmap .bh-hm-search input, #bh-heatmap input.bh-hm-search { min-height: 44px; }
  .bh-hm-categories { width: 100%; flex-wrap: nowrap; overflow-x: auto; padding: 2px 2px 5px; scrollbar-width: thin; }
  .bh-hm-categories button { flex-shrink: 0; }
  .bh-hm-actions { margin-left: 0; }
  .bh-hm-grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: 96px; gap: 3px; max-height: 65vh; max-height: 65dvh; }
  .bh-hm-tile-symbol { font-size: 15px; }
  .bh-hm-tile-change { font-size: 16px; }
  .bh-hm-tile[data-tier="2"] .bh-hm-tile-symbol { font-size: 19px; }
  #bh-heatmap .bh-hm-tile[data-tier="3"] { grid-column: span 1; grid-row: span 2; gap: 5px; padding: 12px 8px; }
  .bh-hm-tile[data-tier="3"] .bh-hm-tile-symbol { font-size: 22px; }
  .bh-hm-tile[data-tier="3"] .bh-hm-tile-change { font-size: 20px; }
  .bh-hm-sidebar { display: block; }
  .bh-hm-rankings { margin-top: 6px; }
  .bh-hm-detail-change { font-size: 36px; }
  .bh-hm-detail-values :is(strong,b,dd) { font-size: 17px; }
  .bh-hm-pagination { flex-wrap: wrap; }
  .bh-hm-pagination-actions { margin-left: auto; }
  .bh-hm-legend { gap: 8px; }
  .bh-hm-legend-note { flex-basis: 100%; }
  #bh-heatmap.bh-hm-fullscreen, #bh-heatmap[data-fullscreen="true"] { padding: 16px 12px max(16px,env(safe-area-inset-bottom)); }
}
@media(prefers-reduced-motion:reduce) {
  #bh-heatmap *, #bh-heatmap *::before, #bh-heatmap *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
