/* /public/consensus and /adviser/focusfiveconsensus (uses the theme tokens of theme.css) */
.cs-tabs { margin: 4px 0 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cs-tabs .tw-seg { flex-wrap: wrap; }
.cs-pane { display: none; }
.cs-pane.on { display: block; }
.cs-lede { color: var(--ink2); margin: 0 0 12px; max-width: 900px; }
.cs-note { color: var(--muted); font-size: 12px; margin: 10px 0 0; max-width: 900px; }
.cs-table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.cs-table th { color: var(--ink2); font-weight: 600; text-align: right; padding: 7px 8px; border-bottom: 1px solid var(--grid);
    white-space: nowrap; cursor: pointer; user-select: none; position: sticky; top: 0; background: var(--surface); }
.cs-table th.l, .cs-table td.l { text-align: left; }
.cs-table th .ar { color: var(--muted); font-size: 10px; margin-left: 3px; }
.cs-table td { text-align: right; padding: 6px 8px; border-bottom: 1px solid var(--grid); white-space: nowrap; color: var(--ink); }
.cs-table tr:hover td { background: var(--hover); }
.cs-table tr.grp td { background: var(--surface2); color: var(--ink2); font-weight: 600; text-align: left; }
.cs-table td a { color: var(--accent-ink); }
.cs-table .sub { color: var(--muted); font-size: 11px; }
.cs-table .rk { color: var(--muted); }
.cs-wrap { overflow-x: auto; max-height: 72vh; }
.cs-bar { display: inline-flex; height: 8px; width: 90px; border-radius: 4px; overflow: hidden; background: var(--chip); vertical-align: middle; }
.cs-bar i { display: block; height: 100%; }
.cs-bar .u { background: var(--pos); }
.cs-bar .d { background: var(--neg); }
.cs-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 14px; }
.cs-two h3, .tw-card h3.cs-h { font-size: 15px; margin: 0 0 8px; color: var(--ink); }
.cs-ranges { display: inline-flex; }
.cs-tag { display: inline-block; font-size: 11px; padding: 1px 6px; border-radius: 6px; background: var(--chip); color: var(--ink2); margin-left: 4px; }
@media (max-width: 640px) {
    .cs-two { grid-template-columns: 1fr; }
    .cs-table { font-size: 12px; }
}
.cs-defs { margin: 0 0 12px; font-size: 13px; color: var(--ink2); }
.cs-defs summary { cursor: pointer; color: var(--muted); }
.cs-defs ul { margin: 6px 0 0; padding-left: 18px; max-width: 900px; }
.cs-pick { color: inherit; text-decoration: none; }
.cs-pick:hover { text-decoration: underline; }

/* idea tables, as on the weekly dashboard */
.cs-filters { display: flex; gap: 14px; align-items: center; margin: 0 0 8px; font-size: 13px; }
.cs-filters label { font-weight: 400; margin: 0; display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.cs-tk { font-weight: 700; color: var(--ink); text-decoration: none; }
.cs-tk:hover { text-decoration: underline; }
.cs-badge { display: inline-block; font-size: 10px; line-height: 1; padding: 2px 5px; border: 1px solid var(--line, rgba(128,128,128,.4)); border-radius: 4px; color: var(--muted); vertical-align: 1px; }
.cs-meter { display: inline-block; width: 34px; height: 5px; border-radius: 3px; background: var(--chip); margin-right: 6px; vertical-align: middle; overflow: hidden; }
.cs-meter i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.cs-ind { display: inline-block; min-width: 110px; max-width: 160px; white-space: normal; }
.cs-drv { display: inline-block; min-width: 170px; max-width: 220px; white-space: normal; }
.cs-note-top { margin: 0 0 8px; }
.cs-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 18px 22px; }
.cs-h4 { font-size: 14px; font-weight: 600; margin: 0 0 4px; color: var(--ink); }
@media (max-width: 640px) { .cs-grid2 { grid-template-columns: 1fr; } }
