html,
body {
    background: #f4f7fb !important;
    color: #0f172a !important;
}

:root {
    --lf-ink: #0f172a;
    --lf-muted: #475569;
    --lf-border: #dbe5f1;
    --lf-surface: #ffffff;
    --lf-surface-alt: #f8fbff;
    --lf-sidebar-bg: #0b1220;
    --lf-sidebar-ink: #d6e0ee;
    --lf-sidebar-muted: #93a5bd;
    --lf-accent: #0f766e;
    --lf-accent-soft: #daf5f1;
    --lf-success-soft: #eaf9ef;
    --lf-success-ink: #166534;
    --lf-warning-soft: #fff6dd;
    --lf-warning-ink: #975a16;
    --lf-danger-soft: #fdecec;
    --lf-danger-ink: #9f1239;
    --lf-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
    --lf-radius: 20px;
    --lf-chrome-height: 5rem;
}

.fi-body,
.fi-layout,
.fi-main-ctn,
.fi-main,
.fi-page,
.fi-simple-main,
.fi-simple-page {
    background: transparent !important;
    color: var(--lf-ink) !important;
}

.fi-main-ctn,
.fi-page,
.fi-simple-page {
    animation: lf-page-enter 260ms ease-out;
}

.fi-layout {
    background:
        radial-gradient(1200px 420px at 20% -12%, #e5f0ff 0%, rgba(229, 240, 255, 0) 55%),
        radial-gradient(900px 360px at 100% -20%, #e6fff7 0%, rgba(230, 255, 247, 0) 60%),
        #f4f7fb !important;
}

.fi-topbar,
.fi-topbar nav,
.fi-topbar > div,
.fi-topbar header {
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(6px);
    border: 0 !important;
    box-shadow: none !important;
}

.fi-topbar {
    min-height: var(--lf-chrome-height);
    height: var(--lf-chrome-height);
    border-bottom: 1px solid var(--lf-border) !important;
}

.fi-sidebar,
.fi-sidebar-nav,
.fi-sidebar-nav-groups {
    background: var(--lf-sidebar-bg) !important;
    border: 0 !important;
    box-shadow: none !important;
}

.fi-sidebar {
    border-right: 1px solid #0f1d32 !important;
}

.fi-sidebar-header {
    display: flex;
    align-items: center;
    min-height: var(--lf-chrome-height);
    height: var(--lf-chrome-height);
    padding: 0 1rem !important;
    background: #ffffff !important;
    border-bottom: 1px solid var(--lf-border) !important;
    box-sizing: border-box !important;
}

.fi-logo {
    display: block !important;
    max-height: 2.2rem !important;
    filter: none !important;
}

.fi-sidebar-nav {
    padding-top: 0.85rem !important;
}

.fi-sidebar-item-button {
    border-radius: 13px !important;
    background: transparent !important;
    color: var(--lf-sidebar-ink) !important;
    font-weight: 700 !important;
    padding-block: 0.8rem !important;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease !important;
}

.fi-sidebar-item-button:hover {
    background: rgba(148, 163, 184, 0.14) !important;
    color: #ffffff !important;
    transform: translateX(2px);
}

.fi-sidebar-item-active .fi-sidebar-item-button {
    background: rgba(15, 118, 110, 0.24) !important;
    color: #ffffff !important;
    box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.3) !important;
}

.fi-sidebar-item-icon,
.fi-sidebar-item-label,
.fi-sidebar-group-label {
    color: inherit !important;
}

.fi-sidebar-group-label {
    color: var(--lf-sidebar-muted) !important;
}

.fi-theme-switcher {
    display: none !important;
}

.fi-page > section:first-child,
.fi-page > div:first-child {
    margin-top: 0 !important;
}

.fi-section,
.fi-ta,
.fi-wi-widget,
.fi-fo-field-wrp,
.fi-dropdown-panel,
.fi-modal-window {
    background: var(--lf-surface) !important;
    border: 1px solid var(--lf-border) !important;
    border-radius: var(--lf-radius) !important;
    box-shadow: var(--lf-shadow) !important;
}

.fi-section-content-ctn,
.fi-section-content,
.fi-wi-widget > div,
.fi-ta-content,
.fi-ta-header,
.fi-section-header {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

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

.fi-input:focus,
.fi-select-input:focus,
.fi-fo-textarea textarea:focus,
.fi-ta-search-field input:focus {
    border-color: #8fb9b3 !important;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12) !important;
}

.fi-btn-color-primary {
    background: var(--lf-accent) !important;
    color: #ffffff !important;
    border: 1px solid #0c5f58 !important;
    box-shadow: none !important;
    font-weight: 800 !important;
    transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease !important;
}

.fi-btn-color-primary:hover {
    background: #0d5f59 !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(15, 118, 110, 0.22) !important;
}

.fi-pagination-items,
.fi-pagination-overview,
.fi-ta-text,
.fi-ta-empty-state-heading,
.fi-ta-empty-state-description {
    color: var(--lf-muted) !important;
}

.fi-ta {
    overflow: hidden;
    background: #ffffff !important;
}

.fi-ta-header-toolbar {
    padding: 1rem 1.2rem 0 !important;
}

.fi-ta-ctn,
.fi-ta-table,
.fi-ta table,
.fi-ta-content,
.fi-ta-content-grid,
.fi-ta-record,
.fi-ta-empty-state,
.fi-ta-empty-state-content,
.fi-ta-header-ctn,
.fi-ta-pagination,
.fi-ta-filter-indicators,
.fi-ta-selection-indicator,
.fi-ta-reorder-indicator,
.fi-ta-group-header {
    background: #ffffff !important;
}

.fi-ta-header-cell {
    color: #6f7f96 !important;
    font-size: 0.74rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
}

.fi-ta-cell {
    color: var(--lf-ink) !important;
    vertical-align: top !important;
}

.fi-ta-row {
    transition: background-color 160ms ease;
    background: #ffffff !important;
}

.fi-ta-row:hover {
    background: #f8fbff !important;
}

.fi-ta-ctn {
    border: 1px solid var(--lf-border) !important;
    border-radius: var(--lf-radius) !important;
    box-shadow: var(--lf-shadow) !important;
    overflow: hidden !important;
}

.fi-simple-layout,
.fi-simple-main-ctn {
    background:
        radial-gradient(1000px 420px at 18% -15%, #e5f0ff 0%, rgba(229, 240, 255, 0) 60%),
        radial-gradient(900px 380px at 95% -20%, #e6fff7 0%, rgba(230, 255, 247, 0) 60%),
        #f4f7fb !important;
}

.fi-simple-main-ctn {
    padding: 2rem 1.4rem !important;
}

.fi-simple-main {
    position: relative !important;
    max-width: 34rem !important;
    background: #ffffff !important;
    border: 1px solid var(--lf-border) !important;
    border-radius: 30px !important;
    box-shadow: 0 26px 58px rgba(15, 23, 42, 0.16) !important;
    padding: 2.3rem 2.3rem 2.1rem !important;
    overflow: hidden !important;
}

.fi-simple-page,
.fi-simple-page section {
    background: transparent !important;
}

.fi-simple-page section {
    display: grid !important;
    gap: 1.2rem !important;
}

.fi-simple-header {
    gap: 0.45rem;
    margin-bottom: 0.05rem !important;
}

.fi-simple-header .fi-logo {
    max-height: 2.85rem !important;
}

.fi-simple-header-heading {
    color: var(--lf-ink) !important;
    font-size: 1.68rem !important;
    font-weight: 900 !important;
    letter-spacing: -0.05em !important;
    line-height: 1.05 !important;
}

.fi-simple-header-subheading {
    max-width: 23rem;
    color: var(--lf-muted) !important;
    line-height: 1.5 !important;
}

.fi-simple-page .fi-input-wrp {
    background: #f7fbff !important;
    border: 1px solid #d5e0ec !important;
    border-radius: 16px !important;
    box-shadow: none !important;
}

.fi-simple-page .fi-input,
.fi-simple-page .fi-select-input,
.fi-simple-page .fi-fo-textarea textarea {
    border: 0 !important;
    background: transparent !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    min-height: 3.7rem !important;
}

.fi-simple-page .fi-input-wrp:focus-within {
    border-color: #8fb9b3 !important;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12) !important;
}

.fi-simple-page .fi-btn {
    min-height: 3.65rem !important;
    justify-content: center !important;
    border-radius: 16px !important;
}

.fi-simple-page .fi-btn-color-primary {
    background: var(--lf-accent) !important;
    border-color: #0c5f58 !important;
    color: #ffffff !important;
    box-shadow: 0 14px 30px rgba(15, 118, 110, 0.25) !important;
}

.fi-simple-page .fi-btn-color-primary:hover {
    background: #0d5f59 !important;
}

.fi-simple-page .fi-checkbox-input {
    background: #ffffff !important;
    border: 1.4px solid #0f172a !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

.fi-simple-page .fi-checkbox-input:checked {
    background-color: var(--lf-accent) !important;
    border-color: var(--lf-accent) !important;
}

.lf-hero {
    position: relative;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.6rem;
    padding: 0.65rem 0 1.25rem;
    overflow: hidden;
}

.lf-hero::before {
    display: none;
}

.lf-hero-compact {
    padding-bottom: 0.95rem;
}

.lf-eyebrow {
    margin: 0 0 0.35rem;
    color: #6d7f95;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.lf-hero-title {
    margin: 0;
    color: var(--lf-ink);
    font-size: clamp(2.4rem, 4.4vw, 4.1rem);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 0.93;
}

.lf-hero-copy {
    max-width: 52rem;
    margin: 0.8rem 0 0;
    color: var(--lf-muted);
    font-size: 1rem;
    line-height: 1.55;
}

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

.lf-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.86rem 1.25rem;
    border: 1px solid #cfdce9;
    border-radius: 999px;
    background: #ffffff;
    color: var(--lf-ink);
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.lf-button:hover {
    background: #f8fbff;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
}

.lf-button[disabled] {
    opacity: 0.78;
    cursor: wait;
    transform: none;
    box-shadow: none;
}

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

.lf-button-primary {
    background: var(--lf-accent);
    border-color: #0c5f58;
    color: #ffffff;
}

.lf-button-primary:hover {
    background: #0d5f59;
}

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

.lf-stat-card,
.lf-panel {
    background: #ffffff;
    border: 1px solid var(--lf-border);
    border-radius: var(--lf-radius);
    box-shadow: var(--lf-shadow);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.lf-stat-card {
    padding: 1.2rem;
}

.lf-stat-label {
    margin: 0 0 0.45rem;
    color: #6d7f95;
    font-size: 0.84rem;
    font-weight: 700;
}

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

.lf-stat-detail {
    margin: 0.45rem 0 0;
    color: var(--lf-muted);
    line-height: 1.4;
    font-size: 0.92rem;
}

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

.lf-panel {
    padding: 1.25rem;
    animation: lf-slide-up 320ms ease both;
}

.lf-stat-card:hover,
.lf-panel:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
}

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

.lf-panel-kicker {
    margin: 0;
    color: #6d7f95;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.lf-panel-header h2 {
    margin: 0.15rem 0 0;
    color: var(--lf-ink);
    font-size: 1.35rem;
    font-weight: 850;
    letter-spacing: -0.03em;
}

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

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

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

.lf-search-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.86rem 0.95rem;
    background: var(--lf-surface-alt);
    border: 1px solid #e4edf7;
    border-radius: 16px;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.lf-search-row:hover {
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.lf-search-row:focus-visible {
    outline: 3px solid rgba(15, 118, 110, 0.28);
    outline-offset: 2px;
}

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

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

.lf-search-note {
    margin: 0.42rem 0 0;
    color: #1d4f8c;
    font-size: 0.84rem;
    font-weight: 600;
}

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

.lf-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.85rem;
    padding: 0.28rem 0.72rem;
    border-radius: 999px;
    font-size: 0.79rem;
    font-weight: 800;
    background: #edf3fb;
    color: #23415f;
}

.lf-status-queued,
.lf-status-running,
.lf-status-processing,
.lf-status-new {
    background: #eaf3ff;
    color: #1f4a79;
}

.lf-status-completed,
.lf-status-qualified {
    background: var(--lf-success-soft);
    color: var(--lf-success-ink);
}

.lf-status-contacted {
    background: var(--lf-warning-soft);
    color: var(--lf-warning-ink);
}

.lf-status-disqualified,
.lf-status-failed,
.lf-status-error {
    background: var(--lf-danger-soft);
    color: var(--lf-danger-ink);
}

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

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

.lf-table th,
.lf-table td {
    padding: 0.84rem 0;
    border-bottom: 1px solid #e6edf7;
    text-align: left;
    vertical-align: top;
}

.lf-table th {
    color: #6d7f95;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

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

.lf-contact-cell span,
.lf-empty-state,
.lf-empty-row,
.lf-helper-copy {
    color: var(--lf-muted);
}

.lf-empty-state {
    padding: 0.9rem 0;
}

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

.lf-chat-panel {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.lf-chat-stream {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    max-height: 26rem;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.lf-template-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.52rem;
    margin-bottom: 0.45rem;
}

.lf-template-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.38rem 0.75rem;
    border-radius: 999px;
    border: 1px solid #d7e3f0;
    background: #f5f9ff;
    color: #1d3f64;
    font-size: 0.77rem;
    font-weight: 700;
    transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease, border-color 140ms ease;
}

.lf-template-pill:hover {
    background: #ffffff;
    border-color: #b7cbe1;
    box-shadow: 0 7px 15px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.lf-chat-row {
    border-radius: 14px;
    border: 1px solid #dfe9f6;
    padding: 0.72rem 0.85rem;
    animation: lf-slide-up 220ms ease both;
    animation-delay: calc(var(--lf-stagger-index, 0) * 28ms);
}

.lf-chat-row-assistant {
    background: #f7fbff;
    margin-right: 2.2rem;
}

.lf-chat-row-user {
    background: #0f1b2d;
    border-color: #0f1b2d;
    margin-left: 2.2rem;
}

.lf-chat-role {
    margin: 0;
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.lf-chat-row-assistant .lf-chat-role {
    color: #41658f;
}

.lf-chat-row-user .lf-chat-role {
    color: #8ee3d8;
}

.lf-chat-text {
    margin: 0.32rem 0 0;
    line-height: 1.45;
    font-size: 0.95rem;
}

.lf-chat-row-assistant .lf-chat-text {
    color: #10213a;
}

.lf-chat-row-user .lf-chat-text {
    color: #ffffff;
}

.lf-chat-time {
    margin: 0.48rem 0 0;
    font-size: 0.76rem;
    color: #7e93ad;
}

.lf-chat-row-user .lf-chat-time {
    color: #b3c6da;
}

.lf-chat-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

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

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

.lf-field input,
.lf-field select,
.lf-field textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    background: #ffffff;
    border: 1px solid #d5e0ec;
    border-radius: 14px;
    color: var(--lf-ink);
    outline: none;
    resize: vertical;
}

.lf-field input:focus,
.lf-field select:focus,
.lf-field textarea:focus {
    border-color: #8fb9b3;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

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

.lf-helper-copy {
    font-size: 0.88rem;
}

.lf-live-status {
    display: none;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.45rem;
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
    border: 1px solid #bcded9;
    background: #eefaf8;
}

.lf-live-dot {
    width: 0.76rem;
    height: 0.76rem;
    border-radius: 999px;
    background: var(--lf-accent);
    animation: lf-pulse 1s ease-in-out infinite;
}

.lf-live-title {
    margin: 0;
    color: var(--lf-ink);
    font-weight: 800;
}

.lf-live-copy {
    margin: 0.16rem 0 0;
    color: var(--lf-muted);
    font-size: 0.9rem;
}

.lf-debug-panel {
    margin-top: 0.9rem;
}

.lf-debug-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.72rem;
    margin-bottom: 0.72rem;
}

.lf-debug-chip {
    padding: 0.75rem 0.8rem;
    border-radius: 14px;
    border: 1px solid #dbe5f1;
    background: #f8fbff;
}

.lf-debug-chip p {
    margin: 0;
    color: #6d7f95;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lf-debug-chip strong {
    display: inline-block;
    margin-top: 0.32rem;
    color: var(--lf-ink);
    font-size: 0.95rem;
}

.lf-debug-meta {
    margin: 0.35rem 0 0.75rem;
    color: var(--lf-muted);
    line-height: 1.45;
    font-size: 0.92rem;
}

.lf-terminal {
    margin: 0.2rem 0 0.85rem;
    padding: 0.8rem 0.88rem;
    border-radius: 14px;
    border: 1px solid #d5e0ec;
    background: #0f172a;
    color: #d4e3f7;
}

.lf-terminal-label {
    margin: 0 0 0.36rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8eb8e0;
}

.lf-terminal code,
.lf-kbd {
    display: inline-block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    font-size: 0.84rem;
}

.lf-terminal code {
    color: #dff8f4;
    word-break: break-all;
}

.lf-terminal-sub {
    margin: 0.45rem 0 0;
    font-size: 0.82rem;
    color: #9fc0e0;
}

.lf-kbd {
    padding: 0.12rem 0.42rem;
    border-radius: 999px;
    border: 1px solid rgba(159, 192, 224, 0.55);
}

.lf-debug-stream {
    display: flex;
    flex-direction: column;
    gap: 0.62rem;
}

.lf-debug-row {
    display: grid;
    grid-template-columns: 4.3rem minmax(0, 1fr);
    gap: 0.78rem;
    padding: 0.7rem 0.82rem;
    background: #ffffff;
    border: 1px solid #dfe8f4;
    border-radius: 12px;
}

.lf-debug-row-warning {
    background: #fffaf0;
    border-color: #f4e2b4;
}

.lf-debug-row-error {
    background: #fff5f5;
    border-color: #f3c9d2;
}

.lf-debug-time {
    color: #6d7f95;
    font-size: 0.78rem;
    font-weight: 700;
}

.lf-debug-copy strong {
    color: var(--lf-ink);
    font-size: 0.92rem;
}

.lf-debug-context {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.52rem;
    margin-top: 0.28rem;
}

.lf-debug-context span {
    padding: 0.1rem 0.42rem;
    border-radius: 999px;
    font-size: 0.76rem;
    color: #365472;
    background: #edf4fc;
    border: 1px solid #d4e4f4;
}

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

@media (max-width: 768px) {
    .lf-hero,
    .lf-panel-header,
    .lf-search-row,
    .lf-form-footer {
        flex-direction: column;
        align-items: start;
    }

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

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

    .lf-chat-row-assistant,
    .lf-chat-row-user {
        margin-left: 0;
        margin-right: 0;
    }

    .lf-debug-row {
        grid-template-columns: 1fr;
        gap: 0.38rem;
    }
}

@keyframes lf-page-enter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lf-pulse {
    0%,
    100% {
        opacity: 0.45;
    }

    50% {
        opacity: 1;
    }
}

@keyframes lf-slide-up {
    from {
        opacity: 0;
        transform: translateY(7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
