/* Research desk: generous type, restrained rules, and a clear reading order. */
.research-page { max-width: 1440px; margin: 0 auto; color: #203d34; font-size: 16px; line-height: 1.55; }
.research-title { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 18px 0 30px; border-bottom: 3px solid #234a3e; }
.research-title h1 { font: 500 clamp(30px,3vw,38px)/1.06 var(--clrt-font-editorial); letter-spacing: -.025em; margin: 9px 0 0; }
.research-page .eyebrow { color: #766549; font-size: 13px; font-weight: 700; letter-spacing: .1em; margin: 0; }
.research-page .button { font-size: 15px; min-height: 46px; padding: 12px 18px; }
.research-statline { display: flex; flex-wrap: wrap; gap: 12px 30px; padding: 20px 0 26px; color: #63716a; font-size: 14px; }
.research-statline strong { color: #234a3e; font-size: 24px; font-weight: 600; margin-right: 5px; }
.research-surface { background: #fffefa; border: 1px solid #d8ddd5; border-radius: 4px; overflow: hidden; }
.research-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 25px 28px 17px; }
.research-section-head h2 { font: 500 24px/1.2 var(--clrt-font-editorial); margin: 0; }
.research-section-head p,.research-section-head > span { color: #647269; font-size: 14px; margin: 0; }
.movers-controls { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding: 5px 28px 24px; }
.segmented { display: inline-flex; gap: 3px; background: #f0f1eb; border: 1px solid #dce0d5; padding: 4px; border-radius: 5px; }
.segmented a { color: #52635a; font-size: 15px; font-weight: 600; padding: 8px 19px; text-decoration: none; border-radius: 3px; }
.segmented a[aria-current] { background: #244d3e; color: white; }
.segmented a:hover { box-shadow: inset 0 0 0 1px #a4b4a5; }
.research-table-wrap { overflow-x: auto; }
.research-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; text-align: left; }
.research-table th { background: #eef1e9; border-block: 1px solid #dce1d7; padding: 13px 22px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: #59695d; white-space: nowrap; }
.research-table td { padding: 12px 22px; border-bottom: 1px solid #e5e7df; vertical-align: middle; }
.research-table tbody tr:hover { background: #f6f7ef; }
.research-table tr:last-child td { border-bottom: 0; }
.research-table small { display: block; font-size: 13px; color: #67756a; margin-top: 5px; font-weight: 400; }
.research-table .company-name { color: #214737; font-weight: 650; font-size: 15px; text-decoration: none; }
.research-table .company-name:hover { text-decoration: underline; text-underline-offset: 4px; }
.research-table .numeric { text-align: right; font-variant-numeric: tabular-nums; }
.research-table .return { color: #2b654c; font-size: 18px; font-weight: 600; white-space: nowrap; }
.research-table .negative { color: #9a493c; }
.sparkline { width: 150px; height: 42px; display: block; color: #477257; }
.sparkline polyline { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.sparkline-fill { fill: currentColor; opacity: .13; stroke: none; }
.movers-expand { padding: 12px 22px; border-top: 1px solid #e1e5db; font-size: 14px; }
.movers-expand a { color: #345441; font-weight: 600; text-decoration: none; }
.movers-page .research-title { padding: 0 0 16px; }
.movers-page .research-title h1 { font-size: 30px; }
.movers-page .research-statline { padding: 12px 0 16px; font-size: 12px; gap: 10px 22px; }
.movers-page .research-statline strong { font-size: 18px; }
.movers-page .research-section-head { padding: 15px 20px 10px; }
.movers-page .research-section-head h2 { font-size: 22px; }
.movers-page .movers-controls { padding: 0 20px 14px; }
.movers-page .segmented a { font-size: 13px; padding: 6px 13px; }
.movers-page .universe-picker select { padding-block: 8px; }
.movers-page .research-table { font-size: 13px; }
.movers-page .research-table th { padding: 9px 20px; font-size: 11px; }
.movers-page .research-table td { padding: 9px 20px; }
.movers-page .research-table .company-name { font-size: 14px; }
.movers-page .research-table small { font-size: 11px; margin-top: 2px; }
.movers-page .research-table .return { font-size: 16px; }
.movers-page .sparkline { width: 120px; height: 30px; }
.movers-page .research-surface > .research-method { font-size: 12px; padding: 10px 20px; }
.movers-page .movers-expand { padding: 10px 20px; font-size: 13px; }
.universe-picker { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.universe-picker select { font: inherit; font-size: 14px; padding: 10px 25px 10px 10px; border: 1px solid #c8d2c2; background: #fffefa; border-radius: 4px; }
.research-digest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 26px 0; }
.research-digest-grid .home-digest-tile { min-width: 0; }
.research-digest-grid .home-digest-topics p { font-size: 14px; line-height: 1.55; }
.research-digest-grid .home-tile-header h2 { font: 500 24px var(--clrt-font-editorial); }
@media(max-width: 850px) { .research-digest-grid { grid-template-columns: 1fr; } }
.research-method { color: #5d6c62; font-size: 15px; line-height: 1.6; margin-top: 24px; }
.research-surface > .research-method { margin: 0; padding: 17px 28px; border-top: 1px solid #dce1d7; background: #f6f6ef; }
.research-method summary { cursor: pointer; color: #345343; font-weight: 600; }
.research-method p { max-width: 1000px; }
.thesis-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; margin-top: 26px; border-bottom: 1px solid #cdd6cb; }
.thesis-tabs a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; text-decoration: none; color: #3f5949; border-bottom: 3px solid transparent; font-size: 20px; }
.thesis-tabs strong { font: 500 30px/1 var(--clrt-font-editorial); color: #64775e; }
.thesis-tabs a:hover { background: #edf0e6; }
.thesis-tabs a[aria-current] { border-bottom-color: #284d3b; background: #e5ecdf; color: #214331; }
.company-research-hub { display: block; container-type: inline-size; font: 400 14px/1.45 var(--clrt-font-ui); }
.company-research-hub .research-title { flex-wrap: wrap; align-items: center; gap: 10px; padding: 0 0 12px; border-bottom-width: 1px; }
.company-research-hub .research-title h1 { font: 600 28px/1.15 var(--clrt-font-ui); margin: 3px 0 0; }
.company-research-hub .eyebrow { font-size: 12px; }
.research-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.company-research-hub .button { min-height: 36px; padding: 7px 12px; font-family: inherit; font-size: 14px; }
.research-thesis-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 18px; }
.research-thesis-filters a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border: 1px solid var(--clrt-border);
    border-radius: var(--clrt-radius-sm);
    background: var(--clrt-surface);
    color: var(--clrt-bottle-800);
    font-weight: 600;
    text-decoration: none;
}
.research-thesis-filters strong { font-variant-numeric: tabular-nums; }
.research-thesis-filters a:hover { background: #e6ecdf; }
.research-thesis-filters a[aria-current] { background: var(--clrt-bottle-800); border-color: var(--clrt-bottle-800); color: white; }
.research-highlights { margin: 0 0 16px; }
.research-highlights h2 { margin: 0; font: 600 20px/1.25 var(--clrt-font-ui); }
.research-opportunities-intro { margin: 3px 0 10px; color: var(--clrt-muted); }
.research-highlight-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--clrt-border); border: 1px solid var(--clrt-border); border-radius: var(--clrt-radius-sm); overflow: hidden; }
.research-highlights article { padding: 12px 14px; background: var(--clrt-surface); overflow-wrap: anywhere; }
.research-highlights article:only-child { grid-column: 1 / -1; }
.research-highlights h3 { margin: 0; font: 600 16px/1.3 var(--clrt-font-ui); }
.research-highlights h3 a { display: inline-flex; align-items: center; gap: 7px; color: var(--clrt-bottle-800); text-decoration: none; }
.research-category-count { padding: 1px 6px; border-radius: 4px; background: #e6ecdf; font-size: 13px; font-variant-numeric: tabular-nums; }
.research-category-meta, .research-filter-count { display: block; margin-top: 3px; color: var(--clrt-muted); font-size: 13px; }
.research-category-detail { margin-top: 9px; }
.research-category-detail p { margin: 3px 0 0; color: #48594e; }
.research-company-link, .company-research-hub .research-pagination a { color: var(--clrt-bottle-700); font-weight: 600; text-decoration: none; }
.company-research-hub :is(.research-company-link, .company-name)::after { content: ""; display: inline-block; width: .42em; height: .42em; margin-left: .4em; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: translateY(-.12em) rotate(45deg); }
.company-research-hub :is(.research-highlights a, .company-name, .research-pagination a):hover { background: #e6ecdf; text-decoration: none; }
.company-research-hub a:focus-visible { outline: 2px solid var(--clrt-bottle-700); outline-offset: 2px; }
.company-research-hub .research-table :is(th, td) { padding: 8px 14px; }
.company-research-hub .research-table small { margin-top: 2px; }
.company-research-hub .research-table-caption { margin: 6px 14px 10px; }
.company-research-hub .research-method { overflow-x: auto; }
@container (max-width: 64rem) { .research-highlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (max-width: 34rem) { .research-highlight-grid { grid-template-columns: 1fr; } }
.research-tag,.research-date { font-size: 13px; color: #6c725b; }
.research-filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; padding: 12px 14px 4px; }
.research-filters label { flex: 1 1 140px; display: grid; gap: 3px; font-size: 13px; font-weight: 600; color: #586654; }
.research-filters label:first-of-type { flex: 2 1 190px; }
.research-filters input,.research-filters select { width: 100%; min-width: 0; padding: 5px 8px; height: 36px; border: 1px solid #bac8b9; border-radius: 3px; background: white; color: #314b38; font: 400 14px var(--clrt-font-ui); }
.research-table-caption { font-size: 13px; color: #697561; margin: 8px 24px 20px; }
.research-evidence { max-width: 360px; min-width: 230px; color: #53674f; }
.research-pagination { display: flex; justify-content: space-between; padding: 20px 24px; border-top: 1px solid #d7ddcf; font-size: 15px; }
.research-pagination a { color: #284b35; }
.research-back { display: inline-block; color: #36573d; padding: 0 0 8px; font-size: 15px; }
.research-company-description { max-width: 1040px; font-size: 17px; line-height: 1.7; color: #526052; margin: 8px 0 24px; }
.company-primary-chart { margin-bottom: 24px; }
.research-price-chart { height: 330px; padding: 8px 25px 18px; }
.research-case-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid #dce0d4; padding-top: 18px; margin-top: 18px; }
.company-analysis-page { font-size: 16px; }
.company-analysis-page .workbench-hero h1 { font-size: clamp(30px,3vw,38px); }
.company-analysis-page .company-metric-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; }
.company-analysis-page .company-metric-grid > div { padding: 17px; border-bottom: 1px solid #dce0d4; }
.company-analysis-page .company-metric-grid strong { font-size: 24px; }
.company-analysis-page .company-metric-grid span,.company-analysis-page .company-lens-grid small { font-size: 14px; }
.company-case-nav a { font-size: 15px; padding: 12px 18px; }
.company-analysis-page .company-data-line { font-size: 13px; }
.company-analysis-page .company-thesis-brief p { font-size: 16px; }
.research-quote { color: #284d37; font-size: 26px; font-variant-numeric: tabular-nums; }
.research-mobile-sector { display: none; }
.company-overview-grid-page .research-title { padding: 6px 0 20px; }
.company-overview-grid-page .research-title h1 { font-size: 36px; }
.company-overview-grid-page .research-company-description { font-size: 14px; line-height: 1.6; margin: 15px 0 22px; }
.overview-four-tiles { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.overview-tile { min-width: 0; }
.overview-four-tiles > .overview-tile { height: 380px; display: flex; flex-direction: column; }
.overview-tile .research-section-head { flex-shrink: 0; }
.overview-tile > .overview-tile-body { min-height: 0; overflow-y: auto; overflow-wrap: anywhere; }
.overview-tile:first-child > .overview-tile-body { scrollbar-gutter: stable; }
.overview-four-tiles .research-case-columns { margin-top: 14px; padding-top: 12px; }
.overview-tile .research-section-head { padding: 19px 20px 15px; border-bottom: 1px solid #e3e6dd; }
.overview-tile .research-section-head h2 { font-size: 24px; }
.overview-tile .research-section-head small { display: block; text-align: right; font-size: 12px; }
.overview-tile .research-quote { font-size: 20px; }
.overview-tile-body { padding: 17px 20px 21px; font-size: 14px; line-height: 1.55; }
.overview-primary-thesis { font-size: 19px; font-weight: 600; margin-top: 0; }
.overview-primary-thesis small { color: #74806e; font-size: 12px; font-weight: 400; margin-left: 8px; }
.overview-tile .research-case-columns h3 { font-size: 14px; }
.overview-tile .research-case-columns p { font-size: 13px; }
.overview-tile .research-price-chart { height: 245px; padding: 12px 15px 5px; }
.overview-tile .research-table-caption { font-size: 12px; margin: 9px 20px 15px; }
.overview-valuation-stats { display: flex; flex-wrap: wrap; gap: 15px 30px; font-size: 12px; color: #67765e; }
.overview-valuation-stats strong { display: block; font-size: 21px; color: #2b4e39; margin-top: 4px; }
.overview-valuation-chart { height: 180px; margin-top: 16px; }
.overview-signal-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px 14px; }
.overview-signal-grid span { display: block; font-size: 12px; color: #64735c; }
.overview-signal-grid strong { display: block; font-size: 22px; margin-top: 5px; }
.overview-trend-detail { border-top: 1px solid #e3e6dd; padding-top: 14px; margin-top: 20px; }
.overview-trend-detail summary { cursor: pointer; }
.overview-saved-valuation { margin-top: 22px; }
.valuation-mode-links { display: flex; gap: 12px 24px; flex-wrap: wrap; margin-top: 18px; font-size: 14px; }
.valuation-mode-links a { color: #31563c; font-weight: 600; text-underline-offset: 3px; }
.valuation-mode-switch { display: flex; gap: 6px; margin: 0 0 22px; border-bottom: 1px solid #cbd5c4; }
.valuation-mode-switch a { padding: 12px 20px; color: #4d6045; text-decoration: none; font-size: 15px; }
.valuation-mode-switch a[aria-current] { background: #e7ecdf; border-bottom: 3px solid #2e5138; color: #26492f; font-weight: 600; }
.quick-assumptions-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 24px; }
.quick-assumptions-grid p { display: grid; gap: 7px; margin: 0 0 12px; }
.quick-assumptions-grid input,.quick-assumptions-grid select,.quick-assumptions-grid textarea { width: 100%; min-width: 0; font: inherit; padding: 10px; border: 1px solid #bdcbb7; border-radius: 3px; background: white; }
.quick-valuation-page .research-title { margin-bottom: 18px; }
.quick-current-figures { display: flex; flex-wrap: wrap; gap: 15px 35px; padding: 0 0 20px; font-size: 12px; color: #67765e; }
.quick-current-figures strong { display: block; color: #2b4e39; font-size: 20px; margin-top: 4px; }
.quick-current-figures p { width: 100%; margin: 0; }
.quick-suggestion-banner { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 15px 20px; background: #edf1e5; color: #3d5835; font-size: 13px; }
.quick-suggestion-banner span { flex: 1; min-width: 180px; }
.financial-review-table.has-scenario-editor { min-width: 1120px; }
.has-scenario-editor .scenario-growth-heading,.has-scenario-editor .financial-review-growth-cell { width: 174px; min-width: 174px; max-width: 174px; white-space: normal; overflow-wrap: anywhere; position: sticky; right: 0; background: #f3f6ed; border-left: 2px solid #b9c7af; z-index: 4; }
.has-scenario-editor .scenario-growth-heading { z-index: 5; }
.has-scenario-editor .financial-review-growth-cell > div { justify-content: center; }
.has-scenario-editor .financial-review-growth-cell .muted { display: block; font-size: 13px; line-height: 1.4; white-space: normal; }
.has-scenario-editor .financial-review-growth-input { width: 100%; min-width: 82px; max-width: 100px; }
@media(max-width: 700px) { .has-scenario-editor th:first-child { position: static; } }
@media(max-width: 600px) { .quick-assumptions-grid { grid-template-columns: 1fr; } .valuation-mode-switch small { display: block; font-size: 12px; } }
@media(max-width: 850px) { .overview-four-tiles { grid-template-columns: 1fr; } .company-overview-grid-page .research-title h1 { font-size: 30px; } }
.financial-review-page,.valuation-workbook-page { font-size: 16px; }
.financial-review-page .workbench-hero h1,.valuation-workbook-page .workbench-hero h1 { font: 500 34px/1.2 var(--clrt-font-editorial); }
.financial-review-table,.valuation-market-table { font-size: 15px; }
.financial-review-table th,.financial-review-table td,.valuation-market-table th,.valuation-market-table td { font-size: 15px; padding: 12px; }
.financial-review-table small,.valuation-scenario-tab small { font-size: 13px; }
.driver-policy-editor input,.driver-policy-editor select,.financial-review-growth-cell input { font-size: 16px; }
.research-driver-trends { margin-top: 25px; }
@media(max-width: 1100px) { .thesis-tabs a { padding-inline: 12px; font-size: 18px; } }
@media(max-width: 700px) {
 .research-title { align-items: start; flex-direction: column; gap: 18px; padding-top: 5px; }
 .research-title h1 { font-size: 32px; }
 .research-statline { gap: 8px 20px; }
 .research-section-head { padding: 20px 17px 14px; flex-wrap: wrap; gap: 7px; }
 .research-section-head h2 { font-size: 27px; }
 .movers-controls { padding: 5px 14px 20px; gap: 10px; }
 .segmented a { padding: 8px 13px; font-size: 14px; }
 .research-table th,.research-table td { padding: 14px 16px; }
 .movers-table td:first-child { min-width: 190px; }
 .movers-table td:nth-child(2) { min-width: 140px; }
 .movers-table .sparkline { width: 105px; }
 .movers-table tr { display: grid; grid-template-columns: minmax(0,1fr) 110px; padding: 10px 15px; border-bottom: 1px solid #e5e7df; }
 .movers-table thead tr { background: #eef1e9; }
 .movers-table td,.movers-table th { padding: 4px 0; border: 0; }
 .movers-table th:nth-child(2),.movers-table th:nth-child(3),.movers-table td:nth-child(2) { display: none; }
 .movers-table td:first-child { min-width: 0; grid-column: 1; grid-row: 1 / span 2; padding-right: 15px; }
 .movers-table td:nth-child(3) { grid-column: 2; grid-row: 2; justify-self: end; }
 .movers-table td:nth-child(4) { grid-column: 2; grid-row: 1; }
 .movers-table .sparkline { height: 30px; }
 .movers-page .research-table td,.movers-page .research-table th { padding: 2px 0; }
 .movers-page .movers-table tr { padding: 8px 14px; }
 .movers-page .movers-table td:first-child { padding-right: 12px; }
 .movers-page .movers-table .sparkline { width: 90px; height: 24px; }
 .research-mobile-sector { display: inline; }
 .research-table .company-name { font-size: 16px; }
 .thesis-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .thesis-tabs a { padding: 16px 12px; }
 .company-research-hub .research-title { align-items: flex-start; }
 .research-date { grid-column: 1; }
 .research-filters { padding: 18px 16px 10px; gap: 12px; }
 .research-case-columns { grid-template-columns: 1fr; gap: 10px; }
 .company-analysis-page .company-metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .research-price-chart { height: 260px; padding-inline: 10px; }
 .research-surface > .research-method { padding: 17px; }
}
