.tsf-wrapper {
    --tsf-border: #dee2e6;
    --tsf-bg: #f8f9fa;
    --tsf-map-height: 640px;
}

.tsf-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: var(--tsf-map-height);
}

.tsf-filters {
    flex: 0 0 auto;
    border-bottom: 1px solid var(--tsf-border);
    background: var(--tsf-bg);
}

.tsf-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.tsf-item {
    border-left: 4px solid transparent;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.tsf-item.active {
    border-left-color: #0d6efd;
    background-color: #e7f1ff;
}

.tsf-tag {
    display: inline-block;
    font-size: 11px;
    line-height: 1;
    padding: 5px 7px;
    border-radius: 12px;
    font-weight: 600;
}

.tsf-tag-magstripe {
    color: #664d03;
    background: #fff3cd;
}

.tsf-tag-chip {
    color: #0f5132;
    background: #d1e7dd;
}

.tsf-tag-none {
    color: #41464b;
    background: #e2e3e5;
}

@media (max-width: 991.98px) {
    .tsf-panel {
        min-height: 420px;
    }

    .tsf-list {
        max-height: 300px;
        flex: 0 0 auto;
    }
}
