body.post-type-archive-tb_compare .mc,
body.tax-tb_compare_category .mc,
body.single-tb_compare .mc {
    background: #fff;
}

.tc-page {
    --tc-line: #e1e9f5;
    --tc-blue: #215cde;
    --tc-ink: #10223e;
    --tc-soft: #edf3ff;
    gap: 17px;
}

.tc-page :where(h1,h2,h3,p,li,a,td,th,summary) { overflow-wrap: anywhere; }
.tc-page :is(a,button,select,summary):focus-visible,
.tc-header-search :is(input,button,summary):focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
}
.tc-link { color: var(--tc-blue); }
.tc-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.tc-link svg { vertical-align: -.16em; }

.tc-channel-intro h1,
.tc-heading h1 {
    margin: 0 0 7px;
    color: var(--tc-ink);
    font-weight: 800;
    letter-spacing: -.033em;
    line-height: 1.21;
}
.tc-channel-intro h1 { font-size: clamp(32px,3vw,43px); }
.tc-channel-intro p,
.tc-heading > p { margin: 0; color: var(--ink2); font-size: 16px; line-height: 1.75; }

.tc-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px 18px;
    border-bottom: 1px solid var(--tc-line);
    padding-bottom: 10px;
}
.tc-categories {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    overflow-x: auto;
    padding-block: 3px;
    scrollbar-width: thin;
}
.tc-categories a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 5px 15px;
    border-radius: 25px;
    white-space: nowrap;
    color: var(--ink2);
    font-weight: 650;
}
.tc-categories a:focus-visible { outline-offset: -3px; }
.tc-categories a:hover { background: var(--tc-soft); color: var(--tc-blue); }
.tc-categories a[aria-current] { background: var(--tc-blue); color: #fff; }
.tc-sort { display: flex; gap: 7px; flex-shrink: 0; }
.tc-sort select, .tc-sort button {
    color: var(--ink2);
    border: 1px solid var(--tc-line);
    min-height: 42px;
    border-radius: 8px;
    padding: 5px 10px;
    background: #fff;
}
.tc-sort button { cursor: pointer; }
.tc-sort-enhanced button { display: none; }

.tc-cards {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 17px;
}
.tc-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--tc-line);
    background: #fff;
    border-radius: 14px;
}
.tc-card:focus-within, .tc-card:hover { border-color: #b3c8ef; }
.tc-card-brands {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px;
    min-height: 69px;
    background: #f2f6fd;
    color: var(--tc-ink);
}
.tc-card-brand {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    max-width: 46%;
}
.tc-card-brand strong {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 15px;
}
.tc-versus {
    display: grid;
    flex: none;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f8fbff;
    border: 1px solid #d6e4ff;
    color: var(--tc-blue);
    font-weight: 800;
    font-size: 12px;
}
.tc-card-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 10px 14px 4px;
}
.tc-card-terms { display: flex; flex-wrap: wrap; gap: 3px 9px; }
.tc-card-terms a { font-size: 12px; min-height: 24px; }
.tc-card h2 {
    margin: 4px 0 3px;
    color: var(--tc-ink);
    font-size: 17px;
    line-height: 1.45;
}
.tc-card p {
    margin: 0 0 8px;
    color: var(--ink2);
    font-size: 13px;
    line-height: 1.65;
}
.tc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
}
.tc-tags li { padding: 2px 8px; border-radius: 20px; background: #eef3fa; color: var(--ink2); font-size: 11px; }
.tc-card footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    margin-top: auto;
    border-top: 1px solid var(--tc-line);
}
.tc-card footer a { display: inline-flex; gap: 4px; align-items: center; min-height: 42px; font-weight: 650; }
.tc-card footer span { color: var(--ink3); font-size: 12px; white-space: nowrap; }
.tc-empty {
    padding: 28px 16px;
    text-align: center;
    margin: 0;
    border: 1px solid var(--tc-line);
    border-radius: 12px;
    color: var(--ink2);
}
.tc-empty h2 { font-size: 17px; margin: 0 0 5px; }

.tc-reading { display: grid; grid-template-columns: minmax(0,1fr) 218px; align-items: start; gap: 26px; }
.tc-reading-full { grid-template-columns: minmax(0,1fr); }
.tc-main { display: flex; min-width: 0; flex-direction: column; gap: 26px; }
.tc-heading-terms { display: flex; gap: 6px 14px; flex-wrap: wrap; margin-bottom: 10px; font-weight: 650; }
.tc-heading h1 { font-size: clamp(30px,3.5vw,51px); margin: 0 0 14px; }
.tc-heading h1 span { display: block; }
.tc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: var(--ink3); font-size: 13px; }
.tc-heading > p { margin-top: 12px; }

.tc-tools {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(min(100%,200px),1fr));
    border-top: 1px solid var(--tc-line);
    padding-top: 18px;
}
.tc-two-tools { grid-template-columns: repeat(2,minmax(0,1fr)); }
.tc-tool {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 0 18px;
    text-align: center;
    gap: 8px;
}
.tc-tool-brand { display: flex; align-items: center; justify-content: center; min-width: 0; gap: 8px; }
.tc-tool-brand strong { color: var(--tc-ink); font-size: clamp(19px,2vw,29px); line-height: 1.3; }
.tc-tool p { margin: 0; color: var(--ink2); }
.tc-review {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    min-height: 42px;
    margin-top: auto;
    border: 1px solid var(--tc-blue);
    border-radius: 24px;
    color: var(--tc-blue);
    font-size: 13px;
    font-weight: 650;
    padding: 6px 17px;
}
.tc-review:hover { background: var(--tc-soft); }
.tc-two-tools > .tc-tool:first-child { border-right: 1px solid var(--tc-line); }
.tc-two-tools > .tc-versus { position: absolute; top: 48%; left: 50%; transform: translate(-50%,-50%); }
.tc-mobile-toc { display: none; }

.tc-section, .tc-fit-card, .tc-detail { scroll-margin-top: calc(var(--top-h) + 12px); }
.admin-bar :is(.tc-section,.tc-fit-card,.tc-detail) { scroll-margin-top: calc(var(--top-h) + 50px); }
.tc-section h2 {
    margin: 0 0 14px;
    color: var(--tc-ink);
    font-size: clamp(22px,2.3vw,30px);
    line-height: 1.35;
    letter-spacing: -.025em;
}
.tc-verdict {
    padding: 19px 22px;
    background: var(--tc-soft);
    border-radius: 13px;
}
.tc-verdict h2 { display: flex; align-items: center; gap: 9px; }
.tc-verdict h2 svg { color: var(--tc-blue); flex: none; }
.tc-verdict p { margin: 8px 0 0; color: var(--tc-ink); line-height: 1.75; }

.tc-table-box { overflow-x: auto; border: 1px solid var(--tc-line); border-radius: 11px; }
.tc-table {
    width: 100%;
    min-width: calc(130px + var(--tc-tool-count) * 125px);
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
}
.tc-table thead { background: #eaf1ff; }
.tc-table th, .tc-table td { padding: 12px 14px; border-bottom: 1px solid var(--tc-line); text-align: left; }
.tc-table th { color: var(--tc-ink); }
.tc-table th:first-child { width: 22%; }
.tc-table tbody td + td { border-left: 1px solid var(--tc-line); }
.tc-table tr:last-child td, .tc-table tbody tr:last-child th { border-bottom: 0; }
.tc-cell-tool { display: none; }

.tc-fit-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.tc-fit-card { background: #f5f8fc; border-radius: 11px; padding: 15px; min-width: 0; }
.tc-fit-card h3 { display: flex; gap: 9px; align-items: center; margin: 0; color: var(--tc-ink); font-size: 17px; }
.tc-fit-card p { margin: 9px 0 0; color: var(--ink2); line-height: 1.7; }
.tc-fit-card .tc-link { display: inline-flex; align-items: center; min-height: 38px; }
.tc-checks { padding-left: 24px; margin: 0; }
.tc-checks li { padding: 7px 0 9px 4px; border-bottom: 1px solid var(--tc-line); }
.tc-checks p { margin: 3px 0 0; color: var(--ink2); }
.tc-faq details {
    background: #f6f9fe;
    border: 1px solid var(--tc-line);
    border-radius: 8px;
    margin-bottom: 7px;
    padding: 0 12px;
}
.tc-faq summary { cursor: pointer; padding: 11px 0; min-height: 44px; font-weight: 650; }
.tc-faq p { color: var(--ink2); line-height: 1.7; margin: 0 0 13px; }
.tc-source-links { list-style: none; padding: 0; margin: 0; }
.tc-source-links a { display: inline-block; min-height: 39px; padding: 7px 0; }
.tc-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--tc-line); }
.tc-bottom a { display: flex; min-height: 44px; align-items: center; }
.tc-side {
    position: sticky;
    top: calc(var(--top-h) + 15px);
    padding-left: 16px;
    border-left: 1px solid var(--tc-line);
    font-size: 13px;
}
.admin-bar .tc-side { top: calc(var(--top-h) + 47px); }
.tc-side h2 { margin: 0 0 9px; font-size: 16px; }
.tc-side nav a { display: block; padding: 8px 10px; border-radius: 7px; color: var(--ink2); }
.tc-side nav a[aria-current], .tc-side nav a:hover { color: var(--tc-blue); background: var(--tc-soft); }
.tc-side section { margin-top: 19px; padding-top: 15px; border-top: 1px solid var(--tc-line); }

.tc-header-search { flex: none; }
.tc-header-search summary {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 44px;
    list-style: none;
    cursor: pointer;
}
.tc-header-search summary::-webkit-details-marker { display: none; }
.tc-header-search form {
    position: absolute;
    left: 10px;
    right: 10px;
    top: calc(100% + 5px);
    display: flex;
    gap: 8px;
    border: 1px solid #d8e4fb;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 8px 20px #23416a26;
    padding: 9px;
}
.tc-header-search input { flex: 1; min-width: 0; min-height: 42px; border: 1px solid #d8e4fb; border-radius: 7px; padding: 5px 8px; }
.tc-header-search button { background: var(--brand); border: none; border-radius: 7px; color: #fff; padding: 0 12px; }

@media(max-width:1239px) { .tc-cards { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:900px) { .tc-reading { grid-template-columns: minmax(0,1fr) 174px; gap: 16px; } }
@media(max-width:767px) {
    .tc-page { gap: 12px; }
    .tc-filters { flex-wrap: wrap; justify-content: flex-end; padding-bottom: 6px; }
    .tc-categories { flex-basis: 100%; }
    .tc-categories a { padding-inline: 10px; font-size: 13px; }
    .tc-cards, .tc-fit-grid { grid-template-columns: minmax(0,1fr); }
    .tc-card-brand strong { font-size: 14px; }
    .tc-channel-intro p, .tc-heading > p { font-size: 14px; }
    .tc-reading { display: block; }
    .tc-side { position: static; margin-top: 16px; }
    .tc-side > nav, .tc-side-toc-only { display: none; }
    .tc-side .tc-related { margin: 0; padding: 0; border-top: 0; }
    .tc-main { gap: 17px; }
    .tc-heading h1 { font-size: clamp(25px,8vw,34px); }
    .tc-tool { padding-inline: 8px; gap: 5px; }
    .tc-tool-brand .ic { width: 33px; height: 33px; }
    .tc-tool-brand strong { font-size: 16px; }
    .tc-tool-brand { gap: 4px; }
    .tc-tool p { font-size: 12px; }
    .tc-tools { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .tc-review { min-height: 44px; font-size: 12px; padding-inline: 7px; }
    .tc-two-tools > .tc-versus { width: 26px; height: 26px; font-size: 10px; top: 45%; }
    .tc-mobile-toc {
        display: flex;
        gap: 2px;
        position: sticky;
        z-index: 7;
        top: 52px;
        background: #fff;
        border-bottom: 1px solid var(--tc-line);
        justify-content: space-between;
        overflow-x: auto;
    }
    .admin-bar .tc-mobile-toc { top: 98px; }
    .tc-mobile-toc a {
        min-height: 44px;
        min-width: 0;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-inline: 10px;
        border-bottom: 2px solid transparent;
        white-space: nowrap;
        font-weight: 650;
        color: var(--ink2);
    }
    .tc-mobile-toc a:focus-visible { outline-offset: -2px; }
    .tc-mobile-toc a[aria-current] { color: var(--tc-blue); border-color: var(--tc-blue); }
    .tc-section, .tc-fit-card { scroll-margin-top: 108px; }
    .admin-bar :is(.tc-section,.tc-fit-card) { scroll-margin-top: 152px; }
    .tc-verdict { padding: 15px; }
    .tc-section h2 { margin-bottom: 10px; }
    .tc-table-box { border: none; }
    .tc-table, .tc-table thead, .tc-table tbody { display: block; min-width: 0; }
    .tc-table tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .tc-table thead th:first-child { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; padding: 0; overflow: hidden; }
    .tc-table thead { border-radius: 7px; }
    .tc-table tbody th:first-child { width: auto; grid-column: 1 / -1; padding: 9px 7px 4px; border: 0; }
    .tc-table td, .tc-table th { padding: 7px; font-size: 13px; }
    .tc-table tbody td, .tc-table tbody td + td { border-left: 0; border-bottom: 1px solid var(--tc-line); }
    .tc-table-box:not(.tc-two-columns) thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
    .tc-table-box:not(.tc-two-columns) .tc-cell-tool { display: block; color: var(--tc-ink); font-weight: 700; }
}
@media(max-width:359px) {
    .tc-card-brand strong { font-size: 13px; }
    .tc-card-brand .ic { width: 26px; height: 26px; }
    .tc-tool-brand strong { font-size: 14px; }
    .tc-mobile-toc a { padding-inline: 7px; }
}
