/*
 * compare.css
 *   /compare/  /compare/{a}-vs-{b}/  /scatter/  /scatter/{industry}/
 * Version 1.2.0 (1.2.0: the scatter's custom-axes gate strip; 1.1.0: the stock pages' skin, KPI controls and colours)
 *
 * Only what bq-ownership's funds.css does not already have. Tokens are its
 * (--fd-*); the one new colour source is --c, the per-company series colour
 * set inline from bq_cmp_palette() so a ticker's chip, card rail, table
 * header and chart line are the same hue.
 */

/* ── Breadcrumbs ─────────────────────────────────────────────────────── */
.bq-fd .bq-cmp-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0 2px 10px;
    font-size: 12px;
    color: var(--fd-faint);
}
.bq-fd .bq-cmp-crumbs a { color: var(--fd-muted); text-decoration: none; }
.bq-fd .bq-cmp-crumbs a:hover { color: var(--fd-ink); text-decoration: underline; }
.bq-fd .bq-cmp-crumbs [aria-current] { color: var(--fd-ink); font-weight: 600; }

.bq-cmp .bq-identity-meta { flex-wrap: wrap; row-gap: 4px; }
.bq-cmp .bq-identity-meta .bq-identity-exchange { white-space: nowrap; }

/* ── Hero (index pages) ──────────────────────────────────────────────── */
.bq-fd .bq-cmp-hero { padding: 30px 30px 26px; }
.bq-fd .bq-cmp-h1 {
    margin: 4px 0 8px;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--fd-ink);
    letter-spacing: -.01em;
}
.bq-fd .bq-cmp-hero > .bq-fd-say { max-width: 760px; font-size: 14px; }
.bq-fd .bq-cmp-features {
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 22px;
}
.bq-fd .bq-cmp-features li { display: flex; flex-direction: column; gap: 2px; padding-left: 12px; border-left: 2px solid var(--fd-accent-soft); }
.bq-fd .bq-cmp-features strong { font-size: 12.5px; color: var(--fd-ink); }
.bq-fd .bq-cmp-features span { font-size: 11.5px; color: var(--fd-muted); }

/* ── Picker: chips + type-ahead ──────────────────────────────────────── */
.bq-fd .bq-cmp-picker {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    flex: 1 1 420px;
    min-width: 0;
}
.bq-fd .bq-cmp-chips {
    position: relative;
    flex: 1 1 320px;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 4px 6px;
    border: 1px solid var(--fd-line-mid);
    border-radius: 8px;
    background: #fff;
    box-sizing: border-box;
    cursor: text;
}
.bq-fd .bq-cmp-chips:focus-within { border-color: var(--fd-blue); box-shadow: 0 0 0 3px var(--fd-blue-soft); }
/* .bq-section is a flex column: a flex-basis meant as a width would be read
   as a height there. Anything in a section's own flow stays its natural size. */
.bq-fd .bq-section > .bq-cmp-picker,
.bq-fd .bq-section > * { flex: none; }
.bq-fd .bq-cmp-picker.is-hero { margin-top: 18px; max-width: 760px; }
.bq-fd .bq-cmp-picker.is-hero .bq-cmp-chips { min-height: 48px; }
.bq-fd .bq-cmp-picker.is-hero .bq-cmp-add { font-size: 15px; }
.bq-fd .bq-cmp-picker.is-hero .bq-cmp-go { height: 48px; padding: 0 22px; font-size: 13px; }

.bq-fd .bq-cmp-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 4px 0 9px;
    border-radius: 6px;
    background: var(--fd-tint-2);
    border: 1px solid var(--fd-line-mid);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
    color: var(--fd-ink);
    box-sizing: border-box;
}
.bq-fd .bq-cmp-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.bq-fd .bq-cmp-chip-x {
    appearance: none;
    border: 0;
    background: transparent;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    font-size: 15px;
    line-height: 1;
    color: var(--fd-faint);
    cursor: pointer;
    padding: 0;
}
.bq-fd .bq-cmp-chip-x:hover { background: #fff; color: var(--fd-red); }

.bq-fd .bq-cmp-addwrap { position: relative; flex: 1 1 160px; min-width: 120px; }
.bq-fd .bq-cmp-add {
    width: 100%;
    height: 30px;
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
    font-size: 13.5px;
    color: var(--fd-ink);
    padding: 0 4px;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}
.bq-fd .bq-cmp-add::-webkit-search-cancel-button { display: none; }
.bq-fd .bq-cmp-go { justify-content: center; height: 40px; padding: 0 18px; background: #fff; border-color: var(--fd-line-strong); color: var(--fd-ink); }
.bq-fd .bq-cmp-go:hover { background: var(--fd-tint-2); border-color: var(--fd-line-strong); color: var(--fd-ink); }
.bq-fd .bq-cmp-picker-note { flex: 1 1 100%; margin: 0; font-size: 11.5px; color: var(--fd-faint); }
.bq-fd .bq-cmp-picker-note kbd {
    font: inherit;
    font-size: 10.5px;
    font-weight: 700;
    padding: 0 4px;
    border: 1px solid var(--fd-line-mid);
    border-bottom-width: 2px;
    border-radius: 3px;
    background: #fff;
    color: var(--fd-muted);
}

.bq-fd .bq-cmp-suggest {
    position: absolute;
    left: -6px;
    top: calc(100% + 8px);
    z-index: 30;
    width: min(420px, calc(100vw - 40px));
    margin: 0;
    padding: 4px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--fd-line-mid);
    border-radius: 10px;
    box-shadow: 0 14px 36px rgba(22, 32, 43, .14);
    max-height: 360px;
    overflow-y: auto;
}
.bq-fd .bq-cmp-suggest[hidden] { display: none; }
.bq-fd .bq-cmp-suggest li {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 7px;
    cursor: pointer;
}
.bq-fd .bq-cmp-suggest li.is-active, .bq-fd .bq-cmp-suggest li:hover { background: var(--fd-tint-2); }
.bq-fd .bq-cmp-suggest b { font-size: 12.5px; font-weight: 800; color: var(--fd-ink); }
.bq-fd .bq-cmp-suggest span { font-size: 12.5px; color: var(--fd-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bq-fd .bq-cmp-suggest small { display: block; font-size: 10.5px; color: var(--fd-faint); }
.bq-fd .bq-cmp-suggest em { font-style: normal; font-size: 11px; color: var(--fd-faint); white-space: nowrap; }
.bq-fd .bq-cmp-suggest li.is-empty { display: block; color: var(--fd-faint); font-size: 12.5px; cursor: default; }

/* ── Comparison toolbar ──────────────────────────────────────────────── */
.bq-fd .bq-cmp-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px 18px;
    margin: 0 0 18px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--fd-line);
    border-radius: 10px;
}
.bq-fd .bq-cmp-bar .bq-cmp-picker-note { display: none; }
.bq-fd .bq-cmp-bar-side { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bq-fd .bq-cmp-level { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.bq-fd .bq-cmp-level > span,
.bq-fd .bq-cmp-field > span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .085em;
    text-transform: uppercase;
    color: var(--fd-faint);
    white-space: nowrap;
}
.bq-fd .bq-cmp-level select,
.bq-fd .bq-cmp-select select,
.bq-fd .bq-cmp-field select,
.bq-fd .bq-cmp-field input[type="number"] {
    height: 36px;
    padding: 0 30px 0 11px;
    border: 1px solid var(--fd-line-mid);
    border-radius: 8px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%236d7883' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 9px center / 13px;
    -webkit-appearance: none;
    appearance: none;
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--fd-ink);
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
}
.bq-fd .bq-cmp-field input[type="number"] { background-image: none; padding-right: 11px; cursor: text; width: 110px; }
.bq-fd .bq-cmp-level select:focus,
.bq-fd .bq-cmp-select select:focus,
.bq-fd .bq-cmp-field select:focus,
.bq-fd .bq-cmp-field input:focus { outline: 2px solid var(--fd-blue-soft); border-color: var(--fd-blue); }
.bq-fd .bq-fd-btn--ghost { height: 36px; box-sizing: border-box; }
.bq-fd .bq-fd-btn.is-done { color: var(--fd-green); border-color: var(--fd-green); background: var(--fd-green-soft); }
.bq-fd .bq-cmp-lockline { margin: -4px 0 18px; }
.bq-fd .bq-cmp-lockline .bq-fd-gate { border-radius: 10px; }

/* ── Company cards ───────────────────────────────────────────────────── */
.bq-fd .bq-cmp-cos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
    scroll-margin-top: 120px;
}
.bq-fd .bq-cmp-cos--1 { grid-template-columns: minmax(0, 420px); }
.bq-fd .bq-cmp-cos--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bq-fd .bq-cmp-cos--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bq-fd .bq-cmp-co {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 16px 14px;
    background: #fff;
    border: 1px solid var(--fd-line);
    border-radius: 10px;
    box-shadow: inset 0 3px 0 var(--c);
    min-width: 0;
}
.bq-fd .bq-cmp-co header { display: flex; flex-direction: column; gap: 3px; padding-right: 54px; }
.bq-fd .bq-cmp-co-name { text-decoration: none; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.bq-fd .bq-cmp-co-t { font-size: 18px; font-weight: 800; color: var(--fd-ink); letter-spacing: .01em; }
.bq-fd .bq-cmp-co-n { font-size: 12.5px; color: var(--fd-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bq-fd .bq-cmp-co-name:hover .bq-cmp-co-t { color: var(--c); }
.bq-fd .bq-cmp-co-note { font-size: 10.5px; color: var(--fd-faint); }
.bq-fd .bq-cmp-co-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.bq-fd .bq-cmp-co-price strong { font-size: 22px; font-weight: 800; color: var(--fd-ink); letter-spacing: -.01em; }
.bq-fd .bq-cmp-delta { font-size: 12px; font-weight: 700; color: var(--fd-muted); }
.bq-fd .bq-cmp-delta.is-up, .bq-fd .bq-cmp-table .is-up, .bq-fd .bq-cmp-table td.is-up { color: var(--fd-green); }
.bq-fd .bq-cmp-delta.is-down, .bq-fd .bq-cmp-table .is-down, .bq-fd .bq-cmp-table td.is-down { color: var(--fd-red); }
.bq-fd .bq-cmp-co-facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
.bq-fd .bq-cmp-co-facts div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.bq-fd .bq-cmp-co-facts dt { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fd-faint); }
.bq-fd .bq-cmp-co-facts dd { margin: 0; font-size: 13.5px; font-weight: 700; color: var(--fd-ink); }
.bq-fd .bq-cmp-co footer { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--fd-line); font-size: 11px; color: var(--fd-muted); }
.bq-fd .bq-cmp-co footer span + span::before { content: '·'; margin-right: 10px; color: var(--fd-faint); }
.bq-fd .bq-cmp-co-wins {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 2px 8px;
    border-radius: 20px;
    background: var(--fd-tint-2);
    font-size: 10.5px;
    font-weight: 800;
    color: var(--fd-text);
    white-space: nowrap;
}

/* ── Tables ──────────────────────────────────────────────────────────── */
/* funds.css sizes its tables for a 10-column holdings list (min 720px).
   A comparison is a label plus one column per company, so it sizes to that. */
.bq-fd .bq-fd-table.bq-cmp-table { min-width: 0; table-layout: auto; }
.bq-fd .bq-cmp-table thead th.bq-cmp-c-label,
.bq-fd .bq-cmp-table tbody th.bq-cmp-c-label {
    text-align: left;
    white-space: normal;
}
.bq-fd .bq-cmp-table tbody th.bq-cmp-c-label {
    padding: 7px 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--fd-ink);
    border-bottom: 1px solid var(--fd-line);
    min-width: 170px;
    position: sticky;
    left: 0;
    z-index: 1;
    background: #fff;
}
.bq-fd .bq-cmp-table tbody tr:hover th.bq-cmp-c-label { background: var(--fd-tint); }
.bq-fd .bq-cmp-table thead th.bq-cmp-c-label { position: sticky; left: 0; z-index: 3; }
.bq-fd .bq-cmp-table tbody tr:last-child th { border-bottom: 0; }
.bq-fd .bq-cmp-table th.bq-cmp-c-label a { color: var(--fd-ink); font-weight: 700; }
.bq-fd .bq-cmp-table th.bq-cmp-c-label small,
.bq-fd .bq-cmp-table td small {
    display: block;
    font-size: 10.5px;
    font-weight: 500;
    color: var(--fd-faint);
    margin-top: 1px;
    letter-spacing: 0;
    text-transform: none;
}
.bq-fd .bq-cmp-table th.bq-cmp-c-co { min-width: 92px; }
.bq-fd .bq-cmp-table th.bq-cmp-c-co a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--fd-ink);
    font-weight: 800;
    letter-spacing: .04em;
}
.bq-fd .bq-cmp-table th.bq-cmp-c-co a i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.bq-fd .bq-cmp-table td.is-best { font-weight: 800; color: var(--fd-ink); background: rgba(14, 133, 119, .06); }
.bq-fd .bq-cmp-table td.is-best.is-up { color: var(--fd-green); }
.bq-fd .bq-cmp-table td.is-best.is-down { color: var(--fd-red); }
.bq-fd .bq-cmp-table .bq-cmp-c-bench { color: var(--fd-faint); font-weight: 600; }
.bq-fd .bq-cmp-table thead th.bq-cmp-c-bench { color: var(--fd-faint); }
.bq-fd .bq-cmp-table .bq-cmp-c-win { text-align: center; width: 90px; }
.bq-fd .bq-cmp-tr-total th, .bq-fd .bq-cmp-tr-total td { border-top: 1px solid var(--fd-line-strong); }
.bq-fd .bq-cmp-table--tight tbody td,
.bq-fd .bq-cmp-table--tight tbody th.bq-cmp-c-label { padding-top: 6px; padding-bottom: 6px; }
.bq-fd .bq-cmp-bestkey { font-weight: 800; color: var(--fd-ink); }
.bq-fd .bq-metric-na { color: var(--fd-faint); font-weight: 600; }

.bq-fd .bq-cmp-verdict th.bq-cmp-c-label span { display: block; font-weight: 700; }
.bq-fd .bq-cmp-winner {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border-radius: 20px;
    background: var(--fd-tint-2);
    font-size: 11px;
    font-weight: 800;
    color: var(--fd-ink);
}
.bq-fd .bq-cmp-winner i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }

.bq-fd .bq-cmp-score { font-weight: 800; color: var(--fd-ink); }
.bq-fd .bq-cmp-pbar {
    display: block;
    width: 64px;
    height: 4px;
    margin: 4px 0 0 auto;
    border-radius: 2px;
    background: var(--fd-tint-2);
    overflow: hidden;
}
.bq-fd .bq-cmp-pbar i { display: block; height: 100%; border-radius: 2px; background: var(--fd-amber); }
.bq-fd .bq-cmp-pbar.is-hi i { background: var(--fd-teal); }
.bq-fd .bq-cmp-pbar.is-lo i { background: var(--fd-rose); }

.bq-fd .bq-cmp-heat { min-width: 0; width: auto; }
.bq-fd .bq-cmp-heat th { padding: 7px 12px; font-size: 11px; font-weight: 800; color: var(--fd-ink); text-align: center; }
.bq-fd .bq-cmp-heat tbody th { text-align: left; border-bottom: 1px solid var(--fd-line); }
.bq-fd .bq-cmp-heat td { min-width: 72px; text-align: center !important; font-weight: 700; color: var(--fd-ink); border: 2px solid #fff !important; border-radius: 4px; }

/* ── Rows, headings, legend ──────────────────────────────────────────── */
.bq-fd .bq-cmp-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 22px;
    align-items: stretch;
    scroll-margin-top: 120px;
}
.bq-fd .bq-cmp-row > .bq-section { margin-bottom: 0; min-width: 0; }
.bq-fd .bq-cmp-row--flat { margin: 22px 0 0; align-items: start; }
.bq-fd .bq-cmp-row--flat > div { min-width: 0; }
.bq-fd .bq-section[id] { scroll-margin-top: 120px; }
.bq-fd .bq-cmp-h3 {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--fd-muted);
}
.bq-fd .bq-section > .bq-cmp-h3 { margin-top: 22px; }
.bq-fd .bq-cmp-plot--radar { height: 340px; }

.bq-fd .bq-fd-key i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }

.bq-fd .bq-cmp-legend { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.bq-fd .bq-cmp-lg {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 30px;
    padding: 0 10px;
    border: 1px solid var(--fd-line-mid);
    border-radius: 6px;
    background: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    color: var(--fd-faint);
    cursor: pointer;
    transition: border-color .12s ease, color .12s ease, opacity .12s ease;
}
.bq-fd .bq-cmp-lg i { width: 12px; height: 3px; border-radius: 2px; background: var(--fd-line-strong); }
.bq-fd .bq-cmp-lg b { font-weight: 700; color: var(--fd-muted); }
.bq-fd .bq-cmp-lg.is-on { color: var(--fd-ink); border-color: var(--fd-line-strong); }
.bq-fd .bq-cmp-lg.is-on i { background: var(--c); }
.bq-fd .bq-cmp-lg.is-on b.is-up { color: var(--fd-green); }
.bq-fd .bq-cmp-lg.is-on b.is-down { color: var(--fd-red); }
.bq-fd .bq-cmp-lg.is-bench.is-on i { background: repeating-linear-gradient(90deg, var(--c) 0 4px, transparent 4px 6px); }
.bq-fd .bq-cmp-lg:not(.is-on) { opacity: .7; }
.bq-fd .bq-fd-note { margin: 8px 0 0; font-size: 11.5px; color: var(--fd-faint); }

.bq-fd .bq-cmp-peerline { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--fd-line); display: grid; gap: 4px; font-size: 12px; color: var(--fd-muted); }
.bq-fd .bq-cmp-peerline li > span { display: inline-flex; align-items: center; gap: 5px; font-weight: 800; color: var(--fd-ink); margin-right: 2px; }
.bq-fd .bq-cmp-peerline li > span i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.bq-fd .bq-cmp-peerline strong { color: var(--fd-ink); }

/* ── All metrics: one collapsible table per axis ─────────────────────── */
.bq-fd .bq-cmp-axes { display: grid; gap: 12px; }
.bq-fd .bq-cmp-axis { border: 1px solid var(--fd-line); border-radius: 9px; overflow: hidden; scroll-margin-top: 120px; }
.bq-fd .bq-cmp-axis summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 40px 11px 14px;
    background: var(--fd-tint);
    cursor: pointer;
    position: relative;
}
.bq-fd .bq-cmp-axis summary::-webkit-details-marker { display: none; }
.bq-fd .bq-cmp-axis summary::after,
.bq-fd .bq-cmp-faq summary::after,
.bq-fd .bq-cmp-sector summary::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 1.8px solid var(--fd-muted);
    border-bottom: 1.8px solid var(--fd-muted);
    transform: translateY(-70%) rotate(45deg);
    transition: transform .15s ease;
}
.bq-fd .bq-cmp-axis[open] summary::after,
.bq-fd .bq-cmp-faq details[open] summary::after,
.bq-fd .bq-cmp-sector[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.bq-fd .bq-cmp-axis summary h3 { margin: 0; font-size: 13px; font-weight: 800; color: var(--fd-ink); }
.bq-fd .bq-cmp-axis summary span { font-size: 11.5px; color: var(--fd-faint); }
.bq-fd .bq-cmp-axis .bq-fd-tablewrap { border: 0; border-radius: 0; }

/* ── Peers + pairs ───────────────────────────────────────────────────── */
.bq-fd .bq-cmp-peerrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 0; border-bottom: 1px solid var(--fd-line); }
.bq-fd .bq-cmp-peerrow:last-of-type { border-bottom: 0; }
.bq-fd .bq-cmp-peerrow-k { flex: 0 0 210px; font-size: 12px; font-weight: 700; color: var(--fd-text); }
.bq-fd .bq-cmp-peerchips { flex: 1 1 300px; display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.bq-fd .bq-cmp-peerchip {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    padding: 5px 10px;
    border: 1px solid var(--fd-line-mid);
    border-radius: 6px;
    background: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    color: var(--fd-ink);
    transition: border-color .12s ease, background .12s ease;
}
.bq-fd .bq-cmp-peerchip span { color: var(--fd-accent); }
.bq-fd .bq-cmp-peerchip em { font-style: normal; font-weight: 500; font-size: 11px; color: var(--fd-muted); max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bq-fd .bq-cmp-peerchip:hover { border-color: var(--fd-accent); background: var(--fd-accent-soft); }
.bq-fd .bq-cmp-scatterlink { font-size: 12px; font-weight: 700; color: var(--fd-blue); text-decoration: none; white-space: nowrap; }
.bq-fd .bq-cmp-scatterlink:hover { text-decoration: underline; }
.bq-fd .bq-cmp-plots { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 12px 0 4px; }

.bq-fd .bq-cmp-pairs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.bq-fd .bq-cmp-pairs--small { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.bq-fd .bq-cmp-pair {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 11px 13px;
    border: 1px solid var(--fd-line);
    border-radius: 9px;
    background: #fff;
    text-decoration: none;
    min-width: 0;
    transition: border-color .12s ease, background .12s ease;
}
.bq-fd .bq-cmp-pair:hover { border-color: var(--fd-accent); background: var(--fd-accent-soft); }
.bq-fd .bq-cmp-pair strong { font-size: 13px; font-weight: 800; color: var(--fd-ink); }
.bq-fd .bq-cmp-pair span { font-size: 11.5px; color: var(--fd-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bq-fd .bq-cmp-pair em { font-style: normal; font-size: 10.5px; color: var(--fd-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.bq-fd .bq-cmp-sectors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; }
.bq-fd .bq-cmp-sector { border-top: 1px solid var(--fd-line); }
.bq-fd .bq-cmp-sector summary {
    position: relative;
    list-style: none;
    padding: 11px 30px 11px 0;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--fd-ink);
    cursor: pointer;
}
.bq-fd .bq-cmp-sector summary::-webkit-details-marker { display: none; }
.bq-fd .bq-cmp-sector summary::after { right: 8px; }
.bq-fd .bq-cmp-sector summary span { margin-left: 6px; font-size: 11px; font-weight: 600; color: var(--fd-faint); }
.bq-fd .bq-cmp-sector ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 1px; }
.bq-fd .bq-cmp-sector li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 12.5px; }
.bq-fd .bq-cmp-sector li a { color: var(--fd-ink); font-weight: 600; text-decoration: none; }
.bq-fd .bq-cmp-sector li a:hover { color: var(--fd-accent); text-decoration: underline; }
.bq-fd .bq-cmp-sector li span { font-size: 11px; font-weight: 700; color: var(--fd-faint); white-space: nowrap; }

/* ── FAQ + disclaimer ────────────────────────────────────────────────── */
.bq-fd .bq-cmp-faq details { border-top: 1px solid var(--fd-line); }
.bq-fd .bq-cmp-faq details:last-of-type { border-bottom: 1px solid var(--fd-line); }
.bq-fd .bq-cmp-faq summary {
    position: relative;
    list-style: none;
    padding: 13px 28px 13px 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--fd-ink);
    cursor: pointer;
}
.bq-fd .bq-cmp-faq summary::-webkit-details-marker { display: none; }
.bq-fd .bq-cmp-faq summary::after { right: 6px; }
.bq-fd .bq-cmp-faq p { margin: 0 0 14px; max-width: 860px; font-size: 13.5px; line-height: 1.65; color: var(--fd-text); }
.bq-fd .bq-cmp-disclaimer { margin: 4px 2px 26px; font-size: 11.5px; line-height: 1.6; color: var(--fd-faint); max-width: 900px; }

/* =====================================================================
   SCATTER
   ===================================================================== */
.bq-fd .bq-sc-controls {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 12px 14px;
    align-items: end;
}
.bq-fd .bq-cmp-field { display: flex; flex-direction: column; gap: 5px; margin: 0; min-width: 0; position: relative; }
.bq-fd .bq-cmp-field select { width: 100%; }
.bq-fd .bq-sc-uinput {
    width: 100%;
    height: 36px;
    padding: 0 11px;
    border: 1px solid var(--fd-line-mid);
    border-radius: 8px;
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--fd-ink);
    background: #fff;
    box-sizing: border-box;
}
.bq-fd .bq-sc-uinput:focus { outline: 2px solid var(--fd-blue-soft); border-color: var(--fd-blue); }
.bq-fd .bq-sc-ulist { left: 0; width: 100%; min-width: 280px; }
.bq-fd .bq-sc-ulist li { grid-template-columns: minmax(0, 1fr) auto; }
.bq-fd .bq-sc-ulist li small { display: inline; margin-left: 6px; }
.bq-fd .bq-sc-ulist .bq-sc-ukind {
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--fd-faint);
}

.bq-fd .bq-sc-presets { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; }
.bq-fd .bq-sc-preset {
    appearance: none;
    padding: 5px 11px;
    border: 1px solid var(--fd-line-mid);
    border-radius: 20px;
    background: #fff;
    font: inherit;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--fd-text);
    cursor: pointer;
}
.bq-fd .bq-sc-preset:hover { border-color: var(--fd-accent); color: var(--fd-accent); }
.bq-fd .bq-sc-preset.is-active { background: var(--fd-tint-2); border-color: var(--fd-line-strong); color: var(--fd-ink); }

.bq-fd .bq-sc-opts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--fd-line);
}
.bq-fd .bq-sc-check { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--fd-text); cursor: pointer; white-space: nowrap; }
.bq-fd .bq-sc-check input { margin: 0; accent-color: var(--fd-blue); }
.bq-fd .bq-sc-opts .bq-cmp-field { flex-direction: row; align-items: center; gap: 8px; }
.bq-fd .bq-sc-hl { position: relative; flex: 1 1 220px; max-width: 320px; }

.bq-fd .bq-sc-stage { position: relative; }
.bq-fd .bq-sc-plot { position: relative; height: 560px; }
.bq-fd .bq-sc-plot canvas { cursor: crosshair; }
.bq-fd .bq-sc-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .6);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--fd-muted);
    z-index: 4;
}
.bq-fd .bq-sc-loading[hidden] { display: none; }
.bq-fd .bq-sc-statline { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; font-size: 11.5px; color: var(--fd-muted); }
.bq-fd .bq-sc-statline strong { color: var(--fd-ink); }
.bq-fd .bq-sc-keys { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 11.5px; color: var(--fd-muted); }
.bq-fd .bq-sc-keys span { display: inline-flex; align-items: center; gap: 6px; }
.bq-fd .bq-sc-keys i { width: 10px; height: 10px; border-radius: 50%; background: rgba(47, 111, 208, .55); border: 1.5px solid #2f6fd0; box-sizing: border-box; }
.bq-fd .bq-sc-keys i.is-out { background: #fff; border-color: var(--fd-amber); border-style: dashed; }
.bq-fd .bq-sc-keys i.is-hl { background: var(--fd-rose); border-color: var(--fd-rose); }
.bq-fd .bq-sc-keys i.is-fit { width: 16px; height: 0; border: 0; border-top: 2px dashed var(--fd-ink); border-radius: 0; background: none; }

.bq-fd .bq-sc-quads { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.bq-fd .bq-sc-quad { padding: 10px 12px; border: 1px solid var(--fd-line); border-radius: 8px; background: var(--fd-tint); }
.bq-fd .bq-sc-quad strong { display: block; font-size: 18px; font-weight: 800; color: var(--fd-ink); }
.bq-fd .bq-sc-quad span { font-size: 11.5px; color: var(--fd-muted); }

.bq-fd .bq-sc-tablebar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.bq-fd .bq-sc-tablebar .bq-fd-search { position: relative; flex: 0 1 280px; }
.bq-fd .bq-sc-tablebar .bq-fd-search input {
    width: 100%;
    height: 34px;
    padding: 0 11px;
    border: 1px solid var(--fd-line-mid);
    border-radius: 8px;
    font: inherit;
    font-size: 12.5px;
    box-sizing: border-box;
}
.bq-fd .bq-sc-table { min-width: 640px; }
.bq-fd .bq-sc-table th button {
    appearance: none;
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    cursor: pointer;
}
.bq-fd .bq-sc-table th button::after { content: ''; display: inline-block; width: 8px; margin-left: 3px; }
.bq-fd .bq-sc-table th button[data-dir="asc"]::after { content: '▲'; font-size: 8px; }
.bq-fd .bq-sc-table th button[data-dir="desc"]::after { content: '▼'; font-size: 8px; }
.bq-fd .bq-sc-table td.bq-fd-c-name { min-width: 180px; }
.bq-fd .bq-sc-table tr.is-hl { background: var(--fd-rose-soft); }
.bq-fd .bq-sc-table tr.is-hidden { display: none; }
.bq-fd .bq-sc-flag {
    display: inline-block;
    margin-left: 5px;
    padding: 0 5px;
    border-radius: 3px;
    background: var(--fd-amber-soft);
    color: var(--fd-amber);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .05em;
    vertical-align: 1px;
}
.bq-fd .bq-sc-tk { font-weight: 800; color: var(--fd-ink); margin-right: 6px; }
.bq-fd .bq-sc-more { display: flex; justify-content: center; padding-top: 12px; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1180px) {
    .bq-fd .bq-cmp-pairs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .bq-fd .bq-cmp-pairs--small { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .bq-fd .bq-cmp-cos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .bq-fd .bq-sc-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
    .bq-fd .bq-cmp-row { grid-template-columns: minmax(0, 1fr); }
    .bq-fd .bq-cmp-cos,
    .bq-fd .bq-cmp-cos--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bq-fd .bq-cmp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bq-fd .bq-cmp-sectors { grid-template-columns: minmax(0, 1fr); }
    .bq-fd .bq-sc-quads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bq-fd .bq-sc-plot { height: 480px; }
}

@media (max-width: 768px) {
    .bq-fd .bq-cmp-hero { padding: 20px 16px; }
    .bq-fd .bq-cmp-h1 { font-size: 22px; }
    .bq-fd .bq-cmp-bar { padding: 12px; margin-bottom: 12px; }
    .bq-fd .bq-cmp-bar-side { width: 100%; }
    .bq-fd .bq-cmp-level { flex: 1 1 100%; }
    .bq-fd .bq-cmp-level select { flex: 1 1 auto; }
    .bq-fd .bq-cmp-pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bq-fd .bq-cmp-pairs--small { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bq-fd .bq-cmp-cos { gap: 10px; margin-bottom: 12px; }
    .bq-fd .bq-cmp-row { gap: 0; margin-bottom: 0; }
    .bq-fd .bq-cmp-row--flat { gap: 18px; margin-top: 18px; }
    .bq-fd .bq-cmp-peerrow-k { flex: 1 1 100%; }
    .bq-fd .bq-cmp-plot--radar { height: 300px; }
    .bq-fd .bq-cmp-table tbody th.bq-cmp-c-label { min-width: 128px; max-width: 150px; }
    .bq-fd .bq-sc-plot { height: 400px; }
    .bq-fd .bq-sc-opts .bq-cmp-field { flex: 1 1 100%; }
    .bq-fd .bq-sc-opts .bq-cmp-field select { flex: 1 1 auto; }
    .bq-fd .bq-sc-hl { max-width: none; flex: 1 1 100%; }
}

@media (max-width: 520px) {
    .bq-fd .bq-cmp-cos,
    .bq-fd .bq-cmp-cos--2,
    .bq-fd .bq-cmp-cos--3 { grid-template-columns: minmax(0, 1fr); }
    .bq-fd .bq-cmp-features { grid-template-columns: minmax(0, 1fr); }
    .bq-fd .bq-cmp-pairs,
    .bq-fd .bq-cmp-pairs--small { grid-template-columns: minmax(0, 1fr); }
    .bq-fd .bq-cmp-picker { flex-basis: 100%; }
    .bq-fd .bq-cmp-go { flex: 1 1 100%; }
    .bq-fd .bq-cmp-bar-side .bq-fd-btn { flex: 1 1 0; justify-content: center; }
    .bq-fd .bq-cmp-co-price strong { font-size: 20px; }
    .bq-fd .bq-cmp-table th.bq-cmp-c-co { min-width: 78px; }
    .bq-fd .bq-cmp-table tbody td,
    .bq-fd .bq-cmp-table thead th { padding-left: 7px; padding-right: 7px; }
    .bq-fd .bq-cmp-table tbody th.bq-cmp-c-label { min-width: 110px; max-width: 128px; font-size: 12px; padding-left: 7px; padding-right: 7px; }
    .bq-fd .bq-cmp-pbar { width: 48px; }
    .bq-fd .bq-sc-controls { grid-template-columns: minmax(0, 1fr); }
    .bq-fd .bq-sc-quads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bq-fd .bq-sc-plot { height: 360px; }
    .bq-fd .bq-cmp-heat td { min-width: 54px; }
    .bq-fd .bq-cmp-faq summary { font-size: 13.5px; }
    /* The leader is already the bold cell; the column only pushes the
       readings off a phone screen. Notes are in the FAQ and on desktop. */
    .bq-fd .bq-cmp-verdict .bq-cmp-c-win { display: none; }
    .bq-fd .bq-cmp-verdict th.bq-cmp-c-label small { display: none; }
    .bq-fd .bq-sc-presets { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .bq-fd .bq-sc-presets::-webkit-scrollbar { display: none; }
    .bq-fd .bq-sc-preset { flex: none; }
}


/* =====================================================================
   1.1.0 (2026-10-26) — THE STOCK PAGES' SKIN, KPI CONTROLS AND COLOURS
   The shared part — stock-page tokens and the KPI ramp, KPI buttons,
   bq-pages' stock-list tables — is bq-ownership/assets/css/
   fd-stock-skin.css (body.bq-stock-skin), loaded before this file, and
   funds.css 3.3.0 gives the cards the /stocks/ frame and ground. What is
   below is only what these two pages have and the others do not:
   - the Compare button: the KPI button with an ink label, never dark;
   - the metric-pair presets: KPI chips, the chosen one tinted, not dark;
   - the labelled fields: the KPI shell (frame, 10px uppercase micro-label
     on a tint, then the value; selects open the KPI menu, bq-dropdown);
   - the company cards lose the coloured top edge; a ticker's colour is
     the dot beside it;
   - the scatter's legend keys in its KPI colours.
   ===================================================================== */
body.bq-cmp-page .bq-fd .bq-cmp-go {
    height: 40px;
    padding: 0 18px;
    box-sizing: border-box;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--fd-line-strong);
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .1px;
    line-height: 1;
    color: var(--fd-ink);
}
body.bq-cmp-page .bq-fd .bq-cmp-go:hover {
    background: var(--fd-tint-2);
    border-color: var(--fd-line-strong);
    color: var(--fd-ink);
}
body.bq-cmp-page .bq-fd .bq-cmp-picker.is-hero .bq-cmp-go { height: 48px; padding: 0 22px; font-size: 13px; }
body.bq-cmp-page .bq-fd .bq-fd-btn--ghost { height: 34px; }
body.bq-cmp-page .bq-fd .bq-fd-btn.is-done { color: var(--fd-green); border-color: var(--fd-green); background: var(--fd-green-soft); }

/* Metric-pair presets: KPI chips. */
body.bq-cmp-page .bq-fd .bq-sc-preset {
    height: 30px;
    padding: 0 11px;
    border: 1px solid var(--fd-line-mid);
    border-radius: 6px;
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    color: var(--fd-muted);
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
body.bq-cmp-page .bq-fd .bq-sc-preset:hover {
    background: var(--fd-tint-2);
    border-color: var(--fd-line-strong);
    color: var(--fd-ink);
}
body.bq-cmp-page .bq-fd .bq-sc-preset.is-active {
    background: var(--fd-tint-2);
    border-color: var(--fd-line-strong);
    color: var(--fd-ink);
    font-weight: 700;
    box-shadow: inset 0 0 0 1px var(--fd-line-strong);
}
body.bq-cmp-page .bq-fd .bq-sc-preset:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--fd-blue-soft); border-color: var(--fd-blue); }

/* ── Fields: company-KPI .ck-dropdown-container ── */
body.bq-cmp-page .bq-fd .bq-cmp-field,
body.bq-cmp-page .bq-fd .bq-cmp-level,
body.bq-cmp-page .bq-fd .bq-sc-opts .bq-cmp-field {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    height: 34px;
    min-width: 0;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid var(--fd-line-mid);
    border-radius: 6px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
body.bq-cmp-page .bq-fd .bq-cmp-field:hover,
body.bq-cmp-page .bq-fd .bq-cmp-level:hover { border-color: var(--fd-line-strong); }
body.bq-cmp-page .bq-fd .bq-cmp-field:focus-within,
body.bq-cmp-page .bq-fd .bq-cmp-level:focus-within,
body.bq-cmp-page .bq-fd .bq-cmp-field.is-active,
body.bq-cmp-page .bq-fd .bq-cmp-level.is-active {
    border-color: var(--fd-blue);
    box-shadow: 0 0 0 3px var(--fd-blue-soft);
}
body.bq-cmp-page .bq-fd .bq-cmp-field > span,
body.bq-cmp-page .bq-fd .bq-cmp-level > span {
    display: flex;
    align-items: center;
    flex: none;
    padding: 0 9px;
    background: var(--fd-tint);
    border-right: 1px solid var(--fd-line);
    border-radius: 5px 0 0 5px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .85px;
    text-transform: uppercase;
    color: var(--fd-faint);
    white-space: nowrap;
}
/* Inside the shell the control has no frame of its own. */
body.bq-cmp-page .bq-fd .bq-cmp-field .bq-sc-uinput,
body.bq-cmp-page .bq-fd .bq-cmp-field input[type="number"] {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    padding: 0 10px;
    border: 0;
    border-radius: 0 6px 6px 0;
    outline: none;
    background: transparent;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--fd-ink);
}
body.bq-cmp-page .bq-fd .bq-cmp-field .bq-sc-uinput:focus,
body.bq-cmp-page .bq-fd .bq-cmp-field input:focus { outline: none; box-shadow: none; }
body.bq-cmp-page .bq-fd .bq-sc-ulist { left: -1px; right: -1px; width: auto; top: calc(100% + 5px); }
body.bq-cmp-page .bq-fd .bq-sc-controls { align-items: center; gap: 10px 12px; }
body.bq-cmp-page .bq-fd .bq-sc-opts .bq-cmp-field { flex: 0 1 auto; }
body.bq-cmp-page .bq-fd .bq-sc-opts .bq-cmp-field .bqdd { min-width: 128px; }
body.bq-cmp-page .bq-fd .bq-cmp-level .bqdd { min-width: 150px; }
/* The Financial History line-item picker: a plain KPI field. */
body.bq-cmp-page .bq-fd .bq-cmp-select .bqdd { min-width: 210px; }

/* The ticker picker: one KPI field holding chips and the search box. */
body.bq-cmp-page .bq-fd .bq-cmp-chips { border-color: var(--fd-line-mid); border-radius: 6px; }
body.bq-cmp-page .bq-fd .bq-cmp-chips:hover { border-color: var(--fd-line-strong); }
body.bq-cmp-page .bq-fd .bq-cmp-chips:focus-within { border-color: var(--fd-blue); box-shadow: 0 0 0 3px var(--fd-blue-soft); }
body.bq-cmp-page .bq-fd .bq-cmp-chip { border-radius: 5px; background: var(--fd-tint); border-color: var(--fd-line); color: var(--fd-ink); }
body.bq-cmp-page .bq-fd .bq-cmp-bar { border-color: #dee2e6; border-radius: 8px; box-shadow: 0 2px 5px rgba(0, 0, 0, .06); }
body.bq-cmp-page .bq-fd .bq-cmp-suggest {
    border-color: var(--fd-line-mid);
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(11, 31, 46, .06), 0 10px 24px rgba(11, 31, 46, .13);
}

/* ── Company cards: the stock pages' card, the ticker's colour as a dot ── */
body.bq-cmp-page .bq-fd .bq-cmp-co {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .06);
}
body.bq-cmp-page .bq-fd .bq-cmp-co-t { display: inline-flex; align-items: center; gap: 7px; }
body.bq-cmp-page .bq-fd .bq-cmp-co-t::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--c);
    flex: none;
}
body.bq-cmp-page .bq-fd .bq-cmp-co-name:hover .bq-cmp-co-t { color: var(--fd-ink); text-decoration: underline; }

/* ── Tables: what the stock-list table (fd-stock-skin.css) does not cover ── */
body.bq-cmp-page .bq-fd .bq-cmp-table thead th.bq-cmp-c-label { background: #f5f8fa; }
body.bq-cmp-page .bq-fd .bq-fd-table tbody tr:hover th.bq-cmp-c-label { background: #f4f8fb; }
body.bq-cmp-page .bq-fd .bq-sc-tk,
body.bq-cmp-page .bq-fd .bq-cmp-table th.bq-cmp-c-co a {
    font-weight: 700;
    letter-spacing: .3px;
    color: #00529b;
    text-decoration: none;
}
body.bq-cmp-page .bq-fd .bq-sc-tk:hover { color: #003366; text-decoration: underline; }
body.bq-cmp-page .bq-fd .bq-cmp-table th.bq-cmp-c-label a,
body.bq-cmp-page .bq-fd .bq-cmp-table tbody th.bq-cmp-c-label { color: #0b1f2e; font-weight: 700; }
body.bq-cmp-page .bq-fd .bq-cmp-table td.is-best { color: #0b1f2e; font-weight: 700; background: rgba(15, 110, 110, .06); }
body.bq-cmp-page .bq-fd .bq-cmp-table td.is-best.is-up { color: #15803d; }
body.bq-cmp-page .bq-fd .bq-cmp-table td.is-best.is-down { color: #c5331f; }

/* ── Scatter legend keys, in the chart's KPI colours ── */
body.bq-cmp-page .bq-fd .bq-sc-keys i { background: rgba(15, 110, 110, .34); border-color: #0f6e6e; }
body.bq-cmp-page .bq-fd .bq-sc-keys i.is-out { background: #fff; border-color: #ef9f4a; }
body.bq-cmp-page .bq-fd .bq-sc-keys i.is-hl { background: #cf4d4d; border-color: #cf4d4d; }
body.bq-cmp-page .bq-fd .bq-sc-table tr.is-hl { background: rgba(207, 77, 77, .08); }
body.bq-cmp-page .bq-fd .bq-sc-check input { accent-color: #0f6e6e; }
body.bq-cmp-page .bq-fd .bq-sc-quad { border-radius: 6px; }
body.bq-cmp-page .bq-fd .bq-cmp-scatterlink { color: #00529b; }

@media (max-width: 768px) {
    body.bq-cmp-page .bq-fd .bq-sc-opts .bq-cmp-field { flex: 1 1 100%; }
    body.bq-cmp-page .bq-fd .bq-cmp-level { flex: 1 1 100%; }
    body.bq-cmp-page .bq-fd .bq-cmp-level .bqdd { flex: 1; }
}

/* =====================================================================
   1.2.0 (2026-10-26) — THE CUSTOM-AXES GATE
   funds.css's .bq-fd-gate strip under the presets, for a reader without a
   subscription. No fade: it sits under controls, not under a table's last
   rows.
   ===================================================================== */
body.bq-cmp-page .bq-fd .bq-sc-gate { margin: 14px 0 0; padding-top: 0; }
body.bq-cmp-page .bq-fd .bq-sc-gate::before { content: none; }
body.bq-cmp-page .bq-fd .bq-sc-gate .bq-fd-gate-inner { padding: 10px 14px; }
@media (max-width: 600px) {
    body.bq-cmp-page .bq-fd .bq-sc-gate .bq-fd-gate-inner { flex-wrap: wrap; }
    body.bq-cmp-page .bq-fd .bq-sc-gate .bq-fd-gate-text { flex: 1 1 calc(100% - 46px); }
    body.bq-cmp-page .bq-fd .bq-sc-gate .bq-fd-gate-cta { flex: 1 1 100%; }
}

/* ── 1.4.0 SCATTER ─────────────────────────────────────────────────────
   THE UNIVERSE LIST IS A TREE, styled as the stock lists' industry picker
   (bq-pages assets/css/stock-lists.css .bq-sl-opt): a sector heading, each
   industry group as a neutral grey band in bold ink, its industries indented
   in regular grey, the current universe inverted in the site blue. */
body.bq-cmp-page .bq-fd .bq-sc-ulist.bq-sc-tree {
    padding: 4px 0;
    min-width: 340px;
    max-height: min(440px, 62vh);
    overscroll-behavior: contain;
}
body.bq-cmp-page .bq-fd .bq-sc-ulist.bq-sc-tree li.bq-sc-opt {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 7px 12px;
    border-radius: 0;
    cursor: pointer;
    position: relative;
    transition: background .1s ease;
}
body.bq-cmp-page .bq-fd .bq-sc-tree li.bq-sc-opt.is-active,
body.bq-cmp-page .bq-fd .bq-sc-tree li.bq-sc-opt:hover { background: #f4f5f6; }
body.bq-cmp-page .bq-fd .bq-sc-tree .bq-sc-opt__name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 400;
    color: #55595f;
}
body.bq-cmp-page .bq-fd .bq-sc-tree .bq-sc-opt__n {
    flex: 0 0 42px;
    text-align: right;
    font-size: 11.5px;
    color: #a0aec0;
    font-variant-numeric: tabular-nums;
    overflow: visible;
}
body.bq-cmp-page .bq-fd .bq-sc-tree .bq-sc-opt__name mark { background: none; color: #00529b; font-weight: 700; padding: 0; }
/* The whole market and each sector: small capitals, navy, a rule above. */
body.bq-cmp-page .bq-fd .bq-sc-tree li.bq-sc-opt--all .bq-sc-opt__name { font-weight: 700; color: #0b1f2e; }
body.bq-cmp-page .bq-fd .bq-sc-tree li.bq-sc-opt--sector { padding-top: 12px; padding-bottom: 6px; border-top: 1px solid #e3e8ee; }
body.bq-cmp-page .bq-fd .bq-sc-tree li.bq-sc-opt--sector:first-child { border-top: 0; }
body.bq-cmp-page .bq-fd .bq-sc-tree li.bq-sc-opt--sector .bq-sc-opt__name {
    font-size: 10.5px; font-weight: 800; letter-spacing: .9px; text-transform: uppercase; color: #002a45;
}
body.bq-cmp-page .bq-fd .bq-sc-tree li.bq-sc-opt--sector .bq-sc-opt__n { color: #4a5568; font-weight: 700; }
/* An industry group: the band. */
body.bq-cmp-page .bq-fd .bq-sc-tree li.bq-sc-opt--group { padding-top: 9px; background: #f1f2f4; }
body.bq-cmp-page .bq-fd .bq-sc-tree li.bq-sc-opt--group.is-active,
body.bq-cmp-page .bq-fd .bq-sc-tree li.bq-sc-opt--group:hover { background: #e8e9ec; }
body.bq-cmp-page .bq-fd .bq-sc-tree li.bq-sc-opt--group .bq-sc-opt__name { font-size: 13.5px; font-weight: 700; color: #0b1f2e; }
body.bq-cmp-page .bq-fd .bq-sc-tree li.bq-sc-opt--group .bq-sc-opt__n { color: #4a5568; font-weight: 700; }
/* An industry: the indent is the whole signal. */
body.bq-cmp-page .bq-fd .bq-sc-tree li.bq-sc-opt--child { padding-left: 32px; }
body.bq-cmp-page .bq-fd .bq-sc-tree li.bq-sc-opt--child:hover .bq-sc-opt__name,
body.bq-cmp-page .bq-fd .bq-sc-tree li.bq-sc-opt--child.is-active .bq-sc-opt__name { color: #0b1f2e; }
/* A parent shown only so its matching children have a place. */
body.bq-cmp-page .bq-fd .bq-sc-tree li.bq-sc-opt.is-context { cursor: default; }
body.bq-cmp-page .bq-fd .bq-sc-tree li.bq-sc-opt--group.is-context:hover { background: #f1f2f4; }
body.bq-cmp-page .bq-fd .bq-sc-tree li.bq-sc-opt--sector.is-context:hover { background: transparent; }
body.bq-cmp-page .bq-fd .bq-sc-tree li.bq-sc-opt.is-context .bq-sc-opt__name { color: #a0aec0; }
/* Where you are: inverted. */
body.bq-cmp-page .bq-fd .bq-sc-tree li.bq-sc-opt.is-current { background: #00529b; box-shadow: inset 3px 0 0 #002a45; }
body.bq-cmp-page .bq-fd .bq-sc-tree li.bq-sc-opt.is-current:hover { background: #002a45; }
body.bq-cmp-page .bq-fd .bq-sc-tree li.bq-sc-opt.is-current .bq-sc-opt__name,
body.bq-cmp-page .bq-fd .bq-sc-tree li.bq-sc-opt.is-current .bq-sc-opt__name mark { font-weight: 700; color: #fff; }
body.bq-cmp-page .bq-fd .bq-sc-tree li.bq-sc-opt.is-current .bq-sc-opt__n { color: rgba(255, 255, 255, .78); }
body.bq-cmp-page .bq-fd .bq-sc-tree .bq-sc-opt__sr {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
body.bq-cmp-page .bq-fd .bq-sc-tree li.bq-sc-opt--empty { display: block; padding: 18px 12px; text-align: center; color: #a0aec0; font-size: 13px; cursor: default; }
body.bq-cmp-page .bq-fd .bq-sc-uinput::placeholder { color: #a0aec0; font-weight: 400; }
@media (max-width: 768px) {
    body.bq-cmp-page .bq-fd .bq-sc-ulist.bq-sc-tree { min-width: 0; }
}

/* The chart dims in place while a change is fetched; nothing reloads. */
body.bq-cmp-page .bq-fd .bq-sc-stage .bq-sc-plot { transition: opacity .18s ease; }
body.bq-cmp-page .bq-fd .bq-sc-stage.is-busy .bq-sc-plot { opacity: .45; }

/* The colour key (scatter.js 1.1.0 Legend): one chip per category, a click
   isolates it. Space is held before the script runs (the template renders
   the default key), so nothing below moves. */
body.bq-cmp-page .bq-fd .bq-sc-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 28px; margin: 0 0 10px; }
body.bq-cmp-page .bq-fd .bq-sc-legend__by {
    margin-right: 4px; font-size: 9.5px; font-weight: 800; letter-spacing: .9px; text-transform: uppercase; color: #6d7883;
}
body.bq-cmp-page .bq-fd .bq-sc-chip {
    appearance: none; display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px 4px 8px; border: 1px solid #dfe6ed; border-radius: 20px; background: #fff;
    font: inherit; font-size: 12px; font-weight: 600; color: #0b1f2e; cursor: pointer;
    transition: border-color .12s ease, background .12s ease, opacity .12s ease;
}
body.bq-cmp-page .bq-fd .bq-sc-chip:hover { border-color: #b6c1cc; background: #f7f9fb; }
body.bq-cmp-page .bq-fd .bq-sc-chip i { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
body.bq-cmp-page .bq-fd .bq-sc-chip em { font-style: normal; font-weight: 400; color: #6d7883; font-variant-numeric: tabular-nums; }
body.bq-cmp-page .bq-fd .bq-sc-chip.is-on { border-color: #0b1f2e; box-shadow: inset 0 0 0 1px #0b1f2e; }
body.bq-cmp-page .bq-fd .bq-sc-chip.is-off { opacity: .5; }
body.bq-cmp-page .bq-fd .bq-sc-chip--all { color: #00529b; border-style: dashed; }
/* A phone gets one row of chips that scrolls sideways, not six rows above the chart. */
@media (max-width: 768px) {
    /* The plot runs to the screen edges: out through the card's 9px padding
       (bq-ownership style.css .bq-section at this width). */
    body.bq-cmp-page .bq-fd .bq-sc-stage { margin-left: -9px; margin-right: -9px; }
    body.bq-cmp-page .bq-fd .bq-sc-legend {
        flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
        scrollbar-width: none; padding-bottom: 2px;
    }
    body.bq-cmp-page .bq-fd .bq-sc-legend::-webkit-scrollbar { display: none; }
    body.bq-cmp-page .bq-fd .bq-sc-chip, body.bq-cmp-page .bq-fd .bq-sc-legend__by { flex: 0 0 auto; white-space: nowrap; }
}
body.bq-cmp-page .bq-fd .bq-sc-chip i.is-hollow,
body.bq-cmp-page .bq-fd .bq-sc-table .bq-sc-sw.is-hollow { background: #fff; box-shadow: inset 0 0 0 1.6px #8a96a6; }
body.bq-cmp-page .bq-fd .bq-sc-table .bq-sc-sw {
    display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; vertical-align: 1px;
}
/* The other keys: shapes and rings, in neutral grey (colour belongs to the categories). */
body.bq-cmp-page .bq-fd .bq-sc-keys i,
body.bq-cmp-page .bq-fd .bq-sc-keys i.is-out {
    width: 9px; height: 9px; border-radius: 1px; background: #fff; border: 2px solid #6d7883; border-style: solid; box-shadow: none; transform: rotate(45deg);
}
body.bq-cmp-page .bq-fd .bq-sc-keys i.is-hl { width: 10px; height: 10px; border-radius: 50%; transform: none; background: #b8c0cc; border: 2px solid #0b1f2e; }
body.bq-cmp-page .bq-fd .bq-sc-keys i.is-fit { width: 16px; height: 0; border: 0; border-top: 2px dashed #0b1f2e; border-radius: 0; background: none; box-shadow: none; transform: none; }
body.bq-cmp-page .bq-fd .bq-sc-table tr.is-hl { background: rgba(11, 31, 46, .05); }
body.bq-cmp-page .bq-fd .bq-sc-check input { accent-color: #00529b; }

/* TOUCH — iOS ZOOM ON FOCUS (2026-10-26)
   Mobile Safari zooms the page when a focused control computes under 16px
   and never zooms back. Everything here that takes focus is 16px on a
   touch device; the resting look on desktop is untouched. Last in the file
   with !important on the one property, so no later or more specific rule
   can undercut it. Reasoning: company-KPI/css/styles.css. */
@media (pointer: coarse) {
    .bq-cmp-add, .bq-sc-ufield.is-typing .bq-sc-uinput, #bq-sc-filter, .bq-sc-hlsearch input,
    .bq-cmp input[type="text"], .bq-cmp input[type="search"], .bq-cmp input[type="number"], .bq-cmp select, .bq-cmp textarea,
    .bq-sc input[type="text"], .bq-sc input[type="search"]:not(.bq-sc-uinput), .bq-sc input[type="number"], .bq-sc select, .bq-sc textarea,
    #bq-cmp-level, #bq-cmp-fin-item, #bq-sc-x, #bq-sc-y, #bq-sc-size, #bq-sc-out, #bq-sc-mcap {
        font-size: 16px !important;
    }
}

/* =====================================================================
   1.5.0 (2026-11-27) — SCATTER
   ===================================================================== */
/* The crumbs inside the first card, above the title (as on the stock lists). */
body.bq-cmp-page .bq-fd .bq-page-headbar .bq-cmp-crumbs { margin: 0 0 8px; }
/* The card starts where the stock lists' does (100px desktop, 84px phone). */
body.bq-cmp-page .bq-sc > .bq-page-headbar { margin-top: 16px; }
@media (max-width: 768px) { body.bq-cmp-page .bq-sc > .bq-page-headbar { margin-top: 0; } }

/* Swap axes sits in the options row now that the preset pills are gone. */
body.bq-cmp-page .bq-fd .bq-sc-opts .bq-sc-swap { flex: none; }

/* Quadrant cards: a hue each, so the four read apart (all were one blue-grey). */
body.bq-cmp-page .bq-fd .bq-sc-quad { border-left-width: 3px; }
body.bq-cmp-page .bq-fd .bq-sc-quad--hi_x_hi_y { background: var(--fd-teal-soft);   border-color: rgba(14, 133, 119, .22);  border-left-color: var(--fd-teal); }
body.bq-cmp-page .bq-fd .bq-sc-quad--lo_x_hi_y { background: var(--fd-violet-soft); border-color: rgba(100, 85, 216, .22);  border-left-color: var(--fd-violet); }
body.bq-cmp-page .bq-fd .bq-sc-quad--lo_x_lo_y { background: var(--fd-amber-soft);  border-color: rgba(176, 118, 26, .24);  border-left-color: var(--fd-amber); }
body.bq-cmp-page .bq-fd .bq-sc-quad--hi_x_lo_y { background: var(--fd-rose-soft);   border-color: rgba(201, 69, 107, .22);  border-left-color: var(--fd-rose); }

/* THE COMPANIES TABLE'S STICKY HEADER. The wrapper is not a scroll container
   on a screen the table fits (a scroll container would be what the header
   sticks to, and it scrolls away with the page); the header sticks under the
   54px site menu. On a phone the table is made to fit the screen instead of
   scrolling sideways (no # or Industry column, fixed column widths, long
   names cut short), so the header sticks under the menu there too, as on
   the stock lists. */
/* The body's and the container's overflow-x: hidden make each a scroll
   container, which the header would stick to instead of the page; clip
   trims the same overflow without being one (as earnings-calendar.css does). */
body.bq-cmp-page:has(#bq-ownership-container.bq-sc) { overflow-x: clip !important; overflow-y: visible !important; }
body.bq-cmp-page #bq-ownership-container.bq-sc { overflow-x: clip !important; overflow-y: visible !important; }
body.bq-cmp-page .bq-fd #companies .bq-fd-tablewrap { overflow: visible; }
body.bq-cmp-page .bq-fd .bq-sc-table thead th {
    position: sticky;
    top: 54px;
    z-index: 3;
    background: #fff;
    box-shadow: inset 0 -1px 0 #cfd9e3;
}
@media (max-width: 768px) {
    body.bq-cmp-page .bq-fd .bq-sc-table { min-width: 0; table-layout: fixed; }
    body.bq-cmp-page .bq-fd .bq-sc-table .bq-fd-c-rank,
    body.bq-cmp-page .bq-fd .bq-sc-table .bq-fd-c-text { display: none; }
    body.bq-cmp-page .bq-fd .bq-sc-table th,
    body.bq-cmp-page .bq-fd .bq-sc-table td { padding-left: 6px; padding-right: 6px; }
    body.bq-cmp-page .bq-fd .bq-sc-table thead th { white-space: normal; vertical-align: bottom; line-height: 1.25; }
    body.bq-cmp-page .bq-fd .bq-sc-table thead th.bq-fd-c-name { width: 40%; min-width: 0; }
    body.bq-cmp-page .bq-fd .bq-sc-table td.bq-fd-c-name { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* =====================================================================
   1.6.0 (2026-11-28) — SCATTER CONTROLS
   ===================================================================== */
/* ONE TYPE SIZE IN EVERY FIELD. The universe box was 16px on a touch
   screen (to stop iOS zooming on focus) beside 12.5px menus. It is
   read-only on touch now until the reader asks to type (scatter.js
   Universe.type()), so it is 12.5px like the rest and 16px only while
   typing (the TOUCH rule above). */
body.bq-cmp-page .bq-fd .bq-sc-controls .bq-sc-uinput,
body.bq-cmp-page .bq-fd .bq-sc-opts .bqdd-value,
body.bq-cmp-page .bq-fd .bq-sc-controls .bqdd-value,
body.bq-cmp-page .bq-fd .bq-sc-hlval {
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .1px;
    color: var(--fd-ink);
}
body.bq-cmp-page .bq-fd .bq-sc-uinput {
    -webkit-appearance: none;
    appearance: none;
    line-height: normal;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
}
body.bq-cmp-page .bq-fd .bq-sc-uinput::-webkit-search-decoration,
body.bq-cmp-page .bq-fd .bq-sc-uinput::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
body.bq-cmp-page .bq-fd .bq-sc-uinput[readonly] { cursor: pointer; }

/* TEXT CUT OFF TOP AND BOTTOM. bq-dropdown sets line-height 1 on the
   field and clips the value (overflow: hidden, for the ellipsis), so
   Lato's ascenders, descenders and brackets were shaved off: worst on a
   phone, where the glyphs render taller. The value gets a real line box. */
body.bq-cmp-page .bq-fd .bqdd-value,
body.bq-cmp-page .bq-fd .bq-sc-hlval { line-height: 1.4; padding-top: 1px; padding-bottom: 1px; }

/* CLS. Before scatter.js runs, each field holds a native select, whose
   width is its widest option; bq-dropdown's is the chosen one's. The
   options row is a wrapping flex row, so the swap re-wrapped it and moved
   the chart and everything under it. The fields now have set widths, and
   the native select is drawn as the menu button will be, so nothing moves
   when it is enhanced. */
body.bq-cmp-page .bq-fd .bq-sc-selects { display: contents; }
body.bq-cmp-page .bq-fd .bq-sc-opts .bq-sc-f-size { flex: none; width: 232px; }
body.bq-cmp-page .bq-fd .bq-sc-opts .bq-sc-f-out  { flex: none; width: 244px; }
body.bq-cmp-page .bq-fd .bq-sc-opts .bq-sc-f-col  { flex: none; width: 206px; }
body.bq-cmp-page .bq-fd .bq-sc-opts .bq-sc-f-mcap { flex: none; width: 196px; }
body.bq-cmp-page .bq-fd .bq-sc-opts .bq-sc-selects .bqdd { min-width: 0; }
body.bq-cmp-page .bq-fd .bq-cmp-field > select:not(.bqdd-native) {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    height: 100%;
    padding: 0 30px 0 10px;
    border: 0;
    border-radius: 0 6px 6px 0;
    outline: none;
    background-color: transparent;
    background-position: right 10px center;
    background-size: 11px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: normal;
    color: var(--fd-ink);
}
/* The top row lost Bubble size to the options row: three fields, the
   metric names get the room. */
body.bq-cmp-page .bq-fd .bq-sc-controls { grid-template-columns: minmax(0, 1fr) repeat(2, minmax(0, 1.2fr)); }
@media (max-width: 1180px) {
    body.bq-cmp-page .bq-fd .bq-sc-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.bq-cmp-page .bq-fd .bq-sc-controls .bq-sc-ufield { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
    body.bq-cmp-page .bq-fd .bq-sc-controls { grid-template-columns: minmax(0, 1fr); }
}

/* HIGHLIGHT: a menu button in the field, its list in bq-dropdown's menu. */
/* The menu is not inside a .bqdd, where bq-dropdown defines its colours. */
body.bq-cmp-page .bq-fd .bq-sc-hlmenu {
    --bqdd-bg: #fff; --bqdd-ink: #0b1f2e; --bqdd-text: #37485a; --bqdd-muted: #6b7a89; --bqdd-faint: #97a4b2;
    --bqdd-line: #eaeff4; --bqdd-line-mid: #dfe6ed; --bqdd-line-strong: #cfd9e3; --bqdd-tint: #f7fafc; --bqdd-tint-2: #f1f6fa;
    --bqdd-blue: #00529b; --bqdd-blue-mid: #217ab4; --bqdd-blue-soft: rgba(0, 82, 155, .08);
    --bqdd-shadow: 0 2px 4px rgba(11, 31, 46, .06), 0 10px 24px rgba(11, 31, 46, .13);
    font-family: inherit;
}
body.bq-cmp-page .bq-fd .bq-sc-hl { flex: 1 1 240px; max-width: 340px; }
body.bq-cmp-page .bq-fd .bq-sc-hlbtn {
    appearance: none;
    -webkit-appearance: none;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0 11px 0 10px;
    border: 0;
    border-radius: 0 6px 6px 0;
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
body.bq-cmp-page .bq-fd .bq-sc-hlbtn:focus { outline: none; }
body.bq-cmp-page .bq-fd .bq-sc-hlval { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.bq-cmp-page .bq-fd .bq-sc-hlval.is-placeholder { color: #97a4b2; font-weight: 500; }
body.bq-cmp-page .bq-fd .bq-sc-hlchev { flex: none; margin-left: 6px; color: #6b7a89; transition: transform .18s ease, color .15s ease; }
body.bq-cmp-page .bq-fd .bq-sc-hl.is-active .bq-sc-hlchev { transform: rotate(180deg); color: #00529b; }
body.bq-cmp-page .bq-fd .bq-sc-hlmenu { left: -1px; right: -1px; min-width: 280px; max-width: none; width: auto; }
body.bq-cmp-page .bq-fd .bq-sc-hlsearch { display: flex; gap: 6px; align-items: center; }
body.bq-cmp-page .bq-fd .bq-sc-hlsearch input { flex: 1 1 auto; min-width: 0; }
body.bq-cmp-page .bq-fd .bq-sc-hlclear {
    appearance: none; flex: none; height: 30px; padding: 0 10px; border: 1px solid #dfe6ed; border-radius: 5px;
    background: #fff; font: inherit; font-size: 12px; font-weight: 700; color: #00529b; cursor: pointer;
}
body.bq-cmp-page .bq-fd .bq-sc-hlclear[hidden] { display: none; }
body.bq-cmp-page .bq-fd .bq-sc-hlnote { padding: 2px 10px 6px; font-size: 11px; color: #6b7a89; }
body.bq-cmp-page .bq-fd .bq-sc-hlnote:empty { display: none; }
body.bq-cmp-page .bq-fd .bq-sc-hlopt { display: flex; align-items: center; gap: 9px; }
body.bq-cmp-page .bq-fd .bq-sc-hlopt strong { flex: none; min-width: 48px; font-weight: 700; color: #0b1f2e; }
body.bq-cmp-page .bq-fd .bq-sc-hlopt span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: #6b7a89; }
body.bq-cmp-page .bq-fd .bq-sc-hlbox {
    flex: none; width: 14px; height: 14px; box-sizing: border-box; border: 1.5px solid #b6c1cc; border-radius: 3px; background: #fff;
}
body.bq-cmp-page .bq-fd .bq-sc-hlopt.is-on .bq-sc-hlbox {
    border-color: #00529b;
    background: #00529b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5'/%3E%3C/svg%3E") no-repeat center / 10px;
}
body.bq-cmp-page .bq-fd .bq-sc-hlopt.is-on strong { color: #00529b; }
body.bq-cmp-page .bq-fd .bq-sc-hlopt.is-disabled { opacity: .5; }

/* RELATED INDUSTRIES: a warm card, so it reads as somewhere to go next
   rather than one more blue panel. */
body.bq-cmp-page .bq-fd .bq-sc-related { background: #fdf8ef; border-color: #f0e2c8; }
body.bq-cmp-page .bq-fd .bq-sc-related .bq-cmp-pair { background: #fff; border-color: #efe0c4; }
body.bq-cmp-page .bq-fd .bq-sc-related .bq-cmp-pair:hover { border-color: var(--fd-amber); background: #fffdf8; }

/* PHONES. The four display selects sit two by two. */
@media (max-width: 768px) {
    body.bq-cmp-page .bq-fd .bq-sc-selects {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        flex: 1 1 100%;
        min-width: 0;
    }
    body.bq-cmp-page .bq-fd .bq-sc-opts .bq-sc-selects .bq-cmp-field { width: auto; flex: none; }
    body.bq-cmp-page .bq-fd .bq-sc-hl { max-width: none; flex: 1 1 100%; }
    body.bq-cmp-page .bq-fd .bq-sc-hlmenu { min-width: 0; }
}
/* Narrow phones: a cell is too narrow for the label beside the value, so
   the label sits above it (a cell is still one field, 44px). The value
   gets the cell's whole width. */
@media (max-width: 520px) {
    body.bq-cmp-page .bq-fd .bq-sc-opts .bq-sc-selects .bq-cmp-field {
        flex-direction: column;
        height: 44px;
    }
    body.bq-cmp-page .bq-fd .bq-sc-selects .bq-cmp-field > span {
        padding: 6px 10px 0;
        background: none;
        border: 0;
        border-radius: 0;
        font-size: 9px;
        line-height: 1.2;
    }
    body.bq-cmp-page .bq-fd .bq-sc-selects .bqdd--bare { flex: 1 1 auto; min-height: 0; }
    body.bq-cmp-page .bq-fd .bq-sc-selects .bqdd--bare .bqdd-btn { border-radius: 0 0 6px 6px; }
    body.bq-cmp-page .bq-fd .bq-sc-selects .bqdd-chev { margin-right: 9px; }
    body.bq-cmp-page .bq-fd .bq-sc-selects .bq-cmp-field > select:not(.bqdd-native) { border-radius: 0 0 6px 6px; height: auto; flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
    body.bq-cmp-page .bq-fd .bq-sc-hlchev { transition: none; }
}

/* 1.6.0: the empty state's heading is the page's H1 (404 and 503 pages), drawn as the
   .bq-fd-blank strong line it replaces (funds.css). */
.bq-fd .bq-fd-blank .bq-fd-blank-h1 {
    display: block;
    margin: 0 0 7px;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
    color: var(--fd-ink);
}
