#pageContentFundamentTab {
  min-height: calc(100vh - var(--header-height) - var(--subnav-height));
  max-height: calc(100vh - var(--header-height) - var(--subnav-height));
  height: calc(100vh - var(--header-height) - var(--subnav-height));
  overflow: hidden;
  box-sizing: border-box;
}

.fundament-tab-panel {
  min-height: calc(100vh - var(--header-height) - var(--subnav-height));
  height: calc(100vh - var(--header-height) - var(--subnav-height));
  overflow: hidden;
  box-sizing: border-box;
}

.subnavAnalysisBiasButtons.fundament-subnav,
.research-subnav-context-group.fundament-subnav {
  align-items: center;
}

.fundament-subnav-button {
  white-space: nowrap;
  font-weight: 400;
}

.fundament-tab-container {
  gap: 12px;
}

.fundament-tab-toolbar {
  align-items: flex-start;
}

.fundament-tab-toolbar__heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fundament-tab-toolbar__subtitle {
  font-size: 0.88rem;
  color: #5b6789;
  max-width: 720px;
  line-height: 1.5;
}

.fundament-tab-toolbar__actions {
  gap: 8px;
  flex-wrap: wrap;
}

.fundament-tab-chip {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border: 1px solid #d6d9e6;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
  color: #30415d;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.fundament-tab-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.fundament-placeholder-hero {
  padding: 22px 24px;
  border: 1px solid #d8e1f0;
  border-radius: 16px;
  background:
    radial-gradient(circle at top right, rgba(0, 89, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.fundament-placeholder-hero__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0059ff;
  margin-bottom: 10px;
}

.fundament-placeholder-hero__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
}

.fundament-placeholder-hero__description {
  margin: 10px 0 0;
  max-width: 780px;
  color: #45556f;
  line-height: 1.65;
}

.fundament-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.fundament-placeholder-card {
  padding: 18px;
  border: 1px solid #dde5f2;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.fundament-placeholder-card__eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.fundament-placeholder-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
  color: #0f172a;
}

.fundament-placeholder-card__description {
  margin: 10px 0 0;
  color: #53627c;
  line-height: 1.6;
}

.fundament-dashboard-container {
  --fundament-dashboard-blue: #0059ff;
  --fundament-dashboard-text: #232323;
  --fundament-dashboard-muted: #61708a;
  --fundament-dashboard-border: rgba(0, 89, 255, 0.14);
  --fundament-dashboard-border-strong: rgba(0, 89, 255, 0.22);
  --fundament-dashboard-surface-alt: #f8fbff;
  --fundament-dashboard-positive: #0f9d58;
  --fundament-dashboard-negative: #c0392b;
  --fundament-dashboard-warning: #c27b14;
  gap: 12px;
}

.fundament-dashboard-toolbar {
  align-items: flex-start;
  gap: 12px;
}

.fundament-dashboard-toolbar__actions {
  gap: 8px;
  align-items: flex-start;
}

.fundament-dashboard-control {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 112px;
}

.fundament-dashboard-control--search {
  min-width: 190px;
}

.fundament-dashboard-control__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fundament-dashboard-muted);
}

.fundament-dashboard-control__select .Select-control {
  min-height: 34px;
  height: 34px;
  border-radius: 8px;
  border-color: var(--fundament-dashboard-border);
  box-shadow: none;
}

.fundament-dashboard-control__select .Select-placeholder,
.fundament-dashboard-control__select .Select-value-label,
.fundament-dashboard-control__select .Select-input,
.fundament-dashboard-control__select .Select-option,
.fundament-dashboard-control__select .VirtualizedSelectOption,
.fundament-dashboard-control__select .Select-noresults {
  font-size: 0.84rem;
}

.fundament-dashboard-search {
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--fundament-dashboard-border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--fundament-dashboard-text);
  font-size: 0.84rem;
  box-sizing: border-box;
}

.fundament-dashboard-search:focus {
  outline: none;
  border-color: var(--fundament-dashboard-blue);
  box-shadow: inset 0 0 0 1px rgba(0, 89, 255, 0.22);
}

.fundament-dashboard-checklist {
  display: inline-flex;
  align-items: flex-end;
  gap: 8px;
  min-height: 34px;
  padding-top: 18px;
}

.fundament-dashboard-checklist__label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: var(--fundament-dashboard-text);
}

.fundament-dashboard-refresh {
  align-self: flex-end;
  min-height: 34px;
}

.fundament-dashboard-body {
  gap: 10px;
  overflow-y: auto;
  overflow-x: hidden;
}

.fundament-dashboard-status-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
}

.fundament-dashboard-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(340px, 0.62fr);
  gap: 10px;
  align-items: start;
}

.fundament-dashboard-primary-column,
.fundament-dashboard-rail {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.fundament-dashboard-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.fundament-dashboard-panel {
  border: 1px solid var(--fundament-dashboard-border);
  border-radius: 4px;
  background: #ffffff;
  box-shadow: none;
  min-width: 0;
  padding: 14px;
}

.fundament-dashboard-panel--board {
  padding-bottom: 10px;
}

.fundament-dashboard-panel-header {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}

.fundament-dashboard-panel-header__title {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--fundament-dashboard-text);
}

.fundament-dashboard-panel-header__subtitle {
  max-width: 780px;
  color: var(--fundament-dashboard-muted);
  font-size: 0.79rem;
  line-height: 1.5;
}

.fundament-dashboard-metric {
  min-height: 82px;
  padding: 12px;
  border: 1px solid var(--fundament-dashboard-border);
  border-radius: 4px;
  background: #ffffff;
  box-sizing: border-box;
}

.fundament-dashboard-metric__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fundament-dashboard-muted);
}

.fundament-dashboard-metric__value {
  margin-top: 6px;
  color: var(--fundament-dashboard-text);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.fundament-dashboard-metric__sub {
  margin-top: 4px;
  color: var(--fundament-dashboard-muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.fundament-dashboard-metric--positive {
  border-color: rgba(15, 157, 88, 0.24);
  background: rgba(15, 157, 88, 0.045);
}

.fundament-dashboard-metric--negative {
  border-color: rgba(192, 57, 43, 0.24);
  background: rgba(192, 57, 43, 0.045);
}

.fundament-dashboard-metric--warning {
  border-color: rgba(194, 123, 20, 0.28);
  background: rgba(194, 123, 20, 0.055);
}

.fundament-dashboard-table-wrap {
  max-height: min(620px, calc(100vh - 360px));
  overflow: auto;
  border: 1px solid var(--fundament-dashboard-border);
  border-radius: 8px;
}

.fundament-dashboard-table {
  width: 100%;
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--fundament-dashboard-text);
  font-size: 0.82rem;
}

.fundament-dashboard-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 8px 10px;
  border-bottom: 1px solid var(--fundament-dashboard-border);
  background: var(--fundament-dashboard-surface-alt);
  color: var(--fundament-dashboard-muted);
  text-align: left;
  font-weight: 700;
}

.fundament-dashboard-table td {
  padding: 9px 10px;
  border-bottom: 1px solid rgba(0, 89, 255, 0.08);
  vertical-align: middle;
}

.fundament-dashboard-table__row:hover td,
.fundament-dashboard-table__row.is-selected td {
  background: var(--fundament-dashboard-surface-alt);
}

.fundament-dashboard-table__sort {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.fundament-dashboard-table__sort.is-active {
  color: var(--fundament-dashboard-blue);
}

.fundament-dashboard-row-button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.fundament-dashboard-symbol {
  font-weight: 700;
  color: var(--fundament-dashboard-text);
}

.fundament-dashboard-label,
.fundament-dashboard-row-extra {
  color: var(--fundament-dashboard-muted);
  font-size: 0.74rem;
}

.fundament-dashboard-row-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.fundament-dashboard-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.fundament-dashboard-conviction {
  font-weight: 700;
}

.fundament-dashboard-source-chip,
.fundament-dashboard-regime,
.fundament-dashboard-caution,
.fundament-dashboard-flag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid var(--fundament-dashboard-border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--fundament-dashboard-text);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.fundament-dashboard-source-chip--forex {
  color: var(--fundament-dashboard-blue);
  border-color: rgba(0, 89, 255, 0.2);
}

.fundament-dashboard-source-chip--index {
  color: #31415c;
  border-color: #cfd9e8;
}

.fundament-dashboard-source-chip--positioning {
  color: var(--fundament-dashboard-warning);
  border-color: rgba(194, 123, 20, 0.24);
}

.fundament-dashboard-regime--positive {
  color: var(--fundament-dashboard-positive);
  border-color: rgba(15, 157, 88, 0.24);
  background: rgba(15, 157, 88, 0.055);
}

.fundament-dashboard-regime--negative {
  color: var(--fundament-dashboard-negative);
  border-color: rgba(192, 57, 43, 0.24);
  background: rgba(192, 57, 43, 0.055);
}

.fundament-dashboard-open {
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--fundament-dashboard-border);
  border-radius: 6px;
  background: #ffffff;
  color: var(--fundament-dashboard-blue);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.fundament-dashboard-open:hover {
  border-color: var(--fundament-dashboard-blue);
  background: rgba(0, 89, 255, 0.06);
}

.fundament-dashboard-empty {
  padding: 14px;
  border: 1px dashed var(--fundament-dashboard-border-strong);
  border-radius: 8px;
  background: var(--fundament-dashboard-surface-alt);
  color: var(--fundament-dashboard-muted);
  font-size: 0.84rem;
}

.fundament-dashboard-brief-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fundament-dashboard-brief-card__top,
.fundament-dashboard-brief-card__drivers {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.fundament-dashboard-brief-card__symbol {
  color: var(--fundament-dashboard-text);
  font-size: 1.08rem;
  font-weight: 750;
}

.fundament-dashboard-brief-card__meta,
.fundament-dashboard-brief-card__text,
.fundament-dashboard-brief-card__drivers span {
  color: var(--fundament-dashboard-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.fundament-dashboard-brief-card__score {
  color: var(--fundament-dashboard-text);
  font-size: 1.8rem;
  font-weight: 750;
  line-height: 1;
}

.fundament-dashboard-brief-card__drivers > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.fundament-dashboard-flag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fundament-dashboard-list-row,
.fundament-dashboard-driver-row,
.fundament-dashboard-health {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--fundament-dashboard-border);
  border-radius: 6px;
  background: var(--fundament-dashboard-surface-alt);
  color: var(--fundament-dashboard-text);
  font-size: 0.82rem;
}

.fundament-dashboard-risk,
.fundament-dashboard-data-health,
.fundament-dashboard-drivers,
.fundament-dashboard-alignment {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fundament-dashboard-health {
  flex-direction: column;
}

.fundament-dashboard-health > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.fundament-dashboard-health span,
.fundament-dashboard-health__meta,
.fundament-dashboard-alignment-row__meta {
  color: var(--fundament-dashboard-muted);
  font-size: 0.76rem;
}

.fundament-dashboard-health--positive {
  border-color: rgba(15, 157, 88, 0.24);
}

.fundament-dashboard-health--warning {
  border-color: rgba(194, 123, 20, 0.28);
}

.fundament-dashboard-driver-row--positive strong {
  color: var(--fundament-dashboard-positive);
}

.fundament-dashboard-driver-row--negative strong {
  color: var(--fundament-dashboard-negative);
}

.fundament-dashboard-alignment-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--fundament-dashboard-border);
  border-radius: 6px;
  background: #ffffff;
}

.fundament-dashboard-alignment-row__head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.84rem;
}

.fundament-dashboard-alignment-row__bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(35, 35, 35, 0.06);
}

.fundament-dashboard-alignment-row__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.fundament-dashboard-alignment-row__fill--positive {
  background: var(--fundament-dashboard-positive);
}

.fundament-dashboard-alignment-row__fill--negative {
  background: var(--fundament-dashboard-negative);
}

.fundament-dashboard-alignment-row__fill--neutral {
  background: var(--fundament-dashboard-blue);
}

.fundament-dashboard-diagnostics {
  padding: 0;
}

.fundament-dashboard-diagnostics__summary {
  padding: 12px 14px;
  color: var(--fundament-dashboard-text);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.fundament-dashboard-diagnostics__body {
  padding: 0 14px 14px;
}

.fundament-dashboard-diagnostics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
}

.fundament-dashboard-diagnostics__ok,
.fundament-dashboard-diagnostics__errors {
  margin-top: 10px;
  color: var(--fundament-dashboard-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.fundament-dashboard-diagnostics__errors {
  color: var(--fundament-dashboard-warning);
}

@media (max-width: 1180px) {
  .fundament-dashboard-main-grid,
  .fundament-dashboard-secondary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .fundament-placeholder-hero {
    padding: 18px;
  }

  .fundament-tab-toolbar__actions {
    margin-left: 0;
  }

  .fundament-dashboard-status-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fundament-dashboard-toolbar__actions,
  .fundament-dashboard-control,
  .fundament-dashboard-control--search {
    width: 100%;
  }
}

.fundament-forex-container {
  gap: 14px;
  min-height: calc(100vh - var(--header-height) - var(--subnav-height));
  height: auto;
}

.fundament-forex-toolbar {
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.fundament-forex-toolbar__left {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.fundament-forex-toolbar__picker {
  flex: 0 0 auto;
  min-width: 220px;
}

.fundament-forex-toolbar__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.fundament-forex-control {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 110px;
}

.fundament-forex-control__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4a5a76;
}

.fundament-forex-body {
  gap: 14px;
  overflow-y: auto;
  padding-right: 2px;
}

.fundament-forex-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.7fr);
  gap: 14px;
  min-height: 0;
  align-items: start;
}

.fundament-forex-main,
.fundament-forex-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
}

.fundament-forex-panel {
  border: 1px solid #dde5f2;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
  min-height: 0;
}

.fundament-forex-panel--chart,
.fundament-forex-panel--inner,
.fundament-forex-side-panel,
.fundament-forex-model-analysis {
  padding: 14px;
}

.fundament-forex-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}

.fundament-forex-card-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}

.fundament-forex-metric-card {
  padding: 10px 12px;
  border: 1px solid #e2e8f3;
  border-radius: 12px;
  background: #fff;
  min-height: 76px;
}

.fundament-forex-metric-card--featured {
  border-width: 1px;
  box-shadow: 0 4px 12px rgba(0, 89, 255, 0.08);
}

.fundament-forex-metric-card--bullish {
  border-color: rgba(22, 163, 74, 0.28);
}

.fundament-forex-metric-card--bearish {
  border-color: rgba(220, 38, 38, 0.28);
}

.fundament-forex-metric-card--warning {
  border-color: rgba(217, 119, 6, 0.28);
}

.fundament-forex-metric-card__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #566783;
}

.fundament-forex-metric-card__value {
  margin-top: 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.fundament-forex-metric-card__sub {
  margin-top: 5px;
  color: var(--fx-muted);
  line-height: 1.45;
  font-size: 0.8rem;
}

.fundament-forex-metric-card--featured .fundament-forex-metric-card__value {
  font-size: 1.1rem;
}

.fundament-forex-split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 14px;
}

.fundament-forex-list-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fundament-forex-list-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fundament-forex-list-section__title,
.fundament-forex-side-panel__title,
.fundament-forex-model-section-title {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #31415c;
}

.fundament-forex-driver-row,
.fundament-forex-side-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #e2e8f3;
  border-radius: 12px;
  background: #fff;
}

.fundament-forex-driver-row__body {
  min-width: 0;
}

.fundament-forex-driver-row__title,
.fundament-forex-side-item__title {
  font-weight: 700;
  color: #122132;
}

.fundament-forex-driver-row__text,
.fundament-forex-side-text {
  margin-top: 5px;
  color: #5b6982;
  line-height: 1.5;
  font-size: 0.88rem;
}

.fundament-forex-driver-row__side,
.fundament-forex-side-item__value {
  text-align: right;
  white-space: nowrap;
}

.fundament-forex-driver-row__side--positive,
.fundament-forex-side-item__value--positive {
  color: var(--fx-blue);
}

.fundament-forex-driver-row__side--negative,
.fundament-forex-side-item__value--negative {
  color: var(--fx-black);
}

.fundament-forex-driver-row__value {
  font-weight: 800;
}

.fundament-forex-driver-row__meta {
  font-size: 0.82rem;
  color: #708096;
  margin-top: 4px;
}

.fundament-forex-macro-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 130px;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--fx-border);
}

.fundament-forex-macro-row:last-child {
  border-bottom: 0;
}

.fundament-forex-macro-row__label {
  font-weight: 700;
  color: var(--fx-text);
}

.fundament-forex-macro-row__bar-shell {
  height: 8px;
  border-radius: 999px;
  background: var(--fx-blue-ghost);
  overflow: hidden;
}

.fundament-forex-macro-row__bar {
  height: 100%;
  border-radius: 999px;
}

.fundament-forex-macro-row__bar--supports-base {
  background: var(--fx-blue);
}

.fundament-forex-macro-row__bar--supports-quote {
  background: var(--fx-black);
}

.fundament-forex-macro-row__bar--mixed {
  background: var(--fx-green);
}

.fundament-forex-macro-row__meta {
  text-align: right;
}

.fundament-forex-macro-row__value {
  font-weight: 800;
  color: #102132;
}

.fundament-forex-macro-row__direction {
  font-size: 0.8rem;
  color: #728197;
  margin-top: 3px;
}

.fundament-forex-feature-summary {
  padding: 14px 16px;
  border: 1px solid var(--fx-border);
  border-radius: 10px;
  background: #f8fbff;
}

.fundament-forex-feature-summary__title {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fx-blue);
}

.fundament-forex-feature-summary__text {
  margin-top: 8px;
  color: var(--fx-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.fundament-forex-feature-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  height: 100%;
  border: 1px solid var(--fx-border);
  border-radius: 10px;
  background: #ffffff;
}

.fundament-forex-feature-row--top-driver {
  border-color: rgba(0, 89, 255, 0.28);
  box-shadow: 0 12px 28px rgba(0, 89, 255, 0.08);
}

.fundament-forex-feature-row--excluded {
  background: #fbfcfe;
}

.fundament-forex-feature-row__header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.fundament-forex-feature-row__body {
  min-width: 0;
}

.fundament-forex-feature-row__title {
  font-weight: 600;
  color: var(--fx-text);
}

.fundament-forex-feature-row__text {
  margin-top: 5px;
  color: var(--fx-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.fundament-forex-feature-row__badges {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 8px;
  flex: 0 0 auto;
  align-items: flex-end;
}

.fundament-forex-feature-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  word-break: keep-all;
  line-height: 1;
  flex: 0 0 auto;
}

.fundament-forex-feature-badge--used {
  background: rgba(0, 89, 255, 0.12);
  color: var(--fx-blue);
}

.fundament-forex-feature-badge--excluded {
  background: rgba(35, 35, 35, 0.10);
  color: var(--fx-black);
}

.fundament-forex-feature-badge--driver {
  background: rgba(74, 233, 221, 0.20);
  color: #057d76;
}

.fundament-forex-feature-badge--muted {
  background: rgba(102, 116, 141, 0.12);
  color: var(--fx-muted);
}

.fundament-forex-feature-row__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.fundament-forex-feature-chip {
  padding: 12px 12px 10px;
  border-radius: 8px;
  border: 1px solid var(--fx-border);
  background: #f8fbff;
}

.fundament-forex-feature-chip--positive {
  background: rgba(0, 89, 255, 0.08);
  border-color: rgba(0, 89, 255, 0.18);
}

.fundament-forex-feature-chip--negative {
  background: rgba(35, 35, 35, 0.06);
  border-color: rgba(35, 35, 35, 0.16);
}

.fundament-forex-feature-chip__label {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  color: #63758f;
}

.fundament-forex-feature-chip__value {
  margin-top: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--fx-text);
}

.fundament-forex-feature-row__reason {
  margin-top: auto;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--fx-muted);
}

.fundament-forex-feature-layout {
  display: flex;
  flex-direction: column;
  gap: var(--fx-space-4);
}

.fundament-forex-feature-graph-panel {
  width: 100%;
}

.fundament-forex-feature-graph-panel .fundament-forex-graph-card--split {
  min-height: 620px;
}

.fundament-forex-feature-graph-panel .fundament-forex-graph-card--split > .dash-loading,
.fundament-forex-feature-graph-panel .fundament-forex-graph-card--split > div,
.fundament-forex-feature-graph-panel .fundament-forex-graph-card--split .dash-graph,
.fundament-forex-feature-graph-panel .fundament-forex-graph-card--split .js-plotly-plot,
.fundament-forex-feature-graph-panel .fundament-forex-graph-card--split .plot-container,
.fundament-forex-feature-graph-panel .fundament-forex-graph-card--split .svg-container {
  min-height: 620px;
}

.fundament-forex-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.fundament-forex-feature-list > .fundament-forex-feature-summary {
  grid-column: 1 / -1;
}

.fundament-forex-graph-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fundament-forex-side-panel__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.fundament-forex-side-section-title {
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5a6b86;
}

.fundament-forex-flags {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fundament-forex-flag-row {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #f1d1d1;
  background: #fff7f7;
  color: #991b1b;
  font-weight: 600;
}

.fundament-forex-flag-row--ok {
  border-color: #d6ecd8;
  background: #f4fbf5;
  color: #166534;
}

.fundament-forex-model-analysis__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.fundament-forex-model-analysis__summary::-webkit-details-marker {
  display: none;
}

.fundament-forex-model-analysis__title {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}

.fundament-forex-model-analysis__subtitle {
  color: #586882;
  line-height: 1.5;
  max-width: 780px;
}

.fundament-forex-table-wrap {
  overflow: auto;
  border: 1px solid #d9e4f5;
  border-radius: 14px;
  background: #fff;
}

.fundament-forex-table {
  width: 100%;
  border-collapse: collapse;
}

.fundament-forex-table th,
.fundament-forex-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #edf1f7;
  text-align: left;
  vertical-align: top;
}

.fundament-forex-table th {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #61728b;
  background: #f8fbff;
}

.fundament-forex-table tr:last-child td {
  border-bottom: 0;
}

.fundament-forex-empty-block {
  padding: 14px;
  border: 1px dashed #c7d3e7;
  border-radius: 12px;
  background: rgba(248, 251, 255, 0.88);
  color: #5d6b82;
}

@media (max-width: 1280px) {
  .fundament-forex-layout,
  .fundament-forex-split-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .fundament-forex-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 980px) {
  .fundament-forex-toolbar {
    flex-direction: column;
  }

  .fundament-forex-toolbar__left,
  .fundament-forex-toolbar__actions {
    width: 100%;
  }

  .fundament-forex-toolbar__actions {
    justify-content: flex-start;
  }

  .fundament-forex-side {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .fundament-forex-card-grid,
  .fundament-forex-graph-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fundament-forex-macro-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Forex redesign: content-first workspace that reuses the visual language of
   Seasonality and Journaling without mirroring their exact layout. */

.fundament-forex-container {
  gap: 12px;
  height: calc(100vh - var(--header-height) - var(--subnav-height));
  container-type: inline-size;
  container-name: fundament-workspace;
  --fx-blue: #0059ff;
  --fx-green: #4ae9dd;
  --fx-black: #232323;
  --fx-text: #232323;
  --fx-muted: #61708a;
  --fx-border: rgba(0, 89, 255, 0.14);
  --fx-border-strong: rgba(0, 89, 255, 0.22);
  --fx-blue-ghost: rgba(0, 89, 255, 0.06);
  --fx-blue-ghost-strong: rgba(0, 89, 255, 0.12);
  --fx-green-ghost: rgba(74, 233, 221, 0.14);
  --fx-green-border: rgba(74, 233, 221, 0.34);
  --fx-black-ghost: rgba(35, 35, 35, 0.04);
  --fx-black-ghost-strong: rgba(35, 35, 35, 0.12);
  --fx-space-1: 8px;
  --fx-space-2: 10px;
  --fx-space-3: 12px;
  --fx-space-4: 14px;
  --fx-space-5: 16px;
}

.fundament-forex-toolbar {
  align-items: flex-end;
  gap: 12px;
  min-height: 36px;
  padding-bottom: 0;
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
  background: #ffffff;
}

.fundament-forex-toolbar__left {
  gap: 12px;
  align-items: flex-end;
}

.fundament-forex-toolbar__picker {
  min-width: min(100%, 260px);
}

.fundament-forex-toolbar__actions {
  gap: var(--fx-space-2);
  align-items: flex-end;
}

.fundament-forex-control {
  gap: 4px;
}

.fundament-forex-control__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fx-muted);
}

.fundament-forex-control__select .Select-control {
  min-height: 34px;
  height: 34px;
  border-radius: 8px;
  border-color: var(--fx-border);
  box-shadow: none;
}

.fundament-forex-control__select .Select-placeholder,
.fundament-forex-control__select .Select-value-label,
.fundament-forex-control__select .Select-input,
.fundament-forex-control__select .Select-option,
.fundament-forex-control__select .VirtualizedSelectOption,
.fundament-forex-control__select .Select-noresults {
  font-size: 0.84rem;
}

.fundament-forex-body {
  gap: var(--fx-space-3);
  padding-right: 0;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
}

.fundament-forex-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.95fr) minmax(320px, 0.8fr);
  grid-template-rows: auto;
  gap: var(--fx-space-4);
  min-height: 0;
  height: auto;
  align-items: start;
}

.fundament-forex-primary-column,
.fundament-forex-main,
.fundament-forex-side {
  min-width: 0;
  min-height: 0;
}

.fundament-forex-primary-column {
  display: flex;
  flex-direction: column;
  gap: var(--fx-space-4);
  grid-column: 1;
  min-height: 0;
  height: auto;
  overflow: visible;
  padding-right: 0;
  padding-bottom: var(--fx-space-4);
  scroll-padding-bottom: var(--fx-space-4);
}

.fundament-forex-primary-column > :last-child {
  margin-bottom: var(--fx-space-2);
}

.fundament-forex-main {
  display: flex;
  flex-direction: column;
  gap: var(--fx-space-4);
  min-height: 0;
  flex: 0 0 auto;
}

.fundament-forex-side {
  display: flex;
  flex-direction: column;
  gap: var(--fx-space-4);
  grid-column: 2;
  min-height: 0;
  height: auto;
  overflow: visible;
  align-self: start;
  padding-right: 0;
  padding-bottom: var(--fx-space-4);
  scroll-padding-bottom: var(--fx-space-4);
}

.fundament-forex-side > .fundament-forex-panel {
  flex: 0 0 auto;
  min-height: auto;
}

.fundament-forex-side > :last-child {
  margin-bottom: var(--fx-space-2);
}

.fundament-forex-main--stack {
  min-height: 0;
  overflow: visible;
  padding-right: 0;
}

.fundament-forex-panel {
  border: 1px solid var(--fx-border);
  border-radius: 4px;
  background: #ffffff;
  box-shadow: none;
  min-height: 0;
  position: relative;
}

.fundament-forex-panel--hero,
.fundament-forex-panel--section,
.fundament-forex-panel--insight,
.fundament-forex-model-analysis {
  padding: var(--fx-space-4);
}

.fundament-forex-panel--hero {
  background: #ffffff;
  overflow: hidden;
}

.fundament-forex-panel-header {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: var(--fx-space-4);
}

.fundament-forex-panel-header--hero {
  margin-bottom: var(--fx-space-5);
}

.fundament-forex-panel-header--hero .fundament-forex-panel-header__eyebrow {
  display: none;
}

.fundament-forex-panel-header__eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fx-blue);
}

.fundament-forex-panel-header__title {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--fx-text);
}

.fundament-forex-with-info {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.fundament-forex-with-info__text {
  min-width: 0;
}

.fundament-forex-info-icon {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  opacity: 0.68;
  cursor: help;
  transition: opacity 0.16s ease;
}

.fundament-forex-info-icon:hover {
  opacity: 1;
}

.fundament-forex-panel-header__subtitle {
  color: var(--fx-muted);
  font-size: 0.79rem;
  line-height: 1.5;
  max-width: 780px;
}

.fundament-forex-hero-chart-shell {
  min-height: 560px;
  position: relative;
}

.fundament-forex-hero-chart-shell > div,
.fundament-forex-hero-chart-shell .dash-graph,
.fundament-forex-hero-chart-shell .js-plotly-plot {
  min-height: 560px;
}

.fundament-forex-lwc {
  position: relative;
  min-height: 560px;
  height: 100%;
  width: 100%;
  border: 1px solid var(--fx-border);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  overflow: hidden;
}

.fundament-forex-lwc__viewport {
  position: absolute;
  inset: 0 0 64px 0;
  overflow: hidden;
}

.fundament-forex-lwc__stage,
.fundament-forex-lwc__overlay,
.fundament-forex-lwc__events {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.fundament-forex-lwc__stage {
  z-index: 1;
}

.fundament-forex-lwc__overlay {
  z-index: 2;
  pointer-events: none;
}

.fundament-forex-lwc__events {
  z-index: 3;
  pointer-events: none;
}

.fundament-forex-lwc__controls {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.fundament-forex-lwc__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--fx-text);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  cursor: pointer;
}

.fundament-forex-lwc__control:hover {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.2);
}

.fundament-forex-lwc__control-icon {
  width: 15px;
  height: 15px;
  display: inline-block;
  background-color: currentColor;
  -webkit-mask-image: url("/assets/images/house-blank-regular-full.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: url("/assets/images/house-blank-regular-full.svg");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.fundament-forex-lwc__legend {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  display: grid;
  gap: 6px;
  min-width: 240px;
  max-width: min(520px, calc(100% - 24px));
  padding: 10px 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.fundament-forex-lwc__legend.is-empty {
  opacity: 0.76;
}

.fundament-forex-lwc__legend-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-height: 64px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  pointer-events: none;
}

.fundament-forex-lwc__legend-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 9px;
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.9);
  color: var(--fx-text);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
}

.fundament-forex-lwc__legend-chip-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.fundament-forex-lwc__legend-chip-label {
  white-space: nowrap;
}

.fundament-forex-lwc__legend-chip-note {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--fx-muted);
  white-space: nowrap;
}

.fundament-forex-lwc__legend-swatch {
  position: relative;
  width: 18px;
  height: 14px;
  flex: 0 0 auto;
  color: var(--swatch-color, #0f172a);
}

.fundament-forex-lwc__legend-swatch--candle::before,
.fundament-forex-lwc__legend-swatch--candle::after,
.fundament-forex-lwc__legend-swatch--line::before,
.fundament-forex-lwc__legend-swatch--dash::before,
.fundament-forex-lwc__legend-swatch--area::before,
.fundament-forex-lwc__legend-swatch--diamond::before,
.fundament-forex-lwc__legend-swatch--band::before,
.fundament-forex-lwc__legend-swatch--band-outline::before {
  content: "";
  position: absolute;
}

.fundament-forex-lwc__legend-swatch--candle::before {
  left: 8px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: currentColor;
}

.fundament-forex-lwc__legend-swatch--candle::after {
  left: 5px;
  top: 3px;
  width: 6px;
  height: 8px;
  border-radius: 2px;
  background: currentColor;
}

.fundament-forex-lwc__legend-swatch--line::before {
  left: 0;
  right: 0;
  top: 6px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.fundament-forex-lwc__legend-swatch--dash::before {
  left: 0;
  right: 0;
  top: 6px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    currentColor 0 4px,
    transparent 4px 7px
  );
}

.fundament-forex-lwc__legend-swatch--area::before {
  left: 0;
  right: 0;
  bottom: 1px;
  height: 10px;
  border-radius: 4px 4px 2px 2px;
  background: currentColor;
  border: 1px solid currentColor;
  opacity: 0.22;
}

.fundament-forex-lwc__legend-swatch--diamond::before {
  left: 4px;
  top: 1px;
  width: 10px;
  height: 10px;
  background: currentColor;
  transform: rotate(45deg);
  border-radius: 1px;
}

.fundament-forex-lwc__legend-swatch--band::before {
  inset: 1px 0;
  border-radius: 3px;
  background: currentColor;
  box-shadow: inset 0 0 0 1px currentColor;
  opacity: 0.18;
}

.fundament-forex-lwc__legend-swatch--band-outline::before {
  inset: 1px 0;
  border-radius: 3px;
  border: 1px dashed currentColor;
  opacity: 0.55;
}

.fundament-forex-lwc__legend-chip--regime .fundament-forex-lwc__legend-swatch {
  opacity: 1;
}

.fundament-forex-lwc__legend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fundament-forex-lwc__legend-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fx-muted);
}

.fundament-forex-lwc__legend-value {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--fx-text);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.fundament-forex-lwc__empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  color: var(--fx-muted);
  font-size: 0.88rem;
  z-index: 0;
}

@media (max-width: 900px) {
  .fundament-forex-lwc__legend {
    max-width: calc(100% - 24px);
  }

  .fundament-forex-lwc__viewport {
    inset: 0 0 88px 0;
  }

  .fundament-forex-lwc__legend-bar {
    min-height: 88px;
    padding-bottom: 12px;
  }

  .fundament-forex-graph-panel__header {
    flex-direction: column;
    align-items: stretch;
  }

  .fundament-forex-validation-toggle {
    width: fit-content;
    max-width: 100%;
    flex-wrap: wrap;
  }
}

.fundament-forex-insights-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--fx-space-4);
  align-items: stretch;
}

.fundament-forex-panel--why-now-wide {
  min-width: 0;
}

.fundament-forex-panel--current-read {
  grid-column: span 2;
}

.fundament-forex-panel--why-now {
  grid-column: span 2;
}

.fundament-forex-insight-body {
  min-height: 0;
  padding-top: 2px;
}

.fundament-forex-side .fundament-forex-insight-body {
  display: flex;
  flex-direction: column;
  gap: var(--fx-space-2);
}

.fundament-forex-side .fundament-forex-insight-body.fundament-forex-card-grid {
  display: grid;
  gap: var(--fx-space-2);
}

.fundament-forex-current-read-card {
  display: flex;
  flex-direction: column;
  gap: var(--fx-space-4);
}

.fundament-forex-current-read-card__hero {
  display: flex;
  flex-direction: column;
  gap: var(--fx-space-2);
  padding: var(--fx-space-4);
  border: 1px solid var(--fx-border);
  border-radius: 6px;
  background: linear-gradient(180deg, #ffffff 0%, var(--fx-blue-ghost) 100%);
}

.fundament-forex-current-read-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.fundament-forex-current-read-card__pair {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fx-muted);
}

.fundament-forex-current-read-card__regime {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.fundament-forex-current-read-card__regime--bullish {
  background: var(--fx-blue-ghost-strong);
  color: var(--fx-blue);
}

.fundament-forex-current-read-card__regime--bearish {
  background: var(--fx-black-ghost-strong);
  color: var(--fx-black);
}

.fundament-forex-current-read-card__regime--neutral {
  background: var(--fx-blue-ghost);
  color: var(--fx-blue);
}

.fundament-forex-current-read-card__score-block {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.fundament-forex-current-read-card__score {
  font-size: 2.1rem;
  line-height: 1;
  font-weight: 700;
  color: var(--fx-text);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.fundament-forex-current-read-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fundament-forex-current-read-card__fact {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid var(--fx-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--fx-muted);
  font-size: 0.75rem;
  line-height: 1.3;
}

.fundament-forex-current-read-card__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--fx-space-2);
}

.fundament-forex-current-read-card__grid .fundament-forex-metric-card {
  min-height: 78px;
  background: var(--fx-blue-ghost);
}

.fundament-forex-why-now-card {
  display: flex;
  flex-direction: column;
  gap: var(--fx-space-4);
}

.fundament-forex-why-now-card__summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: var(--fx-space-4);
  border-radius: 6px;
  background: var(--fx-blue-ghost);
  border: 1px solid var(--fx-border);
  color: var(--fx-text);
  font-size: 0.89rem;
  line-height: 1.55;
}

.fundament-forex-why-now-card__summary-text {
  min-width: 0;
}

.fundament-forex-why-now-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--fx-space-3);
}

.fundament-forex-side .fundament-forex-why-now-card {
  gap: var(--fx-space-3);
}

.fundament-forex-side .fundament-forex-why-now-card__summary {
  padding: var(--fx-space-3);
  font-size: 0.84rem;
}

.fundament-forex-side .fundament-forex-why-now-grid {
  grid-template-columns: minmax(0, 1fr);
}

.fundament-forex-side .fundament-forex-why-now-item {
  padding: var(--fx-space-2) var(--fx-space-3);
}

.fundament-forex-why-now-column {
  display: flex;
  flex-direction: column;
  gap: var(--fx-space-3);
}

.fundament-forex-why-now-column__title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fx-blue);
}

.fundament-forex-why-now-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: var(--fx-space-3);
  border: 1px solid var(--fx-border);
  border-radius: 6px;
  background: #ffffff;
}

.fundament-forex-why-now-item__body {
  min-width: 0;
}

.fundament-forex-why-now-item__title {
  font-weight: 600;
  color: var(--fx-text);
}

.fundament-forex-why-now-item__text {
  margin-top: 5px;
  color: var(--fx-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.fundament-forex-why-now-item__value {
  white-space: nowrap;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.fundament-forex-why-now-item__value--positive {
  color: var(--fx-blue);
}

.fundament-forex-why-now-item__value--negative {
  color: var(--fx-black);
}

.fundament-forex-research-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--fx-space-4);
}

#fundament-forex-panel-drivers {
  display: flex;
  flex-direction: column;
  gap: var(--fx-space-4);
}

#fundament-forex-panel-drivers > .fundament-forex-panel-header {
  margin-bottom: 0;
}

#fundament-forex-panel-macro {
  display: flex;
  flex-direction: column;
  gap: var(--fx-space-4);
}

#fundament-forex-panel-macro > .fundament-forex-panel-header {
  margin-bottom: 0;
}

#fundament-forex-panel-regime {
  display: flex;
  flex-direction: column;
  gap: var(--fx-space-4);
}

#fundament-forex-panel-regime > .fundament-forex-panel-header {
  margin-bottom: 0;
}

.fundament-forex-card-grid {
  gap: var(--fx-space-2);
}

#fundament-forex-validation-summary {
  margin-bottom: var(--fx-space-4);
}

.fundament-forex-side .fundament-forex-card-grid,
.fundament-forex-side .fundament-forex-current-read-card__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
}

.fundament-forex-side .fundament-forex-card-grid .fundament-forex-metric-card,
.fundament-forex-side .fundament-forex-current-read-card__grid .fundament-forex-metric-card {
  min-height: 72px;
}

.fundament-forex-metric-card {
  min-height: 80px;
  padding: var(--fx-space-3);
  border-radius: 6px;
  border-color: var(--fx-border);
  background: #ffffff;
  box-shadow: none;
}

.fundament-forex-metric-card--featured {
  grid-column: auto;
  border-width: 1px;
  border-color: var(--fx-blue);
  background:
    linear-gradient(180deg, rgba(0, 89, 255, 0.05) 0%, rgba(0, 89, 255, 0.015) 100%),
    #ffffff;
  box-shadow: 0 6px 16px rgba(0, 89, 255, 0.08);
}

.fundament-forex-metric-card__label {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--fx-muted);
}

.fundament-forex-metric-card__value {
  margin-top: 6px;
  font-size: 1.02rem;
  font-variant-numeric: tabular-nums;
  color: var(--fx-text);
}

.fundament-forex-metric-card__sub {
  margin-top: 5px;
  font-size: 0.77rem;
  color: var(--fx-muted);
}

.fundament-forex-metric-card--featured .fundament-forex-metric-card__label {
  color: var(--fx-blue);
}

.fundament-forex-metric-card--featured .fundament-forex-metric-card__value {
  font-size: 1.1rem;
  color: var(--fx-text);
}

.fundament-forex-metric-card--featured .fundament-forex-metric-card__sub {
  color: var(--fx-text);
}

.fundament-forex-metric-card--bullish,
.fundament-forex-metric-card--positive {
  border-color: var(--fx-border-strong);
  background: var(--fx-blue-ghost);
}

.fundament-forex-metric-card--bearish,
.fundament-forex-metric-card--warning {
  border-color: var(--fx-black-ghost-strong);
  background: var(--fx-black-ghost);
}

.fundament-forex-metric-card--featured.fundament-forex-metric-card--positive,
.fundament-forex-metric-card--featured.fundament-forex-metric-card--bullish,
.fundament-forex-metric-card--featured.fundament-forex-metric-card--neutral {
  border-color: var(--fx-blue);
  background:
    linear-gradient(180deg, rgba(0, 89, 255, 0.05) 0%, rgba(0, 89, 255, 0.015) 100%),
    #ffffff;
}

.fundament-forex-metric-card--featured.fundament-forex-metric-card--warning,
.fundament-forex-metric-card--featured.fundament-forex-metric-card--bearish {
  border-color: #8b5e14;
  background:
    linear-gradient(180deg, rgba(217, 119, 6, 0.08) 0%, rgba(217, 119, 6, 0.02) 100%),
    #ffffff;
}

.fundament-forex-split-panel {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: var(--fx-space-4);
}

.fundament-forex-split-panel > .fundament-forex-panel,
.fundament-forex-graph-grid > div {
  border: 1px solid var(--fx-border);
  border-radius: 4px;
  background: #ffffff;
  box-shadow: none;
  overflow: hidden;
}

.fundament-forex-panel--inner {
  padding: var(--fx-space-4);
}

.fundament-forex-graph-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--fx-space-4);
  align-items: start;
}

.fundament-forex-graph-grid--validation {
  align-items: stretch;
}

.fundament-forex-graph-grid > div {
  padding: var(--fx-space-1);
}

.fundament-forex-graph-grid--validation > div {
  height: 100%;
}

.fundament-forex-graph-panel {
  display: flex;
  flex-direction: column;
  gap: var(--fx-space-2);
  min-height: 0;
}

.fundament-forex-graph-grid--validation .fundament-forex-graph-panel {
  height: 100%;
}

.fundament-forex-graph-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--fx-space-3);
}

.fundament-forex-graph-panel__title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.fundament-forex-graph-panel__title {
  padding: 2px 2px 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--fx-text);
}

.fundament-forex-graph-panel__subtitle {
  padding: 0 2px;
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--fx-muted);
}

.fundament-forex-validation-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 2px;
  border: 1px solid var(--fx-border);
  border-radius: 999px;
  background: #f7f8fb;
  box-shadow: none;
  flex-shrink: 0;
}

.fundament-forex-validation-toggle__btn {
  appearance: none;
  border: 0;
  min-width: 46px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: transparent;
  color: var(--fx-muted);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    background 140ms ease,
    color 140ms ease,
    box-shadow 140ms ease,
    border-color 140ms ease;
}

.fundament-forex-validation-toggle__btn:hover {
  color: var(--fx-text);
  background: rgba(35, 35, 35, 0.05);
}

.fundament-forex-validation-toggle__btn:focus-visible {
  outline: 2px solid rgba(35, 35, 35, 0.14);
  outline-offset: 1px;
}

.fundament-forex-validation-toggle__btn--active {
  color: var(--fx-text);
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(35, 35, 35, 0.10);
}

.fundament-forex-validation-toggle__btn--active:hover {
  color: var(--fx-text);
  background: #ffffff;
}

.fundament-forex-graph-card {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  box-sizing: border-box;
}

.fundament-forex-graph-card > .dash-loading,
.fundament-forex-graph-card > div,
.fundament-forex-graph-card .dash-graph,
.fundament-forex-graph-card .js-plotly-plot,
.fundament-forex-graph-card .plot-container,
.fundament-forex-graph-card .svg-container {
  width: 100%;
  min-width: 0;
}

.fundament-forex-graph-card > .dash-loading,
.fundament-forex-graph-card > div,
.fundament-forex-graph-card .dash-graph,
.fundament-forex-graph-card .js-plotly-plot,
.fundament-forex-graph-card .plot-container,
.fundament-forex-graph-card .svg-container {
  min-height: 400px;
  height: 100%;
}

.fundament-forex-graph-card--split {
  min-height: 420px;
}

.fundament-forex-graph-card--split > .dash-loading,
.fundament-forex-graph-card--split > div,
.fundament-forex-graph-card--split .dash-graph,
.fundament-forex-graph-card--split .js-plotly-plot,
.fundament-forex-graph-card--split .plot-container,
.fundament-forex-graph-card--split .svg-container {
  min-height: 420px;
}

.fundament-forex-side-text,
.fundament-forex-side-section-title,
.fundament-forex-side-item,
.fundament-forex-side-item__title,
.fundament-forex-side-item__value {
  all: unset;
}

.fundament-forex-list-section__title,
.fundament-forex-model-section-title {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.fundament-forex-driver-row {
  padding: var(--fx-space-3);
  border-radius: 6px;
  border-color: var(--fx-border);
  background: #ffffff;
}

.fundament-forex-flags {
  gap: var(--fx-space-2);
}

.fundament-forex-flag-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  border-radius: 6px;
  border-color: var(--fx-black-ghost-strong);
  background: var(--fx-black-ghost);
  color: var(--fx-black);
}

.fundament-forex-flag-row__text {
  min-width: 0;
}

.fundament-forex-flag-row--ok {
  border-color: var(--fx-green-border);
  background: var(--fx-green-ghost);
  color: var(--fx-black);
}

.fundament-forex-model-analysis {
  padding: var(--fx-space-4);
  background: #ffffff;
  border-color: var(--fx-border-strong);
}

.fundament-forex-model-analysis__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--fx-space-4);
  padding: 2px 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.fundament-forex-model-analysis__summary::-webkit-details-marker {
  display: none;
}

.fundament-forex-model-analysis__heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.fundament-forex-model-analysis__title {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--fx-text);
}

.fundament-forex-model-analysis__subtitle {
  color: var(--fx-muted);
  font-size: 0.8rem;
  line-height: 1.45;
  max-width: 760px;
}

.fundament-forex-model-analysis__chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--fx-border);
  border-radius: 999px;
  background: var(--fx-blue-ghost);
  color: var(--fx-blue);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.fundament-forex-model-analysis__summary::after {
  content: "+";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--fx-border);
  border-radius: 999px;
  color: var(--fx-blue);
  background: #ffffff;
  font-size: 1rem;
  font-weight: 700;
}

.fundament-forex-model-analysis[open] .fundament-forex-model-analysis__summary::after {
  content: "-";
}

.fundament-forex-model-analysis__body {
  margin-top: var(--fx-space-4);
  display: flex;
  flex-direction: column;
  gap: var(--fx-space-4);
}

.fundament-forex-model-analysis__content {
  display: flex;
  flex-direction: column;
  gap: var(--fx-space-3);
}

.fundament-forex-model-analysis__intro-band {
  display: flex;
  flex-direction: column;
  gap: var(--fx-space-3);
  padding: var(--fx-space-4);
  border: 1px solid var(--fx-border);
  border-radius: 10px;
  background: #ffffff;
}

.fundament-forex-model-analysis__intro-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fundament-forex-model-analysis__intro-text {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--fx-text);
}

.fundament-forex-model-analysis__meta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.fundament-forex-model-analysis__meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fundament-forex-model-analysis__meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--fx-border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--fx-muted);
  font-size: 0.74rem;
  font-weight: 600;
}

.fundament-forex-model-analysis__deep-dive-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--fx-border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--fx-blue);
  font-size: 0.8rem;
  font-weight: 700;
  transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.fundament-forex-model-analysis__deep-dive-btn:hover {
  background: var(--fx-blue-ghost);
  border-color: var(--fx-border-strong);
}

.fundament-forex-model-analysis__deep-dive-btn:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--fx-blue-ghost-strong);
}

.fundament-forex-model-analysis__deep-dive-icon {
  width: 14px;
  height: 14px;
  display: block;
}

.fundament-forex-model-analysis__deep-dive-text {
  white-space: nowrap;
}

.fundament-forex-model-analysis__story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--fx-space-3);
}

.fundament-forex-model-story-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
  padding: var(--fx-space-4);
  border: 1px solid var(--fx-border);
  border-radius: 10px;
  background: #ffffff;
}

.fundament-forex-model-story-card__title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--fx-text);
}

.fundament-forex-model-story-card__body {
  font-size: 0.79rem;
  line-height: 1.55;
  color: var(--fx-text);
}

.fundament-forex-model-story-card__list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--fx-muted);
  font-size: 0.77rem;
  line-height: 1.5;
}

.fundament-forex-model-section {
  border: 1px solid var(--fx-border);
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
}

.fundament-forex-model-section__header {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: var(--fx-space-4) var(--fx-space-4) var(--fx-space-3);
  border-bottom: 1px solid var(--fx-border);
  background: #ffffff;
}

.fundament-forex-model-section__title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--fx-text);
}

.fundament-forex-model-section__subtitle {
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--fx-muted);
}

.fundament-forex-model-section__body {
  padding: var(--fx-space-4);
}

.fundament-forex-model-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--fx-space-2);
}

.fundament-forex-model-metric-grid--compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.fundament-forex-model-metric-grid .fundament-forex-metric-card {
  min-height: 72px;
}

.fundament-forex-model-family-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--fx-space-3);
}

.fundament-forex-model-family-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
  padding: var(--fx-space-4);
  border: 1px solid var(--fx-border);
  border-radius: 10px;
  background: #ffffff;
}

.fundament-forex-model-family-card__title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--fx-text);
}

.fundament-forex-model-family-card__body {
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--fx-muted);
}

.fundament-forex-model-family-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fundament-forex-model-family-card__chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--fx-blue-ghost);
  color: var(--fx-blue);
  font-size: 0.74rem;
  font-weight: 600;
}

.fundament-forex-model-family-card__chip--muted {
  background: var(--fx-black-ghost);
  color: var(--fx-muted);
}

.fundament-forex-model-analysis__robustness-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--fx-space-2);
}

.fundament-forex-model-analysis__curve-shell {
  border: 1px solid var(--fx-border);
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
}

.fundament-forex-model-analysis__curve-title {
  padding: 12px 14px 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--fx-text);
}

.fundament-forex-table-wrap {
  overflow: auto;
  border: 1px solid var(--fx-border);
  border-radius: 8px;
  background: #ffffff;
}

.fundament-forex-table th,
.fundament-forex-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--fx-border);
}

.fundament-forex-table th {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--fx-blue);
  background: var(--fx-blue-ghost);
}

.fundament-forex-empty-block {
  padding: var(--fx-space-4);
  border: 1px dashed var(--fx-border-strong);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, var(--fx-blue-ghost) 100%);
  color: var(--fx-muted);
}

.fundament-forex-model-analysis__content .fundament-forex-empty-block {
  background: #ffffff;
}

@media (max-width: 1360px) {
  .fundament-forex-container {
    height: auto;
  }

  .fundament-forex-body {
    overflow: visible;
    height: auto;
  }

  .fundament-forex-layout {
    display: flex;
    flex-direction: column;
    gap: var(--fx-space-4);
    height: auto;
  }

  .fundament-forex-insights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fundament-forex-primary-column,
  .fundament-forex-main,
  .fundament-forex-side {
    flex: 0 0 auto;
    grid-column: auto;
    grid-row: auto;
    height: auto;
    overflow: visible;
  }

  .fundament-forex-panel--current-read,
  .fundament-forex-panel--why-now {
    grid-column: span 1;
  }

  .fundament-forex-research-grid,
  .fundament-forex-split-panel {
    display: flex;
    flex-direction: column;
  }

  .fundament-forex-primary-column,
  .fundament-forex-side,
  .fundament-forex-split-panel > * {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .fundament-forex-toolbar {
    align-items: stretch;
  }

  .fundament-forex-toolbar__left,
  .fundament-forex-toolbar__actions {
    width: 100%;
  }

  .fundament-forex-toolbar__actions {
    justify-content: flex-start;
  }

  .fundament-forex-model-metric-grid,
  .fundament-forex-model-metric-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fundament-forex-model-analysis__story-grid,
  .fundament-forex-model-family-grid,
  .fundament-forex-model-analysis__robustness-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fundament-forex-feature-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .fundament-forex-feature-row__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .fundament-forex-insights-grid,
  .fundament-forex-why-now-grid,
  .fundament-forex-current-read-card__grid,
  .fundament-forex-research-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fundament-forex-panel--hero,
  .fundament-forex-panel--section,
  .fundament-forex-panel--insight,
  .fundament-forex-model-analysis {
    padding: 14px;
  }

  .fundament-forex-model-analysis__summary {
    flex-wrap: wrap;
  }

  .fundament-forex-model-analysis__meta-strip,
  .fundament-forex-model-analysis__story-grid,
  .fundament-forex-model-family-grid,
  .fundament-forex-model-analysis__robustness-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fundament-forex-model-analysis__meta-strip {
    display: grid;
  }

  .fundament-forex-model-metric-grid,
  .fundament-forex-model-metric-grid--compact {
    grid-template-columns: minmax(0, 1fr);
  }

  .fundament-forex-feature-row__header {
    flex-direction: column;
  }

  .fundament-forex-feature-row__badges {
    align-items: flex-start;
  }

  .fundament-forex-feature-row__metrics {
    grid-template-columns: minmax(0, 1fr);
  }
}

@container fundament-workspace (max-width: 1380px) {
  .fundament-forex-container {
    height: auto;
  }

  .fundament-forex-body {
    overflow: visible;
    height: auto;
  }

  .fundament-forex-layout {
    display: flex;
    flex-direction: column;
    gap: var(--fx-space-4);
    height: auto;
  }

  .fundament-forex-insights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fundament-forex-primary-column,
  .fundament-forex-main,
  .fundament-forex-side {
    flex: 0 0 auto;
    grid-column: auto;
    grid-row: auto;
    height: auto;
    overflow: visible;
    padding-right: 0;
    padding-bottom: 0;
  }

  .fundament-forex-panel--current-read,
  .fundament-forex-panel--why-now {
    grid-column: span 1;
  }

  .fundament-forex-research-grid,
  .fundament-forex-split-panel {
    display: flex;
    flex-direction: column;
  }

  .fundament-forex-primary-column,
  .fundament-forex-side,
  .fundament-forex-split-panel > * {
    width: 100%;
  }
}

@container fundament-workspace (max-width: 980px) {
  .fundament-forex-toolbar {
    align-items: stretch;
  }

  .fundament-forex-toolbar__left,
  .fundament-forex-toolbar__actions {
    width: 100%;
  }

  .fundament-forex-toolbar__picker,
  .fundament-forex-control {
    min-width: 0;
  }

  .fundament-forex-toolbar__actions {
    justify-content: flex-start;
  }

  .fundament-forex-model-metric-grid,
  .fundament-forex-model-metric-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fundament-forex-model-analysis__story-grid,
  .fundament-forex-model-family-grid,
  .fundament-forex-model-analysis__robustness-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fundament-forex-feature-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .fundament-forex-feature-row__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@container fundament-workspace (max-width: 720px) {
  .fundament-forex-insights-grid,
  .fundament-forex-why-now-grid,
  .fundament-forex-current-read-card__grid,
  .fundament-forex-research-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fundament-forex-panel--hero,
  .fundament-forex-panel--section,
  .fundament-forex-panel--insight,
  .fundament-forex-model-analysis {
    padding: 14px;
  }

  .fundament-forex-model-analysis__summary {
    flex-wrap: wrap;
  }

  .fundament-forex-model-analysis__meta-strip,
  .fundament-forex-model-analysis__story-grid,
  .fundament-forex-model-family-grid,
  .fundament-forex-model-analysis__robustness-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fundament-forex-model-analysis__meta-strip {
    display: grid;
  }

  .fundament-forex-model-metric-grid,
  .fundament-forex-model-metric-grid--compact {
    grid-template-columns: minmax(0, 1fr);
  }

  .fundament-forex-feature-row__header {
    flex-direction: column;
  }

  .fundament-forex-feature-row__badges {
    align-items: flex-start;
  }

  .fundament-forex-feature-row__metrics {
    grid-template-columns: minmax(0, 1fr);
  }
}

.fundament-cot-container {
  --cot-blue: #0059ff;
  --cot-blue-soft: rgba(0, 89, 255, 0.08);
  --cot-blue-border: rgba(0, 89, 255, 0.18);
  --cot-text: #1f2937;
  --cot-muted: #61708a;
  --cot-border: #dbe4f0;
  --cot-border-strong: #cfd9e8;
  --cot-grid: #e7edf5;
  --cot-surface: #ffffff;
  --cot-surface-alt: #f8fbff;
  --cot-green: #0f9d58;
  --cot-red: #c0392b;
  --cot-amber: #c27b14;
  --fundament-cot-inline-gutter: 12px;
  --fundament-cot-layout-main-column: minmax(0, 2.15fr);
  --fundament-cot-layout-side-column: minmax(300px, 0.95fr);
  --fundament-cot-board-focus-gap: 1px;
  --fundament-cot-board-min-height: 520px;
  --fundament-cot-board-price-panel-min-height: 220px;
  --fundament-cot-board-price-stage-min-height: 180px;
  --fundament-cot-board-matrix-min-height: 360px;
  --fundament-cot-board-mini-stage-min-height: 120px;
  gap: 10px;
  padding: 12px 0 12px var(--fundament-cot-inline-gutter);
  min-height: calc(100vh - var(--header-height) - var(--subnav-height));
  height: auto;
}

.fundament-cot-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding-right: var(--fundament-cot-inline-gutter);
  background: #ffffff;
}

.fundament-cot-toolbar__left {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  gap: 10px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.fundament-cot-toolbar__picker {
  flex: 0 0 auto;
  min-width: 250px;
}

.fundament-cot-toolbar__controls {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  gap: 8px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.fundament-cot-control {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 128px;
}

.fundament-cot-control__label {
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cot-muted);
}

.fundament-cot-control__select .Select-control,
.fundament-cot-control__select .Select__control,
.fundament-cot-control__select .dash-dropdown .Select-control {
  min-height: 34px;
  height: 34px;
  border: 1px solid var(--cot-border);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: none;
}

.fundament-cot-control__select .Select-placeholder,
.fundament-cot-control__select .Select-value-label,
.fundament-cot-control__select .Select-input,
.fundament-cot-control__select .Select-option,
.fundament-cot-control__select .VirtualizedSelectOption,
.fundament-cot-control__select .Select-noresults {
  font-size: 0.82rem;
}

.fundament-cot-toolbar__chips {
  display: flex;
  flex: 0 1 auto;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.fundament-cot-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
  justify-content: flex-end;
}

.fundament-cot-toolbar__actions .headControlBtn {
  flex: 0 0 auto;
}

.fundament-cot-toolbar__action-text {
  white-space: nowrap;
}

.fundament-cot-chip-island {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.fundament-cot-body {
  gap: 10px;
  margin-right: calc(var(--fundament-cot-inline-gutter) * -1);
  overflow-x: hidden;
  overflow-y: auto;
}

.fundament-cot-body > * {
  margin-right: var(--fundament-cot-inline-gutter);
}

.fundament-cot-board {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  gap: 10px;
  min-height: var(--fundament-cot-board-min-height, 520px);
  overflow: hidden;
}

.fundament-cot-layout {
  display: grid;
  grid-template-columns: var(--fundament-cot-layout-main-column) var(--fundament-cot-layout-side-column);
  gap: 10px;
  align-items: start;
}

.fundament-cot-layout--top {
  padding: 0;
}

.fundament-cot-layout--research {
  padding-top: var(--fundament-cot-board-focus-gap);
}

.fundament-cot-top-shell__column {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.fundament-cot-board-stage {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--fundament-cot-board-focus-gap) 0;
}

.fundament-cot-research-column,
.fundament-cot-rail {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

#fundament-cot-top-shell,
#fundament-cot-board-stage,
#fundament-cot-layout-shell,
#fundament-cot-container {
  scroll-margin-top: 8px;
}

.fundament-cot-panel {
  border: 1px solid var(--cot-border);
  border-radius: 6px;
  background: var(--cot-surface);
  min-width: 0;
  box-shadow: none;
}

.fundament-cot-panel--hero-shell {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border-color: var(--cot-border);
}

.fundament-cot-panel--section,
.fundament-cot-panel--insight {
  padding: 14px;
}

.fundament-cot-panel--placeholder {
  min-height: 168px;
  background: #ffffff;
  border-style: solid;
  border-color: var(--cot-border);
}

.fundament-cot-panel--summary-hero,
.fundament-cot-panel--summary-meta {
  min-height: 168px;
  overflow: hidden;
}

.fundament-cot-panel--summary-hero {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
}

.fundament-cot-ai-summary-shell,
.fundament-cot-ai-summary-meta-shell {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  padding: 14px;
}

.fundament-cot-ai-summary-shell__header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fundament-cot-ai-summary-shell__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cot-blue);
}

.fundament-cot-ai-summary-shell__icon {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.fundament-cot-ai-summary-shell__subtitle,
.fundament-cot-ai-summary-state__text,
.fundament-cot-ai-summary-state__footnote {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--cot-muted);
}

.fundament-cot-ai-summary-shell__body,
.fundament-cot-ai-summary-meta-shell__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fundament-cot-ai-summary-shell__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.fundament-cot-ai-summary-shell__title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--cot-text);
  line-height: 1.35;
}

.fundament-cot-ai-summary-shell__badges {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.fundament-cot-ai-summary-shell__badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border: 1px solid var(--cot-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--cot-text);
}

.fundament-cot-ai-summary-shell__badge--positive {
  color: var(--cot-blue);
  border-color: rgba(0, 89, 255, 0.18);
}

.fundament-cot-ai-summary-shell__text {
  font-size: 0.9rem;
  line-height: 1.68;
  color: #31415c;
}

.fundament-cot-ai-summary-shell__bullets {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fundament-cot-ai-summary-shell__bullet {
  color: var(--cot-text);
  line-height: 1.5;
}

.fundament-cot-ai-summary-state {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 2px 0;
}

.fundament-cot-ai-summary-state__title,
.fundament-cot-ai-summary-meta-shell__title {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #31415c;
}

.fundament-cot-ai-summary-state--error .fundament-cot-ai-summary-state__title {
  color: #b42318;
}

.fundament-cot-ai-summary-state--disabled .fundament-cot-ai-summary-state__title {
  color: #b54708;
}

.fundament-cot-ai-summary-state--fallback {
  gap: 10px;
}

.fundament-cot-panel--inner {
  padding: 12px;
  height: 100%;
  border: 1px solid var(--cot-border);
  border-radius: 6px;
  background: var(--cot-surface-alt);
}

.fundament-cot-trust-body,
.fundament-cot-story-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fundament-cot-trust-flags {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fundament-cot-board__header {
  display: none;
  padding: 0;
  border-bottom: 0;
  background: none;
}

.fundament-cot-board__chart-shell {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  border-bottom: 0;
  background: none;
}

.fundament-cot-legacy-chart-shell {
  min-height: 560px;
}

.fundament-cot-legacy-chart-shell > div,
.fundament-cot-legacy-chart-shell .dash-graph,
.fundament-cot-legacy-chart-shell .js-plotly-plot {
  min-height: 560px;
}

.fundament-cot-board-lwc {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
  width: 100%;
  background: transparent;
  overflow: hidden;
}

.fundament-cot-board-lwc__shell {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
  gap: 0;
  padding: 0;
  background: transparent;
}

.fundament-cot-board-lwc__primary,
.fundament-cot-board-lwc__mini-card {
  border: 0;
  border-radius: 10px;
  background: transparent;
}

.fundament-cot-board-lwc__primary {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  min-height: var(--fundament-cot-board-price-panel-min-height, 220px);
  overflow: hidden;
  padding: 8px;
}

.fundament-cot-board-lwc__primary-header,
.fundament-cot-board-lwc__mini-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.fundament-cot-board-lwc__panel-title,
.fundament-cot-board-lwc__mini-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--cot-text);
  min-width: 0;
}

.fundament-cot-board-lwc__mini-title {
  font-size: 0.84rem;
}

.fundament-cot-board-lwc__mini-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fundament-cot-board-lwc__mini-title-text {
  min-width: 0;
}

.fundament-cot-board-lwc__mini-title-help {
  flex: 0 0 auto;
}

.fundament-cot-board-lwc__axis-label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border: 1px solid var(--cot-blue-border);
  border-radius: 999px;
  background: var(--cot-blue-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cot-blue);
  white-space: nowrap;
}

.fundament-cot-board-lwc__mini-subtitle {
  margin-top: 4px;
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--cot-muted);
  display: none;
}

.fundament-cot-board-lwc__legend-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.fundament-cot-board-lwc__primary-header > .fundament-cot-board-lwc__legend-row,
.fundament-cot-board-lwc__mini-header > .fundament-cot-board-lwc__legend-row {
  margin-top: 0;
  margin-left: auto;
  justify-content: flex-end;
}

.fundament-cot-board-lwc__legend-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--cot-surface-alt);
  color: var(--cot-text);
  font-size: 0.71rem;
  font-weight: 600;
}

.fundament-cot-board-lwc__legend-swatch {
  position: relative;
  width: 16px;
  height: 12px;
  flex: 0 0 auto;
  color: var(--swatch-color, #0f172a);
}

.fundament-cot-board-lwc__legend-swatch::before,
.fundament-cot-board-lwc__legend-swatch::after {
  content: "";
  position: absolute;
}

.fundament-cot-board-lwc__legend-swatch--candle::before {
  left: 7px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: currentColor;
}

.fundament-cot-board-lwc__legend-swatch--candle::after {
  left: 4px;
  top: 2px;
  width: 6px;
  height: 8px;
  border-radius: 2px;
  background: currentColor;
}

.fundament-cot-board-lwc__legend-swatch--line::before {
  left: 0;
  right: 0;
  top: 5px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.fundament-cot-board-lwc__legend-swatch--bar::before {
  left: 3px;
  right: 3px;
  bottom: 1px;
  height: 9px;
  border-radius: 3px 3px 1px 1px;
  background: currentColor;
  opacity: 0.48;
}

.fundament-cot-board-lwc__legend-swatch--band::before {
  inset: 1px 0;
  border-radius: 4px;
  background: currentColor;
  opacity: 0.22;
  box-shadow: inset 0 0 0 1px currentColor;
}

.fundament-cot-board-lwc__legend-label {
  white-space: nowrap;
}

.fundament-cot-board-lwc__viewport,
.fundament-cot-board-lwc__mini-stage-wrap {
  position: relative;
  margin-top: 12px;
}

.fundament-cot-board-lwc__viewport {
  display: flex;
  flex: 1 1 auto;
  min-height: var(--fundament-cot-board-price-stage-min-height, 180px);
  padding-bottom: 0;
}

.fundament-cot-board-lwc__stage,
.fundament-cot-board-lwc__mini-stage {
  width: 100%;
  height: 100%;
}

.fundament-cot-board-lwc__stage {
  min-height: var(--fundament-cot-board-price-stage-min-height, 180px);
}

.fundament-cot-board-lwc__mini-stage {
  min-height: var(--fundament-cot-board-mini-stage-min-height, 120px);
}

.fundament-cot-board-lwc__value-box,
.fundament-cot-board-lwc__mini-value {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid var(--cot-border);
  border-radius: 8px;
  background: var(--cot-surface-alt);
}

.fundament-cot-board-lwc__value-label,
.fundament-cot-board-lwc__value-meta,
.fundament-cot-board-lwc__mini-value-meta {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cot-muted);
}

.fundament-cot-board-lwc__value-main {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--cot-text);
  font-variant-numeric: tabular-nums;
}

.fundament-cot-board-lwc__matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.fundament-cot-board-lwc__matrix {
  flex: 1 1 auto;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  min-height: var(--fundament-cot-board-matrix-min-height, 360px);
  overflow: hidden;
}

.fundament-cot-board-lwc__mini-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  padding: 12px;
}

.fundament-cot-board-lwc__matrix > .fundament-cot-board-lwc__mini-card:nth-child(odd) {
  padding-right: 4px;
}

.fundament-cot-board-lwc__matrix > .fundament-cot-board-lwc__mini-card:nth-child(even) {
  padding-left: 4px;
}

.fundament-cot-board-lwc__matrix > .fundament-cot-board-lwc__mini-card:nth-child(-n + 2) {
  padding-bottom: 4px;
}

.fundament-cot-board-lwc__matrix > .fundament-cot-board-lwc__mini-card:nth-child(n + 3) {
  padding-top: 4px;
}

.fundament-cot-board-lwc__mini-stage-wrap {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
}

.fundament-cot-board-lwc__mini-value {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.fundament-cot-board-lwc__mini-value-main,
.fundament-cot-board-lwc__mini-value-side {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cot-text);
  font-variant-numeric: tabular-nums;
}

.fundament-cot-board-lwc__mini-value-side {
  text-align: right;
}

.fundament-cot-board-lwc__mini-value-meta {
  grid-column: 1 / -1;
}

.fundament-cot-board-lwc__empty {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  text-align: center;
  color: var(--cot-muted);
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  z-index: 3;
}

.fundament-cot-splitter,
.fundament-cot-board-lwc__splitter {
  position: relative;
  flex: 0 0 8px;
  height: 8px;
  cursor: row-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.fundament-cot-splitter--outer {
  display: none;
}

.fundament-cot-splitter::after,
.fundament-cot-board-lwc__splitter::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  top: 50%;
  height: 2px;
  border-radius: 999px;
  background: var(--cot-blue-border);
  transform: translateY(-50%);
  transition: background-color 140ms ease;
}

.fundament-cot-splitter:hover::after,
.fundament-cot-splitter.fundament-cot-splitter--dragging::after,
.fundament-cot-board-lwc__splitter:hover::after,
.fundament-cot-board-lwc__splitter.fundament-cot-board-lwc__splitter--dragging::after {
  background: var(--cot-blue);
}

.fundament-cot-board-lwc__splitter {
  margin: 2px 8px;
}

.fundament-cot-current-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  background: var(--cot-surface-alt);
}

.fundament-cot-panel-header {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 12px;
}

.fundament-cot-panel-header__eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cot-blue);
}

.fundament-cot-panel-header__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--cot-text);
}

.fundament-cot-panel-header__subtitle {
  font-size: 0.77rem;
  line-height: 1.5;
  color: var(--cot-muted);
}

.fundament-cot-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.fundament-cot-card-grid--quality {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fundament-cot-metric-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 72px;
  padding: 10px 11px;
  border: 1px solid var(--cot-border);
  border-radius: 6px;
  background: var(--cot-surface-alt);
}

.fundament-cot-metric-card--compact {
  min-height: auto;
  gap: 3px;
  padding: 9px 10px;
}

.fundament-cot-metric-card--positive {
  border-color: rgba(15, 157, 88, 0.24);
  background: rgba(15, 157, 88, 0.05);
}

.fundament-cot-metric-card--negative {
  border-color: rgba(192, 57, 43, 0.24);
  background: rgba(192, 57, 43, 0.05);
}

.fundament-cot-metric-card--warning {
  border-color: rgba(217, 119, 6, 0.24);
  background: rgba(217, 119, 6, 0.06);
}

.fundament-cot-metric-card__label,
.fundament-cot-list-section__title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cot-muted);
}

.fundament-cot-metric-card__value {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--cot-text);
}

.fundament-cot-metric-card__sub {
  font-size: 0.74rem;
  color: var(--cot-muted);
  line-height: 1.4;
}

.fundament-cot-toolbar-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 118px;
  padding: 7px 10px;
  border: 1px solid var(--cot-border);
  border-radius: 999px;
  background: #ffffff;
}

.fundament-cot-chip-island .fundament-cot-toolbar-chip {
  min-width: 0;
  border-radius: 12px;
}

.fundament-cot-toolbar-chip--warning {
  border-color: rgba(217, 119, 6, 0.26);
  background: rgba(217, 119, 6, 0.05);
}

.fundament-cot-toolbar-chip__label {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cot-muted);
}

.fundament-cot-toolbar-chip__value {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cot-text);
}

.fundament-cot-toolbar-chip__meta {
  font-size: 0.69rem;
  color: var(--cot-muted);
}

.fundament-cot-hero-strip {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.fundament-cot-hero-strip__identity {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.fundament-cot-hero-strip__eyebrow {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cot-blue);
}

.fundament-cot-hero-strip__title-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.fundament-cot-hero-strip__title {
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--cot-text);
}

.fundament-cot-hero-strip__symbol {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cot-blue);
}

.fundament-cot-hero-strip__subtitle {
  max-width: 760px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--cot-muted);
}

.fundament-cot-hero-strip__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 8px;
  min-width: min(100%, 470px);
}

.fundament-cot-summary-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px;
  border: 1px solid var(--cot-border);
  border-radius: 6px;
  background: #ffffff;
}

.fundament-cot-summary-cell--positive {
  border-color: rgba(15, 157, 88, 0.24);
}

.fundament-cot-summary-cell--negative {
  border-color: rgba(192, 57, 43, 0.24);
}

.fundament-cot-summary-cell--warning {
  border-color: rgba(217, 119, 6, 0.24);
  background: rgba(217, 119, 6, 0.04);
}

.fundament-cot-summary-cell__label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cot-muted);
}

.fundament-cot-summary-cell__value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cot-text);
}

.fundament-cot-summary-cell__meta {
  font-size: 0.72rem;
  color: var(--cot-muted);
  line-height: 1.35;
}

.fundament-cot-current-strip .fundament-cot-summary-cell {
  min-height: 0;
  border-radius: 0;
  border: 0;
  border-right: 1px solid var(--cot-border);
  background: transparent;
  padding: 10px 12px;
}

.fundament-cot-current-strip .fundament-cot-summary-cell:last-child {
  border-right: 0;
}

.fundament-cot-stat-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fundament-cot-stat-row,
.fundament-cot-list-row,
.fundament-cot-flag-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--cot-grid);
}

.fundament-cot-stat-row:last-child,
.fundament-cot-list-row:last-child,
.fundament-cot-flag-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.fundament-cot-stat-row__label,
.fundament-cot-list-row__title {
  font-size: 0.77rem;
  line-height: 1.5;
  color: #43516b;
}

.fundament-cot-stat-row__value,
.fundament-cot-list-row__value {
  flex: 0 0 auto;
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--cot-text);
}

.fundament-cot-stat-row__value--positive,
.fundament-cot-list-row__value--positive {
  color: var(--cot-green);
}

.fundament-cot-stat-row__value--negative,
.fundament-cot-list-row__value--negative {
  color: var(--cot-red);
}

.fundament-cot-stat-row__value--warning {
  color: var(--cot-amber);
}

.fundament-cot-list-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fundament-cot-story-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 11px 12px;
  border: 1px solid var(--cot-border);
  border-radius: 6px;
  background: var(--cot-surface-alt);
}

.fundament-cot-story-block__title {
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cot-muted);
}

.fundament-cot-story-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fundament-cot-story-bullet {
  font-size: 0.79rem;
  line-height: 1.55;
  color: #45536d;
}

.fundament-cot-banner {
  margin-bottom: 10px;
  padding: 10px 12px;
  border: 1px solid var(--cot-border);
  border-radius: 6px;
  background: var(--cot-surface-alt);
  color: #43516b;
  font-size: 0.79rem;
  line-height: 1.5;
}

.fundament-cot-banner--warning {
  border-color: rgba(217, 119, 6, 0.26);
  background: rgba(217, 119, 6, 0.06);
  color: #8d5809;
}

.fundament-cot-banner--soft {
  border-color: var(--cot-blue-border);
  background: var(--cot-blue-soft);
  color: #28426d;
}

.fundament-cot-inline-note,
.fundament-cot-paragraph {
  font-size: 0.79rem;
  line-height: 1.58;
  color: #50607a;
}

.fundament-cot-paragraph + .fundament-cot-paragraph,
.fundament-cot-list-section__title + .fundament-cot-paragraph {
  margin-top: 6px;
}

.fundament-cot-empty-block {
  padding: 12px;
  border: 1px dashed var(--cot-border-strong);
  border-radius: 6px;
  background: #fbfdff;
  color: var(--cot-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.fundament-cot-flag-row {
  font-size: 0.8rem;
  color: var(--cot-text);
}

.fundament-cot-flag-row--ok {
  color: var(--cot-green);
}

.fundament-cot-split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  gap: 10px;
  align-items: stretch;
}

.fundament-cot-details {
  border: 1px solid var(--cot-border);
  border-radius: 6px;
  background: var(--cot-surface);
}

.fundament-cot-details__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cot-text);
}

.fundament-cot-details__summary::-webkit-details-marker {
  display: none;
}

.fundament-cot-details__summary-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.fundament-cot-details[open] .fundament-cot-details__summary {
  border-bottom: 1px solid var(--cot-border);
}

.fundament-cot-details__body {
  padding: 14px;
}

.fundament-cot-details--compact {
  margin-top: 10px;
}

.fundament-cot-details--compact .fundament-cot-details__summary {
  min-height: 36px;
  padding: 8px 10px;
  font-size: 0.78rem;
}

.fundament-cot-details--compact .fundament-cot-details__body {
  padding: 10px;
}

@media (max-width: 1360px) {
  .fundament-cot-layout,
  .fundament-cot-split-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .fundament-cot-current-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fundament-cot-hero-strip {
    flex-direction: column;
  }

  .fundament-cot-hero-strip__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-width: 0;
    width: 100%;
  }

  .fundament-cot-board-lwc__matrix {
    grid-template-columns: minmax(0, 1fr);
  }

  .fundament-cot-board-lwc__matrix > .fundament-cot-board-lwc__mini-card.fundament-cot-board-lwc__mini-card--commercials {
    order: 1;
    padding: 12px 12px 4px;
  }

  .fundament-cot-board-lwc__matrix > .fundament-cot-board-lwc__mini-card.fundament-cot-board-lwc__mini-card--index {
    order: 2;
    padding: 4px 12px;
  }

  .fundament-cot-board-lwc__matrix > .fundament-cot-board-lwc__mini-card.fundament-cot-board-lwc__mini-card--retailers {
    order: 3;
    padding: 4px 12px;
  }

  .fundament-cot-board-lwc__matrix > .fundament-cot-board-lwc__mini-card.fundament-cot-board-lwc__mini-card--noncommercials {
    order: 4;
    padding: 4px 12px 12px;
  }
}

@media (max-width: 1360px) {
  .fundament-cot-board-lwc__matrix {
    flex: 0 0 auto;
    grid-template-rows: none;
  }
}

@media (max-width: 980px) {
  .fundament-cot-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .fundament-cot-toolbar__actions {
    width: 100%;
    justify-content: flex-start;
  }

  .fundament-cot-toolbar__chips {
    justify-content: flex-start;
  }

  .fundament-cot-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fundament-cot-current-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fundament-cot-current-strip .fundament-cot-summary-cell:nth-child(2n) {
    border-right: 0;
  }

  .fundament-cot-current-strip .fundament-cot-summary-cell {
    border-bottom: 1px solid var(--cot-border);
  }

  .fundament-cot-hero-strip__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fundament-cot-board-lwc {
    min-height: 1120px;
  }
}

@media (max-width: 720px) {
  .fundament-cot-panel--section,
  .fundament-cot-panel--insight {
    padding: 14px;
  }

  .fundament-cot-chip-island {
    grid-template-columns: minmax(0, 1fr);
  }

  .fundament-cot-toolbar__controls,
  .fundament-cot-card-grid,
  .fundament-cot-current-strip,
  .fundament-cot-hero-strip__facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .fundament-cot-toolbar__controls {
    display: grid;
  }

  .fundament-cot-board__header {
    padding: 0;
  }

  .fundament-cot-board-lwc__primary,
  .fundament-cot-board-lwc__mini-card {
    padding-left: 12px;
    padding-right: 12px;
  }

  .fundament-cot-board-lwc__shell {
    padding-left: 0;
    padding-right: 0;
  }

  .fundament-cot-board-lwc__primary-header,
  .fundament-cot-board-lwc__mini-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .fundament-cot-board-lwc__primary-header > .fundament-cot-board-lwc__legend-row,
  .fundament-cot-board-lwc__mini-header > .fundament-cot-board-lwc__legend-row {
    margin-left: 0;
    justify-content: flex-start;
  }

  .fundament-cot-board-lwc__mini-value {
    grid-template-columns: minmax(0, 1fr);
  }

  .fundament-cot-board-lwc__mini-value-side {
    text-align: left;
  }

  .fundament-cot-current-strip .fundament-cot-summary-cell {
    border-right: 0;
  }

  .fundament-cot-stat-row,
  .fundament-cot-list-row,
  .fundament-cot-flag-row {
    flex-direction: column;
    gap: 4px;
  }
}

.fundament-news-workspace {
  --news-blue: #0f4eea;
  --news-ink: #132033;
  --news-muted: #5d6b82;
  --news-border: #d9e2f0;
  --news-border-strong: #bed0ee;
  --news-surface: #ffffff;
  --news-surface-alt: #f7faff;
  --news-warning: #a65c00;
  --news-warning-bg: #fff5e8;
  --news-danger: #a63f3f;
  --news-danger-bg: #fff1f1;
  --news-ok: #166534;
  --news-ok-bg: #edf9f0;
  gap: 12px;
  min-height: 0;
  height: 100%;
  container-type: inline-size;
  container-name: fundament-workspace;
}

.fundament-news-loading,
.fundament-news-loading > div {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
}

.fundament-news-toolbar {
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.fundament-news-toolbar__heading,
.fundament-news-toolbar__actions {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

.fundament-news-toolbar__heading {
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.fundament-news-toolbar__subtitle {
  max-width: 840px;
}

.fundament-news-toolbar-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.fundament-news-toolbar-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: min(100%, 360px);
}

.fundament-news-toolbar-search__input {
  flex: 1 1 220px;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--news-border);
  border-radius: 12px;
  background: var(--news-surface);
  color: var(--news-ink);
  font-size: 0.88rem;
}

.fundament-news-toolbar-search__button {
  height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(15, 78, 234, 0.22);
  border-radius: 12px;
  background: linear-gradient(180deg, #f3f7ff 0%, #e8f0ff 100%);
  color: var(--news-blue);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.fundament-news-toolbar-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 90px;
  padding: 8px 10px;
  border: 1px solid var(--news-border);
  border-radius: 12px;
  background: var(--news-surface);
}

.fundament-news-toolbar-chip--warning {
  border-color: rgba(166, 92, 0, 0.24);
  background: var(--news-warning-bg);
}

.fundament-news-toolbar-chip--ok {
  border-color: rgba(22, 101, 52, 0.22);
  background: var(--news-ok-bg);
}

.fundament-news-toolbar-chip__label,
.fundament-news-meta-block__label,
.fundament-news-metric-tile__label,
.fundament-news-detail-panel__section-title,
.fundament-news-rail-section__title,
.fundament-news-status-card__eyebrow,
.fundament-news-panel__title,
.fundament-news-card__eyebrow,
.fundament-news-list-item__eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--news-muted);
}

.fundament-news-toolbar-chip__value,
.fundament-news-meta-block__value,
.fundament-news-metric-tile__value {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--news-ink);
}

.fundament-news-body {
  overflow: hidden;
  min-height: 0;
  height: 100%;
}

.fundament-news-layout {
  display: grid;
  grid-template-columns: minmax(220px, 250px) minmax(0, 1.65fr) minmax(320px, 0.82fr);
  gap: 14px;
  min-height: 0;
  height: 100%;
}

.fundament-news-rail,
.fundament-news-stage,
.fundament-news-detail-panel {
  min-height: 0;
  overflow: auto;
}

.fundament-news-rail,
.fundament-news-detail-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fundament-news-rail-section,
.fundament-news-detail-panel,
.fundament-news-status-card,
.fundament-news-hero,
.fundament-news-panel,
.fundament-news-card,
.fundament-news-chart-card {
  border: 1px solid var(--news-border);
  border-radius: 16px;
  background: var(--news-surface);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.fundament-news-rail-section,
.fundament-news-detail-panel {
  padding: 14px;
}

.fundament-news-surface-list,
.fundament-news-rail-card-list,
.fundament-news-detail-panel__stack,
.fundament-news-main-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fundament-news-surface-button,
.fundament-news-detail-panel__link {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--news-border);
  border-radius: 12px;
  background: #f9fbff;
  color: var(--news-ink);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.fundament-news-surface-button--active,
.fundament-news-list-item--selected,
.fundament-news-rail-card--active {
  border-color: rgba(15, 78, 234, 0.28);
  background: rgba(15, 78, 234, 0.08);
}

.fundament-news-rail-card,
.fundament-news-list-item--action,
.fundament-news-card--action {
  width: 100%;
  border: 1px solid var(--news-border);
  border-radius: 14px;
  background: var(--news-surface-alt);
  cursor: pointer;
  text-align: left;
}

.fundament-news-rail-card,
.fundament-news-list-item,
.fundament-news-card {
  padding: 12px;
}

.fundament-news-rail-card__title,
.fundament-news-card__title,
.fundament-news-list-item__title,
.fundament-news-detail-panel__headline,
.fundament-news-chart-card__title,
.fundament-news-status-card__title,
.fundament-news-panel__title,
.fundament-news-hero__title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--news-ink);
}

.fundament-news-rail-card__body,
.fundament-news-card__body,
.fundament-news-list-item__body,
.fundament-news-detail-panel__body,
.fundament-news-chart-card__caption,
.fundament-news-panel__subtitle,
.fundament-news-hero__body,
.fundament-news-status-card__body,
.fundament-news-detail-panel__article-meta,
.fundament-news-detail-panel__bullet {
  margin-top: 6px;
  color: var(--news-muted);
  line-height: 1.55;
  font-size: 0.84rem;
}

.fundament-news-rail-card__meta,
.fundament-news-card__meta,
.fundament-news-list-item__meta,
.fundament-news-list-item__header,
.fundament-news-hero__facts,
.fundament-news-detail-panel__metric-grid,
.fundament-news-status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fundament-news-list-item__header {
  justify-content: space-between;
  align-items: flex-start;
}

.fundament-news-list-item__chips,
.fundament-news-detail-panel__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.fundament-news-inline-chip,
.fundament-news-list-item__meta-chip,
.fundament-news-card__meta-chip,
.fundament-news-rail-card__meta-chip,
.fundament-news-asset-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(15, 78, 234, 0.08);
  color: var(--news-blue);
  font-size: 0.72rem;
  font-weight: 700;
}

.fundament-news-asset-chip--muted {
  background: rgba(96, 116, 148, 0.14);
  color: var(--news-muted);
}

.fundament-news-status-strip {
  margin-bottom: 2px;
}

.fundament-news-status-card {
  flex: 1 1 220px;
  padding: 14px;
}

.fundament-news-status-card--hero {
  background:
    radial-gradient(circle at top right, rgba(15, 78, 234, 0.16), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
}

.fundament-news-status-card--warning {
  border-color: rgba(166, 92, 0, 0.22);
  background: var(--news-warning-bg);
}

.fundament-news-status-card--muted {
  background: #fbfcff;
}

.fundament-news-status-card--error {
  border-color: rgba(166, 63, 63, 0.22);
  background: var(--news-danger-bg);
  color: var(--news-danger);
}

.fundament-news-status-card--empty {
  background: #fbfcff;
}

.fundament-news-hero {
  padding: 22px;
  background:
    radial-gradient(circle at top right, rgba(15, 78, 234, 0.14), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
}

.fundament-news-hero--search {
  background:
    radial-gradient(circle at top right, rgba(15, 78, 234, 0.18), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.fundament-news-hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--news-blue);
}

.fundament-news-hero__title {
  margin-top: 8px;
  font-size: 1.38rem;
}

.fundament-news-hero__facts {
  margin-top: 14px;
}

.fundament-news-meta-block,
.fundament-news-metric-tile {
  min-width: 120px;
  padding: 10px 11px;
  border: 1px solid var(--news-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}

.fundament-news-panel {
  padding: 16px;
}

.fundament-news-panel__header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.fundament-news-panel__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fundament-news-panel--empty {
  padding: 22px;
}

.fundament-news-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.fundament-news-chart-card {
  padding: 14px;
}

.fundament-news-chart-card__image {
  width: 100%;
  margin-top: 10px;
  border: 1px solid var(--news-border);
  border-radius: 12px;
  background: #f8fbff;
}

.fundament-news-markdown {
  color: var(--news-ink);
  line-height: 1.68;
  font-size: 0.92rem;
}

.fundament-news-markdown h1,
.fundament-news-markdown h2,
.fundament-news-markdown h3 {
  color: var(--news-ink);
  margin-top: 0.9em;
}

.fundament-news-detail-panel__article {
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--news-border);
  border-radius: 12px;
  background: var(--news-surface-alt);
  text-decoration: none;
}

.fundament-news-detail-panel__article-title {
  color: var(--news-ink);
  font-weight: 700;
  font-size: 0.85rem;
}

.fundament-news-empty-note {
  padding: 12px;
  border: 1px dashed var(--news-border-strong);
  border-radius: 12px;
  background: #fbfdff;
  color: var(--news-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

@media (max-width: 1380px) {
  .fundament-news-layout {
    grid-template-columns: minmax(220px, 250px) minmax(0, 1fr);
  }

  .fundament-news-detail-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .fundament-news-toolbar,
  .fundament-news-toolbar__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .fundament-news-toolbar-meta {
    justify-content: flex-start;
  }

  .fundament-news-toolbar-search {
    min-width: 0;
  }

  .fundament-news-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Intel News workspace redesign */

.fundament-news-workspace {
  --news-blue: #0059ff;
  --news-blue-soft: rgba(0, 89, 255, 0.08);
  --news-ink: #102033;
  --news-muted: #607088;
  --news-border: #d8e1ee;
  --news-border-strong: #bfd0e8;
  --news-surface: #ffffff;
  --news-surface-alt: #f7f9fc;
  --news-surface-soft: #fbfcfe;
  --news-warning: #9a5a00;
  --news-warning-bg: #fff6ea;
  --news-danger: #9f3636;
  --news-danger-bg: #fff3f3;
  --news-ok: #166534;
  --news-ok-bg: #eef8f1;
  gap: 8px;
}

.fundament-news-toolbar {
  align-items: flex-end;
  gap: 12px;
  padding-bottom: 2px;
  background: #fff;
}

.fundament-news-toolbar__actions {
  gap: 10px;
  flex-wrap: wrap;
}

.fundament-news-toolbar__divider {
  width: 1px;
  align-self: stretch;
  background: var(--news-border);
}

.fundament-news-toolbar-search {
  min-width: min(100%, 340px);
}

.fundament-news-toolbar-search__input,
.fundament-news-toolbar-search__button {
  height: 34px;
  border-radius: 8px;
  font-size: 0.82rem;
  box-shadow: none;
}

.fundament-news-toolbar-search__input {
  border-color: var(--news-border);
  background: #fff;
}

.fundament-news-toolbar-search__button {
  padding: 0 12px;
  border-color: rgba(0, 89, 255, 0.22);
  background: #f4f8ff;
  color: var(--news-blue);
}

.fundament-news-toolbar-meta {
  gap: 6px;
}

.fundament-news-toolbar-chip {
  min-width: 88px;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--news-surface-soft);
  box-shadow: none;
}

.fundament-news-toolbar-chip--warning {
  background: var(--news-warning-bg);
}

.fundament-news-toolbar-chip--ok {
  background: var(--news-ok-bg);
}

.fundament-news-body {
  overflow: hidden;
}

.fundament-news-layout {
  display: grid;
  grid-template-columns: minmax(220px, 248px) minmax(0, 1.72fr) minmax(300px, 0.84fr);
  gap: 12px;
  min-height: 0;
  height: 100%;
}

.fundament-news-rail,
.fundament-news-stage,
.fundament-news-detail-panel {
  min-height: 0;
}

.fundament-news-rail,
.fundament-news-detail-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: auto;
}

.fundament-news-stage {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: auto;
  min-width: 0;
}

.fundament-news-main-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.fundament-news-surface {
  min-width: 0;
}

.fundament-news-rail-section,
.fundament-news-status-card,
.fundament-news-panel,
.fundament-news-card,
.fundament-news-chart-card,
.fundament-news-detail-panel,
.fundament-news-detail-view {
  border: 1px solid var(--news-border);
  border-radius: 8px;
  background: var(--news-surface);
  box-shadow: none;
}

.fundament-news-rail-section,
.fundament-news-detail-panel,
.fundament-news-detail-view,
.fundament-news-panel,
.fundament-news-chart-card {
  padding: 12px;
}

.fundament-news-surface-list,
.fundament-news-rail-card-list,
.fundament-news-detail-panel__stack,
.fundament-news-rail-metric-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fundament-news-rail-section__body,
.fundament-news-surface-header__subtitle,
.fundament-news-panel__subtitle,
.fundament-news-list-item__body,
.fundament-news-card__body,
.fundament-news-detail-panel__body,
.fundament-news-detail-panel__article-meta,
.fundament-news-detail-panel__bullet,
.fundament-news-chart-card__caption,
.fundament-news-status-card__body {
  color: var(--news-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.fundament-news-surface-button,
.fundament-news-detail-panel__link {
  width: 100%;
  min-height: 32px;
  padding: 8px 10px;
  border: 1px solid var(--news-border);
  border-radius: 8px;
  background: #fff;
  color: var(--news-ink);
  text-align: left;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.fundament-news-surface-button--active,
.fundament-news-surface-button.is-active,
.fundament-news-rail-card.is-active,
.fundament-news-list-item.is-active,
.fundament-news-card.is-active,
.fundament-news-detail-panel__link.is-active {
  border-color: rgba(0, 89, 255, 0.28);
  background: var(--news-blue-soft);
  color: var(--news-blue);
}

.fundament-news-rail-card,
.fundament-news-list-item,
.fundament-news-card {
  padding: 10px 11px;
  border: 1px solid var(--news-border);
  border-radius: 8px;
  background: var(--news-surface-soft);
}

.fundament-news-rail-card--interactive,
.fundament-news-list-item--action,
.fundament-news-card--action {
  width: 100%;
  cursor: pointer;
  text-align: left;
}

.fundament-news-inline-chip,
.fundament-news-list-item__meta-chip,
.fundament-news-card__meta-chip,
.fundament-news-rail-card__meta-chip,
.fundament-news-asset-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--news-blue);
  font-size: 0.7rem;
  font-weight: 700;
}

.fundament-news-asset-chip--muted {
  background: #eef2f7;
  color: var(--news-muted);
}

.fundament-news-status-strip,
.fundament-news-list-item__meta,
.fundament-news-list-item__header,
.fundament-news-card__meta,
.fundament-news-rail-card__meta,
.fundament-news-detail-panel__metric-grid,
.fundament-news-surface-header__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fundament-news-status-card {
  flex: 1 1 220px;
  padding: 12px;
}

.fundament-news-status-card--hero {
  background: #f7fbff;
}

.fundament-news-status-card--warning {
  background: var(--news-warning-bg);
}

.fundament-news-status-card--muted {
  background: #fafbfd;
}

.fundament-news-status-card--error {
  background: var(--news-danger-bg);
}

.fundament-news-surface-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid var(--news-border);
  border-radius: 8px;
  background: #fff;
}

.fundament-news-surface-header__main {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.fundament-news-surface-header__eyebrow,
.fundament-news-toolbar-chip__label,
.fundament-news-meta-block__label,
.fundament-news-metric-tile__label,
.fundament-news-detail-panel__section-title,
.fundament-news-rail-section__title,
.fundament-news-status-card__eyebrow,
.fundament-news-panel__title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--news-muted);
}

.fundament-news-surface-header__title,
.fundament-news-panel__title,
.fundament-news-rail-card__title,
.fundament-news-list-item__title,
.fundament-news-card__title,
.fundament-news-detail-panel__headline,
.fundament-news-status-card__title,
.fundament-news-chart-card__title {
  color: var(--news-ink);
  font-size: 0.96rem;
  font-weight: 700;
}

.fundament-news-surface-header__title {
  font-size: 1.12rem;
}

.fundament-news-surface-header__actions {
  flex: 0 0 auto;
}

.fundament-news-segmented {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fundament-news-segmented__button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--news-border);
  border-radius: 8px;
  background: #fff;
  color: var(--news-ink);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.fundament-news-segmented__button.is-active {
  border-color: rgba(0, 89, 255, 0.28);
  background: var(--news-blue-soft);
  color: var(--news-blue);
}

.fundament-news-workgrid {
  display: grid;
  gap: 8px;
}

.fundament-news-workgrid--overview,
.fundament-news-workgrid--category,
.fundament-news-workgrid--archive,
.fundament-news-workgrid--anchor {
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.9fr);
}

.fundament-news-workgrid--secondary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fundament-news-workstack,
.fundament-news-category-stack,
.fundament-news-anchor-stage {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.fundament-news-category-view,
.fundament-news-anchor-view,
.fundament-news-detail-record {
  min-width: 0;
}

.fundament-news-meta-block,
.fundament-news-metric-tile {
  min-width: 104px;
  padding: 8px 9px;
  border: 1px solid var(--news-border);
  border-radius: 8px;
  background: var(--news-surface-soft);
}

.fundament-news-markdown {
  color: var(--news-ink);
  font-size: 0.9rem;
  line-height: 1.66;
}

.fundament-news-markdown h1,
.fundament-news-markdown h2,
.fundament-news-markdown h3 {
  color: var(--news-ink);
}

.fundament-news-detail-panel__article {
  display: block;
  padding: 9px 10px;
  border: 1px solid var(--news-border);
  border-radius: 8px;
  background: var(--news-surface-soft);
  text-decoration: none;
}

.fundament-news-empty-note {
  padding: 10px;
  border: 1px dashed var(--news-border-strong);
  border-radius: 8px;
  background: var(--news-surface-soft);
  color: var(--news-muted);
  font-size: 0.82rem;
}

.fundament-news-selection-hydrator {
  display: none;
}

@media (max-width: 1380px) {
  .fundament-news-layout {
    grid-template-columns: minmax(220px, 248px) minmax(0, 1fr);
  }

  .fundament-news-detail-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1080px) {
  .fundament-news-workgrid--overview,
  .fundament-news-workgrid--category,
  .fundament-news-workgrid--archive,
  .fundament-news-workgrid--anchor,
  .fundament-news-workgrid--secondary {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 980px) {
  .fundament-news-toolbar,
  .fundament-news-toolbar__actions,
  .fundament-news-surface-header {
    flex-direction: column;
    align-items: stretch;
  }

  .fundament-news-toolbar__divider {
    display: none;
  }

  .fundament-news-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Intel News workspace polish */

.fundament-news-workspace {
  background: #f6f8fb;
}

.fundament-news-body {
  padding-top: 2px;
}

.fundament-news-layout {
  align-items: start;
}

.fundament-news-rail,
.fundament-news-stage,
.fundament-news-detail-panel {
  scrollbar-gutter: stable;
}

.fundament-news-rail-section--path {
  background: #f9fbfe;
}

.fundament-news-rail-section__title,
.fundament-news-detail-panel__title,
.fundament-news-panel__title {
  color: #5b6c83;
}

.fundament-news-rail-section__body,
.fundament-news-toolbar__subtitle,
.fundament-news-detail-panel__body,
.fundament-news-panel__subtitle,
.fundament-news-list-item__body,
.fundament-news-card__body,
.fundament-news-rail-card__body {
  max-width: 78ch;
}

.fundament-news-surface-list {
  gap: 6px;
}

.fundament-news-surface-button,
.fundament-news-rail-card--interactive,
.fundament-news-list-item--action,
.fundament-news-card--action,
.fundament-news-segmented__button,
.fundament-news-detail-panel__link,
.fundament-news-toolbar-search__button {
  transition: border-color 120ms ease, background-color 120ms ease, color 120ms ease;
}

.fundament-news-surface-button:hover,
.fundament-news-rail-card--interactive:hover,
.fundament-news-list-item--action:hover,
.fundament-news-card--action:hover,
.fundament-news-segmented__button:hover,
.fundament-news-detail-panel__link:hover,
.fundament-news-toolbar-search__button:hover {
  border-color: rgba(0, 89, 255, 0.24);
  background: #f5f8ff;
}

.fundament-news-surface-button:focus-visible,
.fundament-news-rail-card--interactive:focus-visible,
.fundament-news-list-item--action:focus-visible,
.fundament-news-card--action:focus-visible,
.fundament-news-segmented__button:focus-visible,
.fundament-news-detail-panel__link:focus-visible,
.fundament-news-toolbar-search__input:focus-visible,
.fundament-news-toolbar-search__button:focus-visible {
  outline: none;
  border-color: rgba(0, 89, 255, 0.42);
  box-shadow: 0 0 0 2px rgba(0, 89, 255, 0.12);
}

.fundament-news-toolbar-search__input::placeholder {
  color: #7a889d;
}

.fundament-news-toolbar-chip__value,
.fundament-news-meta-block__value,
.fundament-news-metric-tile__value {
  color: var(--news-ink);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
}

.fundament-news-status-strip {
  align-items: stretch;
}

.fundament-news-status-card,
.fundament-news-panel,
.fundament-news-chart-card,
.fundament-news-detail-view,
.fundament-news-rail-section {
  border-radius: 6px;
}

.fundament-news-status-card--empty {
  background: #fafbfd;
}

.fundament-news-panel__header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.fundament-news-panel__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.fundament-news-panel--primary-report .fundament-news-panel__body {
  gap: 12px;
}

.fundament-news-rail-card,
.fundament-news-list-item,
.fundament-news-card,
.fundament-news-detail-panel__link,
.fundament-news-detail-panel__article {
  border-radius: 6px;
}

.fundament-news-rail-card,
.fundament-news-list-item,
.fundament-news-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fundament-news-rail-card__title,
.fundament-news-list-item__title,
.fundament-news-card__title,
.fundament-news-detail-panel__headline,
.fundament-news-detail-panel__article-title {
  line-height: 1.35;
}

.fundament-news-list-item__eyebrow {
  color: #6e7f95;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fundament-news-list-item__chips,
.fundament-news-detail-panel__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fundament-news-inline-chip,
.fundament-news-list-item__meta-chip,
.fundament-news-card__meta-chip,
.fundament-news-rail-card__meta-chip,
.fundament-news-asset-chip {
  border: 1px solid #d8e5ff;
}

.fundament-news-detail-panel {
  padding: 12px;
}

.fundament-news-detail-view {
  display: block;
}

.fundament-news-detail-view + .fundament-news-detail-view {
  margin-top: 0;
}

.fundament-news-detail-panel__stack {
  min-width: 0;
}

.fundament-news-detail-panel__section-title {
  margin-top: 2px;
}

.fundament-news-detail-panel__metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.fundament-news-detail-panel__article,
.fundament-news-detail-panel__link {
  color: var(--news-ink);
}

.fundament-news-detail-panel__article-meta {
  margin-top: 4px;
}

.fundament-news-detail-panel__bullet {
  padding-left: 10px;
  position: relative;
}

.fundament-news-detail-panel__bullet::before {
  content: "";
  position: absolute;
  top: 0.58rem;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #7b8aa0;
}

.fundament-news-chart-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fundament-news-chart-card__image {
  width: 100%;
  height: auto;
  border: 1px solid var(--news-border);
  border-radius: 6px;
  background: #fff;
}

.fundament-news-markdown > :first-child {
  margin-top: 0;
}

.fundament-news-markdown > :last-child {
  margin-bottom: 0;
}

.fundament-news-markdown p,
.fundament-news-markdown ul,
.fundament-news-markdown ol {
  margin: 0 0 0.72rem;
}

.fundament-news-markdown li + li {
  margin-top: 0.28rem;
}

.fundament-news-empty-note {
  border-style: solid;
  background: #fbfcfe;
}

@media (max-width: 1280px) {
  .fundament-news-layout {
    grid-template-columns: minmax(216px, 236px) minmax(0, 1.55fr) minmax(280px, 0.9fr);
    gap: 10px;
  }
}

@media (max-width: 980px) {
  .fundament-news-detail-panel__metric-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
