<style>
        :root {
            --swept-blue: #3592FF;
            --swept-dark-blue: #2e72d9;
            --swept-green: #00C79F;
            --swept-dark: #37383F;
            --swept-red: #FF647C;
            --topbar-height: 64px;
        }

        .prospecting-tool-embed * { margin: 0; padding: 0; box-sizing: border-box; }

        .prospecting-tool-embed {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: #f5f7fa;
            color: #1e293b;
            line-height: 1.5;
        }

        .app-layout { display: flex; }

        .app-main {
            flex: 1;
            margin-left: 0;
            display: flex;
            flex-direction: column;
        }

        .app-topbar {
            height: var(--topbar-height);
            background: white;
            border-bottom: 1px solid #e2e8f0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 1.5rem;
            position: sticky;
            top: 0;
            z-index: 50;
        }

        .topbar-title { font-size: 1.25rem; font-weight: 600; color: var(--swept-dark); }
        .topbar-subtitle { font-size: 0.8rem; color: #64748b; margin-top: 0.1rem; }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.5rem 1rem;
            border-radius: 8px;
            font-size: 0.875rem;
            font-weight: 500;
            cursor: pointer;
            border: none;
            transition: all 0.15s;
        }

        .btn-icon { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
        .btn-ghost { background: transparent; color: #475569; }
        .btn-ghost:hover { background: #f1f5f9; }

        .app-content { flex: 1; padding: 1.5rem; }

        .feedback-section {
            background: #eef2f7;
            padding: 3rem 1.5rem;
            text-align: center;
        }
        .feedback-section__inner { max-width: 800px; margin: 0 auto; }

        .lead-gen-tool { font-family: 'Inter', sans-serif; }

        .lead-gen-tool .loader {
            border: 3px solid #f3f3f3;
            border-radius: 50%;
            border-top: 3px solid #3b82f6;
            width: 20px;
            height: 20px;
            animation: spin 1s linear infinite;
        }

        @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

        .lead-gen-tool .collapse-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
        .lead-gen-tool .collapse-content.expanded { max-height: 8000px; transition: max-height 0.5s ease-in; }

        .lead-gen-tool .status-full { background: #dcfce7; color: #166534; }
        .lead-gen-tool .status-partial { background: #fef9c3; color: #854d0e; }

        .lead-gen-tool .tag-btn { transition: all 0.15s; }
        .lead-gen-tool .tag-btn:hover { transform: translateY(-1px); }

        .lead-gen-tool #map { height: 500px; width: 100%; border-radius: 12px; }

        .lead-gen-tool .view-toggle-btn { transition: all 0.15s; }
        .lead-gen-tool .view-toggle-btn.active { background: #3b82f6; color: white; }

        .lead-gen-tool .custom-marker {
            width: 24px; height: 24px; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            color: white; font-size: 10px; font-weight: bold;
            box-shadow: 0 2px 4px rgba(0,0,0,0.3); cursor: pointer; transition: transform 0.15s;
        }
        .lead-gen-tool .custom-marker:hover { transform: scale(1.3); z-index: 1000 !important; }

        .lead-gen-tool .leaflet-tooltip {
            background: white; border: none; border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15); padding: 0; font-family: 'Inter', sans-serif;
        }
        .lead-gen-tool .leaflet-tooltip-top:before { border-top-color: white; }

        .lead-gen-tool .tooltip-content { padding: 12px; min-width: 200px; max-width: 280px; }
        .lead-gen-tool .tooltip-name { font-weight: 600; font-size: 14px; color: #1e293b; margin-bottom: 8px; }
        .lead-gen-tool .tooltip-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #64748b; margin-bottom: 4px; }
        .lead-gen-tool .tooltip-row i { width: 14px; color: #94a3b8; }
        .lead-gen-tool .tooltip-row a { color: #3b82f6; text-decoration: none; }
        .lead-gen-tool .tooltip-row a:hover { text-decoration: underline; }
        .lead-gen-tool .tooltip-badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 600; margin-top: 8px; }

        .toast {
            position: fixed; bottom: 2rem; right: 2rem; background: #1e293b; color: white;
            padding: 1rem 1.5rem; border-radius: 8px; display: flex; align-items: center; gap: 0.75rem;
            box-shadow: 0 4px 12px rgba(0,0,0,0.2); transform: translateY(100px); opacity: 0;
            transition: all 0.3s; z-index: 1000;
        }
        .toast.show { transform: translateY(0); opacity: 1; }
        .toast.success { background: var(--swept-green); }
        .toast.error { background: var(--swept-red); }

        .add-pipeline-btn {
            background: linear-gradient(135deg, var(--swept-green), #059669);
            color: white; border: none; padding: 0.35rem 0.75rem; border-radius: 4px;
            font-size: 0.7rem; font-weight: 500; cursor: pointer;
            display: inline-flex; align-items: center; gap: 0.3rem; transition: all 0.15s;
        }
        .add-pipeline-btn:hover { transform: translateY(-1px); box-shadow: 0 2px 8px rgba(0,199,159,0.3); }
        .add-pipeline-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

        @media (max-width: 768px) {
            .app-topbar { flex-direction: column; align-items: flex-start; gap: 1rem; height: auto; padding: 1rem; }
        }
    </style>

/* ===== WORKBENCH FRAME OVERRIDES (embedded, not a standalone page) ===== */
.prospecting-tool-embed .app-topbar { position: static; top: auto; z-index: auto; border-radius: 0; min-height: 0; padding: 0.75rem 1rem; }
.prospecting-tool-embed .app-main { min-height: 0; }
.prospecting-tool-embed .app-content { padding-top: 1.25rem; }
.prospecting-tool-embed .app-topbar .topbar-title, .prospecting-tool-embed .app-topbar .topbar-subtitle { display: none; }
.prospecting-tool-embed .topbar-left:empty { display: none; }