/* V158: clearer selectable table heading, compact uniform statistics and account/settings spacing. */

/* The header ends with the same separator used between records. */
@media (min-width: 761px) {
  #root#root .table-wrap .pick-table-v72.pick-table-v103 > thead > tr {
    border-bottom: 1px solid #203043 !important;
  }

  /* Label the selection gutter instead of leaving an unexplained blank area. */
  #root#root .table-wrap.v96-selectable-picks .pick-table-v72.pick-table-v103 > thead > tr > th.pick-heading-date-v120 {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  #root#root .pick-heading-date-layout-v158 {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 4px;
    width: 100%;
    min-width: 0;
  }
  #root#root .pick-heading-date-layout-v158 > span {
    display: block;
    min-width: 0;
    text-align: center;
  }
  #root#root .pick-heading-select-v158 {
    font-size: 10px !important;
    letter-spacing: .08em !important;
  }
}

/* All eight result tiles use one compact height, including captions below the value. */
#root#root .v95-statistics {
  align-items: stretch !important;
  grid-auto-rows: 104px !important;
}
#root#root .v95-stat,
#root#root .v95-stat:is(.review, .accuracy, .roi-v98) {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: stretch !important;
  box-sizing: border-box;
  height: 104px !important;
  min-height: 104px !important;
  padding: 12px 14px !important;
}
#root#root .v95-stat > strong {
  margin-top: 5px !important;
}
#root#root .v95-stat > span {
  margin-top: 4px !important;
}

/* The manual and automatic analysis cards keep the same content with less empty height. */
#root#root .analysis-settings-card-v133 {
  gap: 16px !important;
  padding: 18px !important;
}
#root#root .analysis-settings-heading-v133 {
  min-height: 40px !important;
}
#root#root .analysis-model-stats-v133 > div {
  gap: 4px !important;
}
#root#root .analysis-range-v133 {
  gap: 13px !important;
  padding-top: 14px !important;
  margin-top: 0 !important;
}
#root#root .analysis-launch-v133 {
  min-height: 22px !important;
}
#root#root .analysis-range-v133 .schedule-fields-v130 {
  gap: 12px !important;
}
#root#root .analysis-range-v133 .schedule-preview-v130 {
  gap: 4px !important;
  padding-top: 12px !important;
}
#root#root .analysis-range-v133 .schedule-preview-v130 > strong {
  min-height: 0 !important;
}

/* Match the quiet OpenAI pricing-note typography and inline layout. */
#root#root .api-account-v122 > .api-account-footer-v122 {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: flex-start !important;
  align-items: baseline;
  gap: 4px !important;
  margin-top: 12px !important;
  padding: 4px 2px !important;
  color: #8fa2b9 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}
#root#root .api-account-v122 > .api-account-footer-v122 strong {
  color: #a8b8ca !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}

@media (max-width: 760px) {
  #root#root .v95-statistics {
    grid-auto-rows: 112px !important;
  }
  #root#root .v95-stat,
  #root#root .v95-stat:is(.review, .accuracy, .roi-v98) {
    height: 112px !important;
    min-height: 112px !important;
    padding: 11px !important;
  }
  #root#root .analysis-settings-card-v133 {
    gap: 14px !important;
    padding: 16px !important;
  }
  #root#root .analysis-range-v133 {
    gap: 12px !important;
    padding-top: 12px !important;
  }
}
