:root {
    --hv-background: #0b0d10;
    --hv-panel: #11151a;
    --hv-border: #2a3038;
    --hv-grid: #252b33;
    --hv-axis: #7e8792;
    --hv-text: #e7e9ec;
    --hv-muted: #a7adb5;
    --hv-yellow: #ffd400;
    --hv-red: #ff3b30;
    --hv-green: #22c55e;
    --hv-white: #ffffff;
    --hv-magenta: #ff00ff;
    --hv-cyan: #00ffff;
    --hv-logo-right: 2%;

    --hv-logo-module1-long-bottom: 14%;
    --hv-logo-module1-short-bottom: 14%;
    --hv-logo-module1-spread-bottom: 14%;

    --hv-logo-module2-spread-bottom: 14%;
    --hv-logo-module2-pressure-bottom: 14%;

    --hv-logo-module3-move-bottom: 16%;
    --hv-logo-module3-comparison-bottom: 12%;

    --hv-logo-module4-long-bottom: 9%;
    --hv-logo-module4-short-bottom: 9%;
    --hv-logo-module4-speed-2y-bottom: 14%;
    --hv-logo-module4-speed-5y-bottom: 14%;
    --hv-logo-module4-speed-10y-bottom: 14%;
    --hv-logo-module4-speed-30y-bottom: 14%;

--hv-info-module1-top: 57%;
--hv-info-module1-right: 91%;
--hv-info-module1-text:
"AB HV : AB HV is a historical volatility measure specific to Analysebourses. Our various historical volatility indicators, including curves, speed measures, and others, are all based on this measure.\A"
"------------------------\A"
"Long-term AB HV UST : Measures the volatility of part of the UST curve (2Y, 5Y, 10Y, 30Y) using our HV indicator over 252 days.\A"
"------------------------\A"
"Short-term AB HV UST : Measures the volatility of part of the UST curve (2Y, 5Y, 10Y, 30Y) using our HV indicator over 21 days.";

    --hv-info-module2-top: 89%;
    --hv-info-module2-right: 91%;
    --hv-info-module2-text: "AB HV pressure indicator provides a more sensitive measure of our historical \A volatility indicator calculated on U.S. Treasuries.";

    --hv-info-module3-top: 89%;
    --hv-info-module3-right: 92%;
    --hv-info-module3-text: "The MOVE Index measures the 30-day implied volatility of OTC ATM options on the 2Y, 5Y, 10Y, and 30Y U.S. Treasury maturities. This indicator provides only an approximate indication and does not fully reflect the overall implied volatility of the U.S. Treasury options market.\A"
"------------------------\A"
"The AB HV Move Index is a customized Analysebourses version based on our historical volatility measure for the 2Y, 5Y, 10Y, and 30Y maturities.\A"
"------------------------\A"
"MOVE IV vs HV Spread : Measures the difference between MOVE implied volatility and historical volatility. \A"
"------------------------\A"
"Variation Speed : Measures the rate of change between the two Move.";

    --hv-info-module4-top: 88%;
    --hv-info-module4-right: 93%;
    --hv-info-module4-text: "Long-term AB HV : Measures the historical volatility level of each maturity, calculated using the Analysebourses indicator over 252 days. \A"
"------------------------\A"
"Short-term AB HV : Measures the historical volatility level of each maturity, calculated using the Analysebourses indicator over 21 days.\A"
"------------------------\A"
"Maturity Variation Speed : Measures the rate of change of our AB HV Move historical volatility measure relative to that of each maturity.\A"
"The vertical bar can be moved using the arrow keys < >";}

* {
    box-sizing: border-box;}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--hv-background);
    color: var(--hv-text);
    font-family: Arial, Helvetica, sans-serif;}

#hv-page {
    width: 100%;
    margin: 0 auto;
    padding: 20px;}

#hv-toolbar {
    position: relative;
    z-index: 20;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 31px;
    flex-wrap: nowrap;}

.hv-dropdown {
    position: relative;
    display: inline-block;}

.hv-dropdown-button,
.hv-dropdown-option,
.hv-toolbar-button,
.move-chart-toggle {
    font-family: inherit;
    font-size: 12px;
    color: var(--hv-text);
    background: var(--hv-panel);
    border: 1px solid #FFFFFF;}

.hv-dropdown-button,
.hv-toolbar-button {
    height: 31px;
    padding: 0 14px;
    line-height: 29px;
    cursor: pointer;
    vertical-align: top;}

.hv-toolbar-button {
    white-space: nowrap;}

.hv-dropdown-button:hover,
.hv-toolbar-button:hover,
.move-chart-toggle:hover {
    background: #FFFFFF;
    color: #000000;}

.hv-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 100%;
    display: none;
    background: var(--hv-panel);
    border: 1px solid #FFFFFF;
    z-index: 30;}

.hv-dropdown-open .hv-dropdown-menu {
    display: block;}

.hv-dropdown-option {
    display: block;
    width: 100%;
    padding: 7px 12px;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
    border: 0;
    border-bottom: 1px solid #999999;}

.hv-dropdown-option:last-child {
    border-bottom: 0;}

.hv-dropdown-option:hover {
    background: #FFFFFF;
	color:#000000;}

.hv-dropdown-option:disabled,
.hv-dropdown-option[aria-current="true"] {
    color: var(--hv-muted);
    background: #171b21;
    cursor: default;
    opacity: 0.55;}

.hv-dropdown-option:disabled:hover,
.hv-dropdown-option[aria-current="true"]:hover {
    background: #171b21;}

#move-zoom-button.active {
    background: #CC0033;
    color: #ffffff;
    border-color: #ffffff;}

#move-zoom-button.active:hover {
    background: #FFFFFF;
    color: #000000;}

.hv-detail-module {
    width: 100%;
    height: auto;
    margin: 0;
    display: grid;
    gap: 18px;
    position: relative;}

.hv-detail-chart-block {
    width: 100%;
    aspect-ratio: 1200 / 260;
    min-height: 0;
    position: relative;
    border: 1px solid var(--hv-border);
    background: var(--hv-panel);
    overflow: hidden;}

.hv-detail-chart {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 260;
    touch-action: pan-y;}

.hv-detail-legend {
    position: absolute;
    top: 16px;
    left: 99px;
    display: flex;
    flex-direction: row;
    gap: 14px;
    font-size: 12px;
    color: var(--hv-text);
    z-index: 2;
    pointer-events: none;}

.move-module {
    width: 100%;
    display: grid;
    gap: 10px;
    min-height: 0;}

.move-chart-block {
    position: relative;
    width: 100%;
    height: 300px;
    min-height: 0;
    border: 1px solid var(--hv-border);
    background: var(--hv-panel);
    overflow: hidden;}

.move-chart-scroll {
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;}

.move-chart {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 100%;
    touch-action: pan-y;}

.move-module.is-zoom-active .move-chart-scroll {
    cursor: grab;
    touch-action: none;}

.move-module.is-zoom-active .move-chart-scroll:active {
    cursor: grabbing;}

body.hv-move-active {
    height: 100vh;
    overflow: hidden;}

body.hv-move-active #hv-page {
    height: 100vh;
    padding-top: 20px;
    padding-bottom: 2px;
    display: flex;
    flex-direction: column;
    overflow: hidden;}

body.hv-move-active #hv-toolbar {
    flex: 0 0 31px;
    min-height: 31px;
    margin-bottom: 10px;}

body.hv-move-active .move-module {
    flex: 1 1 auto;
    min-height: 0;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 10px;}

body.hv-move-active .move-chart-block {
    height: auto;
    min-height: 0;}

.move-legend {
    position: absolute;
    top: 16px;
    left: 99px;
    right: 120px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12px;
    color: var(--hv-text);
    z-index: 2;
    pointer-events: none;}

.move-level-line {
    fill: none;
    stroke-width: 1;
    vector-effect: non-scaling-stroke;}

.move-level-line-MOVE_SUPPORT { stroke: #FF00FF;}
.move-level-line-MOVE_LEVEL_25 { stroke: #00FFFF;}
.move-level-line-MOVE_LEVEL_50 { stroke: #FFFFFF;}
.move-level-line-MOVE_LEVEL_75 { stroke: #FFFF00;}
.move-level-line-MOVE_RESISTANCE { stroke: #FF0000;}

.move-hlc-range,
.move-hlc-close {
    fill: none;
    stroke: var(--hv-green);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;}

.move-chart-toggle {
    padding: 6px 10px;
    cursor: pointer;}

.move-chart-dropdown {
    position: absolute;
    top: 10px;
    right: 32px;
    z-index: 3;}

.move-chart-dropdown .move-chart-toggle {
    position: static;
    display: block;}

.hv-module {
    display: grid;
    gap: 18px;}

#ab-hv-module {
    position: relative;}

.hv-chart-block {
    border: 1px solid var(--hv-border);
    background: var(--hv-panel);
    position: relative;}

.hv-chart-title {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    pointer-events: none;
    z-index: 2;}

.hv-legend {
    position: absolute;
    top: 16px;
    left: 99px;
    display: flex;
    flex-direction: row;
    gap: 14px;
    font-size: 12px;
    color: var(--hv-text);
    z-index: 2;
    pointer-events: none;}

.hv-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;}

.hv-legend-circle {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;}

.hv-chart {
    display: block;
    width: 100%;
    height: auto;
    touch-action: pan-y;}

.hv-grid-line {
    stroke: var(--hv-grid);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;}

.hv-axis-line {
    stroke: var(--hv-axis);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;}

.hv-zero-line {
    stroke: var(--hv-axis);
    stroke-width: 1;
    stroke-dasharray: 4;
    vector-effect: non-scaling-stroke;}

.hv-axis-label {
    fill: var(--hv-muted);
    font-size: 11px;}

.hv-series-path {
    fill: none;
    stroke-width: 1.6;
    stroke-linejoin: round;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;}

.hv-series-yellow { stroke: var(--hv-yellow); background: var(--hv-yellow); }
.hv-series-red { stroke: var(--hv-red); background: var(--hv-red); }
.hv-series-green { stroke: var(--hv-green); background: var(--hv-green); }
.hv-series-white { stroke: var(--hv-white); background: var(--hv-white); }
.hv-series-magenta { stroke: var(--hv-magenta); background: var(--hv-magenta); }
.hv-series-cyan { stroke: var(--hv-cyan); background: var(--hv-cyan); }

.hv-color-yellow { color: var(--hv-yellow); }
.hv-color-red { color: var(--hv-red); }
.hv-color-green { color: var(--hv-green); }
.hv-color-white { color: var(--hv-white); }

.hv-crosshair {
    fill: url(#hv-fade-grad);
    pointer-events: none;}

.hv-move-crosshair-hlc {
    fill: url(#hv-move-fade-grad-hlc);
    pointer-events: none;}

.hv-move-crosshair-comp {
    fill: url(#hv-move-fade-grad-comp);
    pointer-events: none;}

.hv-detail-crosshair {
    fill: url(#hv-detail-fade-grad);
    pointer-events: none;}

.hv-detail-tooltip {
    position: absolute;
    top: 100px;
    left: 150px;
    right: auto;
    width: 230px;
    background: var(--hv-panel);
    border: 1px solid var(--hv-border);
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    z-index: 100;
    transform: translate(var(--detail-tt-x, 0px), var(--detail-tt-y, 0px));
    will-change: transform;}

#hv-detail-tooltip-header {
    background: #1c2229;
    padding: 8px 12px;
    font-size: 13px;
    text-align: center;
    cursor: grab;
    border-bottom: 1px solid var(--hv-border);
    border-radius: 6px 6px 0 0;
    user-select: none;
    position: relative;}

#hv-detail-tooltip-header:active {
    cursor: grabbing;}

.hv-detail-tooltip-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;}

#hv-draggable-tooltip,
#move-draggable-tooltip {
    position: absolute;
    top: 100px;
    left: 150px;
    right: auto;
    width: 220px;
    background: var(--hv-panel);
    border: 1px solid var(--hv-border);
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    z-index: 100;
    display: flex;
    flex-direction: column;
    transform: translate(var(--tt-x, 0px), var(--tt-y, 0px));
    will-change: transform;}

#move-draggable-tooltip {
    transform: translate(var(--move-tt-x, 0px), var(--move-tt-y, 0px));}

#hv-tooltip-header,
#move-tooltip-header {
    background: #1c2229;
    padding: 8px 12px;
    font-size: 13px;
    text-align: center;
    cursor: grab;
    border-bottom: 1px solid var(--hv-border);
    border-radius: 6px 6px 0 0;
    user-select: none;
    position: relative;}

#hv-tooltip-header:active,
#move-tooltip-header:active {
    cursor: grabbing;}

.hv-tt-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--hv-text);
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    line-height: 1;}

#move-draggable-tooltip.hv-tt-minimized #move-tooltip-body,
#hv-draggable-tooltip.hv-tt-minimized #hv-tooltip-body,
#hv-detail-tooltip.hv-tt-minimized .hv-detail-tooltip-body {
    display: none !important;}

#hv-tooltip-body,
#move-tooltip-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;}

.hv-tooltip-divider {
    border: none;
    border-top: 1px solid var(--hv-border);
    margin: 4px 0;}

.hv-tooltip-row {
    display: flex;
    justify-content: space-between;
    align-items: center;}

.hv-tooltip-val {
    color: var(--hv-text);}

.hv-hidden {
    display: none !important;}

#move-comparison-dropdown .hv-dropdown-menu {
    left: auto;
    right: 0;}

@media (max-width: 760px) {
   
#hv-page {
   padding: 10px;}

#hv-toolbar {
  flex-wrap: wrap;
  min-height: 31px;}

.move-chart-block {
  height: 260px;}

.move-legend {
  top: 10px;
  left: 65px;
  right: 90px;
  gap: 8px;}

.hv-chart-title {
  top: 10px;
  font-size: 13px;}

.hv-legend,
.hv-detail-legend {
  top: 10px;
  left: 65px;
  gap: 8px;
  flex-wrap: wrap;}

#hv-draggable-tooltip,
#move-draggable-tooltip {
   top: 80px;
   left: 20px;
   right: auto;}

.hv-detail-tooltip {
   top: 80px;
   left: 20px;
   right: auto;}
}

.ust-curve-module {
    width: 100%;
    min-height: 0;}

.ust-curve-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 10px;
    width: 100%;
    min-height: 0;}

.ust-term-chart-stack {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 10px;
    min-width: 0;}

.ust-term-chart-block {
    position: relative;
    height: 300px;
    min-height: 0;
    overflow: hidden;
    border: 1px solid var(--hv-border);
    background: var(--hv-panel);}

.ust-term-chart {
    display: block;
    width: 100%;
    height: 100%;}

.ust-term-path {
    fill: none;
    stroke-width: 2;
    stroke-linejoin: round;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;}

.ust-term-path-latest {
    stroke: var(--hv-yellow);}

.ust-term-path-t5 {
    stroke: var(--hv-cyan);
    stroke-dasharray: 7 5;}

.ust-term-point {
    vector-effect: non-scaling-stroke;}

.ust-term-point-latest {
    fill: var(--hv-yellow);
    stroke: var(--hv-yellow);}

.ust-term-point-t5 {
    fill: var(--hv-panel);
    stroke: var(--hv-cyan);
    stroke-width: 2;}

.ust-term-dashboard {
    min-width: 0;
    border: 1px solid var(--hv-border);
    background: var(--hv-panel);
    padding: 14px;
    overflow: hidden;}

.ust-term-dashboard h2 {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;}

.ust-dashboard-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;}

.ust-dashboard-dates > div {
    border: 1px solid var(--hv-border);
    background: #0e1217;
    padding: 8px 10px;
    text-align: center;}

.ust-dashboard-dates > .ust-latest-card {
    display: flex;
    flex-direction: column;
    justify-content: center;}

.ust-dashboard-dates span,
.ust-dashboard-dates strong {
    display: block;}

.ust-dashboard-dates span {
    margin-bottom: 4px;
    color: var(--hv-muted);
    font-size: 11px;}

.ust-dashboard-dates strong {
    font-size: 12px;
    font-weight: 600;}

.ust-compare-control label {
    display: block;
    margin-bottom: 4px;
    color: var(--hv-muted);
    font-size: 11px;}

.ust-compare-control select {
    display: block;
    width: 92px;
    height: 26px;
    margin: 0 auto 5px;
    padding: 0 6px;
    color: var(--hv-text);
    background: var(--hv-panel);
    border: 1px solid var(--hv-border);
    font: inherit;
    font-size: 11px;
    text-align: center;
    text-align-last: center;
    cursor: pointer;}

.ust-dashboard-section + .ust-dashboard-section {
    margin-top: 16px;}

.ust-dashboard-section h3 {
    margin: 0 0 7px;
    font-size: 12px;
    font-weight: 600;}

.ust-dashboard-section table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 12px;}

.ust-dashboard-section th,
.ust-dashboard-section td {
    padding: 7px 4px;
    border-bottom: 1px solid var(--hv-border);
    text-align: right;}

.ust-dashboard-section thead th {
    color: var(--hv-muted);
    font-size: 13px;
    font-weight: 600;}

.ust-dashboard-section th:first-child {
    text-align: left;}

.ust-dashboard-section tbody td:nth-child(2) {
    color: var(--hv-yellow);}

.ust-dashboard-section tbody td:nth-child(4) {
    color: var(--hv-cyan);}

.ust-change-cell {
    font-weight: 600;
    white-space: nowrap;}

.ust-change-cell.is-up {
    color: var(--hv-green);}

.ust-change-cell.is-down {
    color: var(--hv-red);}

.ust-change-cell.is-flat {
    color: var(--hv-muted);}

.ust-speed-legend {
    position: absolute;
    top: 35px;
    left: 70px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--hv-text);
    pointer-events: none;}

.ust-speed-legend-line {
    display: inline-block;
    width: 18px;
    height: 0;
    border-top: 2px solid var(--hv-yellow);}

.ust-speed-latest-value {
    margin-left: 2px;
    color: var(--hv-yellow);
    font-variant-numeric: tabular-nums;}

.ust-speed-view {
    position: relative;
    width: 100%;
    min-height: 610px;}

.ust-speed-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    min-height: 610px;}

.ust-speed-chart-block {
    position: relative;
    min-width: 0;
    min-height: 0;
    height: 300px;
    overflow: hidden;
    border: 1px solid var(--hv-border);
    background: var(--hv-panel);}

.ust-speed-chart {
    display: block;
    width: 100%;
    height: 100%;}

.ust-speed-path {
    fill: none;
    stroke-width: 1.7;
    stroke-linejoin: round;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;}

.ust-speed-path-2Y { stroke: var(--hv-yellow); }
.ust-speed-path-5Y { stroke: var(--hv-cyan); }
.ust-speed-path-10Y { stroke: var(--hv-green); }
.ust-speed-path-30Y { stroke: var(--hv-magenta); }

.ust-speed-chart-block:nth-child(1) .ust-speed-legend-line { border-top-color: var(--hv-yellow); }
.ust-speed-chart-block:nth-child(2) .ust-speed-legend-line { border-top-color: var(--hv-cyan); }
.ust-speed-chart-block:nth-child(3) .ust-speed-legend-line { border-top-color: var(--hv-green); }
.ust-speed-chart-block:nth-child(4) .ust-speed-legend-line { border-top-color: var(--hv-magenta); }

.ust-speed-chart-block:nth-child(1) .ust-speed-latest-value { color: var(--hv-yellow); }
.ust-speed-chart-block:nth-child(2) .ust-speed-latest-value { color: var(--hv-cyan); }
.ust-speed-chart-block:nth-child(3) .ust-speed-latest-value { color: var(--hv-green); }
.ust-speed-chart-block:nth-child(4) .ust-speed-latest-value { color: var(--hv-magenta); }

.ust-speed-neutral-line {
    stroke: var(--hv-axis);
    stroke-width: 1;
    stroke-dasharray: 4 4;
    vector-effect: non-scaling-stroke;}

@media (max-width: 1050px) {

.ust-curve-layout {
    grid-template-columns: 1fr;}

.ust-term-dashboard {
    overflow: visible;}
}

@media (min-width: 1051px) {

body.hv-ust-active {
    height: 100vh;
    overflow: hidden;}

body.hv-ust-active #hv-page {
    height: 100vh;
    padding-top: 20px;
    padding-bottom: 2px;
    display: flex;
    flex-direction: column;
    overflow: hidden;}

body.hv-ust-active #hv-toolbar {
    flex: 0 0 31px;
    min-height: 31px;
    margin-bottom: 10px;}

body.hv-ust-active .ust-curve-module {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;}

body.hv-ust-active .ust-curve-layout,
body.hv-ust-active .ust-term-chart-stack {
    height: 100%;
    min-height: 0;}

body.hv-ust-active .ust-term-chart-block {
    height: auto;
    min-height: 0;}

body.hv-ust-active .ust-term-dashboard {
    height: 100%;
    min-height: 0;}

body.hv-ust-active .ust-speed-view,
body.hv-ust-active .ust-speed-grid {
     height: 100%;
     min-height: 0;}

body.hv-ust-active .ust-speed-chart-block {
     height: auto;
     min-height: 0;}
}

.ust-term-hit-zone {
    fill: transparent;
    pointer-events: all;
    cursor: default;}

.ust-term-maturity-label {
    cursor: default;}

.ust-term-point.is-maturity-active {
    stroke-width: 2.4;}

.ust-dashboard-section tbody tr {
    transition: background-color 120ms ease;}

.ust-dashboard-section tbody tr.is-maturity-active {
    background: rgba(255, 255, 255, 0.07);}

@media (max-width: 1050px) {

.ust-speed-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: 0;}

.ust-speed-chart-block {
    height: 260px;}
}

.ust-term-chart-block > .hv-chart-title {
    top: 8px;
    z-index: 4;}

.ust-speed-crosshair {
    pointer-events: none;}

.ust-speed-tooltip {
    position: absolute;
    top: 78px;
    left: 86px;
    right: auto;
    z-index: 140;
    width: 224px;
    background: rgba(17, 21, 26, 0.97);
    border: 1px solid var(--hv-border);
    border-radius: 5px;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.42);
    font-size: 12.5px;
    line-height: 1.25;
    transform: translate(var(--ust-speed-tt-x, 0px), var(--ust-speed-tt-y, 0px));
    will-change: transform;}

.ust-speed-tooltip-header {
    padding: 5px 7px;
    background: #1c2229;
    border-bottom: 1px solid var(--hv-border);
    border-radius: 5px 5px 0 0;
    color: var(--hv-muted);
    text-align: center;
    font-size: 12px;
    cursor: grab;
    user-select: none;}

.ust-speed-tooltip-header:active {
    cursor: grabbing;}

.ust-speed-tooltip-body {
    padding: 5px 7px 6px;}

.ust-speed-tooltip-row {
    display: grid;
    grid-template-columns: 34px 66px 1fr;
    align-items: center;
    gap: 7px;
    padding: 4px 0;
    white-space: nowrap;}

.ust-speed-tooltip-row + .ust-speed-tooltip-row {
    border-top: 1px solid rgba(255, 255, 255, 0.10);}

.ust-speed-tooltip-maturity {
    font-size: 13px;
    font-weight: 600;}

.ust-speed-tooltip-level {
    color: var(--hv-white);
    font-size: 13.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-align: right;}

.ust-speed-tooltip-change {
    font-size: 12.5px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-align: right;}

.ust-speed-tooltip-row-2Y .ust-speed-tooltip-maturity { color: var(--hv-yellow); }
.ust-speed-tooltip-row-5Y .ust-speed-tooltip-maturity { color: var(--hv-cyan); }
.ust-speed-tooltip-row-10Y .ust-speed-tooltip-maturity { color: var(--hv-green); }
.ust-speed-tooltip-row-30Y .ust-speed-tooltip-maturity { color: var(--hv-magenta); }

.ust-speed-tooltip-change.is-up { color: var(--hv-green); }
.ust-speed-tooltip-change.is-down { color: var(--hv-red); }
.ust-speed-tooltip-change.is-flat { color: var(--hv-muted); }

.hv-chart-block::after,
.hv-detail-chart-block::after,
.move-chart-block::after,
.ust-term-chart-block::after,
.ust-speed-chart-block::after {
    content: "Analysebourses.com";
    position: absolute;
    right: var(--hv-logo-right);
    z-index: 1;
    color: #CCCCCC;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2px;
    pointer-events: none;
    user-select: none;}

#ab-hv-module .hv-chart-block:nth-child(1)::after { bottom: var(--hv-logo-module1-long-bottom); }
#ab-hv-module .hv-chart-block:nth-child(2)::after { bottom: var(--hv-logo-module1-short-bottom); }
#ab-hv-module .hv-chart-block:nth-child(3)::after { bottom: var(--hv-logo-module1-spread-bottom); }
#ab-hv-detail-module .hv-detail-chart-block:nth-child(1)::after { bottom: var(--hv-logo-module2-spread-bottom); }
#ab-hv-detail-module .hv-detail-chart-block:nth-child(2)::after { bottom: var(--hv-logo-module2-pressure-bottom); }
#move-module .move-chart-block:nth-child(1)::after { bottom: var(--hv-logo-module3-move-bottom); }
#move-module .move-chart-block:nth-child(2)::after { bottom: var(--hv-logo-module3-comparison-bottom); }
#ust-curve-ab-view .ust-term-chart-block:nth-child(1)::after { bottom: var(--hv-logo-module4-long-bottom); }
#ust-curve-ab-view .ust-term-chart-block:nth-child(2)::after { bottom: var(--hv-logo-module4-short-bottom); }
#ust-curve-speed-view .ust-speed-chart-block:nth-child(1)::after { bottom: var(--hv-logo-module4-speed-2y-bottom); }
#ust-curve-speed-view .ust-speed-chart-block:nth-child(2)::after { bottom: var(--hv-logo-module4-speed-5y-bottom); }
#ust-curve-speed-view .ust-speed-chart-block:nth-child(3)::after { bottom: var(--hv-logo-module4-speed-10y-bottom); }
#ust-curve-speed-view .ust-speed-chart-block:nth-child(4)::after { bottom: var(--hv-logo-module4-speed-30y-bottom); }

#move-module,
#ust-curve-module {
    position: relative;}

.hv-info-badge {
    position: absolute;
    z-index: 180;
    width: 26px;
    height: 26px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--hv-yellow);
    border-radius: 50%;
    background: #0033CC;
    color: var(--hv-yellow);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-style: italic;
    font-weight: 700;
    line-height: 1;
    cursor: help;
    box-shadow: none;}

.hv-info-badge::after {
    content: var(--hv-info-text);
    position: absolute;
    left: calc(100% + 8px);
    right: auto;
    top: auto;
    bottom: calc(100% + 8px);
    width: max-content;
    min-width: 280px;
    max-width: min(520px, calc(100vw - 70px));
    padding: 10px 12px;
    border: 1px solid #ffffff;
    border-radius: 4px;
    background: rgba(17, 21, 26, 0.98);
    color: var(--hv-text);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.40;
    text-align: left;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(2px);
    transition: opacity 100ms ease, transform 100ms ease, visibility 100ms ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);}

.hv-info-badge:hover::after,
.hv-info-badge:focus-visible::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);}

.hv-info-badge:focus-visible {
    outline: 1px solid #ffffff;
    outline-offset: 2px;}

.hv-info-module1 {
    top: var(--hv-info-module1-top);
    right: var(--hv-info-module1-right);
    --hv-info-text: var(--hv-info-module1-text);}

.hv-info-module2 {
    top: var(--hv-info-module2-top);
    right: var(--hv-info-module2-right);
    --hv-info-text: var(--hv-info-module2-text);}

.hv-info-module3 {
    top: var(--hv-info-module3-top);
    right: var(--hv-info-module3-right);
    --hv-info-text: var(--hv-info-module3-text);}

.hv-info-module4 {
    top: var(--hv-info-module4-top);
    right: var(--hv-info-module4-right);
    --hv-info-text: var(--hv-info-module4-text);}
