    .trend-history-layout.history-focus-context {
      display: grid;
      grid-template-columns: minmax(0, 1.72fr) minmax(310px, .58fr);
      gap: 12px;
      align-items: stretch;
    }
    .history-focus-context #trend-history-chart { grid-column: 1; grid-row: 1; min-height: 270px; }
    .history-focus-context #trend-history-analysis { grid-column: 2; grid-row: 1; position: relative; z-index: 6; display: block; height: 270px; max-height: 270px; overflow: auto; padding: 0; border: 1px solid rgba(225,239,231,.12); border-radius: 12px; background: #101b16; scrollbar-color: rgba(185,247,54,.42) transparent; transform-origin: top right; transition: transform 320ms cubic-bezier(.16,1,.3,1), height 320ms cubic-bezier(.16,1,.3,1), max-height 320ms cubic-bezier(.16,1,.3,1), box-shadow 260ms ease, border-color 220ms ease; }
    .history-focus-context #trend-history-analysis:hover,
    .history-focus-context #trend-history-analysis:focus-within { z-index: 48; height: min(540px, 72vh); max-height: min(540px, 72vh); transform: scale(1.12); border-color: rgba(185,247,54,.42); box-shadow: 0 26px 80px rgba(0,0,0,.68), 0 0 0 1px rgba(185,247,54,.12); }
    .history-focus-context #trend-history-navigator { grid-column: 1 / -1; grid-row: 2; }
    .msx-history-focus { min-width: 0; color: #f2f7f3; }
    .msx-history-chart-shell { min-height: 270px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; border: 1px solid rgba(225,239,231,.12); border-radius: 12px; background: linear-gradient(180deg, rgba(16,27,22,.98), rgba(9,16,13,.98)); }
    .msx-history-chart-head { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 13px; border-bottom: 1px solid rgba(225,239,231,.1); }
    .msx-history-chart-head b { display: block; color: #f2f7f3; font-size: 13px; }
    .msx-history-chart-head span { display: block; margin-top: 4px; color: #91a198; font-size: 10px; }
    .msx-history-chart-meta { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
    .msx-history-chart-meta i { display: inline-flex; min-height: 24px; align-items: center; padding: 0 8px; color: #b9c8bf; border: 1px solid rgba(225,239,231,.12); border-radius: 6px; background: rgba(8,13,11,.45); font: 700 9px/1 system-ui,sans-serif; font-style: normal; }
    .msx-history-chart-meta i:first-child { color: #b9f736; border-color: rgba(185,247,54,.24); background: rgba(185,247,54,.06); }
    .msx-history-plot { position: relative; min-width: 0; min-height: 190px; overflow: hidden; }
    .msx-history-day-group { transform-box: view-box; will-change: transform; transition: transform 90ms cubic-bezier(.2,.8,.2,1); }
    .msx-history-lens-line { pointer-events: none; stroke: rgba(185,247,54,.34); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
    .msx-history-plot.is-lensing { cursor: crosshair; }
    .msx-history-plot > svg { width: 100%; height: 100%; display: block; }
    .msx-history-magnifier { --lens-left: 50%; position: absolute; z-index: 18; left: var(--lens-left); top: 8%; width: clamp(620px, 76%, 1040px); height: 76%; overflow: hidden; border: 1px solid rgba(185,247,54,.76); border-radius: 28px 44px 28px 44px / 18px 27px 18px 27px; background: #08130f; box-shadow: 0 22px 62px rgba(0,0,0,.58), 0 0 0 1px rgba(185,247,54,.14), inset 16px 0 24px -24px rgba(185,247,54,.46), inset -16px 0 24px -24px rgba(185,247,54,.46); transform: translateX(-50%); pointer-events: none; opacity: 0; transition: opacity 140ms ease, left 90ms cubic-bezier(.2,.8,.2,1), border-radius 240ms ease, box-shadow 240ms ease; }
    .msx-history-magnifier::before, .msx-history-magnifier::after { content: ''; position: absolute; top: 10px; bottom: 10px; width: 18px; z-index: 4; pointer-events: none; opacity: .72; }
    .msx-history-magnifier::before { left: -1px; border-radius: 16px 0 0 16px; background: linear-gradient(90deg,rgba(185,247,54,.2),transparent); transform: perspective(90px) rotateY(-12deg); transform-origin: left center; }
    .msx-history-magnifier::after { right: -1px; border-radius: 0 16px 16px 0; background: linear-gradient(270deg,rgba(185,247,54,.2),transparent); transform: perspective(90px) rotateY(12deg); transform-origin: right center; }
    .msx-history-magnifier.is-visible { opacity: 1; pointer-events: auto; }
    .msx-history-magnifier.is-pinned { pointer-events: auto; box-shadow: 0 22px 55px rgba(0,0,0,.58), 0 0 0 2px rgba(185,247,54,.4); }
    .msx-history-magnifier-head { position: absolute; z-index: 2; top: 5px; left: 8px; right: 8px; display: flex; justify-content: space-between; gap: 8px; color: #b9f736; font: 800 8px/1 system-ui,sans-serif; pointer-events: none; }
    .msx-history-magnifier-head span:last-child { color: #91a198; font-weight: 650; }
    .msx-history-magnifier svg { width: 100%; height: 100%; display: block; shape-rendering: geometricPrecision; text-rendering: geometricPrecision; }
    .msx-history-magnifier .msx-history-bar { pointer-events: auto; }
    .msx-history-magnifier [data-history-day] { pointer-events: auto; cursor: pointer; }
    .msx-history-magnifier[hidden] { display: none; }
    .msx-history-grid { stroke: rgba(225,239,231,.09); stroke-width: 1; vector-effect: non-scaling-stroke; }
    .msx-history-axis { fill: #82928a; font: 600 9px/1 system-ui,sans-serif; transition: fill 120ms ease, filter 120ms ease; }
    .msx-history-date-hit { fill: transparent; pointer-events: all; cursor: pointer; }
    .msx-history-date-target { cursor: pointer; outline: none; }
    .msx-history-date-target:hover .msx-history-axis,
    .msx-history-date-target:focus .msx-history-axis { fill: #dfffa4; filter: drop-shadow(0 0 5px rgba(185,247,54,.38)); }
    .msx-history-axis-title { fill: #aab8b0; font: 750 9px/1 system-ui,sans-serif; letter-spacing: .03em; }
    .msx-history-series { animation: msx-history-enter 420ms cubic-bezier(.2,.8,.2,1) both; }
    .msx-history-bar { cursor: pointer; opacity: .91; shape-rendering: geometricPrecision; transition: opacity 140ms ease, filter 140ms ease, stroke 140ms ease; }
    .msx-history-bar:hover { opacity: 1; filter: brightness(1.15) saturate(1.08); }
    .msx-history-bar:focus-visible { outline: none; opacity: 1; stroke: #f4ffe4; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
    .msx-history-day-hit { pointer-events: none; fill: transparent; }
    .msx-history-day-hit:focus-visible { outline: none; fill: transparent; }
    .msx-history-author-line { fill: none; stroke: #44cce4; stroke-width: 1.7; pointer-events: none; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 5px rgba(68,204,228,.14)); }
    .msx-history-post-line { fill: none; stroke: #ffb454; stroke-width: 1.7; pointer-events: none; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 5px rgba(255,180,84,.13)); }
    .msx-history-author-marker { fill: #0b1410; stroke: #44cce4; stroke-width: 1.4; pointer-events: none; vector-effect: non-scaling-stroke; }
    .msx-history-post-marker { fill: #0b1410; stroke: #ffb454; stroke-width: 1.4; pointer-events: none; vector-effect: non-scaling-stroke; }
    .msx-history-marker-hit { fill: rgba(255,255,255,.001); stroke: transparent; stroke-width: 24; pointer-events: all; cursor: pointer; }
    .msx-history-band { fill: rgba(185,247,54,.055); stroke: rgba(185,247,54,.14); stroke-width: 1; }
    .msx-history-legend { min-height: 32px; display: flex; align-items: center; gap: 6px 12px; flex-wrap: wrap; padding: 5px 12px 6px; border-top: 1px solid rgba(225,239,231,.08); }
    .msx-history-legend span { display: inline-flex; align-items: center; gap: 5px; color: #91a198; font-size: 8px; white-space: nowrap; }
    .msx-history-legend i { width: 7px; height: 7px; display: inline-block; border-radius: 2px; background: var(--legend-color); }
    .msx-history-legend .is-line i { width: 16px; height: 2px; border-radius: 1px; }
    .msx-history-segment-panel { --history-segment-color: #b9f736; --history-segment-x: 12px; --history-segment-y: 12px; position: fixed; z-index: 125; top: 0; left: 0; width: min(680px, calc(100vw - 24px)); height: min(650px, calc(100vh - 24px)); min-height: 250px; display: grid; grid-template-rows: auto auto minmax(0,1fr); overflow: hidden; color: #eef6f0; border: 1px solid color-mix(in srgb, var(--history-segment-color) 48%, rgba(225,239,231,.12)); border-radius: 14px; background: rgba(7,19,15,.985); box-shadow: 0 28px 78px rgba(0,0,0,.68), 0 0 0 1px rgba(185,247,54,.08), inset 3px 0 0 var(--history-segment-color); opacity: 0; visibility: hidden; pointer-events: none; transform: translate3d(var(--history-segment-x),var(--history-segment-y),0); transform-origin: top left; transition: opacity 100ms ease, visibility 100ms linear; will-change: opacity; text-rendering: geometricPrecision; -webkit-font-smoothing: antialiased; }
    .msx-history-segment-panel[hidden] { display: none; }
    .msx-history-segment-panel.is-visible { opacity: 1; visibility: visible; pointer-events: auto; overflow: visible; transform: translate3d(var(--history-segment-x),var(--history-segment-y),0); }
    .msx-history-segment-panel.is-visible::before { content: ""; position: absolute; z-index: 0; width: 16px; height: 16px; border: 1px solid color-mix(in srgb, var(--history-segment-color) 48%, rgba(225,239,231,.12)); background: rgba(7,19,15,.985); transform: rotate(45deg); pointer-events: none; }
    .msx-history-segment-panel[data-arrow-placement="right"]::before { left: -9px; top: var(--history-segment-arrow-y, 32px); border-top: 0; border-right: 0; }
    .msx-history-segment-panel[data-arrow-placement="left"]::before { right: -9px; top: var(--history-segment-arrow-y, 32px); border-bottom: 0; border-left: 0; }
    .msx-history-segment-panel[data-arrow-placement="bottom"]::before { top: -9px; left: var(--history-segment-arrow-x, 32px); border-bottom: 0; border-right: 0; }
    .msx-history-segment-panel[data-arrow-placement="top"]::before { bottom: -9px; left: var(--history-segment-arrow-x, 32px); border-top: 0; border-left: 0; }
    .msx-history-segment-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 13px 14px 11px 16px; border-bottom: 1px solid rgba(225,239,231,.1); }
    .msx-history-segment-head small { color: var(--history-segment-color); font: 800 8px/1 Consolas,monospace; letter-spacing: .08em; }
    .msx-history-segment-head h3 { margin: 6px 0 3px; color: #f4faf5; font-size: 15px; line-height: 1.2; }
    .msx-history-segment-head p { margin: 0; color: #8fa098; font-size: 9px; }
    .msx-history-segment-head button { width: 25px; height: 25px; flex: 0 0 auto; display: grid; place-items: center; padding: 0; color: #a7b5ad; border: 1px solid rgba(225,239,231,.13); border-radius: 6px; background: rgba(225,239,231,.035); font-size: 16px; line-height: 1; cursor: pointer; }
    .msx-history-segment-head button:hover { color: #fff; border-color: color-mix(in srgb, var(--history-segment-color) 45%, transparent); background: color-mix(in srgb, var(--history-segment-color) 8%, transparent); }
    .msx-history-segment-stats { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 1px; padding: 1px; background: rgba(225,239,231,.09); }
    .msx-history-segment-stats > div { min-width: 0; padding: 9px 10px; background: rgba(15,27,21,.98); }
    .msx-history-segment-stats strong { display: block; overflow: hidden; color: #f2f8f3; font: 760 14px/1 system-ui,sans-serif; text-overflow: ellipsis; white-space: nowrap; }
    .msx-history-segment-stats span { display: block; margin-top: 4px; color: #7f9187; font-size: 7px; }
    .msx-history-segment-body { min-height: 0; overflow-y: auto; padding: 11px 12px 13px 16px; scrollbar-color: color-mix(in srgb, var(--history-segment-color) 45%, transparent) transparent; }
    .msx-history-segment-summary { margin: 0 0 11px; color: #a9b8b0; font-size: 9px; line-height: 1.55; }
    .msx-history-segment-summary b { color: var(--history-segment-color); }
    .msx-history-segment-list-head { position: sticky; z-index: 1; top: -11px; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 -2px 7px; padding: 8px 2px 6px; border-bottom: 1px solid rgba(225,239,231,.08); background: rgba(8,15,12,.97); }
    .msx-history-segment-list-head b { color: #dce7e0; font-size: 9px; }
    .msx-history-segment-list-head span { color: #788a80; font-size: 8px; }
    .msx-history-segment-posts { display: grid; gap: 7px; }
    .msx-history-segment-post { display: block; padding: 9px 10px; color: inherit; border: 1px solid rgba(225,239,231,.1); border-left: 2px solid var(--history-segment-color); border-radius: 7px; background: rgba(225,239,231,.025); text-decoration: none; }
    .msx-history-segment-post:hover { border-color: color-mix(in srgb, var(--history-segment-color) 38%, rgba(225,239,231,.1)); background: color-mix(in srgb, var(--history-segment-color) 5%, transparent); }
    .msx-history-segment-post-top, .msx-history-segment-post-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
    .msx-history-segment-post-top b { color: #dce7e0; font-size: 9px; }
    .msx-history-segment-post-top span, .msx-history-segment-post-foot { color: #7e9086; font-size: 7.5px; }
    .msx-history-segment-post p { display: -webkit-box; margin: 6px 0 8px; overflow: hidden; color: #afbeb5; font-size: 9px; line-height: 1.5; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
    .msx-history-segment-post-foot em { color: var(--history-segment-color); font-style: normal; }
    .msx-history-segment-status { display: grid; min-height: 72px; place-items: center; padding: 14px; color: #819188; border: 1px dashed rgba(225,239,231,.12); border-radius: 7px; font-size: 9px; text-align: center; }
    .msx-history-analysis-head { padding: 16px 16px 13px; border-bottom: 1px solid rgba(225,239,231,.1); }
    .msx-history-analysis-head small { color: #b9f736; font: 800 9px/1 Consolas,monospace; letter-spacing: .1em; }
    .msx-history-analysis-head h3 { margin: 8px 0 5px; color: #f2f7f3; font-size: 17px; line-height: 1.25; }
    .msx-history-analysis-head p { margin: 0; color: #91a198; font-size: 10px; line-height: 1.55; }
    .msx-history-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; padding: 1px; background: rgba(225,239,231,.1); }
    .msx-history-stat { min-width: 0; padding: 12px 13px; background: #101b16; }
    .msx-history-stat span { display: block; color: #819188; font-size: 8px; }
    .msx-history-stat strong { display: block; margin-top: 5px; overflow: hidden; color: #edf5ef; font: 760 17px/1.1 system-ui,sans-serif; text-overflow: ellipsis; white-space: nowrap; }
    .msx-history-section { padding: 14px 16px; border-bottom: 1px solid rgba(225,239,231,.1); }
    .msx-history-section:last-child { border-bottom: 0; }
    .msx-history-section h4 { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 10px; color: #dfe8e2; font-size: 11px; }
    .msx-history-section h4 span { color: #819188; font-size: 8px; font-weight: 650; }
    .msx-history-impact { display: grid; grid-template-columns: minmax(78px,auto) 1fr auto; align-items: center; gap: 7px; margin-top: 7px; }
    .msx-history-impact b { overflow: hidden; color: #c9d5ce; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
    .msx-history-impact-track { height: 4px; overflow: hidden; border-radius: 2px; background: rgba(225,239,231,.08); }
    .msx-history-impact-track i { width: var(--impact-width); height: 100%; display: block; background: var(--impact-color); }
    .msx-history-impact strong { color: #dce8e0; font: 700 9px/1 Consolas,monospace; }
    .msx-history-relation-note { margin: 0; color: #9cabA3; font-size: 9px; line-height: 1.55; }
    .msx-history-opinions { display: grid; gap: 7px; }
    .msx-history-opinion { display: block; padding: 9px 10px; color: inherit; border: 1px solid rgba(225,239,231,.1); border-left: 2px solid var(--opinion-color); border-radius: 7px; background: rgba(8,13,11,.42); text-decoration: none; }
    .msx-history-opinion:hover { border-color: rgba(185,247,54,.25); background: rgba(185,247,54,.04); }
    .msx-history-opinion div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
    .msx-history-opinion b { color: #dce7e0; font-size: 9px; }
    .msx-history-opinion span { color: #7f9087; font-size: 8px; }
    .msx-history-opinion p { display: -webkit-box; margin: 6px 0 0; overflow: hidden; color: #b8c5bd; font-size: 9px; line-height: 1.5; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
    .msx-history-empty { display: grid; min-height: 90px; place-items: center; padding: 18px; color: #82928a; font-size: 10px; text-align: center; }
    .msx-history-nav { min-width: 0; padding: 10px 12px 9px; border: 1px solid rgba(225,239,231,.12); border-radius: 10px; background: #0d1712; }
    .msx-history-nav-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 7px; }
    .msx-history-nav-copy { display: flex; align-items: baseline; gap: 9px; }
    .msx-history-nav-copy b { color: #dbe6df; font-size: 10px; }
    .msx-history-nav-copy span { color: #82928a; font-size: 9px; }
    .msx-history-nav-copy i { color: #9dacA3; font-style: normal; }
    .msx-history-today { min-height: 27px; padding: 0 9px; color: #b9f736; border: 1px solid rgba(185,247,54,.23); border-radius: 6px; background: rgba(185,247,54,.05); font-size: 9px; font-weight: 750; cursor: pointer; }
    .msx-history-today:disabled { color: #607068; border-color: rgba(225,239,231,.08); background: transparent; cursor: default; }
    .msx-history-nav-svg { width: 100%; height: 54px; display: block; touch-action: none; cursor: grab; }
    .msx-history-nav-svg:active { cursor: grabbing; }
    .msx-history-nav-area { fill: rgba(185,247,54,.12); stroke: rgba(185,247,54,.42); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
    .msx-history-nav-window { fill: rgba(185,247,54,.06); stroke: #b9f736; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
    .msx-history-ranges { height: 18px; position: relative; margin-top: -5px; }
    .msx-history-ranges input { width: 100%; height: 18px; position: absolute; inset: 0; margin: 0; appearance: none; background: transparent; pointer-events: none; }
    .msx-history-ranges input::-webkit-slider-thumb { width: 10px; height: 18px; appearance: none; border: 1px solid #b9f736; border-radius: 3px; background: #14231b; pointer-events: auto; cursor: ew-resize; }
    .msx-history-ranges input::-moz-range-thumb { width: 10px; height: 18px; border: 1px solid #b9f736; border-radius: 3px; background: #14231b; pointer-events: auto; cursor: ew-resize; }
    @keyframes msx-history-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
    @media (max-width: 1180px) {
      .trend-history-layout.history-focus-context { grid-template-columns: 1fr; }
      .history-focus-context #trend-history-chart,
      .history-focus-context #trend-history-analysis,
      .history-focus-context #trend-history-navigator { grid-column: 1; grid-row: auto; }
      .history-focus-context #trend-history-analysis { height: min(320px, 58vh); max-height: 320px; }
    }
    @media (prefers-reduced-motion: reduce) {
      .msx-history-series { animation: none; }
    }
  
