.tls-cmp {
    content-visibility: auto;
    contain-intrinsic-size: 500px;
    padding: 6rem 0;
    font-family: 'Lato', sans-serif;
}

/* ── Background variants ── */
.tls-cmp.bg-light { background: #F2F4F7 !important; }
.tls-cmp.bg-white { background: #ffffff !important; }
.tls-cmp.bg-dark  { background: #1a1a1a !important; }

/* ── Header ── */
.tls-cmp__header {
    margin-bottom: 3.5rem;
}

.tls-cmp__label {
    font-family: 'League Spartan', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
    font-weight: 400;
}
.tls-cmp.bg-dark .tls-cmp__label { color: rgba(255,255,255,0.28); }
.tls-cmp:not(.bg-dark) .tls-cmp__label { color: #888888; }

.tls-cmp__title {
    font-family: 'League Spartan', sans-serif;
    font-size: clamp(1.9rem, 3.2vw, 2.75rem);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 1.5rem 0;
    padding: 0;
    max-width: none !important;
}
.tls-cmp__title em {
    font-family: 'Lato', sans-serif;
    font-style: italic;
    font-weight: 300;
    font-size: 0.93em;
    letter-spacing: 0;
}
.tls-cmp.bg-dark .tls-cmp__title { color: #ffffff; }
.tls-cmp:not(.bg-dark) .tls-cmp__title { color: #1a1a1a; }

.tls-cmp__desc {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.75;
    margin: 0;
    padding: 0;
}
.tls-cmp.bg-dark .tls-cmp__desc { color: rgba(255,255,255,0.5); }
.tls-cmp:not(.bg-dark) .tls-cmp__desc { color: #888888; }

/* ── Scroll wrapper ── */
.tls-cmp__wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.15) transparent;
}
.tls-cmp__wrap::-webkit-scrollbar { height: 4px; }
.tls-cmp__wrap::-webkit-scrollbar-track { background: transparent; }
.tls-cmp__wrap::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 2px; }

/* ── Table ── */
.tls-cmp__table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    font-family: 'Lato', sans-serif;
}
.tls-cmp__table p,
.tls-cmp__table h2,
.tls-cmp__table span,
.tls-cmp__table td,
.tls-cmp__table th { max-width: none !important; }

/* ── Thead ── */
.tls-cmp__table thead th {
    font-family: 'League Spartan', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 0.9rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid #d4d0c8 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    white-space: nowrap;
    background: transparent;
}
.tls-cmp:not(.bg-dark) .tls-cmp__table thead th { color: #888888; }
.tls-cmp.bg-dark       .tls-cmp__table thead th { color: rgba(255,255,255,0.45); border-bottom-color: rgba(255,255,255,0.1) !important; }

.tls-cmp__table thead th.tls-cmp__active {
    color: #119199;
    background: rgba(17,145,153,0.06) !important;
}

/* ── Tbody ── */
.tls-cmp__table tbody td {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid #e2e2e2 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    box-shadow: none !important;
    font-weight: 300;
    vertical-align: middle;
    white-space: nowrap;
    background: transparent;
}
.tls-cmp:not(.bg-dark) .tls-cmp__table tbody td { color: #444444; border-bottom-color: #e2e2e2 !important; }
.tls-cmp.bg-dark       .tls-cmp__table tbody td { color: rgba(255,255,255,0.45); border-bottom-color: rgba(255,255,255,0.08) !important; }

.tls-cmp__table tbody tr:last-child td { border-bottom: none !important; }

/* ── Sticky first column ── */
.tls-cmp__first-col {
    position: sticky !important;
    left: 0;
    z-index: 2;
    white-space: normal !important;
    min-width: 180px;
    border-right: 1px solid #e2e2e2 !important;
}
.tls-cmp:not(.bg-dark) .tls-cmp__first-col {
    background: #eff1f4 !important;
    color: #1a1a1a;
    font-weight: 400;
}
.tls-cmp.bg-dark .tls-cmp__first-col {
    background: #111111 !important;
    color: rgba(255,255,255,0.85);
    font-weight: 400;
    border-right-color: rgba(255,255,255,0.08) !important;
}
.tls-cmp__table thead .tls-cmp__first-col { z-index: 3; }

/* Scroll shadow on sticky column */
.tls-cmp__wrap.is-scrolled .tls-cmp__first-col {
    box-shadow: 4px 0 12px rgba(0,0,0,0.08);
}

/* ── Active column ── */
.tls-cmp__table tbody td.tls-cmp__active {
    background: rgba(17,145,153,0.06) !important;
}

/* ── Highlighted row ── */
.tls-cmp__hl td:not(.tls-cmp__active) { background: rgba(17,145,153,0.04) !important; }
.tls-cmp__hl td.tls-cmp__active       { background: rgba(17,145,153,0.10) !important; }

/* ── Check / Dash ── */
.tls-cmp__check { color: #119199; font-weight: 500; }
.tls-cmp__dash  { color: #cccccc; }
.tls-cmp__table tbody td.tls-cmp__check { color: #119199; }
.tls-cmp__table tbody td.tls-cmp__dash  { color: #cccccc; }

/* ── CTA footer row ── */
.tls-cmp__cta-cell { padding-top: 1.75rem !important; white-space: nowrap; }

.tls-cmp__btn {
    display: inline-block;
    font-family: 'League Spartan', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid #1a1a1a !important;
    border-radius: 4px !important;
    color: #1a1a1a;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}
.tls-cmp__btn:hover { background: #1a1a1a; color: #ffffff; text-decoration: none; }
.tls-cmp.bg-dark .tls-cmp__btn { border-color: rgba(255,255,255,0.4) !important; color: rgba(255,255,255,0.7); }
.tls-cmp.bg-dark .tls-cmp__btn:hover { background: rgba(255,255,255,0.15); color: #ffffff; }

.tls-cmp__price-active {
    font-family: 'League Spartan', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #119199;
}

/* ── Mobile ── */
@media (max-width: 767px) {
    .tls-cmp { padding: 3.5rem 0; }
    .tls-cmp__table { min-width: 560px; }
    .tls-cmp__table thead th,
    .tls-cmp__table tbody td { padding: 0.75rem 0.875rem; }
}
