/* ECHO_MARKET_EXPECTATIONS_CSS_V1_1 */
.expectations-panel { min-width: 0; }
.expectations-header { align-items: flex-start; }
.expectations-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(145px, 1fr));
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
}
.expectations-controls label {
  display: grid;
  gap: 6px;
  color: #536679;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.expectations-controls input,
.expectations-controls select {
  width: 100%;
  min-height: 38px;
  border: 1px solid #cbd5df;
  border-radius: 6px;
  background: #fff;
  color: #18344f;
  padding: 8px 10px;
  font: inherit;
}
.expectations-input-wrap { position: relative; display: flex; align-items: center; }
.expectations-input-wrap span { margin-left: 6px; color: #6b7d8f; font-size: 0.82rem; }
.expectations-recalculate { min-height: 38px; white-space: nowrap; }
.expectations-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}
.expectations-kpi-grid > div {
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  background: #f8fafc;
  padding: 14px;
  min-width: 0;
}
.expectations-kpi-grid span,
.expectations-kpi-grid small { display: block; color: #647789; }
.expectations-kpi-grid span { font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.expectations-kpi-grid strong { display: block; margin-top: 6px; color: #17344f; font-size: 1.35rem; }
.expectations-kpi-grid small { margin-top: 5px; font-size: 0.72rem; }
.expectations-primary-kpi { border-color: #d6b846 !important; background: #fffaf0 !important; }
.expectations-section { margin-top: 22px; }
.expectations-section-heading { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.expectations-section-heading h4 { margin: 0; color: #17344f; }
.expectations-section-heading p { margin: 4px 0 0; color: #6a7c8e; font-size: 0.85rem; }
.expectations-table-wrap { width: 100%; overflow-x: auto; border: 1px solid #d8e0e8; border-radius: 8px; }
.expectations-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.expectations-table th,
.expectations-table td { padding: 10px 12px; border-bottom: 1px solid #e7edf2; text-align: right; white-space: nowrap; }
.expectations-table th { background: #f3f6f9; color: #4f6477; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.03em; }
.expectations-table th:first-child,
.expectations-table td:first-child { text-align: left; }
.expectations-table tbody tr:last-child td { border-bottom: 0; }
.expectations-sensitivity-table td:not(:first-child) { font-weight: 700; color: #17344f; }
.expectations-notes { margin-top: 16px; padding: 12px 14px; border-left: 3px solid #d6b846; background: #fffaf0; }
.expectations-notes p { margin: 4px 0; color: #5c6f81; font-size: 0.82rem; }
@media (max-width: 1100px) {
  .expectations-controls { grid-template-columns: repeat(3, minmax(130px, 1fr)); }
}
@media (max-width: 760px) {
  .expectations-controls,
  .expectations-kpi-grid { grid-template-columns: 1fr; }
}

.expectations-capm-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-left: 3px solid #d6b846;
  background: #fffaf0;
  color: #52677a;
}
.expectations-capm-line span { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.expectations-capm-line strong { color: #17344f; font-size: 1.35rem; }
.expectations-capm-line small { color: #6a7c8e; }
.expectations-controls label > small { min-height: 1.1em; color: #78899a; font-size: 0.68rem; font-weight: 500; letter-spacing: 0; }
.expectations-action-group { display: flex; gap: 8px; align-items: end; }
.expectations-action-group button { min-height: 38px; }
@media (max-width: 1100px) {
  .expectations-controls-capm { grid-template-columns: repeat(3, minmax(135px, 1fr)); }
}
@media (max-width: 760px) {
  .expectations-controls-capm { grid-template-columns: 1fr; }
  .expectations-action-group { flex-direction: column; align-items: stretch; }
}
