/* Quotes through Iress (#FeosQuotes, feos:views/quotes; docs/modules/iress-quotes.md) — the pilot, 31 Oct 2026 */
.feos-qt { --q-navy: #0f2a44; --q-ink: #12202f; --q-muted: #5b6b7c; --q-line: #e1e7ee; --q-red: #b42318; --q-amber: #9a5b00;
    --q-green: #1e7a46; --q-soft: #f5f8fb;
    max-width: 1300px; margin: 0 auto; padding: 8px 0 60px; color: var(--q-ink); }
.qt-empty { padding: 18px; text-align: center; color: var(--q-muted); font-size: 13px; }
.qt-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin: 4px 0 12px; }
.qt-crumb { font-size: 12px; color: var(--q-muted); }
.qt-head h3 { margin: 4px 0 0; font-size: 24px; font-weight: 700; color: var(--q-navy); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.qt-tag { font-size: 11px; font-weight: 700; letter-spacing: .04em; border-radius: 999px; padding: 2px 9px; background: var(--q-soft);
    color: var(--q-navy); border: 1px solid var(--q-line); }
.qt-tag.is-test { background: #fff4e5; color: var(--q-amber); border-color: #f3c9a0; }
.qt-tag.is-pilot { background: #eef6ff; color: #0a5c99; border-color: #cfe3f7; }
.qt-panel { font-size: 12px; color: var(--q-muted); max-width: 560px; text-align: right; }
.qt-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--q-line); margin-bottom: 12px; }
.qt-tab { border: 0; background: none; padding: 8px 14px; font-weight: 600; color: var(--q-muted); border-bottom: 3px solid transparent; }
.qt-tab.is-on { color: var(--q-navy); border-bottom-color: var(--q-navy); }
.qt-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--q-amber); vertical-align: middle; }
.qt-card { background: #fff; border: 1px solid var(--q-line); border-radius: 14px; padding: 14px 16px; margin-bottom: 18px; }
.qt-card-title { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--q-muted);
    margin: 4px 0 10px; display: flex; justify-content: space-between; }
.qt-card-title + .qt-grid, .qt-facts + .qt-grid { margin-bottom: 14px; }
.qt-products { display: inline-flex; gap: 4px; text-transform: none; letter-spacing: 0; }
.qt-prod { border: 1px solid var(--q-line); background: #fff; border-radius: 999px; padding: 3px 12px; font-size: 12px; font-weight: 600; color: var(--q-navy); }
.qt-prod.is-on { background: var(--q-navy); border-color: var(--q-navy); color: #fff; }
.qt-link { text-transform: none; letter-spacing: 0; font-weight: 600; }
.qt-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; margin-bottom: 12px; }
.qt-fact { background: var(--q-soft); border-radius: 10px; padding: 7px 10px; font-size: 13px; }
.qt-fact span { display: block; font-size: 11px; color: var(--q-muted); }
.qt-fact.is-warn { background: #fff7e6; }
.qt-fact.is-warn b { color: var(--q-amber); }
.qt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px 16px; }
.qt-grid label { font-size: 12px; font-weight: 600; color: var(--q-muted); margin: 0; }
.qt-grid label .form-control { margin-top: 4px; font-weight: 400; }
.qt-grid small { display: block; font-weight: 400; margin-top: 3px; }
.qt-wide { grid-column: 1 / -1; }
.qt-val { margin-top: 6px; font-size: 13px; color: var(--q-ink); font-weight: 600; }
.qt-occ { margin-top: 5px; font-size: 13px; color: var(--q-ink); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-weight: 400; }
.qt-occ small { color: var(--q-muted); }
.qt-warn { color: var(--q-amber); font-weight: 600; }
.qt-occ-list { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; max-height: 180px; overflow: auto; }
.qt-occ-list button { border: 1px solid var(--q-line); background: #fff; border-radius: 8px; padding: 3px 9px; font-size: 12.5px; color: var(--q-ink); }
.qt-occ-list button:hover { border-color: var(--q-navy); }
.qt-occ-list small { color: var(--q-muted); }
.qt-mode { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.qt-mode label { display: flex; gap: 6px; align-items: center; color: var(--q-ink); font-weight: 600; }
.qt-mode .form-control { width: 140px; margin: 0; }
.qt-missing { margin-top: 12px; font-size: 13px; color: var(--q-amber); background: #fff7e6; border-radius: 8px; padding: 8px 12px; }
.qt-go { margin-top: 14px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.qt-runs-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.qt-runs-head h4 { margin: 0; font-size: 15px; font-weight: 800; color: var(--q-navy); }
.qt-best { font-size: 12px; font-weight: 500; color: var(--q-muted); display: flex; gap: 5px; align-items: center; margin: 0; }
.qt-run { background: #fff; border: 1px solid var(--q-line); border-radius: 12px; margin-bottom: 8px; }
.qt-run.is-failed { border-left: 4px solid var(--q-red); }
.qt-run-head { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: baseline; padding: 10px 14px; cursor: pointer; }
.qt-run-head .fas { color: var(--q-muted); width: 12px; }
.qt-run-meta { font-size: 12px; color: var(--q-muted); }
.qt-run-sum { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--q-navy); }
.qt-run-body { border-top: 1px solid var(--q-line); padding: 10px 14px 14px; }
.qt-asked { font-size: 12px; color: var(--q-muted); margin-bottom: 10px; }
.qt-problem { font-size: 13px; color: var(--q-red); background: #fdecea; border-radius: 8px; padding: 8px 12px; margin-bottom: 10px; }
.qt-table { font-size: 13px; }
.qt-tr { display: grid; grid-template-columns: 2.2fr .9fr .9fr .9fr .8fr auto; gap: 6px 10px; align-items: center;
    padding: 8px 8px; border-bottom: 1px solid var(--q-line); }
.qt-tr.qt-th { font-size: 11px; font-weight: 700; color: var(--q-muted); text-transform: uppercase; letter-spacing: .04em; }
.qt-tr.is-best { background: #effaf3; }
.qt-tr.is-open { background: var(--q-soft); }
.qt-tr .r { text-align: right; }
.qt-price { font-weight: 700; color: var(--q-navy); font-size: 14px; }
.qt-tr.is-best .qt-price { color: var(--q-green); }
.qt-notes { display: none; font-size: 12px; color: #3a4a5b; padding: 6px 10px 10px 18px; border-bottom: 1px solid var(--q-line); background: var(--q-soft); }
.qt-notes.is-open { display: block; }
.qt-notes div + div { margin-top: 4px; }
.qt-none { margin-top: 12px; font-size: 13px; }
.qt-none summary { cursor: pointer; font-weight: 600; color: var(--q-navy); }
.qt-none-row { padding: 4px 0 4px 14px; border-bottom: 1px dashed var(--q-line); }
.qt-none-row span { display: block; color: var(--q-muted); font-size: 12px; }
.qt-docs { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.qt-doc-list { font-size: 12px; color: var(--q-muted); }
/* 0.3 (2 Nov 2026, after the Iress call): features, factors, medical evidence, More, saved files */
.qt-prod-name { font-size: 12.5px; color: var(--q-ink); }
.qt-sub { font-size: 11.5px; color: var(--q-muted); }
.qt-feats { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px; padding-top: 2px; }
.qt-feat { display: inline-block; min-width: 26px; text-align: center; font-size: 10.5px; font-weight: 700; letter-spacing: .02em;
    padding: 3px 5px; border-radius: 4px; background: #e3e7ec; color: #6b7785; cursor: help; position: relative; }
.qt-feat.is-on { background: #1f5fa8; color: #fff; }
.qt-factors { display: flex; gap: 4px; }
.qt-badge { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 5px; font-size: 11px;
    font-weight: 800; background: #e3e7ec; color: #6b7785; cursor: help; position: relative; }
.qt-badge.is-on { background: #6d3fc8; color: #fff; }
.qt-badge.is-ok { background: #e3e7ec; color: #2d3a48; }
.qt-badge.is-warn { background: #fff1d6; color: var(--q-amber); border: 1px solid #f3c9a0; }
[data-tip]:hover::after { content: attr(data-tip); position: absolute; z-index: 30; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%);
    width: max-content; max-width: 280px; white-space: normal; text-align: left; background: #12202f; color: #fff; font-size: 12px; font-weight: 400;
    letter-spacing: 0; line-height: 1.35; padding: 7px 9px; border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.18); pointer-events: none; }
.qt-tip { display: none; position: absolute; z-index: 30; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); width: max-content;
    max-width: 300px; white-space: normal; text-align: left; background: #12202f; color: #fff; font-size: 12px; font-weight: 400; letter-spacing: 0;
    line-height: 1.4; padding: 8px 10px; border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.18); pointer-events: none; }
.qt-tip b { font-weight: 700; }
.qt-tip span, .qt-tip i { display: block; margin-top: 3px; }
.qt-tip i { opacity: .75; }
.qt-feat:hover .qt-tip { display: block; }
.qt-acts { display: flex; gap: 4px; justify-content: flex-end; }
.qt-count { display: inline-block; background: var(--q-navy); color: #fff; border-radius: 999px; font-size: 10px; padding: 0 5px; margin-left: 2px; }
.qt-legend { font-size: 11.5px; color: var(--q-muted); margin: 6px 2px 0; }
.qt-saved { margin-top: 12px; border: 1px solid var(--q-line); border-radius: 10px; padding: 8px 12px; }
.qt-saved-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--q-muted); margin-bottom: 4px; }
.qt-saved-row { display: flex; gap: 8px; align-items: baseline; padding: 3px 0; font-size: 13px; }
.qt-saved-row .fas { color: #c0392b; }
.qt-saved-row a.qt-sub { margin-left: auto; }
.qt-more-wrap { display: none; position: fixed; inset: 0; background: rgba(18,32,47,.35); z-index: 1050; align-items: flex-start; justify-content: center; padding: 60px 16px; overflow: auto; }
.qt-more-wrap.is-open { display: flex; }
.qt-more { background: #fff; border-radius: 14px; width: 100%; max-width: 760px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.qt-more-head { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--q-line); }
.qt-more-head > div:first-child { flex: 1; }
.qt-close { border: 0; background: none; font-size: 24px; line-height: 1; color: var(--q-muted); }
.qt-more-body { padding: 6px 18px 18px; max-height: 70vh; overflow: auto; }
.qt-more-sec h5 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--q-muted); margin: 14px 0 6px; }
.qt-more-sec ul { padding-left: 18px; margin: 0; font-size: 13px; }
.qt-more-sec li + li { margin-top: 4px; }
.qt-kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; font-size: 13px; }
.qt-kv span { color: var(--q-muted); }
.qt-feat-list { display: grid; gap: 6px; font-size: 13px; }
.qt-feat-list > div { opacity: .6; }
.qt-feat-list > div.is-on { opacity: 1; }
@media (max-width: 900px) {
    .qt-tr { grid-template-columns: 1fr 1fr; }
    .qt-tr.qt-th { display: none; }
    .qt-panel { text-align: left; }
}
