.reference-search-stage [hidden], .reference-search-sources [hidden] { display: none !important; }
.reference-search-sources .source-type-table th:first-child { width:34%; }
.reference-search-stage:has([data-search-stage-more][aria-expanded="true"]) { align-items:flex-start; }
.reference-search-stage .cjm14-reading p { font-size:16px; line-height:1.4; }
.reference-search-stage .cjm14-reading .market-reading-note { margin-top:10px; }
.reference-search-stage .search-channel-switch { margin-bottom:5px; }
@media (min-width:801px) {
 .reference-search-stage .cjm14-controls { margin-bottom:6px; }
 .reference-search-stage .cjm-matrix th:first-child { width:34%; }
 .reference-search-stage .cjm-matrix th, .reference-search-stage .cjm-matrix td { padding:3px 6px; }
 .reference-search-stage .stage-brand-label { padding:0; }
 .reference-search-stage .stage-brand-label .market-logo { width:20px; height:20px; }
 .reference-search-stage .stage-brand-label .market-logo img { width:19px; height:19px; }
 .reference-search-stage .cjm-matrix-value { padding:2px 3px; font-size:14px; font-weight:400; }
 .reference-search-stage [data-search-stage-matrix]:has([data-search-stage-metric="ai"][aria-pressed="true"]) .cjm-matrix-value { color:var(--blue); font-weight:700; }
}
@media screen and (min-width:801px) and (max-height:800px) {
 .reference-search-stage .cjm-matrix tbody th, .reference-search-stage .cjm-matrix tbody td { padding-top:2px; padding-bottom:2px; }
 .reference-search-stage .search-channel-switch { margin-bottom:4px; }
 .reference-search-sources .source-type-table th, .reference-search-sources .source-type-table td { padding-top:2px; padding-bottom:2px; }
}
@media (max-width:800px) { .reference-search-stage .cjm-matrix th:first-child { width:160px; } .reference-search-sources .source-type-table th:first-child { width:170px; } }
