/* Home: a compact market overview that opens into the existing quote board. */
.research-home [hidden]{display:none!important}
.research-home .home-header{height:auto;min-height:72px;margin:0;gap:26px;flex-direction:row;flex-wrap:wrap;padding:18px 0}
.research-home .home-header nav{display:flex;align-items:center;flex-wrap:wrap;gap:12px 22px}
.research-home .home-header nav a{color:var(--muted);font-size:12px;line-height:1.7;text-decoration:none;white-space:nowrap}
.research-home .home-header nav a[aria-current]{color:var(--text);text-decoration:underline;text-decoration-color:var(--insight-accent);text-underline-offset:7px}
.research-home .home-header nav a:hover{color:var(--text)}
.research-home .home-header .mark{color:var(--text);text-decoration:none}
.research-home .market-intro{display:block;margin:26px 0 28px}
.research-home .market-intro h1{font-size:32px;line-height:1.45;margin:0 0 8px}
.research-home .market-intro p{font-size:14px;line-height:1.8;max-width:none;margin:0}
.home-market-heading,.home-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}
.home-market-heading{border-top:1px solid var(--line);padding-top:22px;margin-bottom:16px}
.home-market-heading h2,.home-section-heading h2{font-size:18px;line-height:1.5;font-weight:600;letter-spacing:0;margin:0}
.home-market-meta{font-size:11px;color:var(--muted);margin:4px 0 0;line-height:1.8}
.home-market-meta b{font-weight:400;font-family:var(--mono)}
.home-market-actions{display:flex;align-items:center;gap:20px;font-size:12px;white-space:nowrap}
.home-market-actions a,.home-section-heading>a{color:var(--muted);text-decoration:none;font-size:12px}
.home-market-actions button,.home-detail-controls button{appearance:none;border:0;background:none;padding:8px 0;color:var(--insight-accent);font:inherit;cursor:pointer}
.home-market-actions a:hover,.home-section-heading>a:hover{text-decoration:underline}
.market-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.market-summary{appearance:none;display:block;min-width:0;width:100%;padding:18px;text-align:left;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:8px;font:inherit;cursor:pointer}
.market-summary:hover,.market-summary[aria-expanded="true"]{border-color:#80745c;background:#19191b}
.market-summary:focus-visible,.home-market-actions button:focus-visible,.home-detail-controls button:focus-visible{outline:2px solid var(--insight-accent);outline-offset:4px}
.summary-heading{display:block;font-size:14px;font-weight:600;line-height:1.6;min-height:24px;margin-bottom:14px}
.summary-quotes{display:block}
.summary-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 9px;align-items:baseline;padding:9px 0;border-top:1px solid var(--line)}
.summary-name{font-size:12px;line-height:1.5;overflow-wrap:anywhere;color:#c9c9d1}
.summary-price{grid-column:1;font:14px/1.5 var(--mono);font-variant-numeric:tabular-nums;color:var(--text)}
.summary-change{grid-column:2;grid-row:1 / span 2;font:11px/1.6 var(--mono);align-self:center;font-variant-numeric:tabular-nums}
.summary-change.up{color:var(--up)}.summary-change.down{color:var(--down)}
.summary-cache{font-size:9px;color:#c9a23f;margin-left:5px;font-weight:400}
.summary-footer{display:block;font-size:11px;color:var(--muted);border-top:1px solid var(--line);padding-top:12px;margin-top:5px}
.home-overview-note{font-size:11px;line-height:1.8;color:var(--muted);margin:12px 0 0}
.home-overview-note a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.home-detail-controls{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:18px 0 4px;margin-top:20px;font-size:12px;scroll-margin-top:18px}
.home-detail-controls h3{font-size:15px;font-weight:500;line-height:1.7;margin:0}
.home-detail-controls h3:focus{outline:none}
.research-home #board{padding-top:12px;scroll-margin-top:100px}
.research-home #board[data-market-view]:not([data-market-view="all"]) .group-head{display:none}
.research-home #board .group{margin-bottom:22px}
.home-section-heading{border-top:1px solid var(--line);padding-top:28px;margin-top:28px;scroll-margin-top:22px}
.research-home .home-section-heading + .research-feature{border-top:0;padding-top:20px}
.research-home .research-feature-copy h3{font-family:var(--insight-serif);font-size:29px;font-weight:600;line-height:1.5;letter-spacing:0;margin:0 0 15px;text-wrap:balance;overflow-wrap:anywhere}
.research-home .research-feature-copy h3 a{color:var(--text);text-decoration:none}
.research-home .research-feature-copy h3 a:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.research-home .research-feature-copy time{margin:0 0 10px}
.research-home .research-recent{margin-top:8px;padding-top:22px}
.research-home .market-context{margin-top:30px}
@media(max-width:1000px){
 .research-home .home-header{gap:13px}
 .research-home .home-header nav{gap:10px 20px}
 .market-overview{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
 .research-home .home-header{display:block;min-height:0;padding:17px 0 15px}
 .research-home .home-header nav{margin-top:13px;gap:9px 18px}
 .research-home .home-header nav a{font-size:11px}
 .research-home .market-intro{margin:22px 0}
 .research-home .market-intro h1{font-size:25px;line-height:1.5;margin-bottom:9px;text-wrap:balance}
 .research-home .market-intro p{font-size:12px;line-height:1.9}
 .home-market-heading{align-items:start;gap:12px;padding-top:18px;margin-bottom:13px}
 .home-market-heading h2,.home-section-heading h2{font-size:17px}
 .home-market-actions{gap:12px;font-size:11px;flex-wrap:wrap;justify-content:flex-end;max-width:145px}
 .home-market-actions a{font-size:11px}
 .market-overview{gap:10px}
 .market-summary{padding:13px;border-radius:7px}
 .summary-heading{font-size:13px;line-height:1.5;min-height:20px;margin-bottom:7px}
 .summary-row{gap:2px 5px;padding:7px 0}
 .summary-row:nth-child(n+3){display:none}
 .summary-name{font-size:11px;line-height:1.5}
 .summary-price{font-size:12px}
 .summary-change{font-size:10px}
 .summary-footer{font-size:10px;padding-top:9px;margin-top:3px}
 .home-overview-note{font-size:10px;margin-top:10px}
 .home-detail-controls{align-items:start;gap:15px;margin-top:15px;padding-top:16px}
 .home-detail-controls h3{font-size:13px}
 .home-detail-controls button{white-space:nowrap;min-height:44px;padding:0}
 .home-section-heading{margin-top:22px;padding-top:23px}
 .research-home .research-feature-copy h3{font-size:25px;line-height:1.5}
}
@media(max-width:360px){
 .market-summary{padding:10px}
 .summary-price{font-size:12px}
}
@media(prefers-reduced-motion:reduce){.research-home .tile{animation:none}}
