/* Comparison Table for Bricks: wide layout. The card layout is printed per element. */
.ctfb {
    container-type: inline-size;
    container-name: ctfb;
    width: 100%;
    max-width: 100%;
}
.ctfb .ct-scroll {
    overflow-x: auto;
    border-radius: var(--ctfb-radius, 0);
    box-shadow: 0 1px 0 var(--ctfb-line, #e6e7e8);
}
.ctfb .ct {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: var(--ctfb-label, 170px) repeat(
            var(--ctfb-n, 3),
            minmax(var(--ctfb-col, 150px), 1fr)
        );
    grid-template-rows: repeat(var(--ctfb-rows, 7), auto);
    background: var(--ctfb-bg, #fff);
    min-width: min-content;
}
.ctfb .ct > .ct-labels,
.ctfb .ct > .ct-plan {
    display: contents;
}
.ctfb .ct-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--ctfb-pad, 0.85rem 1rem);
    border-top: 1px solid var(--ctfb-line, #e6e7e8);
    min-width: 0;
    box-sizing: border-box;
    background: var(--ctfb-bg, #fff);
    margin: 0;
}
.ctfb .ct-cell:first-child {
    border-top: 0;
}
.ctfb .ct-cell > * {
    margin-top: 0;
    margin-bottom: 0;
}
.ctfb .ct-cell.ct-head {
    background: var(--ctfb-head-bg, #fafaf8);
}
.ctfb .ct-cell.ct-head :is(h2, h3, h4, h5) {
    font-size: 1.05rem;
    line-height: 1.25;
}
.ctfb .ct-labels .ct-cell {
    align-items: flex-start;
    text-align: left;
    font-weight: 500;
    color: var(--ctfb-label-ink, #3a3a3a);
    position: sticky;
    left: 0;
    z-index: 1;
}
.ctfb .ct-labels .ct-cell.ct-head {
    background: var(--ctfb-head-bg, #fafaf8);
}
.ctfb .ct-plan.ct-hot .ct-cell {
    background: var(--ctfb-hot-bg, #f6f6f4);
}
.ctfb .ct-cell.ct-action .brxe-button,
.ctfb .ct-cell.ct-action a {
    white-space: nowrap;
}
