.brf-lf-wrapper {
    border: 1px solid #e5e5e5;
    padding: 1.5rem;
    margin-bottom: 2rem;
    background: #fff;
    transition: box-shadow 0.2s ease;
}

.brf-lf-wrapper.brf-lf-loading {
    opacity: 0.75;
}

.brf-lf-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.brf-lf-control label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.brf-lf-search input[type="search"] {
    width: 100%;
}

.brf-lf-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.brf-lf-pill {
    border: 1px solid #d5d5d5;
    border-radius: 18px;
    padding: 6px 12px;
    background: #f8f8f8;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.brf-lf-pill input {
    margin: 0;
}

.brf-lf-fieldset {
    border: 1px solid #eee;
    padding: 12px;
    margin: 0 0 12px 0;
}

.brf-lf-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.brf-lf-submit {
    margin-top: 8px;
}

.brf-lf-results {
    position: relative;
    min-height: 40px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.brf-lf-fade-out {
    opacity: 0;
    transform: translateY(4px);
}

.brf-lf-fade-in {
    opacity: 1;
    transform: translateY(0);
}

.brf-lf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.brf-lf-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.brf-lf-item {
    border: 1px solid #ececec;
    padding: 12px;
    background: #fafafa;
}

.brf-lf-thumb img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 8px;
}

.brf-lf-title {
    margin: 0 0 4px 0;
}

.brf-lf-meta {
    font-size: 12px;
    color: #666;
}

.brf-lf-excerpt {
    margin: 8px 0 0 0;
}

.brf-lf-empty {
    padding: 12px;
    text-align: center;
    background: #fffbe6;
}

.brf-lf-switch input {
    margin-right: 6px;
}
