/* Compact home controls; sizing of all action links follows the existing feed tabs. */
.home-active-channel { margin:0 0 12px; color:var(--muted); font-size:.9rem; }
.home-personal-feed-tabs.personal-feed-tabs { gap:12px; margin:0 0 20px; }
.home-filter-panel.filter-panel { margin-bottom:12px; }
.home-personal-feed-tabs .home-feed-tab-links { display:flex; align-items:center; gap:8px; flex:0 0 auto; }
.home-personal-feed-tabs .home-feed-hint { flex:1 1 160px; min-width:0; width:auto; margin-left:0; }
.home-personal-feed-tabs .home-source-select { margin-left:auto; flex:0 0 auto; white-space:nowrap; }
.home-guest-feed-actions { justify-content:flex-end; }
.home-filter-panel .home-filter-footer { width:100%; gap:12px; justify-content:space-between; flex-wrap:nowrap; }
.home-filter-panel .home-filter-footer .filter-check { flex:0 0 auto; }
.home-filter-calendar { margin:0 0 12px; min-width:0; max-width:100%; color:var(--muted); font-size:.8rem; line-height:1.5; }
.home-filter-calendar .home-nameday-link { overflow-wrap:anywhere; }
@media(max-width:640px) {
    .home-personal-feed-tabs .home-feed-tab-links { flex-basis:100%; }
    .home-personal-feed-tabs .home-feed-hint { flex:1 1 100%; }
    .home-filter-panel .home-filter-footer { flex-wrap:wrap; }
}

/* Keep the headline/link visible; collapse only the radar results. */
.home-radar-collapsible .home-intelligence-head { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:16px; margin-bottom:0; }
.home-radar-collapsible .home-radar-actions { display:flex; align-items:center; gap:12px; }
.home-radar-collapsible .home-intelligence-grid { margin-top:13px; }
#home-radar-content[hidden] { display:none; }
.home-radar-collapsible .home-radar-toggle { display:grid; place-items:center; flex:0 0 auto; width:40px; height:40px; padding:0; border:1px solid var(--border); border-radius:10px; background:var(--surface); color:var(--text); cursor:pointer; }
.home-radar-toggle svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.home-radar-toggle[aria-expanded="true"] svg { transform:rotate(180deg); }
.home-radar-collapsible .home-radar-toggle:hover { background:var(--surface-soft); border-color:var(--accent); }
.home-radar-collapsible .home-radar-toggle:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
@media(max-width:650px) {
    .home-radar-collapsible .home-intelligence-head { grid-template-columns:auto minmax(0,1fr); gap:10px 12px; }
    .home-radar-collapsible .home-radar-actions { grid-column:2; justify-content:flex-start; }
    .home-radar-collapsible .home-radar-toggle { align-self:start; }
}
