/* C05 — Indicators trader workspace */

.indicator-page {
  padding: 42px 0 72px;
}

.indicator-hero {
  max-width: 880px;
  margin-bottom: 28px;
}

.indicator-eyebrow {
  display: block;
  margin-bottom: 8px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .09em;
  color: var(--mu-muted, #66727d);
}

.indicator-hero h1 {
  margin: 0 0 12px;
}

.indicator-hero p {
  max-width: 760px;
  margin: 0;
  font-size: 1.05rem;
}

.indicator-workspace {
  display: grid;
  gap: 18px;
}

.indicator-controls,
.indicator-chart-panel,
.indicator-context-panel,
.indicator-values-panel {
  border: 1px solid rgba(20,35,50,.10);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(17,31,45,.06);
}

.indicator-controls {
  display: grid;
  grid-template-columns: minmax(150px, .8fr) minmax(220px, 1.4fr) auto;
  gap: 14px;
  align-items: end;
  padding: 18px;
}

.indicator-controls label {
  display: grid;
  gap: 6px;
  margin: 0;
}

.indicator-controls label > span,
.indicator-timeframes legend {
  font-size: .74rem;
  font-weight: 800;
  color: #65717c;
}

.indicator-controls select {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #ccd5dc;
  border-radius: 8px;
  background: #fff;
  color: #142231;
  font: inherit;
}

.indicator-timeframes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
}

.indicator-timeframes legend {
  width: 100%;
  margin-bottom: 2px;
}

.indicator-timeframes button {
  min-width: 50px;
  min-height: 40px;
  padding: 7px 11px;
  border: 1px solid #ccd5dc;
  border-radius: 8px;
  background: #fff;
  color: #33414e;
  font-weight: 750;
  cursor: pointer;
}

.indicator-timeframes button:hover {
  border-color: #75aeda;
}

.indicator-timeframes button[aria-pressed="true"],
.indicator-timeframes button.is-active {
  border-color: #1776b6;
  background: #1776b6;
  color: #fff;
}

.indicator-exchange-link {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 8px;
  background: #142231;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.indicator-exchange-link:hover {
  text-decoration: none;
  opacity: .92;
}

.indicator-exchange-link[hidden] {
  display: none;
}

.indicator-status {
  min-height: 24px;
  padding: 0 4px;
  font-size: .85rem;
  color: #66727d;
}

.indicator-status[data-state="error"] {
  color: #a43b3b;
}

.indicator-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 0;
}

.indicator-section-head h2,
.indicator-context-panel h2,
.indicator-values-panel h2 {
  margin: 0;
  font-size: 1.1rem;
}

#indicator-chart-market {
  color: #66727d;
  font-size: .82rem;
  font-weight: 700;
}

.indicator-chart {
  min-height: 420px;
  margin: 16px 20px 0;
  border: 1px solid #e2e7eb;
  border-radius: 10px;
  background:
    linear-gradient(rgba(20,34,49,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,34,49,.035) 1px, transparent 1px),
    #fbfcfd;
  background-size: 48px 48px;
}

.indicator-chart:empty::before {
  content: "Candlestick chart";
  display: grid;
  min-height: 420px;
  place-items: center;
  color: #89949d;
  font-size: .9rem;
}

html[lang="nl"] .indicator-chart:empty::before {
  content: "Candlestickchart";
}

.indicator-volume {
  min-height: 88px;
  margin: 8px 20px 20px;
  border: 1px solid #e2e7eb;
  border-radius: 10px;
  background: #fbfcfd;
}

.indicator-context-panel,
.indicator-values-panel {
  padding: 20px;
}

.indicator-mtf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.indicator-mtf > div,
.indicator-values > div {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #e1e7eb;
  border-radius: 9px;
  background: #fafbfd;
}

.indicator-mtf span,
.indicator-values dt {
  display: block;
  margin: 0;
  color: #697680;
  font-size: .72rem;
}

.indicator-mtf strong,
.indicator-values dd {
  display: block;
  margin: 5px 0 0;
  color: #172635;
  font-size: .96rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.indicator-mtf strong[data-direction="BULLISH"] {
  color: #16744b;
}

.indicator-mtf strong[data-direction="BEARISH"] {
  color: #b34040;
}

.indicator-mtf strong[data-direction="MIXED"] {
  color: #9a6a12;
}

.indicator-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 0;
}

.indicator-disclaimer {
  margin: 0;
  padding: 4px;
  color: #6c7780;
  font-size: .8rem;
}

.indicator-controls select:focus-visible,
.indicator-timeframes button:focus-visible,
.indicator-exchange-link:focus-visible {
  outline: 3px solid #72bfff;
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .indicator-controls {
    grid-template-columns: 1fr 1fr;
  }

  .indicator-timeframes {
    grid-column: 1 / -1;
  }

  .indicator-values {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .indicator-page {
    padding-top: 26px;
  }

  .indicator-controls {
    grid-template-columns: 1fr;
  }

  .indicator-timeframes {
    grid-column: auto;
  }

  .indicator-chart {
    min-height: 320px;
    margin-left: 12px;
    margin-right: 12px;
  }

  .indicator-chart:empty::before {
    min-height: 320px;
  }

  .indicator-volume {
    margin-left: 12px;
    margin-right: 12px;
  }

  .indicator-section-head {
    align-items: flex-start;
    flex-direction: column;
    padding-left: 14px;
    padding-right: 14px;
  }

  .indicator-mtf,
  .indicator-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .indicator-mtf,
  .indicator-values {
    grid-template-columns: 1fr;
  }
}


/* C05 custom MU candle renderer */
.indicator-chart,
.indicator-volume {
  position: relative;
  overflow: hidden;
}

.mu-candle-canvas,
.mu-volume-canvas {
  display: block;
  width: 100%;
}

.mu-candle-canvas {
  cursor: crosshair;
  touch-action: pan-y;
}

/* C05 Screener v1 --------------------------------------------------------- */

.indicator-screener {
  border: 1px solid rgba(20,35,50,.10);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(17,31,45,.06);
  overflow: hidden;
}

.indicator-screener-head {
  padding: 20px 20px 0;
}

.indicator-screener-head > div {
  min-width: 0;
}

.indicator-screener-head p {
  max-width: 760px;
  margin: 5px 0 0;
  color: #687681;
  font-size: .86rem;
}

.indicator-filter-reset {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid #bfd0dc;
  border-radius: 8px;
  background: #f7fafc;
  color: #294153;
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
  cursor: pointer;
}

.indicator-filter-reset:hover {
  border-color: #1776b6;
  color: #1776b6;
}

.indicator-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(145px, 1fr));
  gap: 12px;
  padding: 18px 20px 10px;
}

.indicator-filter-grid label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.indicator-filter-grid label > span {
  color: #64727d;
  font-size: .7rem;
  font-weight: 800;
}

.indicator-filter-grid select,
.indicator-filter-grid input {
  width: 100%;
  min-height: 40px;
  padding: 7px 10px;
  border: 1px solid #ccd6dd;
  border-radius: 8px;
  background: #fff;
  color: #172635;
  font: inherit;
  font-size: .84rem;
}

.indicator-filter-grid select:focus-visible,
.indicator-filter-grid input:focus-visible,
.indicator-filter-reset:focus-visible,
.indicator-screener-row:focus-visible {
  outline: 3px solid #72bfff;
  outline-offset: 2px;
}

.indicator-fresh-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 20px 14px;
  color: #42515d;
  font-size: .8rem;
  font-weight: 750;
}

.indicator-fresh-toggle input {
  width: 16px;
  height: 16px;
  accent-color: #1776b6;
}

.indicator-screener-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border-top: 1px solid #edf1f4;
  border-bottom: 1px solid #e2e8ed;
  background: #f8fafc;
  color: #677580;
  font-size: .79rem;
}

.indicator-screener-summary strong {
  color: #172635;
  font-size: .86rem;
}

.indicator-screener-table-wrap {
  max-height: 520px;
  overflow: auto;
}

.indicator-screener-table {
  width: 100%;
  min-width: 1040px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .78rem;
}

.indicator-screener-table th {
  position: sticky;
  top: 0;
  z-index: 4;
  padding: 10px 11px;
  border-bottom: 1px solid #dbe3e8;
  background: #f3f6f8;
  color: #586773;
  font-size: .68rem;
  font-weight: 850;
  text-align: right;
  white-space: nowrap;
}

.indicator-screener-table th:first-child {
  left: 0;
  z-index: 6;
  text-align: left;
}

.indicator-screener-table td {
  padding: 9px 11px;
  border-bottom: 1px solid #edf1f4;
  color: #283946;
  text-align: right;
  white-space: nowrap;
}

.indicator-screener-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #fff;
  color: #142231;
  text-align: left;
  font-weight: 850;
}

.indicator-screener-row {
  cursor: pointer;
}

.indicator-screener-row.is-stale td {
  background: #fff9ea;
}

.indicator-screener-row.is-stale td:first-child {
  background: #fff4d6;
}

.indicator-screener-row:hover td {
  background: #f2f8fc;
}

.indicator-screener-row:hover td:first-child {
  background: #edf6fc;
}

.indicator-screener-row.is-selected td {
  background: #eaf5fc;
}

.indicator-screener-row.is-selected td:first-child {
  background: #deeffa;
  color: #0c659f;
}

/* Semantische badges: betekenisvol, niet schreeuwerig. */
.mu-indicator-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 24px;
  padding: 3px 7px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 850;
  line-height: 1;
}

.mu-tone-positive {
  border-color: #b8ddca;
  background: #edf8f2;
  color: #147049;
}

.mu-tone-negative {
  border-color: #efc5c5;
  background: #fdf1f1;
  color: #a33838;
}

.mu-tone-warning {
  border-color: #ead4a3;
  background: #fff8e7;
  color: #93640f;
}

.mu-tone-info {
  border-color: #b9d8eb;
  background: #edf7fc;
  color: #176c9f;
}

.mu-tone-neutral {
  border-color: #d9e0e5;
  background: #f5f7f8;
  color: #60707b;
}

/* Bestaande MTF-context iets sneller scanbaar maken. */
.indicator-mtf > div:has(strong[data-direction="BULLISH"]) {
  border-left: 4px solid #42a574;
}

.indicator-mtf > div:has(strong[data-direction="BEARISH"]) {
  border-left: 4px solid #d46767;
}

.indicator-mtf > div:has(strong[data-direction="MIXED"]) {
  border-left: 4px solid #d3a342;
}

/* Indicator-detailkaarten krijgen straks via JS een tone. */
.indicator-values > div[data-tone="positive"] {
  border-left: 4px solid #42a574;
}

.indicator-values > div[data-tone="negative"] {
  border-left: 4px solid #d46767;
}

.indicator-values > div[data-tone="warning"] {
  border-left: 4px solid #d3a342;
}

.indicator-values > div[data-tone="info"] {
  border-left: 4px solid #4e9ac8;
}

.indicator-screener-empty {
  padding: 28px 20px !important;
  color: #72808a !important;
  text-align: center !important;
  font-style: italic;
}

@media (max-width: 980px) {
  .indicator-filter-grid {
    grid-template-columns: repeat(3, minmax(140px, 1fr));
  }
}

@media (max-width: 720px) {
  .indicator-screener-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .indicator-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-left: 14px;
    padding-right: 14px;
  }

  .indicator-fresh-toggle {
    margin-left: 14px;
    margin-right: 14px;
  }

  .indicator-screener-summary {
    padding-left: 14px;
    padding-right: 14px;
  }

  .indicator-screener-table-wrap {
    max-height: 470px;
  }
}

@media (max-width: 460px) {
  .indicator-filter-grid {
    grid-template-columns: 1fr;
  }
}


/* C05 Screener v2 — visual polish ---------------------------------------- */

/* Hero op de donkere MU-header beter leesbaar */
.indicator-hero {
  max-width: none;
  padding: 28px 34px 30px;
  margin-bottom: 0;
  border-radius: 0;
  background:
    linear-gradient(105deg, rgba(5,27,47,.98), rgba(8,70,112,.94));
}

.indicator-eyebrow {
  margin-bottom: 9px;
  color: rgba(225,242,252,.82);
  font-size: .73rem;
  letter-spacing: .12em;
}

.indicator-hero h1 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.indicator-hero .mu-title-accent {
  color: #35c7e8;
}

.indicator-hero p {
  color: rgba(239,248,253,.88);
}

/* Zoekveld met vaste × knop */
.indicator-search-wrap {
  position: relative;
}

.indicator-search-wrap input {
  padding-right: 38px;
}

.indicator-search-clear {
  position: absolute;
  top: 50%;
  right: 7px;
  width: 27px;
  height: 27px;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: #e7edf1;
  color: #425361;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.indicator-search-clear:hover {
  background: #d8e8f2;
  color: #126c9f;
}

.indicator-search-clear[hidden] {
  display: none;
}

/* Screener meer trader-workspace, minder spreadsheet */
.indicator-screener {
  border-color: #d5e0e7;
}

.indicator-screener-table-wrap {
  max-height: 560px;
  background: #fff;
}

.indicator-screener-table {
  min-width: 1080px;
  font-size: .8rem;
}

.indicator-screener-table th {
  padding: 12px 12px;
  background: #edf3f7;
  color: #425461;
  font-size: .7rem;
  letter-spacing: .015em;
  box-shadow: inset 0 -1px #d3dde4;
}

.indicator-screener-table th:first-child {
  min-width: 145px;
}

.indicator-screener-table td {
  height: 48px;
  padding: 10px 12px;
}

.indicator-screener-row:nth-child(even) td {
  background: #fbfcfd;
}

.indicator-screener-row:nth-child(even) td:first-child {
  background: #fbfcfd;
}

.indicator-screener-row:hover td {
  background: #eef7fc;
}

.indicator-screener-row:hover td:first-child {
  background: #e4f3fb;
}

.indicator-screener-row.is-selected td {
  background: #e3f3fc;
  box-shadow: inset 0 1px rgba(23,118,182,.08),
              inset 0 -1px rgba(23,118,182,.08);
}

.indicator-screener-row.is-selected td:first-child {
  background: #d8eefb;
  box-shadow: inset 4px 0 #1776b6;
}

/* Coin wordt het visuele anker van iedere rij */
.indicator-coin-cell {
  min-width: 145px;
}

.indicator-coin-main {
  display: block;
  color: #122536;
  font-size: .84rem;
  font-weight: 900;
  line-height: 1.15;
}

.indicator-coin-meta {
  display: block;
  margin-top: 4px;
  color: #7b8993;
  font-size: .64rem;
  font-weight: 700;
  line-height: 1;
}

.indicator-coin-arrow {
  display: inline-block;
  margin-left: 5px;
  color: #2784bb;
  font-weight: 900;
}

/* Primaire indicatoren iets krachtiger */
.indicator-screener-table td:nth-child(2),
.indicator-screener-table td:nth-child(3),
.indicator-screener-table td:nth-child(4),
.indicator-screener-table td:nth-child(6),
.indicator-screener-table td:nth-child(7),
.indicator-screener-table td:nth-child(8) {
  font-weight: 750;
}

/* BB/Stoch zijn secundair */
.indicator-screener-table th:nth-child(10),
.indicator-screener-table th:nth-child(11),
.indicator-screener-table td:nth-child(10),
.indicator-screener-table td:nth-child(11) {
  opacity: .82;
}

/* Badges rustiger en uniformer */
.mu-indicator-badge {
  min-width: 58px;
  min-height: 25px;
  padding: 4px 8px;
  border-radius: 7px;
  font-size: .7rem;
}

/* Filterzone compacter maar duidelijk */
.indicator-filter-grid {
  row-gap: 10px;
}

.indicator-filter-grid select,
.indicator-filter-grid input {
  border-color: #c5d3dc;
  background: #fcfdfe;
}

.indicator-filter-grid select:hover,
.indicator-filter-grid input:hover {
  border-color: #9ebdce;
}

.indicator-screener-summary {
  background: #f1f6f9;
}

.indicator-screener-summary strong {
  color: #116c9f;
}

@media (max-width: 720px) {
  .indicator-hero {
    padding: 23px 18px 25px;
  }

  .indicator-screener-table td {
    height: 46px;
  }
}


/* Selected market clear button ------------------------------------------- */

.indicator-market-select-wrap {
  position: relative;
}

.indicator-market-select-wrap select {
  padding-right: 40px;
}

.indicator-market-clear {
  position: absolute;
  top: 50%;
  right: 7px;
  width: 28px;
  height: 28px;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: #e6edf2;
  color: #425461;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.indicator-market-clear:hover {
  background: #d8eaf5;
  color: #126c9f;
}

.indicator-market-clear[hidden] {
  display: none;
}


/* C05 Screener v3 — centered summary above table ------------------------- */

.indicator-screener-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  flex-wrap: wrap;
  text-align: center;
  padding: 14px 18px;
}

.indicator-screener-summary > * {
  margin: 0;
  text-align: center;
}

.indicator-screener-summary strong,
.indicator-screener-summary span,
.indicator-screener-summary p,
.indicator-screener-summary small {
  text-align: center;
}

.indicator-screener-summary-count {
  font-weight: 800;
  color: #142231;
}

.indicator-screener-summary-hint {
  color: #66727d;
}

@media (max-width: 680px) {
  .indicator-screener-summary {
    justify-content: center;
    text-align: center;
    padding: 12px 14px;
  }
}


/* C05 Screener v4 — exact column centering ------------------------------- */

.indicator-screener-table {
  table-layout: fixed;
}

/* Coin blijft links en iets breder */
.indicator-screener-table th:first-child,
.indicator-screener-table td:first-child {
  width: 150px;
  text-align: left !important;
}

/* Alle indicator-kolommen exact gecentreerd */
.indicator-screener-table th:not(:first-child),
.indicator-screener-table td:not(:first-child) {
  text-align: center !important;
  vertical-align: middle !important;
  padding-left: 6px;
  padding-right: 6px;
}

/* Pills en badges exact op de middenlijn van de kolom */
.indicator-screener-table td:not(:first-child) .mu-indicator-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

/* Ook gewone waarden zonder badge centreren */
.indicator-screener-table td:not(:first-child) > span,
.indicator-screener-table td:not(:first-child) > strong {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}


/* C05 Screener v5 — indicator analysis cards ----------------------------- */

#indicator-values > .indicator-value-card {
  position: relative;
  overflow: hidden;
  min-height: 74px;
  padding: 13px 15px 13px 18px;
  border: 1px solid #dbe4ea;
  border-radius: 10px;
  background: #f8fafb;
  box-shadow: 0 1px 2px rgba(17, 35, 50, .035);
}

/* Gekleurde accentlijn */
#indicator-values > .indicator-value-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: #a6b2bc;
}

#indicator-values .indicator-value-label {
  display: block;
  margin-bottom: 7px;
  color: #6d7d89;
  font-size: .69rem;
  font-weight: 700;
  line-height: 1.2;
}

#indicator-values .indicator-value-number {
  display: block;
  margin: 0;
  color: #152532;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: .005em;
}

/* Positieve context */
#indicator-values > .indicator-value-card[data-tone="positive"] {
  border-color: rgba(38, 145, 91, .24);
  background: rgba(38, 145, 91, .055);
}

#indicator-values > .indicator-value-card[data-tone="positive"]::before {
  background: #26915b;
}

#indicator-values > .indicator-value-card[data-tone="positive"] .indicator-value-number {
  color: #176c42;
}

/* Negatieve context */
#indicator-values > .indicator-value-card[data-tone="negative"] {
  border-color: rgba(190, 67, 80, .23);
  background: rgba(190, 67, 80, .05);
}

#indicator-values > .indicator-value-card[data-tone="negative"]::before {
  background: #be4350;
}

#indicator-values > .indicator-value-card[data-tone="negative"] .indicator-value-number {
  color: #98333e;
}

/* Extremes / aandacht */
#indicator-values > .indicator-value-card[data-tone="warning"] {
  border-color: rgba(199, 132, 32, .27);
  background: rgba(199, 132, 32, .06);
}

#indicator-values > .indicator-value-card[data-tone="warning"]::before {
  background: #c78420;
}

#indicator-values > .indicator-value-card[data-tone="warning"] .indicator-value-number {
  color: #95600f;
}

/* Informatie / kracht / niveaus */
#indicator-values > .indicator-value-card[data-tone="info"] {
  border-color: rgba(38, 125, 181, .23);
  background: rgba(38, 125, 181, .05);
}

#indicator-values > .indicator-value-card[data-tone="info"]::before {
  background: #267db5;
}

#indicator-values > .indicator-value-card[data-tone="info"] .indicator-value-number {
  color: #17628f;
}

/* Neutraal */
#indicator-values > .indicator-value-card[data-tone="neutral"]::before {
  background: #9ba9b4;
}

/* Kleine hover voor desktop */
@media (hover: hover) {
  #indicator-values > .indicator-value-card {
    transition:
      transform .12s ease,
      box-shadow .12s ease,
      border-color .12s ease;
  }

  #indicator-values > .indicator-value-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(24, 48, 65, .07);
  }
}


/* C06 enriched chart overlays -------------------------------------------- */

.indicator-chart-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 20px 0;
}

.indicator-chart-tools button {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid #cbd5dd;
  border-radius: 8px;
  background: #fff;
  color: #43515e;
  font: inherit;
  font-size: .76rem;
  font-weight: 750;
  cursor: pointer;
}

.indicator-chart-tools button:hover {
  border-color: #75aeda;
}

.indicator-chart-tools button[aria-pressed="true"] {
  border-color: #1776b6;
  background: #eef7fd;
  color: #17689d;
}

.indicator-chart-tools button:focus-visible {
  outline: 3px solid #72bfff;
  outline-offset: 2px;
}

@media (max-width: 680px) {
  .indicator-chart-tools {
    margin-left: 12px;
    margin-right: 12px;
  }
}

/* C06 chart help + unavailable overlays ---------------------------------- */

.indicator-chart-tools button:disabled,
.indicator-chart-tools button[aria-disabled="true"] {
  border-color: #d8dfe4;
  background: #f4f6f7;
  color: #929da5;
  cursor: not-allowed;
  opacity: .85;
}



/* 20.17C.08 — crawlable indicator explanation below the interactive tool. */
.indicator-guide {
  max-width: 920px;
  margin: 34px auto 8px;
  padding: 28px 30px;
  border: 1px solid #e2e8ed;
  border-radius: 14px;
  background: #fff;
}

.indicator-guide h2 {
  margin: 0 0 14px;
}

.indicator-guide h3 {
  margin: 24px 0 8px;
}

.indicator-guide p {
  margin: 0 0 14px;
  line-height: 1.72;
}

.indicator-guide a {
  font-weight: 750;
}

@media (max-width: 680px) {
  .indicator-guide {
    margin-top: 24px;
    padding: 22px 18px;
  }
}
