/* LeadHunting — modern SaaS UI */
:root {
    --lh-brand: #0ea5e9;
    --lh-primary: #0ea5e9;
    --lh-primary-dark: #0284c7;
    --lh-primary-darker: #0369a1;
    --lh-primary-light: #e0f2fe;
    --lh-primary-border: #7dd3fc;
    --lh-primary-text: #075985;
    --lh-primary-rgb: 14, 165, 233;
    --lh-sidebar: #07111f;
    --lh-sidebar-hover: #122033;
    --lh-sidebar-active: rgba(14, 165, 233, 0.16);
    --lh-sidebar-active-accent: #38bdf8;
    --lh-bg: #f3f7fb;
    --lh-bg-subtle: #eef5fb;
    --lh-surface: #ffffff;
    --lh-border: #dbe4ee;
    --lh-text: #0f172a;
    --lh-muted: #64748b;
    --lh-success: #10b981;
    --lh-warning: #f59e0b;
    --lh-danger: #dc2626;
    --lh-radius: 14px;
    --lh-radius-sm: 10px;
    --lh-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
    --lh-shadow-md: 0 12px 30px rgba(15, 23, 42, 0.1);
    --lh-space-1: 0.2rem;
    --lh-space-2: 0.4rem;
    --lh-space-3: 0.52rem;
    --lh-space-4: 0.74rem;
    --lh-space-5: 0.92rem;
    --lh-space-6: 1.1rem;
    --lh-font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --lh-font-display: 'Sora', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --lh-text-xs: 0.75rem;
    --lh-text-sm: 0.875rem;
    --lh-text-md: 0.95rem;
    --lh-text-lg: 1.1rem;
    --lh-text-xl: 1.35rem;
    --lh-text-2xl: 1.7rem;
}

*, *::before, *::after { box-sizing: border-box; }

.lh-app {
    margin: 0;
    font-family: var(--lh-font-sans);
    background:
        radial-gradient(1200px 420px at 12% -8%, rgba(14, 165, 233, 0.08), transparent 55%),
        radial-gradient(900px 360px at 88% 0%, rgba(16, 185, 129, 0.06), transparent 50%),
        var(--lh-bg);
    color: var(--lh-text);
    font-size: var(--lh-text-sm);
    line-height: 1.6;
    font-weight: 400;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.lh-app h1,
.lh-app h2,
.lh-app h3,
.lh-app h4,
.lh-app h5,
.lh-app h6 {
    font-family: var(--lh-font-display);
    letter-spacing: -0.015em;
    line-height: 1.25;
    color: var(--lh-text);
}

.lh-app h1 { font-size: var(--lh-text-2xl); font-weight: 700; }
.lh-app h2 { font-size: 1.4rem; font-weight: 700; }
.lh-app h3 { font-size: var(--lh-text-lg); font-weight: 600; }
.lh-app h4 { font-size: 1rem; font-weight: 600; }

.lh-app p,
.lh-app li,
.lh-app td,
.lh-app input,
.lh-app select,
.lh-app textarea {
    font-size: var(--lh-text-sm);
}

.lh-app small,
.lh-app .small {
    font-size: var(--lh-text-xs);
    color: var(--lh-muted);
}

.lh-layout { display: flex; min-height: 100vh; }

/* Sidebar */
.lh-sidebar {
    width: 268px;
    background: var(--lh-sidebar);
    color: #e2e8f0;
    padding: 1rem 0.75rem;
    flex-shrink: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    /* Keep scroll position stable across focus/layout shifts */
    overflow-anchor: none;
}

.lh-brand {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
    font-family: var(--lh-font-display);
    letter-spacing: -0.02em;
    text-decoration: none;
    display: block;
    padding: 0 0.5rem;
}
.lh-brand span { color: var(--lh-brand); }

.lh-tagline {
    font-size: var(--lh-text-xs);
    color: #94a3b8;
    margin: 0.2rem 0 1.5rem;
    padding: 0 0.5rem;
}

.lh-nav-group { margin-bottom: 1.1rem; }

.lh-nav-label {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
    margin-bottom: 0.35rem;
    padding: 0 0.65rem;
    font-weight: 600;
}

.lh-nav-link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.56rem 0.7rem;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: var(--lh-radius-sm);
    font-size: var(--lh-text-sm);
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}
.lh-nav-link:hover { background: var(--lh-sidebar-hover); color: #fff; }
.lh-nav-link.active {
    background: var(--lh-sidebar-active);
    color: #fff;
    box-shadow: inset 3px 0 0 var(--lh-sidebar-active-accent);
}
.lh-nav-icon { width: 18px; text-align: center; opacity: 0.85; font-size: 0.95rem; }
.lh-lock-tag {
    margin-left: auto;
    font-size: 0.66rem;
    line-height: 1;
    padding: 0.16rem 0.36rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.28);
    color: #e2e8f0;
    background: rgba(148, 163, 184, 0.18);
}

.lh-sidebar-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #1e293b;
}

/* Main area */
.lh-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.lh-topbar {
    background: var(--lh-surface);
    border-bottom: 1px solid var(--lh-border);
    padding: 0.72rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.lh-topbar-search {
    position: relative;
    flex: 1;
    min-width: 220px;
    max-width: 560px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lh-topbar-search input {
    width: 100%;
    max-width: 100%;
    padding: 0.5rem 0.875rem 0.5rem 2.25rem;
    border: 1px solid var(--lh-border);
    border-radius: 999px;
    font-size: var(--lh-text-sm);
    min-height: 40px;
    background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.242 1.156a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/%3E%3C/svg%3E") 0.75rem center no-repeat;
}
.lh-topbar-search input:focus {
    outline: none;
    border-color: var(--lh-primary);
    box-shadow: 0 0 0 3px var(--lh-primary-light);
}

.lh-topbar-search-btn {
    border: 1px solid var(--lh-border);
    background: var(--lh-surface);
    color: var(--lh-text);
    border-radius: 999px;
    min-height: 40px;
    padding: 0 0.9rem;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}
.lh-topbar-search-btn:hover {
    border-color: var(--lh-primary);
    color: var(--lh-primary);
}

.lh-search-dropdown {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 0;
    right: 0;
    z-index: 250;
    max-height: 420px;
    overflow: auto;
    background: var(--lh-surface);
    border: 1px solid var(--lh-border);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
    padding: 0.4rem;
}

.lh-search-section + .lh-search-section {
    margin-top: 0.35rem;
    border-top: 1px solid var(--lh-border);
    padding-top: 0.35rem;
}

.lh-search-section-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lh-muted);
    padding: 0.35rem 0.55rem;
    font-weight: 600;
}

.lh-search-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0.65rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--lh-text);
}
.lh-search-item:hover {
    background: color-mix(in srgb, var(--lh-primary) 12%, transparent);
}
.lh-search-item-label {
    font-size: 0.9rem;
    font-weight: 500;
}
.lh-search-item-meta {
    font-size: 0.75rem;
    color: var(--lh-muted);
    white-space: nowrap;
}
.lh-search-empty {
    padding: 0.85rem 0.75rem;
    color: var(--lh-muted);
    font-size: 0.88rem;
}

.lh-user-menu {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem 0.6rem;
    border: 1px solid var(--lh-border);
    border-radius: 999px;
    background: color-mix(in srgb, var(--lh-surface) 88%, var(--lh-bg) 12%);
}

.lh-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--lh-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
}

.lh-user-name { font-weight: 600; font-size: 0.875rem; }
.lh-user-email { font-size: var(--lh-text-xs); color: var(--lh-primary); word-break: break-all; }
.lh-user-role { font-size: var(--lh-text-xs); color: var(--lh-muted); }
a.lh-user-email { text-decoration: none; }
a.lh-user-email:hover { text-decoration: underline; }
.lh-display-controls {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-left: auto;
    padding: 0.2rem;
    border: 1px solid var(--lh-border);
    border-radius: 999px;
    background: var(--lh-bg);
}

.lh-display-controls .lh-btn {
    border-radius: 999px;
    padding: 0.32rem 0.62rem;
}

.lh-content { padding: var(--lh-space-5); flex: 1; max-width: 1680px; }

/* Page header */
.lh-page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--lh-space-4);
    margin-bottom: var(--lh-space-5);
}
.lh-page-header h1 {
    margin: 0;
    font-size: var(--lh-text-2xl);
    font-weight: 700;
    letter-spacing: -0.02em;
}
.lh-page-subtitle { margin: 0.25rem 0 0; color: var(--lh-muted); font-size: var(--lh-text-md); }
.lh-page-actions { display: flex; flex-wrap: wrap; gap: var(--lh-space-2); align-items: center; }

/* Buttons */
.lh-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.44rem 0.88rem;
    border-radius: var(--lh-radius-sm);
    font-size: var(--lh-text-sm);
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.16s ease;
    font-family: inherit;
}
.lh-btn-primary { background: var(--lh-primary); color: #fff; }
.lh-btn-primary:hover { background: var(--lh-primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 14px rgba(var(--lh-primary-rgb), .28); }
.lh-btn-secondary { background: var(--lh-surface); color: var(--lh-text); border-color: var(--lh-border); }
.lh-btn-secondary:hover { background: var(--lh-bg); color: var(--lh-text); }
.lh-btn-ghost { background: transparent; color: var(--lh-muted); }
.lh-btn-ghost:hover { background: var(--lh-bg); color: var(--lh-text); }
.lh-btn-danger { background: var(--lh-danger); color: #fff; }
.lh-btn-sm { padding: 0.3rem 0.62rem; font-size: var(--lh-text-xs); }

/* Cards */
.lh-card {
    background: var(--lh-surface);
    border: 1px solid var(--lh-border);
    border-radius: var(--lh-radius);
    box-shadow: var(--lh-shadow);
    overflow: hidden;
    transition: box-shadow .18s ease, border-color .18s ease;
}
/* Action menus (More / Actions ▾) must escape card clipping */
.lh-card:has(.em-actions-more),
.lh-card:has(.tpl-dropdown),
.lh-card:has(.lh-dd),
.lh-card.lh-card--menus {
    overflow: visible;
}
.lh-card:hover { box-shadow: var(--lh-shadow-md); border-color: #dbe4ef; }
.lh-card-body { padding: calc(var(--lh-space-5) - 0.02rem) var(--lh-space-5); }
.lh-card-header {
    padding: calc(var(--lh-space-4) + 0.02rem) var(--lh-space-5);
    border-bottom: 1px solid var(--lh-border);
    font-weight: 600;
    font-size: var(--lh-text-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Stats */
.lh-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--lh-space-4);
    margin-bottom: var(--lh-space-5);
}
.lh-stat-card {
    background: var(--lh-surface);
    border-radius: var(--lh-radius);
    padding: 0.98rem 1.05rem;
    border: 1px solid var(--lh-border);
    box-shadow: var(--lh-shadow);
}
.lh-stat-card strong {
    font-size: 1.75rem;
    font-weight: 700;
    display: block;
    line-height: 1.2;
    color: var(--lh-text);
}
.lh-stat-label { font-size: 0.8rem; color: var(--lh-muted); margin-top: 0.15rem; }
.lh-stat-label { font-size: var(--lh-text-xs); color: var(--lh-muted); margin-top: 0.15rem; letter-spacing: 0.01em; }
.lh-stat-card.accent { border-left: 4px solid var(--lh-primary); }
.lh-stat-card.success { border-left: 4px solid var(--lh-success); }
.lh-stat-card.warning { border-left: 4px solid var(--lh-warning); }

/* Tables */
.lh-table-wrap { overflow-x: auto; }
.lh-table-wrap--actions,
.lh-table-wrap:has(.em-actions-more),
.lh-table-wrap:has(.tpl-dropdown),
.lh-table-wrap:has(.lh-dd) {
    overflow: visible;
}
.lh-table-wrap--actions .lh-table,
.lh-table-wrap:has(.em-actions-more) .lh-table,
.lh-table-wrap:has(.tpl-dropdown) .lh-table,
.lh-table-wrap:has(.lh-dd) .lh-table,
.lh-table-wrap--actions td,
.lh-table-wrap:has(.em-actions-more) td,
.lh-table-wrap:has(.tpl-dropdown) td,
.lh-table-wrap:has(.lh-dd) td {
    overflow: visible;
}
/* Raise open-menu rows above neighbours so menus are not covered */
.lh-table tbody tr:has(.em-actions-more[open]),
.lh-table tbody tr:has(.tpl-dropdown-menu.open),
.lh-table tbody tr:has(.lh-dd[open]) {
    position: relative;
    z-index: 30;
}
.lh-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--lh-text-sm);
}
.lh-table th {
    text-align: left;
    padding: 0.48rem var(--lh-space-4);
    background: #f9fafb;
    color: var(--lh-muted);
    font-weight: 600;
    font-size: var(--lh-text-xs);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--lh-border);
}
.lh-table td {
    padding: 0.52rem var(--lh-space-4);
    border-bottom: 1px solid var(--lh-border);
    vertical-align: middle;
}
.lh-table tbody tr:hover { background: #f8fafc; }
.lh-table tbody tr:last-child td { border-bottom: none; }
.lh-table a { color: var(--lh-primary); text-decoration: none; font-weight: 500; }
.lh-table a:hover { text-decoration: underline; }

/* Lead pipeline */
.lh-kanban-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(220px, 1fr));
    gap: var(--lh-space-3);
    align-items: start;
}
.lh-kanban-col {
    border: 1px solid var(--lh-border);
    border-radius: var(--lh-radius-sm);
    background: var(--lh-surface);
}
.lh-kanban-head {
    padding: 0.55rem 0.7rem;
    border-bottom: 1px solid var(--lh-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.lh-kanban-body {
    padding: 0.5rem;
    display: grid;
    gap: 0.5rem;
    max-height: 70vh;
    overflow: auto;
}
.lh-kanban-card {
    border: 1px solid var(--lh-border);
    background: var(--lh-bg);
    border-radius: 10px;
    padding: 0.5rem;
}
.lh-kanban-title { font-weight: 600; margin-bottom: 0.15rem; }
.lh-kanban-card.is-dragging { opacity: 0.55; }
.lh-kanban-col.is-drop-target { outline: 2px dashed var(--lh-primary); outline-offset: 2px; }

/* Badges */
.lh-badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: var(--lh-text-xs);
    font-weight: 600;
    text-transform: capitalize;
}
.lh-badge-new { background: var(--lh-primary-light); color: var(--lh-primary-darker); }
.lh-badge-active { background: #d1fae5; color: #047857; }
.lh-badge-draft { background: #f1f5f9; color: #475569; }
.lh-badge-default { background: #f1f5f9; color: #64748b; }

/* Forms */
.lh-form { max-width: 560px; }
.lh-form--wide { max-width: none; }
.lh-form .lh-field { margin-bottom: var(--lh-space-4); }
.lh-form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--lh-space-3);
    margin-bottom: var(--lh-space-4);
}
.lh-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--lh-space-2);
    align-items: center;
    margin-top: var(--lh-space-2);
    padding-top: var(--lh-space-3);
    border-top: 1px solid var(--lh-border);
}
.lh-linkedin-search-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
    gap: var(--lh-space-4);
    align-items: start;
}
.lh-linkedin-tips {
    display: grid;
    gap: var(--lh-space-3);
}
.lh-tip-item {
    padding: var(--lh-space-3);
    border: 1px solid var(--lh-border);
    border-radius: var(--lh-radius-sm);
    background: var(--lh-bg);
}
.lh-tip-item strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: var(--lh-text-sm);
}
.lh-tip-item p {
    margin: 0;
    color: var(--lh-muted);
    font-size: var(--lh-text-xs);
    line-height: 1.5;
}
.lh-form label {
    display: block;
    font-weight: 600;
    font-size: var(--lh-text-sm);
    margin-bottom: 0.35rem;
    color: var(--lh-text);
}
.lh-form input[type="text"],
.lh-form input[type="email"],
.lh-form input[type="password"],
.lh-form input[type="url"],
.lh-form input[type="number"],
.lh-form select,
.lh-form textarea {
    width: 100%;
    padding: 0.52rem 0.78rem;
    border: 1px solid var(--lh-border);
    border-radius: var(--lh-radius-sm);
    font-size: var(--lh-text-sm);
    font-family: inherit;
    transition: border-color 0.16s, box-shadow 0.16s, background-color 0.16s;
    background: #fff;
}
.lh-form input:focus,
.lh-form select:focus,
.lh-form textarea:focus {
    outline: none;
    border-color: var(--lh-primary);
    box-shadow: 0 0 0 3px var(--lh-primary-light);
    background: #fff;
}
.lh-form .helptext { font-size: var(--lh-text-xs); color: var(--lh-muted); margin-top: 0.25rem; }
.lh-form ul.errorlist { margin: 0.25rem 0 0; padding: 0; list-style: none; color: var(--lh-danger); font-size: var(--lh-text-xs); }

/* Detail view */
.lh-detail-grid { display: grid; gap: 0; }
.lh-detail-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--lh-border);
}
.lh-detail-row:last-child { border-bottom: none; }
.lh-detail-label { font-weight: 600; color: var(--lh-muted); font-size: var(--lh-text-sm); }
.lh-detail-value { color: var(--lh-text); word-break: break-word; }

/* Empty state */
.lh-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--lh-muted);
}
.lh-empty-icon { font-size: 2.5rem; margin-bottom: 0.75rem; opacity: 0.5; }
.lh-empty h3 { margin: 0 0 0.5rem; color: var(--lh-text); font-size: 1.1rem; }
.lh-empty p { margin: 0 0 1rem; }

/* Quick links / sections */
.lh-section-title {
    font-size: var(--lh-text-lg);
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--lh-text);
}
.lh-section { margin-bottom: 1.75rem; }
.lh-quick-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.5rem; }

/* Alerts */
.lh-alert {
    padding: 0.85rem 1rem;
    border-radius: var(--lh-radius-sm);
    margin-bottom: 1rem;
    font-size: var(--lh-text-sm);
}
.lh-alert-info { background: var(--lh-primary-light); color: var(--lh-primary-text); border: 1px solid var(--lh-primary-border); }
.lh-alert-success { background: #d1fae5; color: #047857; border: 1px solid #6ee7b7; }
.lh-alert-danger { background: #fee2e2; color: #b91c1c; border: 1px solid #fca5a5; }
.lh-alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }

/* Global utilities */
.lh-muted { color: var(--lh-muted); }
.lh-app .small, .small { font-size: var(--lh-text-xs); color: var(--lh-muted); }
.lh-mb-sm { margin-bottom: var(--lh-space-3); }
.lh-mb-md { margin-bottom: var(--lh-space-4); }
.lh-mt-md { margin-top: var(--lh-space-4); }
.lh-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--lh-space-2);
    margin-top: var(--lh-space-4);
}
.lh-pagination-info {
    padding: 0.5rem;
    color: var(--lh-muted);
    font-size: var(--lh-text-sm);
}
.lh-card-filter-body { padding-bottom: 0; }
.lh-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--lh-space-4);
}
.lh-card.is-active {
    border-color: var(--lh-primary);
    box-shadow: 0 0 0 1px var(--lh-primary-light);
}
.lh-back-link {
    color: var(--lh-muted);
    text-decoration: none;
}
.lh-back-link:hover { color: var(--lh-primary); }
.lh-form-row,
.lh-form-stack .lh-form-row {
    margin-bottom: var(--lh-space-4);
}
.lh-form-row > label:first-child,
.lh-form-stack .lh-form-row > label:first-child {
    display: block;
    font-weight: 600;
    font-size: var(--lh-text-sm);
    margin-bottom: 0.35rem;
    color: var(--lh-text);
}
.lh-checkbox-list {
    max-height: 260px;
    overflow-y: auto;
    margin-bottom: var(--lh-space-4);
    border: 1px solid var(--lh-border);
    border-radius: var(--lh-radius-sm);
    padding: var(--lh-space-3);
    background: var(--lh-bg);
}
.lh-checkbox-item {
    display: block;
    padding: 0.35rem 0;
}
.lh-inline-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--lh-space-2);
}
.lh-pre-wrap {
    white-space: pre-wrap;
    font-family: inherit;
    font-size: var(--lh-text-sm);
    margin: 0;
}

/* Progress bars */
.lh-progress {
    height: 8px;
    background: var(--lh-border);
    border-radius: 999px;
    overflow: hidden;
}
.lh-progress-bar {
    height: 100%;
    background: var(--lh-primary);
    border-radius: 999px;
    transition: width 0.3s ease;
}
.lh-progress-bar.success { background: var(--lh-success); }
.lh-progress-bar.warning { background: var(--lh-warning); }
.lh-progress-bar.danger { background: var(--lh-danger); }

/* Campaign readiness checklist */
.lh-ready-card {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border: 1px solid var(--lh-border);
    border-radius: var(--lh-radius);
    padding: 1.15rem 1.25rem;
    margin-bottom: 1.5rem;
}
.lh-ready-card.is-ready {
    border-color: #86efac;
    background: linear-gradient(180deg, #ecfdf5 0%, #fff 55%);
}
.lh-ready-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.85rem;
}
.lh-ready-head h2 {
    margin: 0 0 0.3rem;
    font-size: 1.1rem;
}
.lh-ready-head p {
    margin: 0;
    color: var(--lh-muted);
    font-size: 0.88rem;
    max-width: 42rem;
}
.lh-ready-pct {
    text-align: right;
    flex-shrink: 0;
}
.lh-ready-pct strong {
    display: block;
    font-size: 1.5rem;
    line-height: 1.1;
    color: var(--lh-primary);
}
.lh-ready-card.is-ready .lh-ready-pct strong {
    color: #16a34a;
}
.lh-ready-pct span {
    font-size: 0.75rem;
    color: var(--lh-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.lh-ready-progress {
    margin-bottom: 1rem;
    height: 10px;
}
.lh-ready-section-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--lh-muted);
    margin-bottom: 0.5rem;
}
.lh-ready-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
}
.lh-ready-steps--rec {
    opacity: 0.95;
}
.lh-ready-step {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--lh-border);
    border-radius: 10px;
    background: var(--lh-surface, #fff);
}
.lh-ready-step.done {
    background: #ecfdf5;
    border-color: #86efac;
}
.lh-ready-icon {
    font-size: 1.15rem;
    flex-shrink: 0;
}
.lh-ready-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.lh-ready-body strong {
    font-size: 0.86rem;
}
.lh-ready-body span {
    font-size: 0.72rem;
    color: var(--lh-muted);
    line-height: 1.35;
}
.lh-ready-ok {
    font-size: 0.75rem;
    font-weight: 600;
    color: #16a34a;
    flex-shrink: 0;
}
.lh-ready-footer {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--lh-border);
}
.lh-ready-footer-note {
    font-size: 0.82rem;
    color: var(--lh-muted);
}
.lh-ready-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}
.lh-ready-links li {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--lh-border);
    border-radius: 10px;
    background: var(--lh-surface, #fff);
}
.lh-ready-links a {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--lh-primary);
    text-decoration: none;
}
.lh-ready-links a:hover {
    text-decoration: underline;
}
.lh-ready-links span {
    font-size: 0.75rem;
    color: var(--lh-muted);
    line-height: 1.35;
}
.lh-ready-links--rec {
    opacity: 0.92;
}
@media (max-width: 900px) {
    .lh-ready-steps { grid-template-columns: 1fr; }
}

/* Layout grids */
.lh-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--lh-space-3);
}
.lh-stat-grid--flush { margin-bottom: 0; }
.lh-actions-between {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--lh-space-2);
}

/* Card variants */
.lh-card--narrow { max-width: 480px; }
.lh-card--center { text-align: center; padding: 2rem; }
.lh-card--subtle { background: var(--lh-bg-subtle); }

/* Chat / conversation */
.lh-chat-item {
    padding: 0.8rem;
    border: 1px solid var(--lh-border);
    border-radius: 10px;
    margin-bottom: 0.7rem;
    background: var(--lh-bg);
}
.lh-chat-meta {
    font-size: var(--lh-text-xs);
    color: var(--lh-muted);
    margin-bottom: 0.3rem;
}
.lh-chat-body { line-height: 1.55; }

/* Detail row action variant */
.lh-detail-row--action {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--lh-border);
}

/* Trends */
.lh-trend-up { color: var(--lh-success); }
.lh-trend-down { color: var(--lh-danger); }
.lh-trend-neutral { color: var(--lh-muted); }

/* Avatars & lead rows */
.lh-avatar-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}
.lh-lead-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Form helpers */
.lh-form-inline { display: inline; }
.lh-field--end { display: flex; align-items: flex-end; }
.lh-link-reset {
    text-decoration: none;
    color: inherit;
}
.lh-link-reset:hover { color: inherit; }

/* Misc utilities */
.lh-mt-sm { margin-top: var(--lh-space-3); }
.lh-text-right { text-align: right; }
.lh-hidden { display: none !important; }
.lh-empty--compact { padding: 1.5rem; }
.lh-stat-lg { font-size: 1.1rem; }
.lh-section-title--sm { margin-bottom: 0.75rem; }
.lh-select-sm {
    margin-left: auto;
    max-width: 220px;
    padding: 0.3rem 0.5rem;
    font-size: var(--lh-text-xs);
}
.lh-col-actions { width: 200px; }
.lh-col-check { width: 34px; }
.lh-flex-1 { flex: 1; }

/* Table action buttons should keep button colors */
.lh-table a.lh-btn {
    text-decoration: none;
    font-weight: 600;
}
.lh-table a.lh-btn:hover { text-decoration: none; }
.lh-table a.lh-btn.lh-btn-primary,
.lh-table a.lh-btn.lh-btn-primary:hover,
.lh-table a.lh-btn.lh-btn-primary:focus { color: #fff; }
.lh-table a.lh-btn.lh-btn-danger,
.lh-table a.lh-btn.lh-btn-danger:hover,
.lh-table a.lh-btn.lh-btn-danger:focus { color: #fff; }

/* Keep LeadHunting styles above Bootstrap inside app shell */
.lh-app .btn { font-family: inherit; }
.lh-app .lh-card .table { margin-bottom: 0; }

/* API token box */
.lh-code-box {
    background: #0f172a;
    color: #e2e8f0;
    padding: 1rem;
    border-radius: var(--lh-radius-sm);
    font-family: 'Consolas', monospace;
    font-size: 0.8rem;
    word-break: break-all;
    margin: 0.75rem 0;
}

/* Auth pages */
.lh-auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, var(--lh-primary-dark) 100%);
    padding: 1.5rem;
}
.lh-auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--lh-surface);
    border-radius: var(--lh-radius);
    box-shadow: var(--lh-shadow-md);
    padding: 2rem;
}
.lh-auth-brand {
    text-align: center;
    margin-bottom: 1.5rem;
}
.lh-auth-brand h1 { margin: 0; font-size: 1.75rem; font-weight: 800; color: var(--lh-text); }
.lh-auth-brand h1 span { color: var(--lh-primary); }
.lh-auth-brand p { margin: 0.35rem 0 0; color: var(--lh-muted); font-size: 0.85rem; }

/* Mobile */
.lh-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--lh-text);
}
/* Inputs (global) */
.lh-input,
.lh-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.lh-form select,
.lh-form textarea,
.lh-card input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]):not([type="button"]),
.lh-card select,
.lh-card textarea {
    width: 100%;
    padding: 0.52rem 0.78rem;
    border: 1px solid var(--lh-border);
    border-radius: var(--lh-radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
    margin-bottom: 0;
}
.lh-input:focus,
.lh-form input:focus,
.lh-form select:focus,
.lh-form textarea:focus,
.lh-card input:focus,
.lh-card select:focus,
.lh-card textarea:focus {
    outline: none;
    border-color: var(--lh-primary);
    box-shadow: 0 0 0 3px var(--lh-primary-light);
}
.lh-input-sm { padding: 0.4rem 0.65rem; font-size: 0.85rem; }

/* Shared filter form helpers */
.lh-filter-form {
    display: grid;
    gap: .75rem;
    margin-bottom: 0;
    align-items: end;
}
.lh-filter-form--sm {
    max-width: 520px;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.lh-filter-form--md {
    max-width: 760px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.lh-filter-form--hub { max-width: 560px; gap: .6rem; margin-bottom: .75rem; }
.lh-filter-form--mb { margin-bottom: .8rem; }
.lh-filter-form--mb-lg { margin-bottom: 1rem; }
.lh-filter-form--admin { padding: 1rem 1rem 0; }
.lh-filter-grid-simple { grid-template-columns: 1fr auto; }
.lh-filter-grid-status { grid-template-columns: 1fr 160px auto; }
.lh-filter-grid-publish { grid-template-columns: 1fr 150px auto; }
.lh-filter-grid-invoice { grid-template-columns: 1fr 170px auto; }
.lh-filter-grid-campaign { grid-template-columns: 1fr 180px auto; }
.lh-filter-grid-hub { grid-template-columns: 170px 170px auto; }
.lh-filter-form .lh-btn { align-self: end; }

/* Page wrapper */
.lh-page { max-width: 960px; }

/* Plan / pricing cards */
.lh-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.lh-plan-card {
    background: var(--lh-surface);
    border: 1px solid var(--lh-border);
    border-radius: var(--lh-radius);
    padding: 1.5rem;
    text-align: center;
    transition: box-shadow 0.15s, border-color 0.15s;
}
.lh-plan-card:hover { box-shadow: var(--lh-shadow-md); border-color: var(--lh-primary); }
.lh-plan-card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.lh-plan-price { font-size: 2rem; font-weight: 700; color: var(--lh-primary); margin: 0.5rem 0 1rem; }
.lh-plan-card .lh-btn { width: 100%; justify-content: center; }

/* Checkout summary */
.lh-checkout-summary { max-width: 480px; }
.lh-checkout-row {
    display: flex;
    justify-content: space-between;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--lh-border);
    font-size: 0.9rem;
}
.lh-checkout-total {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0 0;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Bootstrap compat (transition period) */
.btn.btn-primary, .btn-primary {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.5rem 1rem; border-radius: var(--lh-radius-sm);
    font-size: 0.85rem; font-weight: 600; text-decoration: none;
    border: 1px solid transparent; cursor: pointer; font-family: inherit;
    background: var(--lh-primary); color: #fff;
}
.btn.btn-primary:hover, .btn-primary:hover { background: var(--lh-primary-dark); color: #fff; }
.btn.btn-secondary, .btn-secondary {
    display: inline-flex; align-items: center;
    padding: 0.5rem 1rem; border-radius: var(--lh-radius-sm);
    font-size: 0.85rem; font-weight: 600; text-decoration: none;
    background: var(--lh-surface); color: var(--lh-text); border: 1px solid var(--lh-border);
}
.form-control {
    width: 100%; padding: 0.6rem 0.875rem;
    border: 1px solid var(--lh-border); border-radius: var(--lh-radius-sm);
    font-size: 0.9rem; font-family: inherit; margin-bottom: 0.5rem;
}
.form-control:focus { outline: none; border-color: var(--lh-primary); box-shadow: 0 0 0 3px var(--lh-primary-light); }
.table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.table th, .table td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--lh-border); text-align: left; }
.table th { background: #f8fafc; color: var(--lh-muted); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; }

/* Public / minimal pages */
.lh-public-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, var(--lh-primary-dark) 100%);
    padding: 1.5rem;
}
.lh-public-card {
    width: 100%;
    max-width: 440px;
    background: var(--lh-surface);
    border-radius: var(--lh-radius);
    box-shadow: var(--lh-shadow-md);
    padding: 2rem;
}
.lh-public-brand { text-align: center; margin-bottom: 1.5rem; }
.lh-public-brand h1 { margin: 0; font-size: 1.5rem; font-weight: 800; }
.lh-public-brand h1 span { color: var(--lh-primary); }
.lh-public-brand p { margin: 0.35rem 0 0; color: var(--lh-muted); font-size: 0.85rem; }

/* Activity list */
.lh-activity-list { list-style: none; margin: 0; padding: 0; }
.lh-activity-item { display: flex; gap: 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid var(--lh-border); align-items: flex-start; }
.lh-activity-item:last-child { border-bottom: 0; }
.lh-activity-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.lh-activity-body { flex: 1; min-width: 0; }
.lh-activity-meta { font-size: 0.75rem; color: var(--lh-muted); }

/* Site nav pills */
.lh-site-nav {
    display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem;
}
.lh-site-nav a {
    padding: 0.4rem 0.9rem; border: 1px solid var(--lh-border);
    border-radius: 999px; font-size: 0.8rem; font-weight: 500;
    text-decoration: none; color: var(--lh-text); background: var(--lh-surface);
}
.lh-site-nav a:hover, .lh-site-nav a.active {
    background: var(--lh-primary); border-color: var(--lh-primary); color: #fff;
}

/* DataTables alignment */
.dataTables_wrapper { padding: .25rem 0; overflow: visible; }
.dataTables_wrapper .dataTables_scroll,
.dataTables_wrapper .dataTables_scrollBody {
    overflow: visible !important;
}
.dataTables_wrapper .row {
    margin-left: 0;
    margin-right: 0;
    align-items: center;
}
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    border: 1px solid var(--lh-border);
    border-radius: var(--lh-radius-sm);
    padding: .35rem .55rem;
    background: var(--lh-surface);
    color: var(--lh-text);
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 8px !important;
    border: 1px solid var(--lh-border) !important;
    background: var(--lh-surface) !important;
    color: var(--lh-text) !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--lh-primary) !important;
    border-color: var(--lh-primary) !important;
    color: #fff !important;
}

.dataTables_wrapper .row + .row {
    margin-top: .5rem;
}
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
    font-size: var(--lh-text-xs);
    color: var(--lh-muted);
}
.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin: 0;
    font-weight: 500;
}
.dataTables_wrapper .dataTables_length select {
    min-width: 78px;
}
.dataTables_wrapper .dataTables_paginate {
    display: flex;
    justify-content: flex-end;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    min-width: 34px;
    text-align: center;
    margin-left: .25rem !important;
}
.lh-campaign-filter-bar,
.lh-datatable-filter-bar {
    border-bottom: 1px solid var(--lh-border);
    background: color-mix(in srgb, var(--lh-surface) 92%, var(--lh-bg) 8%);
    padding-bottom: 0.9rem;
}

/* Density modes */
body[data-density="compact"] .lh-content { padding-top: .9rem; padding-bottom: 1.2rem; }
body[data-density="compact"] .lh-card-body { padding: .62rem .72rem; }
body[data-density="compact"] .lh-page-header { margin-bottom: 1rem; }
body[data-density="compact"] .lh-table th,
body[data-density="compact"] .lh-table td { padding: .46rem .58rem; }
body[data-density="compact"] .lh-btn { padding: .32rem .6rem; font-size: .78rem; }
body[data-density="compact"] .lh-stat-card { padding: .68rem .74rem; }
body[data-density="compact"] .lh-stat-card strong { font-size: 1.35rem; }

/* Dark mode */
body[data-theme="dark"] {
    --lh-bg: #0b1220;
    --lh-surface: #0f172a;
    --lh-border: #1f2a3c;
    --lh-text: #e2e8f0;
    --lh-muted: #94a3b8;
    --lh-primary-light: rgba(var(--lh-primary-rgb), .25);
    color-scheme: dark;
}
body[data-theme="dark"] .lh-topbar,
body[data-theme="dark"] .lh-card,
body[data-theme="dark"] .lh-stat-card,
body[data-theme="dark"] .lh-auth-card,
body[data-theme="dark"] .lh-public-card { background: var(--lh-surface); }
body[data-theme="dark"] .lh-table th { background: #111b2f; }
body[data-theme="dark"] .lh-table tbody tr:hover { background: #12203a; }
body[data-theme="dark"] .lh-topbar-search input { background-color: #0b1424; color: var(--lh-text); }
body[data-theme="dark"] .lh-search-dropdown { background: #0f1b32; border-color: #1f2a3c; }
body[data-theme="dark"] .lh-topbar-search-btn { background: #0b1424; color: var(--lh-text); }
body[data-theme="dark"] .lh-input,
body[data-theme="dark"] .lh-form input,
body[data-theme="dark"] .lh-form select,
body[data-theme="dark"] .lh-form textarea { background: #0b1424; color: var(--lh-text); border-color: var(--lh-border); }
body[data-theme="dark"] .lh-btn-secondary { background: #0b1424; color: var(--lh-text); border-color: var(--lh-border); }
body[data-theme="dark"] .lh-btn-ghost { color: #cbd5e1; }
body[data-theme="dark"] .lh-empty-icon { opacity: .7; }
body[data-theme="dark"] .lh-kanban-card { background: #0f1b32; }

@media (max-width: 1200px) {
    .lh-content {
        max-width: none;
    }
    .lh-topbar {
        flex-wrap: wrap;
        align-items: center;
    }
    .lh-topbar-search {
        order: 3;
        width: 100%;
        max-width: none;
    }
    .lh-display-controls {
        margin-left: 0;
    }
    .lh-form-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .lh-linkedin-search-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .lh-sidebar {
        position: fixed;
        left: -280px;
        z-index: 200;
        transition: left 0.25s;
    }
    .lh-sidebar.open { left: 0; }
    .lh-mobile-toggle { display: block; }
    .lh-topbar { gap: .6rem; padding: .75rem .8rem; }
    .lh-topbar-search { min-width: 0; max-width: none; }
    .lh-topbar-search input { width: 100%; }
    .lh-display-controls { margin-left: 0; }
    .lh-user-menu { padding: .2rem .45rem; }
    .lh-user-menu .lh-user-email,
    .lh-user-menu .lh-user-role { display: none; }
    .lh-detail-row { grid-template-columns: 1fr; gap: 0.25rem; }
    .lh-content { padding: .95rem .8rem 1.2rem; }
    .lh-page-header {
        flex-direction: column;
        align-items: stretch;
    }
    .lh-page-actions {
        width: 100%;
    }
    .lh-page-actions .lh-btn {
        flex: 1;
        justify-content: center;
        min-width: 120px;
    }
    .lh-table-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .lh-table-actions .lh-btn {
        width: 100%;
        justify-content: center;
    }
    form[data-datatable-filter-for] {
        grid-template-columns: 1fr !important;
        max-width: none !important;
    }
    form[data-datatable-filter-for] .lh-btn {
        width: 100%;
        justify-content: center;
    }
    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_paginate {
        margin-top: 0.35rem;
    }
    .dataTables_wrapper .dataTables_paginate {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .lh-campaign-filter-bar form[data-datatable-filter-for],
    .lh-datatable-filter-bar form[data-datatable-filter-for] {
        grid-template-columns: 1fr !important;
    }
    .lh-filter-form {
        grid-template-columns: 1fr !important;
        max-width: none !important;
    }
    .lh-kanban-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}

@media (max-width: 640px) {
    .lh-stat-grid,
    .lh-plan-grid {
        grid-template-columns: 1fr;
    }
    .lh-topbar {
        padding: 0.65rem;
    }
    .lh-content {
        padding: 0.75rem;
    }
    .lh-kanban-grid {
        grid-template-columns: 1fr;
    }
    .lh-form-grid-3 {
        grid-template-columns: 1fr;
    }
    .lh-journey {
        flex-direction: column;
        align-items: stretch;
    }
    .lh-journey-arrow {
        display: none;
    }
}

/* Product journey: Find leads → List → Campaign */
.lh-journey {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.65rem;
    margin: 0 0 1.1rem;
    padding: 0.7rem 0.85rem;
    background: linear-gradient(135deg, #e0f2fe 0%, #ecfdf5 55%, #f8fafc 100%);
    border: 1px solid var(--lh-border);
    border-radius: var(--lh-radius);
}
.lh-journey-step {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0.65rem;
    border-radius: var(--lh-radius-sm);
    text-decoration: none;
    color: var(--lh-text);
    transition: background 0.15s ease, box-shadow 0.15s ease;
}
.lh-journey-step:hover {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: var(--lh-shadow);
}
.lh-journey-step.is-active {
    background: #fff;
    box-shadow: var(--lh-shadow);
    outline: 1px solid var(--lh-primary-border);
}
.lh-journey-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 999px;
    background: var(--lh-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}
.lh-journey-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.lh-journey-copy strong {
    font-size: 0.82rem;
}
.lh-journey-copy small {
    font-size: 0.72rem;
    color: var(--lh-muted);
}
.lh-journey-arrow {
    color: var(--lh-muted);
    font-size: 0.95rem;
    user-select: none;
}
