/* Market Risk Monitor shares the Data Room's lavender and quiet dark surfaces. */
.market-risk-page { --market-risk-accent: #bea8f4; --market-risk-accent-soft: #eee6ff; --market-risk-line: #bea8f426; --market-risk-muted: #a5a1b6; --market-risk-surface: #0b0d14; width: min(1440px, calc(100% - 80px)); margin: 0 auto; padding: 58px 0 78px; color: #ecedf5; }
.market-risk-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 42px; align-items: end; padding-bottom: 34px; border-bottom: 1px solid var(--market-risk-line); }
.market-risk-heading .eyebrow { color: var(--market-risk-accent); letter-spacing: .15em; font-size: 11px; margin: 0 0 17px; }
.market-risk-heading h1 { font-size: clamp(40px, 4.8vw, 66px); letter-spacing: -.055em; line-height: 1.06; margin: 0 0 19px; }
.market-risk-heading h1 em { font-style: normal; color: var(--market-risk-accent); }
.market-risk-lede { max-width: none; color: #b7b3c6; font-size: 15px; line-height: 1.8; margin: 0; }
.market-risk-snapshot { display: grid; grid-template-columns: 8px auto; column-gap: 10px; row-gap: 17px; padding: 0 0 4px; min-width: 218px; font-size: 10px; text-transform: uppercase; letter-spacing: .07em; color: var(--market-risk-muted); }
.market-risk-snapshot-dot { width: 6px; height: 6px; background: var(--market-risk-accent); border-radius: 50%; margin-top: 5px; box-shadow: 0 0 12px #bea8f433; }
.market-risk-snapshot strong { display: block; color: #eceaf4; font-size: 16px; text-transform: none; letter-spacing: -.02em; margin-top: 6px; }
.market-risk-reload { grid-column: 2; justify-self: start; display: inline-flex; gap: 18px; align-items: center; border: 0; border-bottom: 1px solid #bea8f444; padding: 0 0 6px; color: #d9cee9; background: transparent; font: inherit; text-transform: none; font-size: 12px; cursor: pointer; }
.market-risk-reload:disabled { cursor: wait; opacity: .55; }
.market-risk-reload svg { width: 13px; height: 13px; }

/* One toolbar and one accessible legend keep attention on the plot. */
.market-risk-chart-panel { margin-top: 30px; min-width: 0; border: 1px solid #bea8f433; border-radius: 12px; background: var(--market-risk-surface); overflow: hidden; box-shadow: 0 22px 64px #0003; }
.market-risk-chart-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding: 30px 28px 24px; background: radial-gradient(ellipse at 0 0, #bea8f40c, transparent 70%); }
.market-risk-overline { display: flex; align-items: center; gap: 9px; font-size: 10px; font-weight: 600; color: var(--market-risk-accent); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.market-risk-overline::before { content: ""; width: 19px; height: 1px; background: var(--market-risk-accent); opacity: .6; }
.market-risk-chart-toolbar h2 { margin: 0; color: #f0edf6; font-size: clamp(24px,2.4vw,31px); font-weight: 600; letter-spacing: -.045em; line-height: 1.25; }
.market-risk-chart-toolbar h2 em { color: #d0bfed; font-weight: 500; }
.market-risk-period { display: grid; gap: 8px; }
.market-risk-period > span { color: #aaa2ba; font-size: 10px; letter-spacing: .09em; text-transform: uppercase; text-align: right; }
.market-risk-range { display: flex; gap: 3px; padding: 4px; border-radius: var(--radius); border: 1px solid var(--market-risk-line); background: #07090f; }
.market-risk-range button { min-height: 36px; border: 1px solid transparent; background: transparent; padding: 8px 14px; border-radius: 5px; color: #a9a2b8; cursor: pointer; font-family: inherit; font-size: 12px; font-weight: 600; transition: color .15s, background .15s, border-color .15s; }
.market-risk-range button[aria-pressed="true"] { background: #bea8f41c; border-color: #bea8f44d; color: #eee6ff; }
.market-risk-range button:hover:not([aria-pressed="true"]) { color: #eee6ff; background: #bea8f40c; }
.market-risk-chart-key { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 0 28px 20px; border-bottom: 1px solid var(--market-risk-line); }
.market-risk-chart-key label { position: relative; display: inline-flex; align-items: center; gap: 9px; min-height: 44px; min-width: 0; padding: 10px 13px; border: 1px solid #ffffff0d; border-radius: 6px; cursor: pointer; color: #9590a5; background: #ffffff02; font-size: 12px; line-height: 1.4; transition: border-color .15s, background .15s, color .15s; }
.market-risk-chart-key label:hover { border-color: #bea8f44d; background: #bea8f409; color: #e5ddec; }
.market-risk-chart-key label:has(input:checked) { border-color: color-mix(in srgb, var(--market-risk-series-color) 32%, transparent); background: color-mix(in srgb, var(--market-risk-series-color) 7%, transparent); color: #e6e0ed; }
.market-risk-chart-key label:has(input:focus-visible) { outline: 2px solid var(--market-risk-accent); outline-offset: 3px; }
.market-risk-chart-key label:has(input:disabled) { opacity: .5; cursor: wait; }
.market-risk-chart-key input { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.market-risk-series-swatch { flex: 0 0 22px; height: 0; border-top: 2px solid var(--market-risk-series-color); opacity: .35; }
.market-risk-chart-key label:has(input:checked) .market-risk-series-swatch { opacity: 1; }
.market-risk-chart-key [data-market-risk-key="bands"] .market-risk-series-swatch { height: 10px; border-block: 1px dashed var(--market-risk-series-color); background: #bea8f414; }
.market-risk-chart-key small { flex: 0 0 100%; margin-top: 4px; color: #a09aae; font-size: 11px; line-height: 1.6; text-align: left; }
.market-risk-risk-key { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; padding: 16px 28px 8px; }
.market-risk-risk-item { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.market-risk-risk-long { color: #ead8b2; }
.market-risk-risk-low { color: #c2edb0; }
.market-risk-risk-range { display: flex; align-items: center; gap: 18px; min-width: 0; }
.market-risk-risk-scale { display: inline-flex; align-items: center; gap: 9px; color: #bdb2c4; font-size: 10px; white-space: nowrap; }
.market-risk-risk-scale i { display: block; width: 120px; height: 5px; border-radius: 999px; background: linear-gradient(90deg, #f4d35e, #f19a4b, #e85c56); }
.market-risk-risk-scale-negative i { background: linear-gradient(90deg, #c2edb0, #82d68e, #3ab66f); }
.market-risk-risk-item strong { display: block; font-size: 12px; font-weight: 600; line-height: 1.5; }
.market-risk-risk-item small { display: block; color: #ada5bb; font-size: 10px; line-height: 1.6; }
.market-risk-plot-wrap { position: relative; padding: 10px 16px 0; }
.market-risk-plot { width: 100%; height: 530px; min-width: 0; }
.market-risk-chart-loading { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 30px; background: var(--market-risk-surface); color: var(--market-risk-muted); font-size: 14px; }
.market-risk-chart-loading[hidden] { display: none; }
.market-risk-plot .modebar { background: transparent !important; border: 1px solid transparent; border-radius: 5px; }
.market-risk-plot .modebar-group { background: transparent !important; }
.market-risk-plot:hover .modebar, .market-risk-plot:focus-within .modebar { background: #0b0d14e6 !important; border-color: #bea8f426; }
.market-risk-plot .modebar-btn path { fill: #a49bb5; }
.market-risk-plot .modebar-btn:hover path, .market-risk-plot .modebar-btn.active path { fill: #d5c2ff; }
.market-risk-chart-caption { border-top: 1px solid var(--market-risk-line); padding: 20px 28px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 20px 36px; background: #bea8f404; }
.market-risk-chart-caption p { margin: 0; color: #a8a1b6; font-size: 12px; line-height: 1.8; text-align: left; }
.market-risk-chart-caption strong { color: #ddd3ed; font-weight: 600; }
.market-risk-caption-label { display: block; margin-bottom: 5px; color: #c0addf; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

.market-risk-method { margin-top: 57px; }
.market-risk-method-heading { max-width: 720px; }
.market-risk-method-heading .eyebrow { color: var(--market-risk-accent); font-size: 10px; }
.market-risk-method h2 { font-size: clamp(24px,3vw,33px); letter-spacing: -.045em; margin: 8px 0 12px; line-height: 1.2; }
.market-risk-method-heading > p:last-child { color: #a9a2b8; font-size: 13px; line-height: 1.8; }
.market-risk-method-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 27px; margin-top: 29px; }
.market-risk-method-grid article { border-top: 1px solid var(--market-risk-line); padding-top: 20px; }
.market-risk-method-grid article > span { color: #c0addf; font-size: 10px; text-transform: uppercase; letter-spacing: .065em; }
.market-risk-method-grid h3 { font-size: 17px; font-weight: 600; letter-spacing: -.03em; line-height: 1.5; margin: 12px 0; }
.market-risk-method-grid p { font-size: 12px; color: #a9a2b8; line-height: 1.9; }
.market-risk-source-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; margin-top: 40px; padding-top: 21px; border-top: 1px solid var(--market-risk-line); font-size: 10px; color: #a39aae; }
.market-risk-source-row > p { margin: 0; }
.market-risk-source-row a { color: #c9bedc; text-decoration-color: #655673; text-underline-offset: 4px; }
.market-risk-source-row > div { display: flex; flex-wrap: wrap; gap: 20px; }
.market-risk-source-row > div a { display: inline-flex; align-items: center; gap: 7px; }
.market-risk-source-row svg { width: 12px; height: 12px; }
.market-risk-error { margin: 25px 0; padding: 18px 22px; border: 1px solid #8a6c47; border-radius: 8px; color: #f4d6a1; font-size: 13px; line-height: 1.7; background: #251f18; }
.market-risk-empty { min-height: 360px; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; color: #b5a9c7; }
.market-risk-empty-mark { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid #bea8f444; border-radius: 12px; color: var(--market-risk-accent); margin-bottom: 15px; }
.market-risk-empty-mark svg { width: 29px; height: 29px; }
.market-risk-empty h2 { font-size: 23px; color: #eceaf4; }
.market-risk-empty p { font-size: 13px; }
.market-risk-page button:focus-visible, .market-risk-page a:focus-visible, .market-risk-plot:focus-visible { outline: 2px solid var(--market-risk-accent); outline-offset: 5px; }

/* The home card remains part of the existing three-dataset shelf. */
.home-merged .home-dataset.dataset-market-risk { --dataset-accent: #bea8f4; }
.dataset-market-risk .dataset-source, .dataset-market-risk .dataset-open { color: #c5b2e8; }
.dataset-market-risk .dataset-motif { color: #bea8f4; display: grid; place-items: center; }
.dataset-market-risk .dataset-motif svg { width: 100%; height: 74px; }
.home-dataset-shelf { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 1100px) {
  .market-risk-page { width: calc(100% - 48px); }
  .home-dataset-shelf { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .market-risk-page { width: calc(100% - 32px); padding-top: 35px; }
  .market-risk-heading { grid-template-columns: 1fr; gap: 24px; }
  .market-risk-heading h1 { font-size: 44px; }
  .market-risk-lede { font-size: 13px; }
  .market-risk-snapshot { grid-template-columns: 7px 1fr auto; width: 100%; align-items: center; }
  .market-risk-snapshot-dot { margin-top: 0; }
  .market-risk-snapshot strong { font-size: 13px; margin-top: 4px; }
  .market-risk-reload { grid-column: 3; padding-bottom: 4px; font-size: 10px; }
  .market-risk-chart-panel { margin-top: 23px; }
  .market-risk-chart-toolbar { padding: 23px 18px 20px; gap: 21px; }
  .market-risk-chart-toolbar h2 { font-size: 26px; }
  .market-risk-overline { font-size: 9px; letter-spacing: .09em; }
  .market-risk-period { width: 100%; }
  .market-risk-period > span { text-align: left; }
  .market-risk-range { width: 100%; }
  .market-risk-range button { flex: 1; min-height: 40px; padding: 9px 8px; }
  .market-risk-chart-key { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding: 0 18px 18px; gap: 8px; }
  .market-risk-chart-key label { gap: 7px; padding: 10px; font-size: 11px; }
  .market-risk-series-swatch { flex-basis: 16px; }
  .market-risk-chart-key [data-market-risk-key="qqq"] { grid-column: 1 / -1; }
  .market-risk-chart-key small { grid-column: 1 / -1; font-size: 10px; }
  .market-risk-risk-key { align-items: start; gap: 12px; padding: 16px 18px 6px; }
  .market-risk-risk-range { flex: 0 0 100%; justify-content: space-between; gap: 12px; }
  .market-risk-risk-item { flex: 1 1 auto; align-items: start; gap: 7px; }
  .market-risk-risk-item strong { font-size: 11px; }
  .market-risk-risk-item small { font-size: 9px; }
  .market-risk-risk-scale { flex: 0 0 auto; gap: 7px; font-size: 9px; }
  .market-risk-risk-scale i { width: 96px; }
  .market-risk-plot-wrap { padding: 8px 0 0; }
  .market-risk-plot { height: 430px; }
  .market-risk-chart-caption { grid-template-columns: 1fr; padding: 18px; gap: 16px; }
  .market-risk-chart-caption p { font-size: 11px; }
  .market-risk-method { margin-top: 38px; }
  .market-risk-method-grid { grid-template-columns: 1fr; gap: 12px; }
  .market-risk-method-grid p { font-size: 12px; }
  .market-risk-source-row { line-height: 1.8; }
}
@media (prefers-reduced-motion: reduce) {
  .market-risk-page *, .market-risk-page *::before, .market-risk-page *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Keep the monitor's page scrollbar visible at the right viewport edge. */
html:has(#app .market-risk-page){overflow-y:hidden!important;scrollbar-width:none!important;scrollbar-gutter:auto!important}
#app main#content.market-risk-page{
 width:100%!important;max-width:none!important;box-sizing:border-box;
 height:calc(100dvh - var(--site-header-height,73px));min-height:0;
 overflow-y:auto;overflow-x:clip;scrollbar-gutter:stable;
 scrollbar-width:auto;scrollbar-color:#8a8a99 #f8f8ff;
 padding-inline:max(16px,calc((100% - 1340px)/2));
}
body.menu-open #app main#content.market-risk-page{overflow-y:hidden}
#app main#content.market-risk-page::-webkit-scrollbar{display:block!important;width:12px}
#app main#content.market-risk-page::-webkit-scrollbar-track{background:#f8f8ff}
#app main#content.market-risk-page::-webkit-scrollbar-thumb{background:#8a8a99;border:3px solid #f8f8ff;border-radius:8px}

/* A compact introduction and control stack above an open chart surface. */
.market-risk-page { padding-top:30px; }
.market-risk-page .market-risk-heading { gap:24px; padding-bottom:12px; border-bottom:0; }
.market-risk-page .market-risk-heading .eyebrow { margin-bottom:7px; }
.market-risk-page .market-risk-heading h1 { margin-bottom:10px; font-size:clamp(36px,4vw,52px); }
.market-risk-page .market-risk-lede { line-height:1.65; }
.market-risk-page .market-risk-snapshot { row-gap:8px; min-width:190px; }
.market-risk-page .market-risk-snapshot strong { margin-top:4px; font-size:15px; }
.market-risk-page .market-risk-reload { align-items:center; min-height:32px; padding-bottom:2px; }
.market-risk-page .market-risk-chart-panel {
 position:relative; margin-top:16px; border:0; border-radius:0;
 background:transparent; box-shadow:none; overflow:visible;
}
.market-risk-page .market-risk-chart-toolbar { padding:8px 0 10px; gap:12px 24px; background:none; }
.market-risk-page .market-risk-overline { margin-bottom:5px; }
.market-risk-page .market-risk-chart-toolbar h2 { font-size:clamp(22px,2.2vw,27px); }
.market-risk-page .market-risk-period { display:flex; align-items:center; gap:10px; }
.market-risk-page .market-risk-period > span { white-space:nowrap; }
.market-risk-page .market-risk-range { padding:3px; }
.market-risk-page .market-risk-chart-key { padding:0 0 7px; gap:6px 8px; border-bottom:0; }
.market-risk-page .market-risk-chart-key small { flex:0 1 auto; margin:0 0 0 4px; }
.market-risk-page .market-risk-risk-key { padding:8px 0 4px; gap:10px 24px; }
.market-risk-page .market-risk-plot-wrap { isolation:isolate; padding:8px 0 0; }
.market-risk-page .market-risk-plot-wrap::before {
 --market-risk-feather:clamp(22px,4vw,56px);
 content:""; position:absolute; inset:0; z-index:-1; background:#0b0d14f5; pointer-events:none;
 -webkit-mask-image:linear-gradient(90deg,transparent,#000 var(--market-risk-feather),#000 calc(100% - var(--market-risk-feather)),transparent),linear-gradient(180deg,transparent,#000 var(--market-risk-feather),#000 calc(100% - var(--market-risk-feather)),transparent);
 mask-image:linear-gradient(90deg,transparent,#000 var(--market-risk-feather),#000 calc(100% - var(--market-risk-feather)),transparent),linear-gradient(180deg,transparent,#000 var(--market-risk-feather),#000 calc(100% - var(--market-risk-feather)),transparent);
 -webkit-mask-composite:source-in; mask-composite:intersect;
}
.market-risk-page .market-risk-chart-caption { padding:14px 0; gap:10px 24px; background:none; border-top-color:#bea8f41a; }
@media(max-width:700px) {
 .market-risk-page { padding-top:24px; }
 .market-risk-page .market-risk-heading { gap:12px; padding-bottom:10px; }
 .market-risk-page .market-risk-heading h1 { font-size:36px; }
 .market-risk-page .market-risk-snapshot { min-width:0; row-gap:6px; }
 .market-risk-page .market-risk-snapshot strong { font-size:13px; }
 .market-risk-page .market-risk-reload { min-height:44px; }
 .market-risk-page .market-risk-chart-panel { margin-top:12px; }
 .market-risk-page .market-risk-chart-toolbar { padding:6px 0 8px; gap:10px; }
 .market-risk-page .market-risk-period { gap:8px; }
 .market-risk-page .market-risk-range { flex:1; min-width:0; }
 .market-risk-page .market-risk-range button { min-height:40px; padding:8px 6px; font-size:11px; }
 .market-risk-page .market-risk-chart-key { display:flex; gap:6px; }
 .market-risk-page .market-risk-chart-key label { padding:6px 9px; font-size:11px; }
 .market-risk-page .market-risk-chart-key small { flex:1 1 170px; margin:0; line-height:1.4; }
 .market-risk-page .market-risk-risk-key { padding:6px 0 4px; }
 .market-risk-page .market-risk-chart-caption { padding:12px 0; gap:10px; }
}

/* Align date range and series controls in a single row when space permits. */
.market-risk-page .market-risk-chart-controls {
 display:flex; align-items:center; justify-content:flex-start; flex-wrap:wrap;
 gap:8px 24px; min-width:0; max-width:100%; padding-bottom:7px;
}
.market-risk-page .market-risk-chart-controls > .market-risk-chart-key { flex:0 1 auto; min-width:0; padding:0; }
.market-risk-page .market-risk-chart-controls > .market-risk-period { flex:0 0 auto; min-width:0; max-width:100%; }
@media(max-width:760px) {
 .market-risk-page .market-risk-chart-controls { gap:10px; }
 .market-risk-page .market-risk-chart-controls > .market-risk-chart-key { flex-basis:100%; }
 .market-risk-page .market-risk-chart-controls > .market-risk-period { flex:1 1 100%; min-width:0; }
 .market-risk-page .market-risk-chart-controls .market-risk-range { flex:1; min-width:0; }
}

/* Keep the risk scales inside the plot without intercepting chart gestures. */
.market-risk-page .market-risk-plot-wrap { container:market-risk-plot / inline-size; }
.market-risk-page .market-risk-plot-wrap > .market-risk-risk-key {
 position:absolute; z-index:2; top:38px; left:76px; box-sizing:border-box;
 display:grid; grid-template-columns:minmax(0,1fr); width:268px; max-width:calc(100% - 184px);
 gap:5px; padding:8px 10px; border-radius:5px; background:#0b0d14d9; pointer-events:none;
}
.market-risk-page .market-risk-plot-wrap .market-risk-risk-range {
 display:grid; grid-template-columns:86px minmax(0,1fr); align-items:center; gap:10px;
}
.market-risk-page .market-risk-plot-wrap .market-risk-risk-item strong { font-size:11px; line-height:1.3; white-space:nowrap; }
.market-risk-page .market-risk-plot-wrap .market-risk-risk-item small { font-size:9px; line-height:1.3; }
.market-risk-page .market-risk-plot-wrap .market-risk-risk-scale { display:flex; min-width:0; gap:5px; font-size:8.5px; }
.market-risk-page .market-risk-plot-wrap .market-risk-risk-scale i { flex:1 1 auto; width:auto; min-width:16px; height:4px; }
@container market-risk-plot (max-width:649px) {
 .market-risk-page .market-risk-plot-wrap > .market-risk-risk-key {
  left:52px; width:244px; max-width:calc(100% - 126px); gap:5px; padding:7px 8px;
 }
 .market-risk-page .market-risk-plot-wrap .market-risk-risk-range { grid-template-columns:64px minmax(0,1fr); gap:6px; }
 .market-risk-page .market-risk-plot-wrap .market-risk-risk-item strong { font-size:9.5px; }
 .market-risk-page .market-risk-plot-wrap .market-risk-risk-item small { font-size:8px; }
 .market-risk-page .market-risk-plot-wrap .market-risk-risk-scale { gap:4px; font-size:8px; }
}

/* Ghost White page backdrop, shared with home and CNS. */
html:has(.market-risk-page),
body:has(.market-risk-page),
body:has(.market-risk-page) #app,
#app main#content.market-risk-page {
 background:#f8f8ff!important;background-image:none!important;
}
body:has(.market-risk-page)::before,
body:has(.market-risk-page)::after {display:none!important}
#app .market-risk-page > .market-risk-heading {
 color:#17171c;border-bottom-color:#dddde8;
}
#app .market-risk-heading h1 {color:#000000}
#app .market-risk-heading h1 em,
#app .market-risk-heading .eyebrow {color:#ff4f00}
#app .market-risk-heading .market-risk-lede {color:#303039}
#app .market-risk-heading .market-risk-snapshot {color:#62626f}
#app .market-risk-heading .market-risk-snapshot strong,
#app .market-risk-heading .market-risk-reload {color:#17171c}
#app .market-risk-heading .market-risk-snapshot-dot {background:#ff4f00;box-shadow:none}

/* Light chart surfaces, including controls, legends and hover tools. */
#app main#content.market-risk-page {
 --market-risk-surface:#f8f8ff;--market-risk-line:#dddde8;--market-risk-muted:#62626f;
 color:#17171c;
}
#app .market-risk-page :is(.market-risk-chart-panel,.market-risk-chart-toolbar,.market-risk-chart-controls,.market-risk-range,.market-risk-chart-caption,.market-risk-plot-wrap > .market-risk-risk-key) {
 background:#f8f8ff!important;background-image:none!important;
 border-color:#dddde8!important;box-shadow:none!important;
}
#app .market-risk-page :is(h2,h3,.market-risk-chart-key label,.market-risk-period > span,.market-risk-chart-caption p,.market-risk-chart-caption strong,.market-risk-risk-item,.market-risk-risk-item small,.market-risk-risk-scale) {color:#303039!important}
#app .market-risk-page .market-risk-range button {color:#303039}
#app .market-risk-page .market-risk-range button[aria-pressed="true"] {background:#ff4f0012;color:#17171c;border-color:#ff4f0080}
#app .market-risk-page .market-risk-plot:hover .modebar,
#app .market-risk-page .market-risk-plot:focus-within .modebar {background:#f8f8ffe6!important;border-color:#dddde8}
#app .market-risk-page .market-risk-plot .modebar-btn path {fill:#62626f}
#app .market-risk-page .market-risk-plot .modebar-btn:hover path {fill:#ff4f00}

/* Remove the legacy blurred dark backdrop behind transparent plot layers. */
#app main#content.market-risk-page .market-risk-plot-wrap::before {
 display:none!important;background:none!important;filter:none!important;box-shadow:none!important;
}
#app main#content.market-risk-page .market-risk-plot-wrap {
 background:#f8f8ff!important;box-shadow:none!important;
}

/* Start the monitor title at the CNS Section 1 baseline. */
#app main#content.market-risk-page {padding-top:calc(53px * 1.1964285714)!important}
@media(max-width:820px){#app main#content.market-risk-page {padding-top:53px!important}}
@media(max-width:700px){#app main#content.market-risk-page {padding-top:41px!important}}

#app .market-risk-page .market-risk-risk-scale i {
 height:6px!important;background:linear-gradient(90deg,#facc15,#ff4f00,#e11d48)!important;
}
#app .market-risk-page .market-risk-risk-scale-negative i {
 background:linear-gradient(90deg,#4ade80,#22c55e,#059669)!important;
}

/* Match the CNS narrative paragraph typography. */
#app .market-risk-page .market-risk-heading .market-risk-lede {
  font-family: var(--site-font-family) !important;
  font-size: 15.5px !important;
  font-weight: 650 !important;
  line-height: 1.75 !important;
  color: #17171c !important;
  text-align: justify;
  text-justify: inter-word;
}
@media (max-width: 700px) {
  #app .market-risk-page .market-risk-heading .market-risk-lede { font-size: 15px !important; }
}

.market-risk-range button:disabled {opacity:.5;cursor:wait;}
.market-risk-chart-loading button,.market-risk-empty [data-market-risk-retry] {
 min-height:44px;padding:10px 18px;border:1px solid #ff4f00;border-radius:6px;
 background:#f8f8ff;color:#303039;font:600 14px/1.4 Arial,sans-serif;cursor:pointer;
}
.market-risk-chart-loading button:focus-visible,.market-risk-empty button:focus-visible {outline:2px solid #ff4f00;outline-offset:3px;}
.market-risk-chart-loading {align-content:center;gap:16px;}
.market-risk-page .market-risk-risk-scale,.market-risk-page .market-risk-risk-item small {font-size:12px;}
.market-risk-page .market-risk-chart-key label,.market-risk-page .market-risk-chart-caption p {font-size:14px;}
#app .market-risk-page .market-risk-financial-notice{display:block!important;visibility:visible!important;opacity:1!important;margin-top:32px;padding-top:24px;border-top:1px solid #dddde8;color:#303039!important;background:transparent}
#app .market-risk-page .market-risk-financial-notice h3{margin:0 0 16px;color:#17171c!important;font-size:22px}
#app .market-risk-page .market-risk-financial-notice p{margin:0 0 16px;color:#303039!important;font-size:16px;line-height:1.75;text-align:justify;overflow-wrap:anywhere}
