/* Reference CSS, scoped to the v3 homepage to avoid changing business pages. */
:where(.mh-components) .market-component{container-type:inline-size;display:grid;gap:16px;width:100%;min-width:0;color:var(--widget-text)}
:where(.mh-components) .widget-titlebar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
:where(.mh-components) .widget-titlebar h2{margin:0;color:var(--widget-text);font-size:16px;line-height:24px;font-weight:600}
:where(.mh-components) .market-data-date{color:var(--widget-text-muted);font-size:12px;font-variant-numeric:tabular-nums}
:where(.mh-components) .market-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
:where(.mh-components) .market-toolbar-main,:where(.mh-components) .market-toolbar-extra{display:flex;align-items:center;gap:8px;min-width:0}
:where(.mh-components) .market-toolbar-main{overflow-x:auto;scrollbar-width:none}
:where(.mh-components) .market-toolbar-main::-webkit-scrollbar{display:none}
:where(.mh-components) .market-tab,:where(.mh-components) .market-control{flex:0 0 auto;min-height:40px;padding:7px 10px;border:0;border-radius:6px;color:var(--widget-text-secondary);background:var(--widget-surface);font:inherit;cursor:pointer}
:where(.mh-components) .market-tab:hover,:where(.mh-components) .market-control:hover,:where(.mh-components) .market-tab.is-selected,:where(.mh-components) .market-control[aria-pressed="true"]{color:var(--widget-text);background:var(--widget-surface-hover)}
:where(.mh-components) .market-tab:focus-visible,:where(.mh-components) .market-control:focus-visible,:where(.mh-components) .component-row-actions button:focus-visible{outline:2px solid var(--widget-accent);outline-offset:2px}
:where(.mh-components) .market-tab:disabled,:where(.mh-components) .market-control:disabled{color:var(--widget-text-muted);cursor:not-allowed}
:where(.mh-components) .component-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}
:where(.mh-components) .component-row-actions button{position:relative;isolation:isolate;display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;min-width:40px;min-height:40px;padding:0 8px;border:0;border-radius:6px;color:var(--widget-text-secondary);background:transparent;font-family:inherit;font-size:14px;line-height:18px;white-space:nowrap;cursor:pointer}
:where(.mh-components) .component-row-actions button::before{position:absolute;z-index:-1;inset:8px 0;border-radius:6px;background:transparent;content:""}
:where(.mh-components) .component-row-actions button:hover{color:var(--widget-accent)}
:where(.mh-components) .component-row-actions button:hover::before{background:var(--widget-surface)}
:where(.mh-components) .component-state{min-height:120px;padding:16px;border:1px solid var(--widget-border-subtle);border-radius:8px;color:var(--widget-text-secondary);background:var(--widget-surface)}
@container(max-width:479px){:where(.mh-components) .market-toolbar{align-items:stretch;flex-direction:column}
:where(.mh-components) .market-toolbar-main,:where(.mh-components) .market-toolbar-extra{width:100%}
}


:where(.mh-components) .cig{
    container-type: inline-size;
    display: grid;
    gap: 16px;
    width: 100%;
    min-width: 0;
  }
:where(.mh-components) .cig-grid{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
@container (max-width: 799px){:where(.mh-components) .cig-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
 }
@container (max-width: 439px){:where(.mh-components) .cig-grid{ grid-template-columns: 1fr; }
 }


:where(.mh-components) .iqc-card{
    display: grid;
    justify-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 16px;
    border: 0;
    border-radius: 8px;
    color: var(--widget-text);
    background: var(--widget-surface);
    font-family: inherit;
    text-align: center;
    cursor: pointer;
    transition: background-color 160ms ease, transform 160ms ease;
  }
:where(.mh-components) .iqc-card:hover{
    background: var(--widget-surface-hover);
    transform: translateY(-1px);
  }
:where(.mh-components) .iqc-card:active{
    transform: translateY(0);
  }
:where(.mh-components) .iqc-card:focus-visible{
    outline: 2px solid var(--widget-accent);
    outline-offset: 2px;
  }
:where(.mh-components) .iqc-name{
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
  }
:where(.mh-components) .iqc-point{
    font-size: 32px;
    line-height: 38px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
  }
:where(.mh-components) .iqc-change{
    display: flex;
    gap: 16px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
  }
:where(.mh-components) .iqc-extra{
    color: var(--widget-text-muted);
    font-size: 12px;
    line-height: 16px;
    font-variant-numeric: tabular-nums;
  }
:where(.mh-components) .text-rise-3{ color: var(--rise-3); }
:where(.mh-components) .text-fall-3{ color: var(--fall-3); }
@media (prefers-reduced-motion: reduce){:where(.mh-components) .iqc-card{
      transition: none;
    }
:where(.mh-components) .iqc-card:hover{
      transform: none;
    }

  }


:where(.mh-components) .sdt{
    container-type: inline-size;
    width: 100%;
    min-width: 0;
  }
:where(.mh-components) .sdt-shell{
    display: grid;
    align-items: start;
    grid-template-columns: 208px minmax(0, 1fr) 126px;
    width: 100%;
    min-width: 0;
  }
:where(.mh-components) .sdt-scroll{
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--widget-text-muted) 40%, transparent) transparent;
  }
:where(.mh-components) .sdt-scroll::-webkit-scrollbar{ height: 8px; background: transparent; }
:where(.mh-components) .sdt-scroll::-webkit-scrollbar-track{ background: transparent; }
:where(.mh-components) .sdt-scroll::-webkit-scrollbar-thumb{ border-radius: 999px; background: color-mix(in srgb, var(--widget-text-muted) 40%, transparent); }
:where(.mh-components) .sdt-scroll::-webkit-scrollbar-thumb:hover{ background: color-mix(in srgb, var(--widget-text-muted) 60%, transparent); }
:where(.mh-components) .sdt-table{
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    color: var(--widget-text);
    font-size: 14px;
    line-height: 20px;
  }
:where(.mh-components) .sdt-middle{
    width: max-content;
    min-width: 100%;
  }
:where(.mh-components) .sdt-left{ box-shadow: 1px 0 0 var(--widget-border-subtle); }
:where(.mh-components) .sdt-right{ box-shadow: -1px 0 0 var(--widget-border-subtle); }
:where(.mh-components) .sdt-table th,:where(.mh-components) .sdt-table td{
    height: 59px;
    padding: 9px 10px;
    border-bottom: 1px solid var(--widget-border-subtle);
    background: var(--widget-bg);
    text-align: left;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
  }
:where(.mh-components) .sdt-table thead th{
    height: 36px;
    color: var(--widget-text-muted);
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
  }
:where(.mh-components) .sdt-table tr:hover td,:where(.mh-components) .sdt-table tr.is-hovered td{
    background: var(--widget-surface-hover);
  }
:where(.mh-components) .sdt-left th:first-child,:where(.mh-components) .sdt-left td:first-child{ width: 120px; }
:where(.mh-components) .sdt-left th:last-child,:where(.mh-components) .sdt-left td:last-child{ width: 88px; }
:where(.mh-components) .sdt-code{ color: var(--widget-text-muted); }
:where(.mh-components) .sdt-code small{ display: block; margin-top: 4px; font-size: 12px; line-height: 16px; }
:where(.mh-components) .sdt-middle th,:where(.mh-components) .sdt-middle td{ min-width: 96px; }
:where(.mh-components) .text-rise-3{ color: var(--rise-3); }
:where(.mh-components) .text-fall-3{ color: var(--fall-3); }
@container (max-width: 799px){:where(.mh-components) .sdt-shell{ grid-template-columns: 176px minmax(0, 1fr) 118px; }
:where(.mh-components) .sdt-left th:first-child,:where(.mh-components) .sdt-left td:first-child{ width: 104px; }
:where(.mh-components) .sdt-left th:last-child,:where(.mh-components) .sdt-left td:last-child{ width: 72px; }

  }
@container (max-width: 439px){:where(.mh-components) .sdt-shell{ grid-template-columns: 144px minmax(0, 1fr) 100px; }
:where(.mh-components) .sdt-left th:first-child,:where(.mh-components) .sdt-left td:first-child{ width: 84px; padding-inline: 4px; overflow: hidden; text-overflow: ellipsis; }
:where(.mh-components) .sdt-left th:last-child,:where(.mh-components) .sdt-left td:last-child{ width: 60px; padding-inline: 4px; overflow: hidden; text-overflow: ellipsis; }
:where(.mh-components) .component-row-actions{ gap: 0; }
:where(.mh-components) .component-row-actions button{ min-width: 40px; padding-inline: 2px; font-size: 12px; }

  }


:where(.mh-components) .wlm-tools{display:flex;justify-content:space-between;gap:8px}
:where(.mh-components) .wlm-tools label{flex:1;max-width:360px}
:where(.mh-components) .wlm-tools input{width:100%;min-height:36px;padding:7px 10px;border:1px solid var(--widget-border-subtle);border-radius:6px;color:var(--widget-text);background:var(--widget-surface);font:inherit}
:where(.mh-components) .wlm-tools input:focus{outline:2px solid var(--widget-accent);outline-offset:2px}
@container(max-width:479px){:where(.mh-components) .wlm-tools{align-items:stretch;flex-direction:column}
:where(.mh-components) .wlm-tools label{max-width:none}
}


:where(.mh-components) .nes-list{display:grid;gap:0;margin:0;padding:0;list-style:none}
:where(.mh-components) .nes-list li{display:grid;grid-template-columns:64px minmax(0,1fr);gap:16px;padding:16px 0;border-bottom:1px solid var(--widget-border-subtle)}
:where(.mh-components) .nes-list time,:where(.mh-components) .nes-list small{color:var(--widget-text-muted)}
:where(.mh-components) .nes-list div{display:grid;gap:6px}
:where(.mh-components) .nes-list div>span{width:max-content;padding:2px 7px;border-radius:999px;color:var(--widget-accent);background:var(--widget-surface);font-size:12px}
:where(.mh-components) .nes-list h3,:where(.mh-components) .nes-list p{margin:0}
:where(.mh-components) .nes-list h3{font-size:14px}
:where(.mh-components) .nes-list p{color:var(--widget-text-secondary)}
@container(max-width:479px){:where(.mh-components) .nes-list li{grid-template-columns:1fr;gap:6px}
}


:where(.mh-components) .ais{container-type:inline-size;display:grid;gap:16px;min-width:0;color:var(--widget-text)}
:where(.mh-components) .ais-header,:where(.mh-components) .ais-evidence{display:flex;align-items:center;justify-content:space-between;gap:12px}
:where(.mh-components) .ais-refresh{min-height:40px;padding:7px 12px;border:0;border-radius:6px;color:var(--widget-text);background:var(--widget-surface);font:inherit;cursor:pointer}
:where(.mh-components) .ais-refresh:hover{color:var(--widget-accent);background:var(--widget-surface-hover)}
:where(.mh-components) .ais-refresh:focus-visible{outline:2px solid var(--widget-accent);outline-offset:2px}
:where(.mh-components) .ais-refresh:disabled{color:var(--widget-text-muted);cursor:wait}
:where(.mh-components) .ais-insights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
:where(.mh-components) .ais-insights article,:where(.mh-components) .ais-summary{padding:16px;border:1px solid var(--widget-border-subtle);border-radius:8px;background:var(--widget-surface)}
:where(.mh-components) .ais-loading{display:none;place-items:center;min-height:200px;color:var(--widget-text-secondary)}
:where(.mh-components) .ais.is-loading .ais-content{display:none}
:where(.mh-components) .ais.is-loading .ais-loading{display:grid}
@container (max-width:767px){:where(.mh-components) .ais-header,:where(.mh-components) .ais-evidence{align-items:stretch;flex-direction:column}
:where(.mh-components) .ais-insights{grid-template-columns:1fr}
}


:where(.mh-components) .mhm{container-type:inline-size;display:grid;gap:16px;min-width:0;color:var(--widget-text)}
:where(.mh-components) .mhm-viewport{display:grid;gap:12px;width:100%;min-width:0}
:where(.mh-components) .mhm-scroll{width:100%;min-width:0;overflow:hidden}
:where(.mh-components) .mhm-map{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:repeat(6,minmax(0,1fr));gap:2px;width:100%;min-width:0;height:clamp(220px,36.112cqi,520px);padding:2px;background:var(--widget-border-subtle)}
:where(.mh-components) .mhm-sector{display:grid;grid-column:span var(--sector-w);grid-row:span var(--sector-h);grid-template-rows:24px minmax(0,1fr);min-width:0;min-height:0;overflow:hidden;background:var(--widget-bg)}
:where(.mh-components) .mhm-sector>h3{display:flex;align-items:center;min-width:0;margin:0;padding:0 7px;overflow:hidden;color:var(--widget-text);background:var(--widget-surface);font-size:12px;line-height:24px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}
:where(.mh-components) .mhm-sector-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:repeat(6,minmax(0,1fr));grid-auto-flow:dense;gap:2px;min-width:0;min-height:0}
:where(.mh-components) .mhm-cell{grid-column:var(--cell-col,auto)/span var(--cell-w,1);grid-row:var(--cell-row,auto)/span var(--cell-h,1);display:grid;place-content:center;gap:3px;min-width:0;min-height:0;padding:4px;overflow:hidden;border:0;border-radius:0;color:var(--widget-text);background:var(--widget-surface);font:inherit;font-variant-numeric:tabular-nums;text-align:center;cursor:pointer}
:where(.mh-components) .mhm-cell b,:where(.mh-components) .mhm-cell strong{display:block;overflow:hidden;font-size:11px;line-height:15px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}
:where(.mh-components) .mhm-cell.is-lg b{font-size:18px;line-height:24px}
:where(.mh-components) .mhm-cell.is-lg strong{font-size:16px;line-height:22px}
:where(.mh-components) .mhm-cell.is-xl b{font-size:24px;line-height:30px}
:where(.mh-components) .mhm-cell.is-xl strong{font-size:22px;line-height:28px}
:where(.mh-components) .mhm-cell.is-sm strong{display:none}
:where(.mh-components) .mhm-cell.is-rise-1{background:color-mix(in srgb,var(--rise-3) 24%,var(--widget-surface))}
:where(.mh-components) .mhm-cell.is-rise-2{background:color-mix(in srgb,var(--rise-3) 42%,var(--widget-surface))}
:where(.mh-components) .mhm-cell.is-rise-3{background:color-mix(in srgb,var(--rise-3) 62%,var(--widget-surface))}
:where(.mh-components) .mhm-cell.is-rise-4{background:color-mix(in srgb,var(--rise-3) 82%,var(--widget-surface))}
:where(.mh-components) .mhm-cell.is-fall-1{background:color-mix(in srgb,var(--fall-3) 24%,var(--widget-surface))}
:where(.mh-components) .mhm-cell.is-fall-2{background:color-mix(in srgb,var(--fall-3) 42%,var(--widget-surface))}
:where(.mh-components) .mhm-cell.is-fall-3{background:color-mix(in srgb,var(--fall-3) 62%,var(--widget-surface))}
:where(.mh-components) .mhm-cell.is-fall-4{background:color-mix(in srgb,var(--fall-3) 82%,var(--widget-surface))}
:where(.mh-components) .mhm-cell:hover{filter:brightness(1.12)}
:where(.mh-components) .mhm-cell:focus-visible{position:relative;z-index:1;outline:2px solid var(--widget-accent);outline-offset:-2px}
:where(.mh-components) .mhm-footer,:where(.mh-components) .mhm-legend{display:flex;align-items:center;gap:6px;min-width:0}
:where(.mh-components) .mhm-footer{justify-content:flex-end}
:where(.mh-components) .mhm-legend{flex-wrap:wrap;justify-content:flex-end;overflow:visible}
:where(.mh-components) .mhm-legend span{flex:0 0 auto;min-width:42px;padding:4px 7px;color:var(--widget-text);background:var(--tone);font-size:11px;line-height:16px;text-align:center}
@container(max-width:899px){:where(.mh-components) .mhm-map{grid-template-columns:repeat(9,minmax(0,1fr))}
:where(.mh-components) .mhm-sector[data-cloud-tier="outer"]{display:none}

}
@container(max-width:599px){:where(.mh-components) .mhm-map{grid-template-columns:repeat(6,minmax(0,1fr))}
:where(.mh-components) .mhm-sector[data-cloud-tier="middle"]{display:none}
:where(.mh-components) .mhm-legend{width:100%}

}


:where(.mh-components) .mbd{container-type:inline-size;display:grid;gap:16px;color:var(--widget-text)}
:where(.mh-components) .mbd-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
:where(.mh-components) .mbd-summary span{padding:12px;border-radius:8px;background:var(--widget-surface);text-align:center}
:where(.mh-components) .mbd-summary strong{display:block;font-size:20px}
:where(.mh-components) .mbd-bar{display:flex;height:8px;overflow:hidden;border-radius:999px;background:var(--widget-surface)}
:where(.mh-components) .mbd-bar i{flex:var(--share);background:var(--widget-text-muted)}
:where(.mh-components) .mbd-bar .is-rise,:where(.mh-components) .mbd-buckets .is-rise{background:var(--rise-3)}
:where(.mh-components) .mbd-bar .is-fall,:where(.mh-components) .mbd-buckets .is-fall{background:var(--fall-3)}
:where(.mh-components) .mbd-buckets{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;height:132px}
:where(.mh-components) .mbd-buckets span{display:grid;grid-template-rows:18px 1fr 18px;gap:4px;text-align:center;color:var(--widget-text-muted);font-size:11px}
:where(.mh-components) .mbd-buckets i{align-self:end;height:var(--height);min-height:4px;border-radius:4px 4px 0 0;background:var(--widget-text-muted)}
:where(.mh-components) .mbd-buckets em{font-style:normal}
@container(max-width:479px){:where(.mh-components) .mbd-buckets{grid-template-columns:repeat(3,1fr);height:auto}
:where(.mh-components) .mbd-buckets span{height:104px}
}


/* Page integration: the component internals above retain their reference structure. */
.mh-components{
  --widget-bg:#25262A;--widget-surface:#2C2D31;--widget-surface-hover:rgb(229 237 249 / 6%);
  --widget-text:#EEEFF0;--widget-text-secondary:#B4B6B8;--widget-text-muted:#63656C;
  --widget-accent:#65A9EF;--widget-border:#36373D;--widget-border-subtle:#36373D;
  --widget-warning:#CCA600;--rise-3:#CC3030;--fall-3:#0C993F;
}
.hf-dashboard{container-type:inline-size;display:grid;grid-template-columns:minmax(0,1fr) clamp(292px,26%,352px);align-items:start;gap:20px;min-width:0;width:100%;max-width:1440px;margin-inline:auto;padding-bottom:24px}
.hf-main-column,.hf-side-column{display:grid;align-content:start;gap:20px;min-width:0}
.hf-module{min-width:0;padding:20px;border:1px solid var(--widget-border);border-radius:14px;background:var(--widget-bg)}
:where(.mh-components) [hidden]{display:none!important}
:where(.mh-components) .visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
:where(.mh-components) .ais-content{display:grid;gap:12px}
:where(.mh-components) .ais-summary strong{font-size:14px;font-weight:600}
:where(.mh-components) .ais-summary p,:where(.mh-components) .ais-insights p{margin:8px 0 0;color:var(--widget-text-secondary);font-size:13px;line-height:1.8}
:where(.mh-components) .ais-insights h3{font-size:13px;font-weight:500}
:where(.mh-components) .ais-evidence{font-size:12px;color:var(--widget-text-muted)}
:where(.mh-components) .ais-header:has(.ais-refresh:disabled) .ais-spinner{display:inline-block;width:12px;height:12px;margin-right:6px;border:2px solid var(--widget-text-muted);border-top-color:var(--widget-accent);border-radius:50%;animation:hf-spin .7s linear infinite}
:where(.mh-components) .hf-volume{display:flex;align-items:baseline;gap:10px;font-size:12px;color:var(--widget-text-secondary)}
:where(.mh-components) .hf-volume strong{color:var(--widget-text);font-size:18px;font-weight:500}
:where(.mh-components) .hf-volume small{margin-left:auto;color:var(--widget-text-muted)}
:where(.mh-components) .sdt-table th,:where(.mh-components) .sdt-table td{box-sizing:border-box;overflow:hidden;text-overflow:ellipsis}
:where(.mh-components) .sdt-middle th,:where(.mh-components) .sdt-middle td{width:108px;min-width:108px}
:where(.mh-components) .sdt-middle{width:max(324px,100%)}
:where(.mh-components) .sdt-right td{padding:9px 4px;overflow:visible}
:where(.mh-components) .hf-ranking-table .sdt-shell{grid-template-columns:272px minmax(0,1fr) 126px}
:where(.mh-components) .hf-ranking-table .sdt-left th:first-child,:where(.mh-components) .hf-ranking-table .sdt-left td:first-child{width:64px}
:where(.mh-components) .hf-ranking-table .sdt-left th:nth-child(2),:where(.mh-components) .hf-ranking-table .sdt-left td:nth-child(2){width:120px}
:where(.mh-components) .hf-ranking-table .sdt-left th:last-child,:where(.mh-components) .hf-ranking-table .sdt-left td:last-child{width:88px}
:where(.mh-components) .hf-rank{color:var(--widget-text-muted)}
:where(.mh-components) .hf-watch-feedback{padding:8px 12px;border-radius:6px;background:var(--widget-surface);font-size:12px;color:var(--widget-text-secondary)}
:where(.mh-components) .hf-news-open{display:block;width:100%;min-height:40px;padding:0;border:0;border-radius:4px;background:transparent;text-align:left;color:var(--widget-text);font:inherit;line-height:1.65;cursor:pointer}
:where(.mh-components) .hf-news-open:hover{color:var(--widget-accent)}
:where(.mh-components) .hf-news-open:focus-visible{outline:2px solid var(--widget-accent);outline-offset:2px}
:where(.mh-components) .nes-list p{font-size:12px;line-height:1.8;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
:where(.mh-components) .nes-list time,:where(.mh-components) .nes-list small{font-size:12px;line-height:20px}
:where(.mh-components) .hf-focus .mh-section{margin-top:0}
:where(.mh-components) .mh-focus-item{min-height:76px}
:where(.mh-components) .mh-focus-ai{min-height:48px}
:where(.mh-components) .mh-focus-item time{font-size:12px;flex-basis:40px}
:where(.mh-components) .mh-focus-item strong{font-size:14px}
:where(.mh-components) .mh-focus-item small{font-size:12px}
.hf-batch-row{display:flex;align-items:center;gap:12px;min-height:44px;padding:8px;border-radius:6px;font-size:14px;cursor:pointer}.hf-batch-row:hover{background:#34363f}.hf-batch-row input{width:16px;height:16px;accent-color:#1482CC}.hf-batch-row small{margin-left:auto;color:#8a8f9a}
@container market-home (max-width:800px){.hf-dashboard{grid-template-columns:minmax(0,1fr)}.hf-side-column{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.hf-focus{grid-column:1/-1}}
@container market-home (max-width:560px){.hf-side-column{grid-template-columns:minmax(0,1fr)}.hf-module{padding:16px}.hf-main-column,.hf-side-column,.hf-dashboard{gap:16px}}
@container(max-width:799px){
  :where(.mh-components) .hf-ranking-table .sdt-shell{grid-template-columns:216px minmax(0,1fr) 118px}
  :where(.mh-components) .hf-ranking-table .sdt-left th:first-child,:where(.mh-components) .hf-ranking-table .sdt-left td:first-child{width:40px}
  :where(.mh-components) .hf-ranking-table .sdt-left th:nth-child(2),:where(.mh-components) .hf-ranking-table .sdt-left td:nth-child(2){width:104px}
  :where(.mh-components) .hf-ranking-table .sdt-left th:last-child,:where(.mh-components) .hf-ranking-table .sdt-left td:last-child{width:72px}
}
@container(max-width:439px){
  :where(.mh-components) .hf-ranking-table .sdt-shell{grid-template-columns:156px minmax(0,1fr) 100px}
  :where(.mh-components) .hf-ranking-table .sdt-left th:first-child,:where(.mh-components) .hf-ranking-table .sdt-left td:first-child{width:28px;padding-inline:4px}
  :where(.mh-components) .hf-ranking-table .sdt-left th:nth-child(2),:where(.mh-components) .hf-ranking-table .sdt-left td:nth-child(2){width:72px;padding-inline:4px}
  :where(.mh-components) .hf-ranking-table .sdt-left th:last-child,:where(.mh-components) .hf-ranking-table .sdt-left td:last-child{width:56px;padding-inline:4px}
}
@keyframes hf-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){:where(.mh-components) *{animation:none!important;transition:none!important}}

/* Module headers and their content share one card; child surfaces stay subordinate. */
.hf-module .widget-titlebar h2,.hf-module .mh-section-head h2{font-size:16px;font-weight:600;line-height:24px}
.hf-analysis .ais-header{flex-direction:row;align-items:center}
.hf-analysis .ais-refresh{min-height:34px;font-size:12px;white-space:nowrap}
.hf-analysis .ais-summary,.hf-analysis .ais-insights article{border:0;padding:16px}
.hf-indices .iqc-card{padding:16px 10px;gap:7px}
.hf-indices .iqc-point{font-size:28px;line-height:34px}
.hf-indices .iqc-name{font-size:14px;line-height:22px}
.hf-indices .iqc-change{gap:10px;font-size:12px}
.hf-watch .wlm{gap:12px}
.hf-watch .wlm-tools{flex-direction:row;align-items:center}
.hf-watch .wlm-tools label{min-width:0;flex:1}
.hf-watch .market-control,.hf-watch .market-tab{min-height:32px;font-size:12px;padding:5px 9px}
.hf-watch .widget-titlebar .market-control{background:transparent;padding-right:0}
.hf-watch .wlm-tools input{font-size:12px;min-height:36px}
.hf-watch-labels,.hf-watch-row{display:grid;grid-template-columns:minmax(0,1fr) 64px 70px;align-items:center;gap:8px;text-align:right}
.hf-watch-labels{padding:3px 0 8px;font-size:11px;color:var(--widget-text-muted);border-bottom:1px solid var(--widget-border-subtle)}
.hf-watch-labels span:first-child{text-align:left}
.hf-watch-row{width:100%;min-height:62px;padding:11px 0;border:0;border-bottom:1px solid var(--widget-border-subtle);background:transparent;color:var(--widget-text);font:inherit;font-size:13px;font-variant-numeric:tabular-nums;cursor:pointer}
.hf-watch-row:last-child{border-bottom:0;padding-bottom:3px}
.hf-watch-row:hover{background:var(--widget-surface-hover)}
.hf-watch-row:focus-visible,.hf-sector-row:focus-visible{outline:2px solid var(--widget-accent);outline-offset:2px;border-radius:5px}
.hf-watch-identity{display:grid;gap:5px;min-width:0;text-align:left}
.hf-watch-identity strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500}
.hf-watch-identity small{color:var(--widget-text-muted);font-size:11px}
.hf-sector-market{font-size:12px;color:var(--widget-text-muted)}
.hf-sector-row{display:flex;align-items:center;gap:10px;width:100%;min-height:64px;padding:12px 0;border-bottom:1px solid var(--widget-border-subtle);font-size:13px;text-align:left}
.hf-sector-row:last-child{border-bottom:0;padding-bottom:0}
.hf-sector-row:hover{background:var(--widget-surface-hover)}
.hf-sector-rank{flex:none;width:19px;color:var(--widget-text-muted);font-size:11px;font-variant-numeric:tabular-nums}
.hf-sector-row:first-child .hf-sector-rank{color:#D1AE87}
.hf-sector-copy{display:grid;gap:5px;flex:1;min-width:0}
.hf-sector-copy strong{color:var(--widget-text);font-weight:500}
.hf-sector-copy small{color:var(--widget-text-muted);font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hf-sector-row>span:last-child{font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}
.hf-focus .mh-focus-card{padding:0;border:0;border-radius:0;background:transparent}
.hf-focus .mh-section{margin:0}
.hf-focus .mh-focus-item{gap:10px;padding:12px 0;border-bottom:1px solid var(--widget-border-subtle)}
.hf-focus .mh-focus-item>span{min-width:0}
.hf-focus .mh-focus-ai{margin-top:12px;padding:10px;border:0;border-radius:6px;font-size:12px}
.hf-focus .mh-live-label{font-size:11px}
.hf-heat .mhm-map{border-radius:8px;overflow:hidden}
.hf-ranks .srt .market-toolbar{align-items:center;flex-direction:row}
@container (max-width:767px){.hf-analysis .ais-insights article{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px}.hf-analysis .ais-insights p{margin:0}.hf-analysis .ais-insights h3{line-height:1.8}}
@container (max-width:439px){.hf-indices .cig-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hf-indices .iqc-point{font-size:23px;line-height:30px}.hf-indices .iqc-change{flex-wrap:wrap;justify-content:center;gap:4px 8px}}
