:root {
    --lf-yellow: #fef400;
    --lf-yellow-soft: #fffcd6;
    --lf-ink: #141414;
    --lf-muted: #5f5f5f;
    --lf-border: #141414;
    --lf-panel: #ffffff;
    --lf-bg: #fffef7;
    --lf-shadow: 0 18px 40px rgba(20, 20, 20, 0.08);
    --lf-radius: 24px;
}

.fi-body {
    background: var(--lf-bg);
    color: var(--lf-ink);
}

.fi-layout {
    background: transparent;
}

.fi-sidebar {
    background: #ffffff;
    border-right: 1px solid rgba(20, 20, 20, 0.14);
}

.fi-sidebar-header {
    background: #ffffff;
    border-bottom: 0;
    padding-bottom: 1rem;
}

.fi-logo {
    max-height: 2.75rem;
}

.fi-topbar {
    background: var(--lf-yellow);
    border-bottom: 0 !important;
    box-shadow: none !important;
    min-height: 6.75rem;
}

.fi-topbar nav,
.fi-topbar > div,
.fi-topbar header,
.fi-main-ctn,
.fi-main,
.fi-page,
.fi-simple-main {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.fi-sidebar-item-button {
    border-radius: 999px;
    color: var(--lf-ink);
    font-weight: 700;
    padding-block: 0.85rem;
}

.fi-sidebar-item-button:hover {
    background: var(--lf-yellow-soft);
}

.fi-sidebar-item-active .fi-sidebar-item-button {
    background: var(--lf-yellow);
    box-shadow: inset 0 0 0 2px var(--lf-border);
}

.fi-sidebar-item-label,
.fi-sidebar-group-label {
    color: var(--lf-ink);
}

.fi-page > section:first-child,
.fi-page > div:first-child {
    margin-top: -4.5rem;
}

.fi-section,
.fi-ta,
.fi-wi-widget,
.fi-fo-field-wrp {
    background: #ffffff;
    border: 1px solid rgba(20, 20, 20, 0.14);
    border-radius: var(--lf-radius);
    box-shadow: var(--lf-shadow);
}

.fi-section-content-ctn,
.fi-ta-content,
.fi-wi-widget > div,
.fi-section-content {
    background: transparent !important;
}

.fi-ta-header,
.fi-section-header {
    border-bottom: 0 !important;
}

.fi-input,
.fi-select-input,
.fi-fo-textarea textarea,
.fi-ta-search-field input {
    background: #ffffff !important;
    border: 1.5px solid rgba(20, 20, 20, 0.18) !important;
    border-radius: 18px !important;
    color: var(--lf-ink) !important;
    box-shadow: none !important;
}

.fi-btn-color-primary {
    background: var(--lf-yellow) !important;
    border: 2px solid var(--lf-border);
    box-shadow: none !important;
    color: var(--lf-ink) !important;
    font-weight: 800;
}

.fi-btn-color-primary:hover {
    background: #fff85a !important;
}

.fi-dropdown-panel,
.fi-modal-window {
    border-radius: 24px;
}

.fi-pagination-items,
.fi-pagination-overview {
    color: var(--lf-muted);
}

.lf-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.5rem 0 1rem;
}

.lf-hero-compact {
    padding-bottom: 0;
}

.lf-eyebrow {
    margin: 0 0 0.35rem;
    color: rgba(20, 20, 20, 0.64);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.lf-hero-title {
    margin: 0;
    color: var(--lf-ink);
    font-size: clamp(2.6rem, 5vw, 4.75rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 0.92;
}

.lf-hero-copy {
    max-width: 52rem;
    margin: 0.9rem 0 0;
    color: rgba(20, 20, 20, 0.74);
    font-size: 1.04rem;
    line-height: 1.65;
}

.lf-hero-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.lf-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.3rem;
    padding: 0.9rem 1.35rem;
    border: 2px solid var(--lf-border);
    border-radius: 999px;
    background: var(--lf-yellow);
    color: var(--lf-ink);
    font-weight: 800;
    text-decoration: none;
    transition: transform 120ms ease, background 120ms ease;
}

.lf-button:hover {
    background: #fff85a;
    transform: translateY(-1px);
}

.lf-button-secondary {
    background: #ffffff;
}

.lf-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.4rem 0 1.8rem;
}

.lf-stat-card {
    padding: 1.35rem 1.4rem;
    background: #ffffff;
    border: 1px solid rgba(20, 20, 20, 0.14);
    border-radius: var(--lf-radius);
    box-shadow: var(--lf-shadow);
}

.lf-stat-label {
    margin: 0 0 0.6rem;
    color: rgba(20, 20, 20, 0.62);
    font-size: 0.92rem;
    font-weight: 700;
}

.lf-stat-value {
    margin: 0;
    color: var(--lf-ink);
    font-size: 2.35rem;
    font-weight: 900;
    letter-spacing: -0.06em;
}

.lf-stat-detail {
    margin: 0.55rem 0 0;
    color: rgba(20, 20, 20, 0.68);
    line-height: 1.45;
}

.lf-dashboard-grid,
.lf-finder-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.95fr);
    gap: 1rem;
}

.lf-panel {
    background: #ffffff;
    border: 1px solid rgba(20, 20, 20, 0.14);
    border-radius: var(--lf-radius);
    box-shadow: var(--lf-shadow);
    padding: 1.45rem;
}

.lf-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.lf-panel-header h2 {
    margin: 0.15rem 0 0;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.lf-panel-kicker {
    margin: 0;
    color: rgba(20, 20, 20, 0.55);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.lf-inline-link {
    color: var(--lf-ink);
    font-weight: 700;
    text-decoration: none;
}

.lf-inline-link:hover {
    text-decoration: underline;
}

.lf-search-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.lf-search-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(20, 20, 20, 0.1);
    border-radius: 18px;
    background: #ffffff;
}

.lf-search-query {
    margin: 0;
    color: var(--lf-ink);
    font-weight: 700;
}

.lf-search-meta,
.lf-search-count {
    margin: 0.35rem 0 0;
    color: var(--lf-muted);
    font-size: 0.94rem;
}

.lf-search-status-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.lf-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 800;
}

.lf-status-queued,
.lf-status-running,
.lf-status-processing {
    background: var(--lf-yellow-soft);
    color: var(--lf-ink);
}

.lf-status-completed,
.lf-status-qualified {
    background: #e8ffe7;
    color: #0f6e20;
}

.lf-status-contacted {
    background: #fff6d6;
    color: #7d5a00;
}

.lf-status-disqualified,
.lf-status-failed {
    background: #ffe8e8;
    color: #a72b2b;
}

.lf-table-wrap {
    overflow: auto;
}

.lf-table {
    width: 100%;
    border-collapse: collapse;
}

.lf-table th,
.lf-table td {
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(20, 20, 20, 0.08);
    text-align: left;
    vertical-align: top;
}

.lf-table th {
    color: rgba(20, 20, 20, 0.56);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lf-contact-cell {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
}

.lf-contact-cell span {
    color: var(--lf-muted);
    font-size: 0.94rem;
}

.lf-empty-state,
.lf-empty-row {
    padding: 1.2rem 0;
    color: var(--lf-muted);
}

.lf-empty-state h3 {
    margin: 0 0 0.35rem;
    color: var(--lf-ink);
    font-size: 1.1rem;
}

.lf-finder-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lf-field {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.lf-field span {
    color: var(--lf-ink);
    font-weight: 700;
}

.lf-field input,
.lf-field select,
.lf-field textarea {
    width: 100%;
    padding: 1rem 1.05rem;
    background: #ffffff;
    border: 1.5px solid rgba(20, 20, 20, 0.16);
    border-radius: 18px;
    color: var(--lf-ink);
    outline: none;
    resize: vertical;
}

.lf-field input:focus,
.lf-field select:focus,
.lf-field textarea:focus {
    border-color: var(--lf-border);
}

.lf-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.lf-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.lf-helper-copy {
    max-width: 28rem;
    color: var(--lf-muted);
    line-height: 1.5;
}

@media (max-width: 1100px) {
    .lf-stats-grid,
    .lf-dashboard-grid,
    .lf-finder-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .fi-page > section:first-child,
    .fi-page > div:first-child {
        margin-top: -3rem;
    }

    .lf-hero,
    .lf-form-footer,
    .lf-panel-header,
    .lf-search-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .lf-stats-grid,
    .lf-dashboard-grid,
    .lf-finder-layout,
    .lf-field-grid {
        grid-template-columns: 1fr;
    }

    .lf-search-status-wrap {
        align-items: flex-start;
        text-align: left;
    }
}
