/* Search & Compare V2 content; the shared rail, colour header and phone page keep their own styles. */
#research-app[data-research-page="compare"] .cp-desktop-only { display: none; }

@media (min-width: 921px) {
    html body #research-app[data-research-page="compare"] {
        --cp-ink: #19343e;
        --cp-muted: #526870;
        --cp-line: #e4eaf0;
        --cp-blue: #176ada;
        --cp-surface: #fff;
        --cp-soft: #f6f9fc;
        --cp-hover: #f3f8ff;
        --cp-subtle: #fafcfd;
        --cp-well: #fbfdff;
        --cp-icon-tint: #edf4fa;
    }

    html body #research-app[data-research-page="compare"] .cp-desktop-only { display: block; }
    html body #research-app[data-research-page="compare"] .cp-mobile-only { display: none !important; }
    html body #research-app[data-research-page="compare"] .creation-main[data-fuuvo-app-scroll="1"] {
        position: relative;
        z-index: 1;
        isolation: auto !important;
        width: min(1180px, calc(100% - 96px)) !important;
        max-width: 1180px !important;
        min-height: calc(100dvh - 72px) !important;
        margin: 0 auto !important;
        padding: 0 0 32px !important;
        background: transparent !important;
        color: var(--cp-ink);
    }

    html body #research-app[data-research-page="compare"] .cp-workspace {
        min-width: 0;
        color: var(--cp-ink);
        font-size: 14px;
        line-height: 1.5;
    }
    html body #research-app[data-research-page="compare"] .cp-workspace *,
    html body #research-app[data-research-page="compare"] .cp-workspace *::before,
    html body #research-app[data-research-page="compare"] .cp-workspace *::after { box-sizing: border-box; }
    html body #research-app[data-research-page="compare"] .cp-workspace [hidden] { display: none !important; }
    html body #research-app[data-research-page="compare"] .cp-workspace :is(button, input, textarea) { font-family: inherit; }
    html body #research-app[data-research-page="compare"] .cp-workspace button { cursor: pointer; }
    html body #research-app[data-research-page="compare"] .cp-workspace button:disabled { cursor: not-allowed; opacity: .45; }
    html body #research-app[data-research-page="compare"] .cp-workspace :is(button, a, input, summary):focus-visible { outline: 3px solid #3b87e6; outline-offset: 4px; }
    html body #research-app[data-research-page="compare"] .cp-icon {
        width: 20px;
        height: 20px;
        flex: none;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
    html body #research-app[data-research-page="compare"] .cp-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
    html body #research-app[data-research-page="compare"] .cp-sr-only { position: absolute; width: 1px; height: 1px; clip: rect(0, 0, 0, 0); overflow: hidden; }

    html body #research-app[data-research-page="compare"] .cw-hero { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 35px 0 31px; }
    html body #research-app[data-research-page="compare"] .cp-eyebrow { margin: 0 0 13px; color: #415d68; font-size: 10px; font-weight: 650; letter-spacing: .14em; }
    html body #research-app[data-research-page="compare"] .cw-hero h1 { margin: 0 0 13px; color: var(--cp-ink) !important; font-size: 38px !important; font-weight: 650; line-height: 1.2 !important; letter-spacing: -1.4px; }
    html body #research-app[data-research-page="compare"] .cw-hero h1 span { color: #1681bf; }
    html body #research-app[data-research-page="compare"] .cw-hero > div > p:last-child { margin: 0; color: #435f6b !important; font-size: 14px; }
    html body #research-app[data-research-page="compare"] .cw-hero-mark { display: grid; place-items: center; width: 66px; height: 66px; flex: 0 0 66px; border: 1px solid #ffffffdd; border-radius: 19px; background: #ffffffb0; color: #466d86; }
    html body #research-app[data-research-page="compare"] .cw-hero-mark .cp-icon { width: 31px; height: 31px; stroke-width: 1.4; }

    html body #research-app[data-research-page="compare"] .cw-workbench { margin: 0; padding: 0; overflow: hidden; border: 1px solid #dfe7ed; border-radius: 22px; background: var(--cp-surface) !important; box-shadow: 0 12px 35px #25476707; }
    html body #research-app[data-research-page="compare"] .cw-question-block { padding: 27px 30px 21px; }
    html body #research-app[data-research-page="compare"] .cw-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
    html body #research-app[data-research-page="compare"] .cw-section-heading label { color: var(--cp-ink); font-size: 18px; font-weight: 650; letter-spacing: -.3px; }
    html body #research-app[data-research-page="compare"] .cw-step { color: #62737e; font-size: 9px; font-weight: 600; letter-spacing: .13em; }
    html body #research-app[data-research-page="compare"] .cw-question-block textarea {
        display: block;
        width: 100%;
        min-height: 115px;
        max-height: 300px;
        margin: 14px 0 10px;
        padding: 14px 16px !important;
        resize: vertical;
        border: 1px solid #dce5eb !important;
        border-radius: 10px !important;
        outline: none;
        background: var(--cp-surface) !important;
        background-image: none !important;
        box-shadow: none !important;
        color: #203b48 !important;
        -webkit-text-fill-color: #203b48 !important;
        font-size: 16px !important;
        line-height: 1.7;
    }
    html body #research-app[data-research-page="compare"] .cw-question-block textarea::placeholder { color: #667984 !important; -webkit-text-fill-color: #667984 !important; opacity: 1; }
    html body #research-app[data-research-page="compare"] .cw-question-block textarea:focus-visible { outline: 3px solid #3b87e6; outline-offset: 3px; border-color: #3b87e6 !important; box-shadow: none !important; }
    html body #research-app[data-research-page="compare"] .cw-question-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; min-height: 30px; }
    html body #research-app[data-research-page="compare"] .cw-question-bottom > span { margin-left: auto; color: #62737e; font-size: 11px; white-space: nowrap; }
    html body #research-app[data-research-page="compare"] #question-examples { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
    html body #research-app[data-research-page="compare"] #question-examples > span { margin-right: 2px; color: #62737e; font-size: 10px; }
    html body #research-app[data-research-page="compare"] #question-examples button { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border: 1px solid #e5edf3; border-radius: 6px; background: var(--cp-soft); color: #436174; font-size: 10px; }
    html body #research-app[data-research-page="compare"] #question-examples button:hover { border-color: #a9c8e7; background: var(--cp-hover); }
    html body #research-app[data-research-page="compare"] #question-examples .cp-icon { width: 11px; height: 11px; }

    html body #research-app[data-research-page="compare"] .cw-settings { display: grid; grid-template-columns: 1.08fr 1fr; gap: 30px; padding: 23px 30px; border-top: 1px solid #e7edf1; }
    html body #research-app[data-research-page="compare"] .cw-settings > section { min-width: 0; }
    html body #research-app[data-research-page="compare"] .cw-settings > section + section { padding-left: 30px; border-left: 1px solid #e7edf1; }
    html body #research-app[data-research-page="compare"] .cw-setting-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
    html body #research-app[data-research-page="compare"] .cw-setting-title h2 { margin: 0; color: var(--cp-ink) !important; font-size: 13px; font-weight: 650; }
    html body #research-app[data-research-page="compare"] .cw-setting-title > span { color: #62737e; font-size: 10px; }
    html body #research-app[data-research-page="compare"] .cw-sources { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    html body #research-app[data-research-page="compare"] .cp-chip { position: relative; display: inline-flex; min-width: 0; max-width: 100%; }
    html body #research-app[data-research-page="compare"] .cp-chip input { position: absolute; width: 1px !important; height: 1px !important; margin: 0; padding: 0 !important; clip: rect(0, 0, 0, 0); opacity: 0; }
    html body #research-app[data-research-page="compare"] .cp-chip > span { position: relative; isolation: isolate; display: flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; padding: 10px 13px; border: 1px solid #dce5eb; border-radius: 9px; background: var(--cp-surface); color: #405965; font-size: 12px; overflow-wrap: anywhere; cursor: pointer; }
    html body #research-app[data-research-page="compare"] .cp-chip > span .cp-icon { width: 16px; height: 16px; stroke-width: 1.65; }
    html body #research-app[data-research-page="compare"] .cp-chip input:checked + span { border-color: transparent; background: var(--cp-surface); box-shadow: none; }
    html body #research-app[data-research-page="compare"] .cp-chip input:checked + span::before {
        content: "";
        position: absolute;
        inset: -1px;
        padding: 2px;
        border-radius: inherit;
        background: linear-gradient(115deg, #0066ff 0%, #ff3038 25%, #ffcb05 50%, #00a83c 75%, #0066ff 100%);
        background-size: 260% 260%;
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        mask-composite: exclude;
        animation: fuuvo-compare-selection-colour 5s ease-in-out infinite;
        animation-play-state: var(--fuuvo-colour-play-state, running);
        pointer-events: none;
    }
    html body #research-app[data-research-page="compare"] .cp-chip input:focus-visible + span { outline: 3px solid #3b87e6; outline-offset: 4px; }
    html body #research-app[data-research-page="compare"] .cp-chip:hover > span { border-color: #9cb4c8; }
    html body #research-app[data-research-page="compare"] .cw-source { width: 100%; }
    html body #research-app[data-research-page="compare"] .cw-source > span { display: grid; grid-template-columns: 1fr; gap: 5px; width: 100%; min-height: 92px; padding: 13px 12px; }
    html body #research-app[data-research-page="compare"] .cw-source > span .cp-icon { width: 18px; height: 18px; margin-bottom: 4px; color: #4c708c; }
    html body #research-app[data-research-page="compare"] .cw-source b { font-size: 11px; font-weight: 600; line-height: 1.35; }
    html body #research-app[data-research-page="compare"] .cw-source small { color: #637986; font-size: 9px; line-height: 1.4; }
    html body #research-app[data-research-page="compare"] .cw-dimensions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
    html body #research-app[data-research-page="compare"] .cp-criteria { display: flex; flex-wrap: wrap; gap: 9px; }
    html body #research-app[data-research-page="compare"] .cp-add-criterion { display: flex; align-items: center; gap: 5px; padding: 9px 2px; border: 0; background: transparent; color: var(--cp-muted); font-size: 11px; }
    html body #research-app[data-research-page="compare"] .cp-add-criterion .cp-icon { width: 14px; height: 14px; }
    html body #research-app[data-research-page="compare"] .cp-custom-criterion { display: flex; align-items: center; gap: 7px; margin-top: 13px; }
    html body #research-app[data-research-page="compare"] .cp-custom-criterion input { flex: 1; min-width: 0; width: 100%; padding: 9px !important; border: 1px solid #d9e4ed !important; border-radius: 7px; background: var(--cp-surface) !important; color: var(--cp-ink) !important; font-size: 12px; }
    html body #research-app[data-research-page="compare"] .cp-custom-criterion button { padding: 8px; border: 0; border-radius: 7px; background: #edf5ff; color: #176ada; font-size: 11px; }
    html body #research-app[data-research-page="compare"] .cp-custom-criterion button:last-child { background: transparent; color: var(--cp-muted); }

    html body #research-app[data-research-page="compare"] .cw-reference { padding: 0 30px 20px; }
    html body #research-app[data-research-page="compare"] .cw-dropzone { display: flex; align-items: center; gap: 13px; padding: 15px 18px; border: 1px dashed #ccdbe6; border-radius: 10px; background: var(--cp-well); transition: background .15s, border-color .15s; cursor: pointer; }
    html body #research-app[data-research-page="compare"] .cw-dropzone.is-dragover { background: var(--cp-hover); border-color: #176ada; }
    html body #research-app[data-research-page="compare"] .cw-upload-icon { display: flex; color: #52758b; }
    html body #research-app[data-research-page="compare"] .cw-upload-icon .cp-icon { width: 21px; height: 21px; }
    html body #research-app[data-research-page="compare"] .cw-dropzone button { padding: 0; border: 0; background: transparent; color: var(--cp-ink); font-size: 12px; font-weight: 600; text-align: left; }
    html body #research-app[data-research-page="compare"] .cw-dropzone button > span { margin-left: 7px; color: #667b88; font-size: 10px; font-weight: 400; }
    html body #research-app[data-research-page="compare"] .cw-dropzone p { margin: 4px 0 0; color: #627885; font-size: 10px; }
    html body #research-app[data-research-page="compare"] .cp-files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
    html body #research-app[data-research-page="compare"] .cp-file-chip { display: flex; align-items: center; gap: 10px; min-width: 0; max-width: 100%; padding: 7px 11px; border: 1px solid #dce6ee; border-radius: 8px; color: var(--cp-ink); font-size: 12px; }
    html body #research-app[data-research-page="compare"] .cp-file-info { min-width: 0; overflow-wrap: anywhere; }
    html body #research-app[data-research-page="compare"] .cp-file-size { color: #627885; font-size: 10px; }
    html body #research-app[data-research-page="compare"] .cp-file-remove { flex: none; width: 24px; height: 24px; margin-left: auto; padding: 0; border: 0; background: transparent; color: var(--cp-muted); font-size: 19px; }
    html body #research-app[data-research-page="compare"] .cw-attachment-note { margin: 10px 0 0; padding: 9px 11px; border-radius: 6px; background: #fffaf1; color: #7c6136; font-size: 11px; }
    html body #research-app[data-research-page="compare"] .cp-error { margin: 0; padding: 12px 30px; background: #fff4f2; color: #a43c31; font-size: 12px; overflow-wrap: anywhere; }

    html body #research-app[data-research-page="compare"] .cw-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 30px; border-top: 1px solid #e7edf1; }
    html body #research-app[data-research-page="compare"] .cw-form-footer > span { color: #627885; font-size: 11px; }
    html body #research-app[data-research-page="compare"] .cw-form-footer > div { display: flex; align-items: center; gap: 22px; }
    html body #research-app[data-research-page="compare"] .cw-shortcut { color: #627885; font-size: 10px; }
    html body #research-app[data-research-page="compare"] .cp-submit { display: flex; align-items: center; justify-content: center; gap: 25px; min-height: 45px; padding: 13px 18px; border: 0; border-radius: 9px; background: #176ada !important; box-shadow: 0 4px 12px #176ada18; color: #fff !important; -webkit-text-fill-color: #fff !important; font-size: 12px; font-weight: 600; }
    html body #research-app[data-research-page="compare"] .cp-submit:hover { background: #125ec6 !important; }
    html body #research-app[data-research-page="compare"] .cp-submit .cp-icon { width: 16px; height: 16px; }

    html body #research-app[data-research-page="compare"] .cw-results { min-width: 0; margin-top: 34px; }
    html body #research-app[data-research-page="compare"] .cw-results > header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
    html body #research-app[data-research-page="compare"] .cw-results h2 { margin: 5px 0 0; color: var(--cp-ink) !important; font-size: 20px; font-weight: 600; letter-spacing: -.5px; }
    html body #research-app[data-research-page="compare"] .cw-results > header > button { display: flex; align-items: center; gap: 12px; padding: 8px 0; border: 0; background: transparent; color: #42677f; font-size: 11px; }
    html body #research-app[data-research-page="compare"] .cw-results > header > button .cp-icon { width: 15px; height: 15px; }
    html body #research-app[data-research-page="compare"] .cw-empty { display: flex; align-items: center; justify-content: center; gap: 17px; min-height: 122px; padding: 24px; border: 1px solid #e4ebf0; border-radius: 15px; background: var(--cp-subtle); }
    html body #research-app[data-research-page="compare"] .cw-empty > span { display: grid; place-items: center; flex: none; width: 45px; height: 45px; border-radius: 12px; background: var(--cp-icon-tint); color: #7892a6; }
    html body #research-app[data-research-page="compare"] .cw-empty .cp-icon { width: 23px; height: 23px; }
    html body #research-app[data-research-page="compare"] .cw-empty h3 { margin: 0 0 5px; color: #4e6878; font-size: 13px; font-weight: 550; }
    html body #research-app[data-research-page="compare"] .cw-empty p { margin: 0; color: #647b89; font-size: 11px; }

    html body #research-app[data-research-page="compare"] :is(.cw-report, .cw-request) { min-width: 0; margin-top: 16px; padding: 28px; border: 1px solid #dfe7ed; border-radius: 18px; background: var(--cp-surface); scroll-margin-top: 90px; }
    html body #research-app[data-research-page="compare"] .cw-report-head { display: flex; justify-content: space-between; gap: 20px; }
    html body #research-app[data-research-page="compare"] .cw-sample-label { color: #5e7382; font-size: 9px; font-weight: 600; letter-spacing: .12em; }
    html body #research-app[data-research-page="compare"] :is(.cw-report, .cw-request) h3 { margin: 9px 0; color: var(--cp-ink); font-size: 24px; font-weight: 600; line-height: 1.3; letter-spacing: -.5px; }
    html body #research-app[data-research-page="compare"] .cw-report-head p { margin: 0; color: #5b7382; font-size: 12px; }
    html body #research-app[data-research-page="compare"] .cp-icon-button { display: grid; place-items: center; flex: none; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: #f1f5f8; color: var(--cp-muted); }
    html body #research-app[data-research-page="compare"] .cp-icon-button .cp-icon { width: 15px; height: 15px; }
    html body #research-app[data-research-page="compare"] .cw-conclusion { display: flex; gap: 15px; margin: 24px 0; padding: 20px; border: 1px solid #e6eef4; border-radius: 12px; background: #f5f9fc; }
    html body #research-app[data-research-page="compare"] .cw-conclusion > span { display: flex; padding-top: 3px; color: #51768e; }
    html body #research-app[data-research-page="compare"] .cw-conclusion h4 { margin: 0 0 7px; color: var(--cp-ink); font-size: 13px; font-weight: 650; }
    html body #research-app[data-research-page="compare"] .cw-conclusion p { margin: 0; color: #435f71; font-size: 12px; line-height: 1.8; }
    html body #research-app[data-research-page="compare"] .cw-report a:not(.cw-evidence) { color: #176ada; font-size: 10px; white-space: nowrap; }
    html body #research-app[data-research-page="compare"] .cw-table-wrap { max-width: 100%; overflow-x: auto; }
    html body #research-app[data-research-page="compare"] .cw-table-wrap table { width: 100%; min-width: 660px; border-collapse: collapse; font-size: 12px; line-height: 1.7; text-align: left; }
    html body #research-app[data-research-page="compare"] .cw-table-wrap :is(th, td) { padding: 15px 18px; border-bottom: 1px solid #e5ebf0; vertical-align: top; }
    html body #research-app[data-research-page="compare"] .cw-table-wrap thead th { background: #f8fafc; font-size: 13px; font-weight: 600; }
    html body #research-app[data-research-page="compare"] .cw-table-wrap thead th:first-child { width: 23%; color: #647b89; font-size: 10px; font-weight: 500; vertical-align: middle; }
    html body #research-app[data-research-page="compare"] .cw-table-wrap thead th > span { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 9px; border-radius: 6px; background: #eaf2ff; color: #3c6fae; font-size: 10px; }
    html body #research-app[data-research-page="compare"] .cw-table-wrap thead th:last-child > span { background: #eaf6ef; color: #337e65; }
    html body #research-app[data-research-page="compare"] .cw-table-wrap tbody th { color: #334f61; font-size: 11px; font-weight: 600; }
    html body #research-app[data-research-page="compare"] .cw-table-wrap td { width: 38.5%; color: #4d6575; }
    html body #research-app[data-research-page="compare"] .cw-table-wrap td strong { display: block; margin-bottom: 3px; color: #244352; font-size: 13px; font-weight: 650; }
    html body #research-app[data-research-page="compare"] .cw-evidence-head { display: flex; align-items: center; justify-content: space-between; margin: 25px 0 12px; }
    html body #research-app[data-research-page="compare"] .cw-evidence-head h4 { margin: 0; font-size: 13px; font-weight: 650; }
    html body #research-app[data-research-page="compare"] .cw-evidence-head span { color: #637986; font-size: 10px; }
    html body #research-app[data-research-page="compare"] .cw-evidence-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
    html body #research-app[data-research-page="compare"] .cw-evidence { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 15px; border: 1px solid #dfe7ed; border-radius: 10px; color: var(--cp-ink); text-decoration: none; scroll-margin-top: 90px; }
    html body #research-app[data-research-page="compare"] .cw-evidence:hover { border-color: #acc8e2; background: var(--cp-hover); }
    html body #research-app[data-research-page="compare"] .cw-evidence > .cp-icon { width: 18px; height: 18px; color: #6386a0; }
    html body #research-app[data-research-page="compare"] .cw-evidence > .cp-icon:last-child { width: 15px; height: 15px; margin-left: auto; }
    html body #research-app[data-research-page="compare"] .cw-evidence strong { display: block; font-size: 12px; font-weight: 600; }
    html body #research-app[data-research-page="compare"] .cw-evidence span { display: block; margin-top: 3px; color: #637986; font-size: 10px; }
    html body #research-app[data-research-page="compare"] .cw-report-note { margin: 17px 0 0; color: #637986; font-size: 10px; line-height: 1.7; }
    html body #research-app[data-research-page="compare"] .cw-request-disclaimer { color: #637986; font-size: 12px; }
    html body #research-app[data-research-page="compare"] .cw-request dl { display: grid; grid-template-columns: 90px 1fr; gap: 12px; margin: 20px 0; font-size: 12px; line-height: 1.7; }
    html body #research-app[data-research-page="compare"] .cw-request dt { color: #637986; }
    html body #research-app[data-research-page="compare"] .cw-request dd { margin: 0; overflow-wrap: anywhere; }

    html body #research-app[data-research-page="compare"] .cw-report-actions { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
    html body #research-app[data-research-page="compare"] .cw-report .cw-report-actions > :is(button, a),
    html body #research-app[data-research-page="compare"] .cw-export { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border: 0; border-radius: 7px; background: #f0f6fc; color: #346180; font-size: 11px; line-height: 1.5; white-space: normal; text-decoration: none; }
    html body #research-app[data-research-page="compare"] .cw-report-actions .cp-icon,
    html body #research-app[data-research-page="compare"] .cw-export .cp-icon { width: 15px; height: 15px; }
    html body #research-app[data-research-page="compare"] .cw-task-status { margin: 16px 0 0; padding: 12px 16px; border: 1px solid #dce6ee; border-radius: 10px; background: var(--cp-soft); color: var(--cp-muted); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
    html body #research-app[data-research-page="compare"] .cw-task-status:is(.loading, .is-loading, [data-state="loading"]) { border-color: #c5ddfa; background: #f0f7ff; color: #265c91; }
    html body #research-app[data-research-page="compare"] .cw-task-status:is(.error, .is-error, [data-state="error"]) { border-color: #f0d0cb; background: #fff4f2; color: #a43c31; }
    html body #research-app[data-research-page="compare"] .cw-task-status:is(.success, .is-success, [data-state="success"]) { border-color: #c7e8d9; background: #f0fbf5; color: #266c50; }
    html body #research-app[data-research-page="compare"] .cw-live-report .research-rich-output { min-width: 0; max-width: 100%; color: var(--cp-ink); font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
    html body #research-app[data-research-page="compare"] .cw-live-report .research-rich-output table { display: block; width: max-content; max-width: 100%; margin: 16px 0; overflow-x: auto; border-collapse: collapse; font-size: 13px; }
    html body #research-app[data-research-page="compare"] .cw-live-report .research-rich-output :is(th, td) { padding: 10px 12px; border: 1px solid var(--cp-line); text-align: left; vertical-align: top; }
    html body #research-app[data-research-page="compare"] .cw-live-report .research-rich-output th { background: var(--cp-soft); }
    html body #research-app[data-research-page="compare"] .cw-live-report .research-rich-output pre { max-width: 100%; padding: 14px; overflow-x: auto; border-radius: 8px; background: var(--cp-soft); }
    html body #research-app[data-research-page="compare"] .cw-live-report .research-rich-output a { font-size: inherit; white-space: normal; overflow-wrap: anywhere; }
    html body #research-app[data-research-page="compare"] .cp-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 28px 0; color: #627885; font-size: 10px; }
    html body #research-app[data-research-page="compare"] .cp-footer a { display: flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; }
    html body #research-app[data-research-page="compare"] .cp-footer .cp-icon { width: 13px; height: 13px; }

    html body[data-ui-theme="dark"] #research-app[data-research-page="compare"] {
        --cp-ink: #e4f0f2;
        --cp-muted: #bdcfd6;
        --cp-line: #354550;
        --cp-blue: #8fc7ff;
        --cp-surface: #1b2833;
        --cp-soft: #223441;
        --cp-hover: #273f50;
        --cp-subtle: #192630;
        --cp-well: #1e2e3a;
        --cp-icon-tint: #2b4252;
    }
    html body[data-ui-theme="dark"] #research-app[data-research-page="compare"] :is(.cw-workbench, .cw-settings, .cw-settings > section + section, .cp-chip > span, .cw-dropzone, .cp-file-chip, .cw-form-footer, .cw-empty, .cw-report, .cw-request, .cw-evidence, .cw-table-wrap th, .cw-table-wrap td) { border-color: var(--cp-line); }
    html body[data-ui-theme="dark"] #research-app[data-research-page="compare"] .cp-chip input:checked + span { border-color: transparent; }
    html body[data-ui-theme="dark"] #research-app[data-research-page="compare"] :is(.cp-eyebrow, .cw-hero > div > p:last-child, .cw-step, .cw-question-bottom > span, #question-examples > span, #question-examples button, .cw-setting-title > span, .cp-chip > span, .cw-source small, .cw-source > span .cp-icon, .cw-dropzone button > span, .cw-dropzone p, .cp-file-size, .cw-form-footer > span, .cw-shortcut, .cw-results > header > button, .cw-empty h3, .cw-empty p, .cw-sample-label, .cw-report-head p, .cw-conclusion p, .cw-table-wrap tbody th, .cw-table-wrap td, .cw-evidence-head span, .cw-evidence span, .cw-report-note, .cw-request-disclaimer, .cw-request dt, .cp-footer) { color: var(--cp-muted) !important; }
    html body[data-ui-theme="dark"] #research-app[data-research-page="compare"] .cw-hero-mark { border-color: #4b607066; background: #243a49b0; color: #accadd; }
    html body[data-ui-theme="dark"] #research-app[data-research-page="compare"] .cw-question-block textarea { border-color: var(--cp-line) !important; color: var(--cp-ink) !important; -webkit-text-fill-color: var(--cp-ink) !important; }
    html body[data-ui-theme="dark"] #research-app[data-research-page="compare"] .cw-question-block textarea::placeholder { color: #a9c0cc !important; -webkit-text-fill-color: #a9c0cc !important; }
    html body[data-ui-theme="dark"] #research-app[data-research-page="compare"] .cp-custom-criterion input { border-color: var(--cp-line) !important; }
    html body[data-ui-theme="dark"] #research-app[data-research-page="compare"] :is(.cp-custom-criterion button:not(:last-child), .cw-report-actions > button, .cw-report-actions > a, .cw-export) { background: #294355; color: #bfddf4; }
    html body[data-ui-theme="dark"] #research-app[data-research-page="compare"] :is(.cp-icon-button, .cw-conclusion, .cw-table-wrap thead th) { border-color: var(--cp-line); background: var(--cp-soft); }
    html body[data-ui-theme="dark"] #research-app[data-research-page="compare"] .cw-table-wrap td strong { color: var(--cp-ink); }
    html body[data-ui-theme="dark"] #research-app[data-research-page="compare"] .cw-report a:not(.cw-evidence) { color: var(--cp-blue); }
    html body[data-ui-theme="dark"] #research-app[data-research-page="compare"] .cw-attachment-note { background: #3f3625; color: #ebd5a5; }
    html body[data-ui-theme="dark"] #research-app[data-research-page="compare"] :is(.cp-error, .cw-task-status.error, .cw-task-status.is-error, .cw-task-status[data-state="error"]) { border-color: #6e3e40; background: #3c282e; color: #ffc4bc; }
    html body[data-ui-theme="dark"] #research-app[data-research-page="compare"] .cw-task-status:is(.loading, .is-loading, [data-state="loading"]) { border-color: #385875; background: #21374b; color: #bddfff; }
    html body[data-ui-theme="dark"] #research-app[data-research-page="compare"] .cw-task-status:is(.success, .is-success, [data-state="success"]) { border-color: #365f4d; background: #203b31; color: #b5e6ce; }

    @media (min-width: 1700px) {
        html body #research-app[data-research-page="compare"] .creation-main[data-fuuvo-app-scroll="1"] { width: min(1300px, calc(100% - 120px)) !important; max-width: 1300px !important; }
        html body #research-app[data-research-page="compare"] .cw-hero { padding: 42px 0 36px; }
        html body #research-app[data-research-page="compare"] .cw-hero h1 { font-size: 44px !important; }
        html body #research-app[data-research-page="compare"] .cw-question-block { padding: 30px 35px 25px; }
        html body #research-app[data-research-page="compare"] .cw-question-block textarea { min-height: 135px; }
        html body #research-app[data-research-page="compare"] .cw-settings { padding: 27px 35px; }
        html body #research-app[data-research-page="compare"] .cw-reference { padding: 0 35px 24px; }
        html body #research-app[data-research-page="compare"] .cw-form-footer { padding: 21px 35px; }
    }
    @media (max-width: 1150px) {
        html body #research-app[data-research-page="compare"] .creation-main[data-fuuvo-app-scroll="1"] { width: calc(100% - 48px) !important; }
        html body #research-app[data-research-page="compare"] .cw-hero h1 { font-size: 35px !important; }
        html body #research-app[data-research-page="compare"] .cw-question-block { padding: 24px; }
        html body #research-app[data-research-page="compare"] .cw-settings { gap: 22px; padding: 22px; }
        html body #research-app[data-research-page="compare"] .cw-settings > section + section { padding-left: 22px; }
        html body #research-app[data-research-page="compare"] .cw-source > span { padding: 11px 9px; }
        html body #research-app[data-research-page="compare"] .cw-source small { font-size: 8px; }
        html body #research-app[data-research-page="compare"] .cw-setting-title { display: block; }
        html body #research-app[data-research-page="compare"] .cw-setting-title > span { display: block; margin-top: 4px; }
        html body #research-app[data-research-page="compare"] .cw-reference { padding: 0 24px 20px; }
        html body #research-app[data-research-page="compare"] .cw-form-footer { padding: 18px 24px; }
    }
    @media (prefers-reduced-motion: reduce) {
        html body #research-app[data-research-page="compare"] .cp-chip input:checked + span::before { animation: none !important; }
        html body #research-app[data-research-page="compare"] .cw-dropzone { transition: none; }
    }
}

@keyframes fuuvo-compare-selection-colour {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
