/* Shared company opportunity list: homepage and full evidence view. */
.home-stock-screening .home-section-head { margin: 0; align-items: center; gap: var(--space-2); }
.home-stock-screening h2 { white-space: nowrap; }
#homeStockScreeningList[aria-busy="true"]:empty { min-block-size: 22rem; }
.home-stock-screening .home-screening-all { display: inline-flex; align-items: center; gap: 4px; padding: 0; min-height: var(--touch-target); color: var(--color-accent); font-size: .8125rem; text-decoration: none; white-space: nowrap; }
#homeStockScreeningStatus { margin: 0 0 var(--space-2); color: var(--color-text-muted); font-size: .75rem; line-height: 1.5; }
#homeStockScreeningStatus.growth-discovery-warning { color: var(--color-attention); }
.home-screening-list { list-style: none; margin: 0; padding: 0; }
.home-screening-list > li + li { border-top: 1px solid var(--color-border); }
.home-screening-stock { display: grid; gap: var(--space-1); padding: var(--space-3) 0; color: var(--color-text); text-decoration: none; }
.home-screening-list > li:last-child .home-screening-stock { padding-bottom: 0; }
.home-screening-title { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: baseline; gap: 6px; min-width: 0; font-size: .875rem; line-height: 1.5; white-space: nowrap; }
.home-screening-title > strong { color: var(--color-accent); font-weight: 650; }
.home-screening-industry { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--color-text-muted); font-size: .75rem; }
.home-screening-score { color: var(--color-text-muted); font-size: .6875rem; }
.home-screening-score b { color: var(--color-text); font-size: .875rem; font-weight: 650; }
.home-screening-arrow { color: var(--color-text-muted); }
.home-screening-metrics { display: flex; flex-wrap: wrap; gap: 2px var(--space-3); color: var(--color-text-muted); font-size: .8125rem; line-height: 1.5; }
.home-screening-metrics > span { white-space: nowrap; }
.home-screening-metrics b { color: var(--color-text); font-weight: 500; }
.home-screening-risk { margin: 0; color: var(--color-text-muted); font-size: .8125rem; line-height: 1.5; overflow-wrap: anywhere; }
.home-screening-risk > span { color: var(--color-attention); }
.home-screening-empty,
.home-stock-screening .growth-discovery-empty { margin: var(--space-2) 0; font-size: .8125rem; color: var(--color-text-muted); }
.home-stock-screening [data-growth-retry] { min-height: var(--touch-target); padding: .5rem .75rem; font: inherit; font-size: .875rem; color: var(--color-accent); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-control); cursor: pointer; touch-action: manipulation; }
.home-stock-screening [data-growth-retry]:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.home-screening-all:focus-visible,
.home-screening-stock:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-control);
}
.opportunity-list > li { position: relative; min-width: 0; padding: 12px 0; }
.opportunity-list > li:first-child { padding-top: 4px; }
.opportunity-list > li:last-child { padding-bottom: 0; }
.opportunity-list .home-screening-stock { padding: 0; }
.opportunity-state { padding: 2px 5px; border-radius: 4px; background: var(--color-surface-muted, #eeefed); color: var(--color-text-muted); font-size: .6875rem; font-weight: 500; }
.opportunity-state.ready { color: var(--color-positive); background: var(--color-accent-soft); }
.opportunity-list :is(.opportunity-reason, .opportunity-next) { margin: 0; font-size: .8125rem; line-height: 1.5; overflow-wrap: anywhere; }
.opportunity-reason { color: var(--color-text); }
.opportunity-scores { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 12px; font-size: .8125rem; line-height: 1.5; }
.opportunity-scores > span { white-space: nowrap; }
.opportunity-scores b { font-size: .9375rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.opportunity-scores small { font-size: .75rem; font-weight: 400; color: var(--color-text-muted); }
.opportunity-score-note { color: var(--color-text-muted); font-size: .75rem; }
.opportunity-next { color: var(--color-text-muted); }
.opportunity-next > span { color: var(--color-text); }
.home-screening-followup { font-size: .8125rem; line-height: 1.5; color: var(--color-text-muted); }
.home-screening-followup summary { display: flex; align-items: center; min-height: var(--touch-target); cursor: pointer; color: var(--color-accent); }
.home-screening-followup-label { margin-left: auto; }
.home-screening-followup summary::after { content: '›'; margin-left: .375rem; }
.home-screening-followup[open] summary::after { content: '⌄'; }
.home-screening-followup summary:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.home-screening-followup p { margin: 0 0 .5rem; overflow-wrap: anywhere; }
.opportunity-sectors { display: flex; flex-wrap: wrap; gap: 0 12px; margin-top: 4px; }
.opportunity-sectors a { display: inline-flex; align-items: center; min-height: var(--touch-target); color: var(--color-accent); font-size: .75rem; }
.opportunity-directions { display: flex; align-items: center; flex-wrap: wrap; gap: 0 12px; margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--color-border); font-size: .75rem; }
.opportunity-directions > span { color: var(--color-text-muted); }
.opportunity-directions a { display: flex; flex: 1 1 100%; flex-wrap: wrap; align-items: center; gap: 2px 8px; min-height: var(--touch-target); color: var(--color-accent); text-decoration: none; }
.opportunity-directions small { color: var(--color-text-muted); font-size: inherit; overflow-wrap: anywhere; }
.opportunity-directions .opportunity-direction { display: grid; gap: 4px; padding: 12px 0; }
.opportunity-direction + .opportunity-direction { border-top: 1px solid var(--color-border); }
.opportunity-direction-title { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.opportunity-direction-title strong { font-size: .875rem; font-weight: 600; }
.opportunity-direction-title > span { flex-shrink: 0; color: var(--color-text-muted); }
.opportunity-direction-focus { color: var(--color-text); font-size: .8125rem; font-weight: 550; }
.opportunity-directions .opportunity-direction-risk { color: var(--color-attention); }
.opportunity-directions a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.opportunity-meta, .opportunity-coverage-summary { margin: 4px 0; color: var(--color-text-muted); font-size: .75rem; line-height: 1.5; overflow-wrap: anywhere; }
.growth-discovery-page .opportunity-list { padding: 12px 16px; border-radius: var(--radius-card); background: var(--color-surface); border: 1px solid var(--color-border); }
.opportunity-list .growth-recommendation-evidence { margin: 4px 0 0; }
.opportunity-list .growth-recommendation-evidence > summary { position: static; width: auto; justify-content: flex-start; min-height: var(--touch-target); font-size: .8125rem; }
.opportunity-list .growth-discovery-evidence { color: var(--color-text-muted); font-size: .8125rem; line-height: 1.6; }
.opportunity-coverage { margin: 12px 0; font-size: .8125rem; color: var(--color-text-muted); line-height: 1.6; }
.opportunity-coverage summary { display: flex; align-items: center; min-height: var(--touch-target); cursor: pointer; }
.opportunity-coverage p { margin: 4px 0; }
/* M225 portfolio-gap candidates */
.portfolio-gap-list > li.portfolio-gap { padding: var(--space-2) 0; }
.portfolio-gap-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-2); margin: 0; font-size: .8125rem; }
.portfolio-gap-head > b { color: var(--color-text); font-weight: 650; }
.portfolio-gap-head > span { color: var(--color-text-muted); font-size: .75rem; white-space: nowrap; }
.portfolio-gap[data-status="FILLED"] .portfolio-gap-head > span { color: var(--color-positive, var(--color-text-muted)); }
.portfolio-gap .home-screening-stock { padding: var(--space-1) 0 0; }
.portfolio-gap-note { margin: var(--space-2) 0 0; color: var(--color-text-muted); font-size: .75rem; line-height: 1.5; }
.portfolio-gaps { margin-bottom: var(--space-4); }
.portfolio-gap-section { padding: var(--space-3) 0; border-top: 1px solid var(--color-border); }
.portfolio-gap-section h3 { margin: 0; font-size: .9375rem; }
.portfolio-gap-section h3 small { margin-left: 6px; color: var(--color-text-muted); font-size: .75rem; font-weight: 400; }
.portfolio-gap-why { margin: 4px 0 0; color: var(--color-text-muted); font-size: .8125rem; line-height: 1.5; }
.portfolio-gaps-other { font-size: 1rem; margin: var(--space-4) 0 var(--space-2); }
/* M246 portfolio-fit flags and coverage warning */
.opportunity-fit { margin: 2px 0 0; font-size: .8125rem; line-height: 1.5; color: var(--color-attention); }
.opportunity-fit > span { display: inline-block; margin-right: 4px; color: var(--color-text-muted); }
.opportunity-fit-detail { margin: 2px 0 0; font-size: .75rem; line-height: 1.5; color: var(--color-text-muted); }
.opportunity-coverage-warning { color: var(--color-attention); font-size: .75rem; line-height: 1.5; margin: 4px 0 0; }
