
        /* Fondo blanco para descanso visual y buscador estable sin saltos */
        html,
        body {
            background: #ffffff !important;
            background-image: none !important;
        }
        .main-container {
            background: #ffffff !important;
        }
        .card {
            background: #ffffff !important;
        }
        .client-search-card {
            position: sticky;
            top: 76px;
            z-index: 950;
            background: rgba(255,255,255,.98) !important;
            border: 1px solid rgba(7,26,62,.10) !important;
        }
        .client-search-results {
            margin-top: 12px;
            display: grid;
            gap: 8px;
            max-height: min(58vh, 520px);
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            padding-right: 3px;
        }
        .client-search-results.hidden {
            display: none !important;
        }
        .search-results-header {
            font-size: .82rem;
            color: #667085;
            font-weight: 800;
            padding: 2px 4px;
        }
        .search-result-item {
            width: 100%;
            border: 1px solid rgba(7, 26, 62, .10);
            border-radius: 18px;
            background: #ffffff;
            display: grid;
            grid-template-columns: 74px minmax(0, 1fr) auto;
            align-items: center;
            gap: 10px;
            padding: 8px;
            cursor: pointer;
            text-align: left;
            font-family: inherit;
            box-shadow: 0 8px 22px rgba(4, 9, 28, .08);
        }
        .search-result-item img {
            width: 74px;
            height: 74px;
            border-radius: 16px;
            object-fit: cover;
            background: #f8fafc;
        }
        .search-result-main {
            min-width: 0;
            display: grid;
            gap: 3px;
        }
        .search-result-main strong {
            color: var(--azul);
            font-size: .98rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .search-result-main small {
            color: #667085;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .search-result-price {
            font-weight: 900;
            color: var(--rojo);
            white-space: nowrap;
        }
        .search-empty-inline {
            text-align: center;
            color: #667085;
            background: #f8fafc;
            border: 1px dashed #d0d5dd;
            border-radius: 16px;
            padding: 16px;
            display: grid;
            gap: 4px;
            justify-items: center;
        }
        @media (max-width: 640px) {
            .client-search-card {
                position: static;
                top: auto;
            }
            .search-result-item {
                grid-template-columns: 68px minmax(0, 1fr);
            }
            .search-result-item img {
                width: 68px;
                height: 68px;
            }
            .search-result-price {
                grid-column: 2;
            }
        }
    